diff --git a/codegen/parser/data.py b/codegen/parser/data.py index d72be0f64..1473ef490 100644 --- a/codegen/parser/data.py +++ b/codegen/parser/data.py @@ -86,7 +86,7 @@ def get_raw_definition(self) -> str: required=self.required, schema_data=self.body_schema, ) - return prop.get_param_defination() + return prop.get_param_definition() def get_endpoint_definition(self) -> str: prop = Property( @@ -95,7 +95,7 @@ def get_endpoint_definition(self) -> str: required=not bool(self.allowed_models), schema_data=self.body_schema, ) - return prop.get_param_defination() + return prop.get_param_definition() @dataclass(kw_only=True) diff --git a/codegen/parser/schemas/schema.py b/codegen/parser/schemas/schema.py index 51bb3bb89..cd8b2bbd3 100644 --- a/codegen/parser/schemas/schema.py +++ b/codegen/parser/schemas/schema.py @@ -13,13 +13,22 @@ class SchemaData: _type_string: ClassVar[str] = "Any" def get_type_string(self, include_constraints: bool = True) -> str: - """Get schema typing string in any place""" + """Get schema typing string in any place. + + Args: + include_constraints (bool): + whether to include field constraints by Annotated. + """ if include_constraints and (args := self._get_field_args()): return f"Annotated[{self._type_string}, {self._get_field_string(args)}]" return self._type_string def get_param_type_string(self) -> str: - """Get type string used by client codegen""" + """Get type string used by client request codegen""" + return self._type_string + + def get_response_type_string(self) -> str: + """Get type string used by client response codegen""" return self._type_string def get_model_imports(self) -> set[str]: @@ -40,7 +49,11 @@ def get_param_imports(self) -> set[str]: return set() def get_using_imports(self) -> set[str]: - """Get schema needed imports for client request codegen""" + """Get schema needed imports for client request body codegen""" + return set() + + def get_response_imports(self) -> set[str]: + """Get schema needed imports for client response codegen""" return set() def _get_field_string(self, args: dict[str, str]) -> str: @@ -66,7 +79,7 @@ class Property: required: bool schema_data: SchemaData - def get_type_string(self, include_constraints: bool = True) -> str: + def get_type_string(self, include_constraints: bool = False) -> str: """Get schema typing string in any place""" type_string = self.schema_data.get_type_string( include_constraints=include_constraints @@ -78,8 +91,12 @@ def get_param_type_string(self) -> str: type_string = self.schema_data.get_param_type_string() return type_string if self.required else f"Missing[{type_string}]" - def get_model_defination(self) -> str: - """Get defination used by model codegen""" + def get_response_type_string(self) -> str: + type_string = self.schema_data.get_response_type_string() + return type_string if self.required else f"Missing[{type_string}]" + + def get_model_definition(self) -> str: + """Get definition used by model codegen""" # extract the outermost type constraints to the field type_ = self.get_type_string(include_constraints=False) args = self.schema_data._get_field_args() @@ -87,15 +104,22 @@ def get_model_defination(self) -> str: default = self._get_field_string(args) return f"{self.prop_name}: {type_} = {default}" - def get_type_defination(self) -> str: - """Get defination used by types codegen""" + def get_type_definition(self) -> str: + """Get definition used by types codegen""" type_ = self.schema_data.get_param_type_string() return ( f"{self.prop_name}: {type_ if self.required else f'NotRequired[{type_}]'}" ) - def get_param_defination(self) -> str: - """Get defination used by client codegen""" + def get_response_type_definition(self) -> str: + """Get definition usede by response types codegen""" + type_ = self.schema_data.get_response_type_string() + return ( + f"{self.prop_name}: {type_ if self.required else f'NotRequired[{type_}]'}" + ) + + def get_param_definition(self) -> str: + """Get definition used by client codegen""" type_ = self.get_param_type_string() return ( ( @@ -177,6 +201,12 @@ def get_using_imports(self) -> set[str]: imports.add("from typing import Any") return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from typing import Any") + return imports + @dataclass(kw_only=True) class NoneSchema(SchemaData): @@ -264,6 +294,12 @@ def _get_field_args(self) -> dict[str, str]: class DateTimeSchema(SchemaData): _type_string: ClassVar[str] = "datetime" + @override + def get_response_type_string(self) -> str: + # datetime field is ISO string in response + # https://github.com/yanyongyu/githubkit/issues/246 + return "str" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -288,11 +324,23 @@ def get_using_imports(self) -> set[str]: imports.add("from datetime import datetime") return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from datetime import datetime") + return imports + @dataclass(kw_only=True) class DateSchema(SchemaData): _type_string: ClassVar[str] = "date" + @override + def get_response_type_string(self) -> str: + # date field is ISO string in response + # https://github.com/yanyongyu/githubkit/issues/246 + return "str" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -317,6 +365,12 @@ def get_using_imports(self) -> set[str]: imports.add("from datetime import date") return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from datetime import date") + return imports + @dataclass(kw_only=True) class FileSchema(SchemaData): @@ -346,6 +400,12 @@ def get_using_imports(self) -> set[str]: imports.add("from githubkit.typing import FileTypes") return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from githubkit.typing import FileTypes") + return imports + @dataclass(kw_only=True) class ListSchema(SchemaData): @@ -366,6 +426,10 @@ def get_type_string(self, include_constraints: bool = True) -> str: def get_param_type_string(self) -> str: return f"list[{self.item_schema.get_param_type_string()}]" + @override + def get_response_type_string(self) -> str: + return f"list[{self.item_schema.get_response_type_string()}]" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -392,6 +456,13 @@ def get_using_imports(self) -> set[str]: imports.update(self.item_schema.get_using_imports()) return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from githubkit.compat import PYDANTIC_V2") + imports.update(self.item_schema.get_response_imports()) + return imports + @override def _get_field_args(self) -> dict[str, str]: args = super()._get_field_args() @@ -433,6 +504,10 @@ def get_type_string(self, include_constraints: bool = True) -> str: def get_param_type_string(self) -> str: return f"UniqueList[{self.item_schema.get_param_type_string()}]" + @override + def get_response_type_string(self) -> str: + return f"UniqueList[{self.item_schema.get_response_type_string()}]" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -462,6 +537,13 @@ def get_using_imports(self) -> set[str]: imports.update(self.item_schema.get_using_imports()) return imports + @override + def get_response_imports(self) -> set[str]: + # imports = super().get_response_imports() + imports = {"from githubkit.typing import UniqueList"} + imports.update(self.item_schema.get_response_imports()) + return imports + @override def _get_field_args(self) -> dict[str, str]: args = super()._get_field_args() @@ -511,6 +593,10 @@ def get_type_string(self, include_constraints: bool = True) -> str: def get_param_type_string(self) -> str: return f"Literal[{', '.join(repr(value) for value in self.values)}]" + @override + def get_response_type_string(self) -> str: + return self.get_param_type_string() + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -535,6 +621,12 @@ def get_using_imports(self) -> set[str]: imports.add("from typing import Literal") return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from typing import Literal") + return imports + @dataclass(kw_only=True) class ModelSchema(SchemaData): @@ -552,8 +644,46 @@ def get_type_string(self, include_constraints: bool = True) -> str: @override def get_param_type_string(self) -> str: + """Get type string used by model type class name and client request codegen. + + Example: + + ```python + class ModelType(TypedDict): + ... + + class Client: + def create_xxx( + *, + data: ModelType, + ) -> Response[Model, ModelResponseType]: + ... + ``` + """ return f"{self.class_name}Type" + @override + def get_response_type_string(self) -> str: + """Get type string used by model resposne type class name + and client response codegen. + + Example: + + ```python + class ModelResponseType(TypedDict): + ... + + class Client: + def create_xxx( + *, + data: ModelType, + ) -> Response[Model, ModelResponseType]: + ... + ``` + """ + # `XXXResponseType` has name conflicts in definition + return f"{self.class_name}TypeForResponse" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -583,6 +713,10 @@ def get_param_imports(self) -> set[str]: def get_using_imports(self) -> set[str]: return {f"from ..models import {self.class_name}"} + @override + def get_response_imports(self) -> set[str]: + return {f"from ..types import {self.get_response_type_string()}"} + @override def get_model_dependencies(self) -> list["ModelSchema"]: result: list[ModelSchema] = [] @@ -624,6 +758,15 @@ def get_param_type_string(self) -> str: types = ", ".join(schema.get_param_type_string() for schema in self.schemas) return f"Union[{types}]" + @override + def get_response_type_string(self) -> str: + if len(self.schemas) == 0: + return "Any" + elif len(self.schemas) == 1: + return self.schemas[0].get_response_type_string() + types = ", ".join(schema.get_response_type_string() for schema in self.schemas) + return f"Union[{types}]" + @override def get_model_imports(self) -> set[str]: imports = super().get_model_imports() @@ -656,6 +799,15 @@ def get_using_imports(self) -> set[str]: imports.update(schema.get_using_imports()) return imports + @override + def get_response_imports(self) -> set[str]: + imports = super().get_response_imports() + imports.add("from typing import Union") + for schema in self.schemas: + imports.update(schema.get_response_imports()) + return imports + + @override def _get_field_args(self) -> dict[str, str]: args = super()._get_field_args() if self.discriminator: diff --git a/codegen/templates/models/group.py.jinja b/codegen/templates/models/group.py.jinja index 71961e0d4..3329881bf 100644 --- a/codegen/templates/models/group.py.jinja +++ b/codegen/templates/models/group.py.jinja @@ -25,7 +25,7 @@ class {{ model.class_name }}({{ "ExtraGitHubModel" if model.allow_extra else "Gi {{ build_model_docstring(model) | indent(4) }} {% for prop in model.properties %} - {{ prop.get_model_defination() }} + {{ prop.get_model_definition() }} {% endfor %} {% endfor %} diff --git a/codegen/templates/models/type_group.py.jinja b/codegen/templates/models/type_group.py.jinja index 0beef5682..20be63324 100644 --- a/codegen/templates/models/type_group.py.jinja +++ b/codegen/templates/models/type_group.py.jinja @@ -13,24 +13,41 @@ from __future__ import annotations {% endfor %} {% for model in group.model_dependencies %} -from .{{ group_name(group.get_dependency_by_model(model), groups) }} import {{ model.class_name }}Type +from .{{ group_name(group.get_dependency_by_model(model), groups) }} import {{ model.get_param_type_string() }}, {{ model.get_response_type_string() }} {% endfor %} {# model #} {% for model in group.models %} +{# generate model type #} {# if model has no property and allows extra properties #} {# we treat it as arbitrary dict #} {# TODO: PEP728 TypedDict with extra items #} {% if not model.properties and model.allow_extra %} -{{ model.class_name }}Type: TypeAlias = dict[str, Any] +{{ model.get_param_type_string() }}: TypeAlias = dict[str, Any] {{ build_model_docstring(model) }} {% else %} -class {{ model.class_name }}Type(TypedDict): +class {{ model.get_param_type_string() }}(TypedDict): {{ build_model_docstring(model) | indent(4) }} {% for prop in model.properties %} - {{ prop.get_type_defination() }} + {{ prop.get_type_definition() }} + {% endfor %} +{% endif %} + +{# generate model type for response #} +{# if model has no property and allows extra properties #} +{# we treat it as arbitrary dict #} +{# TODO: PEP728 TypedDict with extra items #} +{% if not model.properties and model.allow_extra %} +{{ model.get_response_type_string() }}: TypeAlias = dict[str, Any] +{{ build_model_docstring(model) }} +{% else %} +class {{ model.get_response_type_string() }}(TypedDict): + {{ build_model_docstring(model) | indent(4) }} + + {% for prop in model.properties %} + {{ prop.get_response_type_definition() }} {% endfor %} {% endif %} @@ -38,6 +55,7 @@ class {{ model.class_name }}Type(TypedDict): __all__ = ( {% for model in group.models %} - "{{ model.class_name }}Type", + "{{ model.get_param_type_string() }}", + "{{ model.get_response_type_string() }}", {% endfor %} ) diff --git a/codegen/templates/models/types.py.jinja b/codegen/templates/models/types.py.jinja index aeb787819..b141165e1 100644 --- a/codegen/templates/models/types.py.jinja +++ b/codegen/templates/models/types.py.jinja @@ -7,7 +7,8 @@ from typing import TYPE_CHECKING if TYPE_CHECKING: {% for group in groups %} {% for model in group.models %} - from .{{ group_name(group, groups) }} import {{ model.class_name }}Type as {{ model.class_name }}Type + from .{{ group_name(group, groups) }} import {{ model.get_param_type_string() }} as {{ model.get_param_type_string() }} + from .{{ group_name(group, groups) }} import {{ model.get_response_type_string() }} as {{ model.get_response_type_string() }} {% endfor %} {% endfor %} else: @@ -15,7 +16,8 @@ else: {% for group in groups %} ".{{ group_name(group, groups) }}": ( {% for model in group.models %} - "{{ model.class_name }}Type", + "{{ model.get_param_type_string() }}", + "{{ model.get_response_type_string() }}", {% endfor %} ), {% endfor %} diff --git a/codegen/templates/rest/_param.py.jinja b/codegen/templates/rest/_param.py.jinja index 91ba08075..e4abbd770 100644 --- a/codegen/templates/rest/_param.py.jinja +++ b/codegen/templates/rest/_param.py.jinja @@ -1,31 +1,31 @@ {% macro path_params(endpoint) %} {% for path_param in endpoint.path_params %} -{{ path_param.get_param_defination() }}, +{{ path_param.get_param_definition() }}, {% endfor %} {% endmacro %} {% macro query_params(endpoint) %} {% for query_param in endpoint.query_params %} -{{ query_param.get_param_defination() }}, +{{ query_param.get_param_definition() }}, {% endfor %} {% endmacro %} {% macro header_params(endpoint) %} {% for header_param in endpoint.header_params %} -{{ header_param.get_param_defination() }}, +{{ header_param.get_param_definition() }}, {% endfor %} {% endmacro %} {% macro cookie_params(endpoint) %} {% for cookie_param in endpoint.cookie_params %} -{{ cookie_param.get_param_defination() }}, +{{ cookie_param.get_param_definition() }}, {% endfor %} {% endmacro %} {% macro body_params(model, exclude=[]) %} {% for prop in model.properties %} {% if prop.prop_name not in exclude %} -{{ prop.get_param_defination() }}, +{{ prop.get_param_definition() }}, {% endif %} {% endfor %} {% endmacro %} diff --git a/codegen/templates/rest/_response.py.jinja b/codegen/templates/rest/_response.py.jinja index a87c1a1ed..19f0d1c21 100644 --- a/codegen/templates/rest/_response.py.jinja +++ b/codegen/templates/rest/_response.py.jinja @@ -6,7 +6,7 @@ {% macro build_response_json_type(response) %} {% if response and response.response_schema %} -{{ response.response_schema.get_param_type_string() }} +{{ response.response_schema.get_response_type_string() }} {%- endif %} {% endmacro %} diff --git a/codegen/templates/rest/client.py.jinja b/codegen/templates/rest/client.py.jinja index c74279107..821a005e7 100644 --- a/codegen/templates/rest/client.py.jinja +++ b/codegen/templates/rest/client.py.jinja @@ -52,7 +52,7 @@ if TYPE_CHECKING: {{ import_ }} {% endfor %} {# response json types #} - {% for import_ in endpoint.success_response.response_schema.get_param_imports() %} + {% for import_ in endpoint.success_response.response_schema.get_response_imports() %} {{ import_ }} {% endfor %} {% endif %} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/actions.py b/githubkit/versions/ghec_v2022_11_28/rest/actions.py index 5d34a7b79..859dcb0c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/actions.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/actions.py @@ -109,131 +109,134 @@ WorkflowUsage, ) from ..types import ( - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ActionsArtifactAndLogRetentionType, - ActionsCacheListType, - ActionsCacheUsageByRepositoryType, - ActionsCacheUsageOrgEnterpriseType, + ActionsCacheListTypeForResponse, + ActionsCacheUsageByRepositoryTypeForResponse, + ActionsCacheUsageOrgEnterpriseTypeForResponse, ActionsForkPrContributorApprovalType, + ActionsForkPrContributorApprovalTypeForResponse, ActionsForkPrWorkflowsPrivateReposRequestType, - ActionsForkPrWorkflowsPrivateReposType, - ActionsGetDefaultWorkflowPermissionsType, - ActionsHostedRunnerCustomImageType, - ActionsHostedRunnerCustomImageVersionType, - ActionsHostedRunnerLimitsType, - ActionsHostedRunnerType, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, + ActionsHostedRunnerCustomImageTypeForResponse, + ActionsHostedRunnerCustomImageVersionTypeForResponse, + ActionsHostedRunnerLimitsTypeForResponse, + ActionsHostedRunnerTypeForResponse, ActionsOidcCustomIssuerPolicyForEnterpriseType, - ActionsOrganizationPermissionsType, - ActionsPublicKeyType, - ActionsRepositoryPermissionsType, - ActionsSecretType, + ActionsOrganizationPermissionsTypeForResponse, + ActionsPublicKeyTypeForResponse, + ActionsRepositoryPermissionsTypeForResponse, + ActionsSecretTypeForResponse, ActionsSetDefaultWorkflowPermissionsType, - ActionsVariableType, + ActionsVariableTypeForResponse, ActionsWorkflowAccessToRepositoryType, - ArtifactType, - AuthenticationTokenType, - DeploymentType, - EmptyObjectType, - EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type, + ActionsWorkflowAccessToRepositoryTypeForResponse, + ArtifactTypeForResponse, + AuthenticationTokenTypeForResponse, + DeploymentTypeForResponse, + EmptyObjectTypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse, EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, - EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type, - EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type, - EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type, - EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse, EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType, EnterprisesEnterpriseActionsHostedRunnersPostBodyType, EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, - EnvironmentApprovalsType, - JobType, - OidcCustomSubRepoType, - OrganizationActionsSecretType, - OrganizationActionsVariableType, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, - OrgsOrgActionsHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, + EnvironmentApprovalsTypeForResponse, + JobTypeForResponse, + OidcCustomSubRepoTypeForResponse, + OrganizationActionsSecretTypeForResponse, + OrganizationActionsVariableTypeForResponse, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, OrgsOrgActionsHostedRunnersPostBodyPropImageType, OrgsOrgActionsHostedRunnersPostBodyType, OrgsOrgActionsPermissionsPutBodyType, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsPermissionsRepositoriesPutBodyType, OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsPostBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, - OrgsOrgActionsRunnersGetResponse200Type, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, - OrgsOrgActionsSecretsGetResponse200Type, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, OrgsOrgActionsSecretsSecretNamePutBodyType, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType, - OrgsOrgActionsVariablesGetResponse200Type, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, OrgsOrgActionsVariablesNamePatchBodyType, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsVariablesNameRepositoriesPutBodyType, OrgsOrgActionsVariablesPostBodyType, - PendingDeploymentType, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + PendingDeploymentTypeForResponse, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ReposOwnerRepoActionsPermissionsPutBodyType, ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, - ReposOwnerRepoActionsRunsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ReposOwnerRepoActionsVariablesNamePatchBodyType, ReposOwnerRepoActionsVariablesPostBodyType, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType, ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType, ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, ReviewCustomGatesCommentRequiredType, ReviewCustomGatesStateRequiredType, - RunnerApplicationType, - RunnerGroupsOrgType, - RunnerType, + RunnerApplicationTypeForResponse, + RunnerGroupsOrgTypeForResponse, + RunnerTypeForResponse, SelectedActionsType, - SelfHostedRunnersSettingsType, - WorkflowRunType, - WorkflowRunUsageType, - WorkflowType, - WorkflowUsageType, + SelectedActionsTypeForResponse, + SelfHostedRunnersSettingsTypeForResponse, + WorkflowRunTypeForResponse, + WorkflowRunUsageTypeForResponse, + WorkflowTypeForResponse, + WorkflowUsageTypeForResponse, ) @@ -258,7 +261,9 @@ def get_actions_cache_usage_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-enterprise GET /enterprises/{enterprise}/actions/cache/usage @@ -291,7 +296,9 @@ async def async_get_actions_cache_usage_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-enterprise GET /enterprises/{enterprise}/actions/cache/usage @@ -328,7 +335,7 @@ def list_hosted_runners_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-enterprise @@ -371,7 +378,7 @@ async def async_list_hosted_runners_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-enterprise @@ -412,7 +419,7 @@ def create_hosted_runner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def create_hosted_runner_for_enterprise( @@ -429,7 +436,7 @@ def create_hosted_runner_for_enterprise( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def create_hosted_runner_for_enterprise( self, @@ -439,7 +446,7 @@ def create_hosted_runner_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-enterprise POST /enterprises/{enterprise}/actions/hosted-runners @@ -487,7 +494,7 @@ async def async_create_hosted_runner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_create_hosted_runner_for_enterprise( @@ -504,7 +511,7 @@ async def async_create_hosted_runner_for_enterprise( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_create_hosted_runner_for_enterprise( self, @@ -514,7 +521,7 @@ async def async_create_hosted_runner_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-enterprise POST /enterprises/{enterprise}/actions/hosted-runners @@ -562,7 +569,7 @@ def list_custom_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-enterprise @@ -599,7 +606,7 @@ async def async_list_custom_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-enterprise @@ -635,7 +642,9 @@ def get_custom_image_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id} @@ -668,7 +677,9 @@ async def async_get_custom_image_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id} @@ -763,7 +774,7 @@ def list_custom_image_versions_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-enterprise @@ -801,7 +812,7 @@ async def async_list_custom_image_versions_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-enterprise @@ -839,7 +850,8 @@ def get_custom_image_version_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-enterprise @@ -875,7 +887,8 @@ async def async_get_custom_image_version_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-enterprise @@ -972,7 +985,7 @@ def get_hosted_runners_github_owned_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-enterprise @@ -1007,7 +1020,7 @@ async def async_get_hosted_runners_github_owned_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-enterprise @@ -1042,7 +1055,7 @@ def get_hosted_runners_partner_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-enterprise @@ -1077,7 +1090,7 @@ async def async_get_hosted_runners_partner_images_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-enterprise @@ -1110,7 +1123,7 @@ def get_hosted_runners_limits_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/limits @@ -1140,7 +1153,7 @@ async def async_get_hosted_runners_limits_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/limits @@ -1172,7 +1185,7 @@ def get_hosted_runners_machine_specs_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-enterprise @@ -1207,7 +1220,7 @@ async def async_get_hosted_runners_machine_specs_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-enterprise @@ -1242,7 +1255,7 @@ def get_hosted_runners_platforms_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-enterprise @@ -1277,7 +1290,7 @@ async def async_get_hosted_runners_platforms_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200, - EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type, + EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-enterprise @@ -1311,7 +1324,7 @@ def get_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1344,7 +1357,7 @@ async def async_get_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-enterprise GET /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1377,7 +1390,7 @@ def delete_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-enterprise DELETE /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1408,7 +1421,7 @@ async def async_delete_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-enterprise DELETE /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1441,7 +1454,7 @@ def update_hosted_runner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def update_hosted_runner_for_enterprise( @@ -1457,7 +1470,7 @@ def update_hosted_runner_for_enterprise( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def update_hosted_runner_for_enterprise( self, @@ -1470,7 +1483,7 @@ def update_hosted_runner_for_enterprise( EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-enterprise PATCH /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1519,7 +1532,7 @@ async def async_update_hosted_runner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_update_hosted_runner_for_enterprise( @@ -1535,7 +1548,7 @@ async def async_update_hosted_runner_for_enterprise( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_update_hosted_runner_for_enterprise( self, @@ -1548,7 +1561,7 @@ async def async_update_hosted_runner_for_enterprise( EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-enterprise PATCH /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id} @@ -1727,7 +1740,8 @@ def get_github_actions_default_workflow_permissions_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-enterprise @@ -1763,7 +1777,8 @@ async def async_get_github_actions_default_workflow_permissions_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-enterprise @@ -1936,7 +1951,7 @@ def generate_runner_jitconfig_for_enterprise( data: EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -1953,7 +1968,7 @@ def generate_runner_jitconfig_for_enterprise( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... def generate_runner_jitconfig_for_enterprise( @@ -1968,7 +1983,7 @@ def generate_runner_jitconfig_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-enterprise @@ -2027,7 +2042,7 @@ async def async_generate_runner_jitconfig_for_enterprise( data: EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -2044,7 +2059,7 @@ async def async_generate_runner_jitconfig_for_enterprise( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... async def async_generate_runner_jitconfig_for_enterprise( @@ -2059,7 +2074,7 @@ async def async_generate_runner_jitconfig_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-enterprise @@ -2114,7 +2129,9 @@ def get_actions_cache_usage_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-org GET /orgs/{org}/actions/cache/usage @@ -2147,7 +2164,9 @@ async def async_get_actions_cache_usage_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-org GET /orgs/{org}/actions/cache/usage @@ -2184,7 +2203,7 @@ def get_actions_cache_usage_by_repo_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsCacheUsageByRepositoryGetResponse200, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, ]: """actions/get-actions-cache-usage-by-repo-for-org @@ -2228,7 +2247,7 @@ async def async_get_actions_cache_usage_by_repo_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsCacheUsageByRepositoryGetResponse200, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, ]: """actions/get-actions-cache-usage-by-repo-for-org @@ -2272,7 +2291,7 @@ def list_hosted_runners_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersGetResponse200, - OrgsOrgActionsHostedRunnersGetResponse200Type, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-org @@ -2315,7 +2334,7 @@ async def async_list_hosted_runners_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersGetResponse200, - OrgsOrgActionsHostedRunnersGetResponse200Type, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-org @@ -2356,7 +2375,7 @@ def create_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def create_hosted_runner_for_org( @@ -2373,7 +2392,7 @@ def create_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def create_hosted_runner_for_org( self, @@ -2383,7 +2402,7 @@ def create_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-org POST /orgs/{org}/actions/hosted-runners @@ -2426,7 +2445,7 @@ async def async_create_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_create_hosted_runner_for_org( @@ -2443,7 +2462,7 @@ async def async_create_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_create_hosted_runner_for_org( self, @@ -2453,7 +2472,7 @@ async def async_create_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-org POST /orgs/{org}/actions/hosted-runners @@ -2496,7 +2515,7 @@ def list_custom_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-org @@ -2531,7 +2550,7 @@ async def async_list_custom_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-org @@ -2565,7 +2584,9 @@ def get_custom_image_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-org GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id} @@ -2598,7 +2619,9 @@ async def async_get_custom_image_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-org GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id} @@ -2693,7 +2716,7 @@ def list_custom_image_versions_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-org @@ -2731,7 +2754,7 @@ async def async_list_custom_image_versions_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-org @@ -2769,7 +2792,8 @@ def get_custom_image_version_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-org @@ -2805,7 +2829,8 @@ async def async_get_custom_image_version_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-org @@ -2902,7 +2927,7 @@ def get_hosted_runners_github_owned_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-org @@ -2935,7 +2960,7 @@ async def async_get_hosted_runners_github_owned_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-org @@ -2968,7 +2993,7 @@ def get_hosted_runners_partner_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-org @@ -3001,7 +3026,7 @@ async def async_get_hosted_runners_partner_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-org @@ -3032,7 +3057,7 @@ def get_hosted_runners_limits_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-org GET /orgs/{org}/actions/hosted-runners/limits @@ -3062,7 +3087,7 @@ async def async_get_hosted_runners_limits_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-org GET /orgs/{org}/actions/hosted-runners/limits @@ -3094,7 +3119,7 @@ def get_hosted_runners_machine_specs_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersMachineSizesGetResponse200, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-org @@ -3127,7 +3152,7 @@ async def async_get_hosted_runners_machine_specs_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersMachineSizesGetResponse200, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-org @@ -3160,7 +3185,7 @@ def get_hosted_runners_platforms_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersPlatformsGetResponse200, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-org @@ -3193,7 +3218,7 @@ async def async_get_hosted_runners_platforms_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersPlatformsGetResponse200, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-org @@ -3225,7 +3250,7 @@ def get_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-org GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3258,7 +3283,7 @@ async def async_get_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-org GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3291,7 +3316,7 @@ def delete_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-org DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3322,7 +3347,7 @@ async def async_delete_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-org DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3355,7 +3380,7 @@ def update_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def update_hosted_runner_for_org( @@ -3371,7 +3396,7 @@ def update_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def update_hosted_runner_for_org( self, @@ -3382,7 +3407,7 @@ def update_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-org PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3431,7 +3456,7 @@ async def async_update_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_update_hosted_runner_for_org( @@ -3447,7 +3472,7 @@ async def async_update_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_update_hosted_runner_for_org( self, @@ -3458,7 +3483,7 @@ async def async_update_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-org PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -3504,7 +3529,9 @@ def get_github_actions_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsOrganizationPermissions, ActionsOrganizationPermissionsType]: + ) -> Response[ + ActionsOrganizationPermissions, ActionsOrganizationPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-organization GET /orgs/{org}/actions/permissions @@ -3536,7 +3563,9 @@ async def async_get_github_actions_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsOrganizationPermissions, ActionsOrganizationPermissionsType]: + ) -> Response[ + ActionsOrganizationPermissions, ActionsOrganizationPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-organization GET /orgs/{org}/actions/permissions @@ -3706,7 +3735,7 @@ def get_artifact_and_log_retention_settings_organization( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-organization @@ -3745,7 +3774,7 @@ async def async_get_artifact_and_log_retention_settings_organization( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-organization @@ -3923,7 +3952,8 @@ def get_fork_pr_contributor_approval_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-organization @@ -3960,7 +3990,8 @@ async def async_get_fork_pr_contributor_approval_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-organization @@ -4149,7 +4180,8 @@ def get_private_repo_fork_pr_workflows_settings_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-organization @@ -4185,7 +4217,8 @@ async def async_get_private_repo_fork_pr_workflows_settings_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-organization @@ -4372,7 +4405,7 @@ def list_selected_repositories_enabled_github_actions_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsRepositoriesGetResponse200, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-enabled-github-actions-organization @@ -4415,7 +4448,7 @@ async def async_list_selected_repositories_enabled_github_actions_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsRepositoriesGetResponse200, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-enabled-github-actions-organization @@ -4708,7 +4741,7 @@ def get_allowed_actions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-organization GET /orgs/{org}/actions/permissions/selected-actions @@ -4740,7 +4773,7 @@ async def async_get_allowed_actions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-organization GET /orgs/{org}/actions/permissions/selected-actions @@ -4912,7 +4945,7 @@ def get_self_hosted_runners_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsType]: + ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsTypeForResponse]: """actions/get-self-hosted-runners-permissions-organization GET /orgs/{org}/actions/permissions/self-hosted-runners @@ -4948,7 +4981,7 @@ async def async_get_self_hosted_runners_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsType]: + ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsTypeForResponse]: """actions/get-self-hosted-runners-permissions-organization GET /orgs/{org}/actions/permissions/self-hosted-runners @@ -5140,7 +5173,7 @@ def list_selected_repositories_self_hosted_runners_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-self-hosted-runners-organization @@ -5190,7 +5223,7 @@ async def async_list_selected_repositories_self_hosted_runners_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-self-hosted-runners-organization @@ -5543,7 +5576,8 @@ def get_github_actions_default_workflow_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-organization @@ -5579,7 +5613,8 @@ async def async_get_github_actions_default_workflow_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-organization @@ -5755,7 +5790,7 @@ def list_self_hosted_runner_groups_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsGetResponse200, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runner-groups-for-org @@ -5800,7 +5835,7 @@ async def async_list_self_hosted_runner_groups_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsGetResponse200, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runner-groups-for-org @@ -5842,7 +5877,7 @@ def create_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload def create_self_hosted_runner_group_for_org( @@ -5860,7 +5895,7 @@ def create_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... def create_self_hosted_runner_group_for_org( self, @@ -5870,7 +5905,7 @@ def create_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/create-self-hosted-runner-group-for-org POST /orgs/{org}/actions/runner-groups @@ -5914,7 +5949,7 @@ async def async_create_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload async def async_create_self_hosted_runner_group_for_org( @@ -5932,7 +5967,7 @@ async def async_create_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... async def async_create_self_hosted_runner_group_for_org( self, @@ -5942,7 +5977,7 @@ async def async_create_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/create-self-hosted-runner-group-for-org POST /orgs/{org}/actions/runner-groups @@ -5985,7 +6020,7 @@ def get_self_hosted_runner_group_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/get-self-hosted-runner-group-for-org GET /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -6018,7 +6053,7 @@ async def async_get_self_hosted_runner_group_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/get-self-hosted-runner-group-for-org GET /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -6113,7 +6148,7 @@ def update_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload def update_self_hosted_runner_group_for_org( @@ -6130,7 +6165,7 @@ def update_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... def update_self_hosted_runner_group_for_org( self, @@ -6141,7 +6176,7 @@ def update_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/update-self-hosted-runner-group-for-org PATCH /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -6191,7 +6226,7 @@ async def async_update_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload async def async_update_self_hosted_runner_group_for_org( @@ -6208,7 +6243,7 @@ async def async_update_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... async def async_update_self_hosted_runner_group_for_org( self, @@ -6219,7 +6254,7 @@ async def async_update_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/update-self-hosted-runner-group-for-org PATCH /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -6271,7 +6306,7 @@ def list_github_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-github-hosted-runners-in-group-for-org @@ -6317,7 +6352,7 @@ async def async_list_github_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-github-hosted-runners-in-group-for-org @@ -6363,7 +6398,7 @@ def list_repo_access_to_self_hosted_runner_group_in_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, ]: """actions/list-repo-access-to-self-hosted-runner-group-in-org @@ -6409,7 +6444,7 @@ async def async_list_repo_access_to_self_hosted_runner_group_in_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, ]: """actions/list-repo-access-to-self-hosted-runner-group-in-org @@ -6721,7 +6756,7 @@ def list_self_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-in-group-for-org @@ -6767,7 +6802,7 @@ async def async_list_self_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-in-group-for-org @@ -7078,7 +7113,8 @@ def list_self_hosted_runners_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsRunnersGetResponse200, OrgsOrgActionsRunnersGetResponse200Type + OrgsOrgActionsRunnersGetResponse200, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-org @@ -7124,7 +7160,8 @@ async def async_list_self_hosted_runners_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsRunnersGetResponse200, OrgsOrgActionsRunnersGetResponse200Type + OrgsOrgActionsRunnersGetResponse200, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-org @@ -7166,7 +7203,7 @@ def list_runner_applications_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-org GET /orgs/{org}/actions/runners/downloads @@ -7200,7 +7237,7 @@ async def async_list_runner_applications_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-org GET /orgs/{org}/actions/runners/downloads @@ -7238,7 +7275,7 @@ def generate_runner_jitconfig_for_org( data: OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -7255,7 +7292,7 @@ def generate_runner_jitconfig_for_org( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... def generate_runner_jitconfig_for_org( @@ -7268,7 +7305,7 @@ def generate_runner_jitconfig_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-org @@ -7329,7 +7366,7 @@ async def async_generate_runner_jitconfig_for_org( data: OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -7346,7 +7383,7 @@ async def async_generate_runner_jitconfig_for_org( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... async def async_generate_runner_jitconfig_for_org( @@ -7359,7 +7396,7 @@ async def async_generate_runner_jitconfig_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-org @@ -7416,7 +7453,7 @@ def create_registration_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-org POST /orgs/{org}/actions/runners/registration-token @@ -7456,7 +7493,7 @@ async def async_create_registration_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-org POST /orgs/{org}/actions/runners/registration-token @@ -7496,7 +7533,7 @@ def create_remove_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-org POST /orgs/{org}/actions/runners/remove-token @@ -7536,7 +7573,7 @@ async def async_create_remove_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-org POST /orgs/{org}/actions/runners/remove-token @@ -7577,7 +7614,7 @@ def get_self_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-org GET /orgs/{org}/actions/runners/{runner_id} @@ -7612,7 +7649,7 @@ async def async_get_self_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-org GET /orgs/{org}/actions/runners/{runner_id} @@ -7723,7 +7760,7 @@ def list_labels_for_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-org @@ -7767,7 +7804,7 @@ async def async_list_labels_for_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-org @@ -7813,7 +7850,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -7828,7 +7865,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def set_custom_labels_for_self_hosted_runner_for_org( @@ -7842,7 +7879,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-org @@ -7904,7 +7941,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -7919,7 +7956,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_set_custom_labels_for_self_hosted_runner_for_org( @@ -7933,7 +7970,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-org @@ -7995,7 +8032,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -8010,7 +8047,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def add_custom_labels_to_self_hosted_runner_for_org( @@ -8024,7 +8061,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-org @@ -8085,7 +8122,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -8100,7 +8137,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_add_custom_labels_to_self_hosted_runner_for_org( @@ -8114,7 +8151,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-org @@ -8173,7 +8210,7 @@ def remove_all_custom_labels_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-org @@ -8218,7 +8255,7 @@ async def async_remove_all_custom_labels_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-org @@ -8264,7 +8301,7 @@ def remove_custom_label_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-org @@ -8315,7 +8352,7 @@ async def async_remove_custom_label_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-org @@ -8365,7 +8402,8 @@ def list_org_secrets( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsSecretsGetResponse200, OrgsOrgActionsSecretsGetResponse200Type + OrgsOrgActionsSecretsGetResponse200, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-org-secrets @@ -8410,7 +8448,8 @@ async def async_list_org_secrets( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsSecretsGetResponse200, OrgsOrgActionsSecretsGetResponse200Type + OrgsOrgActionsSecretsGetResponse200, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-org-secrets @@ -8452,7 +8491,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-org-public-key GET /orgs/{org}/actions/secrets/public-key @@ -8487,7 +8526,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-org-public-key GET /orgs/{org}/actions/secrets/public-key @@ -8523,7 +8562,7 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretType]: + ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretTypeForResponse]: """actions/get-org-secret GET /orgs/{org}/actions/secrets/{secret_name} @@ -8558,7 +8597,7 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretType]: + ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretTypeForResponse]: """actions/get-org-secret GET /orgs/{org}/actions/secrets/{secret_name} @@ -8595,7 +8634,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -8610,7 +8649,7 @@ def create_or_update_org_secret( key_id: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -8621,7 +8660,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-org-secret PUT /orgs/{org}/actions/secrets/{secret_name} @@ -8669,7 +8708,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -8684,7 +8723,7 @@ async def async_create_or_update_org_secret( key_id: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -8695,7 +8734,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-org-secret PUT /orgs/{org}/actions/secrets/{secret_name} @@ -8809,7 +8848,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-secret @@ -8856,7 +8895,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-secret @@ -9191,7 +9230,8 @@ def list_org_variables( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsVariablesGetResponse200, OrgsOrgActionsVariablesGetResponse200Type + OrgsOrgActionsVariablesGetResponse200, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-org-variables @@ -9235,7 +9275,8 @@ async def async_list_org_variables( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsVariablesGetResponse200, OrgsOrgActionsVariablesGetResponse200Type + OrgsOrgActionsVariablesGetResponse200, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-org-variables @@ -9278,7 +9319,7 @@ def create_org_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_org_variable( @@ -9292,7 +9333,7 @@ def create_org_variable( value: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_org_variable( self, @@ -9302,7 +9343,7 @@ def create_org_variable( stream: bool = False, data: Missing[OrgsOrgActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-org-variable POST /orgs/{org}/actions/variables @@ -9348,7 +9389,7 @@ async def async_create_org_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_org_variable( @@ -9362,7 +9403,7 @@ async def async_create_org_variable( value: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_org_variable( self, @@ -9372,7 +9413,7 @@ async def async_create_org_variable( stream: bool = False, data: Missing[OrgsOrgActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-org-variable POST /orgs/{org}/actions/variables @@ -9417,7 +9458,9 @@ def get_org_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsVariable, OrganizationActionsVariableType]: + ) -> Response[ + OrganizationActionsVariable, OrganizationActionsVariableTypeForResponse + ]: """actions/get-org-variable GET /orgs/{org}/actions/variables/{name} @@ -9452,7 +9495,9 @@ async def async_get_org_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsVariable, OrganizationActionsVariableType]: + ) -> Response[ + OrganizationActionsVariable, OrganizationActionsVariableTypeForResponse + ]: """actions/get-org-variable GET /orgs/{org}/actions/variables/{name} @@ -9697,7 +9742,7 @@ def list_selected_repos_for_org_variable( stream: bool = False, ) -> Response[ OrgsOrgActionsVariablesNameRepositoriesGetResponse200, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-variable @@ -9745,7 +9790,7 @@ async def async_list_selected_repos_for_org_variable( stream: bool = False, ) -> Response[ OrgsOrgActionsVariablesNameRepositoriesGetResponse200, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-variable @@ -10084,7 +10129,7 @@ def list_artifacts_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsArtifactsGetResponse200, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ]: """actions/list-artifacts-for-repo @@ -10132,7 +10177,7 @@ async def async_list_artifacts_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsArtifactsGetResponse200, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ]: """actions/list-artifacts-for-repo @@ -10176,7 +10221,7 @@ def get_artifact( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Artifact, ArtifactType]: + ) -> Response[Artifact, ArtifactTypeForResponse]: """actions/get-artifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} @@ -10212,7 +10257,7 @@ async def async_get_artifact( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Artifact, ArtifactType]: + ) -> Response[Artifact, ArtifactTypeForResponse]: """actions/get-artifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} @@ -10383,7 +10428,9 @@ def get_actions_cache_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryType]: + ) -> Response[ + ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryTypeForResponse + ]: """actions/get-actions-cache-usage GET /repos/{owner}/{repo}/actions/cache/usage @@ -10419,7 +10466,9 @@ async def async_get_actions_cache_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryType]: + ) -> Response[ + ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryTypeForResponse + ]: """actions/get-actions-cache-usage GET /repos/{owner}/{repo}/actions/cache/usage @@ -10463,7 +10512,7 @@ def get_actions_cache_list( direction: Missing[Literal["asc", "desc"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/get-actions-cache-list GET /repos/{owner}/{repo}/actions/caches @@ -10514,7 +10563,7 @@ async def async_get_actions_cache_list( direction: Missing[Literal["asc", "desc"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/get-actions-cache-list GET /repos/{owner}/{repo}/actions/caches @@ -10559,7 +10608,7 @@ def delete_actions_cache_by_key( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/delete-actions-cache-by-key DELETE /repos/{owner}/{repo}/actions/caches @@ -10600,7 +10649,7 @@ async def async_delete_actions_cache_by_key( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/delete-actions-cache-by-key DELETE /repos/{owner}/{repo}/actions/caches @@ -10702,7 +10751,7 @@ def get_job_for_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Job, JobType]: + ) -> Response[Job, JobTypeForResponse]: """actions/get-job-for-workflow-run GET /repos/{owner}/{repo}/actions/jobs/{job_id} @@ -10738,7 +10787,7 @@ async def async_get_job_for_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Job, JobType]: + ) -> Response[Job, JobTypeForResponse]: """actions/get-job-for-workflow-run GET /repos/{owner}/{repo}/actions/jobs/{job_id} @@ -10846,7 +10895,7 @@ def re_run_job_for_workflow_run( data: Missing[ Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_job_for_workflow_run( @@ -10859,7 +10908,7 @@ def re_run_job_for_workflow_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_job_for_workflow_run( self, @@ -10873,7 +10922,7 @@ def re_run_job_for_workflow_run( Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-job-for-workflow-run POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun @@ -10932,7 +10981,7 @@ async def async_re_run_job_for_workflow_run( data: Missing[ Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_job_for_workflow_run( @@ -10945,7 +10994,7 @@ async def async_re_run_job_for_workflow_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_job_for_workflow_run( self, @@ -10959,7 +11008,7 @@ async def async_re_run_job_for_workflow_run( Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-job-for-workflow-run POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun @@ -11013,7 +11062,7 @@ def get_custom_oidc_sub_claim_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoType]: + ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoTypeForResponse]: """actions/get-custom-oidc-sub-claim-for-repo GET /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -11050,7 +11099,7 @@ async def async_get_custom_oidc_sub_claim_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoType]: + ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoTypeForResponse]: """actions/get-custom-oidc-sub-claim-for-repo GET /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -11089,7 +11138,7 @@ def set_custom_oidc_sub_claim_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def set_custom_oidc_sub_claim_for_repo( @@ -11102,7 +11151,7 @@ def set_custom_oidc_sub_claim_for_repo( stream: bool = False, use_default: bool, include_claim_keys: Missing[list[str]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def set_custom_oidc_sub_claim_for_repo( self, @@ -11113,7 +11162,7 @@ def set_custom_oidc_sub_claim_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoActionsOidcCustomizationSubPutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/set-custom-oidc-sub-claim-for-repo PUT /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -11170,7 +11219,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_set_custom_oidc_sub_claim_for_repo( @@ -11183,7 +11232,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( stream: bool = False, use_default: bool, include_claim_keys: Missing[list[str]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_set_custom_oidc_sub_claim_for_repo( self, @@ -11194,7 +11243,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoActionsOidcCustomizationSubPutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/set-custom-oidc-sub-claim-for-repo PUT /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -11253,7 +11302,7 @@ def list_repo_organization_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationSecretsGetResponse200, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-organization-secrets @@ -11300,7 +11349,7 @@ async def async_list_repo_organization_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationSecretsGetResponse200, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-organization-secrets @@ -11347,7 +11396,7 @@ def list_repo_organization_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationVariablesGetResponse200, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-organization-variables @@ -11393,7 +11442,7 @@ async def async_list_repo_organization_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationVariablesGetResponse200, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-organization-variables @@ -11435,7 +11484,9 @@ def get_github_actions_permissions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsRepositoryPermissions, ActionsRepositoryPermissionsType]: + ) -> Response[ + ActionsRepositoryPermissions, ActionsRepositoryPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-repository GET /repos/{owner}/{repo}/actions/permissions @@ -11468,7 +11519,9 @@ async def async_get_github_actions_permissions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsRepositoryPermissions, ActionsRepositoryPermissionsType]: + ) -> Response[ + ActionsRepositoryPermissions, ActionsRepositoryPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-repository GET /repos/{owner}/{repo}/actions/permissions @@ -11644,7 +11697,8 @@ def get_workflow_access_to_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsWorkflowAccessToRepository, ActionsWorkflowAccessToRepositoryType + ActionsWorkflowAccessToRepository, + ActionsWorkflowAccessToRepositoryTypeForResponse, ]: """actions/get-workflow-access-to-repository @@ -11682,7 +11736,8 @@ async def async_get_workflow_access_to_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsWorkflowAccessToRepository, ActionsWorkflowAccessToRepositoryType + ActionsWorkflowAccessToRepository, + ActionsWorkflowAccessToRepositoryTypeForResponse, ]: """actions/get-workflow-access-to-repository @@ -11861,7 +11916,7 @@ def get_artifact_and_log_retention_settings_repository( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-repository @@ -11900,7 +11955,7 @@ async def async_get_artifact_and_log_retention_settings_repository( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-repository @@ -12080,7 +12135,8 @@ def get_fork_pr_contributor_approval_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-repository @@ -12118,7 +12174,8 @@ async def async_get_fork_pr_contributor_approval_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-repository @@ -12314,7 +12371,8 @@ def get_private_repo_fork_pr_workflows_settings_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-repository @@ -12355,7 +12413,8 @@ async def async_get_private_repo_fork_pr_workflows_settings_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-repository @@ -12555,7 +12614,7 @@ def get_allowed_actions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-repository GET /repos/{owner}/{repo}/actions/permissions/selected-actions @@ -12588,7 +12647,7 @@ async def async_get_allowed_actions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-repository GET /repos/{owner}/{repo}/actions/permissions/selected-actions @@ -12768,7 +12827,8 @@ def get_github_actions_default_workflow_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-repository @@ -12805,7 +12865,8 @@ async def async_get_github_actions_default_workflow_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-repository @@ -12988,7 +13049,7 @@ def list_self_hosted_runners_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunnersGetResponse200, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-repo @@ -13036,7 +13097,7 @@ async def async_list_self_hosted_runners_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunnersGetResponse200, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-repo @@ -13079,7 +13140,7 @@ def list_runner_applications_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-repo GET /repos/{owner}/{repo}/actions/runners/downloads @@ -13114,7 +13175,7 @@ async def async_list_runner_applications_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-repo GET /repos/{owner}/{repo}/actions/runners/downloads @@ -13153,7 +13214,7 @@ def generate_runner_jitconfig_for_repo( data: ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -13171,7 +13232,7 @@ def generate_runner_jitconfig_for_repo( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... def generate_runner_jitconfig_for_repo( @@ -13187,7 +13248,7 @@ def generate_runner_jitconfig_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-repo @@ -13249,7 +13310,7 @@ async def async_generate_runner_jitconfig_for_repo( data: ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -13267,7 +13328,7 @@ async def async_generate_runner_jitconfig_for_repo( work_folder: Missing[str] = UNSET, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... async def async_generate_runner_jitconfig_for_repo( @@ -13283,7 +13344,7 @@ async def async_generate_runner_jitconfig_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201, - EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-repo @@ -13341,7 +13402,7 @@ def create_registration_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-repo POST /repos/{owner}/{repo}/actions/runners/registration-token @@ -13382,7 +13443,7 @@ async def async_create_registration_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-repo POST /repos/{owner}/{repo}/actions/runners/registration-token @@ -13423,7 +13484,7 @@ def create_remove_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-repo POST /repos/{owner}/{repo}/actions/runners/remove-token @@ -13464,7 +13525,7 @@ async def async_create_remove_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-repo POST /repos/{owner}/{repo}/actions/runners/remove-token @@ -13506,7 +13567,7 @@ def get_self_hosted_runner_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-repo GET /repos/{owner}/{repo}/actions/runners/{runner_id} @@ -13542,7 +13603,7 @@ async def async_get_self_hosted_runner_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-repo GET /repos/{owner}/{repo}/actions/runners/{runner_id} @@ -13656,7 +13717,7 @@ def list_labels_for_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-repo @@ -13701,7 +13762,7 @@ async def async_list_labels_for_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-repo @@ -13748,7 +13809,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -13764,7 +13825,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def set_custom_labels_for_self_hosted_runner_for_repo( @@ -13779,7 +13840,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-repo @@ -13842,7 +13903,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -13858,7 +13919,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_set_custom_labels_for_self_hosted_runner_for_repo( @@ -13873,7 +13934,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-repo @@ -13936,7 +13997,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -13952,7 +14013,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def add_custom_labels_to_self_hosted_runner_for_repo( @@ -13967,7 +14028,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-repo @@ -14029,7 +14090,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -14045,7 +14106,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_add_custom_labels_to_self_hosted_runner_for_repo( @@ -14060,7 +14121,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-repo @@ -14120,7 +14181,7 @@ def remove_all_custom_labels_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-repo @@ -14166,7 +14227,7 @@ async def async_remove_all_custom_labels_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-repo @@ -14213,7 +14274,7 @@ def remove_custom_label_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-repo @@ -14265,7 +14326,7 @@ async def async_remove_custom_label_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-repo @@ -14342,7 +14403,7 @@ def list_workflow_runs_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsGetResponse200, - ReposOwnerRepoActionsRunsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs-for-repo @@ -14423,7 +14484,7 @@ async def async_list_workflow_runs_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsGetResponse200, - ReposOwnerRepoActionsRunsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs-for-repo @@ -14477,7 +14538,7 @@ def get_workflow_run( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run GET /repos/{owner}/{repo}/actions/runs/{run_id} @@ -14519,7 +14580,7 @@ async def async_get_workflow_run( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run GET /repos/{owner}/{repo}/actions/runs/{run_id} @@ -14626,7 +14687,9 @@ def get_reviews_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnvironmentApprovals], list[EnvironmentApprovalsType]]: + ) -> Response[ + list[EnvironmentApprovals], list[EnvironmentApprovalsTypeForResponse] + ]: """actions/get-reviews-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals @@ -14660,7 +14723,9 @@ async def async_get_reviews_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnvironmentApprovals], list[EnvironmentApprovalsType]]: + ) -> Response[ + list[EnvironmentApprovals], list[EnvironmentApprovalsTypeForResponse] + ]: """actions/get-reviews-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals @@ -14694,7 +14759,7 @@ def approve_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/approve-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve @@ -14732,7 +14797,7 @@ async def async_approve_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/approve-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve @@ -14775,7 +14840,7 @@ def list_workflow_run_artifacts( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, ]: """actions/list-workflow-run-artifacts @@ -14824,7 +14889,7 @@ async def async_list_workflow_run_artifacts( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, ]: """actions/list-workflow-run-artifacts @@ -14870,7 +14935,7 @@ def get_workflow_run_attempt( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run-attempt GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} @@ -14913,7 +14978,7 @@ async def async_get_workflow_run_attempt( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run-attempt GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} @@ -14959,7 +15024,7 @@ def list_jobs_for_workflow_run_attempt( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run-attempt @@ -15014,7 +15079,7 @@ async def async_list_jobs_for_workflow_run_attempt( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run-attempt @@ -15134,7 +15199,7 @@ def cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel @@ -15171,7 +15236,7 @@ async def async_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel @@ -15414,7 +15479,7 @@ def force_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/force-cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel @@ -15452,7 +15517,7 @@ async def async_force_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/force-cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel @@ -15495,7 +15560,7 @@ def list_jobs_for_workflow_run( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run @@ -15545,7 +15610,7 @@ async def async_list_jobs_for_workflow_run( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run @@ -15732,7 +15797,7 @@ def get_pending_deployments_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PendingDeployment], list[PendingDeploymentType]]: + ) -> Response[list[PendingDeployment], list[PendingDeploymentTypeForResponse]]: """actions/get-pending-deployments-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -15768,7 +15833,7 @@ async def async_get_pending_deployments_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PendingDeployment], list[PendingDeploymentType]]: + ) -> Response[list[PendingDeployment], list[PendingDeploymentTypeForResponse]]: """actions/get-pending-deployments-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -15806,7 +15871,7 @@ def review_pending_deployments_for_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... @overload def review_pending_deployments_for_run( @@ -15821,7 +15886,7 @@ def review_pending_deployments_for_run( environment_ids: list[int], state: Literal["approved", "rejected"], comment: str, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... def review_pending_deployments_for_run( self, @@ -15835,7 +15900,7 @@ def review_pending_deployments_for_run( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """actions/review-pending-deployments-for-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -15888,7 +15953,7 @@ async def async_review_pending_deployments_for_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... @overload async def async_review_pending_deployments_for_run( @@ -15903,7 +15968,7 @@ async def async_review_pending_deployments_for_run( environment_ids: list[int], state: Literal["approved", "rejected"], comment: str, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... async def async_review_pending_deployments_for_run( self, @@ -15917,7 +15982,7 @@ async def async_review_pending_deployments_for_run( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """actions/review-pending-deployments-for-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -15972,7 +16037,7 @@ def re_run_workflow( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_workflow( @@ -15985,7 +16050,7 @@ def re_run_workflow( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_workflow( self, @@ -15999,7 +16064,7 @@ def re_run_workflow( Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun @@ -16051,7 +16116,7 @@ async def async_re_run_workflow( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_workflow( @@ -16064,7 +16129,7 @@ async def async_re_run_workflow( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_workflow( self, @@ -16078,7 +16143,7 @@ async def async_re_run_workflow( Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun @@ -16130,7 +16195,7 @@ def re_run_workflow_failed_jobs( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_workflow_failed_jobs( @@ -16143,7 +16208,7 @@ def re_run_workflow_failed_jobs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_workflow_failed_jobs( self, @@ -16157,7 +16222,7 @@ def re_run_workflow_failed_jobs( Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow-failed-jobs POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs @@ -16212,7 +16277,7 @@ async def async_re_run_workflow_failed_jobs( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_workflow_failed_jobs( @@ -16225,7 +16290,7 @@ async def async_re_run_workflow_failed_jobs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_workflow_failed_jobs( self, @@ -16239,7 +16304,7 @@ async def async_re_run_workflow_failed_jobs( Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow-failed-jobs POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs @@ -16290,7 +16355,7 @@ def get_workflow_run_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRunUsage, WorkflowRunUsageType]: + ) -> Response[WorkflowRunUsage, WorkflowRunUsageTypeForResponse]: """actions/get-workflow-run-usage GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing @@ -16329,7 +16394,7 @@ async def async_get_workflow_run_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRunUsage, WorkflowRunUsageType]: + ) -> Response[WorkflowRunUsage, WorkflowRunUsageTypeForResponse]: """actions/get-workflow-run-usage GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing @@ -16371,7 +16436,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsSecretsGetResponse200, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-secrets @@ -16418,7 +16483,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsSecretsGetResponse200, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-secrets @@ -16461,7 +16526,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-repo-public-key GET /repos/{owner}/{repo}/actions/secrets/public-key @@ -16497,7 +16562,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-repo-public-key GET /repos/{owner}/{repo}/actions/secrets/public-key @@ -16534,7 +16599,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-repo-secret GET /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -16570,7 +16635,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-repo-secret GET /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -16608,7 +16673,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -16622,7 +16687,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -16634,7 +16699,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-repo-secret PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -16685,7 +16750,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -16699,7 +16764,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -16711,7 +16776,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-repo-secret PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -16829,7 +16894,7 @@ def list_repo_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsVariablesGetResponse200, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-variables @@ -16875,7 +16940,7 @@ async def async_list_repo_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsVariablesGetResponse200, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-variables @@ -16919,7 +16984,7 @@ def create_repo_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_repo_variable( @@ -16932,7 +16997,7 @@ def create_repo_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_repo_variable( self, @@ -16943,7 +17008,7 @@ def create_repo_variable( stream: bool = False, data: Missing[ReposOwnerRepoActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-repo-variable POST /repos/{owner}/{repo}/actions/variables @@ -16990,7 +17055,7 @@ async def async_create_repo_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_repo_variable( @@ -17003,7 +17068,7 @@ async def async_create_repo_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_repo_variable( self, @@ -17014,7 +17079,7 @@ async def async_create_repo_variable( stream: bool = False, data: Missing[ReposOwnerRepoActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-repo-variable POST /repos/{owner}/{repo}/actions/variables @@ -17060,7 +17125,7 @@ def get_repo_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-repo-variable GET /repos/{owner}/{repo}/actions/variables/{name} @@ -17096,7 +17161,7 @@ async def async_get_repo_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-repo-variable GET /repos/{owner}/{repo}/actions/variables/{name} @@ -17349,7 +17414,7 @@ def list_repo_workflows( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsGetResponse200, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ]: """actions/list-repo-workflows @@ -17395,7 +17460,7 @@ async def async_list_repo_workflows( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsGetResponse200, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ]: """actions/list-repo-workflows @@ -17438,7 +17503,7 @@ def get_workflow( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Workflow, WorkflowType]: + ) -> Response[Workflow, WorkflowTypeForResponse]: """actions/get-workflow GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} @@ -17475,7 +17540,7 @@ async def async_get_workflow( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Workflow, WorkflowType]: + ) -> Response[Workflow, WorkflowTypeForResponse]: """actions/get-workflow GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} @@ -17823,7 +17888,7 @@ def list_workflow_runs( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs @@ -17905,7 +17970,7 @@ async def async_list_workflow_runs( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs @@ -17958,7 +18023,7 @@ def get_workflow_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowUsage, WorkflowUsageType]: + ) -> Response[WorkflowUsage, WorkflowUsageTypeForResponse]: """actions/get-workflow-usage GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing @@ -17999,7 +18064,7 @@ async def async_get_workflow_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowUsage, WorkflowUsageType]: + ) -> Response[WorkflowUsage, WorkflowUsageTypeForResponse]: """actions/get-workflow-usage GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing @@ -18044,7 +18109,7 @@ def list_environment_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ]: """actions/list-environment-secrets @@ -18094,7 +18159,7 @@ async def async_list_environment_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ]: """actions/list-environment-secrets @@ -18140,7 +18205,7 @@ def get_environment_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-environment-public-key GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key @@ -18179,7 +18244,7 @@ async def async_get_environment_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-environment-public-key GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key @@ -18219,7 +18284,7 @@ def get_environment_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-environment-secret GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -18256,7 +18321,7 @@ async def async_get_environment_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-environment-secret GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -18295,7 +18360,7 @@ def create_or_update_environment_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_environment_secret( @@ -18310,7 +18375,7 @@ def create_or_update_environment_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_environment_secret( self, @@ -18325,7 +18390,7 @@ def create_or_update_environment_secret( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-environment-secret PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -18380,7 +18445,7 @@ async def async_create_or_update_environment_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_environment_secret( @@ -18395,7 +18460,7 @@ async def async_create_or_update_environment_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_environment_secret( self, @@ -18410,7 +18475,7 @@ async def async_create_or_update_environment_secret( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-environment-secret PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -18534,7 +18599,7 @@ def list_environment_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ]: """actions/list-environment-variables @@ -18583,7 +18648,7 @@ async def async_list_environment_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ]: """actions/list-environment-variables @@ -18630,7 +18695,7 @@ def create_environment_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_environment_variable( @@ -18644,7 +18709,7 @@ def create_environment_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_environment_variable( self, @@ -18658,7 +18723,7 @@ def create_environment_variable( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-environment-variable POST /repos/{owner}/{repo}/environments/{environment_name}/variables @@ -18711,7 +18776,7 @@ async def async_create_environment_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_environment_variable( @@ -18725,7 +18790,7 @@ async def async_create_environment_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_environment_variable( self, @@ -18739,7 +18804,7 @@ async def async_create_environment_variable( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-environment-variable POST /repos/{owner}/{repo}/environments/{environment_name}/variables @@ -18791,7 +18856,7 @@ def get_environment_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-environment-variable GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} @@ -18828,7 +18893,7 @@ async def async_get_environment_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-environment-variable GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/activity.py b/githubkit/versions/ghec_v2022_11_28/rest/activity.py index 0e011188c..195c82069 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/activity.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/activity.py @@ -43,22 +43,22 @@ ThreadSubscription, ) from ..types import ( - EventType, - FeedType, - MinimalRepositoryType, + EventTypeForResponse, + FeedTypeForResponse, + MinimalRepositoryTypeForResponse, NotificationsPutBodyType, - NotificationsPutResponse202Type, + NotificationsPutResponse202TypeForResponse, NotificationsThreadsThreadIdSubscriptionPutBodyType, - RepositorySubscriptionType, - RepositoryType, + RepositorySubscriptionTypeForResponse, + RepositoryTypeForResponse, ReposOwnerRepoNotificationsPutBodyType, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ReposOwnerRepoSubscriptionPutBodyType, - SimpleUserType, - StargazerType, - StarredRepositoryType, - ThreadSubscriptionType, - ThreadType, + SimpleUserTypeForResponse, + StargazerTypeForResponse, + StarredRepositoryTypeForResponse, + ThreadSubscriptionTypeForResponse, + ThreadTypeForResponse, ) @@ -84,7 +84,7 @@ def list_public_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events GET /events @@ -130,7 +130,7 @@ async def async_list_public_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events GET /events @@ -174,7 +174,7 @@ def get_feeds( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Feed, FeedType]: + ) -> Response[Feed, FeedTypeForResponse]: """activity/get-feeds GET /feeds @@ -216,7 +216,7 @@ async def async_get_feeds( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Feed, FeedType]: + ) -> Response[Feed, FeedTypeForResponse]: """activity/get-feeds GET /feeds @@ -262,7 +262,7 @@ def list_public_events_for_repo_network( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-repo-network GET /networks/{owner}/{repo}/events @@ -306,7 +306,7 @@ async def async_list_public_events_for_repo_network( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-repo-network GET /networks/{owner}/{repo}/events @@ -352,7 +352,7 @@ def list_notifications_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-notifications-for-authenticated-user GET /notifications @@ -402,7 +402,7 @@ async def async_list_notifications_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-notifications-for-authenticated-user GET /notifications @@ -448,7 +448,9 @@ def mark_notifications_as_read( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... @overload def mark_notifications_as_read( @@ -459,7 +461,9 @@ def mark_notifications_as_read( stream: bool = False, last_read_at: Missing[datetime] = UNSET, read: Missing[bool] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... def mark_notifications_as_read( self, @@ -468,7 +472,9 @@ def mark_notifications_as_read( stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, **kwargs, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: """activity/mark-notifications-as-read PUT /notifications @@ -517,7 +523,9 @@ async def async_mark_notifications_as_read( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... @overload async def async_mark_notifications_as_read( @@ -528,7 +536,9 @@ async def async_mark_notifications_as_read( stream: bool = False, last_read_at: Missing[datetime] = UNSET, read: Missing[bool] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... async def async_mark_notifications_as_read( self, @@ -537,7 +547,9 @@ async def async_mark_notifications_as_read( stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, **kwargs, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: """activity/mark-notifications-as-read PUT /notifications @@ -585,7 +597,7 @@ def get_thread( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Thread, ThreadType]: + ) -> Response[Thread, ThreadTypeForResponse]: """activity/get-thread GET /notifications/threads/{thread_id} @@ -619,7 +631,7 @@ async def async_get_thread( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Thread, ThreadType]: + ) -> Response[Thread, ThreadTypeForResponse]: """activity/get-thread GET /notifications/threads/{thread_id} @@ -771,7 +783,7 @@ def get_thread_subscription_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/get-thread-subscription-for-authenticated-user GET /notifications/threads/{thread_id}/subscription @@ -807,7 +819,7 @@ async def async_get_thread_subscription_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/get-thread-subscription-for-authenticated-user GET /notifications/threads/{thread_id}/subscription @@ -845,7 +857,7 @@ def set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... @overload def set_thread_subscription( @@ -856,7 +868,7 @@ def set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ignored: Missing[bool] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... def set_thread_subscription( self, @@ -866,7 +878,7 @@ def set_thread_subscription( stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/set-thread-subscription PUT /notifications/threads/{thread_id}/subscription @@ -922,7 +934,7 @@ async def async_set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... @overload async def async_set_thread_subscription( @@ -933,7 +945,7 @@ async def async_set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ignored: Missing[bool] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... async def async_set_thread_subscription( self, @@ -943,7 +955,7 @@ async def async_set_thread_subscription( stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/set-thread-subscription PUT /notifications/threads/{thread_id}/subscription @@ -1065,7 +1077,7 @@ def list_public_org_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-org-events GET /orgs/{org}/events @@ -1104,7 +1116,7 @@ async def async_list_public_org_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-org-events GET /orgs/{org}/events @@ -1144,7 +1156,7 @@ def list_repo_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-repo-events GET /repos/{owner}/{repo}/events @@ -1184,7 +1196,7 @@ async def async_list_repo_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-repo-events GET /repos/{owner}/{repo}/events @@ -1228,7 +1240,7 @@ def list_repo_notifications_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-repo-notifications-for-authenticated-user GET /repos/{owner}/{repo}/notifications @@ -1275,7 +1287,7 @@ async def async_list_repo_notifications_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-repo-notifications-for-authenticated-user GET /repos/{owner}/{repo}/notifications @@ -1320,7 +1332,7 @@ def mark_repo_notifications_as_read( data: Missing[ReposOwnerRepoNotificationsPutBodyType] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... @overload @@ -1335,7 +1347,7 @@ def mark_repo_notifications_as_read( last_read_at: Missing[datetime] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... def mark_repo_notifications_as_read( @@ -1349,7 +1361,7 @@ def mark_repo_notifications_as_read( **kwargs, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: """activity/mark-repo-notifications-as-read @@ -1398,7 +1410,7 @@ async def async_mark_repo_notifications_as_read( data: Missing[ReposOwnerRepoNotificationsPutBodyType] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... @overload @@ -1413,7 +1425,7 @@ async def async_mark_repo_notifications_as_read( last_read_at: Missing[datetime] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... async def async_mark_repo_notifications_as_read( @@ -1427,7 +1439,7 @@ async def async_mark_repo_notifications_as_read( **kwargs, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: """activity/mark-repo-notifications-as-read @@ -1476,7 +1488,7 @@ def list_stargazers_for_repo( stream: bool = False, ) -> Response[ Union[list[SimpleUser], list[Stargazer]], - Union[list[SimpleUserType], list[StargazerType]], + Union[list[SimpleUserTypeForResponse], list[StargazerTypeForResponse]], ]: """activity/list-stargazers-for-repo @@ -1527,7 +1539,7 @@ async def async_list_stargazers_for_repo( stream: bool = False, ) -> Response[ Union[list[SimpleUser], list[Stargazer]], - Union[list[SimpleUserType], list[StargazerType]], + Union[list[SimpleUserTypeForResponse], list[StargazerTypeForResponse]], ]: """activity/list-stargazers-for-repo @@ -1576,7 +1588,7 @@ def list_watchers_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """activity/list-watchers-for-repo GET /repos/{owner}/{repo}/subscribers @@ -1615,7 +1627,7 @@ async def async_list_watchers_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """activity/list-watchers-for-repo GET /repos/{owner}/{repo}/subscribers @@ -1652,7 +1664,7 @@ def get_repo_subscription( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/get-repo-subscription GET /repos/{owner}/{repo}/subscription @@ -1686,7 +1698,7 @@ async def async_get_repo_subscription( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/get-repo-subscription GET /repos/{owner}/{repo}/subscription @@ -1722,7 +1734,7 @@ def set_repo_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... @overload def set_repo_subscription( @@ -1735,7 +1747,7 @@ def set_repo_subscription( stream: bool = False, subscribed: Missing[bool] = UNSET, ignored: Missing[bool] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... def set_repo_subscription( self, @@ -1746,7 +1758,7 @@ def set_repo_subscription( stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/set-repo-subscription PUT /repos/{owner}/{repo}/subscription @@ -1789,7 +1801,7 @@ async def async_set_repo_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... @overload async def async_set_repo_subscription( @@ -1802,7 +1814,7 @@ async def async_set_repo_subscription( stream: bool = False, subscribed: Missing[bool] = UNSET, ignored: Missing[bool] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... async def async_set_repo_subscription( self, @@ -1813,7 +1825,7 @@ async def async_set_repo_subscription( stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/set-repo-subscription PUT /repos/{owner}/{repo}/subscription @@ -1912,7 +1924,7 @@ def list_repos_starred_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """activity/list-repos-starred-by-authenticated-user GET /user/starred @@ -1961,7 +1973,7 @@ async def async_list_repos_starred_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """activity/list-repos-starred-by-authenticated-user GET /user/starred @@ -2218,7 +2230,7 @@ def list_watched_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-watched-repos-for-authenticated-user GET /user/subscriptions @@ -2259,7 +2271,7 @@ async def async_list_watched_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-watched-repos-for-authenticated-user GET /user/subscriptions @@ -2301,7 +2313,7 @@ def list_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-events-for-authenticated-user GET /users/{username}/events @@ -2342,7 +2354,7 @@ async def async_list_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-events-for-authenticated-user GET /users/{username}/events @@ -2384,7 +2396,7 @@ def list_org_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-org-events-for-authenticated-user GET /users/{username}/events/orgs/{org} @@ -2426,7 +2438,7 @@ async def async_list_org_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-org-events-for-authenticated-user GET /users/{username}/events/orgs/{org} @@ -2467,7 +2479,7 @@ def list_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-user GET /users/{username}/events/public @@ -2506,7 +2518,7 @@ async def async_list_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-user GET /users/{username}/events/public @@ -2545,7 +2557,7 @@ def list_received_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-events-for-user GET /users/{username}/received_events @@ -2587,7 +2599,7 @@ async def async_list_received_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-events-for-user GET /users/{username}/received_events @@ -2629,7 +2641,7 @@ def list_received_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-public-events-for-user GET /users/{username}/received_events/public @@ -2668,7 +2680,7 @@ async def async_list_received_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-public-events-for-user GET /users/{username}/received_events/public @@ -2711,7 +2723,7 @@ def list_repos_starred_by_user( stream: bool = False, ) -> Response[ Union[list[StarredRepository], list[Repository]], - Union[list[StarredRepositoryType], list[RepositoryType]], + Union[list[StarredRepositoryTypeForResponse], list[RepositoryTypeForResponse]], ]: """activity/list-repos-starred-by-user @@ -2762,7 +2774,7 @@ async def async_list_repos_starred_by_user( stream: bool = False, ) -> Response[ Union[list[StarredRepository], list[Repository]], - Union[list[StarredRepositoryType], list[RepositoryType]], + Union[list[StarredRepositoryTypeForResponse], list[RepositoryTypeForResponse]], ]: """activity/list-repos-starred-by-user @@ -2809,7 +2821,7 @@ def list_repos_watched_by_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-repos-watched-by-user GET /users/{username}/subscriptions @@ -2847,7 +2859,7 @@ async def async_list_repos_watched_by_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-repos-watched-by-user GET /users/{username}/subscriptions diff --git a/githubkit/versions/ghec_v2022_11_28/rest/apps.py b/githubkit/versions/ghec_v2022_11_28/rest/apps.py index 20e1534e3..b80487236 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/apps.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/apps.py @@ -50,37 +50,37 @@ WebhookConfig, ) from ..types import ( - AccessibleRepositoryType, + AccessibleRepositoryTypeForResponse, AppHookConfigPatchBodyType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, AppInstallationsInstallationIdAccessTokensPostBodyType, ApplicationsClientIdGrantDeleteBodyType, ApplicationsClientIdTokenDeleteBodyType, ApplicationsClientIdTokenPatchBodyType, ApplicationsClientIdTokenPostBodyType, ApplicationsClientIdTokenScopedPostBodyType, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, AppPermissionsType, - AuthorizationType, - EnterpriseOrganizationInstallationType, + AuthorizationTypeForResponse, + EnterpriseOrganizationInstallationTypeForResponse, EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType, EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType, EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType, EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType, - HookDeliveryItemType, - HookDeliveryType, - InstallableOrganizationType, - InstallationRepositoriesGetResponse200Type, - InstallationTokenType, - InstallationType, - IntegrationInstallationRequestType, - IntegrationType, - MarketplaceListingPlanType, - MarketplacePurchaseType, - UserInstallationsGetResponse200Type, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, - UserMarketplacePurchaseType, - WebhookConfigType, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + InstallableOrganizationTypeForResponse, + InstallationRepositoriesGetResponse200TypeForResponse, + InstallationTokenTypeForResponse, + InstallationTypeForResponse, + IntegrationInstallationRequestTypeForResponse, + IntegrationTypeForResponse, + MarketplaceListingPlanTypeForResponse, + MarketplacePurchaseTypeForResponse, + UserInstallationsGetResponse200TypeForResponse, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, + UserMarketplacePurchaseTypeForResponse, + WebhookConfigTypeForResponse, ) @@ -104,7 +104,7 @@ def get_authenticated( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-authenticated GET /app @@ -137,7 +137,7 @@ async def async_get_authenticated( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-authenticated GET /app @@ -173,7 +173,7 @@ def create_from_manifest( stream: bool = False, ) -> Response[ AppManifestsCodeConversionsPostResponse201, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, ]: """apps/create-from-manifest @@ -214,7 +214,7 @@ async def async_create_from_manifest( stream: bool = False, ) -> Response[ AppManifestsCodeConversionsPostResponse201, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, ]: """apps/create-from-manifest @@ -252,7 +252,7 @@ def get_webhook_config_for_app( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/get-webhook-config-for-app GET /app/hook/config @@ -283,7 +283,7 @@ async def async_get_webhook_config_for_app( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/get-webhook-config-for-app GET /app/hook/config @@ -316,7 +316,7 @@ def update_webhook_config_for_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AppHookConfigPatchBodyType, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_app( @@ -329,7 +329,7 @@ def update_webhook_config_for_app( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_app( self, @@ -338,7 +338,7 @@ def update_webhook_config_for_app( stream: bool = False, data: Missing[AppHookConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/update-webhook-config-for-app PATCH /app/hook/config @@ -381,7 +381,7 @@ async def async_update_webhook_config_for_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AppHookConfigPatchBodyType, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_app( @@ -394,7 +394,7 @@ async def async_update_webhook_config_for_app( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_app( self, @@ -403,7 +403,7 @@ async def async_update_webhook_config_for_app( stream: bool = False, data: Missing[AppHookConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/update-webhook-config-for-app PATCH /app/hook/config @@ -446,7 +446,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """apps/list-webhook-deliveries GET /app/hook/deliveries @@ -489,7 +489,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """apps/list-webhook-deliveries GET /app/hook/deliveries @@ -531,7 +531,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """apps/get-webhook-delivery GET /app/hook/deliveries/{delivery_id} @@ -567,7 +567,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """apps/get-webhook-delivery GET /app/hook/deliveries/{delivery_id} @@ -605,7 +605,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """apps/redeliver-webhook-delivery @@ -648,7 +648,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """apps/redeliver-webhook-delivery @@ -691,7 +691,8 @@ def list_installation_requests_for_authenticated_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[IntegrationInstallationRequest], list[IntegrationInstallationRequestType] + list[IntegrationInstallationRequest], + list[IntegrationInstallationRequestTypeForResponse], ]: """apps/list-installation-requests-for-authenticated-app @@ -733,7 +734,8 @@ async def async_list_installation_requests_for_authenticated_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[IntegrationInstallationRequest], list[IntegrationInstallationRequestType] + list[IntegrationInstallationRequest], + list[IntegrationInstallationRequestTypeForResponse], ]: """apps/list-installation-requests-for-authenticated-app @@ -776,7 +778,7 @@ def list_installations( outdated: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Installation], list[InstallationType]]: + ) -> Response[list[Installation], list[InstallationTypeForResponse]]: """apps/list-installations GET /app/installations @@ -819,7 +821,7 @@ async def async_list_installations( outdated: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Installation], list[InstallationType]]: + ) -> Response[list[Installation], list[InstallationTypeForResponse]]: """apps/list-installations GET /app/installations @@ -859,7 +861,7 @@ def get_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-installation GET /app/installations/{installation_id} @@ -894,7 +896,7 @@ async def async_get_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-installation GET /app/installations/{installation_id} @@ -999,7 +1001,7 @@ def create_installation_access_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... @overload def create_installation_access_token( @@ -1012,7 +1014,7 @@ def create_installation_access_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... def create_installation_access_token( self, @@ -1022,7 +1024,7 @@ def create_installation_access_token( stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, **kwargs, - ) -> Response[InstallationToken, InstallationTokenType]: + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: """apps/create-installation-access-token POST /app/installations/{installation_id}/access_tokens @@ -1085,7 +1087,7 @@ async def async_create_installation_access_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... @overload async def async_create_installation_access_token( @@ -1098,7 +1100,7 @@ async def async_create_installation_access_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... async def async_create_installation_access_token( self, @@ -1108,7 +1110,7 @@ async def async_create_installation_access_token( stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, **kwargs, - ) -> Response[InstallationToken, InstallationTokenType]: + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: """apps/create-installation-access-token POST /app/installations/{installation_id}/access_tokens @@ -1439,7 +1441,7 @@ def check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def check_token( @@ -1450,7 +1452,7 @@ def check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def check_token( self, @@ -1460,7 +1462,7 @@ def check_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/check-token POST /applications/{client_id}/token @@ -1511,7 +1513,7 @@ async def async_check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_check_token( @@ -1522,7 +1524,7 @@ async def async_check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_check_token( self, @@ -1532,7 +1534,7 @@ async def async_check_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/check-token POST /applications/{client_id}/token @@ -1713,7 +1715,7 @@ def reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPatchBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def reset_token( @@ -1724,7 +1726,7 @@ def reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def reset_token( self, @@ -1734,7 +1736,7 @@ def reset_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPatchBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/reset-token PATCH /applications/{client_id}/token @@ -1783,7 +1785,7 @@ async def async_reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPatchBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_reset_token( @@ -1794,7 +1796,7 @@ async def async_reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_reset_token( self, @@ -1804,7 +1806,7 @@ async def async_reset_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPatchBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/reset-token PATCH /applications/{client_id}/token @@ -1853,7 +1855,7 @@ def scope_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenScopedPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def scope_token( @@ -1869,7 +1871,7 @@ def scope_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def scope_token( self, @@ -1879,7 +1881,7 @@ def scope_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenScopedPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/scope-token POST /applications/{client_id}/token/scoped @@ -1936,7 +1938,7 @@ async def async_scope_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenScopedPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_scope_token( @@ -1952,7 +1954,7 @@ async def async_scope_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_scope_token( self, @@ -1962,7 +1964,7 @@ async def async_scope_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenScopedPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/scope-token POST /applications/{client_id}/token/scoped @@ -2017,7 +2019,7 @@ def get_by_slug( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-by-slug GET /apps/{app_slug} @@ -2054,7 +2056,7 @@ async def async_get_by_slug( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-by-slug GET /apps/{app_slug} @@ -2093,7 +2095,9 @@ def installable_organizations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[InstallableOrganization], list[InstallableOrganizationType]]: + ) -> Response[ + list[InstallableOrganization], list[InstallableOrganizationTypeForResponse] + ]: """enterprise-apps/installable-organizations GET /enterprises/{enterprise}/apps/installable_organizations @@ -2133,7 +2137,9 @@ async def async_installable_organizations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[InstallableOrganization], list[InstallableOrganizationType]]: + ) -> Response[ + list[InstallableOrganization], list[InstallableOrganizationTypeForResponse] + ]: """enterprise-apps/installable-organizations GET /enterprises/{enterprise}/apps/installable_organizations @@ -2174,7 +2180,9 @@ def installable_organization_accessible_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/installable-organization-accessible-repositories GET /enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories @@ -2215,7 +2223,9 @@ async def async_installable_organization_accessible_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/installable-organization-accessible-repositories GET /enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories @@ -2258,7 +2268,7 @@ def organization_installations( stream: bool = False, ) -> Response[ list[EnterpriseOrganizationInstallation], - list[EnterpriseOrganizationInstallationType], + list[EnterpriseOrganizationInstallationTypeForResponse], ]: """enterprise-apps/organization-installations @@ -2302,7 +2312,7 @@ async def async_organization_installations( stream: bool = False, ) -> Response[ list[EnterpriseOrganizationInstallation], - list[EnterpriseOrganizationInstallationType], + list[EnterpriseOrganizationInstallationTypeForResponse], ]: """enterprise-apps/organization-installations @@ -2344,7 +2354,7 @@ def create_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... @overload def create_installation( @@ -2358,7 +2368,7 @@ def create_installation( client_id: str, repository_selection: Literal["all", "selected", "none"], repositories: Missing[list[str]] = UNSET, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... def create_installation( self, @@ -2371,7 +2381,7 @@ def create_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """enterprise-apps/create-installation POST /enterprises/{enterprise}/apps/organizations/{org}/installations @@ -2424,7 +2434,7 @@ async def async_create_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... @overload async def async_create_installation( @@ -2438,7 +2448,7 @@ async def async_create_installation( client_id: str, repository_selection: Literal["all", "selected", "none"], repositories: Missing[list[str]] = UNSET, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... async def async_create_installation( self, @@ -2451,7 +2461,7 @@ async def async_create_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """enterprise-apps/create-installation POST /enterprises/{enterprise}/apps/organizations/{org}/installations @@ -2579,7 +2589,9 @@ def organization_installation_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/organization-installation-repositories GET /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories @@ -2621,7 +2633,9 @@ async def async_organization_installation_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/organization-installation-repositories GET /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories @@ -2663,7 +2677,7 @@ def change_installation_repository_access_selection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... @overload def change_installation_repository_access_selection( @@ -2677,7 +2691,7 @@ def change_installation_repository_access_selection( stream: bool = False, repository_selection: Literal["all", "selected"], repositories: Missing[list[str]] = UNSET, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... def change_installation_repository_access_selection( self, @@ -2691,7 +2705,7 @@ def change_installation_repository_access_selection( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """enterprise-apps/change-installation-repository-access-selection PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories @@ -2743,7 +2757,7 @@ async def async_change_installation_repository_access_selection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... @overload async def async_change_installation_repository_access_selection( @@ -2757,7 +2771,7 @@ async def async_change_installation_repository_access_selection( stream: bool = False, repository_selection: Literal["all", "selected"], repositories: Missing[list[str]] = UNSET, - ) -> Response[Installation, InstallationType]: ... + ) -> Response[Installation, InstallationTypeForResponse]: ... async def async_change_installation_repository_access_selection( self, @@ -2771,7 +2785,7 @@ async def async_change_installation_repository_access_selection( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """enterprise-apps/change-installation-repository-access-selection PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories @@ -2823,7 +2837,9 @@ def grant_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... @overload def grant_repository_access_to_installation( @@ -2836,7 +2852,9 @@ def grant_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, repositories: list[str], - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... def grant_repository_access_to_installation( self, @@ -2850,7 +2868,9 @@ def grant_repository_access_to_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType ] = UNSET, **kwargs, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/grant-repository-access-to-installation PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add @@ -2902,7 +2922,9 @@ async def async_grant_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... @overload async def async_grant_repository_access_to_installation( @@ -2915,7 +2937,9 @@ async def async_grant_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, repositories: list[str], - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... async def async_grant_repository_access_to_installation( self, @@ -2929,7 +2953,9 @@ async def async_grant_repository_access_to_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType ] = UNSET, **kwargs, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/grant-repository-access-to-installation PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add @@ -2981,7 +3007,9 @@ def remove_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... @overload def remove_repository_access_to_installation( @@ -2994,7 +3022,9 @@ def remove_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, repositories: list[str], - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... def remove_repository_access_to_installation( self, @@ -3008,7 +3038,9 @@ def remove_repository_access_to_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType ] = UNSET, **kwargs, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/remove-repository-access-to-installation PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove @@ -3064,7 +3096,9 @@ async def async_remove_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... @overload async def async_remove_repository_access_to_installation( @@ -3077,7 +3111,9 @@ async def async_remove_repository_access_to_installation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, repositories: list[str], - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: ... + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: ... async def async_remove_repository_access_to_installation( self, @@ -3091,7 +3127,9 @@ async def async_remove_repository_access_to_installation( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType ] = UNSET, **kwargs, - ) -> Response[list[AccessibleRepository], list[AccessibleRepositoryType]]: + ) -> Response[ + list[AccessibleRepository], list[AccessibleRepositoryTypeForResponse] + ]: """enterprise-apps/remove-repository-access-to-installation PATCH /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove @@ -3146,7 +3184,7 @@ def list_repos_accessible_to_installation( stream: bool = False, ) -> Response[ InstallationRepositoriesGetResponse200, - InstallationRepositoriesGetResponse200Type, + InstallationRepositoriesGetResponse200TypeForResponse, ]: """apps/list-repos-accessible-to-installation @@ -3190,7 +3228,7 @@ async def async_list_repos_accessible_to_installation( stream: bool = False, ) -> Response[ InstallationRepositoriesGetResponse200, - InstallationRepositoriesGetResponse200Type, + InstallationRepositoriesGetResponse200TypeForResponse, ]: """apps/list-repos-accessible-to-installation @@ -3287,7 +3325,7 @@ def get_subscription_plan_for_account( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account GET /marketplace_listing/accounts/{account_id} @@ -3323,7 +3361,7 @@ async def async_get_subscription_plan_for_account( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account GET /marketplace_listing/accounts/{account_id} @@ -3360,7 +3398,9 @@ def list_plans( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans GET /marketplace_listing/plans @@ -3403,7 +3443,9 @@ async def async_list_plans( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans GET /marketplace_listing/plans @@ -3449,7 +3491,7 @@ def list_accounts_for_plan( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan GET /marketplace_listing/plans/{plan_id}/accounts @@ -3498,7 +3540,7 @@ async def async_list_accounts_for_plan( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan GET /marketplace_listing/plans/{plan_id}/accounts @@ -3543,7 +3585,7 @@ def get_subscription_plan_for_account_stubbed( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account-stubbed GET /marketplace_listing/stubbed/accounts/{account_id} @@ -3578,7 +3620,7 @@ async def async_get_subscription_plan_for_account_stubbed( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account-stubbed GET /marketplace_listing/stubbed/accounts/{account_id} @@ -3614,7 +3656,9 @@ def list_plans_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans-stubbed GET /marketplace_listing/stubbed/plans @@ -3656,7 +3700,9 @@ async def async_list_plans_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans-stubbed GET /marketplace_listing/stubbed/plans @@ -3701,7 +3747,7 @@ def list_accounts_for_plan_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan-stubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts @@ -3748,7 +3794,7 @@ async def async_list_accounts_for_plan_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan-stubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts @@ -3791,7 +3837,7 @@ def get_org_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-org-installation GET /orgs/{org}/installation @@ -3823,7 +3869,7 @@ async def async_get_org_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-org-installation GET /orgs/{org}/installation @@ -3856,7 +3902,7 @@ def get_repo_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-repo-installation GET /repos/{owner}/{repo}/installation @@ -3892,7 +3938,7 @@ async def async_get_repo_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-repo-installation GET /repos/{owner}/{repo}/installation @@ -3928,7 +3974,9 @@ def list_installations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserInstallationsGetResponse200, UserInstallationsGetResponse200Type]: + ) -> Response[ + UserInstallationsGetResponse200, UserInstallationsGetResponse200TypeForResponse + ]: """apps/list-installations-for-authenticated-user GET /user/installations @@ -3973,7 +4021,9 @@ async def async_list_installations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserInstallationsGetResponse200, UserInstallationsGetResponse200Type]: + ) -> Response[ + UserInstallationsGetResponse200, UserInstallationsGetResponse200TypeForResponse + ]: """apps/list-installations-for-authenticated-user GET /user/installations @@ -4021,7 +4071,7 @@ def list_installation_repos_for_authenticated_user( stream: bool = False, ) -> Response[ UserInstallationsInstallationIdRepositoriesGetResponse200, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, ]: """apps/list-installation-repos-for-authenticated-user @@ -4073,7 +4123,7 @@ async def async_list_installation_repos_for_authenticated_user( stream: bool = False, ) -> Response[ UserInstallationsInstallationIdRepositoriesGetResponse200, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, ]: """apps/list-installation-repos-for-authenticated-user @@ -4266,7 +4316,9 @@ def list_subscriptions_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user GET /user/marketplace_purchases @@ -4307,7 +4359,9 @@ async def async_list_subscriptions_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user GET /user/marketplace_purchases @@ -4348,7 +4402,9 @@ def list_subscriptions_for_authenticated_user_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user-stubbed GET /user/marketplace_purchases/stubbed @@ -4388,7 +4444,9 @@ async def async_list_subscriptions_for_authenticated_user_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user-stubbed GET /user/marketplace_purchases/stubbed @@ -4427,7 +4485,7 @@ def get_user_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-user-installation GET /users/{username}/installation @@ -4459,7 +4517,7 @@ async def async_get_user_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-user-installation GET /users/{username}/installation diff --git a/githubkit/versions/ghec_v2022_11_28/rest/billing.py b/githubkit/versions/ghec_v2022_11_28/rest/billing.py index 753898b0b..3b93aecf8 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/billing.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/billing.py @@ -54,40 +54,40 @@ UpdateBudget, ) from ..types import ( - ActionsBillingUsageType, - AdvancedSecurityActiveCommittersType, - BillingPremiumRequestUsageReportGheType, - BillingPremiumRequestUsageReportOrgType, - BillingPremiumRequestUsageReportUserType, - BillingUsageReportType, - BillingUsageReportUserType, - BillingUsageSummaryReportGheType, - BillingUsageSummaryReportOrgType, - BillingUsageSummaryReportUserType, - CombinedBillingUsageType, - CreateBudgetType, - DeleteBudgetType, - DeleteCostCenterType, + ActionsBillingUsageTypeForResponse, + AdvancedSecurityActiveCommittersTypeForResponse, + BillingPremiumRequestUsageReportGheTypeForResponse, + BillingPremiumRequestUsageReportOrgTypeForResponse, + BillingPremiumRequestUsageReportUserTypeForResponse, + BillingUsageReportTypeForResponse, + BillingUsageReportUserTypeForResponse, + BillingUsageSummaryReportGheTypeForResponse, + BillingUsageSummaryReportOrgTypeForResponse, + BillingUsageSummaryReportUserTypeForResponse, + CombinedBillingUsageTypeForResponse, + CreateBudgetTypeForResponse, + DeleteBudgetTypeForResponse, + DeleteCostCenterTypeForResponse, EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType, EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType, EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType, EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType, EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, - GetAllBudgetsType, - GetAllCostCentersType, - GetBudgetType, - GetCostCenterType, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, + GetAllBudgetsTypeForResponse, + GetAllCostCentersTypeForResponse, + GetBudgetTypeForResponse, + GetCostCenterTypeForResponse, OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, - PackagesBillingUsageType, - UpdateBudgetType, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, + PackagesBillingUsageTypeForResponse, + UpdateBudgetTypeForResponse, ) @@ -112,7 +112,7 @@ def get_github_actions_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-ghe GET /enterprises/{enterprise}/settings/billing/actions @@ -149,7 +149,7 @@ async def async_get_github_actions_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-ghe GET /enterprises/{enterprise}/settings/billing/actions @@ -192,7 +192,8 @@ def get_github_advanced_security_billing_ghe( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - AdvancedSecurityActiveCommitters, AdvancedSecurityActiveCommittersType + AdvancedSecurityActiveCommitters, + AdvancedSecurityActiveCommittersTypeForResponse, ]: """billing/get-github-advanced-security-billing-ghe @@ -240,7 +241,8 @@ async def async_get_github_advanced_security_billing_ghe( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - AdvancedSecurityActiveCommitters, AdvancedSecurityActiveCommittersType + AdvancedSecurityActiveCommitters, + AdvancedSecurityActiveCommittersTypeForResponse, ]: """billing/get-github-advanced-security-billing-ghe @@ -282,7 +284,7 @@ def get_all_budgets( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets GET /enterprises/{enterprise}/settings/billing/budgets @@ -319,7 +321,7 @@ async def async_get_all_budgets( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets GET /enterprises/{enterprise}/settings/billing/budgets @@ -358,7 +360,7 @@ def create_budget( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType, - ) -> Response[CreateBudget, CreateBudgetType]: ... + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: ... @overload def create_budget( @@ -377,7 +379,7 @@ def create_budget( budget_entity_name: Missing[str] = UNSET, budget_type: Literal["ProductPricing", "SkuPricing"], budget_product_sku: Missing[str] = UNSET, - ) -> Response[CreateBudget, CreateBudgetType]: ... + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: ... def create_budget( self, @@ -387,7 +389,7 @@ def create_budget( stream: bool = False, data: Missing[EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType] = UNSET, **kwargs, - ) -> Response[CreateBudget, CreateBudgetType]: + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: """billing/create-budget POST /enterprises/{enterprise}/settings/billing/budgets @@ -447,7 +449,7 @@ async def async_create_budget( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType, - ) -> Response[CreateBudget, CreateBudgetType]: ... + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: ... @overload async def async_create_budget( @@ -466,7 +468,7 @@ async def async_create_budget( budget_entity_name: Missing[str] = UNSET, budget_type: Literal["ProductPricing", "SkuPricing"], budget_product_sku: Missing[str] = UNSET, - ) -> Response[CreateBudget, CreateBudgetType]: ... + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: ... async def async_create_budget( self, @@ -476,7 +478,7 @@ async def async_create_budget( stream: bool = False, data: Missing[EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType] = UNSET, **kwargs, - ) -> Response[CreateBudget, CreateBudgetType]: + ) -> Response[CreateBudget, CreateBudgetTypeForResponse]: """billing/create-budget POST /enterprises/{enterprise}/settings/billing/budgets @@ -535,7 +537,7 @@ def get_budget( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget GET /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -580,7 +582,7 @@ async def async_get_budget( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget GET /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -625,7 +627,7 @@ def delete_budget( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget DELETE /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -670,7 +672,7 @@ async def async_delete_budget( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget DELETE /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -717,7 +719,7 @@ def update_budget( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType, - ) -> Response[UpdateBudget, UpdateBudgetType]: ... + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: ... @overload def update_budget( @@ -739,7 +741,7 @@ def update_budget( budget_entity_name: Missing[str] = UNSET, budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = UNSET, budget_product_sku: Missing[str] = UNSET, - ) -> Response[UpdateBudget, UpdateBudgetType]: ... + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: ... def update_budget( self, @@ -752,7 +754,7 @@ def update_budget( EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[UpdateBudget, UpdateBudgetType]: + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: """billing/update-budget PATCH /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -814,7 +816,7 @@ async def async_update_budget( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType, - ) -> Response[UpdateBudget, UpdateBudgetType]: ... + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: ... @overload async def async_update_budget( @@ -836,7 +838,7 @@ async def async_update_budget( budget_entity_name: Missing[str] = UNSET, budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = UNSET, budget_product_sku: Missing[str] = UNSET, - ) -> Response[UpdateBudget, UpdateBudgetType]: ... + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: ... async def async_update_budget( self, @@ -849,7 +851,7 @@ async def async_update_budget( EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[UpdateBudget, UpdateBudgetType]: + ) -> Response[UpdateBudget, UpdateBudgetTypeForResponse]: """billing/update-budget PATCH /enterprises/{enterprise}/settings/billing/budgets/{budget_id} @@ -909,7 +911,7 @@ def get_all_cost_centers( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllCostCenters, GetAllCostCentersType]: + ) -> Response[GetAllCostCenters, GetAllCostCentersTypeForResponse]: """billing/get-all-cost-centers GET /enterprises/{enterprise}/settings/billing/cost-centers @@ -955,7 +957,7 @@ async def async_get_all_cost_centers( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllCostCenters, GetAllCostCentersType]: + ) -> Response[GetAllCostCenters, GetAllCostCentersTypeForResponse]: """billing/get-all-cost-centers GET /enterprises/{enterprise}/settings/billing/cost-centers @@ -1004,7 +1006,7 @@ def create_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: ... @overload @@ -1018,7 +1020,7 @@ def create_cost_center( name: str, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: ... def create_cost_center( @@ -1033,7 +1035,7 @@ def create_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: """billing/create-cost-center @@ -1084,7 +1086,7 @@ async def async_create_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: ... @overload @@ -1098,7 +1100,7 @@ async def async_create_cost_center( name: str, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: ... async def async_create_cost_center( @@ -1113,7 +1115,7 @@ async def async_create_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, ]: """billing/create-cost-center @@ -1161,7 +1163,7 @@ def get_cost_center( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetCostCenter, GetCostCenterType]: + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: """billing/get-cost-center GET /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1204,7 +1206,7 @@ async def async_get_cost_center( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetCostCenter, GetCostCenterType]: + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: """billing/get-cost-center GET /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1247,7 +1249,7 @@ def delete_cost_center( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteCostCenter, DeleteCostCenterType]: + ) -> Response[DeleteCostCenter, DeleteCostCenterTypeForResponse]: """billing/delete-cost-center DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1291,7 +1293,7 @@ async def async_delete_cost_center( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteCostCenter, DeleteCostCenterType]: + ) -> Response[DeleteCostCenter, DeleteCostCenterTypeForResponse]: """billing/delete-cost-center DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1337,7 +1339,7 @@ def update_cost_center( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType, - ) -> Response[GetCostCenter, GetCostCenterType]: ... + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: ... @overload def update_cost_center( @@ -1349,7 +1351,7 @@ def update_cost_center( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[GetCostCenter, GetCostCenterType]: ... + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: ... def update_cost_center( self, @@ -1362,7 +1364,7 @@ def update_cost_center( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[GetCostCenter, GetCostCenterType]: + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: """billing/update-cost-center PATCH /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1423,7 +1425,7 @@ async def async_update_cost_center( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType, - ) -> Response[GetCostCenter, GetCostCenterType]: ... + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: ... @overload async def async_update_cost_center( @@ -1435,7 +1437,7 @@ async def async_update_cost_center( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[GetCostCenter, GetCostCenterType]: ... + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: ... async def async_update_cost_center( self, @@ -1448,7 +1450,7 @@ async def async_update_cost_center( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[GetCostCenter, GetCostCenterType]: + ) -> Response[GetCostCenter, GetCostCenterTypeForResponse]: """billing/update-cost-center PATCH /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id} @@ -1511,7 +1513,7 @@ def add_resource_to_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: ... @overload @@ -1528,7 +1530,7 @@ def add_resource_to_cost_center( repositories: Missing[list[str]] = UNSET, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: ... def add_resource_to_cost_center( @@ -1544,7 +1546,7 @@ def add_resource_to_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: """billing/add-resource-to-cost-center @@ -1607,7 +1609,7 @@ async def async_add_resource_to_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: ... @overload @@ -1624,7 +1626,7 @@ async def async_add_resource_to_cost_center( repositories: Missing[list[str]] = UNSET, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: ... async def async_add_resource_to_cost_center( @@ -1640,7 +1642,7 @@ async def async_add_resource_to_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, ]: """billing/add-resource-to-cost-center @@ -1703,7 +1705,7 @@ def remove_resource_from_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: ... @overload @@ -1720,7 +1722,7 @@ def remove_resource_from_cost_center( repositories: Missing[list[str]] = UNSET, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: ... def remove_resource_from_cost_center( @@ -1736,7 +1738,7 @@ def remove_resource_from_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: """billing/remove-resource-from-cost-center @@ -1798,7 +1800,7 @@ async def async_remove_resource_from_cost_center( data: EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: ... @overload @@ -1815,7 +1817,7 @@ async def async_remove_resource_from_cost_center( repositories: Missing[list[str]] = UNSET, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: ... async def async_remove_resource_from_cost_center( @@ -1831,7 +1833,7 @@ async def async_remove_resource_from_cost_center( **kwargs, ) -> Response[ EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200, - EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, ]: """billing/remove-resource-from-cost-center @@ -1888,7 +1890,7 @@ def get_github_packages_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-ghe GET /enterprises/{enterprise}/settings/billing/packages @@ -1925,7 +1927,7 @@ async def async_get_github_packages_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-ghe GET /enterprises/{enterprise}/settings/billing/packages @@ -1971,7 +1973,8 @@ def get_github_billing_premium_request_usage_report_ghe( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportGhe, BillingPremiumRequestUsageReportGheType + BillingPremiumRequestUsageReportGhe, + BillingPremiumRequestUsageReportGheTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-ghe @@ -2036,7 +2039,8 @@ async def async_get_github_billing_premium_request_usage_report_ghe( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportGhe, BillingPremiumRequestUsageReportGheType + BillingPremiumRequestUsageReportGhe, + BillingPremiumRequestUsageReportGheTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-ghe @@ -2092,7 +2096,7 @@ def get_shared_storage_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-ghe GET /enterprises/{enterprise}/settings/billing/shared-storage @@ -2129,7 +2133,7 @@ async def async_get_shared_storage_billing_ghe( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-ghe GET /enterprises/{enterprise}/settings/billing/shared-storage @@ -2170,7 +2174,7 @@ def get_github_billing_usage_report_ghe( cost_center_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-ghe GET /enterprises/{enterprise}/settings/billing/usage @@ -2224,7 +2228,7 @@ async def async_get_github_billing_usage_report_ghe( cost_center_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-ghe GET /enterprises/{enterprise}/settings/billing/usage @@ -2282,7 +2286,9 @@ def get_github_billing_usage_summary_report_ghe( cost_center_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportGhe, BillingUsageSummaryReportGheType]: + ) -> Response[ + BillingUsageSummaryReportGhe, BillingUsageSummaryReportGheTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-ghe GET /enterprises/{enterprise}/settings/billing/usage/summary @@ -2347,7 +2353,9 @@ async def async_get_github_billing_usage_summary_report_ghe( cost_center_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportGhe, BillingUsageSummaryReportGheType]: + ) -> Response[ + BillingUsageSummaryReportGhe, BillingUsageSummaryReportGheTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-ghe GET /enterprises/{enterprise}/settings/billing/usage/summary @@ -2404,7 +2412,7 @@ def get_all_budgets_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets-org GET /organizations/{org}/settings/billing/budgets @@ -2442,7 +2450,7 @@ async def async_get_all_budgets_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets-org GET /organizations/{org}/settings/billing/budgets @@ -2481,7 +2489,7 @@ def get_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget-org GET /organizations/{org}/settings/billing/budgets/{budget_id} @@ -2526,7 +2534,7 @@ async def async_get_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget-org GET /organizations/{org}/settings/billing/budgets/{budget_id} @@ -2571,7 +2579,7 @@ def delete_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget-org DELETE /organizations/{org}/settings/billing/budgets/{budget_id} @@ -2616,7 +2624,7 @@ async def async_delete_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget-org DELETE /organizations/{org}/settings/billing/budgets/{budget_id} @@ -2665,7 +2673,7 @@ def update_budget_org( data: OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... @overload @@ -2690,7 +2698,7 @@ def update_budget_org( budget_product_sku: Missing[str] = UNSET, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... def update_budget_org( @@ -2706,7 +2714,7 @@ def update_budget_org( **kwargs, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: """billing/update-budget-org @@ -2770,7 +2778,7 @@ async def async_update_budget_org( data: OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... @overload @@ -2795,7 +2803,7 @@ async def async_update_budget_org( budget_product_sku: Missing[str] = UNSET, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... async def async_update_budget_org( @@ -2811,7 +2819,7 @@ async def async_update_budget_org( **kwargs, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: """billing/update-budget-org @@ -2877,7 +2885,8 @@ def get_github_billing_premium_request_usage_report_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportOrg, BillingPremiumRequestUsageReportOrgType + BillingPremiumRequestUsageReportOrg, + BillingPremiumRequestUsageReportOrgTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-org @@ -2938,7 +2947,8 @@ async def async_get_github_billing_premium_request_usage_report_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportOrg, BillingPremiumRequestUsageReportOrgType + BillingPremiumRequestUsageReportOrg, + BillingPremiumRequestUsageReportOrgTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-org @@ -2995,7 +3005,7 @@ def get_github_billing_usage_report_org( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-org GET /organizations/{org}/settings/billing/usage @@ -3047,7 +3057,7 @@ async def async_get_github_billing_usage_report_org( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-org GET /organizations/{org}/settings/billing/usage @@ -3102,7 +3112,9 @@ def get_github_billing_usage_summary_report_org( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgType]: + ) -> Response[ + BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-org GET /organizations/{org}/settings/billing/usage/summary @@ -3163,7 +3175,9 @@ async def async_get_github_billing_usage_summary_report_org( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgType]: + ) -> Response[ + BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-org GET /organizations/{org}/settings/billing/usage/summary @@ -3218,7 +3232,7 @@ def get_github_actions_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-org GET /orgs/{org}/settings/billing/actions @@ -3252,7 +3266,7 @@ async def async_get_github_actions_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-org GET /orgs/{org}/settings/billing/actions @@ -3292,7 +3306,8 @@ def get_github_advanced_security_billing_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - AdvancedSecurityActiveCommitters, AdvancedSecurityActiveCommittersType + AdvancedSecurityActiveCommitters, + AdvancedSecurityActiveCommittersTypeForResponse, ]: """billing/get-github-advanced-security-billing-org @@ -3342,7 +3357,8 @@ async def async_get_github_advanced_security_billing_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - AdvancedSecurityActiveCommitters, AdvancedSecurityActiveCommittersType + AdvancedSecurityActiveCommitters, + AdvancedSecurityActiveCommittersTypeForResponse, ]: """billing/get-github-advanced-security-billing-org @@ -3386,7 +3402,7 @@ def get_github_packages_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-org GET /orgs/{org}/settings/billing/packages @@ -3420,7 +3436,7 @@ async def async_get_github_packages_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-org GET /orgs/{org}/settings/billing/packages @@ -3454,7 +3470,7 @@ def get_shared_storage_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-org GET /orgs/{org}/settings/billing/shared-storage @@ -3488,7 +3504,7 @@ async def async_get_shared_storage_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-org GET /orgs/{org}/settings/billing/shared-storage @@ -3522,7 +3538,7 @@ def get_github_actions_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-user GET /users/{username}/settings/billing/actions @@ -3556,7 +3572,7 @@ async def async_get_github_actions_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-user GET /users/{username}/settings/billing/actions @@ -3590,7 +3606,7 @@ def get_github_packages_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-user GET /users/{username}/settings/billing/packages @@ -3624,7 +3640,7 @@ async def async_get_github_packages_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-user GET /users/{username}/settings/billing/packages @@ -3664,7 +3680,8 @@ def get_github_billing_premium_request_usage_report_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportUser, BillingPremiumRequestUsageReportUserType + BillingPremiumRequestUsageReportUser, + BillingPremiumRequestUsageReportUserTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-user @@ -3723,7 +3740,8 @@ async def async_get_github_billing_premium_request_usage_report_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportUser, BillingPremiumRequestUsageReportUserType + BillingPremiumRequestUsageReportUser, + BillingPremiumRequestUsageReportUserTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-user @@ -3776,7 +3794,7 @@ def get_shared_storage_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-user GET /users/{username}/settings/billing/shared-storage @@ -3810,7 +3828,7 @@ async def async_get_shared_storage_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-user GET /users/{username}/settings/billing/shared-storage @@ -3847,7 +3865,7 @@ def get_github_billing_usage_report_user( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReportUser, BillingUsageReportUserType]: + ) -> Response[BillingUsageReportUser, BillingUsageReportUserTypeForResponse]: """billing/get-github-billing-usage-report-user GET /users/{username}/settings/billing/usage @@ -3899,7 +3917,7 @@ async def async_get_github_billing_usage_report_user( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReportUser, BillingUsageReportUserType]: + ) -> Response[BillingUsageReportUser, BillingUsageReportUserTypeForResponse]: """billing/get-github-billing-usage-report-user GET /users/{username}/settings/billing/usage @@ -3954,7 +3972,9 @@ def get_github_billing_usage_summary_report_user( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportUser, BillingUsageSummaryReportUserType]: + ) -> Response[ + BillingUsageSummaryReportUser, BillingUsageSummaryReportUserTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-user GET /users/{username}/settings/billing/usage/summary @@ -4016,7 +4036,9 @@ async def async_get_github_billing_usage_summary_report_user( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportUser, BillingUsageSummaryReportUserType]: + ) -> Response[ + BillingUsageSummaryReportUser, BillingUsageSummaryReportUserTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-user GET /users/{username}/settings/billing/usage/summary diff --git a/githubkit/versions/ghec_v2022_11_28/rest/campaigns.py b/githubkit/versions/ghec_v2022_11_28/rest/campaigns.py index ad52d2102..1bbfe959a 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/campaigns.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/campaigns.py @@ -30,7 +30,7 @@ from ..models import CampaignSummary from ..types import ( - CampaignSummaryType, + CampaignSummaryTypeForResponse, OrgsOrgCampaignsCampaignNumberPatchBodyType, OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type, @@ -64,7 +64,7 @@ def list_org_campaigns( sort: Missing[Literal["created", "updated", "ends_at", "published"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CampaignSummary], list[CampaignSummaryType]]: + ) -> Response[list[CampaignSummary], list[CampaignSummaryTypeForResponse]]: """campaigns/list-org-campaigns GET /orgs/{org}/campaigns @@ -120,7 +120,7 @@ async def async_list_org_campaigns( sort: Missing[Literal["created", "updated", "ends_at", "published"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CampaignSummary], list[CampaignSummaryType]]: + ) -> Response[list[CampaignSummary], list[CampaignSummaryTypeForResponse]]: """campaigns/list-org-campaigns GET /orgs/{org}/campaigns @@ -175,7 +175,7 @@ def create_campaign( data: Union[ OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type ], - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def create_campaign( @@ -195,7 +195,7 @@ def create_campaign( list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None ], generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def create_campaign( @@ -215,7 +215,7 @@ def create_campaign( Union[list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None] ] = UNSET, generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... def create_campaign( self, @@ -229,7 +229,7 @@ def create_campaign( ] ] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/create-campaign POST /orgs/{org}/campaigns @@ -297,7 +297,7 @@ async def async_create_campaign( data: Union[ OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type ], - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_create_campaign( @@ -317,7 +317,7 @@ async def async_create_campaign( list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None ], generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_create_campaign( @@ -337,7 +337,7 @@ async def async_create_campaign( Union[list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None] ] = UNSET, generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... async def async_create_campaign( self, @@ -351,7 +351,7 @@ async def async_create_campaign( ] ] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/create-campaign POST /orgs/{org}/campaigns @@ -416,7 +416,7 @@ def get_campaign_summary( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/get-campaign-summary GET /orgs/{org}/campaigns/{campaign_number} @@ -460,7 +460,7 @@ async def async_get_campaign_summary( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/get-campaign-summary GET /orgs/{org}/campaigns/{campaign_number} @@ -588,7 +588,7 @@ def update_campaign( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCampaignsCampaignNumberPatchBodyType, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def update_campaign( @@ -606,7 +606,7 @@ def update_campaign( ends_at: Missing[datetime] = UNSET, contact_link: Missing[Union[str, None]] = UNSET, state: Missing[Literal["open", "closed"]] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... def update_campaign( self, @@ -617,7 +617,7 @@ def update_campaign( stream: bool = False, data: Missing[OrgsOrgCampaignsCampaignNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/update-campaign PATCH /orgs/{org}/campaigns/{campaign_number} @@ -675,7 +675,7 @@ async def async_update_campaign( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCampaignsCampaignNumberPatchBodyType, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_update_campaign( @@ -693,7 +693,7 @@ async def async_update_campaign( ends_at: Missing[datetime] = UNSET, contact_link: Missing[Union[str, None]] = UNSET, state: Missing[Literal["open", "closed"]] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... async def async_update_campaign( self, @@ -704,7 +704,7 @@ async def async_update_campaign( stream: bool = False, data: Missing[OrgsOrgCampaignsCampaignNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/update-campaign PATCH /orgs/{org}/campaigns/{campaign_number} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/checks.py b/githubkit/versions/ghec_v2022_11_28/rest/checks.py index 23d960f8b..f8aed576e 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/checks.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/checks.py @@ -39,11 +39,11 @@ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, ) from ..types import ( - CheckAnnotationType, - CheckRunType, - CheckSuitePreferenceType, - CheckSuiteType, - EmptyObjectType, + CheckAnnotationTypeForResponse, + CheckRunTypeForResponse, + CheckSuitePreferenceTypeForResponse, + CheckSuiteTypeForResponse, + EmptyObjectTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, @@ -52,12 +52,12 @@ ReposOwnerRepoCheckRunsPostBodyOneof1Type, ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, ReposOwnerRepoCheckRunsPostBodyPropOutputType, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ReposOwnerRepoCheckSuitesPostBodyType, ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType, ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ) @@ -88,7 +88,7 @@ def create( ReposOwnerRepoCheckRunsPostBodyOneof0Type, ReposOwnerRepoCheckRunsPostBodyOneof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def create( @@ -120,7 +120,7 @@ def create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def create( @@ -156,7 +156,7 @@ def create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... def create( self, @@ -172,7 +172,7 @@ def create( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/create POST /repos/{owner}/{repo}/check-runs @@ -237,7 +237,7 @@ async def async_create( ReposOwnerRepoCheckRunsPostBodyOneof0Type, ReposOwnerRepoCheckRunsPostBodyOneof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_create( @@ -269,7 +269,7 @@ async def async_create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_create( @@ -305,7 +305,7 @@ async def async_create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... async def async_create( self, @@ -321,7 +321,7 @@ async def async_create( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/create POST /repos/{owner}/{repo}/check-runs @@ -382,7 +382,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/get GET /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -419,7 +419,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/get GET /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -461,7 +461,7 @@ def update( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def update( @@ -495,7 +495,7 @@ def update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def update( @@ -531,7 +531,7 @@ def update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... def update( self, @@ -548,7 +548,7 @@ def update( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/update PATCH /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -612,7 +612,7 @@ async def async_update( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_update( @@ -646,7 +646,7 @@ async def async_update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_update( @@ -682,7 +682,7 @@ async def async_update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... async def async_update( self, @@ -699,7 +699,7 @@ async def async_update( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/update PATCH /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -760,7 +760,7 @@ def list_annotations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CheckAnnotation], list[CheckAnnotationType]]: + ) -> Response[list[CheckAnnotation], list[CheckAnnotationTypeForResponse]]: """checks/list-annotations GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations @@ -802,7 +802,7 @@ async def async_list_annotations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CheckAnnotation], list[CheckAnnotationType]]: + ) -> Response[list[CheckAnnotation], list[CheckAnnotationTypeForResponse]]: """checks/list-annotations GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations @@ -842,7 +842,7 @@ def rerequest_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-run POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest @@ -881,7 +881,7 @@ async def async_rerequest_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-run POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest @@ -921,7 +921,7 @@ def create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPostBodyType, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... @overload def create_suite( @@ -933,7 +933,7 @@ def create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, head_sha: str, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... def create_suite( self, @@ -944,7 +944,7 @@ def create_suite( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPostBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/create-suite POST /repos/{owner}/{repo}/check-suites @@ -992,7 +992,7 @@ async def async_create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPostBodyType, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... @overload async def async_create_suite( @@ -1004,7 +1004,7 @@ async def async_create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, head_sha: str, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... async def async_create_suite( self, @@ -1015,7 +1015,7 @@ async def async_create_suite( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPostBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/create-suite POST /repos/{owner}/{repo}/check-suites @@ -1063,7 +1063,7 @@ def set_suites_preferences( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... @overload def set_suites_preferences( @@ -1079,7 +1079,7 @@ def set_suites_preferences( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType ] ] = UNSET, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... def set_suites_preferences( self, @@ -1090,7 +1090,7 @@ def set_suites_preferences( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPreferencesPatchBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: """checks/set-suites-preferences PATCH /repos/{owner}/{repo}/check-suites/preferences @@ -1139,7 +1139,7 @@ async def async_set_suites_preferences( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... @overload async def async_set_suites_preferences( @@ -1155,7 +1155,7 @@ async def async_set_suites_preferences( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType ] ] = UNSET, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... async def async_set_suites_preferences( self, @@ -1166,7 +1166,7 @@ async def async_set_suites_preferences( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPreferencesPatchBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: """checks/set-suites-preferences PATCH /repos/{owner}/{repo}/check-suites/preferences @@ -1214,7 +1214,7 @@ def get_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/get-suite GET /repos/{owner}/{repo}/check-suites/{check_suite_id} @@ -1251,7 +1251,7 @@ async def async_get_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/get-suite GET /repos/{owner}/{repo}/check-suites/{check_suite_id} @@ -1295,7 +1295,7 @@ def list_for_suite( stream: bool = False, ) -> Response[ ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-suite @@ -1351,7 +1351,7 @@ async def async_list_for_suite( stream: bool = False, ) -> Response[ ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-suite @@ -1400,7 +1400,7 @@ def rerequest_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-suite POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest @@ -1432,7 +1432,7 @@ async def async_rerequest_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-suite POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest @@ -1472,7 +1472,7 @@ def list_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckRunsGetResponse200, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-ref @@ -1530,7 +1530,7 @@ async def async_list_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckRunsGetResponse200, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-ref @@ -1586,7 +1586,7 @@ def list_suites_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ]: """checks/list-suites-for-ref @@ -1638,7 +1638,7 @@ async def async_list_suites_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ]: """checks/list-suites-for-ref diff --git a/githubkit/versions/ghec_v2022_11_28/rest/classroom.py b/githubkit/versions/ghec_v2022_11_28/rest/classroom.py index 62b1f7727..dc6082fc0 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/classroom.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/classroom.py @@ -31,12 +31,12 @@ SimpleClassroomAssignment, ) from ..types import ( - ClassroomAcceptedAssignmentType, - ClassroomAssignmentGradeType, - ClassroomAssignmentType, - ClassroomType, - SimpleClassroomAssignmentType, - SimpleClassroomType, + ClassroomAcceptedAssignmentTypeForResponse, + ClassroomAssignmentGradeTypeForResponse, + ClassroomAssignmentTypeForResponse, + ClassroomTypeForResponse, + SimpleClassroomAssignmentTypeForResponse, + SimpleClassroomTypeForResponse, ) @@ -61,7 +61,7 @@ def get_an_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ClassroomAssignment, ClassroomAssignmentType]: + ) -> Response[ClassroomAssignment, ClassroomAssignmentTypeForResponse]: """classroom/get-an-assignment GET /assignments/{assignment_id} @@ -94,7 +94,7 @@ async def async_get_an_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ClassroomAssignment, ClassroomAssignmentType]: + ) -> Response[ClassroomAssignment, ClassroomAssignmentTypeForResponse]: """classroom/get-an-assignment GET /assignments/{assignment_id} @@ -130,7 +130,8 @@ def list_accepted_assignments_for_an_assignment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ClassroomAcceptedAssignment], list[ClassroomAcceptedAssignmentType] + list[ClassroomAcceptedAssignment], + list[ClassroomAcceptedAssignmentTypeForResponse], ]: """classroom/list-accepted-assignments-for-an-assignment @@ -170,7 +171,8 @@ async def async_list_accepted_assignments_for_an_assignment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ClassroomAcceptedAssignment], list[ClassroomAcceptedAssignmentType] + list[ClassroomAcceptedAssignment], + list[ClassroomAcceptedAssignmentTypeForResponse], ]: """classroom/list-accepted-assignments-for-an-assignment @@ -207,7 +209,9 @@ def get_assignment_grades( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeType]]: + ) -> Response[ + list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeTypeForResponse] + ]: """classroom/get-assignment-grades GET /assignments/{assignment_id}/grades @@ -240,7 +244,9 @@ async def async_get_assignment_grades( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeType]]: + ) -> Response[ + list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeTypeForResponse] + ]: """classroom/get-assignment-grades GET /assignments/{assignment_id}/grades @@ -274,7 +280,7 @@ def list_classrooms( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroom], list[SimpleClassroomType]]: + ) -> Response[list[SimpleClassroom], list[SimpleClassroomTypeForResponse]]: """classroom/list-classrooms GET /classrooms @@ -311,7 +317,7 @@ async def async_list_classrooms( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroom], list[SimpleClassroomType]]: + ) -> Response[list[SimpleClassroom], list[SimpleClassroomTypeForResponse]]: """classroom/list-classrooms GET /classrooms @@ -347,7 +353,7 @@ def get_a_classroom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Classroom, ClassroomType]: + ) -> Response[Classroom, ClassroomTypeForResponse]: """classroom/get-a-classroom GET /classrooms/{classroom_id} @@ -380,7 +386,7 @@ async def async_get_a_classroom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Classroom, ClassroomType]: + ) -> Response[Classroom, ClassroomTypeForResponse]: """classroom/get-a-classroom GET /classrooms/{classroom_id} @@ -415,7 +421,9 @@ def list_assignments_for_a_classroom( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentType]]: + ) -> Response[ + list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentTypeForResponse] + ]: """classroom/list-assignments-for-a-classroom GET /classrooms/{classroom_id}/assignments @@ -453,7 +461,9 @@ async def async_list_assignments_for_a_classroom( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentType]]: + ) -> Response[ + list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentTypeForResponse] + ]: """classroom/list-assignments-for-a-classroom GET /classrooms/{classroom_id}/assignments diff --git a/githubkit/versions/ghec_v2022_11_28/rest/code_scanning.py b/githubkit/versions/ghec_v2022_11_28/rest/code_scanning.py index e2299032b..034fc1dd6 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/code_scanning.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/code_scanning.py @@ -47,24 +47,24 @@ EmptyObject, ) from ..types import ( - CodeScanningAlertDismissalRequestType, - CodeScanningAlertInstanceType, - CodeScanningAlertItemsType, - CodeScanningAlertType, - CodeScanningAnalysisDeletionType, - CodeScanningAnalysisType, - CodeScanningAutofixCommitsResponseType, + CodeScanningAlertDismissalRequestTypeForResponse, + CodeScanningAlertInstanceTypeForResponse, + CodeScanningAlertItemsTypeForResponse, + CodeScanningAlertTypeForResponse, + CodeScanningAnalysisDeletionTypeForResponse, + CodeScanningAnalysisTypeForResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, CodeScanningAutofixCommitsType, - CodeScanningAutofixType, - CodeScanningCodeqlDatabaseType, - CodeScanningDefaultSetupType, + CodeScanningAutofixTypeForResponse, + CodeScanningCodeqlDatabaseTypeForResponse, + CodeScanningDefaultSetupTypeForResponse, CodeScanningDefaultSetupUpdateType, - CodeScanningOrganizationAlertItemsType, - CodeScanningSarifsReceiptType, - CodeScanningSarifsStatusType, - CodeScanningVariantAnalysisRepoTaskType, - CodeScanningVariantAnalysisType, - EmptyObjectType, + CodeScanningOrganizationAlertItemsTypeForResponse, + CodeScanningSarifsReceiptTypeForResponse, + CodeScanningSarifsStatusTypeForResponse, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, + CodeScanningVariantAnalysisTypeForResponse, + EmptyObjectTypeForResponse, ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, @@ -106,7 +106,7 @@ def list_alerts_for_enterprise( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-enterprise @@ -173,7 +173,7 @@ async def async_list_alerts_for_enterprise( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-enterprise @@ -243,7 +243,7 @@ def list_alerts_for_org( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-org @@ -314,7 +314,7 @@ async def async_list_alerts_for_org( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-org @@ -382,7 +382,7 @@ def list_org_dismissal_requests( stream: bool = False, ) -> Response[ list[CodeScanningAlertDismissalRequest], - list[CodeScanningAlertDismissalRequestType], + list[CodeScanningAlertDismissalRequestTypeForResponse], ]: """code-scanning/list-org-dismissal-requests @@ -448,7 +448,7 @@ async def async_list_org_dismissal_requests( stream: bool = False, ) -> Response[ list[CodeScanningAlertDismissalRequest], - list[CodeScanningAlertDismissalRequestType], + list[CodeScanningAlertDismissalRequestTypeForResponse], ]: """code-scanning/list-org-dismissal-requests @@ -518,7 +518,9 @@ def list_alerts_for_repo( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertItems], list[CodeScanningAlertItemsType]]: + ) -> Response[ + list[CodeScanningAlertItems], list[CodeScanningAlertItemsTypeForResponse] + ]: """code-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/code-scanning/alerts @@ -594,7 +596,9 @@ async def async_list_alerts_for_repo( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertItems], list[CodeScanningAlertItemsType]]: + ) -> Response[ + list[CodeScanningAlertItems], list[CodeScanningAlertItemsTypeForResponse] + ]: """code-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/code-scanning/alerts @@ -657,7 +661,7 @@ def get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/get-alert GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -700,7 +704,7 @@ async def async_get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/get-alert GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -745,7 +749,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... @overload def update_alert( @@ -763,7 +767,7 @@ def update_alert( ] = UNSET, dismissed_comment: Missing[Union[str, None]] = UNSET, create_request: Missing[bool] = UNSET, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... def update_alert( self, @@ -775,7 +779,7 @@ def update_alert( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/update-alert PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -833,7 +837,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -851,7 +855,7 @@ async def async_update_alert( ] = UNSET, dismissed_comment: Missing[Union[str, None]] = UNSET, create_request: Missing[bool] = UNSET, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... async def async_update_alert( self, @@ -863,7 +867,7 @@ async def async_update_alert( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/update-alert PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -919,7 +923,7 @@ def get_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/get-autofix GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -963,7 +967,7 @@ async def async_get_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/get-autofix GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -1007,7 +1011,7 @@ def create_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/create-autofix POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -1055,7 +1059,7 @@ async def async_create_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/create-autofix POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -1106,7 +1110,8 @@ def commit_autofix( stream: bool = False, data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... @overload @@ -1122,7 +1127,8 @@ def commit_autofix( target_ref: Missing[str] = UNSET, message: Missing[str] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... def commit_autofix( @@ -1136,7 +1142,8 @@ def commit_autofix( data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, **kwargs, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: """code-scanning/commit-autofix @@ -1201,7 +1208,8 @@ async def async_commit_autofix( stream: bool = False, data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... @overload @@ -1217,7 +1225,8 @@ async def async_commit_autofix( target_ref: Missing[str] = UNSET, message: Missing[str] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... async def async_commit_autofix( @@ -1231,7 +1240,8 @@ async def async_commit_autofix( data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, **kwargs, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: """code-scanning/commit-autofix @@ -1297,7 +1307,9 @@ def list_alert_instances( pr: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceType]]: + ) -> Response[ + list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceTypeForResponse] + ]: """code-scanning/list-alert-instances GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances @@ -1352,7 +1364,9 @@ async def async_list_alert_instances( pr: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceType]]: + ) -> Response[ + list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceTypeForResponse] + ]: """code-scanning/list-alert-instances GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances @@ -1411,7 +1425,9 @@ def list_recent_analyses( sort: Missing[Literal["created"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAnalysis], list[CodeScanningAnalysisType]]: + ) -> Response[ + list[CodeScanningAnalysis], list[CodeScanningAnalysisTypeForResponse] + ]: """code-scanning/list-recent-analyses GET /repos/{owner}/{repo}/code-scanning/analyses @@ -1487,7 +1503,9 @@ async def async_list_recent_analyses( sort: Missing[Literal["created"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAnalysis], list[CodeScanningAnalysisType]]: + ) -> Response[ + list[CodeScanningAnalysis], list[CodeScanningAnalysisTypeForResponse] + ]: """code-scanning/list-recent-analyses GET /repos/{owner}/{repo}/code-scanning/analyses @@ -1555,7 +1573,7 @@ def get_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisType]: + ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisTypeForResponse]: """code-scanning/get-analysis GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1613,7 +1631,7 @@ async def async_get_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisType]: + ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisTypeForResponse]: """code-scanning/get-analysis GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1672,7 +1690,9 @@ def delete_analysis( confirm_delete: Missing[Union[str, None]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionType]: + ) -> Response[ + CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionTypeForResponse + ]: """code-scanning/delete-analysis DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1783,7 +1803,9 @@ async def async_delete_analysis( confirm_delete: Missing[Union[str, None]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionType]: + ) -> Response[ + CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionTypeForResponse + ]: """code-scanning/delete-analysis DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1893,7 +1915,8 @@ def list_codeql_databases( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[CodeScanningCodeqlDatabase], list[CodeScanningCodeqlDatabaseType] + list[CodeScanningCodeqlDatabase], + list[CodeScanningCodeqlDatabaseTypeForResponse], ]: """code-scanning/list-codeql-databases @@ -1937,7 +1960,8 @@ async def async_list_codeql_databases( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[CodeScanningCodeqlDatabase], list[CodeScanningCodeqlDatabaseType] + list[CodeScanningCodeqlDatabase], + list[CodeScanningCodeqlDatabaseTypeForResponse], ]: """code-scanning/list-codeql-databases @@ -1981,7 +2005,9 @@ def get_codeql_database( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseType]: + ) -> Response[ + CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseTypeForResponse + ]: """code-scanning/get-codeql-database GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language} @@ -2030,7 +2056,9 @@ async def async_get_codeql_database( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseType]: + ) -> Response[ + CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseTypeForResponse + ]: """code-scanning/get-codeql-database GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language} @@ -2166,7 +2194,9 @@ def create_variant_analysis( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -2192,7 +2222,9 @@ def create_variant_analysis( repositories: list[str], repository_lists: Missing[list[str]] = UNSET, repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -2218,7 +2250,9 @@ def create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: list[str], repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -2244,7 +2278,9 @@ def create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: Missing[list[str]] = UNSET, repository_owners: list[str], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... def create_variant_analysis( self, @@ -2261,7 +2297,9 @@ def create_variant_analysis( ] ] = UNSET, **kwargs, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/create-variant-analysis POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses @@ -2336,7 +2374,9 @@ async def async_create_variant_analysis( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2362,7 +2402,9 @@ async def async_create_variant_analysis( repositories: list[str], repository_lists: Missing[list[str]] = UNSET, repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2388,7 +2430,9 @@ async def async_create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: list[str], repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2414,7 +2458,9 @@ async def async_create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: Missing[list[str]] = UNSET, repository_owners: list[str], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... async def async_create_variant_analysis( self, @@ -2431,7 +2477,9 @@ async def async_create_variant_analysis( ] ] = UNSET, **kwargs, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/create-variant-analysis POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses @@ -2501,7 +2549,9 @@ def get_variant_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/get-variant-analysis GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id} @@ -2543,7 +2593,9 @@ async def async_get_variant_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/get-variant-analysis GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id} @@ -2588,7 +2640,8 @@ def get_variant_analysis_repo_task( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningVariantAnalysisRepoTask, CodeScanningVariantAnalysisRepoTaskType + CodeScanningVariantAnalysisRepoTask, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, ]: """code-scanning/get-variant-analysis-repo-task @@ -2634,7 +2687,8 @@ async def async_get_variant_analysis_repo_task( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningVariantAnalysisRepoTask, CodeScanningVariantAnalysisRepoTaskType + CodeScanningVariantAnalysisRepoTask, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, ]: """code-scanning/get-variant-analysis-repo-task @@ -2676,7 +2730,7 @@ def get_default_setup( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupType]: + ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupTypeForResponse]: """code-scanning/get-default-setup GET /repos/{owner}/{repo}/code-scanning/default-setup @@ -2718,7 +2772,7 @@ async def async_get_default_setup( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupType]: + ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupTypeForResponse]: """code-scanning/get-default-setup GET /repos/{owner}/{repo}/code-scanning/default-setup @@ -2762,7 +2816,7 @@ def update_default_setup( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CodeScanningDefaultSetupUpdateType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def update_default_setup( @@ -2793,7 +2847,7 @@ def update_default_setup( ] ] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def update_default_setup( self, @@ -2804,7 +2858,7 @@ def update_default_setup( stream: bool = False, data: Missing[CodeScanningDefaultSetupUpdateType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """code-scanning/update-default-setup PATCH /repos/{owner}/{repo}/code-scanning/default-setup @@ -2861,7 +2915,7 @@ async def async_update_default_setup( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CodeScanningDefaultSetupUpdateType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_update_default_setup( @@ -2892,7 +2946,7 @@ async def async_update_default_setup( ] ] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_update_default_setup( self, @@ -2903,7 +2957,7 @@ async def async_update_default_setup( stream: bool = False, data: Missing[CodeScanningDefaultSetupUpdateType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """code-scanning/update-default-setup PATCH /repos/{owner}/{repo}/code-scanning/default-setup @@ -2960,7 +3014,9 @@ def upload_sarif( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningSarifsPostBodyType, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... @overload def upload_sarif( @@ -2978,7 +3034,9 @@ def upload_sarif( started_at: Missing[datetime] = UNSET, tool_name: Missing[str] = UNSET, validate_: Missing[bool] = UNSET, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... def upload_sarif( self, @@ -2989,7 +3047,7 @@ def upload_sarif( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningSarifsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: + ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse]: """code-scanning/upload-sarif POST /repos/{owner}/{repo}/code-scanning/sarifs @@ -3075,7 +3133,9 @@ async def async_upload_sarif( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningSarifsPostBodyType, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... @overload async def async_upload_sarif( @@ -3093,7 +3153,9 @@ async def async_upload_sarif( started_at: Missing[datetime] = UNSET, tool_name: Missing[str] = UNSET, validate_: Missing[bool] = UNSET, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... async def async_upload_sarif( self, @@ -3104,7 +3166,7 @@ async def async_upload_sarif( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningSarifsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: + ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse]: """code-scanning/upload-sarif POST /repos/{owner}/{repo}/code-scanning/sarifs @@ -3189,7 +3251,7 @@ def get_sarif( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusType]: + ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusTypeForResponse]: """code-scanning/get-sarif GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} @@ -3230,7 +3292,7 @@ async def async_get_sarif( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusType]: + ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusTypeForResponse]: """code-scanning/get-sarif GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} @@ -3280,7 +3342,7 @@ def list_dismissal_requests_for_repo( stream: bool = False, ) -> Response[ list[CodeScanningAlertDismissalRequest], - list[CodeScanningAlertDismissalRequestType], + list[CodeScanningAlertDismissalRequestTypeForResponse], ]: """code-scanning/list-dismissal-requests-for-repo @@ -3340,7 +3402,7 @@ async def async_list_dismissal_requests_for_repo( stream: bool = False, ) -> Response[ list[CodeScanningAlertDismissalRequest], - list[CodeScanningAlertDismissalRequestType], + list[CodeScanningAlertDismissalRequestTypeForResponse], ]: """code-scanning/list-dismissal-requests-for-repo @@ -3392,7 +3454,8 @@ def get_dismissal_request_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningAlertDismissalRequest, CodeScanningAlertDismissalRequestType + CodeScanningAlertDismissalRequest, + CodeScanningAlertDismissalRequestTypeForResponse, ]: """code-scanning/get-dismissal-request-for-repo @@ -3434,7 +3497,8 @@ async def async_get_dismissal_request_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningAlertDismissalRequest, CodeScanningAlertDismissalRequestType + CodeScanningAlertDismissalRequest, + CodeScanningAlertDismissalRequestTypeForResponse, ]: """code-scanning/get-dismissal-request-for-repo diff --git a/githubkit/versions/ghec_v2022_11_28/rest/code_security.py b/githubkit/versions/ghec_v2022_11_28/rest/code_security.py index b135bc97a..8c55c1ad3 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/code_security.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/code_security.py @@ -37,23 +37,23 @@ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, CodeScanningDefaultSetupOptionsType, CodeScanningOptionsType, - CodeSecurityConfigurationForRepositoryType, - CodeSecurityConfigurationRepositoriesType, - CodeSecurityConfigurationType, - CodeSecurityDefaultConfigurationsItemsType, + CodeSecurityConfigurationForRepositoryTypeForResponse, + CodeSecurityConfigurationRepositoriesTypeForResponse, + CodeSecurityConfigurationTypeForResponse, + CodeSecurityDefaultConfigurationsItemsTypeForResponse, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, @@ -88,7 +88,9 @@ def get_configurations_for_enterprise( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-enterprise GET /enterprises/{enterprise}/code-security/configurations @@ -136,7 +138,9 @@ async def async_get_configurations_for_enterprise( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-enterprise GET /enterprises/{enterprise}/code-security/configurations @@ -183,7 +187,9 @@ def create_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def create_configuration_for_enterprise( @@ -241,7 +247,9 @@ def create_configuration_for_enterprise( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def create_configuration_for_enterprise( self, @@ -253,7 +261,7 @@ def create_configuration_for_enterprise( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration-for-enterprise POST /enterprises/{enterprise}/code-security/configurations @@ -310,7 +318,9 @@ async def async_create_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_create_configuration_for_enterprise( @@ -368,7 +378,9 @@ async def async_create_configuration_for_enterprise( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_create_configuration_for_enterprise( self, @@ -380,7 +392,7 @@ async def async_create_configuration_for_enterprise( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration-for-enterprise POST /enterprises/{enterprise}/code-security/configurations @@ -437,7 +449,7 @@ def get_default_configurations_for_enterprise( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations-for-enterprise @@ -474,7 +486,7 @@ async def async_get_default_configurations_for_enterprise( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations-for-enterprise @@ -510,7 +522,7 @@ def get_single_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-single-configuration-for-enterprise GET /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -551,7 +563,7 @@ async def async_get_single_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-single-configuration-for-enterprise GET /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -682,7 +694,9 @@ def update_enterprise_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def update_enterprise_configuration( @@ -740,7 +754,9 @@ def update_enterprise_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def update_enterprise_configuration( self, @@ -753,7 +769,7 @@ def update_enterprise_configuration( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-enterprise-configuration PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -814,7 +830,9 @@ async def async_update_enterprise_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_update_enterprise_configuration( @@ -872,7 +890,9 @@ async def async_update_enterprise_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_update_enterprise_configuration( self, @@ -885,7 +905,7 @@ async def async_update_enterprise_configuration( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-enterprise-configuration PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -948,7 +968,7 @@ def attach_enterprise_configuration( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -963,7 +983,7 @@ def attach_enterprise_configuration( scope: Literal["all", "all_without_configurations"], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def attach_enterprise_configuration( @@ -979,7 +999,7 @@ def attach_enterprise_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-enterprise-configuration @@ -1043,7 +1063,7 @@ async def async_attach_enterprise_configuration( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -1058,7 +1078,7 @@ async def async_attach_enterprise_configuration( scope: Literal["all", "all_without_configurations"], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_attach_enterprise_configuration( @@ -1074,7 +1094,7 @@ async def async_attach_enterprise_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-enterprise-configuration @@ -1138,7 +1158,7 @@ def set_configuration_as_default_for_enterprise( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -1155,7 +1175,7 @@ def set_configuration_as_default_for_enterprise( ] = UNSET, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... def set_configuration_as_default_for_enterprise( @@ -1171,7 +1191,7 @@ def set_configuration_as_default_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default-for-enterprise @@ -1234,7 +1254,7 @@ async def async_set_configuration_as_default_for_enterprise( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -1251,7 +1271,7 @@ async def async_set_configuration_as_default_for_enterprise( ] = UNSET, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... async def async_set_configuration_as_default_for_enterprise( @@ -1267,7 +1287,7 @@ async def async_set_configuration_as_default_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default-for-enterprise @@ -1332,7 +1352,7 @@ def get_repositories_for_enterprise_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-enterprise-configuration @@ -1386,7 +1406,7 @@ async def async_get_repositories_for_enterprise_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-enterprise-configuration @@ -1437,7 +1457,9 @@ def get_configurations_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-org GET /orgs/{org}/code-security/configurations @@ -1487,7 +1509,9 @@ async def async_get_configurations_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-org GET /orgs/{org}/code-security/configurations @@ -1535,7 +1559,9 @@ def create_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def create_configuration( @@ -1599,7 +1625,9 @@ def create_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def create_configuration( self, @@ -1609,7 +1637,7 @@ def create_configuration( stream: bool = False, data: Missing[OrgsOrgCodeSecurityConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration POST /orgs/{org}/code-security/configurations @@ -1658,7 +1686,9 @@ async def async_create_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_create_configuration( @@ -1722,7 +1752,9 @@ async def async_create_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_create_configuration( self, @@ -1732,7 +1764,7 @@ async def async_create_configuration( stream: bool = False, data: Missing[OrgsOrgCodeSecurityConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration POST /orgs/{org}/code-security/configurations @@ -1781,7 +1813,7 @@ def get_default_configurations( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations @@ -1822,7 +1854,7 @@ async def async_get_default_configurations( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations @@ -2018,7 +2050,7 @@ def get_configuration( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-configuration GET /orgs/{org}/code-security/configurations/{configuration_id} @@ -2057,7 +2089,7 @@ async def async_get_configuration( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-configuration GET /orgs/{org}/code-security/configurations/{configuration_id} @@ -2182,7 +2214,9 @@ def update_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def update_configuration( @@ -2246,7 +2280,9 @@ def update_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def update_configuration( self, @@ -2259,7 +2295,7 @@ def update_configuration( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-configuration PATCH /orgs/{org}/code-security/configurations/{configuration_id} @@ -2311,7 +2347,9 @@ async def async_update_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_update_configuration( @@ -2375,7 +2413,9 @@ async def async_update_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_update_configuration( self, @@ -2388,7 +2428,7 @@ async def async_update_configuration( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-configuration PATCH /orgs/{org}/code-security/configurations/{configuration_id} @@ -2442,7 +2482,7 @@ def attach_configuration( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -2464,7 +2504,7 @@ def attach_configuration( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def attach_configuration( @@ -2480,7 +2520,7 @@ def attach_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-configuration @@ -2537,7 +2577,7 @@ async def async_attach_configuration( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -2559,7 +2599,7 @@ async def async_attach_configuration( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_attach_configuration( @@ -2575,7 +2615,7 @@ async def async_attach_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-configuration @@ -2632,7 +2672,7 @@ def set_configuration_as_default( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -2649,7 +2689,7 @@ def set_configuration_as_default( ] = UNSET, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... def set_configuration_as_default( @@ -2665,7 +2705,7 @@ def set_configuration_as_default( **kwargs, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default @@ -2727,7 +2767,7 @@ async def async_set_configuration_as_default( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -2744,7 +2784,7 @@ async def async_set_configuration_as_default( ] = UNSET, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... async def async_set_configuration_as_default( @@ -2760,7 +2800,7 @@ async def async_set_configuration_as_default( **kwargs, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default @@ -2824,7 +2864,7 @@ def get_repositories_for_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-configuration @@ -2880,7 +2920,7 @@ async def async_get_repositories_for_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-configuration @@ -2932,7 +2972,7 @@ def get_configuration_for_repository( stream: bool = False, ) -> Response[ CodeSecurityConfigurationForRepository, - CodeSecurityConfigurationForRepositoryType, + CodeSecurityConfigurationForRepositoryTypeForResponse, ]: """code-security/get-configuration-for-repository @@ -2974,7 +3014,7 @@ async def async_get_configuration_for_repository( stream: bool = False, ) -> Response[ CodeSecurityConfigurationForRepository, - CodeSecurityConfigurationForRepositoryType, + CodeSecurityConfigurationForRepositoryTypeForResponse, ]: """code-security/get-configuration-for-repository diff --git a/githubkit/versions/ghec_v2022_11_28/rest/codes_of_conduct.py b/githubkit/versions/ghec_v2022_11_28/rest/codes_of_conduct.py index 44bba7e55..a65e642ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/codes_of_conduct.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/codes_of_conduct.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import CodeOfConduct - from ..types import CodeOfConductType + from ..types import CodeOfConductTypeForResponse class CodesOfConductClient: @@ -43,7 +43,7 @@ def get_all_codes_of_conduct( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeOfConduct], list[CodeOfConductType]]: + ) -> Response[list[CodeOfConduct], list[CodeOfConductTypeForResponse]]: """codes-of-conduct/get-all-codes-of-conduct GET /codes_of_conduct @@ -72,7 +72,7 @@ async def async_get_all_codes_of_conduct( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeOfConduct], list[CodeOfConductType]]: + ) -> Response[list[CodeOfConduct], list[CodeOfConductTypeForResponse]]: """codes-of-conduct/get-all-codes-of-conduct GET /codes_of_conduct @@ -102,7 +102,7 @@ def get_conduct_code( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeOfConduct, CodeOfConductType]: + ) -> Response[CodeOfConduct, CodeOfConductTypeForResponse]: """codes-of-conduct/get-conduct-code GET /codes_of_conduct/{key} @@ -135,7 +135,7 @@ async def async_get_conduct_code( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeOfConduct, CodeOfConductType]: + ) -> Response[CodeOfConduct, CodeOfConductTypeForResponse]: """codes-of-conduct/get-conduct-code GET /codes_of_conduct/{key} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/codespaces.py b/githubkit/versions/ghec_v2022_11_28/rest/codespaces.py index 9a2f81ab9..a22a02527 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/codespaces.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/codespaces.py @@ -54,44 +54,44 @@ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - CodespaceExportDetailsType, - CodespacesOrgSecretType, - CodespacesPermissionsCheckForDevcontainerType, - CodespacesPublicKeyType, - CodespacesSecretType, - CodespacesUserPublicKeyType, - CodespaceType, - CodespaceWithFullRepositoryType, - EmptyObjectType, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + CodespaceExportDetailsTypeForResponse, + CodespacesOrgSecretTypeForResponse, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, + CodespacesPublicKeyTypeForResponse, + CodespacesSecretTypeForResponse, + CodespacesUserPublicKeyTypeForResponse, + CodespaceTypeForResponse, + CodespaceWithFullRepositoryTypeForResponse, + EmptyObjectTypeForResponse, OrgsOrgCodespacesAccessPutBodyType, OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType, OrgsOrgCodespacesAccessSelectedUsersPostBodyType, - OrgsOrgCodespacesGetResponse200Type, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesGetResponse200TypeForResponse, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, OrgsOrgCodespacesSecretsSecretNamePutBodyType, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, - RepoCodespacesSecretType, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, - ReposOwnerRepoCodespacesGetResponse200Type, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, - ReposOwnerRepoCodespacesNewGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, + RepoCodespacesSecretTypeForResponse, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ReposOwnerRepoCodespacesPostBodyType, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, UserCodespacesCodespaceNamePatchBodyType, UserCodespacesCodespaceNamePublishPostBodyType, - UserCodespacesGetResponse200Type, + UserCodespacesGetResponse200TypeForResponse, UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1PropPullRequestType, UserCodespacesPostBodyOneof1Type, - UserCodespacesSecretsGetResponse200Type, + UserCodespacesSecretsGetResponse200TypeForResponse, UserCodespacesSecretsSecretNamePutBodyType, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, UserCodespacesSecretsSecretNameRepositoriesPutBodyType, ) @@ -119,7 +119,9 @@ def list_in_organization( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200Type]: + ) -> Response[ + OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-in-organization GET /orgs/{org}/codespaces @@ -165,7 +167,9 @@ async def async_list_in_organization( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200Type]: + ) -> Response[ + OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-in-organization GET /orgs/{org}/codespaces @@ -673,7 +677,7 @@ def list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsGetResponse200, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-org-secrets @@ -717,7 +721,7 @@ async def async_list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsGetResponse200, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-org-secrets @@ -757,7 +761,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-org-public-key GET /orgs/{org}/codespaces/secrets/public-key @@ -788,7 +792,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-org-public-key GET /orgs/{org}/codespaces/secrets/public-key @@ -820,7 +824,7 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretType]: + ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretTypeForResponse]: """codespaces/get-org-secret GET /orgs/{org}/codespaces/secrets/{secret_name} @@ -853,7 +857,7 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretType]: + ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretTypeForResponse]: """codespaces/get-org-secret GET /orgs/{org}/codespaces/secrets/{secret_name} @@ -888,7 +892,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -903,7 +907,7 @@ def create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -914,7 +918,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-org-secret PUT /orgs/{org}/codespaces/secrets/{secret_name} @@ -969,7 +973,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -984,7 +988,7 @@ async def async_create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -995,7 +999,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-org-secret PUT /orgs/{org}/codespaces/secrets/{secret_name} @@ -1122,7 +1126,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-selected-repos-for-org-secret @@ -1173,7 +1177,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-selected-repos-for-org-secret @@ -1540,7 +1544,7 @@ def get_codespaces_for_user_in_org( stream: bool = False, ) -> Response[ OrgsOrgMembersUsernameCodespacesGetResponse200, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, ]: """codespaces/get-codespaces-for-user-in-org @@ -1590,7 +1594,7 @@ async def async_get_codespaces_for_user_in_org( stream: bool = False, ) -> Response[ OrgsOrgMembersUsernameCodespacesGetResponse200, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, ]: """codespaces/get-codespaces-for-user-in-org @@ -1639,7 +1643,7 @@ def delete_from_organization( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-from-organization @@ -1685,7 +1689,7 @@ async def async_delete_from_organization( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-from-organization @@ -1729,7 +1733,7 @@ def stop_in_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-in-organization POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop @@ -1769,7 +1773,7 @@ async def async_stop_in_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-in-organization POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop @@ -1812,7 +1816,7 @@ def list_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesGetResponse200, - ReposOwnerRepoCodespacesGetResponse200Type, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, ]: """codespaces/list-in-repository-for-authenticated-user @@ -1862,7 +1866,7 @@ async def async_list_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesGetResponse200, - ReposOwnerRepoCodespacesGetResponse200Type, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, ]: """codespaces/list-in-repository-for-authenticated-user @@ -1910,7 +1914,7 @@ def create_with_repo_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_with_repo_for_authenticated_user( @@ -1934,7 +1938,7 @@ def create_with_repo_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_with_repo_for_authenticated_user( self, @@ -1945,7 +1949,7 @@ def create_with_repo_for_authenticated_user( stream: bool = False, data: Missing[Union[ReposOwnerRepoCodespacesPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-repo-for-authenticated-user POST /repos/{owner}/{repo}/codespaces @@ -2006,7 +2010,7 @@ async def async_create_with_repo_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_with_repo_for_authenticated_user( @@ -2030,7 +2034,7 @@ async def async_create_with_repo_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_with_repo_for_authenticated_user( self, @@ -2041,7 +2045,7 @@ async def async_create_with_repo_for_authenticated_user( stream: bool = False, data: Missing[Union[ReposOwnerRepoCodespacesPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-repo-for-authenticated-user POST /repos/{owner}/{repo}/codespaces @@ -2104,7 +2108,7 @@ def list_devcontainers_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesDevcontainersGetResponse200, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, ]: """codespaces/list-devcontainers-in-repository-for-authenticated-user @@ -2159,7 +2163,7 @@ async def async_list_devcontainers_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesDevcontainersGetResponse200, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, ]: """codespaces/list-devcontainers-in-repository-for-authenticated-user @@ -2215,7 +2219,7 @@ def repo_machines_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesMachinesGetResponse200, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, ]: """codespaces/repo-machines-for-authenticated-user @@ -2267,7 +2271,7 @@ async def async_repo_machines_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesMachinesGetResponse200, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, ]: """codespaces/repo-machines-for-authenticated-user @@ -2318,7 +2322,7 @@ def pre_flight_with_repo_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesNewGetResponse200, - ReposOwnerRepoCodespacesNewGetResponse200Type, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ]: """codespaces/pre-flight-with-repo-for-authenticated-user @@ -2367,7 +2371,7 @@ async def async_pre_flight_with_repo_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesNewGetResponse200, - ReposOwnerRepoCodespacesNewGetResponse200Type, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ]: """codespaces/pre-flight-with-repo-for-authenticated-user @@ -2416,7 +2420,7 @@ def check_permissions_for_devcontainer( stream: bool = False, ) -> Response[ CodespacesPermissionsCheckForDevcontainer, - CodespacesPermissionsCheckForDevcontainerType, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, ]: """codespaces/check-permissions-for-devcontainer @@ -2472,7 +2476,7 @@ async def async_check_permissions_for_devcontainer( stream: bool = False, ) -> Response[ CodespacesPermissionsCheckForDevcontainer, - CodespacesPermissionsCheckForDevcontainerType, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, ]: """codespaces/check-permissions-for-devcontainer @@ -2528,7 +2532,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesSecretsGetResponse200, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-repo-secrets @@ -2573,7 +2577,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesSecretsGetResponse200, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-repo-secrets @@ -2614,7 +2618,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-repo-public-key GET /repos/{owner}/{repo}/codespaces/secrets/public-key @@ -2648,7 +2652,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-repo-public-key GET /repos/{owner}/{repo}/codespaces/secrets/public-key @@ -2683,7 +2687,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretType]: + ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretTypeForResponse]: """codespaces/get-repo-secret GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2717,7 +2721,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretType]: + ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretTypeForResponse]: """codespaces/get-repo-secret GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2753,7 +2757,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -2767,7 +2771,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -2779,7 +2783,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-repo-secret PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2831,7 +2835,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -2845,7 +2849,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -2857,7 +2861,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-repo-secret PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2971,7 +2975,7 @@ def create_with_pr_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_with_pr_for_authenticated_user( @@ -2995,7 +2999,7 @@ def create_with_pr_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_with_pr_for_authenticated_user( self, @@ -3009,7 +3013,7 @@ def create_with_pr_for_authenticated_user( Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-pr-for-authenticated-user POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces @@ -3070,7 +3074,7 @@ async def async_create_with_pr_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_with_pr_for_authenticated_user( @@ -3094,7 +3098,7 @@ async def async_create_with_pr_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_with_pr_for_authenticated_user( self, @@ -3108,7 +3112,7 @@ async def async_create_with_pr_for_authenticated_user( Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-pr-for-authenticated-user POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces @@ -3167,7 +3171,9 @@ def list_for_authenticated_user( repository_id: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserCodespacesGetResponse200, UserCodespacesGetResponse200Type]: + ) -> Response[ + UserCodespacesGetResponse200, UserCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-for-authenticated-user GET /user/codespaces @@ -3214,7 +3220,9 @@ async def async_list_for_authenticated_user( repository_id: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserCodespacesGetResponse200, UserCodespacesGetResponse200Type]: + ) -> Response[ + UserCodespacesGetResponse200, UserCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-for-authenticated-user GET /user/codespaces @@ -3260,7 +3268,7 @@ def create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -3283,7 +3291,7 @@ def create_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -3301,7 +3309,7 @@ def create_for_authenticated_user( devcontainer_path: Missing[str] = UNSET, working_directory: Missing[str] = UNSET, idle_timeout_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_for_authenticated_user( self, @@ -3312,7 +3320,7 @@ def create_for_authenticated_user( Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-for-authenticated-user POST /user/codespaces @@ -3373,7 +3381,7 @@ async def async_create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -3396,7 +3404,7 @@ async def async_create_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -3414,7 +3422,7 @@ async def async_create_for_authenticated_user( devcontainer_path: Missing[str] = UNSET, working_directory: Missing[str] = UNSET, idle_timeout_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_for_authenticated_user( self, @@ -3425,7 +3433,7 @@ async def async_create_for_authenticated_user( Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-for-authenticated-user POST /user/codespaces @@ -3487,7 +3495,8 @@ def list_secrets_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - UserCodespacesSecretsGetResponse200, UserCodespacesSecretsGetResponse200Type + UserCodespacesSecretsGetResponse200, + UserCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-secrets-for-authenticated-user @@ -3531,7 +3540,8 @@ async def async_list_secrets_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - UserCodespacesSecretsGetResponse200, UserCodespacesSecretsGetResponse200Type + UserCodespacesSecretsGetResponse200, + UserCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-secrets-for-authenticated-user @@ -3572,7 +3582,7 @@ def get_public_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyType]: + ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyTypeForResponse]: """codespaces/get-public-key-for-authenticated-user GET /user/codespaces/secrets/public-key @@ -3605,7 +3615,7 @@ async def async_get_public_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyType]: + ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyTypeForResponse]: """codespaces/get-public-key-for-authenticated-user GET /user/codespaces/secrets/public-key @@ -3639,7 +3649,7 @@ def get_secret_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesSecret, CodespacesSecretType]: + ) -> Response[CodespacesSecret, CodespacesSecretTypeForResponse]: """codespaces/get-secret-for-authenticated-user GET /user/codespaces/secrets/{secret_name} @@ -3673,7 +3683,7 @@ async def async_get_secret_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesSecret, CodespacesSecretType]: + ) -> Response[CodespacesSecret, CodespacesSecretTypeForResponse]: """codespaces/get-secret-for-authenticated-user GET /user/codespaces/secrets/{secret_name} @@ -3709,7 +3719,7 @@ def create_or_update_secret_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_secret_for_authenticated_user( @@ -3722,7 +3732,7 @@ def create_or_update_secret_for_authenticated_user( encrypted_value: Missing[str] = UNSET, key_id: str, selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_secret_for_authenticated_user( self, @@ -3732,7 +3742,7 @@ def create_or_update_secret_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-secret-for-authenticated-user PUT /user/codespaces/secrets/{secret_name} @@ -3788,7 +3798,7 @@ async def async_create_or_update_secret_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_secret_for_authenticated_user( @@ -3801,7 +3811,7 @@ async def async_create_or_update_secret_for_authenticated_user( encrypted_value: Missing[str] = UNSET, key_id: str, selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_secret_for_authenticated_user( self, @@ -3811,7 +3821,7 @@ async def async_create_or_update_secret_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-secret-for-authenticated-user PUT /user/codespaces/secrets/{secret_name} @@ -3929,7 +3939,7 @@ def list_repositories_for_secret_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-repositories-for-secret-for-authenticated-user @@ -3975,7 +3985,7 @@ async def async_list_repositories_for_secret_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-repositories-for-secret-for-authenticated-user @@ -4333,7 +4343,7 @@ def get_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/get-for-authenticated-user GET /user/codespaces/{codespace_name} @@ -4371,7 +4381,7 @@ async def async_get_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/get-for-authenticated-user GET /user/codespaces/{codespace_name} @@ -4411,7 +4421,7 @@ def delete_for_authenticated_user( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-for-authenticated-user @@ -4455,7 +4465,7 @@ async def async_delete_for_authenticated_user( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-for-authenticated-user @@ -4499,7 +4509,7 @@ def update_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def update_for_authenticated_user( @@ -4512,7 +4522,7 @@ def update_for_authenticated_user( machine: Missing[str] = UNSET, display_name: Missing[str] = UNSET, recent_folders: Missing[list[str]] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def update_for_authenticated_user( self, @@ -4522,7 +4532,7 @@ def update_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/update-for-authenticated-user PATCH /user/codespaces/{codespace_name} @@ -4573,7 +4583,7 @@ async def async_update_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_update_for_authenticated_user( @@ -4586,7 +4596,7 @@ async def async_update_for_authenticated_user( machine: Missing[str] = UNSET, display_name: Missing[str] = UNSET, recent_folders: Missing[list[str]] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_update_for_authenticated_user( self, @@ -4596,7 +4606,7 @@ async def async_update_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/update-for-authenticated-user PATCH /user/codespaces/{codespace_name} @@ -4645,7 +4655,7 @@ def export_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/export-for-authenticated-user POST /user/codespaces/{codespace_name}/exports @@ -4686,7 +4696,7 @@ async def async_export_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/export-for-authenticated-user POST /user/codespaces/{codespace_name}/exports @@ -4728,7 +4738,7 @@ def get_export_details_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/get-export-details-for-authenticated-user GET /user/codespaces/{codespace_name}/exports/{export_id} @@ -4764,7 +4774,7 @@ async def async_get_export_details_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/get-export-details-for-authenticated-user GET /user/codespaces/{codespace_name}/exports/{export_id} @@ -4801,7 +4811,7 @@ def codespace_machines_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesCodespaceNameMachinesGetResponse200, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, ]: """codespaces/codespace-machines-for-authenticated-user @@ -4845,7 +4855,7 @@ async def async_codespace_machines_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesCodespaceNameMachinesGetResponse200, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, ]: """codespaces/codespace-machines-for-authenticated-user @@ -4889,7 +4899,9 @@ def publish_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesCodespaceNamePublishPostBodyType, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... @overload def publish_for_authenticated_user( @@ -4901,7 +4913,9 @@ def publish_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... def publish_for_authenticated_user( self, @@ -4911,7 +4925,9 @@ def publish_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePublishPostBodyType] = UNSET, **kwargs, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: """codespaces/publish-for-authenticated-user POST /user/codespaces/{codespace_name}/publish @@ -4972,7 +4988,9 @@ async def async_publish_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesCodespaceNamePublishPostBodyType, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... @overload async def async_publish_for_authenticated_user( @@ -4984,7 +5002,9 @@ async def async_publish_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... async def async_publish_for_authenticated_user( self, @@ -4994,7 +5014,9 @@ async def async_publish_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePublishPostBodyType] = UNSET, **kwargs, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: """codespaces/publish-for-authenticated-user POST /user/codespaces/{codespace_name}/publish @@ -5053,7 +5075,7 @@ def start_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/start-for-authenticated-user POST /user/codespaces/{codespace_name}/start @@ -5094,7 +5116,7 @@ async def async_start_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/start-for-authenticated-user POST /user/codespaces/{codespace_name}/start @@ -5135,7 +5157,7 @@ def stop_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-for-authenticated-user POST /user/codespaces/{codespace_name}/stop @@ -5173,7 +5195,7 @@ async def async_stop_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-for-authenticated-user POST /user/codespaces/{codespace_name}/stop diff --git a/githubkit/versions/ghec_v2022_11_28/rest/copilot.py b/githubkit/versions/ghec_v2022_11_28/rest/copilot.py index 5c70dabcf..d7d2829b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/copilot.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/copilot.py @@ -46,30 +46,30 @@ OrgsOrgCopilotBillingSelectedUsersPostResponse201, ) from ..types import ( - CopilotOrganizationDetailsType, - CopilotSeatDetailsType, - CopilotUsageMetrics1DayReportType, - CopilotUsageMetrics28DayReportType, - CopilotUsageMetricsDayType, - EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type, + CopilotOrganizationDetailsTypeForResponse, + CopilotSeatDetailsTypeForResponse, + CopilotUsageMetrics1DayReportTypeForResponse, + CopilotUsageMetrics28DayReportTypeForResponse, + CopilotUsageMetricsDayTypeForResponse, + EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse, EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, - EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, + EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedTeamsPostBodyType, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedUsersPostBodyType, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ) @@ -98,7 +98,7 @@ def list_copilot_seats_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseCopilotBillingSeatsGetResponse200, - EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type, + EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats-for-enterprise @@ -162,7 +162,7 @@ async def async_list_copilot_seats_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseCopilotBillingSeatsGetResponse200, - EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type, + EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats-for-enterprise @@ -226,7 +226,7 @@ def add_copilot_seats_for_enterprise_teams( data: EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -240,7 +240,7 @@ def add_copilot_seats_for_enterprise_teams( selected_enterprise_teams: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_enterprise_teams( @@ -255,7 +255,7 @@ def add_copilot_seats_for_enterprise_teams( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-enterprise-teams @@ -321,7 +321,7 @@ async def async_add_copilot_seats_for_enterprise_teams( data: EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -335,7 +335,7 @@ async def async_add_copilot_seats_for_enterprise_teams( selected_enterprise_teams: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_enterprise_teams( @@ -350,7 +350,7 @@ async def async_add_copilot_seats_for_enterprise_teams( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-enterprise-teams @@ -416,7 +416,7 @@ def cancel_copilot_seats_for_enterprise_teams( data: EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -430,7 +430,7 @@ def cancel_copilot_seats_for_enterprise_teams( selected_enterprise_teams: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seats_for_enterprise_teams( @@ -445,7 +445,7 @@ def cancel_copilot_seats_for_enterprise_teams( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seats-for-enterprise-teams @@ -513,7 +513,7 @@ async def async_cancel_copilot_seats_for_enterprise_teams( data: EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -527,7 +527,7 @@ async def async_cancel_copilot_seats_for_enterprise_teams( selected_enterprise_teams: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seats_for_enterprise_teams( @@ -542,7 +542,7 @@ async def async_cancel_copilot_seats_for_enterprise_teams( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seats-for-enterprise-teams @@ -610,7 +610,7 @@ def add_copilot_seats_for_enterprise_users( data: EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -624,7 +624,7 @@ def add_copilot_seats_for_enterprise_users( selected_usernames: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_enterprise_users( @@ -639,7 +639,7 @@ def add_copilot_seats_for_enterprise_users( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-enterprise-users @@ -706,7 +706,7 @@ async def async_add_copilot_seats_for_enterprise_users( data: EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -720,7 +720,7 @@ async def async_add_copilot_seats_for_enterprise_users( selected_usernames: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_enterprise_users( @@ -735,7 +735,7 @@ async def async_add_copilot_seats_for_enterprise_users( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201, - EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-enterprise-users @@ -802,7 +802,7 @@ def cancel_copilot_seats_for_enterprise_users( data: EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -816,7 +816,7 @@ def cancel_copilot_seats_for_enterprise_users( selected_usernames: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seats_for_enterprise_users( @@ -831,7 +831,7 @@ def cancel_copilot_seats_for_enterprise_users( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seats-for-enterprise-users @@ -898,7 +898,7 @@ async def async_cancel_copilot_seats_for_enterprise_users( data: EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -912,7 +912,7 @@ async def async_cancel_copilot_seats_for_enterprise_users( selected_usernames: list[str], ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seats_for_enterprise_users( @@ -927,7 +927,7 @@ async def async_cancel_copilot_seats_for_enterprise_users( **kwargs, ) -> Response[ EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200, - EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seats-for-enterprise-users @@ -994,7 +994,9 @@ def copilot_metrics_for_enterprise( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-enterprise GET /enterprises/{enterprise}/copilot/metrics @@ -1051,7 +1053,9 @@ async def async_copilot_metrics_for_enterprise( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-enterprise GET /enterprises/{enterprise}/copilot/metrics @@ -1105,7 +1109,9 @@ def copilot_enterprise_one_day_usage_metrics( day: date, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportType]: + ) -> Response[ + CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportTypeForResponse + ]: """copilot/copilot-enterprise-one-day-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day @@ -1152,7 +1158,9 @@ async def async_copilot_enterprise_one_day_usage_metrics( day: date, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportType]: + ) -> Response[ + CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportTypeForResponse + ]: """copilot/copilot-enterprise-one-day-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day @@ -1198,7 +1206,9 @@ def copilot_enterprise_usage_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportType]: + ) -> Response[ + CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportTypeForResponse + ]: """copilot/copilot-enterprise-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest @@ -1239,7 +1249,9 @@ async def async_copilot_enterprise_usage_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportType]: + ) -> Response[ + CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportTypeForResponse + ]: """copilot/copilot-enterprise-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest @@ -1281,7 +1293,9 @@ def copilot_users_one_day_usage_metrics( day: date, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportType]: + ) -> Response[ + CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportTypeForResponse + ]: """copilot/copilot-users-one-day-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/users-1-day @@ -1328,7 +1342,9 @@ async def async_copilot_users_one_day_usage_metrics( day: date, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportType]: + ) -> Response[ + CopilotUsageMetrics1DayReport, CopilotUsageMetrics1DayReportTypeForResponse + ]: """copilot/copilot-users-one-day-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/users-1-day @@ -1374,7 +1390,9 @@ def copilot_users_usage_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportType]: + ) -> Response[ + CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportTypeForResponse + ]: """copilot/copilot-users-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest @@ -1415,7 +1433,9 @@ async def async_copilot_users_usage_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportType]: + ) -> Response[ + CopilotUsageMetrics28DayReport, CopilotUsageMetrics28DayReportTypeForResponse + ]: """copilot/copilot-users-usage-metrics GET /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest @@ -1459,7 +1479,7 @@ def get_copilot_seat_details_for_enterprise_user( stream: bool = False, ) -> Response[ EnterprisesEnterpriseMembersUsernameCopilotGetResponse200, - EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type, + EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse, ]: """copilot/get-copilot-seat-details-for-enterprise-user @@ -1511,7 +1531,7 @@ async def async_get_copilot_seat_details_for_enterprise_user( stream: bool = False, ) -> Response[ EnterprisesEnterpriseMembersUsernameCopilotGetResponse200, - EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type, + EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse, ]: """copilot/get-copilot-seat-details-for-enterprise-user @@ -1565,7 +1585,9 @@ def copilot_metrics_for_enterprise_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-enterprise-team GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics @@ -1629,7 +1651,9 @@ async def async_copilot_metrics_for_enterprise_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-enterprise-team GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics @@ -1688,7 +1712,9 @@ def get_copilot_organization_details( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotOrganizationDetails, CopilotOrganizationDetailsType]: + ) -> Response[ + CopilotOrganizationDetails, CopilotOrganizationDetailsTypeForResponse + ]: """copilot/get-copilot-organization-details GET /orgs/{org}/copilot/billing @@ -1733,7 +1759,9 @@ async def async_get_copilot_organization_details( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotOrganizationDetails, CopilotOrganizationDetailsType]: + ) -> Response[ + CopilotOrganizationDetails, CopilotOrganizationDetailsTypeForResponse + ]: """copilot/get-copilot-organization-details GET /orgs/{org}/copilot/billing @@ -1782,7 +1810,7 @@ def list_copilot_seats( stream: bool = False, ) -> Response[ OrgsOrgCopilotBillingSeatsGetResponse200, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats @@ -1838,7 +1866,7 @@ async def async_list_copilot_seats( stream: bool = False, ) -> Response[ OrgsOrgCopilotBillingSeatsGetResponse200, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats @@ -1894,7 +1922,7 @@ def add_copilot_seats_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -1908,7 +1936,7 @@ def add_copilot_seats_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_teams( @@ -1921,7 +1949,7 @@ def add_copilot_seats_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-teams @@ -1990,7 +2018,7 @@ async def async_add_copilot_seats_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -2004,7 +2032,7 @@ async def async_add_copilot_seats_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_teams( @@ -2017,7 +2045,7 @@ async def async_add_copilot_seats_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-teams @@ -2086,7 +2114,7 @@ def cancel_copilot_seat_assignment_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -2100,7 +2128,7 @@ def cancel_copilot_seat_assignment_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seat_assignment_for_teams( @@ -2113,7 +2141,7 @@ def cancel_copilot_seat_assignment_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-teams @@ -2181,7 +2209,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -2195,7 +2223,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seat_assignment_for_teams( @@ -2208,7 +2236,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-teams @@ -2276,7 +2304,7 @@ def add_copilot_seats_for_users( data: OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -2290,7 +2318,7 @@ def add_copilot_seats_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_users( @@ -2303,7 +2331,7 @@ def add_copilot_seats_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-users @@ -2372,7 +2400,7 @@ async def async_add_copilot_seats_for_users( data: OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -2386,7 +2414,7 @@ async def async_add_copilot_seats_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_users( @@ -2399,7 +2427,7 @@ async def async_add_copilot_seats_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-users @@ -2468,7 +2496,7 @@ def cancel_copilot_seat_assignment_for_users( data: OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -2482,7 +2510,7 @@ def cancel_copilot_seat_assignment_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seat_assignment_for_users( @@ -2495,7 +2523,7 @@ def cancel_copilot_seat_assignment_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-users @@ -2563,7 +2591,7 @@ async def async_cancel_copilot_seat_assignment_for_users( data: OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -2577,7 +2605,7 @@ async def async_cancel_copilot_seat_assignment_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seat_assignment_for_users( @@ -2590,7 +2618,7 @@ async def async_cancel_copilot_seat_assignment_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-users @@ -2658,7 +2686,9 @@ def copilot_metrics_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-organization GET /orgs/{org}/copilot/metrics @@ -2718,7 +2748,9 @@ async def async_copilot_metrics_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-organization GET /orgs/{org}/copilot/metrics @@ -2775,7 +2807,7 @@ def get_copilot_seat_details_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotSeatDetails, CopilotSeatDetailsType]: + ) -> Response[CopilotSeatDetails, CopilotSeatDetailsTypeForResponse]: """copilot/get-copilot-seat-details-for-user GET /orgs/{org}/members/{username}/copilot @@ -2822,7 +2854,7 @@ async def async_get_copilot_seat_details_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotSeatDetails, CopilotSeatDetailsType]: + ) -> Response[CopilotSeatDetails, CopilotSeatDetailsTypeForResponse]: """copilot/get-copilot-seat-details-for-user GET /orgs/{org}/members/{username}/copilot @@ -2873,7 +2905,9 @@ def copilot_metrics_for_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-team GET /orgs/{org}/team/{team_slug}/copilot/metrics @@ -2934,7 +2968,9 @@ async def async_copilot_metrics_for_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-team GET /orgs/{org}/team/{team_slug}/copilot/metrics diff --git a/githubkit/versions/ghec_v2022_11_28/rest/credentials.py b/githubkit/versions/ghec_v2022_11_28/rest/credentials.py index a880afa97..6c57038a5 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/credentials.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/credentials.py @@ -25,7 +25,7 @@ from ..models import AppHookDeliveriesDeliveryIdAttemptsPostResponse202 from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, CredentialsRevokePostBodyType, ) @@ -54,7 +54,7 @@ def revoke( data: CredentialsRevokePostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -67,7 +67,7 @@ def revoke( credentials: list[str], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def revoke( @@ -79,7 +79,7 @@ def revoke( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """credentials/revoke @@ -144,7 +144,7 @@ async def async_revoke( data: CredentialsRevokePostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -157,7 +157,7 @@ async def async_revoke( credentials: list[str], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_revoke( @@ -169,7 +169,7 @@ async def async_revoke( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """credentials/revoke diff --git a/githubkit/versions/ghec_v2022_11_28/rest/dependabot.py b/githubkit/versions/ghec_v2022_11_28/rest/dependabot.py index 6f55b86e0..65b6bfeed 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/dependabot.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/dependabot.py @@ -40,21 +40,21 @@ ReposOwnerRepoDependabotSecretsGetResponse200, ) from ..types import ( - DependabotAlertType, - DependabotAlertWithRepositoryType, - DependabotPublicKeyType, - DependabotRepositoryAccessDetailsType, - DependabotSecretType, - EmptyObjectType, - OrganizationDependabotSecretType, + DependabotAlertTypeForResponse, + DependabotAlertWithRepositoryTypeForResponse, + DependabotPublicKeyTypeForResponse, + DependabotRepositoryAccessDetailsTypeForResponse, + DependabotSecretTypeForResponse, + EmptyObjectTypeForResponse, + OrganizationDependabotSecretTypeForResponse, OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType, OrganizationsOrgDependabotRepositoryAccessPatchBodyType, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, OrgsOrgDependabotSecretsSecretNamePutBodyType, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType, ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, ) @@ -93,7 +93,8 @@ def list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-enterprise @@ -168,7 +169,8 @@ async def async_list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-enterprise @@ -233,7 +235,8 @@ def repository_access_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - DependabotRepositoryAccessDetails, DependabotRepositoryAccessDetailsType + DependabotRepositoryAccessDetails, + DependabotRepositoryAccessDetailsTypeForResponse, ]: """dependabot/repository-access-for-org @@ -280,7 +283,8 @@ async def async_repository_access_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - DependabotRepositoryAccessDetails, DependabotRepositoryAccessDetailsType + DependabotRepositoryAccessDetails, + DependabotRepositoryAccessDetailsTypeForResponse, ]: """dependabot/repository-access-for-org @@ -666,7 +670,8 @@ def list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-org @@ -746,7 +751,8 @@ async def async_list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-org @@ -814,7 +820,7 @@ def list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsGetResponse200, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-org-secrets @@ -858,7 +864,7 @@ async def async_list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsGetResponse200, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-org-secrets @@ -898,7 +904,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-org-public-key GET /orgs/{org}/dependabot/secrets/public-key @@ -931,7 +937,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-org-public-key GET /orgs/{org}/dependabot/secrets/public-key @@ -965,7 +971,9 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationDependabotSecret, OrganizationDependabotSecretType]: + ) -> Response[ + OrganizationDependabotSecret, OrganizationDependabotSecretTypeForResponse + ]: """dependabot/get-org-secret GET /orgs/{org}/dependabot/secrets/{secret_name} @@ -998,7 +1006,9 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationDependabotSecret, OrganizationDependabotSecretType]: + ) -> Response[ + OrganizationDependabotSecret, OrganizationDependabotSecretTypeForResponse + ]: """dependabot/get-org-secret GET /orgs/{org}/dependabot/secrets/{secret_name} @@ -1033,7 +1043,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -1048,7 +1058,7 @@ def create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -1059,7 +1069,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-org-secret PUT /orgs/{org}/dependabot/secrets/{secret_name} @@ -1105,7 +1115,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -1120,7 +1130,7 @@ async def async_create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -1131,7 +1141,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-org-secret PUT /orgs/{org}/dependabot/secrets/{secret_name} @@ -1239,7 +1249,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """dependabot/list-selected-repos-for-org-secret @@ -1286,7 +1296,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """dependabot/list-selected-repos-for-org-secret @@ -1632,7 +1642,7 @@ def list_alerts_for_repo( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependabotAlert], list[DependabotAlertType]]: + ) -> Response[list[DependabotAlert], list[DependabotAlertTypeForResponse]]: """dependabot/list-alerts-for-repo GET /repos/{owner}/{repo}/dependabot/alerts @@ -1699,7 +1709,7 @@ async def async_list_alerts_for_repo( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependabotAlert], list[DependabotAlertType]]: + ) -> Response[list[DependabotAlert], list[DependabotAlertTypeForResponse]]: """dependabot/list-alerts-for-repo GET /repos/{owner}/{repo}/dependabot/alerts @@ -1754,7 +1764,7 @@ def get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/get-alert GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1790,7 +1800,7 @@ async def async_get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/get-alert GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1828,7 +1838,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... @overload def update_alert( @@ -1851,7 +1861,7 @@ def update_alert( ] ] = UNSET, dismissed_comment: Missing[str] = UNSET, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... def update_alert( self, @@ -1863,7 +1873,7 @@ def update_alert( stream: bool = False, data: Missing[ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/update-alert PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1923,7 +1933,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -1946,7 +1956,7 @@ async def async_update_alert( ] ] = UNSET, dismissed_comment: Missing[str] = UNSET, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... async def async_update_alert( self, @@ -1958,7 +1968,7 @@ async def async_update_alert( stream: bool = False, data: Missing[ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/update-alert PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -2019,7 +2029,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoDependabotSecretsGetResponse200, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-repo-secrets @@ -2064,7 +2074,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoDependabotSecretsGetResponse200, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-repo-secrets @@ -2105,7 +2115,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-repo-public-key GET /repos/{owner}/{repo}/dependabot/secrets/public-key @@ -2140,7 +2150,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-repo-public-key GET /repos/{owner}/{repo}/dependabot/secrets/public-key @@ -2176,7 +2186,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotSecret, DependabotSecretType]: + ) -> Response[DependabotSecret, DependabotSecretTypeForResponse]: """dependabot/get-repo-secret GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2210,7 +2220,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotSecret, DependabotSecretType]: + ) -> Response[DependabotSecret, DependabotSecretTypeForResponse]: """dependabot/get-repo-secret GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2246,7 +2256,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -2260,7 +2270,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -2272,7 +2282,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-repo-secret PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2324,7 +2334,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -2338,7 +2348,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -2350,7 +2360,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-repo-secret PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/dependency_graph.py b/githubkit/versions/ghec_v2022_11_28/rest/dependency_graph.py index b5e89bb81..60afd700f 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/dependency_graph.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/dependency_graph.py @@ -33,10 +33,10 @@ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, ) from ..types import ( - DependencyGraphDiffItemsType, - DependencyGraphSpdxSbomType, + DependencyGraphDiffItemsTypeForResponse, + DependencyGraphSpdxSbomTypeForResponse, MetadataType, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, SnapshotPropDetectorType, SnapshotPropJobType, SnapshotPropManifestsType, @@ -68,7 +68,9 @@ def diff_range( name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsType]]: + ) -> Response[ + list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsTypeForResponse] + ]: """dependency-graph/diff-range GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead} @@ -110,7 +112,9 @@ async def async_diff_range( name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsType]]: + ) -> Response[ + list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsTypeForResponse] + ]: """dependency-graph/diff-range GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead} @@ -150,7 +154,7 @@ def export_sbom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomType]: + ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomTypeForResponse]: """dependency-graph/export-sbom GET /repos/{owner}/{repo}/dependency-graph/sbom @@ -185,7 +189,7 @@ async def async_export_sbom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomType]: + ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomTypeForResponse]: """dependency-graph/export-sbom GET /repos/{owner}/{repo}/dependency-graph/sbom @@ -224,7 +228,7 @@ def create_repository_snapshot( data: SnapshotType, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... @overload @@ -246,7 +250,7 @@ def create_repository_snapshot( scanned: datetime, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... def create_repository_snapshot( @@ -260,7 +264,7 @@ def create_repository_snapshot( **kwargs, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: """dependency-graph/create-repository-snapshot @@ -313,7 +317,7 @@ async def async_create_repository_snapshot( data: SnapshotType, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... @overload @@ -335,7 +339,7 @@ async def async_create_repository_snapshot( scanned: datetime, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... async def async_create_repository_snapshot( @@ -349,7 +353,7 @@ async def async_create_repository_snapshot( **kwargs, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: """dependency-graph/create-repository-snapshot diff --git a/githubkit/versions/ghec_v2022_11_28/rest/emojis.py b/githubkit/versions/ghec_v2022_11_28/rest/emojis.py index 6d8528047..5b9c24734 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/emojis.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/emojis.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import EmojisGetResponse200 - from ..types import EmojisGetResponse200Type + from ..types import EmojisGetResponse200TypeForResponse class EmojisClient: @@ -43,7 +43,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmojisGetResponse200, EmojisGetResponse200Type]: + ) -> Response[EmojisGetResponse200, EmojisGetResponse200TypeForResponse]: """emojis/get GET /emojis @@ -72,7 +72,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmojisGetResponse200, EmojisGetResponse200Type]: + ) -> Response[EmojisGetResponse200, EmojisGetResponse200TypeForResponse]: """emojis/get GET /emojis diff --git a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_admin.py b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_admin.py index 9abc752f1..43e843c73 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_admin.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_admin.py @@ -74,83 +74,87 @@ SelectedActions, ) from ..types import ( - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ActionsArtifactAndLogRetentionType, - ActionsEnterprisePermissionsType, + ActionsEnterprisePermissionsTypeForResponse, ActionsForkPrContributorApprovalType, + ActionsForkPrContributorApprovalTypeForResponse, ActionsForkPrWorkflowsPrivateReposRequestType, - ActionsForkPrWorkflowsPrivateReposType, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, AmazonS3AccessKeysConfigType, AmazonS3OidcConfigType, - AnnouncementBannerType, + AnnouncementBannerTypeForResponse, AnnouncementType, - AuditLogEventType, - AuditLogStreamKeyType, - AuthenticationTokenType, + AuditLogEventTypeForResponse, + AuditLogStreamKeyTypeForResponse, + AuthenticationTokenTypeForResponse, AzureBlobConfigType, AzureHubConfigType, - CustomPropertiesForOrgsGetEnterprisePropertyValuesType, + CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse, CustomPropertySetPayloadType, CustomPropertyType, + CustomPropertyTypeForResponse, CustomPropertyValueType, DatadogConfigType, - EnterpriseAccessRestrictionsType, - EnterpriseRoleType, - EnterpriseSecurityAnalysisSettingsType, - EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type, + EnterpriseAccessRestrictionsTypeForResponse, + EnterpriseRoleTypeForResponse, + EnterpriseSecurityAnalysisSettingsTypeForResponse, + EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse, EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType, EnterprisesEnterpriseActionsPermissionsPutBodyType, - EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse, EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType, - EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse, EnterprisesEnterpriseActionsRunnerGroupsPostBodyType, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse, EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyType, EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, - EnterprisesEnterpriseActionsRunnersGetResponse200Type, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType, EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType, EnterprisesEnterpriseAuditLogStreamsPostBodyType, EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType, EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType, - EnterprisesEnterpriseEnterpriseRolesGetResponse200Type, - EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type, + EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse, + EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse, EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType, EnterprisesEnterpriseNetworkConfigurationsPostBodyType, EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType, EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType, EnterprisesEnterprisePropertiesSchemaPatchBodyType, - EnterpriseTeamType, - EnterpriseUserRoleAssignmentType, - GetAuditLogStreamConfigsItemsType, - GetAuditLogStreamConfigType, - GetConsumedLicensesType, - GetLicenseSyncStatusType, + EnterpriseTeamTypeForResponse, + EnterpriseUserRoleAssignmentTypeForResponse, + GetAuditLogStreamConfigsItemsTypeForResponse, + GetAuditLogStreamConfigTypeForResponse, + GetConsumedLicensesTypeForResponse, + GetLicenseSyncStatusTypeForResponse, GoogleCloudConfigType, GroupPropMembersItemsType, GroupType, HecConfigType, - NetworkConfigurationType, - NetworkSettingsType, + NetworkConfigurationTypeForResponse, + NetworkSettingsTypeForResponse, OrganizationCustomPropertyPayloadType, OrganizationCustomPropertyType, + OrganizationCustomPropertyTypeForResponse, PatchSchemaPropOperationsItemsType, PatchSchemaType, - PushRuleBypassRequestType, - RulesetVersionType, - RulesetVersionWithStateType, - RunnerApplicationType, - RunnerGroupsEnterpriseType, - RunnerType, - ScimEnterpriseGroupListType, - ScimEnterpriseGroupResponseType, - ScimEnterpriseUserListType, - ScimEnterpriseUserResponseType, + PushRuleBypassRequestTypeForResponse, + RulesetVersionTypeForResponse, + RulesetVersionWithStateTypeForResponse, + RunnerApplicationTypeForResponse, + RunnerGroupsEnterpriseTypeForResponse, + RunnerTypeForResponse, + ScimEnterpriseGroupListTypeForResponse, + ScimEnterpriseGroupResponseTypeForResponse, + ScimEnterpriseUserListTypeForResponse, + ScimEnterpriseUserResponseTypeForResponse, SelectedActionsType, + SelectedActionsTypeForResponse, SplunkConfigType, UserEmailsItemsType, UserNameType, @@ -180,7 +184,9 @@ def disable_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsType]: + ) -> Response[ + EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsTypeForResponse + ]: """enterprise-admin/disable-access-restrictions POST /enterprises/{enterprise}/access-restrictions/disable @@ -215,7 +221,9 @@ async def async_disable_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsType]: + ) -> Response[ + EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsTypeForResponse + ]: """enterprise-admin/disable-access-restrictions POST /enterprises/{enterprise}/access-restrictions/disable @@ -250,7 +258,9 @@ def enable_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsType]: + ) -> Response[ + EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsTypeForResponse + ]: """enterprise-admin/enable-access-restrictions POST /enterprises/{enterprise}/access-restrictions/enable @@ -285,7 +295,9 @@ async def async_enable_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsType]: + ) -> Response[ + EnterpriseAccessRestrictions, EnterpriseAccessRestrictionsTypeForResponse + ]: """enterprise-admin/enable-access-restrictions POST /enterprises/{enterprise}/access-restrictions/enable @@ -320,7 +332,9 @@ def get_github_actions_permissions_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsEnterprisePermissions, ActionsEnterprisePermissionsType]: + ) -> Response[ + ActionsEnterprisePermissions, ActionsEnterprisePermissionsTypeForResponse + ]: """enterprise-admin/get-github-actions-permissions-enterprise GET /enterprises/{enterprise}/actions/permissions @@ -352,7 +366,9 @@ async def async_get_github_actions_permissions_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsEnterprisePermissions, ActionsEnterprisePermissionsType]: + ) -> Response[ + ActionsEnterprisePermissions, ActionsEnterprisePermissionsTypeForResponse + ]: """enterprise-admin/get-github-actions-permissions-enterprise GET /enterprises/{enterprise}/actions/permissions @@ -522,7 +538,7 @@ def get_artifact_and_log_retention_settings( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """enterprise-admin/get-artifact-and-log-retention-settings @@ -560,7 +576,7 @@ async def async_get_artifact_and_log_retention_settings( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """enterprise-admin/get-artifact-and-log-retention-settings @@ -733,7 +749,8 @@ def get_fork_pr_contributor_approval_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """enterprise-admin/get-fork-pr-contributor-approval-permissions @@ -768,7 +785,8 @@ async def async_get_fork_pr_contributor_approval_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """enterprise-admin/get-fork-pr-contributor-approval-permissions @@ -951,7 +969,8 @@ def get_private_repo_fork_pr_workflows_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """enterprise-admin/get-private-repo-fork-pr-workflows-settings @@ -986,7 +1005,8 @@ async def async_get_private_repo_fork_pr_workflows_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """enterprise-admin/get-private-repo-fork-pr-workflows-settings @@ -1170,7 +1190,7 @@ def list_selected_organizations_enabled_github_actions_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200, - EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type, + EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse, ]: """enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise @@ -1215,7 +1235,7 @@ async def async_list_selected_organizations_enabled_github_actions_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200, - EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type, + EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse, ]: """enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise @@ -1512,7 +1532,7 @@ def get_allowed_actions_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """enterprise-admin/get-allowed-actions-enterprise GET /enterprises/{enterprise}/actions/permissions/selected-actions @@ -1544,7 +1564,7 @@ async def async_get_allowed_actions_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """enterprise-admin/get-allowed-actions-enterprise GET /enterprises/{enterprise}/actions/permissions/selected-actions @@ -1710,7 +1730,7 @@ def get_self_hosted_runners_permissions( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200, - EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/get-self-hosted-runners-permissions @@ -1749,7 +1769,7 @@ async def async_get_self_hosted_runners_permissions( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200, - EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type, + EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/get-self-hosted-runners-permissions @@ -1939,7 +1959,7 @@ def list_self_hosted_runner_groups_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runner-groups-for-enterprise @@ -1984,7 +2004,7 @@ async def async_list_self_hosted_runner_groups_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runner-groups-for-enterprise @@ -2026,7 +2046,7 @@ def create_self_hosted_runner_group_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... @overload def create_self_hosted_runner_group_for_enterprise( @@ -2044,7 +2064,7 @@ def create_self_hosted_runner_group_for_enterprise( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... def create_self_hosted_runner_group_for_enterprise( self, @@ -2054,7 +2074,7 @@ def create_self_hosted_runner_group_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/create-self-hosted-runner-group-for-enterprise POST /enterprises/{enterprise}/actions/runner-groups @@ -2103,7 +2123,7 @@ async def async_create_self_hosted_runner_group_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... @overload async def async_create_self_hosted_runner_group_for_enterprise( @@ -2121,7 +2141,7 @@ async def async_create_self_hosted_runner_group_for_enterprise( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... async def async_create_self_hosted_runner_group_for_enterprise( self, @@ -2131,7 +2151,7 @@ async def async_create_self_hosted_runner_group_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/create-self-hosted-runner-group-for-enterprise POST /enterprises/{enterprise}/actions/runner-groups @@ -2179,7 +2199,7 @@ def get_self_hosted_runner_group_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/get-self-hosted-runner-group-for-enterprise GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} @@ -2212,7 +2232,7 @@ async def async_get_self_hosted_runner_group_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/get-self-hosted-runner-group-for-enterprise GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} @@ -2309,7 +2329,7 @@ def update_self_hosted_runner_group_for_enterprise( data: Missing[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType ] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... @overload def update_self_hosted_runner_group_for_enterprise( @@ -2326,7 +2346,7 @@ def update_self_hosted_runner_group_for_enterprise( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... def update_self_hosted_runner_group_for_enterprise( self, @@ -2339,7 +2359,7 @@ def update_self_hosted_runner_group_for_enterprise( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/update-self-hosted-runner-group-for-enterprise PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} @@ -2391,7 +2411,7 @@ async def async_update_self_hosted_runner_group_for_enterprise( data: Missing[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType ] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... @overload async def async_update_self_hosted_runner_group_for_enterprise( @@ -2408,7 +2428,7 @@ async def async_update_self_hosted_runner_group_for_enterprise( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: ... + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: ... async def async_update_self_hosted_runner_group_for_enterprise( self, @@ -2421,7 +2441,7 @@ async def async_update_self_hosted_runner_group_for_enterprise( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseType]: + ) -> Response[RunnerGroupsEnterprise, RunnerGroupsEnterpriseTypeForResponse]: """enterprise-admin/update-self-hosted-runner-group-for-enterprise PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} @@ -2473,7 +2493,7 @@ def list_org_access_to_self_hosted_runner_group_in_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse, ]: """enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise @@ -2519,7 +2539,7 @@ async def async_list_org_access_to_self_hosted_runner_group_in_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse, ]: """enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise @@ -2837,7 +2857,7 @@ def list_self_hosted_runners_in_group_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runners-in-group-for-enterprise @@ -2885,7 +2905,7 @@ async def async_list_self_hosted_runners_in_group_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runners-in-group-for-enterprise @@ -3209,7 +3229,7 @@ def list_self_hosted_runners_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersGetResponse200, - EnterprisesEnterpriseActionsRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runners-for-enterprise @@ -3254,7 +3274,7 @@ async def async_list_self_hosted_runners_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersGetResponse200, - EnterprisesEnterpriseActionsRunnersGetResponse200Type, + EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse, ]: """enterprise-admin/list-self-hosted-runners-for-enterprise @@ -3294,7 +3314,7 @@ def list_runner_applications_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """enterprise-admin/list-runner-applications-for-enterprise GET /enterprises/{enterprise}/actions/runners/downloads @@ -3326,7 +3346,7 @@ async def async_list_runner_applications_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """enterprise-admin/list-runner-applications-for-enterprise GET /enterprises/{enterprise}/actions/runners/downloads @@ -3358,7 +3378,7 @@ def create_registration_token_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """enterprise-admin/create-registration-token-for-enterprise POST /enterprises/{enterprise}/actions/runners/registration-token @@ -3398,7 +3418,7 @@ async def async_create_registration_token_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """enterprise-admin/create-registration-token-for-enterprise POST /enterprises/{enterprise}/actions/runners/registration-token @@ -3438,7 +3458,7 @@ def create_remove_token_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """enterprise-admin/create-remove-token-for-enterprise POST /enterprises/{enterprise}/actions/runners/remove-token @@ -3479,7 +3499,7 @@ async def async_create_remove_token_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """enterprise-admin/create-remove-token-for-enterprise POST /enterprises/{enterprise}/actions/runners/remove-token @@ -3521,7 +3541,7 @@ def get_self_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """enterprise-admin/get-self-hosted-runner-for-enterprise GET /enterprises/{enterprise}/actions/runners/{runner_id} @@ -3554,7 +3574,7 @@ async def async_get_self_hosted_runner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """enterprise-admin/get-self-hosted-runner-for-enterprise GET /enterprises/{enterprise}/actions/runners/{runner_id} @@ -3659,7 +3679,7 @@ def list_labels_for_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/list-labels-for-self-hosted-runner-for-enterprise @@ -3701,7 +3721,7 @@ async def async_list_labels_for_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/list-labels-for-self-hosted-runner-for-enterprise @@ -3745,7 +3765,7 @@ def set_custom_labels_for_self_hosted_runner_for_enterprise( data: EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -3760,7 +3780,7 @@ def set_custom_labels_for_self_hosted_runner_for_enterprise( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def set_custom_labels_for_self_hosted_runner_for_enterprise( @@ -3776,7 +3796,7 @@ def set_custom_labels_for_self_hosted_runner_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/set-custom-labels-for-self-hosted-runner-for-enterprise @@ -3836,7 +3856,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_enterprise( data: EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -3851,7 +3871,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_enterprise( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_set_custom_labels_for_self_hosted_runner_for_enterprise( @@ -3867,7 +3887,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/set-custom-labels-for-self-hosted-runner-for-enterprise @@ -3927,7 +3947,7 @@ def add_custom_labels_to_self_hosted_runner_for_enterprise( data: EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -3942,7 +3962,7 @@ def add_custom_labels_to_self_hosted_runner_for_enterprise( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def add_custom_labels_to_self_hosted_runner_for_enterprise( @@ -3958,7 +3978,7 @@ def add_custom_labels_to_self_hosted_runner_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/add-custom-labels-to-self-hosted-runner-for-enterprise @@ -4017,7 +4037,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_enterprise( data: EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -4032,7 +4052,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_enterprise( labels: list[str], ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_add_custom_labels_to_self_hosted_runner_for_enterprise( @@ -4048,7 +4068,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/add-custom-labels-to-self-hosted-runner-for-enterprise @@ -4105,7 +4125,7 @@ def remove_all_custom_labels_from_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """enterprise-admin/remove-all-custom-labels-from-self-hosted-runner-for-enterprise @@ -4150,7 +4170,7 @@ async def async_remove_all_custom_labels_from_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """enterprise-admin/remove-all-custom-labels-from-self-hosted-runner-for-enterprise @@ -4196,7 +4216,7 @@ def remove_custom_label_from_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/remove-custom-label-from-self-hosted-runner-for-enterprise @@ -4245,7 +4265,7 @@ async def async_remove_custom_label_from_self_hosted_runner_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200, - EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """enterprise-admin/remove-custom-label-from-self-hosted-runner-for-enterprise @@ -4290,7 +4310,7 @@ def get_announcement_banner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/get-announcement-banner-for-enterprise GET /enterprises/{enterprise}/announcement @@ -4320,7 +4340,7 @@ async def async_get_announcement_banner_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/get-announcement-banner-for-enterprise GET /enterprises/{enterprise}/announcement @@ -4406,7 +4426,7 @@ def set_announcement_banner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AnnouncementType, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... @overload def set_announcement_banner_for_enterprise( @@ -4419,7 +4439,7 @@ def set_announcement_banner_for_enterprise( announcement: Union[str, None], expires_at: Missing[Union[datetime, None]] = UNSET, user_dismissible: Missing[Union[bool, None]] = UNSET, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... def set_announcement_banner_for_enterprise( self, @@ -4429,7 +4449,7 @@ def set_announcement_banner_for_enterprise( stream: bool = False, data: Missing[AnnouncementType] = UNSET, **kwargs, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/set-announcement-banner-for-enterprise PATCH /enterprises/{enterprise}/announcement @@ -4471,7 +4491,7 @@ async def async_set_announcement_banner_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AnnouncementType, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... @overload async def async_set_announcement_banner_for_enterprise( @@ -4484,7 +4504,7 @@ async def async_set_announcement_banner_for_enterprise( announcement: Union[str, None], expires_at: Missing[Union[datetime, None]] = UNSET, user_dismissible: Missing[Union[bool, None]] = UNSET, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... async def async_set_announcement_banner_for_enterprise( self, @@ -4494,7 +4514,7 @@ async def async_set_announcement_banner_for_enterprise( stream: bool = False, data: Missing[AnnouncementType] = UNSET, **kwargs, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/set-announcement-banner-for-enterprise PATCH /enterprises/{enterprise}/announcement @@ -4541,7 +4561,7 @@ def get_audit_log( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AuditLogEvent], list[AuditLogEventType]]: + ) -> Response[list[AuditLogEvent], list[AuditLogEventTypeForResponse]]: """enterprise-admin/get-audit-log GET /enterprises/{enterprise}/audit-log @@ -4595,7 +4615,7 @@ async def async_get_audit_log( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AuditLogEvent], list[AuditLogEventType]]: + ) -> Response[list[AuditLogEvent], list[AuditLogEventTypeForResponse]]: """enterprise-admin/get-audit-log GET /enterprises/{enterprise}/audit-log @@ -4642,7 +4662,7 @@ def get_audit_log_stream_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuditLogStreamKey, AuditLogStreamKeyType]: + ) -> Response[AuditLogStreamKey, AuditLogStreamKeyTypeForResponse]: """enterprise-admin/get-audit-log-stream-key GET /enterprises/{enterprise}/audit-log/stream-key @@ -4674,7 +4694,7 @@ async def async_get_audit_log_stream_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuditLogStreamKey, AuditLogStreamKeyType]: + ) -> Response[AuditLogStreamKey, AuditLogStreamKeyTypeForResponse]: """enterprise-admin/get-audit-log-stream-key GET /enterprises/{enterprise}/audit-log/stream-key @@ -4707,7 +4727,8 @@ def get_audit_log_streams( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[GetAuditLogStreamConfigsItems], list[GetAuditLogStreamConfigsItemsType] + list[GetAuditLogStreamConfigsItems], + list[GetAuditLogStreamConfigsItemsTypeForResponse], ]: """enterprise-admin/get-audit-log-streams @@ -4742,7 +4763,8 @@ async def async_get_audit_log_streams( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[GetAuditLogStreamConfigsItems], list[GetAuditLogStreamConfigsItemsType] + list[GetAuditLogStreamConfigsItems], + list[GetAuditLogStreamConfigsItemsTypeForResponse], ]: """enterprise-admin/get-audit-log-streams @@ -4778,7 +4800,7 @@ def create_audit_log_stream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAuditLogStreamsPostBodyType, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... @overload def create_audit_log_stream( @@ -4808,7 +4830,7 @@ def create_audit_log_stream( GoogleCloudConfigType, DatadogConfigType, ], - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... def create_audit_log_stream( self, @@ -4818,7 +4840,7 @@ def create_audit_log_stream( stream: bool = False, data: Missing[EnterprisesEnterpriseAuditLogStreamsPostBodyType] = UNSET, **kwargs, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/create-audit-log-stream POST /enterprises/{enterprise}/audit-log/streams @@ -4867,7 +4889,7 @@ async def async_create_audit_log_stream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAuditLogStreamsPostBodyType, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... @overload async def async_create_audit_log_stream( @@ -4897,7 +4919,7 @@ async def async_create_audit_log_stream( GoogleCloudConfigType, DatadogConfigType, ], - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... async def async_create_audit_log_stream( self, @@ -4907,7 +4929,7 @@ async def async_create_audit_log_stream( stream: bool = False, data: Missing[EnterprisesEnterpriseAuditLogStreamsPostBodyType] = UNSET, **kwargs, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/create-audit-log-stream POST /enterprises/{enterprise}/audit-log/streams @@ -4955,7 +4977,7 @@ def get_one_audit_log_stream( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/get-one-audit-log-stream GET /enterprises/{enterprise}/audit-log/streams/{stream_id} @@ -4988,7 +5010,7 @@ async def async_get_one_audit_log_stream( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/get-one-audit-log-stream GET /enterprises/{enterprise}/audit-log/streams/{stream_id} @@ -5023,7 +5045,7 @@ def update_audit_log_stream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... @overload def update_audit_log_stream( @@ -5054,7 +5076,7 @@ def update_audit_log_stream( GoogleCloudConfigType, DatadogConfigType, ], - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... def update_audit_log_stream( self, @@ -5065,7 +5087,7 @@ def update_audit_log_stream( stream: bool = False, data: Missing[EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType] = UNSET, **kwargs, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/update-audit-log-stream PUT /enterprises/{enterprise}/audit-log/streams/{stream_id} @@ -5119,7 +5141,7 @@ async def async_update_audit_log_stream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... @overload async def async_update_audit_log_stream( @@ -5150,7 +5172,7 @@ async def async_update_audit_log_stream( GoogleCloudConfigType, DatadogConfigType, ], - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: ... + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: ... async def async_update_audit_log_stream( self, @@ -5161,7 +5183,7 @@ async def async_update_audit_log_stream( stream: bool = False, data: Missing[EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType] = UNSET, **kwargs, - ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigType]: + ) -> Response[GetAuditLogStreamConfig, GetAuditLogStreamConfigTypeForResponse]: """enterprise-admin/update-audit-log-stream PUT /enterprises/{enterprise}/audit-log/streams/{stream_id} @@ -5290,7 +5312,9 @@ def list_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """enterprise-admin/list-push-bypass-requests GET /enterprises/{enterprise}/bypass-requests/push-rules @@ -5353,7 +5377,9 @@ async def async_list_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """enterprise-admin/list-push-bypass-requests GET /enterprises/{enterprise}/bypass-requests/push-rules @@ -5399,7 +5425,8 @@ def get_security_analysis_settings_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - EnterpriseSecurityAnalysisSettings, EnterpriseSecurityAnalysisSettingsType + EnterpriseSecurityAnalysisSettings, + EnterpriseSecurityAnalysisSettingsTypeForResponse, ]: """DEPRECATED secret-scanning/get-security-analysis-settings-for-enterprise @@ -5441,7 +5468,8 @@ async def async_get_security_analysis_settings_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - EnterpriseSecurityAnalysisSettings, EnterpriseSecurityAnalysisSettingsType + EnterpriseSecurityAnalysisSettings, + EnterpriseSecurityAnalysisSettingsTypeForResponse, ]: """DEPRECATED secret-scanning/get-security-analysis-settings-for-enterprise @@ -5666,7 +5694,7 @@ def get_consumed_licenses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetConsumedLicenses, GetConsumedLicensesType]: + ) -> Response[GetConsumedLicenses, GetConsumedLicensesTypeForResponse]: """enterprise-admin/get-consumed-licenses GET /enterprises/{enterprise}/consumed-licenses @@ -5708,7 +5736,7 @@ async def async_get_consumed_licenses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetConsumedLicenses, GetConsumedLicensesType]: + ) -> Response[GetConsumedLicenses, GetConsumedLicensesTypeForResponse]: """enterprise-admin/get-consumed-licenses GET /enterprises/{enterprise}/consumed-licenses @@ -5750,7 +5778,7 @@ def list_enterprise_roles( stream: bool = False, ) -> Response[ EnterprisesEnterpriseEnterpriseRolesGetResponse200, - EnterprisesEnterpriseEnterpriseRolesGetResponse200Type, + EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse, ]: """enterprise-admin/list-enterprise-roles @@ -5797,7 +5825,7 @@ async def async_list_enterprise_roles( stream: bool = False, ) -> Response[ EnterprisesEnterpriseEnterpriseRolesGetResponse200, - EnterprisesEnterpriseEnterpriseRolesGetResponse200Type, + EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse, ]: """enterprise-admin/list-enterprise-roles @@ -6343,7 +6371,7 @@ def get_enterprise_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseRole, EnterpriseRoleType]: + ) -> Response[EnterpriseRole, EnterpriseRoleTypeForResponse]: """enterprise-admin/get-enterprise-role GET /enterprises/{enterprise}/enterprise-roles/{role_id} @@ -6385,7 +6413,7 @@ async def async_get_enterprise_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseRole, EnterpriseRoleType]: + ) -> Response[EnterpriseRole, EnterpriseRoleTypeForResponse]: """enterprise-admin/get-enterprise-role GET /enterprises/{enterprise}/enterprise-roles/{role_id} @@ -6429,7 +6457,7 @@ def list_enterprise_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-admin/list-enterprise-role-teams GET /enterprises/{enterprise}/enterprise-roles/{role_id}/teams @@ -6479,7 +6507,7 @@ async def async_list_enterprise_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-admin/list-enterprise-role-teams GET /enterprises/{enterprise}/enterprise-roles/{role_id}/teams @@ -6530,7 +6558,8 @@ def list_enterprise_role_users( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[EnterpriseUserRoleAssignment], list[EnterpriseUserRoleAssignmentType] + list[EnterpriseUserRoleAssignment], + list[EnterpriseUserRoleAssignmentTypeForResponse], ]: """enterprise-admin/list-enterprise-role-users @@ -6582,7 +6611,8 @@ async def async_list_enterprise_role_users( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[EnterpriseUserRoleAssignment], list[EnterpriseUserRoleAssignmentType] + list[EnterpriseUserRoleAssignment], + list[EnterpriseUserRoleAssignmentTypeForResponse], ]: """enterprise-admin/list-enterprise-role-users @@ -6630,7 +6660,7 @@ def get_license_sync_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetLicenseSyncStatus, GetLicenseSyncStatusType]: + ) -> Response[GetLicenseSyncStatus, GetLicenseSyncStatusTypeForResponse]: """enterprise-admin/get-license-sync-status GET /enterprises/{enterprise}/license-sync-status @@ -6664,7 +6694,7 @@ async def async_get_license_sync_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetLicenseSyncStatus, GetLicenseSyncStatusType]: + ) -> Response[GetLicenseSyncStatus, GetLicenseSyncStatusTypeForResponse]: """enterprise-admin/get-license-sync-status GET /enterprises/{enterprise}/license-sync-status @@ -6702,7 +6732,7 @@ def list_network_configurations_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseNetworkConfigurationsGetResponse200, - EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type, + EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-enterprise @@ -6743,7 +6773,7 @@ async def async_list_network_configurations_for_enterprise( stream: bool = False, ) -> Response[ EnterprisesEnterpriseNetworkConfigurationsGetResponse200, - EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type, + EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-enterprise @@ -6782,7 +6812,7 @@ def create_network_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def create_network_configuration_for_enterprise( @@ -6795,7 +6825,7 @@ def create_network_configuration_for_enterprise( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def create_network_configuration_for_enterprise( self, @@ -6805,7 +6835,7 @@ def create_network_configuration_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-enterprise POST /enterprises/{enterprise}/network-configurations @@ -6852,7 +6882,7 @@ async def async_create_network_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_create_network_configuration_for_enterprise( @@ -6865,7 +6895,7 @@ async def async_create_network_configuration_for_enterprise( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_create_network_configuration_for_enterprise( self, @@ -6875,7 +6905,7 @@ async def async_create_network_configuration_for_enterprise( stream: bool = False, data: Missing[EnterprisesEnterpriseNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-enterprise POST /enterprises/{enterprise}/network-configurations @@ -6921,7 +6951,7 @@ def get_network_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-enterprise GET /enterprises/{enterprise}/network-configurations/{network_configuration_id} @@ -6952,7 +6982,7 @@ async def async_get_network_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-enterprise GET /enterprises/{enterprise}/network-configurations/{network_configuration_id} @@ -7041,7 +7071,7 @@ def update_network_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def update_network_configuration_for_enterprise( @@ -7055,7 +7085,7 @@ def update_network_configuration_for_enterprise( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def update_network_configuration_for_enterprise( self, @@ -7068,7 +7098,7 @@ def update_network_configuration_for_enterprise( EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-enterprise PATCH /enterprises/{enterprise}/network-configurations/{network_configuration_id} @@ -7117,7 +7147,7 @@ async def async_update_network_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_update_network_configuration_for_enterprise( @@ -7131,7 +7161,7 @@ async def async_update_network_configuration_for_enterprise( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_update_network_configuration_for_enterprise( self, @@ -7144,7 +7174,7 @@ async def async_update_network_configuration_for_enterprise( EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-enterprise PATCH /enterprises/{enterprise}/network-configurations/{network_configuration_id} @@ -7191,7 +7221,7 @@ def get_network_settings_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-enterprise GET /enterprises/{enterprise}/network-settings/{network_settings_id} @@ -7222,7 +7252,7 @@ async def async_get_network_settings_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-enterprise GET /enterprises/{enterprise}/network-settings/{network_settings_id} @@ -7253,7 +7283,8 @@ def custom_properties_for_orgs_get_enterprise_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-definitions @@ -7294,7 +7325,8 @@ async def async_custom_properties_for_orgs_get_enterprise_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-definitions @@ -7337,7 +7369,8 @@ def custom_properties_for_orgs_create_or_update_enterprise_definitions( stream: bool = False, data: EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: ... @overload @@ -7350,7 +7383,8 @@ def custom_properties_for_orgs_create_or_update_enterprise_definitions( stream: bool = False, properties: list[OrganizationCustomPropertyType], ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: ... def custom_properties_for_orgs_create_or_update_enterprise_definitions( @@ -7362,7 +7396,8 @@ def custom_properties_for_orgs_create_or_update_enterprise_definitions( data: Missing[EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definitions @@ -7426,7 +7461,8 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio stream: bool = False, data: EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: ... @overload @@ -7439,7 +7475,8 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio stream: bool = False, properties: list[OrganizationCustomPropertyType], ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: ... async def async_custom_properties_for_orgs_create_or_update_enterprise_definitions( @@ -7451,7 +7488,8 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio data: Missing[EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, ) -> Response[ - list[OrganizationCustomProperty], list[OrganizationCustomPropertyType] + list[OrganizationCustomProperty], + list[OrganizationCustomPropertyTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definitions @@ -7513,7 +7551,9 @@ def custom_properties_for_orgs_get_enterprise_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-definition GET /enterprises/{enterprise}/org-properties/schema/{custom_property_name} @@ -7553,7 +7593,9 @@ async def async_custom_properties_for_orgs_get_enterprise_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-definition GET /enterprises/{enterprise}/org-properties/schema/{custom_property_name} @@ -7595,7 +7637,9 @@ def custom_properties_for_orgs_create_or_update_enterprise_definition( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomPropertyPayloadType, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: ... + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: ... @overload def custom_properties_for_orgs_create_or_update_enterprise_definition( @@ -7614,7 +7658,9 @@ def custom_properties_for_orgs_create_or_update_enterprise_definition( values_editable_by: Missing[ Union[None, Literal["enterprise_actors", "enterprise_and_org_actors"]] ] = UNSET, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: ... + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: ... def custom_properties_for_orgs_create_or_update_enterprise_definition( self, @@ -7625,7 +7671,9 @@ def custom_properties_for_orgs_create_or_update_enterprise_definition( stream: bool = False, data: Missing[OrganizationCustomPropertyPayloadType] = UNSET, **kwargs, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: """enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definition PUT /enterprises/{enterprise}/org-properties/schema/{custom_property_name} @@ -7683,7 +7731,9 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomPropertyPayloadType, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: ... + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: ... @overload async def async_custom_properties_for_orgs_create_or_update_enterprise_definition( @@ -7702,7 +7752,9 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio values_editable_by: Missing[ Union[None, Literal["enterprise_actors", "enterprise_and_org_actors"]] ] = UNSET, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: ... + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: ... async def async_custom_properties_for_orgs_create_or_update_enterprise_definition( self, @@ -7713,7 +7765,9 @@ async def async_custom_properties_for_orgs_create_or_update_enterprise_definitio stream: bool = False, data: Missing[OrganizationCustomPropertyPayloadType] = UNSET, **kwargs, - ) -> Response[OrganizationCustomProperty, OrganizationCustomPropertyType]: + ) -> Response[ + OrganizationCustomProperty, OrganizationCustomPropertyTypeForResponse + ]: """enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definition PUT /enterprises/{enterprise}/org-properties/schema/{custom_property_name} @@ -7852,7 +7906,7 @@ def custom_properties_for_orgs_get_enterprise_values( stream: bool = False, ) -> Response[ list[CustomPropertiesForOrgsGetEnterprisePropertyValues], - list[CustomPropertiesForOrgsGetEnterprisePropertyValuesType], + list[CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-values @@ -7905,7 +7959,7 @@ async def async_custom_properties_for_orgs_get_enterprise_values( stream: bool = False, ) -> Response[ list[CustomPropertiesForOrgsGetEnterprisePropertyValues], - list[CustomPropertiesForOrgsGetEnterprisePropertyValuesType], + list[CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse], ]: """enterprise-admin/custom-properties-for-orgs-get-enterprise-values @@ -8116,7 +8170,7 @@ def custom_properties_for_repos_get_enterprise_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """enterprise-admin/custom-properties-for-repos-get-enterprise-definitions GET /enterprises/{enterprise}/properties/schema @@ -8151,7 +8205,7 @@ async def async_custom_properties_for_repos_get_enterprise_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """enterprise-admin/custom-properties-for-repos-get-enterprise-definitions GET /enterprises/{enterprise}/properties/schema @@ -8188,7 +8242,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterprisePropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload def custom_properties_for_repos_create_or_update_enterprise_definitions( @@ -8199,7 +8253,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... def custom_properties_for_repos_create_or_update_enterprise_definitions( self, @@ -8209,7 +8263,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definitions( stream: bool = False, data: Missing[EnterprisesEnterprisePropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definitions PATCH /enterprises/{enterprise}/properties/schema @@ -8267,7 +8321,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterprisePropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload async def async_custom_properties_for_repos_create_or_update_enterprise_definitions( @@ -8278,7 +8332,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... async def async_custom_properties_for_repos_create_or_update_enterprise_definitions( self, @@ -8288,7 +8342,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti stream: bool = False, data: Missing[EnterprisesEnterprisePropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definitions PATCH /enterprises/{enterprise}/properties/schema @@ -8346,7 +8400,7 @@ def custom_properties_for_repos_promote_definition_to_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-promote-definition-to-enterprise PUT /enterprises/{enterprise}/properties/schema/organizations/{org}/{custom_property_name}/promote @@ -8384,7 +8438,7 @@ async def async_custom_properties_for_repos_promote_definition_to_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-promote-definition-to-enterprise PUT /enterprises/{enterprise}/properties/schema/organizations/{org}/{custom_property_name}/promote @@ -8421,7 +8475,7 @@ def custom_properties_for_repos_get_enterprise_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-get-enterprise-definition GET /enterprises/{enterprise}/properties/schema/{custom_property_name} @@ -8457,7 +8511,7 @@ async def async_custom_properties_for_repos_get_enterprise_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-get-enterprise-definition GET /enterprises/{enterprise}/properties/schema/{custom_property_name} @@ -8495,7 +8549,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definition( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload def custom_properties_for_repos_create_or_update_enterprise_definition( @@ -8514,7 +8568,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definition( values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... def custom_properties_for_repos_create_or_update_enterprise_definition( self, @@ -8525,7 +8579,7 @@ def custom_properties_for_repos_create_or_update_enterprise_definition( stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definition PUT /enterprises/{enterprise}/properties/schema/{custom_property_name} @@ -8574,7 +8628,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload async def async_custom_properties_for_repos_create_or_update_enterprise_definition( @@ -8593,7 +8647,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... async def async_custom_properties_for_repos_create_or_update_enterprise_definition( self, @@ -8604,7 +8658,7 @@ async def async_custom_properties_for_repos_create_or_update_enterprise_definiti stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """enterprise-admin/custom-properties-for-repos-create-or-update-enterprise-definition PUT /enterprises/{enterprise}/properties/schema/{custom_property_name} @@ -8725,7 +8779,7 @@ def get_enterprise_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """enterprise-admin/get-enterprise-ruleset-history GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history @@ -8768,7 +8822,7 @@ async def async_get_enterprise_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """enterprise-admin/get-enterprise-ruleset-history GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history @@ -8810,7 +8864,7 @@ def get_enterprise_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """enterprise-admin/get-enterprise-ruleset-version GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id} @@ -8846,7 +8900,7 @@ async def async_get_enterprise_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """enterprise-admin/get-enterprise-ruleset-version GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id} @@ -8980,7 +9034,7 @@ def list_provisioned_groups_enterprise( count: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseGroupList, ScimEnterpriseGroupListType]: + ) -> Response[ScimEnterpriseGroupList, ScimEnterpriseGroupListTypeForResponse]: """enterprise-admin/list-provisioned-groups-enterprise GET /scim/v2/enterprises/{enterprise}/Groups @@ -9029,7 +9083,7 @@ async def async_list_provisioned_groups_enterprise( count: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseGroupList, ScimEnterpriseGroupListType]: + ) -> Response[ScimEnterpriseGroupList, ScimEnterpriseGroupListTypeForResponse]: """enterprise-admin/list-provisioned-groups-enterprise GET /scim/v2/enterprises/{enterprise}/Groups @@ -9076,7 +9130,9 @@ def provision_enterprise_group( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GroupType, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... @overload def provision_enterprise_group( @@ -9090,7 +9146,9 @@ def provision_enterprise_group( external_id: str, display_name: str, members: Missing[list[GroupPropMembersItemsType]] = UNSET, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... def provision_enterprise_group( self, @@ -9100,7 +9158,9 @@ def provision_enterprise_group( stream: bool = False, data: Missing[GroupType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/provision-enterprise-group POST /scim/v2/enterprises/{enterprise}/Groups @@ -9149,7 +9209,9 @@ async def async_provision_enterprise_group( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GroupType, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... @overload async def async_provision_enterprise_group( @@ -9163,7 +9225,9 @@ async def async_provision_enterprise_group( external_id: str, display_name: str, members: Missing[list[GroupPropMembersItemsType]] = UNSET, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... async def async_provision_enterprise_group( self, @@ -9173,7 +9237,9 @@ async def async_provision_enterprise_group( stream: bool = False, data: Missing[GroupType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/provision-enterprise-group POST /scim/v2/enterprises/{enterprise}/Groups @@ -9222,7 +9288,9 @@ def get_provisioning_information_for_enterprise_group( excluded_attributes: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/get-provisioning-information-for-enterprise-group GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} @@ -9265,7 +9333,9 @@ async def async_get_provisioning_information_for_enterprise_group( excluded_attributes: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/get-provisioning-information-for-enterprise-group GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} @@ -9309,7 +9379,9 @@ def set_information_for_provisioned_enterprise_group( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GroupType, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... @overload def set_information_for_provisioned_enterprise_group( @@ -9324,7 +9396,9 @@ def set_information_for_provisioned_enterprise_group( external_id: str, display_name: str, members: Missing[list[GroupPropMembersItemsType]] = UNSET, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... def set_information_for_provisioned_enterprise_group( self, @@ -9335,7 +9409,9 @@ def set_information_for_provisioned_enterprise_group( stream: bool = False, data: Missing[GroupType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/set-information-for-provisioned-enterprise-group PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} @@ -9386,7 +9462,9 @@ async def async_set_information_for_provisioned_enterprise_group( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GroupType, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... @overload async def async_set_information_for_provisioned_enterprise_group( @@ -9401,7 +9479,9 @@ async def async_set_information_for_provisioned_enterprise_group( external_id: str, display_name: str, members: Missing[list[GroupPropMembersItemsType]] = UNSET, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: ... + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: ... async def async_set_information_for_provisioned_enterprise_group( self, @@ -9412,7 +9492,9 @@ async def async_set_information_for_provisioned_enterprise_group( stream: bool = False, data: Missing[GroupType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseType]: + ) -> Response[ + ScimEnterpriseGroupResponse, ScimEnterpriseGroupResponseTypeForResponse + ]: """enterprise-admin/set-information-for-provisioned-enterprise-group PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} @@ -9693,7 +9775,7 @@ def list_provisioned_identities_enterprise( count: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseUserList, ScimEnterpriseUserListType]: + ) -> Response[ScimEnterpriseUserList, ScimEnterpriseUserListTypeForResponse]: """enterprise-admin/list-provisioned-identities-enterprise GET /scim/v2/enterprises/{enterprise}/Users @@ -9740,7 +9822,7 @@ async def async_list_provisioned_identities_enterprise( count: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseUserList, ScimEnterpriseUserListType]: + ) -> Response[ScimEnterpriseUserList, ScimEnterpriseUserListTypeForResponse]: """enterprise-admin/list-provisioned-identities-enterprise GET /scim/v2/enterprises/{enterprise}/Users @@ -9786,7 +9868,9 @@ def provision_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload def provision_enterprise_user( @@ -9804,7 +9888,9 @@ def provision_enterprise_user( display_name: str, emails: list[UserEmailsItemsType], roles: Missing[list[UserRoleItemsType]] = UNSET, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... def provision_enterprise_user( self, @@ -9814,7 +9900,9 @@ def provision_enterprise_user( stream: bool = False, data: Missing[UserType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/provision-enterprise-user POST /scim/v2/enterprises/{enterprise}/Users @@ -9863,7 +9951,9 @@ async def async_provision_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload async def async_provision_enterprise_user( @@ -9881,7 +9971,9 @@ async def async_provision_enterprise_user( display_name: str, emails: list[UserEmailsItemsType], roles: Missing[list[UserRoleItemsType]] = UNSET, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... async def async_provision_enterprise_user( self, @@ -9891,7 +9983,9 @@ async def async_provision_enterprise_user( stream: bool = False, data: Missing[UserType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/provision-enterprise-user POST /scim/v2/enterprises/{enterprise}/Users @@ -9939,7 +10033,9 @@ def get_provisioning_information_for_enterprise_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/get-provisioning-information-for-enterprise-user GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} @@ -9976,7 +10072,9 @@ async def async_get_provisioning_information_for_enterprise_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/get-provisioning-information-for-enterprise-user GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} @@ -10015,7 +10113,9 @@ def set_information_for_provisioned_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload def set_information_for_provisioned_enterprise_user( @@ -10034,7 +10134,9 @@ def set_information_for_provisioned_enterprise_user( display_name: str, emails: list[UserEmailsItemsType], roles: Missing[list[UserRoleItemsType]] = UNSET, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... def set_information_for_provisioned_enterprise_user( self, @@ -10045,7 +10147,9 @@ def set_information_for_provisioned_enterprise_user( stream: bool = False, data: Missing[UserType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/set-information-for-provisioned-enterprise-user PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} @@ -10099,7 +10203,9 @@ async def async_set_information_for_provisioned_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload async def async_set_information_for_provisioned_enterprise_user( @@ -10118,7 +10224,9 @@ async def async_set_information_for_provisioned_enterprise_user( display_name: str, emails: list[UserEmailsItemsType], roles: Missing[list[UserRoleItemsType]] = UNSET, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... async def async_set_information_for_provisioned_enterprise_user( self, @@ -10129,7 +10237,9 @@ async def async_set_information_for_provisioned_enterprise_user( stream: bool = False, data: Missing[UserType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/set-information-for-provisioned-enterprise-user PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} @@ -10255,7 +10365,9 @@ def update_attribute_for_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PatchSchemaType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload def update_attribute_for_enterprise_user( @@ -10268,7 +10380,9 @@ def update_attribute_for_enterprise_user( stream: bool = False, operations: list[PatchSchemaPropOperationsItemsType], schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:PatchOp"]], - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... def update_attribute_for_enterprise_user( self, @@ -10279,7 +10393,9 @@ def update_attribute_for_enterprise_user( stream: bool = False, data: Missing[PatchSchemaType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/update-attribute-for-enterprise-user PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} @@ -10351,7 +10467,9 @@ async def async_update_attribute_for_enterprise_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PatchSchemaType, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... @overload async def async_update_attribute_for_enterprise_user( @@ -10364,7 +10482,9 @@ async def async_update_attribute_for_enterprise_user( stream: bool = False, operations: list[PatchSchemaPropOperationsItemsType], schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:PatchOp"]], - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: ... + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: ... async def async_update_attribute_for_enterprise_user( self, @@ -10375,7 +10495,9 @@ async def async_update_attribute_for_enterprise_user( stream: bool = False, data: Missing[PatchSchemaType] = UNSET, **kwargs, - ) -> Response[ScimEnterpriseUserResponse, ScimEnterpriseUserResponseType]: + ) -> Response[ + ScimEnterpriseUserResponse, ScimEnterpriseUserResponseTypeForResponse + ]: """enterprise-admin/update-attribute-for-enterprise-user PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_memberships.py b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_memberships.py index f3452905b..b680e6bd1 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_memberships.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_memberships.py @@ -29,7 +29,7 @@ from ..types import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - SimpleUserType, + SimpleUserTypeForResponse, ) @@ -57,7 +57,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/list GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships @@ -96,7 +96,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/list GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships @@ -135,7 +135,7 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def bulk_add( @@ -147,7 +147,7 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def bulk_add( self, @@ -160,7 +160,7 @@ def bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add @@ -208,7 +208,7 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_bulk_add( @@ -220,7 +220,7 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_bulk_add( self, @@ -233,7 +233,7 @@ async def async_bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add @@ -281,7 +281,7 @@ def bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def bulk_remove( @@ -293,7 +293,7 @@ def bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def bulk_remove( self, @@ -306,7 +306,7 @@ def bulk_remove( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-remove POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove @@ -354,7 +354,7 @@ async def async_bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_bulk_remove( @@ -366,7 +366,7 @@ async def async_bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_bulk_remove( self, @@ -379,7 +379,7 @@ async def async_bulk_remove( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-remove POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove @@ -426,7 +426,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/get GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -460,7 +460,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/get GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -494,7 +494,7 @@ def add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -528,7 +528,7 @@ async def async_add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_organizations.py b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_organizations.py index 79ab95ff5..265ba3083 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_organizations.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_team_organizations.py @@ -29,7 +29,7 @@ from ..types import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType, - OrganizationSimpleType, + OrganizationSimpleTypeForResponse, ) @@ -57,7 +57,7 @@ def get_assignments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/get-assignments GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations @@ -96,7 +96,7 @@ async def async_get_assignments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/get-assignments GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations @@ -135,7 +135,9 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... @overload def bulk_add( @@ -147,7 +149,9 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, organization_slugs: list[str], - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... def bulk_add( self, @@ -160,7 +164,7 @@ def bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add @@ -208,7 +212,9 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... @overload async def async_bulk_add( @@ -220,7 +226,9 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, organization_slugs: list[str], - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... async def async_bulk_add( self, @@ -233,7 +241,7 @@ async def async_bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add @@ -424,7 +432,7 @@ def get_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/get-assignment GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -457,7 +465,7 @@ async def async_get_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/get-assignment GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -490,7 +498,7 @@ def add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -522,7 +530,7 @@ async def async_add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_teams.py b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_teams.py index 2faa82e3d..b17ffc42c 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/enterprise_teams.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/enterprise_teams.py @@ -31,7 +31,7 @@ from ..types import ( EnterprisesEnterpriseTeamsPostBodyType, EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - EnterpriseTeamType, + EnterpriseTeamTypeForResponse, ) @@ -58,7 +58,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-teams/list GET /enterprises/{enterprise}/teams @@ -99,7 +99,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-teams/list GET /enterprises/{enterprise}/teams @@ -140,7 +140,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsPostBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload def create( @@ -157,7 +157,7 @@ def create( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... def create( self, @@ -167,7 +167,7 @@ def create( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/create POST /enterprises/{enterprise}/teams @@ -209,7 +209,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsPostBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload async def async_create( @@ -226,7 +226,7 @@ async def async_create( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... async def async_create( self, @@ -236,7 +236,7 @@ async def async_create( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/create POST /enterprises/{enterprise}/teams @@ -277,7 +277,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/get GET /enterprises/{enterprise}/teams/{team_slug} @@ -311,7 +311,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/get GET /enterprises/{enterprise}/teams/{team_slug} @@ -417,7 +417,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload def update( @@ -435,7 +435,7 @@ def update( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... def update( self, @@ -446,7 +446,7 @@ def update( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/update PATCH /enterprises/{enterprise}/teams/{team_slug} @@ -498,7 +498,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload async def async_update( @@ -516,7 +516,7 @@ async def async_update( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... async def async_update( self, @@ -527,7 +527,7 @@ async def async_update( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/update PATCH /enterprises/{enterprise}/teams/{team_slug} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/gists.py b/githubkit/versions/ghec_v2022_11_28/rest/gists.py index 1878ed0a2..2bf18592e 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/gists.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/gists.py @@ -30,14 +30,14 @@ from ..models import BaseGist, GistComment, GistCommit, GistSimple from ..types import ( - BaseGistType, - GistCommentType, - GistCommitType, + BaseGistTypeForResponse, + GistCommentTypeForResponse, + GistCommitTypeForResponse, GistsGistIdCommentsCommentIdPatchBodyType, GistsGistIdCommentsPostBodyType, GistsGistIdPatchBodyPropFilesType, GistsGistIdPatchBodyType, - GistSimpleType, + GistSimpleTypeForResponse, GistsPostBodyPropFilesType, GistsPostBodyType, ) @@ -66,7 +66,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list GET /gists @@ -108,7 +108,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list GET /gists @@ -149,7 +149,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsPostBodyType, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload def create( @@ -161,7 +161,7 @@ def create( description: Missing[str] = UNSET, files: GistsPostBodyPropFilesType, public: Missing[Union[bool, Literal["true", "false"]]] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... def create( self, @@ -170,7 +170,7 @@ def create( stream: bool = False, data: Missing[GistsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/create POST /gists @@ -219,7 +219,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsPostBodyType, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload async def async_create( @@ -231,7 +231,7 @@ async def async_create( description: Missing[str] = UNSET, files: GistsPostBodyPropFilesType, public: Missing[Union[bool, Literal["true", "false"]]] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... async def async_create( self, @@ -240,7 +240,7 @@ async def async_create( stream: bool = False, data: Missing[GistsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/create POST /gists @@ -290,7 +290,7 @@ def list_public( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-public GET /gists/public @@ -335,7 +335,7 @@ async def async_list_public( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-public GET /gists/public @@ -380,7 +380,7 @@ def list_starred( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-starred GET /gists/starred @@ -423,7 +423,7 @@ async def async_list_starred( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-starred GET /gists/starred @@ -464,7 +464,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get GET /gists/{gist_id} @@ -503,7 +503,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get GET /gists/{gist_id} @@ -606,7 +606,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[GistsGistIdPatchBodyType, None], - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload def update( @@ -618,7 +618,7 @@ def update( stream: bool = False, description: Missing[str] = UNSET, files: Missing[GistsGistIdPatchBodyPropFilesType] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... def update( self, @@ -628,7 +628,7 @@ def update( stream: bool = False, data: Missing[Union[GistsGistIdPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/update PATCH /gists/{gist_id} @@ -690,7 +690,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[GistsGistIdPatchBodyType, None], - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload async def async_update( @@ -702,7 +702,7 @@ async def async_update( stream: bool = False, description: Missing[str] = UNSET, files: Missing[GistsGistIdPatchBodyPropFilesType] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... async def async_update( self, @@ -712,7 +712,7 @@ async def async_update( stream: bool = False, data: Missing[Union[GistsGistIdPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/update PATCH /gists/{gist_id} @@ -774,7 +774,7 @@ def list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistComment], list[GistCommentType]]: + ) -> Response[list[GistComment], list[GistCommentTypeForResponse]]: """gists/list-comments GET /gists/{gist_id}/comments @@ -821,7 +821,7 @@ async def async_list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistComment], list[GistCommentType]]: + ) -> Response[list[GistComment], list[GistCommentTypeForResponse]]: """gists/list-comments GET /gists/{gist_id}/comments @@ -868,7 +868,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsPostBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload def create_comment( @@ -879,7 +879,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... def create_comment( self, @@ -889,7 +889,7 @@ def create_comment( stream: bool = False, data: Missing[GistsGistIdCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/create-comment POST /gists/{gist_id}/comments @@ -940,7 +940,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsPostBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload async def async_create_comment( @@ -951,7 +951,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... async def async_create_comment( self, @@ -961,7 +961,7 @@ async def async_create_comment( stream: bool = False, data: Missing[GistsGistIdCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/create-comment POST /gists/{gist_id}/comments @@ -1011,7 +1011,7 @@ def get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/get-comment GET /gists/{gist_id}/comments/{comment_id} @@ -1051,7 +1051,7 @@ async def async_get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/get-comment GET /gists/{gist_id}/comments/{comment_id} @@ -1157,7 +1157,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsCommentIdPatchBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload def update_comment( @@ -1169,7 +1169,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... def update_comment( self, @@ -1180,7 +1180,7 @@ def update_comment( stream: bool = False, data: Missing[GistsGistIdCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/update-comment PATCH /gists/{gist_id}/comments/{comment_id} @@ -1235,7 +1235,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsCommentIdPatchBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload async def async_update_comment( @@ -1247,7 +1247,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... async def async_update_comment( self, @@ -1258,7 +1258,7 @@ async def async_update_comment( stream: bool = False, data: Missing[GistsGistIdCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/update-comment PATCH /gists/{gist_id}/comments/{comment_id} @@ -1312,7 +1312,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistCommit], list[GistCommitType]]: + ) -> Response[list[GistCommit], list[GistCommitTypeForResponse]]: """gists/list-commits GET /gists/{gist_id}/commits @@ -1352,7 +1352,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistCommit], list[GistCommitType]]: + ) -> Response[list[GistCommit], list[GistCommitTypeForResponse]]: """gists/list-commits GET /gists/{gist_id}/commits @@ -1392,7 +1392,7 @@ def list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistSimple], list[GistSimpleType]]: + ) -> Response[list[GistSimple], list[GistSimpleTypeForResponse]]: """gists/list-forks GET /gists/{gist_id}/forks @@ -1432,7 +1432,7 @@ async def async_list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistSimple], list[GistSimpleType]]: + ) -> Response[list[GistSimple], list[GistSimpleTypeForResponse]]: """gists/list-forks GET /gists/{gist_id}/forks @@ -1470,7 +1470,7 @@ def fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BaseGist, BaseGistType]: + ) -> Response[BaseGist, BaseGistTypeForResponse]: """gists/fork POST /gists/{gist_id}/forks @@ -1503,7 +1503,7 @@ async def async_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BaseGist, BaseGistType]: + ) -> Response[BaseGist, BaseGistTypeForResponse]: """gists/fork POST /gists/{gist_id}/forks @@ -1727,7 +1727,7 @@ def get_revision( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get-revision GET /gists/{gist_id}/{sha} @@ -1768,7 +1768,7 @@ async def async_get_revision( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get-revision GET /gists/{gist_id}/{sha} @@ -1811,7 +1811,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-for-user GET /users/{username}/gists @@ -1854,7 +1854,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-for-user GET /users/{username}/gists diff --git a/githubkit/versions/ghec_v2022_11_28/rest/git.py b/githubkit/versions/ghec_v2022_11_28/rest/git.py index ab0375934..2b97f4459 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/git.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/git.py @@ -29,11 +29,11 @@ from ..models import Blob, GitCommit, GitRef, GitTag, GitTree, ShortBlob from ..types import ( - BlobType, - GitCommitType, - GitRefType, - GitTagType, - GitTreeType, + BlobTypeForResponse, + GitCommitTypeForResponse, + GitRefTypeForResponse, + GitTagTypeForResponse, + GitTreeTypeForResponse, ReposOwnerRepoGitBlobsPostBodyType, ReposOwnerRepoGitCommitsPostBodyPropAuthorType, ReposOwnerRepoGitCommitsPostBodyPropCommitterType, @@ -44,7 +44,7 @@ ReposOwnerRepoGitTagsPostBodyType, ReposOwnerRepoGitTreesPostBodyPropTreeItemsType, ReposOwnerRepoGitTreesPostBodyType, - ShortBlobType, + ShortBlobTypeForResponse, ) @@ -72,7 +72,7 @@ def create_blob( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitBlobsPostBodyType, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... @overload def create_blob( @@ -85,7 +85,7 @@ def create_blob( stream: bool = False, content: str, encoding: Missing[str] = UNSET, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... def create_blob( self, @@ -96,7 +96,7 @@ def create_blob( stream: bool = False, data: Missing[ReposOwnerRepoGitBlobsPostBodyType] = UNSET, **kwargs, - ) -> Response[ShortBlob, ShortBlobType]: + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: """git/create-blob POST /repos/{owner}/{repo}/git/blobs @@ -151,7 +151,7 @@ async def async_create_blob( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitBlobsPostBodyType, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... @overload async def async_create_blob( @@ -164,7 +164,7 @@ async def async_create_blob( stream: bool = False, content: str, encoding: Missing[str] = UNSET, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... async def async_create_blob( self, @@ -175,7 +175,7 @@ async def async_create_blob( stream: bool = False, data: Missing[ReposOwnerRepoGitBlobsPostBodyType] = UNSET, **kwargs, - ) -> Response[ShortBlob, ShortBlobType]: + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: """git/create-blob POST /repos/{owner}/{repo}/git/blobs @@ -229,7 +229,7 @@ def get_blob( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Blob, BlobType]: + ) -> Response[Blob, BlobTypeForResponse]: """git/get-blob GET /repos/{owner}/{repo}/git/blobs/{file_sha} @@ -274,7 +274,7 @@ async def async_get_blob( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Blob, BlobType]: + ) -> Response[Blob, BlobTypeForResponse]: """git/get-blob GET /repos/{owner}/{repo}/git/blobs/{file_sha} @@ -320,7 +320,7 @@ def create_commit( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitCommitsPostBodyType, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... @overload def create_commit( @@ -337,7 +337,7 @@ def create_commit( author: Missing[ReposOwnerRepoGitCommitsPostBodyPropAuthorType] = UNSET, committer: Missing[ReposOwnerRepoGitCommitsPostBodyPropCommitterType] = UNSET, signature: Missing[str] = UNSET, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... def create_commit( self, @@ -348,7 +348,7 @@ def create_commit( stream: bool = False, data: Missing[ReposOwnerRepoGitCommitsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/create-commit POST /repos/{owner}/{repo}/git/commits @@ -431,7 +431,7 @@ async def async_create_commit( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitCommitsPostBodyType, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... @overload async def async_create_commit( @@ -448,7 +448,7 @@ async def async_create_commit( author: Missing[ReposOwnerRepoGitCommitsPostBodyPropAuthorType] = UNSET, committer: Missing[ReposOwnerRepoGitCommitsPostBodyPropCommitterType] = UNSET, signature: Missing[str] = UNSET, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... async def async_create_commit( self, @@ -459,7 +459,7 @@ async def async_create_commit( stream: bool = False, data: Missing[ReposOwnerRepoGitCommitsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/create-commit POST /repos/{owner}/{repo}/git/commits @@ -541,7 +541,7 @@ def get_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/get-commit GET /repos/{owner}/{repo}/git/commits/{commit_sha} @@ -609,7 +609,7 @@ async def async_get_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/get-commit GET /repos/{owner}/{repo}/git/commits/{commit_sha} @@ -677,7 +677,7 @@ def list_matching_refs( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GitRef], list[GitRefType]]: + ) -> Response[list[GitRef], list[GitRefTypeForResponse]]: """git/list-matching-refs GET /repos/{owner}/{repo}/git/matching-refs/{ref} @@ -719,7 +719,7 @@ async def async_list_matching_refs( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GitRef], list[GitRefType]]: + ) -> Response[list[GitRef], list[GitRefTypeForResponse]]: """git/list-matching-refs GET /repos/{owner}/{repo}/git/matching-refs/{ref} @@ -761,7 +761,7 @@ def get_ref( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/get-ref GET /repos/{owner}/{repo}/git/ref/{ref} @@ -800,7 +800,7 @@ async def async_get_ref( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/get-ref GET /repos/{owner}/{repo}/git/ref/{ref} @@ -840,7 +840,7 @@ def create_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsPostBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload def create_ref( @@ -853,7 +853,7 @@ def create_ref( stream: bool = False, ref: str, sha: str, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... def create_ref( self, @@ -864,7 +864,7 @@ def create_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/create-ref POST /repos/{owner}/{repo}/git/refs @@ -916,7 +916,7 @@ async def async_create_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsPostBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload async def async_create_ref( @@ -929,7 +929,7 @@ async def async_create_ref( stream: bool = False, ref: str, sha: str, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... async def async_create_ref( self, @@ -940,7 +940,7 @@ async def async_create_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/create-ref POST /repos/{owner}/{repo}/git/refs @@ -1061,7 +1061,7 @@ def update_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsRefPatchBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload def update_ref( @@ -1075,7 +1075,7 @@ def update_ref( stream: bool = False, sha: str, force: Missing[bool] = UNSET, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... def update_ref( self, @@ -1087,7 +1087,7 @@ def update_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsRefPatchBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/update-ref PATCH /repos/{owner}/{repo}/git/refs/{ref} @@ -1140,7 +1140,7 @@ async def async_update_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsRefPatchBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload async def async_update_ref( @@ -1154,7 +1154,7 @@ async def async_update_ref( stream: bool = False, sha: str, force: Missing[bool] = UNSET, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... async def async_update_ref( self, @@ -1166,7 +1166,7 @@ async def async_update_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsRefPatchBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/update-ref PATCH /repos/{owner}/{repo}/git/refs/{ref} @@ -1218,7 +1218,7 @@ def create_tag( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTagsPostBodyType, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... @overload def create_tag( @@ -1234,7 +1234,7 @@ def create_tag( object_: str, type: Literal["commit", "tree", "blob"], tagger: Missing[ReposOwnerRepoGitTagsPostBodyPropTaggerType] = UNSET, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... def create_tag( self, @@ -1245,7 +1245,7 @@ def create_tag( stream: bool = False, data: Missing[ReposOwnerRepoGitTagsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/create-tag POST /repos/{owner}/{repo}/git/tags @@ -1327,7 +1327,7 @@ async def async_create_tag( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTagsPostBodyType, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... @overload async def async_create_tag( @@ -1343,7 +1343,7 @@ async def async_create_tag( object_: str, type: Literal["commit", "tree", "blob"], tagger: Missing[ReposOwnerRepoGitTagsPostBodyPropTaggerType] = UNSET, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... async def async_create_tag( self, @@ -1354,7 +1354,7 @@ async def async_create_tag( stream: bool = False, data: Missing[ReposOwnerRepoGitTagsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/create-tag POST /repos/{owner}/{repo}/git/tags @@ -1435,7 +1435,7 @@ def get_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/get-tag GET /repos/{owner}/{repo}/git/tags/{tag_sha} @@ -1499,7 +1499,7 @@ async def async_get_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/get-tag GET /repos/{owner}/{repo}/git/tags/{tag_sha} @@ -1564,7 +1564,7 @@ def create_tree( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTreesPostBodyType, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... @overload def create_tree( @@ -1577,7 +1577,7 @@ def create_tree( stream: bool = False, tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsType], base_tree: Missing[str] = UNSET, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... def create_tree( self, @@ -1588,7 +1588,7 @@ def create_tree( stream: bool = False, data: Missing[ReposOwnerRepoGitTreesPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/create-tree POST /repos/{owner}/{repo}/git/trees @@ -1646,7 +1646,7 @@ async def async_create_tree( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTreesPostBodyType, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... @overload async def async_create_tree( @@ -1659,7 +1659,7 @@ async def async_create_tree( stream: bool = False, tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsType], base_tree: Missing[str] = UNSET, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... async def async_create_tree( self, @@ -1670,7 +1670,7 @@ async def async_create_tree( stream: bool = False, data: Missing[ReposOwnerRepoGitTreesPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/create-tree POST /repos/{owner}/{repo}/git/trees @@ -1728,7 +1728,7 @@ def get_tree( recursive: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/get-tree GET /repos/{owner}/{repo}/git/trees/{tree_sha} @@ -1776,7 +1776,7 @@ async def async_get_tree( recursive: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/get-tree GET /repos/{owner}/{repo}/git/trees/{tree_sha} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/gitignore.py b/githubkit/versions/ghec_v2022_11_28/rest/gitignore.py index 971898f3d..20a79ef66 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/gitignore.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/gitignore.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import GitignoreTemplate - from ..types import GitignoreTemplateType + from ..types import GitignoreTemplateTypeForResponse class GitignoreClient: @@ -98,7 +98,7 @@ def get_template( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitignoreTemplate, GitignoreTemplateType]: + ) -> Response[GitignoreTemplate, GitignoreTemplateTypeForResponse]: """gitignore/get-template GET /gitignore/templates/{name} @@ -132,7 +132,7 @@ async def async_get_template( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitignoreTemplate, GitignoreTemplateType]: + ) -> Response[GitignoreTemplate, GitignoreTemplateTypeForResponse]: """gitignore/get-template GET /gitignore/templates/{name} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/hosted_compute.py b/githubkit/versions/ghec_v2022_11_28/rest/hosted_compute.py index 43395b252..16b557037 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/hosted_compute.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/hosted_compute.py @@ -33,9 +33,9 @@ OrgsOrgSettingsNetworkConfigurationsGetResponse200, ) from ..types import ( - NetworkConfigurationType, - NetworkSettingsType, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + NetworkConfigurationTypeForResponse, + NetworkSettingsTypeForResponse, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, OrgsOrgSettingsNetworkConfigurationsPostBodyType, ) @@ -66,7 +66,7 @@ def list_network_configurations_for_org( stream: bool = False, ) -> Response[ OrgsOrgSettingsNetworkConfigurationsGetResponse200, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-org @@ -109,7 +109,7 @@ async def async_list_network_configurations_for_org( stream: bool = False, ) -> Response[ OrgsOrgSettingsNetworkConfigurationsGetResponse200, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-org @@ -150,7 +150,7 @@ def create_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def create_network_configuration_for_org( @@ -163,7 +163,7 @@ def create_network_configuration_for_org( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def create_network_configuration_for_org( self, @@ -173,7 +173,7 @@ def create_network_configuration_for_org( stream: bool = False, data: Missing[OrgsOrgSettingsNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-org POST /orgs/{org}/settings/network-configurations @@ -222,7 +222,7 @@ async def async_create_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_create_network_configuration_for_org( @@ -235,7 +235,7 @@ async def async_create_network_configuration_for_org( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_create_network_configuration_for_org( self, @@ -245,7 +245,7 @@ async def async_create_network_configuration_for_org( stream: bool = False, data: Missing[OrgsOrgSettingsNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-org POST /orgs/{org}/settings/network-configurations @@ -293,7 +293,7 @@ def get_network_configuration_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-org GET /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -326,7 +326,7 @@ async def async_get_network_configuration_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-org GET /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -421,7 +421,7 @@ def update_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def update_network_configuration_for_org( @@ -435,7 +435,7 @@ def update_network_configuration_for_org( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def update_network_configuration_for_org( self, @@ -448,7 +448,7 @@ def update_network_configuration_for_org( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-org PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -499,7 +499,7 @@ async def async_update_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_update_network_configuration_for_org( @@ -513,7 +513,7 @@ async def async_update_network_configuration_for_org( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_update_network_configuration_for_org( self, @@ -526,7 +526,7 @@ async def async_update_network_configuration_for_org( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-org PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -575,7 +575,7 @@ def get_network_settings_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-org GET /orgs/{org}/settings/network-settings/{network_settings_id} @@ -608,7 +608,7 @@ async def async_get_network_settings_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-org GET /orgs/{org}/settings/network-settings/{network_settings_id} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/interactions.py b/githubkit/versions/ghec_v2022_11_28/rest/interactions.py index eae8d6cc0..3296b1f3a 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/interactions.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/interactions.py @@ -34,11 +34,11 @@ UserInteractionLimitsGetResponse200Anyof1, ) from ..types import ( - InteractionLimitResponseType, + InteractionLimitResponseTypeForResponse, InteractionLimitType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, - UserInteractionLimitsGetResponse200Anyof1Type, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ) @@ -66,8 +66,8 @@ def get_restrictions_for_org( ) -> Response[ Union[InteractionLimitResponse, OrgsOrgInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-org @@ -109,8 +109,8 @@ async def async_get_restrictions_for_org( ) -> Response[ Union[InteractionLimitResponse, OrgsOrgInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-org @@ -151,7 +151,9 @@ def set_restrictions_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_org( @@ -165,7 +167,9 @@ def set_restrictions_for_org( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_org( self, @@ -175,7 +179,7 @@ def set_restrictions_for_org( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-org PUT /orgs/{org}/interaction-limits @@ -220,7 +224,9 @@ async def async_set_restrictions_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_org( @@ -234,7 +240,9 @@ async def async_set_restrictions_for_org( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_org( self, @@ -244,7 +252,7 @@ async def async_set_restrictions_for_org( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-org PUT /orgs/{org}/interaction-limits @@ -348,8 +356,8 @@ def get_restrictions_for_repo( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1, ], Union[ - InteractionLimitResponseType, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-repo @@ -396,8 +404,8 @@ async def async_get_restrictions_for_repo( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1, ], Union[ - InteractionLimitResponseType, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-repo @@ -440,7 +448,9 @@ def set_restrictions_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_repo( @@ -455,7 +465,9 @@ def set_restrictions_for_repo( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_repo( self, @@ -466,7 +478,7 @@ def set_restrictions_for_repo( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-repo PUT /repos/{owner}/{repo}/interaction-limits @@ -510,7 +522,9 @@ async def async_set_restrictions_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_repo( @@ -525,7 +539,9 @@ async def async_set_restrictions_for_repo( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_repo( self, @@ -536,7 +552,7 @@ async def async_set_restrictions_for_repo( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-repo PUT /repos/{owner}/{repo}/interaction-limits @@ -637,7 +653,8 @@ def get_restrictions_for_authenticated_user( ) -> Response[ Union[InteractionLimitResponse, UserInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, UserInteractionLimitsGetResponse200Anyof1Type + InteractionLimitResponseTypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-authenticated-user @@ -678,7 +695,8 @@ async def async_get_restrictions_for_authenticated_user( ) -> Response[ Union[InteractionLimitResponse, UserInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, UserInteractionLimitsGetResponse200Anyof1Type + InteractionLimitResponseTypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-authenticated-user @@ -718,7 +736,9 @@ def set_restrictions_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_authenticated_user( @@ -731,7 +751,9 @@ def set_restrictions_for_authenticated_user( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_authenticated_user( self, @@ -740,7 +762,7 @@ def set_restrictions_for_authenticated_user( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-authenticated-user PUT /user/interaction-limits @@ -784,7 +806,9 @@ async def async_set_restrictions_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_authenticated_user( @@ -797,7 +821,9 @@ async def async_set_restrictions_for_authenticated_user( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_authenticated_user( self, @@ -806,7 +832,7 @@ async def async_set_restrictions_for_authenticated_user( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-authenticated-user PUT /user/interaction-limits diff --git a/githubkit/versions/ghec_v2022_11_28/rest/issues.py b/githubkit/versions/ghec_v2022_11_28/rest/issues.py index 2458d6d14..c1881a940 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/issues.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/issues.py @@ -61,21 +61,21 @@ UnlabeledIssueEvent, ) from ..types import ( - AddedToProjectIssueEventType, - AssignedIssueEventType, - ConvertedNoteToIssueIssueEventType, - DemilestonedIssueEventType, - IssueCommentType, - IssueEventType, - IssueType, - LabeledIssueEventType, - LabelType, - LockedIssueEventType, - MilestonedIssueEventType, - MilestoneType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - RenamedIssueEventType, + AddedToProjectIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + IssueCommentTypeForResponse, + IssueEventTypeForResponse, + IssueTypeForResponse, + LabeledIssueEventTypeForResponse, + LabelTypeForResponse, + LockedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + MilestoneTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType, ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType, @@ -101,21 +101,21 @@ ReposOwnerRepoLabelsPostBodyType, ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType, ReposOwnerRepoMilestonesPostBodyType, - ReviewDismissedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - SimpleUserType, - StateChangeIssueEventType, - TimelineAssignedIssueEventType, - TimelineCommentEventType, - TimelineCommitCommentedEventType, - TimelineCommittedEventType, - TimelineCrossReferencedEventType, - TimelineLineCommentedEventType, - TimelineReviewedEventType, - TimelineUnassignedIssueEventType, - UnassignedIssueEventType, - UnlabeledIssueEventType, + ReviewDismissedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + SimpleUserTypeForResponse, + StateChangeIssueEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, ) @@ -153,7 +153,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list GET /issues @@ -228,7 +228,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list GET /issues @@ -301,7 +301,7 @@ def list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-org GET /orgs/{org}/issues @@ -368,7 +368,7 @@ async def async_list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-org GET /orgs/{org}/issues @@ -427,7 +427,7 @@ def list_assignees( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """issues/list-assignees GET /repos/{owner}/{repo}/assignees @@ -469,7 +469,7 @@ async def async_list_assignees( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """issues/list-assignees GET /repos/{owner}/{repo}/assignees @@ -597,7 +597,7 @@ def list_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-repo GET /repos/{owner}/{repo}/issues @@ -670,7 +670,7 @@ async def async_list_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-repo GET /repos/{owner}/{repo}/issues @@ -733,7 +733,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def create( @@ -753,7 +753,7 @@ def create( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def create( self, @@ -764,7 +764,7 @@ def create( stream: bool = False, data: Missing[ReposOwnerRepoIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/create POST /repos/{owner}/{repo}/issues @@ -831,7 +831,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_create( @@ -851,7 +851,7 @@ async def async_create( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_create( self, @@ -862,7 +862,7 @@ async def async_create( stream: bool = False, data: Missing[ReposOwnerRepoIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/create POST /repos/{owner}/{repo}/issues @@ -932,7 +932,7 @@ def list_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments-for-repo GET /repos/{owner}/{repo}/issues/comments @@ -990,7 +990,7 @@ async def async_list_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments-for-repo GET /repos/{owner}/{repo}/issues/comments @@ -1044,7 +1044,7 @@ def get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/get-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1086,7 +1086,7 @@ async def async_get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/get-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1188,7 +1188,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload def update_comment( @@ -1201,7 +1201,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... def update_comment( self, @@ -1213,7 +1213,7 @@ def update_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/update-comment PATCH /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1273,7 +1273,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload async def async_update_comment( @@ -1286,7 +1286,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... async def async_update_comment( self, @@ -1298,7 +1298,7 @@ async def async_update_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/update-comment PATCH /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1357,7 +1357,7 @@ def list_events_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueEvent], list[IssueEventType]]: + ) -> Response[list[IssueEvent], list[IssueEventTypeForResponse]]: """issues/list-events-for-repo GET /repos/{owner}/{repo}/issues/events @@ -1399,7 +1399,7 @@ async def async_list_events_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueEvent], list[IssueEventType]]: + ) -> Response[list[IssueEvent], list[IssueEventTypeForResponse]]: """issues/list-events-for-repo GET /repos/{owner}/{repo}/issues/events @@ -1440,7 +1440,7 @@ def get_event( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueEvent, IssueEventType]: + ) -> Response[IssueEvent, IssueEventTypeForResponse]: """issues/get-event GET /repos/{owner}/{repo}/issues/events/{event_id} @@ -1477,7 +1477,7 @@ async def async_get_event( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueEvent, IssueEventType]: + ) -> Response[IssueEvent, IssueEventTypeForResponse]: """issues/get-event GET /repos/{owner}/{repo}/issues/events/{event_id} @@ -1514,7 +1514,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get GET /repos/{owner}/{repo}/issues/{issue_number} @@ -1565,7 +1565,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get GET /repos/{owner}/{repo}/issues/{issue_number} @@ -1618,7 +1618,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def update( @@ -1648,7 +1648,7 @@ def update( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def update( self, @@ -1660,7 +1660,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/update PATCH /repos/{owner}/{repo}/issues/{issue_number} @@ -1724,7 +1724,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_update( @@ -1754,7 +1754,7 @@ async def async_update( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_update( self, @@ -1766,7 +1766,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/update PATCH /repos/{owner}/{repo}/issues/{issue_number} @@ -1830,7 +1830,7 @@ def add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_assignees( @@ -1843,7 +1843,7 @@ def add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_assignees( self, @@ -1855,7 +1855,7 @@ def add_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-assignees POST /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -1901,7 +1901,7 @@ async def async_add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_assignees( @@ -1914,7 +1914,7 @@ async def async_add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_assignees( self, @@ -1926,7 +1926,7 @@ async def async_add_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-assignees POST /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -1972,7 +1972,7 @@ def remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def remove_assignees( @@ -1985,7 +1985,7 @@ def remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def remove_assignees( self, @@ -1997,7 +1997,7 @@ def remove_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-assignees DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -2043,7 +2043,7 @@ async def async_remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_remove_assignees( @@ -2056,7 +2056,7 @@ async def async_remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_remove_assignees( self, @@ -2068,7 +2068,7 @@ async def async_remove_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-assignees DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -2193,7 +2193,7 @@ def list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments GET /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2248,7 +2248,7 @@ async def async_list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments GET /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2302,7 +2302,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload def create_comment( @@ -2315,7 +2315,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... def create_comment( self, @@ -2327,7 +2327,7 @@ def create_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/create-comment POST /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2396,7 +2396,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload async def async_create_comment( @@ -2409,7 +2409,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... async def async_create_comment( self, @@ -2421,7 +2421,7 @@ async def async_create_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/create-comment POST /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2490,7 +2490,7 @@ def list_dependencies_blocked_by( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocked-by GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2541,7 +2541,7 @@ async def async_list_dependencies_blocked_by( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocked-by GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2592,7 +2592,7 @@ def add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_blocked_by_dependency( @@ -2605,7 +2605,7 @@ def add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_blocked_by_dependency( self, @@ -2619,7 +2619,7 @@ def add_blocked_by_dependency( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-blocked-by-dependency POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2687,7 +2687,7 @@ async def async_add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_blocked_by_dependency( @@ -2700,7 +2700,7 @@ async def async_add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_blocked_by_dependency( self, @@ -2714,7 +2714,7 @@ async def async_add_blocked_by_dependency( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-blocked-by-dependency POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2781,7 +2781,7 @@ def remove_dependency_blocked_by( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-dependency-blocked-by DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id} @@ -2831,7 +2831,7 @@ async def async_remove_dependency_blocked_by( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-dependency-blocked-by DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id} @@ -2882,7 +2882,7 @@ def list_dependencies_blocking( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocking GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking @@ -2933,7 +2933,7 @@ async def async_list_dependencies_blocking( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocking GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking @@ -3006,21 +3006,21 @@ def list_events( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - AssignedIssueEventType, - UnassignedIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, ] ], ]: @@ -3125,21 +3125,21 @@ async def async_list_events( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - AssignedIssueEventType, - UnassignedIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, ] ], ]: @@ -3222,7 +3222,7 @@ def list_labels_on_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-on-issue GET /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3266,7 +3266,7 @@ async def async_list_labels_on_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-on-issue GET /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3318,7 +3318,7 @@ def set_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def set_labels( @@ -3331,7 +3331,7 @@ def set_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def set_labels( @@ -3346,7 +3346,7 @@ def set_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... def set_labels( self, @@ -3366,7 +3366,7 @@ def set_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/set-labels PUT /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3446,7 +3446,7 @@ async def async_set_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_set_labels( @@ -3459,7 +3459,7 @@ async def async_set_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_set_labels( @@ -3474,7 +3474,7 @@ async def async_set_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... async def async_set_labels( self, @@ -3494,7 +3494,7 @@ async def async_set_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/set-labels PUT /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3574,7 +3574,7 @@ def add_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def add_labels( @@ -3587,7 +3587,7 @@ def add_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def add_labels( @@ -3602,7 +3602,7 @@ def add_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... def add_labels( self, @@ -3622,7 +3622,7 @@ def add_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/add-labels POST /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3702,7 +3702,7 @@ async def async_add_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_add_labels( @@ -3715,7 +3715,7 @@ async def async_add_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_add_labels( @@ -3730,7 +3730,7 @@ async def async_add_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... async def async_add_labels( self, @@ -3750,7 +3750,7 @@ async def async_add_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/add-labels POST /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3891,7 +3891,7 @@ def remove_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/remove-label DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} @@ -3928,7 +3928,7 @@ async def async_remove_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/remove-label DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} @@ -4214,7 +4214,7 @@ def get_parent( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get-parent GET /repos/{owner}/{repo}/issues/{issue_number}/parent @@ -4257,7 +4257,7 @@ async def async_get_parent( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get-parent GET /repos/{owner}/{repo}/issues/{issue_number}/parent @@ -4302,7 +4302,7 @@ def remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def remove_sub_issue( @@ -4315,7 +4315,7 @@ def remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, sub_issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def remove_sub_issue( self, @@ -4327,7 +4327,7 @@ def remove_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-sub-issue DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue @@ -4389,7 +4389,7 @@ async def async_remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_remove_sub_issue( @@ -4402,7 +4402,7 @@ async def async_remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, sub_issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_remove_sub_issue( self, @@ -4414,7 +4414,7 @@ async def async_remove_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-sub-issue DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue @@ -4476,7 +4476,7 @@ def list_sub_issues( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-sub-issues GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4527,7 +4527,7 @@ async def async_list_sub_issues( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-sub-issues GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4578,7 +4578,7 @@ def add_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_sub_issue( @@ -4592,7 +4592,7 @@ def add_sub_issue( stream: bool = False, sub_issue_id: int, replace_parent: Missing[bool] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_sub_issue( self, @@ -4604,7 +4604,7 @@ def add_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-sub-issue POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4672,7 +4672,7 @@ async def async_add_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_sub_issue( @@ -4686,7 +4686,7 @@ async def async_add_sub_issue( stream: bool = False, sub_issue_id: int, replace_parent: Missing[bool] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_sub_issue( self, @@ -4698,7 +4698,7 @@ async def async_add_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-sub-issue POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4766,7 +4766,7 @@ def reprioritize_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def reprioritize_sub_issue( @@ -4781,7 +4781,7 @@ def reprioritize_sub_issue( sub_issue_id: int, after_id: Missing[int] = UNSET, before_id: Missing[int] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def reprioritize_sub_issue( self, @@ -4795,7 +4795,7 @@ def reprioritize_sub_issue( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/reprioritize-sub-issue PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority @@ -4853,7 +4853,7 @@ async def async_reprioritize_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_reprioritize_sub_issue( @@ -4868,7 +4868,7 @@ async def async_reprioritize_sub_issue( sub_issue_id: int, after_id: Missing[int] = UNSET, before_id: Missing[int] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_reprioritize_sub_issue( self, @@ -4882,7 +4882,7 @@ async def async_reprioritize_sub_issue( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/reprioritize-sub-issue PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority @@ -4969,28 +4969,28 @@ def list_events_for_timeline( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, - TimelineCommentEventType, - TimelineCrossReferencedEventType, - TimelineCommittedEventType, - TimelineReviewedEventType, - TimelineLineCommentedEventType, - TimelineCommitCommentedEventType, - TimelineAssignedIssueEventType, - TimelineUnassignedIssueEventType, - StateChangeIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + StateChangeIssueEventTypeForResponse, ] ], ]: @@ -5117,28 +5117,28 @@ async def async_list_events_for_timeline( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, - TimelineCommentEventType, - TimelineCrossReferencedEventType, - TimelineCommittedEventType, - TimelineReviewedEventType, - TimelineLineCommentedEventType, - TimelineCommitCommentedEventType, - TimelineAssignedIssueEventType, - TimelineUnassignedIssueEventType, - StateChangeIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + StateChangeIssueEventTypeForResponse, ] ], ]: @@ -5235,7 +5235,7 @@ def list_labels_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-repo GET /repos/{owner}/{repo}/labels @@ -5277,7 +5277,7 @@ async def async_list_labels_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-repo GET /repos/{owner}/{repo}/labels @@ -5319,7 +5319,7 @@ def create_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoLabelsPostBodyType, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload def create_label( @@ -5333,7 +5333,7 @@ def create_label( name: str, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... def create_label( self, @@ -5344,7 +5344,7 @@ def create_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsPostBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/create-label POST /repos/{owner}/{repo}/labels @@ -5396,7 +5396,7 @@ async def async_create_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoLabelsPostBodyType, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload async def async_create_label( @@ -5410,7 +5410,7 @@ async def async_create_label( name: str, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... async def async_create_label( self, @@ -5421,7 +5421,7 @@ async def async_create_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsPostBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/create-label POST /repos/{owner}/{repo}/labels @@ -5472,7 +5472,7 @@ def get_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/get-label GET /repos/{owner}/{repo}/labels/{name} @@ -5507,7 +5507,7 @@ async def async_get_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/get-label GET /repos/{owner}/{repo}/labels/{name} @@ -5602,7 +5602,7 @@ def update_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload def update_label( @@ -5617,7 +5617,7 @@ def update_label( new_name: Missing[str] = UNSET, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... def update_label( self, @@ -5629,7 +5629,7 @@ def update_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/update-label PATCH /repos/{owner}/{repo}/labels/{name} @@ -5673,7 +5673,7 @@ async def async_update_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload async def async_update_label( @@ -5688,7 +5688,7 @@ async def async_update_label( new_name: Missing[str] = UNSET, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... async def async_update_label( self, @@ -5700,7 +5700,7 @@ async def async_update_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/update-label PATCH /repos/{owner}/{repo}/labels/{name} @@ -5746,7 +5746,7 @@ def list_milestones( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Milestone], list[MilestoneType]]: + ) -> Response[list[Milestone], list[MilestoneTypeForResponse]]: """issues/list-milestones GET /repos/{owner}/{repo}/milestones @@ -5794,7 +5794,7 @@ async def async_list_milestones( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Milestone], list[MilestoneType]]: + ) -> Response[list[Milestone], list[MilestoneTypeForResponse]]: """issues/list-milestones GET /repos/{owner}/{repo}/milestones @@ -5839,7 +5839,7 @@ def create_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMilestonesPostBodyType, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload def create_milestone( @@ -5854,7 +5854,7 @@ def create_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... def create_milestone( self, @@ -5865,7 +5865,7 @@ def create_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesPostBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/create-milestone POST /repos/{owner}/{repo}/milestones @@ -5917,7 +5917,7 @@ async def async_create_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMilestonesPostBodyType, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload async def async_create_milestone( @@ -5932,7 +5932,7 @@ async def async_create_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... async def async_create_milestone( self, @@ -5943,7 +5943,7 @@ async def async_create_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesPostBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/create-milestone POST /repos/{owner}/{repo}/milestones @@ -5994,7 +5994,7 @@ def get_milestone( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/get-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6029,7 +6029,7 @@ async def async_get_milestone( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/get-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6134,7 +6134,7 @@ def update_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload def update_milestone( @@ -6150,7 +6150,7 @@ def update_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... def update_milestone( self, @@ -6162,7 +6162,7 @@ def update_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/update-milestone PATCH /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6206,7 +6206,7 @@ async def async_update_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload async def async_update_milestone( @@ -6222,7 +6222,7 @@ async def async_update_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... async def async_update_milestone( self, @@ -6234,7 +6234,7 @@ async def async_update_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/update-milestone PATCH /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6278,7 +6278,7 @@ def list_labels_for_milestone( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels @@ -6318,7 +6318,7 @@ async def async_list_labels_for_milestone( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels @@ -6363,7 +6363,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-authenticated-user GET /user/issues @@ -6427,7 +6427,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-authenticated-user GET /user/issues diff --git a/githubkit/versions/ghec_v2022_11_28/rest/licenses.py b/githubkit/versions/ghec_v2022_11_28/rest/licenses.py index ae463c3dc..1af10d4ce 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/licenses.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/licenses.py @@ -23,7 +23,11 @@ from githubkit.utils import UNSET from ..models import License, LicenseContent, LicenseSimple - from ..types import LicenseContentType, LicenseSimpleType, LicenseType + from ..types import ( + LicenseContentTypeForResponse, + LicenseSimpleTypeForResponse, + LicenseTypeForResponse, + ) class LicensesClient: @@ -49,7 +53,7 @@ def get_all_commonly_used( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[LicenseSimple], list[LicenseSimpleType]]: + ) -> Response[list[LicenseSimple], list[LicenseSimpleTypeForResponse]]: """licenses/get-all-commonly-used GET /licenses @@ -88,7 +92,7 @@ async def async_get_all_commonly_used( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[LicenseSimple], list[LicenseSimpleType]]: + ) -> Response[list[LicenseSimple], list[LicenseSimpleTypeForResponse]]: """licenses/get-all-commonly-used GET /licenses @@ -125,7 +129,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[License, LicenseType]: + ) -> Response[License, LicenseTypeForResponse]: """licenses/get GET /licenses/{license} @@ -159,7 +163,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[License, LicenseType]: + ) -> Response[License, LicenseTypeForResponse]: """licenses/get GET /licenses/{license} @@ -195,7 +199,7 @@ def get_for_repo( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[LicenseContent, LicenseContentType]: + ) -> Response[LicenseContent, LicenseContentTypeForResponse]: """licenses/get-for-repo GET /repos/{owner}/{repo}/license @@ -240,7 +244,7 @@ async def async_get_for_repo( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[LicenseContent, LicenseContentType]: + ) -> Response[LicenseContent, LicenseContentTypeForResponse]: """licenses/get-for-repo GET /repos/{owner}/{repo}/license diff --git a/githubkit/versions/ghec_v2022_11_28/rest/meta.py b/githubkit/versions/ghec_v2022_11_28/rest/meta.py index 2fdf74010..6dac613f6 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/meta.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/meta.py @@ -25,7 +25,7 @@ from githubkit.utils import UNSET from ..models import ApiOverview, Root - from ..types import ApiOverviewType, RootType + from ..types import ApiOverviewTypeForResponse, RootTypeForResponse class MetaClient: @@ -48,7 +48,7 @@ def root( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Root, RootType]: + ) -> Response[Root, RootTypeForResponse]: """meta/root GET / @@ -77,7 +77,7 @@ async def async_root( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Root, RootType]: + ) -> Response[Root, RootTypeForResponse]: """meta/root GET / @@ -106,7 +106,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiOverview, ApiOverviewType]: + ) -> Response[ApiOverview, ApiOverviewTypeForResponse]: """meta/get GET /meta @@ -142,7 +142,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiOverview, ApiOverviewType]: + ) -> Response[ApiOverview, ApiOverviewTypeForResponse]: """meta/get GET /meta @@ -244,7 +244,7 @@ def get_all_versions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[date], list[date]]: + ) -> Response[list[date], list[str]]: """meta/get-all-versions GET /versions @@ -278,7 +278,7 @@ async def async_get_all_versions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[date], list[date]]: + ) -> Response[list[date], list[str]]: """meta/get-all-versions GET /versions diff --git a/githubkit/versions/ghec_v2022_11_28/rest/migrations.py b/githubkit/versions/ghec_v2022_11_28/rest/migrations.py index dc2301890..a45aac584 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/migrations.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/migrations.py @@ -35,12 +35,12 @@ PorterLargeFile, ) from ..types import ( - ImportType, - MigrationType, - MinimalRepositoryType, + ImportTypeForResponse, + MigrationTypeForResponse, + MinimalRepositoryTypeForResponse, OrgsOrgMigrationsPostBodyType, - PorterAuthorType, - PorterLargeFileType, + PorterAuthorTypeForResponse, + PorterLargeFileTypeForResponse, ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType, ReposOwnerRepoImportLfsPatchBodyType, ReposOwnerRepoImportPatchBodyType, @@ -73,7 +73,7 @@ def list_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-org GET /orgs/{org}/migrations @@ -115,7 +115,7 @@ async def async_list_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-org GET /orgs/{org}/migrations @@ -156,7 +156,7 @@ def start_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload def start_for_org( @@ -175,7 +175,7 @@ def start_for_org( exclude_owner_projects: Missing[bool] = UNSET, org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... def start_for_org( self, @@ -185,7 +185,7 @@ def start_for_org( stream: bool = False, data: Missing[OrgsOrgMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-org POST /orgs/{org}/migrations @@ -236,7 +236,7 @@ async def async_start_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload async def async_start_for_org( @@ -255,7 +255,7 @@ async def async_start_for_org( exclude_owner_projects: Missing[bool] = UNSET, org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... async def async_start_for_org( self, @@ -265,7 +265,7 @@ async def async_start_for_org( stream: bool = False, data: Missing[OrgsOrgMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-org POST /orgs/{org}/migrations @@ -316,7 +316,7 @@ def get_status_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-org GET /orgs/{org}/migrations/{migration_id} @@ -363,7 +363,7 @@ async def async_get_status_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-org GET /orgs/{org}/migrations/{migration_id} @@ -611,7 +611,7 @@ def list_repos_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-org GET /orgs/{org}/migrations/{migration_id}/repositories @@ -653,7 +653,7 @@ async def async_list_repos_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-org GET /orgs/{org}/migrations/{migration_id}/repositories @@ -693,7 +693,7 @@ def get_import_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/get-import-status GET /repos/{owner}/{repo}/import @@ -764,7 +764,7 @@ async def async_get_import_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/get-import-status GET /repos/{owner}/{repo}/import @@ -837,7 +837,7 @@ def start_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportPutBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def start_import( @@ -853,7 +853,7 @@ def start_import( vcs_username: Missing[str] = UNSET, vcs_password: Missing[str] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def start_import( self, @@ -864,7 +864,7 @@ def start_import( stream: bool = False, data: Missing[ReposOwnerRepoImportPutBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/start-import PUT /repos/{owner}/{repo}/import @@ -922,7 +922,7 @@ async def async_start_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportPutBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_start_import( @@ -938,7 +938,7 @@ async def async_start_import( vcs_username: Missing[str] = UNSET, vcs_password: Missing[str] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_start_import( self, @@ -949,7 +949,7 @@ async def async_start_import( stream: bool = False, data: Missing[ReposOwnerRepoImportPutBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/start-import PUT /repos/{owner}/{repo}/import @@ -1079,7 +1079,7 @@ def update_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def update_import( @@ -1094,7 +1094,7 @@ def update_import( vcs_password: Missing[str] = UNSET, vcs: Missing[Literal["subversion", "tfvc", "git", "mercurial"]] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def update_import( self, @@ -1105,7 +1105,7 @@ def update_import( stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/update-import PATCH /repos/{owner}/{repo}/import @@ -1163,7 +1163,7 @@ async def async_update_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_update_import( @@ -1178,7 +1178,7 @@ async def async_update_import( vcs_password: Missing[str] = UNSET, vcs: Missing[Literal["subversion", "tfvc", "git", "mercurial"]] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_update_import( self, @@ -1189,7 +1189,7 @@ async def async_update_import( stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/update-import PATCH /repos/{owner}/{repo}/import @@ -1246,7 +1246,7 @@ def get_commit_authors( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterAuthor], list[PorterAuthorType]]: + ) -> Response[list[PorterAuthor], list[PorterAuthorTypeForResponse]]: """DEPRECATED migrations/get-commit-authors GET /repos/{owner}/{repo}/import/authors @@ -1292,7 +1292,7 @@ async def async_get_commit_authors( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterAuthor], list[PorterAuthorType]]: + ) -> Response[list[PorterAuthor], list[PorterAuthorTypeForResponse]]: """DEPRECATED migrations/get-commit-authors GET /repos/{owner}/{repo}/import/authors @@ -1340,7 +1340,7 @@ def map_commit_author( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... @overload def map_commit_author( @@ -1354,7 +1354,7 @@ def map_commit_author( stream: bool = False, email: Missing[str] = UNSET, name: Missing[str] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... def map_commit_author( self, @@ -1366,7 +1366,7 @@ def map_commit_author( stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PorterAuthor, PorterAuthorType]: + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: """DEPRECATED migrations/map-commit-author PATCH /repos/{owner}/{repo}/import/authors/{author_id} @@ -1426,7 +1426,7 @@ async def async_map_commit_author( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... @overload async def async_map_commit_author( @@ -1440,7 +1440,7 @@ async def async_map_commit_author( stream: bool = False, email: Missing[str] = UNSET, name: Missing[str] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... async def async_map_commit_author( self, @@ -1452,7 +1452,7 @@ async def async_map_commit_author( stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PorterAuthor, PorterAuthorType]: + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: """DEPRECATED migrations/map-commit-author PATCH /repos/{owner}/{repo}/import/authors/{author_id} @@ -1509,7 +1509,7 @@ def get_large_files( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterLargeFile], list[PorterLargeFileType]]: + ) -> Response[list[PorterLargeFile], list[PorterLargeFileTypeForResponse]]: """DEPRECATED migrations/get-large-files GET /repos/{owner}/{repo}/import/large_files @@ -1546,7 +1546,7 @@ async def async_get_large_files( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterLargeFile], list[PorterLargeFileType]]: + ) -> Response[list[PorterLargeFile], list[PorterLargeFileTypeForResponse]]: """DEPRECATED migrations/get-large-files GET /repos/{owner}/{repo}/import/large_files @@ -1585,7 +1585,7 @@ def set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportLfsPatchBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def set_lfs_preference( @@ -1597,7 +1597,7 @@ def set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, use_lfs: Literal["opt_in", "opt_out"], - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def set_lfs_preference( self, @@ -1608,7 +1608,7 @@ def set_lfs_preference( stream: bool = False, data: Missing[ReposOwnerRepoImportLfsPatchBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/set-lfs-preference PATCH /repos/{owner}/{repo}/import/lfs @@ -1667,7 +1667,7 @@ async def async_set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportLfsPatchBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_set_lfs_preference( @@ -1679,7 +1679,7 @@ async def async_set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, use_lfs: Literal["opt_in", "opt_out"], - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_set_lfs_preference( self, @@ -1690,7 +1690,7 @@ async def async_set_lfs_preference( stream: bool = False, data: Missing[ReposOwnerRepoImportLfsPatchBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/set-lfs-preference PATCH /repos/{owner}/{repo}/import/lfs @@ -1747,7 +1747,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-authenticated-user GET /user/migrations @@ -1788,7 +1788,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-authenticated-user GET /user/migrations @@ -1829,7 +1829,7 @@ def start_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload def start_for_authenticated_user( @@ -1847,7 +1847,7 @@ def start_for_authenticated_user( org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, repositories: list[str], - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... def start_for_authenticated_user( self, @@ -1856,7 +1856,7 @@ def start_for_authenticated_user( stream: bool = False, data: Missing[UserMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-authenticated-user POST /user/migrations @@ -1907,7 +1907,7 @@ async def async_start_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload async def async_start_for_authenticated_user( @@ -1925,7 +1925,7 @@ async def async_start_for_authenticated_user( org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, repositories: list[str], - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... async def async_start_for_authenticated_user( self, @@ -1934,7 +1934,7 @@ async def async_start_for_authenticated_user( stream: bool = False, data: Missing[UserMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-authenticated-user POST /user/migrations @@ -1985,7 +1985,7 @@ def get_status_for_authenticated_user( exclude: Missing[list[str]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-authenticated-user GET /user/migrations/{migration_id} @@ -2033,7 +2033,7 @@ async def async_get_status_for_authenticated_user( exclude: Missing[list[str]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-authenticated-user GET /user/migrations/{migration_id} @@ -2326,7 +2326,7 @@ def list_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-authenticated-user GET /user/migrations/{migration_id}/repositories @@ -2367,7 +2367,7 @@ async def async_list_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-authenticated-user GET /user/migrations/{migration_id}/repositories diff --git a/githubkit/versions/ghec_v2022_11_28/rest/oidc.py b/githubkit/versions/ghec_v2022_11_28/rest/oidc.py index d4f6e6e08..3ae4cd738 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/oidc.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/oidc.py @@ -24,7 +24,11 @@ from githubkit.response import Response from ..models import EmptyObject, OidcCustomSub - from ..types import EmptyObjectType, OidcCustomSubType + from ..types import ( + EmptyObjectTypeForResponse, + OidcCustomSubType, + OidcCustomSubTypeForResponse, + ) class OidcClient: @@ -48,7 +52,7 @@ def get_oidc_custom_sub_template_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSub, OidcCustomSubType]: + ) -> Response[OidcCustomSub, OidcCustomSubTypeForResponse]: """oidc/get-oidc-custom-sub-template-for-org GET /orgs/{org}/actions/oidc/customization/sub @@ -80,7 +84,7 @@ async def async_get_oidc_custom_sub_template_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSub, OidcCustomSubType]: + ) -> Response[OidcCustomSub, OidcCustomSubTypeForResponse]: """oidc/get-oidc-custom-sub-template-for-org GET /orgs/{org}/actions/oidc/customization/sub @@ -114,7 +118,7 @@ def update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OidcCustomSubType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def update_oidc_custom_sub_template_for_org( @@ -125,7 +129,7 @@ def update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, include_claim_keys: list[str], - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def update_oidc_custom_sub_template_for_org( self, @@ -135,7 +139,7 @@ def update_oidc_custom_sub_template_for_org( stream: bool = False, data: Missing[OidcCustomSubType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """oidc/update-oidc-custom-sub-template-for-org PUT /orgs/{org}/actions/oidc/customization/sub @@ -183,7 +187,7 @@ async def async_update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OidcCustomSubType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_update_oidc_custom_sub_template_for_org( @@ -194,7 +198,7 @@ async def async_update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, include_claim_keys: list[str], - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_update_oidc_custom_sub_template_for_org( self, @@ -204,7 +208,7 @@ async def async_update_oidc_custom_sub_template_for_org( stream: bool = False, data: Missing[OidcCustomSubType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """oidc/update-oidc-custom-sub-template-for-org PUT /orgs/{org}/actions/oidc/customization/sub diff --git a/githubkit/versions/ghec_v2022_11_28/rest/orgs.py b/githubkit/versions/ghec_v2022_11_28/rest/orgs.py index 64752aa43..807318a8c 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/orgs.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/orgs.py @@ -79,64 +79,66 @@ WebhookConfig, ) from ..types import ( - AnnouncementBannerType, + AnnouncementBannerTypeForResponse, AnnouncementType, - ApiInsightsRouteStatsItemsType, - ApiInsightsSubjectStatsItemsType, - ApiInsightsSummaryStatsType, - ApiInsightsTimeStatsItemsType, - ApiInsightsUserStatsItemsType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - AuditLogEventType, - CredentialAuthorizationType, + ApiInsightsRouteStatsItemsTypeForResponse, + ApiInsightsSubjectStatsItemsTypeForResponse, + ApiInsightsSummaryStatsTypeForResponse, + ApiInsightsTimeStatsItemsTypeForResponse, + ApiInsightsUserStatsItemsTypeForResponse, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + AuditLogEventTypeForResponse, + CredentialAuthorizationTypeForResponse, CustomPropertySetPayloadType, CustomPropertyType, + CustomPropertyTypeForResponse, CustomPropertyValueType, - HookDeliveryItemType, - HookDeliveryType, - ImmutableReleasesOrganizationSettingsType, - IssueTypeType, - MinimalRepositoryType, + CustomPropertyValueTypeForResponse, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + ImmutableReleasesOrganizationSettingsTypeForResponse, + IssueTypeTypeForResponse, + MinimalRepositoryTypeForResponse, OrganizationCreateIssueTypeType, OrganizationCustomOrganizationRoleCreateSchemaType, OrganizationCustomOrganizationRoleUpdateSchemaType, OrganizationCustomRepositoryRoleCreateSchemaType, - OrganizationCustomRepositoryRoleType, + OrganizationCustomRepositoryRoleTypeForResponse, OrganizationCustomRepositoryRoleUpdateSchemaType, - OrganizationFineGrainedPermissionType, - OrganizationFullType, - OrganizationInvitationType, - OrganizationProgrammaticAccessGrantRequestType, - OrganizationProgrammaticAccessGrantType, - OrganizationRoleType, - OrganizationSimpleType, - OrganizationsOrganizationIdCustomRolesGetResponse200Type, + OrganizationFineGrainedPermissionTypeForResponse, + OrganizationFullTypeForResponse, + OrganizationInvitationTypeForResponse, + OrganizationProgrammaticAccessGrantRequestTypeForResponse, + OrganizationProgrammaticAccessGrantTypeForResponse, + OrganizationRoleTypeForResponse, + OrganizationSimpleTypeForResponse, + OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse, OrganizationsOrgOrgPropertiesValuesPatchBodyType, OrganizationUpdateIssueTypeType, - OrgHookType, - OrgMembershipType, - OrgRepoCustomPropertyValuesType, + OrgHookTypeForResponse, + OrgMembershipTypeForResponse, + OrgRepoCustomPropertyValuesTypeForResponse, OrgsOrgArtifactsMetadataStorageRecordPostBodyType, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, OrgsOrgAttestationsBulkListPostBodyType, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type, OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type, - OrgsOrgAttestationsRepositoriesGetResponse200ItemsType, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, - OrgsOrgCustomRepositoryRolesGetResponse200Type, + OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, + OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse, OrgsOrgHooksHookIdConfigPatchBodyType, OrgsOrgHooksHookIdPatchBodyPropConfigType, OrgsOrgHooksHookIdPatchBodyType, OrgsOrgHooksPostBodyPropConfigType, OrgsOrgHooksPostBodyType, - OrgsOrgInstallationsGetResponse200Type, + OrgsOrgInstallationsGetResponse200TypeForResponse, OrgsOrgInvitationsPostBodyType, OrgsOrgMembershipsUsernamePutBodyType, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, OrgsOrgOutsideCollaboratorsUsernamePutBodyType, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, OrgsOrgPatchBodyType, OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType, OrgsOrgPersonalAccessTokenRequestsPostBodyType, @@ -146,19 +148,19 @@ OrgsOrgPropertiesValuesPatchBodyType, OrgsOrgSecurityProductEnablementPostBodyType, OrgsOrgSettingsImmutableReleasesPutBodyType, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType, - PushRuleBypassRequestType, - RepositoryFineGrainedPermissionType, - RulesetVersionType, - RulesetVersionWithStateType, - SimpleUserType, - TeamRoleAssignmentType, - TeamSimpleType, - TeamType, + PushRuleBypassRequestTypeForResponse, + RepositoryFineGrainedPermissionTypeForResponse, + RulesetVersionTypeForResponse, + RulesetVersionWithStateTypeForResponse, + SimpleUserTypeForResponse, + TeamRoleAssignmentTypeForResponse, + TeamSimpleTypeForResponse, + TeamTypeForResponse, UserMembershipsOrgsOrgPatchBodyType, - UserRoleAssignmentType, - WebhookConfigType, + UserRoleAssignmentTypeForResponse, + WebhookConfigTypeForResponse, ) @@ -184,7 +186,7 @@ def list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list GET /organizations @@ -224,7 +226,7 @@ async def async_list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list GET /organizations @@ -265,7 +267,7 @@ def list_custom_roles( stream: bool = False, ) -> Response[ OrganizationsOrganizationIdCustomRolesGetResponse200, - OrganizationsOrganizationIdCustomRolesGetResponse200Type, + OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse, ]: """DEPRECATED orgs/list-custom-roles @@ -305,7 +307,7 @@ async def async_list_custom_roles( stream: bool = False, ) -> Response[ OrganizationsOrganizationIdCustomRolesGetResponse200, - OrganizationsOrganizationIdCustomRolesGetResponse200Type, + OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse, ]: """DEPRECATED orgs/list-custom-roles @@ -343,7 +345,7 @@ def custom_properties_for_orgs_get_organization_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """orgs/custom-properties-for-orgs-get-organization-values GET /organizations/{org}/org-properties/values @@ -384,7 +386,7 @@ async def async_custom_properties_for_orgs_get_organization_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """orgs/custom-properties-for-orgs-get-organization-values GET /organizations/{org}/org-properties/values @@ -587,7 +589,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/get GET /orgs/{org} @@ -628,7 +630,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/get GET /orgs/{org} @@ -671,7 +673,7 @@ def delete( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/delete @@ -717,7 +719,7 @@ async def async_delete( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/delete @@ -763,7 +765,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... @overload def update( @@ -810,7 +812,7 @@ def update( secret_scanning_push_protection_custom_link: Missing[str] = UNSET, secret_scanning_validity_checks_enabled: Missing[bool] = UNSET, deploy_keys_enabled_for_repositories: Missing[bool] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... def update( self, @@ -820,7 +822,7 @@ def update( stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/update PATCH /orgs/{org} @@ -884,7 +886,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... @overload async def async_update( @@ -931,7 +933,7 @@ async def async_update( secret_scanning_push_protection_custom_link: Missing[str] = UNSET, secret_scanning_validity_checks_enabled: Missing[bool] = UNSET, deploy_keys_enabled_for_repositories: Missing[bool] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... async def async_update( self, @@ -941,7 +943,7 @@ async def async_update( stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/update PATCH /orgs/{org} @@ -1003,7 +1005,7 @@ def get_announcement_banner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/get-announcement-banner-for-org GET /orgs/{org}/announcement @@ -1035,7 +1037,7 @@ async def async_get_announcement_banner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/get-announcement-banner-for-org GET /orgs/{org}/announcement @@ -1123,7 +1125,7 @@ def set_announcement_banner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AnnouncementType, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... @overload def set_announcement_banner_for_org( @@ -1136,7 +1138,7 @@ def set_announcement_banner_for_org( announcement: Union[str, None], expires_at: Missing[Union[datetime, None]] = UNSET, user_dismissible: Missing[Union[bool, None]] = UNSET, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... def set_announcement_banner_for_org( self, @@ -1146,7 +1148,7 @@ def set_announcement_banner_for_org( stream: bool = False, data: Missing[AnnouncementType] = UNSET, **kwargs, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/set-announcement-banner-for-org PATCH /orgs/{org}/announcement @@ -1188,7 +1190,7 @@ async def async_set_announcement_banner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AnnouncementType, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... @overload async def async_set_announcement_banner_for_org( @@ -1201,7 +1203,7 @@ async def async_set_announcement_banner_for_org( announcement: Union[str, None], expires_at: Missing[Union[datetime, None]] = UNSET, user_dismissible: Missing[Union[bool, None]] = UNSET, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: ... + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: ... async def async_set_announcement_banner_for_org( self, @@ -1211,7 +1213,7 @@ async def async_set_announcement_banner_for_org( stream: bool = False, data: Missing[AnnouncementType] = UNSET, **kwargs, - ) -> Response[AnnouncementBanner, AnnouncementBannerType]: + ) -> Response[AnnouncementBanner, AnnouncementBannerTypeForResponse]: """announcement-banners/set-announcement-banner-for-org PATCH /orgs/{org}/announcement @@ -1255,7 +1257,7 @@ def create_artifact_storage_record( data: OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... @overload @@ -1277,7 +1279,7 @@ def create_artifact_storage_record( github_repository: Missing[str] = UNSET, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... def create_artifact_storage_record( @@ -1290,7 +1292,7 @@ def create_artifact_storage_record( **kwargs, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: """orgs/create-artifact-storage-record @@ -1342,7 +1344,7 @@ async def async_create_artifact_storage_record( data: OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... @overload @@ -1364,7 +1366,7 @@ async def async_create_artifact_storage_record( github_repository: Missing[str] = UNSET, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... async def async_create_artifact_storage_record( @@ -1377,7 +1379,7 @@ async def async_create_artifact_storage_record( **kwargs, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: """orgs/create-artifact-storage-record @@ -1428,7 +1430,7 @@ def list_artifact_storage_records( stream: bool = False, ) -> Response[ OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, ]: """orgs/list-artifact-storage-records @@ -1466,7 +1468,7 @@ async def async_list_artifact_storage_records( stream: bool = False, ) -> Response[ OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, ]: """orgs/list-artifact-storage-records @@ -1508,7 +1510,7 @@ def list_attestations_bulk( data: OrgsOrgAttestationsBulkListPostBodyType, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -1526,7 +1528,7 @@ def list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... def list_attestations_bulk( @@ -1542,7 +1544,7 @@ def list_attestations_bulk( **kwargs, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: """orgs/list-attestations-bulk @@ -1604,7 +1606,7 @@ async def async_list_attestations_bulk( data: OrgsOrgAttestationsBulkListPostBodyType, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -1622,7 +1624,7 @@ async def async_list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... async def async_list_attestations_bulk( @@ -1638,7 +1640,7 @@ async def async_list_attestations_bulk( **kwargs, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: """orgs/list-attestations-bulk @@ -1957,7 +1959,7 @@ def list_attestation_repositories( stream: bool = False, ) -> Response[ list[OrgsOrgAttestationsRepositoriesGetResponse200Items], - list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsType], + list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse], ]: """orgs/list-attestation-repositories @@ -2003,7 +2005,7 @@ async def async_list_attestation_repositories( stream: bool = False, ) -> Response[ list[OrgsOrgAttestationsRepositoriesGetResponse200Items], - list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsType], + list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse], ]: """orgs/list-attestation-repositories @@ -2118,7 +2120,7 @@ def list_attestations( stream: bool = False, ) -> Response[ OrgsOrgAttestationsSubjectDigestGetResponse200, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """orgs/list-attestations @@ -2168,7 +2170,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ OrgsOrgAttestationsSubjectDigestGetResponse200, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """orgs/list-attestations @@ -2217,7 +2219,7 @@ def get_audit_log( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AuditLogEvent], list[AuditLogEventType]]: + ) -> Response[list[AuditLogEvent], list[AuditLogEventTypeForResponse]]: """orgs/get-audit-log GET /orgs/{org}/audit-log @@ -2273,7 +2275,7 @@ async def async_get_audit_log( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[AuditLogEvent], list[AuditLogEventType]]: + ) -> Response[list[AuditLogEvent], list[AuditLogEventTypeForResponse]]: """orgs/get-audit-log GET /orgs/{org}/audit-log @@ -2325,7 +2327,7 @@ def list_blocked_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-blocked-users GET /orgs/{org}/blocks @@ -2363,7 +2365,7 @@ async def async_list_blocked_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-blocked-users GET /orgs/{org}/blocks @@ -2605,7 +2607,9 @@ def list_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """orgs/list-push-bypass-requests GET /orgs/{org}/bypass-requests/push-rules @@ -2668,7 +2672,9 @@ async def async_list_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """orgs/list-push-bypass-requests GET /orgs/{org}/bypass-requests/push-rules @@ -2716,7 +2722,9 @@ def list_saml_sso_authorizations( login: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CredentialAuthorization], list[CredentialAuthorizationType]]: + ) -> Response[ + list[CredentialAuthorization], list[CredentialAuthorizationTypeForResponse] + ]: """orgs/list-saml-sso-authorizations GET /orgs/{org}/credential-authorizations @@ -2760,7 +2768,9 @@ async def async_list_saml_sso_authorizations( login: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CredentialAuthorization], list[CredentialAuthorizationType]]: + ) -> Response[ + list[CredentialAuthorization], list[CredentialAuthorizationTypeForResponse] + ]: """orgs/list-saml-sso-authorizations GET /orgs/{org}/credential-authorizations @@ -2877,7 +2887,7 @@ def list_custom_repo_roles( stream: bool = False, ) -> Response[ OrgsOrgCustomRepositoryRolesGetResponse200, - OrgsOrgCustomRepositoryRolesGetResponse200Type, + OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse, ]: """orgs/list-custom-repo-roles @@ -2914,7 +2924,7 @@ async def async_list_custom_repo_roles( stream: bool = False, ) -> Response[ OrgsOrgCustomRepositoryRolesGetResponse200, - OrgsOrgCustomRepositoryRolesGetResponse200Type, + OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse, ]: """orgs/list-custom-repo-roles @@ -2952,7 +2962,8 @@ def create_custom_repo_role( stream: bool = False, data: OrganizationCustomRepositoryRoleCreateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -2968,7 +2979,8 @@ def create_custom_repo_role( base_role: Literal["read", "triage", "write", "maintain"], permissions: list[str], ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... def create_custom_repo_role( @@ -2980,7 +2992,8 @@ def create_custom_repo_role( data: Missing[OrganizationCustomRepositoryRoleCreateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/create-custom-repo-role @@ -3039,7 +3052,8 @@ async def async_create_custom_repo_role( stream: bool = False, data: OrganizationCustomRepositoryRoleCreateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3055,7 +3069,8 @@ async def async_create_custom_repo_role( base_role: Literal["read", "triage", "write", "maintain"], permissions: list[str], ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... async def async_create_custom_repo_role( @@ -3067,7 +3082,8 @@ async def async_create_custom_repo_role( data: Missing[OrganizationCustomRepositoryRoleCreateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/create-custom-repo-role @@ -3125,7 +3141,8 @@ def get_custom_repo_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/get-custom-repo-role @@ -3165,7 +3182,8 @@ async def async_get_custom_repo_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/get-custom-repo-role @@ -3273,7 +3291,8 @@ def update_custom_repo_role( stream: bool = False, data: OrganizationCustomRepositoryRoleUpdateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3290,7 +3309,8 @@ def update_custom_repo_role( base_role: Missing[Literal["read", "triage", "write", "maintain"]] = UNSET, permissions: Missing[list[str]] = UNSET, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... def update_custom_repo_role( @@ -3303,7 +3323,8 @@ def update_custom_repo_role( data: Missing[OrganizationCustomRepositoryRoleUpdateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/update-custom-repo-role @@ -3363,7 +3384,8 @@ async def async_update_custom_repo_role( stream: bool = False, data: OrganizationCustomRepositoryRoleUpdateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3380,7 +3402,8 @@ async def async_update_custom_repo_role( base_role: Missing[Literal["read", "triage", "write", "maintain"]] = UNSET, permissions: Missing[list[str]] = UNSET, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... async def async_update_custom_repo_role( @@ -3393,7 +3416,8 @@ async def async_update_custom_repo_role( data: Missing[OrganizationCustomRepositoryRoleUpdateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """orgs/update-custom-repo-role @@ -3452,7 +3476,8 @@ def create_custom_role( stream: bool = False, data: OrganizationCustomRepositoryRoleCreateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3468,7 +3493,8 @@ def create_custom_role( base_role: Literal["read", "triage", "write", "maintain"], permissions: list[str], ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... def create_custom_role( @@ -3480,7 +3506,8 @@ def create_custom_role( data: Missing[OrganizationCustomRepositoryRoleCreateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/create-custom-role @@ -3542,7 +3569,8 @@ async def async_create_custom_role( stream: bool = False, data: OrganizationCustomRepositoryRoleCreateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3558,7 +3586,8 @@ async def async_create_custom_role( base_role: Literal["read", "triage", "write", "maintain"], permissions: list[str], ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... async def async_create_custom_role( @@ -3570,7 +3599,8 @@ async def async_create_custom_role( data: Missing[OrganizationCustomRepositoryRoleCreateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/create-custom-role @@ -3631,7 +3661,8 @@ def get_custom_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/get-custom-role @@ -3674,7 +3705,8 @@ async def async_get_custom_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/get-custom-role @@ -3791,7 +3823,8 @@ def update_custom_role( stream: bool = False, data: OrganizationCustomRepositoryRoleUpdateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3808,7 +3841,8 @@ def update_custom_role( base_role: Missing[Literal["read", "triage", "write", "maintain"]] = UNSET, permissions: Missing[list[str]] = UNSET, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... def update_custom_role( @@ -3821,7 +3855,8 @@ def update_custom_role( data: Missing[OrganizationCustomRepositoryRoleUpdateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/update-custom-role @@ -3884,7 +3919,8 @@ async def async_update_custom_role( stream: bool = False, data: OrganizationCustomRepositoryRoleUpdateSchemaType, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... @overload @@ -3901,7 +3937,8 @@ async def async_update_custom_role( base_role: Missing[Literal["read", "triage", "write", "maintain"]] = UNSET, permissions: Missing[list[str]] = UNSET, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: ... async def async_update_custom_role( @@ -3914,7 +3951,8 @@ async def async_update_custom_role( data: Missing[OrganizationCustomRepositoryRoleUpdateSchemaType] = UNSET, **kwargs, ) -> Response[ - OrganizationCustomRepositoryRole, OrganizationCustomRepositoryRoleType + OrganizationCustomRepositoryRole, + OrganizationCustomRepositoryRoleTypeForResponse, ]: """DEPRECATED orgs/update-custom-role @@ -3975,7 +4013,9 @@ def list_failed_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-failed-invitations GET /orgs/{org}/failed_invitations @@ -4019,7 +4059,9 @@ async def async_list_failed_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-failed-invitations GET /orgs/{org}/failed_invitations @@ -4062,7 +4104,8 @@ def list_fine_grained_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[RepositoryFineGrainedPermission], list[RepositoryFineGrainedPermissionType] + list[RepositoryFineGrainedPermission], + list[RepositoryFineGrainedPermissionTypeForResponse], ]: """DEPRECATED orgs/list-fine-grained-permissions @@ -4101,7 +4144,8 @@ async def async_list_fine_grained_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[RepositoryFineGrainedPermission], list[RepositoryFineGrainedPermissionType] + list[RepositoryFineGrainedPermission], + list[RepositoryFineGrainedPermissionTypeForResponse], ]: """DEPRECATED orgs/list-fine-grained-permissions @@ -4141,7 +4185,7 @@ def list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgHook], list[OrgHookType]]: + ) -> Response[list[OrgHook], list[OrgHookTypeForResponse]]: """orgs/list-webhooks GET /orgs/{org}/hooks @@ -4185,7 +4229,7 @@ async def async_list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgHook], list[OrgHookType]]: + ) -> Response[list[OrgHook], list[OrgHookTypeForResponse]]: """orgs/list-webhooks GET /orgs/{org}/hooks @@ -4229,7 +4273,7 @@ def create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgHooksPostBodyType, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload def create_webhook( @@ -4243,7 +4287,7 @@ def create_webhook( config: OrgsOrgHooksPostBodyPropConfigType, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... def create_webhook( self, @@ -4253,7 +4297,7 @@ def create_webhook( stream: bool = False, data: Missing[OrgsOrgHooksPostBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/create-webhook POST /orgs/{org}/hooks @@ -4302,7 +4346,7 @@ async def async_create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgHooksPostBodyType, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload async def async_create_webhook( @@ -4316,7 +4360,7 @@ async def async_create_webhook( config: OrgsOrgHooksPostBodyPropConfigType, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... async def async_create_webhook( self, @@ -4326,7 +4370,7 @@ async def async_create_webhook( stream: bool = False, data: Missing[OrgsOrgHooksPostBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/create-webhook POST /orgs/{org}/hooks @@ -4374,7 +4418,7 @@ def get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/get-webhook GET /orgs/{org}/hooks/{hook_id} @@ -4411,7 +4455,7 @@ async def async_get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/get-webhook GET /orgs/{org}/hooks/{hook_id} @@ -4522,7 +4566,7 @@ def update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload def update_webhook( @@ -4537,7 +4581,7 @@ def update_webhook( events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, name: Missing[str] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... def update_webhook( self, @@ -4548,7 +4592,7 @@ def update_webhook( stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/update-webhook PATCH /orgs/{org}/hooks/{hook_id} @@ -4603,7 +4647,7 @@ async def async_update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload async def async_update_webhook( @@ -4618,7 +4662,7 @@ async def async_update_webhook( events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, name: Missing[str] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... async def async_update_webhook( self, @@ -4629,7 +4673,7 @@ async def async_update_webhook( stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/update-webhook PATCH /orgs/{org}/hooks/{hook_id} @@ -4682,7 +4726,7 @@ def get_webhook_config_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/get-webhook-config-for-org GET /orgs/{org}/hooks/{hook_id}/config @@ -4716,7 +4760,7 @@ async def async_get_webhook_config_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/get-webhook-config-for-org GET /orgs/{org}/hooks/{hook_id}/config @@ -4752,7 +4796,7 @@ def update_webhook_config_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_org( @@ -4767,7 +4811,7 @@ def update_webhook_config_for_org( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_org( self, @@ -4778,7 +4822,7 @@ def update_webhook_config_for_org( stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/update-webhook-config-for-org PATCH /orgs/{org}/hooks/{hook_id}/config @@ -4824,7 +4868,7 @@ async def async_update_webhook_config_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_org( @@ -4839,7 +4883,7 @@ async def async_update_webhook_config_for_org( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_org( self, @@ -4850,7 +4894,7 @@ async def async_update_webhook_config_for_org( stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/update-webhook-config-for-org PATCH /orgs/{org}/hooks/{hook_id}/config @@ -4896,7 +4940,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """orgs/list-webhook-deliveries GET /orgs/{org}/hooks/{hook_id}/deliveries @@ -4942,7 +4986,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """orgs/list-webhook-deliveries GET /orgs/{org}/hooks/{hook_id}/deliveries @@ -4987,7 +5031,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """orgs/get-webhook-delivery GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} @@ -5026,7 +5070,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """orgs/get-webhook-delivery GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} @@ -5067,7 +5111,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/redeliver-webhook-delivery @@ -5113,7 +5157,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/redeliver-webhook-delivery @@ -5254,7 +5298,8 @@ def get_route_stats_by_actor( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsRouteStatsItems], list[ApiInsightsRouteStatsItemsType] + list[ApiInsightsRouteStatsItems], + list[ApiInsightsRouteStatsItemsTypeForResponse], ]: """api-insights/get-route-stats-by-actor @@ -5323,7 +5368,8 @@ async def async_get_route_stats_by_actor( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsRouteStatsItems], list[ApiInsightsRouteStatsItemsType] + list[ApiInsightsRouteStatsItems], + list[ApiInsightsRouteStatsItemsTypeForResponse], ]: """api-insights/get-route-stats-by-actor @@ -5383,7 +5429,8 @@ def get_subject_stats( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsSubjectStatsItems], list[ApiInsightsSubjectStatsItemsType] + list[ApiInsightsSubjectStatsItems], + list[ApiInsightsSubjectStatsItemsTypeForResponse], ]: """api-insights/get-subject-stats @@ -5443,7 +5490,8 @@ async def async_get_subject_stats( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsSubjectStatsItems], list[ApiInsightsSubjectStatsItemsType] + list[ApiInsightsSubjectStatsItems], + list[ApiInsightsSubjectStatsItemsTypeForResponse], ]: """api-insights/get-subject-stats @@ -5487,7 +5535,7 @@ def get_summary_stats( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats GET /orgs/{org}/insights/api/summary-stats @@ -5525,7 +5573,7 @@ async def async_get_summary_stats( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats GET /orgs/{org}/insights/api/summary-stats @@ -5564,7 +5612,7 @@ def get_summary_stats_by_user( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-user GET /orgs/{org}/insights/api/summary-stats/users/{user_id} @@ -5603,7 +5651,7 @@ async def async_get_summary_stats_by_user( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-user GET /orgs/{org}/insights/api/summary-stats/users/{user_id} @@ -5649,7 +5697,7 @@ def get_summary_stats_by_actor( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-actor GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id} @@ -5695,7 +5743,7 @@ async def async_get_summary_stats_by_actor( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-actor GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id} @@ -5734,7 +5782,9 @@ def get_time_stats( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats GET /orgs/{org}/insights/api/time-stats @@ -5774,7 +5824,9 @@ async def async_get_time_stats( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats GET /orgs/{org}/insights/api/time-stats @@ -5815,7 +5867,9 @@ def get_time_stats_by_user( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-user GET /orgs/{org}/insights/api/time-stats/users/{user_id} @@ -5856,7 +5910,9 @@ async def async_get_time_stats_by_user( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-user GET /orgs/{org}/insights/api/time-stats/users/{user_id} @@ -5904,7 +5960,9 @@ def get_time_stats_by_actor( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-actor GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id} @@ -5952,7 +6010,9 @@ async def async_get_time_stats_by_actor( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-actor GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id} @@ -6007,7 +6067,9 @@ def get_user_stats( actor_name_substring: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsType]]: + ) -> Response[ + list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsTypeForResponse] + ]: """api-insights/get-user-stats GET /orgs/{org}/insights/api/user-stats/{user_id} @@ -6066,7 +6128,9 @@ async def async_get_user_stats( actor_name_substring: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsType]]: + ) -> Response[ + list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsTypeForResponse] + ]: """api-insights/get-user-stats GET /orgs/{org}/insights/api/user-stats/{user_id} @@ -6110,7 +6174,8 @@ def list_app_installations( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgInstallationsGetResponse200, OrgsOrgInstallationsGetResponse200Type + OrgsOrgInstallationsGetResponse200, + OrgsOrgInstallationsGetResponse200TypeForResponse, ]: """orgs/list-app-installations @@ -6155,7 +6220,8 @@ async def async_list_app_installations( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgInstallationsGetResponse200, OrgsOrgInstallationsGetResponse200Type + OrgsOrgInstallationsGetResponse200, + OrgsOrgInstallationsGetResponse200TypeForResponse, ]: """orgs/list-app-installations @@ -6205,7 +6271,9 @@ def list_pending_invitations( invitation_source: Missing[Literal["all", "member", "scim"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-pending-invitations GET /orgs/{org}/invitations @@ -6259,7 +6327,9 @@ async def async_list_pending_invitations( invitation_source: Missing[Literal["all", "member", "scim"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-pending-invitations GET /orgs/{org}/invitations @@ -6307,7 +6377,7 @@ def create_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... @overload def create_invitation( @@ -6323,7 +6393,7 @@ def create_invitation( Literal["admin", "direct_member", "billing_manager", "reinstate"] ] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... def create_invitation( self, @@ -6333,7 +6403,7 @@ def create_invitation( stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: """orgs/create-invitation POST /orgs/{org}/invitations @@ -6388,7 +6458,7 @@ async def async_create_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... @overload async def async_create_invitation( @@ -6404,7 +6474,7 @@ async def async_create_invitation( Literal["admin", "direct_member", "billing_manager", "reinstate"] ] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... async def async_create_invitation( self, @@ -6414,7 +6484,7 @@ async def async_create_invitation( stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: """orgs/create-invitation POST /orgs/{org}/invitations @@ -6546,7 +6616,7 @@ def list_invitation_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """orgs/list-invitation-teams GET /orgs/{org}/invitations/{invitation_id}/teams @@ -6591,7 +6661,7 @@ async def async_list_invitation_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """orgs/list-invitation-teams GET /orgs/{org}/invitations/{invitation_id}/teams @@ -6633,7 +6703,9 @@ def list_issue_types( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[IssueType, None]], list[Union[IssueTypeType, None]]]: + ) -> Response[ + list[Union[IssueType, None]], list[Union[IssueTypeTypeForResponse, None]] + ]: """orgs/list-issue-types GET /orgs/{org}/issue-types @@ -6668,7 +6740,9 @@ async def async_list_issue_types( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[IssueType, None]], list[Union[IssueTypeType, None]]]: + ) -> Response[ + list[Union[IssueType, None]], list[Union[IssueTypeTypeForResponse, None]] + ]: """orgs/list-issue-types GET /orgs/{org}/issue-types @@ -6705,7 +6779,7 @@ def create_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCreateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload def create_issue_type( @@ -6726,7 +6800,7 @@ def create_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... def create_issue_type( self, @@ -6736,7 +6810,7 @@ def create_issue_type( stream: bool = False, data: Missing[OrganizationCreateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/create-issue-type POST /orgs/{org}/issue-types @@ -6794,7 +6868,7 @@ async def async_create_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCreateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload async def async_create_issue_type( @@ -6815,7 +6889,7 @@ async def async_create_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... async def async_create_issue_type( self, @@ -6825,7 +6899,7 @@ async def async_create_issue_type( stream: bool = False, data: Missing[OrganizationCreateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/create-issue-type POST /orgs/{org}/issue-types @@ -6884,7 +6958,7 @@ def update_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationUpdateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload def update_issue_type( @@ -6906,7 +6980,7 @@ def update_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... def update_issue_type( self, @@ -6917,7 +6991,7 @@ def update_issue_type( stream: bool = False, data: Missing[OrganizationUpdateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/update-issue-type PUT /orgs/{org}/issue-types/{issue_type_id} @@ -6976,7 +7050,7 @@ async def async_update_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationUpdateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload async def async_update_issue_type( @@ -6998,7 +7072,7 @@ async def async_update_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... async def async_update_issue_type( self, @@ -7009,7 +7083,7 @@ async def async_update_issue_type( stream: bool = False, data: Missing[OrganizationUpdateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/update-issue-type PUT /orgs/{org}/issue-types/{issue_type_id} @@ -7147,7 +7221,7 @@ def list_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-members GET /orgs/{org}/members @@ -7192,7 +7266,7 @@ async def async_list_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-members GET /orgs/{org}/members @@ -7364,7 +7438,7 @@ def get_membership_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-user GET /orgs/{org}/memberships/{username} @@ -7399,7 +7473,7 @@ async def async_get_membership_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-user GET /orgs/{org}/memberships/{username} @@ -7436,7 +7510,7 @@ def set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload def set_membership_for_user( @@ -7448,7 +7522,7 @@ def set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["admin", "member"]] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... def set_membership_for_user( self, @@ -7459,7 +7533,7 @@ def set_membership_for_user( stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/set-membership-for-user PUT /orgs/{org}/memberships/{username} @@ -7519,7 +7593,7 @@ async def async_set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload async def async_set_membership_for_user( @@ -7531,7 +7605,7 @@ async def async_set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["admin", "member"]] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... async def async_set_membership_for_user( self, @@ -7542,7 +7616,7 @@ async def async_set_membership_for_user( stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/set-membership-for-user PUT /orgs/{org}/memberships/{username} @@ -7679,7 +7753,7 @@ def list_organization_fine_grained_permissions( stream: bool = False, ) -> Response[ list[OrganizationFineGrainedPermission], - list[OrganizationFineGrainedPermissionType], + list[OrganizationFineGrainedPermissionTypeForResponse], ]: """orgs/list-organization-fine-grained-permissions @@ -7729,7 +7803,7 @@ async def async_list_organization_fine_grained_permissions( stream: bool = False, ) -> Response[ list[OrganizationFineGrainedPermission], - list[OrganizationFineGrainedPermissionType], + list[OrganizationFineGrainedPermissionTypeForResponse], ]: """orgs/list-organization-fine-grained-permissions @@ -7779,7 +7853,7 @@ def list_org_roles( stream: bool = False, ) -> Response[ OrgsOrgOrganizationRolesGetResponse200, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, ]: """orgs/list-org-roles @@ -7827,7 +7901,7 @@ async def async_list_org_roles( stream: bool = False, ) -> Response[ OrgsOrgOrganizationRolesGetResponse200, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, ]: """orgs/list-org-roles @@ -7875,7 +7949,7 @@ def create_custom_organization_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomOrganizationRoleCreateSchemaType, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... @overload def create_custom_organization_role( @@ -7891,7 +7965,7 @@ def create_custom_organization_role( base_role: Missing[ Literal["read", "triage", "write", "maintain", "admin"] ] = UNSET, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... def create_custom_organization_role( self, @@ -7901,7 +7975,7 @@ def create_custom_organization_role( stream: bool = False, data: Missing[OrganizationCustomOrganizationRoleCreateSchemaType] = UNSET, **kwargs, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/create-custom-organization-role POST /orgs/{org}/organization-roles @@ -7973,7 +8047,7 @@ async def async_create_custom_organization_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomOrganizationRoleCreateSchemaType, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... @overload async def async_create_custom_organization_role( @@ -7989,7 +8063,7 @@ async def async_create_custom_organization_role( base_role: Missing[ Literal["read", "triage", "write", "maintain", "admin"] ] = UNSET, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... async def async_create_custom_organization_role( self, @@ -7999,7 +8073,7 @@ async def async_create_custom_organization_role( stream: bool = False, data: Missing[OrganizationCustomOrganizationRoleCreateSchemaType] = UNSET, **kwargs, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/create-custom-organization-role POST /orgs/{org}/organization-roles @@ -8466,7 +8540,7 @@ def get_org_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/get-org-role GET /orgs/{org}/organization-roles/{role_id} @@ -8508,7 +8582,7 @@ async def async_get_org_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/get-org-role GET /orgs/{org}/organization-roles/{role_id} @@ -8622,7 +8696,7 @@ def patch_custom_organization_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomOrganizationRoleUpdateSchemaType, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... @overload def patch_custom_organization_role( @@ -8639,7 +8713,7 @@ def patch_custom_organization_role( base_role: Missing[ Literal["none", "read", "triage", "write", "maintain", "admin"] ] = UNSET, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... def patch_custom_organization_role( self, @@ -8650,7 +8724,7 @@ def patch_custom_organization_role( stream: bool = False, data: Missing[OrganizationCustomOrganizationRoleUpdateSchemaType] = UNSET, **kwargs, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/patch-custom-organization-role PATCH /orgs/{org}/organization-roles/{role_id} @@ -8717,7 +8791,7 @@ async def async_patch_custom_organization_role( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCustomOrganizationRoleUpdateSchemaType, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... @overload async def async_patch_custom_organization_role( @@ -8734,7 +8808,7 @@ async def async_patch_custom_organization_role( base_role: Missing[ Literal["none", "read", "triage", "write", "maintain", "admin"] ] = UNSET, - ) -> Response[OrganizationRole, OrganizationRoleType]: ... + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: ... async def async_patch_custom_organization_role( self, @@ -8745,7 +8819,7 @@ async def async_patch_custom_organization_role( stream: bool = False, data: Missing[OrganizationCustomOrganizationRoleUpdateSchemaType] = UNSET, **kwargs, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/patch-custom-organization-role PATCH /orgs/{org}/organization-roles/{role_id} @@ -8812,7 +8886,7 @@ def list_org_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentType]]: + ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentTypeForResponse]]: """orgs/list-org-role-teams GET /orgs/{org}/organization-roles/{role_id}/teams @@ -8856,7 +8930,7 @@ async def async_list_org_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentType]]: + ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentTypeForResponse]]: """orgs/list-org-role-teams GET /orgs/{org}/organization-roles/{role_id}/teams @@ -8900,7 +8974,7 @@ def list_org_role_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentType]]: + ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentTypeForResponse]]: """orgs/list-org-role-users GET /orgs/{org}/organization-roles/{role_id}/users @@ -8944,7 +9018,7 @@ async def async_list_org_role_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentType]]: + ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentTypeForResponse]]: """orgs/list-org-role-users GET /orgs/{org}/organization-roles/{role_id}/users @@ -8988,7 +9062,7 @@ def list_outside_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-outside-collaborators GET /orgs/{org}/outside_collaborators @@ -9028,7 +9102,7 @@ async def async_list_outside_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-outside-collaborators GET /orgs/{org}/outside_collaborators @@ -9070,7 +9144,7 @@ def convert_member_to_outside_collaborator( data: Missing[OrgsOrgOutsideCollaboratorsUsernamePutBodyType] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... @overload @@ -9085,7 +9159,7 @@ def convert_member_to_outside_collaborator( async_: Missing[bool] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... def convert_member_to_outside_collaborator( @@ -9099,7 +9173,7 @@ def convert_member_to_outside_collaborator( **kwargs, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: """orgs/convert-member-to-outside-collaborator @@ -9154,7 +9228,7 @@ async def async_convert_member_to_outside_collaborator( data: Missing[OrgsOrgOutsideCollaboratorsUsernamePutBodyType] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... @overload @@ -9169,7 +9243,7 @@ async def async_convert_member_to_outside_collaborator( async_: Missing[bool] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... async def async_convert_member_to_outside_collaborator( @@ -9183,7 +9257,7 @@ async def async_convert_member_to_outside_collaborator( **kwargs, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: """orgs/convert-member-to-outside-collaborator @@ -9311,7 +9385,7 @@ def list_pat_grant_requests( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrantRequest], - list[OrganizationProgrammaticAccessGrantRequestType], + list[OrganizationProgrammaticAccessGrantRequestTypeForResponse], ]: """orgs/list-pat-grant-requests @@ -9380,7 +9454,7 @@ async def async_list_pat_grant_requests( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrantRequest], - list[OrganizationProgrammaticAccessGrantRequestType], + list[OrganizationProgrammaticAccessGrantRequestTypeForResponse], ]: """orgs/list-pat-grant-requests @@ -9441,7 +9515,7 @@ def review_pat_grant_requests_in_bulk( data: OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -9457,7 +9531,7 @@ def review_pat_grant_requests_in_bulk( reason: Missing[Union[str, None]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def review_pat_grant_requests_in_bulk( @@ -9470,7 +9544,7 @@ def review_pat_grant_requests_in_bulk( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/review-pat-grant-requests-in-bulk @@ -9530,7 +9604,7 @@ async def async_review_pat_grant_requests_in_bulk( data: OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -9546,7 +9620,7 @@ async def async_review_pat_grant_requests_in_bulk( reason: Missing[Union[str, None]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_review_pat_grant_requests_in_bulk( @@ -9559,7 +9633,7 @@ async def async_review_pat_grant_requests_in_bulk( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/review-pat-grant-requests-in-bulk @@ -9782,7 +9856,7 @@ def list_pat_grant_request_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-request-repositories GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories @@ -9830,7 +9904,7 @@ async def async_list_pat_grant_request_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-request-repositories GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories @@ -9887,7 +9961,7 @@ def list_pat_grants( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrant], - list[OrganizationProgrammaticAccessGrantType], + list[OrganizationProgrammaticAccessGrantTypeForResponse], ]: """orgs/list-pat-grants @@ -9956,7 +10030,7 @@ async def async_list_pat_grants( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrant], - list[OrganizationProgrammaticAccessGrantType], + list[OrganizationProgrammaticAccessGrantTypeForResponse], ]: """orgs/list-pat-grants @@ -10017,7 +10091,7 @@ def update_pat_accesses( data: OrgsOrgPersonalAccessTokensPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -10032,7 +10106,7 @@ def update_pat_accesses( pat_ids: list[int], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def update_pat_accesses( @@ -10045,7 +10119,7 @@ def update_pat_accesses( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/update-pat-accesses @@ -10103,7 +10177,7 @@ async def async_update_pat_accesses( data: OrgsOrgPersonalAccessTokensPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -10118,7 +10192,7 @@ async def async_update_pat_accesses( pat_ids: list[int], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_update_pat_accesses( @@ -10131,7 +10205,7 @@ async def async_update_pat_accesses( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/update-pat-accesses @@ -10342,7 +10416,7 @@ def list_pat_grant_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-repositories GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories @@ -10388,7 +10462,7 @@ async def async_list_pat_grant_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-repositories GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories @@ -10431,7 +10505,7 @@ def custom_properties_for_repos_get_organization_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-get-organization-definitions GET /orgs/{org}/properties/schema @@ -10466,7 +10540,7 @@ async def async_custom_properties_for_repos_get_organization_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-get-organization-definitions GET /orgs/{org}/properties/schema @@ -10503,7 +10577,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgPropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload def custom_properties_for_repos_create_or_update_organization_definitions( @@ -10514,7 +10588,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... def custom_properties_for_repos_create_or_update_organization_definitions( self, @@ -10524,7 +10598,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( stream: bool = False, data: Missing[OrgsOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-create-or-update-organization-definitions PATCH /orgs/{org}/properties/schema @@ -10582,7 +10656,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgPropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload async def async_custom_properties_for_repos_create_or_update_organization_definitions( @@ -10593,7 +10667,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... async def async_custom_properties_for_repos_create_or_update_organization_definitions( self, @@ -10603,7 +10677,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini stream: bool = False, data: Missing[OrgsOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-create-or-update-organization-definitions PATCH /orgs/{org}/properties/schema @@ -10660,7 +10734,7 @@ def custom_properties_for_repos_get_organization_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-get-organization-definition GET /orgs/{org}/properties/schema/{custom_property_name} @@ -10696,7 +10770,7 @@ async def async_custom_properties_for_repos_get_organization_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-get-organization-definition GET /orgs/{org}/properties/schema/{custom_property_name} @@ -10734,7 +10808,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload def custom_properties_for_repos_create_or_update_organization_definition( @@ -10753,7 +10827,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... def custom_properties_for_repos_create_or_update_organization_definition( self, @@ -10764,7 +10838,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-create-or-update-organization-definition PUT /orgs/{org}/properties/schema/{custom_property_name} @@ -10815,7 +10889,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload async def async_custom_properties_for_repos_create_or_update_organization_definition( @@ -10834,7 +10908,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... async def async_custom_properties_for_repos_create_or_update_organization_definition( self, @@ -10845,7 +10919,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-create-or-update-organization-definition PUT /orgs/{org}/properties/schema/{custom_property_name} @@ -10973,7 +11047,8 @@ def custom_properties_for_repos_get_organization_values( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrgRepoCustomPropertyValues], list[OrgRepoCustomPropertyValuesType] + list[OrgRepoCustomPropertyValues], + list[OrgRepoCustomPropertyValuesTypeForResponse], ]: """orgs/custom-properties-for-repos-get-organization-values @@ -11020,7 +11095,8 @@ async def async_custom_properties_for_repos_get_organization_values( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrgRepoCustomPropertyValues], list[OrgRepoCustomPropertyValuesType] + list[OrgRepoCustomPropertyValues], + list[OrgRepoCustomPropertyValuesTypeForResponse], ]: """orgs/custom-properties-for-repos-get-organization-values @@ -11227,7 +11303,7 @@ def list_public_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-public-members GET /orgs/{org}/public_members @@ -11265,7 +11341,7 @@ async def async_list_public_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-public-members GET /orgs/{org}/public_members @@ -11486,7 +11562,8 @@ def list_repo_fine_grained_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[RepositoryFineGrainedPermission], list[RepositoryFineGrainedPermissionType] + list[RepositoryFineGrainedPermission], + list[RepositoryFineGrainedPermissionTypeForResponse], ]: """orgs/list-repo-fine-grained-permissions @@ -11522,7 +11599,8 @@ async def async_list_repo_fine_grained_permissions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[RepositoryFineGrainedPermission], list[RepositoryFineGrainedPermissionType] + list[RepositoryFineGrainedPermission], + list[RepositoryFineGrainedPermissionTypeForResponse], ]: """orgs/list-repo-fine-grained-permissions @@ -11560,7 +11638,7 @@ def get_org_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """orgs/get-org-ruleset-history GET /orgs/{org}/rulesets/{ruleset_id}/history @@ -11603,7 +11681,7 @@ async def async_get_org_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """orgs/get-org-ruleset-history GET /orgs/{org}/rulesets/{ruleset_id}/history @@ -11645,7 +11723,7 @@ def get_org_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """orgs/get-org-ruleset-version GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id} @@ -11681,7 +11759,7 @@ async def async_get_org_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """orgs/get-org-ruleset-version GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id} @@ -11715,7 +11793,7 @@ def list_security_manager_teams( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamSimple], list[TeamSimpleType]]: + ) -> Response[list[TeamSimple], list[TeamSimpleTypeForResponse]]: """DEPRECATED orgs/list-security-manager-teams GET /orgs/{org}/security-managers @@ -11746,7 +11824,7 @@ async def async_list_security_manager_teams( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamSimple], list[TeamSimpleType]]: + ) -> Response[list[TeamSimple], list[TeamSimpleTypeForResponse]]: """DEPRECATED orgs/list-security-manager-teams GET /orgs/{org}/security-managers @@ -11894,7 +11972,8 @@ def get_immutable_releases_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ImmutableReleasesOrganizationSettings, ImmutableReleasesOrganizationSettingsType + ImmutableReleasesOrganizationSettings, + ImmutableReleasesOrganizationSettingsTypeForResponse, ]: """orgs/get-immutable-releases-settings @@ -11928,7 +12007,8 @@ async def async_get_immutable_releases_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ImmutableReleasesOrganizationSettings, ImmutableReleasesOrganizationSettingsType + ImmutableReleasesOrganizationSettings, + ImmutableReleasesOrganizationSettingsTypeForResponse, ]: """orgs/get-immutable-releases-settings @@ -12095,7 +12175,7 @@ def get_immutable_releases_settings_repositories( stream: bool = False, ) -> Response[ OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, ]: """orgs/get-immutable-releases-settings-repositories @@ -12138,7 +12218,7 @@ async def async_get_immutable_releases_settings_repositories( stream: bool = False, ) -> Response[ OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, ]: """orgs/get-immutable-releases-settings-repositories @@ -12631,7 +12711,7 @@ def list_memberships_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgMembership], list[OrgMembershipType]]: + ) -> Response[list[OrgMembership], list[OrgMembershipTypeForResponse]]: """orgs/list-memberships-for-authenticated-user GET /user/memberships/orgs @@ -12675,7 +12755,7 @@ async def async_list_memberships_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgMembership], list[OrgMembershipType]]: + ) -> Response[list[OrgMembership], list[OrgMembershipTypeForResponse]]: """orgs/list-memberships-for-authenticated-user GET /user/memberships/orgs @@ -12717,7 +12797,7 @@ def get_membership_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-authenticated-user GET /user/memberships/orgs/{org} @@ -12751,7 +12831,7 @@ async def async_get_membership_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-authenticated-user GET /user/memberships/orgs/{org} @@ -12787,7 +12867,7 @@ def update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMembershipsOrgsOrgPatchBodyType, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload def update_membership_for_authenticated_user( @@ -12798,7 +12878,7 @@ def update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, state: Literal["active"], - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... def update_membership_for_authenticated_user( self, @@ -12808,7 +12888,7 @@ def update_membership_for_authenticated_user( stream: bool = False, data: Missing[UserMembershipsOrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/update-membership-for-authenticated-user PATCH /user/memberships/orgs/{org} @@ -12860,7 +12940,7 @@ async def async_update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMembershipsOrgsOrgPatchBodyType, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload async def async_update_membership_for_authenticated_user( @@ -12871,7 +12951,7 @@ async def async_update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, state: Literal["active"], - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... async def async_update_membership_for_authenticated_user( self, @@ -12881,7 +12961,7 @@ async def async_update_membership_for_authenticated_user( stream: bool = False, data: Missing[UserMembershipsOrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/update-membership-for-authenticated-user PATCH /user/memberships/orgs/{org} @@ -12932,7 +13012,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-authenticated-user GET /user/orgs @@ -12978,7 +13058,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-authenticated-user GET /user/orgs @@ -13025,7 +13105,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-user GET /users/{username}/orgs @@ -13065,7 +13145,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-user GET /users/{username}/orgs diff --git a/githubkit/versions/ghec_v2022_11_28/rest/packages.py b/githubkit/versions/ghec_v2022_11_28/rest/packages.py index 4fd7b4f30..7778a74d7 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/packages.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/packages.py @@ -25,7 +25,7 @@ from githubkit.utils import UNSET from ..models import Package, PackageVersion - from ..types import PackageType, PackageVersionType + from ..types import PackageTypeForResponse, PackageVersionTypeForResponse class PackagesClient: @@ -49,7 +49,7 @@ def list_docker_migration_conflicting_packages_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-organization GET /orgs/{org}/docker/conflicts @@ -85,7 +85,7 @@ async def async_list_docker_migration_conflicting_packages_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-organization GET /orgs/{org}/docker/conflicts @@ -127,7 +127,7 @@ def list_packages_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-organization GET /orgs/{org}/packages @@ -177,7 +177,7 @@ async def async_list_packages_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-organization GET /orgs/{org}/packages @@ -225,7 +225,7 @@ def get_package_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-organization GET /orgs/{org}/packages/{package_type}/{package_name} @@ -261,7 +261,7 @@ async def async_get_package_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-organization GET /orgs/{org}/packages/{package_type}/{package_name} @@ -488,7 +488,7 @@ def get_all_package_versions_for_package_owned_by_org( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-org GET /orgs/{org}/packages/{package_type}/{package_name}/versions @@ -539,7 +539,7 @@ async def async_get_all_package_versions_for_package_owned_by_org( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-org GET /orgs/{org}/packages/{package_type}/{package_name}/versions @@ -588,7 +588,7 @@ def get_package_version_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-organization GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -625,7 +625,7 @@ async def async_get_package_version_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-organization GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -836,7 +836,7 @@ def list_docker_migration_conflicting_packages_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-authenticated-user GET /user/docker/conflicts @@ -867,7 +867,7 @@ async def async_list_docker_migration_conflicting_packages_for_authenticated_use *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-authenticated-user GET /user/docker/conflicts @@ -904,7 +904,7 @@ def list_packages_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-authenticated-user GET /user/packages @@ -950,7 +950,7 @@ async def async_list_packages_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-authenticated-user GET /user/packages @@ -994,7 +994,7 @@ def get_package_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-authenticated-user GET /user/packages/{package_type}/{package_name} @@ -1029,7 +1029,7 @@ async def async_get_package_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-authenticated-user GET /user/packages/{package_type}/{package_name} @@ -1243,7 +1243,7 @@ def get_all_package_versions_for_package_owned_by_authenticated_user( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-authenticated-user GET /user/packages/{package_type}/{package_name}/versions @@ -1293,7 +1293,7 @@ async def async_get_all_package_versions_for_package_owned_by_authenticated_user state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-authenticated-user GET /user/packages/{package_type}/{package_name}/versions @@ -1341,7 +1341,7 @@ def get_package_version_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-authenticated-user GET /user/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -1377,7 +1377,7 @@ async def async_get_package_version_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-authenticated-user GET /user/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -1581,7 +1581,7 @@ def list_docker_migration_conflicting_packages_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-user GET /users/{username}/docker/conflicts @@ -1617,7 +1617,7 @@ async def async_list_docker_migration_conflicting_packages_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-user GET /users/{username}/docker/conflicts @@ -1659,7 +1659,7 @@ def list_packages_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-user GET /users/{username}/packages @@ -1709,7 +1709,7 @@ async def async_list_packages_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-user GET /users/{username}/packages @@ -1757,7 +1757,7 @@ def get_package_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-user GET /users/{username}/packages/{package_type}/{package_name} @@ -1793,7 +1793,7 @@ async def async_get_package_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-user GET /users/{username}/packages/{package_type}/{package_name} @@ -2017,7 +2017,7 @@ def get_all_package_versions_for_package_owned_by_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-user GET /users/{username}/packages/{package_type}/{package_name}/versions @@ -2058,7 +2058,7 @@ async def async_get_all_package_versions_for_package_owned_by_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-user GET /users/{username}/packages/{package_type}/{package_name}/versions @@ -2100,7 +2100,7 @@ def get_package_version_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-user GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -2137,7 +2137,7 @@ async def async_get_package_version_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-user GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/private_registries.py b/githubkit/versions/ghec_v2022_11_28/rest/private_registries.py index 4c5144d40..ab01c8fb6 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/private_registries.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/private_registries.py @@ -34,11 +34,11 @@ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, ) from ..types import ( - OrgPrivateRegistryConfigurationType, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgPrivateRegistryConfigurationTypeForResponse, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, OrgsOrgPrivateRegistriesPostBodyType, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, OrgsOrgPrivateRegistriesSecretNamePatchBodyType, ) @@ -68,7 +68,7 @@ def list_org_private_registries( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesGetResponse200, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, ]: """private-registries/list-org-private-registries @@ -117,7 +117,7 @@ async def async_list_org_private_registries( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesGetResponse200, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, ]: """private-registries/list-org-private-registries @@ -166,7 +166,7 @@ def create_org_private_registry( data: OrgsOrgPrivateRegistriesPostBodyType, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... @overload @@ -203,7 +203,7 @@ def create_org_private_registry( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... def create_org_private_registry( @@ -216,7 +216,7 @@ def create_org_private_registry( **kwargs, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: """private-registries/create-org-private-registry @@ -273,7 +273,7 @@ async def async_create_org_private_registry( data: OrgsOrgPrivateRegistriesPostBodyType, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... @overload @@ -310,7 +310,7 @@ async def async_create_org_private_registry( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... async def async_create_org_private_registry( @@ -323,7 +323,7 @@ async def async_create_org_private_registry( **kwargs, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: """private-registries/create-org-private-registry @@ -378,7 +378,7 @@ def get_org_public_key( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, ]: """private-registries/get-org-public-key @@ -417,7 +417,7 @@ async def async_get_org_public_key( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, ]: """private-registries/get-org-public-key @@ -455,7 +455,9 @@ def get_org_private_registry( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationType]: + ) -> Response[ + OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationTypeForResponse + ]: """private-registries/get-org-private-registry GET /orgs/{org}/private-registries/{secret_name} @@ -492,7 +494,9 @@ async def async_get_org_private_registry( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationType]: + ) -> Response[ + OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationTypeForResponse + ]: """private-registries/get-org-private-registry GET /orgs/{org}/private-registries/{secret_name} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/projects.py b/githubkit/versions/ghec_v2022_11_28/rest/projects.py index ea741ff72..8a410d24e 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/projects.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/projects.py @@ -38,10 +38,10 @@ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ProjectsV2FieldType, - ProjectsV2ItemSimpleType, - ProjectsV2ItemWithContentType, - ProjectsV2Type, + ProjectsV2FieldTypeForResponse, + ProjectsV2ItemSimpleTypeForResponse, + ProjectsV2ItemWithContentTypeForResponse, + ProjectsV2TypeForResponse, UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, @@ -73,7 +73,7 @@ def list_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-org GET /orgs/{org}/projectsV2 @@ -119,7 +119,7 @@ async def async_list_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-org GET /orgs/{org}/projectsV2 @@ -162,7 +162,7 @@ def get_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-org GET /orgs/{org}/projectsV2/{project_number} @@ -197,7 +197,7 @@ async def async_get_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-org GET /orgs/{org}/projectsV2/{project_number} @@ -234,7 +234,7 @@ def create_draft_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def create_draft_item_for_org( @@ -247,7 +247,7 @@ def create_draft_item_for_org( stream: bool = False, title: str, body: Missing[str] = UNSET, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def create_draft_item_for_org( self, @@ -258,7 +258,7 @@ def create_draft_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/create-draft-item-for-org POST /orgs/{org}/projectsV2/{project_number}/drafts @@ -311,7 +311,7 @@ async def async_create_draft_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_create_draft_item_for_org( @@ -324,7 +324,7 @@ async def async_create_draft_item_for_org( stream: bool = False, title: str, body: Missing[str] = UNSET, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_create_draft_item_for_org( self, @@ -335,7 +335,7 @@ async def async_create_draft_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/create-draft-item-for-org POST /orgs/{org}/projectsV2/{project_number}/drafts @@ -389,7 +389,7 @@ def list_fields_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-org GET /orgs/{org}/projectsV2/{project_number}/fields @@ -434,7 +434,7 @@ async def async_list_fields_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-org GET /orgs/{org}/projectsV2/{project_number}/fields @@ -477,7 +477,7 @@ def get_field_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-org GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id} @@ -513,7 +513,7 @@ async def async_get_field_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-org GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id} @@ -553,7 +553,9 @@ def list_items_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-org GET /orgs/{org}/projectsV2/{project_number}/items @@ -602,7 +604,9 @@ async def async_list_items_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-org GET /orgs/{org}/projectsV2/{project_number}/items @@ -648,7 +652,7 @@ def add_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def add_item_for_org( @@ -661,7 +665,7 @@ def add_item_for_org( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def add_item_for_org( self, @@ -672,7 +676,7 @@ def add_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-org POST /orgs/{org}/projectsV2/{project_number}/items @@ -725,7 +729,7 @@ async def async_add_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_add_item_for_org( @@ -738,7 +742,7 @@ async def async_add_item_for_org( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_add_item_for_org( self, @@ -749,7 +753,7 @@ async def async_add_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-org POST /orgs/{org}/projectsV2/{project_number}/items @@ -802,7 +806,7 @@ def get_org_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-org-item GET /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -844,7 +848,7 @@ async def async_get_org_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-org-item GET /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -957,7 +961,9 @@ def update_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload def update_item_for_org( @@ -972,7 +978,9 @@ def update_item_for_org( fields: list[ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... def update_item_for_org( self, @@ -984,7 +992,7 @@ def update_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-org PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -1041,7 +1049,9 @@ async def async_update_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload async def async_update_item_for_org( @@ -1056,7 +1066,9 @@ async def async_update_item_for_org( fields: list[ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... async def async_update_item_for_org( self, @@ -1068,7 +1080,7 @@ async def async_update_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-org PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -1125,7 +1137,7 @@ def list_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-user GET /users/{username}/projectsV2 @@ -1171,7 +1183,7 @@ async def async_list_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-user GET /users/{username}/projectsV2 @@ -1214,7 +1226,7 @@ def get_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-user GET /users/{username}/projectsV2/{project_number} @@ -1249,7 +1261,7 @@ async def async_get_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-user GET /users/{username}/projectsV2/{project_number} @@ -1287,7 +1299,7 @@ def list_fields_for_user( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-user GET /users/{username}/projectsV2/{project_number}/fields @@ -1332,7 +1344,7 @@ async def async_list_fields_for_user( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-user GET /users/{username}/projectsV2/{project_number}/fields @@ -1375,7 +1387,7 @@ def get_field_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-user GET /users/{username}/projectsV2/{project_number}/fields/{field_id} @@ -1411,7 +1423,7 @@ async def async_get_field_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-user GET /users/{username}/projectsV2/{project_number}/fields/{field_id} @@ -1451,7 +1463,9 @@ def list_items_for_user( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-user GET /users/{username}/projectsV2/{project_number}/items @@ -1500,7 +1514,9 @@ async def async_list_items_for_user( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-user GET /users/{username}/projectsV2/{project_number}/items @@ -1546,7 +1562,7 @@ def add_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def add_item_for_user( @@ -1559,7 +1575,7 @@ def add_item_for_user( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def add_item_for_user( self, @@ -1570,7 +1586,7 @@ def add_item_for_user( stream: bool = False, data: Missing[UsersUsernameProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-user POST /users/{username}/projectsV2/{project_number}/items @@ -1623,7 +1639,7 @@ async def async_add_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_add_item_for_user( @@ -1636,7 +1652,7 @@ async def async_add_item_for_user( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_add_item_for_user( self, @@ -1647,7 +1663,7 @@ async def async_add_item_for_user( stream: bool = False, data: Missing[UsersUsernameProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-user POST /users/{username}/projectsV2/{project_number}/items @@ -1700,7 +1716,7 @@ def get_user_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-user-item GET /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1742,7 +1758,7 @@ async def async_get_user_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-user-item GET /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1855,7 +1871,9 @@ def update_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload def update_item_for_user( @@ -1870,7 +1888,9 @@ def update_item_for_user( fields: list[ UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... def update_item_for_user( self, @@ -1884,7 +1904,7 @@ def update_item_for_user( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-user PATCH /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1941,7 +1961,9 @@ async def async_update_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload async def async_update_item_for_user( @@ -1956,7 +1978,9 @@ async def async_update_item_for_user( fields: list[ UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... async def async_update_item_for_user( self, @@ -1970,7 +1994,7 @@ async def async_update_item_for_user( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-user PATCH /users/{username}/projectsV2/{project_number}/items/{item_id} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/projects_classic.py b/githubkit/versions/ghec_v2022_11_28/rest/projects_classic.py index 9ef1c7218..059a2bef4 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/projects_classic.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/projects_classic.py @@ -36,19 +36,19 @@ SimpleUser, ) from ..types import ( - ProjectCardType, - ProjectCollaboratorPermissionType, - ProjectColumnType, + ProjectCardTypeForResponse, + ProjectCollaboratorPermissionTypeForResponse, + ProjectColumnTypeForResponse, ProjectsColumnsCardsCardIdMovesPostBodyType, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ProjectsColumnsCardsCardIdPatchBodyType, ProjectsColumnsColumnIdCardsPostBodyOneof0Type, ProjectsColumnsColumnIdCardsPostBodyOneof1Type, ProjectsColumnsColumnIdMovesPostBodyType, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ProjectsColumnsColumnIdPatchBodyType, ProjectsProjectIdCollaboratorsUsernamePutBodyType, - SimpleUserType, + SimpleUserTypeForResponse, ) @@ -73,7 +73,7 @@ def get_card( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/get-card GET /projects/columns/cards/{card_id} @@ -110,7 +110,7 @@ async def async_get_card( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/get-card GET /projects/columns/cards/{card_id} @@ -221,7 +221,7 @@ def update_card( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ProjectsColumnsCardsCardIdPatchBodyType] = UNSET, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload def update_card( @@ -233,7 +233,7 @@ def update_card( stream: bool = False, note: Missing[Union[str, None]] = UNSET, archived: Missing[bool] = UNSET, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... def update_card( self, @@ -243,7 +243,7 @@ def update_card( stream: bool = False, data: Missing[ProjectsColumnsCardsCardIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/update-card PATCH /projects/columns/cards/{card_id} @@ -298,7 +298,7 @@ async def async_update_card( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ProjectsColumnsCardsCardIdPatchBodyType] = UNSET, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload async def async_update_card( @@ -310,7 +310,7 @@ async def async_update_card( stream: bool = False, note: Missing[Union[str, None]] = UNSET, archived: Missing[bool] = UNSET, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... async def async_update_card( self, @@ -320,7 +320,7 @@ async def async_update_card( stream: bool = False, data: Missing[ProjectsColumnsCardsCardIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/update-card PATCH /projects/columns/cards/{card_id} @@ -377,7 +377,7 @@ def move_card( data: ProjectsColumnsCardsCardIdMovesPostBodyType, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -392,7 +392,7 @@ def move_card( column_id: Missing[int] = UNSET, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: ... def move_card( @@ -405,7 +405,7 @@ def move_card( **kwargs, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-card @@ -465,7 +465,7 @@ async def async_move_card( data: ProjectsColumnsCardsCardIdMovesPostBodyType, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -480,7 +480,7 @@ async def async_move_card( column_id: Missing[int] = UNSET, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: ... async def async_move_card( @@ -493,7 +493,7 @@ async def async_move_card( **kwargs, ) -> Response[ ProjectsColumnsCardsCardIdMovesPostResponse201, - ProjectsColumnsCardsCardIdMovesPostResponse201Type, + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-card @@ -549,7 +549,7 @@ def get_column( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/get-column GET /projects/columns/{column_id} @@ -586,7 +586,7 @@ async def async_get_column( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/get-column GET /projects/columns/{column_id} @@ -695,7 +695,7 @@ def update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ProjectsColumnsColumnIdPatchBodyType, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... @overload def update_column( @@ -706,7 +706,7 @@ def update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... def update_column( self, @@ -716,7 +716,7 @@ def update_column( stream: bool = False, data: Missing[ProjectsColumnsColumnIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/update-column PATCH /projects/columns/{column_id} @@ -764,7 +764,7 @@ async def async_update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ProjectsColumnsColumnIdPatchBodyType, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... @overload async def async_update_column( @@ -775,7 +775,7 @@ async def async_update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... async def async_update_column( self, @@ -785,7 +785,7 @@ async def async_update_column( stream: bool = False, data: Missing[ProjectsColumnsColumnIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/update-column PATCH /projects/columns/{column_id} @@ -834,7 +834,7 @@ def list_cards( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectCard], list[ProjectCardType]]: + ) -> Response[list[ProjectCard], list[ProjectCardTypeForResponse]]: """DEPRECATED projects-classic/list-cards GET /projects/columns/{column_id}/cards @@ -880,7 +880,7 @@ async def async_list_cards( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectCard], list[ProjectCardType]]: + ) -> Response[list[ProjectCard], list[ProjectCardTypeForResponse]]: """DEPRECATED projects-classic/list-cards GET /projects/columns/{column_id}/cards @@ -928,7 +928,7 @@ def create_card( ProjectsColumnsColumnIdCardsPostBodyOneof0Type, ProjectsColumnsColumnIdCardsPostBodyOneof1Type, ], - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload def create_card( @@ -939,7 +939,7 @@ def create_card( headers: Optional[Mapping[str, str]] = None, stream: bool = False, note: Union[str, None], - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload def create_card( @@ -951,7 +951,7 @@ def create_card( stream: bool = False, content_id: int, content_type: str, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... def create_card( self, @@ -966,7 +966,7 @@ def create_card( ] ] = UNSET, **kwargs, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/create-card POST /projects/columns/{column_id}/cards @@ -1035,7 +1035,7 @@ async def async_create_card( ProjectsColumnsColumnIdCardsPostBodyOneof0Type, ProjectsColumnsColumnIdCardsPostBodyOneof1Type, ], - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload async def async_create_card( @@ -1046,7 +1046,7 @@ async def async_create_card( headers: Optional[Mapping[str, str]] = None, stream: bool = False, note: Union[str, None], - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... @overload async def async_create_card( @@ -1058,7 +1058,7 @@ async def async_create_card( stream: bool = False, content_id: int, content_type: str, - ) -> Response[ProjectCard, ProjectCardType]: ... + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: ... async def async_create_card( self, @@ -1073,7 +1073,7 @@ async def async_create_card( ] ] = UNSET, **kwargs, - ) -> Response[ProjectCard, ProjectCardType]: + ) -> Response[ProjectCard, ProjectCardTypeForResponse]: """DEPRECATED projects-classic/create-card POST /projects/columns/{column_id}/cards @@ -1141,7 +1141,7 @@ def move_column( data: ProjectsColumnsColumnIdMovesPostBodyType, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -1155,7 +1155,7 @@ def move_column( position: str, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... def move_column( @@ -1168,7 +1168,7 @@ def move_column( **kwargs, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-column @@ -1225,7 +1225,7 @@ async def async_move_column( data: ProjectsColumnsColumnIdMovesPostBodyType, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -1239,7 +1239,7 @@ async def async_move_column( position: str, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... async def async_move_column( @@ -1252,7 +1252,7 @@ async def async_move_column( **kwargs, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-column @@ -1308,7 +1308,7 @@ def list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED projects-classic/list-collaborators GET /projects/{project_id}/collaborators @@ -1356,7 +1356,7 @@ async def async_list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED projects-classic/list-collaborators GET /projects/{project_id}/collaborators @@ -1648,7 +1648,9 @@ def get_permission_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCollaboratorPermission, ProjectCollaboratorPermissionType]: + ) -> Response[ + ProjectCollaboratorPermission, ProjectCollaboratorPermissionTypeForResponse + ]: """DEPRECATED projects-classic/get-permission-for-user GET /projects/{project_id}/collaborators/{username}/permission @@ -1687,7 +1689,9 @@ async def async_get_permission_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCollaboratorPermission, ProjectCollaboratorPermissionType]: + ) -> Response[ + ProjectCollaboratorPermission, ProjectCollaboratorPermissionTypeForResponse + ]: """DEPRECATED projects-classic/get-permission-for-user GET /projects/{project_id}/collaborators/{username}/permission diff --git a/githubkit/versions/ghec_v2022_11_28/rest/pulls.py b/githubkit/versions/ghec_v2022_11_28/rest/pulls.py index 2c3d6dc4d..1b758d378 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/pulls.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/pulls.py @@ -41,14 +41,14 @@ ReviewComment, ) from ..types import ( - CommitType, - DiffEntryType, - PullRequestMergeResultType, - PullRequestReviewCommentType, - PullRequestReviewRequestType, - PullRequestReviewType, - PullRequestSimpleType, - PullRequestType, + CommitTypeForResponse, + DiffEntryTypeForResponse, + PullRequestMergeResultTypeForResponse, + PullRequestReviewCommentTypeForResponse, + PullRequestReviewRequestTypeForResponse, + PullRequestReviewTypeForResponse, + PullRequestSimpleTypeForResponse, + PullRequestTypeForResponse, ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, ReposOwnerRepoPullsPostBodyType, ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, @@ -64,8 +64,8 @@ ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, - ReviewCommentType, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, + ReviewCommentTypeForResponse, ) @@ -100,7 +100,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """pulls/list GET /repos/{owner}/{repo}/pulls @@ -167,7 +167,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """pulls/list GET /repos/{owner}/{repo}/pulls @@ -227,7 +227,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPostBodyType, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload def create( @@ -246,7 +246,7 @@ def create( maintainer_can_modify: Missing[bool] = UNSET, draft: Missing[bool] = UNSET, issue: Missing[int] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... def create( self, @@ -257,7 +257,7 @@ def create( stream: bool = False, data: Missing[ReposOwnerRepoPullsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/create POST /repos/{owner}/{repo}/pulls @@ -320,7 +320,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPostBodyType, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload async def async_create( @@ -339,7 +339,7 @@ async def async_create( maintainer_can_modify: Missing[bool] = UNSET, draft: Missing[bool] = UNSET, issue: Missing[int] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... async def async_create( self, @@ -350,7 +350,7 @@ async def async_create( stream: bool = False, data: Missing[ReposOwnerRepoPullsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/create POST /repos/{owner}/{repo}/pulls @@ -416,7 +416,9 @@ def list_review_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments-for-repo GET /repos/{owner}/{repo}/pulls/comments @@ -469,7 +471,9 @@ async def async_list_review_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments-for-repo GET /repos/{owner}/{repo}/pulls/comments @@ -518,7 +522,7 @@ def get_review_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/get-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -560,7 +564,7 @@ async def async_get_review_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/get-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -672,7 +676,9 @@ def update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def update_review_comment( @@ -685,7 +691,9 @@ def update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def update_review_comment( self, @@ -697,7 +705,7 @@ def update_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/update-review-comment PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -753,7 +761,9 @@ async def async_update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_update_review_comment( @@ -766,7 +776,9 @@ async def async_update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_update_review_comment( self, @@ -778,7 +790,7 @@ async def async_update_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/update-review-comment PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -832,7 +844,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/get GET /repos/{owner}/{repo}/pulls/{pull_number} @@ -896,7 +908,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/get GET /repos/{owner}/{repo}/pulls/{pull_number} @@ -962,7 +974,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload def update( @@ -979,7 +991,7 @@ def update( state: Missing[Literal["open", "closed"]] = UNSET, base: Missing[str] = UNSET, maintainer_can_modify: Missing[bool] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... def update( self, @@ -991,7 +1003,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/update PATCH /repos/{owner}/{repo}/pulls/{pull_number} @@ -1053,7 +1065,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload async def async_update( @@ -1070,7 +1082,7 @@ async def async_update( state: Missing[Literal["open", "closed"]] = UNSET, base: Missing[str] = UNSET, maintainer_can_modify: Missing[bool] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... async def async_update( self, @@ -1082,7 +1094,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/update PATCH /repos/{owner}/{repo}/pulls/{pull_number} @@ -1147,7 +1159,9 @@ def list_review_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments GET /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1201,7 +1215,9 @@ async def async_list_review_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments GET /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1252,7 +1268,9 @@ def create_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def create_review_comment( @@ -1274,7 +1292,9 @@ def create_review_comment( start_side: Missing[Literal["LEFT", "RIGHT", "side"]] = UNSET, in_reply_to: Missing[int] = UNSET, subject_type: Missing[Literal["line", "file"]] = UNSET, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def create_review_comment( self, @@ -1286,7 +1306,7 @@ def create_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1355,7 +1375,9 @@ async def async_create_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_create_review_comment( @@ -1377,7 +1399,9 @@ async def async_create_review_comment( start_side: Missing[Literal["LEFT", "RIGHT", "side"]] = UNSET, in_reply_to: Missing[int] = UNSET, subject_type: Missing[Literal["line", "file"]] = UNSET, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_create_review_comment( self, @@ -1389,7 +1413,7 @@ async def async_create_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1459,7 +1483,9 @@ def create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def create_reply_for_review_comment( @@ -1473,7 +1499,9 @@ def create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def create_reply_for_review_comment( self, @@ -1488,7 +1516,7 @@ def create_reply_for_review_comment( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-reply-for-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies @@ -1552,7 +1580,9 @@ async def async_create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_create_reply_for_review_comment( @@ -1566,7 +1596,9 @@ async def async_create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_create_reply_for_review_comment( self, @@ -1581,7 +1613,7 @@ async def async_create_reply_for_review_comment( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-reply-for-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies @@ -1644,7 +1676,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """pulls/list-commits GET /repos/{owner}/{repo}/pulls/{pull_number}/commits @@ -1693,7 +1725,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """pulls/list-commits GET /repos/{owner}/{repo}/pulls/{pull_number}/commits @@ -1742,7 +1774,7 @@ def list_files( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DiffEntry], list[DiffEntryType]]: + ) -> Response[list[DiffEntry], list[DiffEntryTypeForResponse]]: """pulls/list-files GET /repos/{owner}/{repo}/pulls/{pull_number}/files @@ -1802,7 +1834,7 @@ async def async_list_files( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DiffEntry], list[DiffEntryType]]: + ) -> Response[list[DiffEntry], list[DiffEntryTypeForResponse]]: """pulls/list-files GET /repos/{owner}/{repo}/pulls/{pull_number}/files @@ -1924,7 +1956,7 @@ def merge( data: Missing[ Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... @overload def merge( @@ -1940,7 +1972,7 @@ def merge( commit_message: Missing[str] = UNSET, sha: Missing[str] = UNSET, merge_method: Missing[Literal["merge", "squash", "rebase"]] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... def merge( self, @@ -1954,7 +1986,7 @@ def merge( Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: """pulls/merge PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge @@ -2019,7 +2051,7 @@ async def async_merge( data: Missing[ Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... @overload async def async_merge( @@ -2035,7 +2067,7 @@ async def async_merge( commit_message: Missing[str] = UNSET, sha: Missing[str] = UNSET, merge_method: Missing[Literal["merge", "squash", "rebase"]] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... async def async_merge( self, @@ -2049,7 +2081,7 @@ async def async_merge( Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: """pulls/merge PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge @@ -2110,7 +2142,7 @@ def list_requested_reviewers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestType]: + ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestTypeForResponse]: """pulls/list-requested-reviewers GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2142,7 +2174,7 @@ async def async_list_requested_reviewers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestType]: + ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestTypeForResponse]: """pulls/list-requested-reviewers GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2181,7 +2213,7 @@ def request_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ] ] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def request_reviewers( @@ -2195,7 +2227,7 @@ def request_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def request_reviewers( @@ -2209,7 +2241,7 @@ def request_reviewers( stream: bool = False, reviewers: Missing[list[str]] = UNSET, team_reviewers: list[str], - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... def request_reviewers( self, @@ -2226,7 +2258,7 @@ def request_reviewers( ] ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/request-reviewers POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2292,7 +2324,7 @@ async def async_request_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ] ] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_request_reviewers( @@ -2306,7 +2338,7 @@ async def async_request_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_request_reviewers( @@ -2320,7 +2352,7 @@ async def async_request_reviewers( stream: bool = False, reviewers: Missing[list[str]] = UNSET, team_reviewers: list[str], - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... async def async_request_reviewers( self, @@ -2337,7 +2369,7 @@ async def async_request_reviewers( ] ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/request-reviewers POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2398,7 +2430,7 @@ def remove_requested_reviewers( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def remove_requested_reviewers( @@ -2412,7 +2444,7 @@ def remove_requested_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... def remove_requested_reviewers( self, @@ -2426,7 +2458,7 @@ def remove_requested_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/remove-requested-reviewers DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2479,7 +2511,7 @@ async def async_remove_requested_reviewers( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_remove_requested_reviewers( @@ -2493,7 +2525,7 @@ async def async_remove_requested_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... async def async_remove_requested_reviewers( self, @@ -2507,7 +2539,7 @@ async def async_remove_requested_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/remove-requested-reviewers DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2560,7 +2592,7 @@ def list_reviews( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReview], list[PullRequestReviewType]]: + ) -> Response[list[PullRequestReview], list[PullRequestReviewTypeForResponse]]: """pulls/list-reviews GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2607,7 +2639,7 @@ async def async_list_reviews( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReview], list[PullRequestReviewType]]: + ) -> Response[list[PullRequestReview], list[PullRequestReviewTypeForResponse]]: """pulls/list-reviews GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2654,7 +2686,7 @@ def create_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def create_review( @@ -2672,7 +2704,7 @@ def create_review( comments: Missing[ list[ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType] ] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def create_review( self, @@ -2684,7 +2716,7 @@ def create_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/create-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2755,7 +2787,7 @@ async def async_create_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_create_review( @@ -2773,7 +2805,7 @@ async def async_create_review( comments: Missing[ list[ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType] ] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_create_review( self, @@ -2785,7 +2817,7 @@ async def async_create_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/create-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2855,7 +2887,7 @@ def get_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/get-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -2898,7 +2930,7 @@ async def async_get_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/get-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -2943,7 +2975,7 @@ def update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def update_review( @@ -2957,7 +2989,7 @@ def update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def update_review( self, @@ -2970,7 +3002,7 @@ def update_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/update-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3031,7 +3063,7 @@ async def async_update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_update_review( @@ -3045,7 +3077,7 @@ async def async_update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_update_review( self, @@ -3058,7 +3090,7 @@ async def async_update_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/update-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3117,7 +3149,7 @@ def delete_pending_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/delete-pending-review DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3161,7 +3193,7 @@ async def async_delete_pending_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/delete-pending-review DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3207,7 +3239,7 @@ def list_comments_for_review( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReviewComment], list[ReviewCommentType]]: + ) -> Response[list[ReviewComment], list[ReviewCommentTypeForResponse]]: """pulls/list-comments-for-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments @@ -3258,7 +3290,7 @@ async def async_list_comments_for_review( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReviewComment], list[ReviewCommentType]]: + ) -> Response[list[ReviewComment], list[ReviewCommentTypeForResponse]]: """pulls/list-comments-for-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments @@ -3309,7 +3341,7 @@ def dismiss_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def dismiss_review( @@ -3324,7 +3356,7 @@ def dismiss_review( stream: bool = False, message: str, event: Missing[Literal["DISMISS"]] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def dismiss_review( self, @@ -3339,7 +3371,7 @@ def dismiss_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/dismiss-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals @@ -3407,7 +3439,7 @@ async def async_dismiss_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_dismiss_review( @@ -3422,7 +3454,7 @@ async def async_dismiss_review( stream: bool = False, message: str, event: Missing[Literal["DISMISS"]] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_dismiss_review( self, @@ -3437,7 +3469,7 @@ async def async_dismiss_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/dismiss-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals @@ -3505,7 +3537,7 @@ def submit_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def submit_review( @@ -3520,7 +3552,7 @@ def submit_review( stream: bool = False, body: Missing[str] = UNSET, event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"], - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def submit_review( self, @@ -3535,7 +3567,7 @@ def submit_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/submit-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events @@ -3599,7 +3631,7 @@ async def async_submit_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_submit_review( @@ -3614,7 +3646,7 @@ async def async_submit_review( stream: bool = False, body: Missing[str] = UNSET, event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"], - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_submit_review( self, @@ -3629,7 +3661,7 @@ async def async_submit_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/submit-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events @@ -3696,7 +3728,7 @@ def update_branch( ] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... @overload @@ -3712,7 +3744,7 @@ def update_branch( expected_head_sha: Missing[str] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... def update_branch( @@ -3729,7 +3761,7 @@ def update_branch( **kwargs, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: """pulls/update-branch @@ -3792,7 +3824,7 @@ async def async_update_branch( ] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... @overload @@ -3808,7 +3840,7 @@ async def async_update_branch( expected_head_sha: Missing[str] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... async def async_update_branch( @@ -3825,7 +3857,7 @@ async def async_update_branch( **kwargs, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: """pulls/update-branch diff --git a/githubkit/versions/ghec_v2022_11_28/rest/rate_limit.py b/githubkit/versions/ghec_v2022_11_28/rest/rate_limit.py index 98cd00b78..894caeca1 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/rate_limit.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/rate_limit.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import RateLimitOverview - from ..types import RateLimitOverviewType + from ..types import RateLimitOverviewTypeForResponse class RateLimitClient: @@ -43,7 +43,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RateLimitOverview, RateLimitOverviewType]: + ) -> Response[RateLimitOverview, RateLimitOverviewTypeForResponse]: """rate-limit/get GET /rate_limit @@ -91,7 +91,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RateLimitOverview, RateLimitOverviewType]: + ) -> Response[RateLimitOverview, RateLimitOverviewTypeForResponse]: """rate-limit/get GET /rate_limit diff --git a/githubkit/versions/ghec_v2022_11_28/rest/reactions.py b/githubkit/versions/ghec_v2022_11_28/rest/reactions.py index 8a16a3176..882739ee3 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/reactions.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/reactions.py @@ -31,7 +31,7 @@ from ..types import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ReactionType, + ReactionTypeForResponse, ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, @@ -73,7 +73,7 @@ def list_for_team_discussion_comment_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -125,7 +125,7 @@ async def async_list_for_team_discussion_comment_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -172,7 +172,7 @@ def create_for_team_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_comment_in_org( @@ -188,7 +188,7 @@ def create_for_team_discussion_comment_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_comment_in_org( self, @@ -203,7 +203,7 @@ def create_for_team_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -261,7 +261,7 @@ async def async_create_for_team_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_comment_in_org( @@ -277,7 +277,7 @@ async def async_create_for_team_discussion_comment_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_comment_in_org( self, @@ -292,7 +292,7 @@ async def async_create_for_team_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -426,7 +426,7 @@ def list_for_team_discussion_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -477,7 +477,7 @@ async def async_list_for_team_discussion_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -523,7 +523,7 @@ def create_for_team_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_in_org( @@ -538,7 +538,7 @@ def create_for_team_discussion_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_in_org( self, @@ -552,7 +552,7 @@ def create_for_team_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -608,7 +608,7 @@ async def async_create_for_team_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_in_org( @@ -623,7 +623,7 @@ async def async_create_for_team_discussion_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_in_org( self, @@ -637,7 +637,7 @@ async def async_create_for_team_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -768,7 +768,7 @@ def list_for_commit_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -817,7 +817,7 @@ async def async_list_for_commit_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -861,7 +861,7 @@ def create_for_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_commit_comment( @@ -876,7 +876,7 @@ def create_for_commit_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_commit_comment( self, @@ -888,7 +888,7 @@ def create_for_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-commit-comment POST /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -941,7 +941,7 @@ async def async_create_for_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_commit_comment( @@ -956,7 +956,7 @@ async def async_create_for_commit_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_commit_comment( self, @@ -968,7 +968,7 @@ async def async_create_for_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-commit-comment POST /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -1092,7 +1092,7 @@ def list_for_issue_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1141,7 +1141,7 @@ async def async_list_for_issue_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1185,7 +1185,7 @@ def create_for_issue_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_issue_comment( @@ -1200,7 +1200,7 @@ def create_for_issue_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_issue_comment( self, @@ -1214,7 +1214,7 @@ def create_for_issue_comment( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue-comment POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1267,7 +1267,7 @@ async def async_create_for_issue_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_issue_comment( @@ -1282,7 +1282,7 @@ async def async_create_for_issue_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_issue_comment( self, @@ -1296,7 +1296,7 @@ async def async_create_for_issue_comment( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue-comment POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1420,7 +1420,7 @@ def list_for_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue GET /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1470,7 +1470,7 @@ async def async_list_for_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue GET /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1515,7 +1515,7 @@ def create_for_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_issue( @@ -1530,7 +1530,7 @@ def create_for_issue( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_issue( self, @@ -1542,7 +1542,7 @@ def create_for_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue POST /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1595,7 +1595,7 @@ async def async_create_for_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_issue( @@ -1610,7 +1610,7 @@ async def async_create_for_issue( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_issue( self, @@ -1622,7 +1622,7 @@ async def async_create_for_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue POST /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1746,7 +1746,7 @@ def list_for_pull_request_review_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-pull-request-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1795,7 +1795,7 @@ async def async_list_for_pull_request_review_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-pull-request-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1839,7 +1839,7 @@ def create_for_pull_request_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_pull_request_review_comment( @@ -1854,7 +1854,7 @@ def create_for_pull_request_review_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_pull_request_review_comment( self, @@ -1868,7 +1868,7 @@ def create_for_pull_request_review_comment( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-pull-request-review-comment POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1921,7 +1921,7 @@ async def async_create_for_pull_request_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_pull_request_review_comment( @@ -1936,7 +1936,7 @@ async def async_create_for_pull_request_review_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_pull_request_review_comment( self, @@ -1950,7 +1950,7 @@ async def async_create_for_pull_request_review_comment( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-pull-request-review-comment POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -2076,7 +2076,7 @@ def list_for_release( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-release GET /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2123,7 +2123,7 @@ async def async_list_for_release( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-release GET /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2167,7 +2167,7 @@ def create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_release( @@ -2180,7 +2180,7 @@ def create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_release( self, @@ -2192,7 +2192,7 @@ def create_for_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-release POST /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2245,7 +2245,7 @@ async def async_create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_release( @@ -2258,7 +2258,7 @@ async def async_create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_release( self, @@ -2270,7 +2270,7 @@ async def async_create_for_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-release POST /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2394,7 +2394,7 @@ def list_for_team_discussion_comment_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2445,7 +2445,7 @@ async def async_list_for_team_discussion_comment_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2491,7 +2491,7 @@ def create_for_team_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_comment_legacy( @@ -2506,7 +2506,7 @@ def create_for_team_discussion_comment_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_comment_legacy( self, @@ -2520,7 +2520,7 @@ def create_for_team_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2577,7 +2577,7 @@ async def async_create_for_team_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_comment_legacy( @@ -2592,7 +2592,7 @@ async def async_create_for_team_discussion_comment_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_comment_legacy( self, @@ -2606,7 +2606,7 @@ async def async_create_for_team_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2667,7 +2667,7 @@ def list_for_team_discussion_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2717,7 +2717,7 @@ async def async_list_for_team_discussion_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2762,7 +2762,7 @@ def create_for_team_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_legacy( @@ -2776,7 +2776,7 @@ def create_for_team_discussion_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_legacy( self, @@ -2789,7 +2789,7 @@ def create_for_team_discussion_legacy( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-legacy POST /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2844,7 +2844,7 @@ async def async_create_for_team_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_legacy( @@ -2858,7 +2858,7 @@ async def async_create_for_team_discussion_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_legacy( self, @@ -2871,7 +2871,7 @@ async def async_create_for_team_discussion_legacy( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-legacy POST /teams/{team_id}/discussions/{discussion_number}/reactions diff --git a/githubkit/versions/ghec_v2022_11_28/rest/repos.py b/githubkit/versions/ghec_v2022_11_28/rest/repos.py index 1a7f80ee7..12f0ff875 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/repos.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/repos.py @@ -135,40 +135,41 @@ WebhookConfig, ) from ..types import ( - ActivityType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - AutolinkType, - BranchProtectionType, - BranchRestrictionPolicyType, - BranchShortType, - BranchWithProtectionType, - CheckAutomatedSecurityFixesType, - CheckImmutableReleasesType, - CloneTrafficType, - CodeownersErrorsType, - CollaboratorType, - CombinedCommitStatusType, - CommitActivityType, - CommitCommentType, - CommitComparisonType, - CommitType, - CommunityProfileType, - ContentDirectoryItemsType, - ContentFileType, - ContentSubmoduleType, - ContentSymlinkType, - ContentTrafficType, - ContributorActivityType, - ContributorType, + ActivityTypeForResponse, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + AutolinkTypeForResponse, + BranchProtectionTypeForResponse, + BranchRestrictionPolicyTypeForResponse, + BranchShortTypeForResponse, + BranchWithProtectionTypeForResponse, + CheckAutomatedSecurityFixesTypeForResponse, + CheckImmutableReleasesTypeForResponse, + CloneTrafficTypeForResponse, + CodeownersErrorsTypeForResponse, + CollaboratorTypeForResponse, + CombinedCommitStatusTypeForResponse, + CommitActivityTypeForResponse, + CommitCommentTypeForResponse, + CommitComparisonTypeForResponse, + CommitTypeForResponse, + CommunityProfileTypeForResponse, + ContentDirectoryItemsTypeForResponse, + ContentFileTypeForResponse, + ContentSubmoduleTypeForResponse, + ContentSymlinkTypeForResponse, + ContentTrafficTypeForResponse, + ContributorActivityTypeForResponse, + ContributorTypeForResponse, CustomPropertyValueType, - DeployKeyType, + CustomPropertyValueTypeForResponse, + DeployKeyTypeForResponse, DeploymentBranchPolicyNamePatternType, DeploymentBranchPolicyNamePatternWithTypeType, DeploymentBranchPolicySettingsType, - DeploymentBranchPolicyType, - DeploymentProtectionRuleType, - DeploymentStatusType, - DeploymentType, + DeploymentBranchPolicyTypeForResponse, + DeploymentProtectionRuleTypeForResponse, + DeploymentStatusTypeForResponse, + DeploymentTypeForResponse, EnterpriseRulesetConditionsOneof0Type, EnterpriseRulesetConditionsOneof1Type, EnterpriseRulesetConditionsOneof2Type, @@ -177,16 +178,16 @@ EnterpriseRulesetConditionsOneof5Type, EnterprisesEnterpriseRulesetsPostBodyType, EnterprisesEnterpriseRulesetsRulesetIdPutBodyType, - EnvironmentType, - FileCommitType, - FullRepositoryType, - HookDeliveryItemType, - HookDeliveryType, - HookType, - IntegrationType, - LanguageType, - MergedUpstreamType, - MinimalRepositoryType, + EnvironmentTypeForResponse, + FileCommitTypeForResponse, + FullRepositoryTypeForResponse, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + HookTypeForResponse, + IntegrationTypeForResponse, + LanguageTypeForResponse, + MergedUpstreamTypeForResponse, + MinimalRepositoryTypeForResponse, OrgRulesetConditionsOneof0Type, OrgRulesetConditionsOneof1Type, OrgRulesetConditionsOneof2Type, @@ -194,24 +195,24 @@ OrgsOrgReposPostBodyType, OrgsOrgRulesetsPostBodyType, OrgsOrgRulesetsRulesetIdPutBodyType, - PageBuildStatusType, - PageBuildType, - PageDeploymentType, - PagesDeploymentStatusType, - PagesHealthCheckType, - PageType, - ParticipationStatsType, - ProtectedBranchAdminEnforcedType, - ProtectedBranchPullRequestReviewType, - ProtectedBranchType, - PullRequestSimpleType, - PushRuleBypassRequestType, - ReferrerTrafficType, - ReleaseAssetType, - ReleaseNotesContentType, - ReleaseType, - RepositoryCollaboratorPermissionType, - RepositoryInvitationType, + PageBuildStatusTypeForResponse, + PageBuildTypeForResponse, + PageDeploymentTypeForResponse, + PagesDeploymentStatusTypeForResponse, + PagesHealthCheckTypeForResponse, + PageTypeForResponse, + ParticipationStatsTypeForResponse, + ProtectedBranchAdminEnforcedTypeForResponse, + ProtectedBranchPullRequestReviewTypeForResponse, + ProtectedBranchTypeForResponse, + PullRequestSimpleTypeForResponse, + PushRuleBypassRequestTypeForResponse, + ReferrerTrafficTypeForResponse, + ReleaseAssetTypeForResponse, + ReleaseNotesContentTypeForResponse, + ReleaseTypeForResponse, + RepositoryCollaboratorPermissionTypeForResponse, + RepositoryInvitationTypeForResponse, RepositoryRuleBranchNamePatternType, RepositoryRuleCodeScanningType, RepositoryRuleCommitAuthorEmailPatternType, @@ -220,28 +221,28 @@ RepositoryRuleCopilotCodeReviewType, RepositoryRuleCreationType, RepositoryRuleDeletionType, - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, RepositoryRuleFileExtensionRestrictionType, RepositoryRuleFilePathRestrictionType, RepositoryRuleMaxFilePathLengthType, @@ -255,15 +256,15 @@ RepositoryRuleRequiredStatusChecksType, RepositoryRulesetBypassActorType, RepositoryRulesetConditionsType, - RepositoryRulesetType, + RepositoryRulesetTypeForResponse, RepositoryRuleTagNamePatternType, RepositoryRuleUpdateType, RepositoryRuleWorkflowsType, - RepositoryType, + RepositoryTypeForResponse, ReposOwnerRepoAttestationsPostBodyPropBundleType, ReposOwnerRepoAttestationsPostBodyType, - ReposOwnerRepoAttestationsPostResponse201Type, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ReposOwnerRepoAutolinksPostBodyType, ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType, ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType, @@ -301,13 +302,13 @@ ReposOwnerRepoDeploymentsPostBodyType, ReposOwnerRepoDispatchesPostBodyPropClientPayloadType, ReposOwnerRepoDispatchesPostBodyType, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType, ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ReposOwnerRepoForksPostBodyType, ReposOwnerRepoHooksHookIdConfigPatchBodyType, ReposOwnerRepoHooksHookIdPatchBodyType, @@ -329,7 +330,7 @@ ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType, ReposOwnerRepoPatchBodyType, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ReposOwnerRepoPropertiesValuesPatchBodyType, ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType, ReposOwnerRepoReleasesGenerateNotesPostBodyType, @@ -342,21 +343,22 @@ ReposOwnerRepoTopicsPutBodyType, ReposOwnerRepoTransferPostBodyType, ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - RulesetVersionType, - RulesetVersionWithStateType, - RuleSuitesItemsType, - RuleSuiteType, - ShortBranchType, - SimpleUserType, - StatusCheckPolicyType, - StatusType, - TagProtectionType, - TagType, - TeamType, - TopicType, + RulesetVersionTypeForResponse, + RulesetVersionWithStateTypeForResponse, + RuleSuitesItemsTypeForResponse, + RuleSuiteTypeForResponse, + ShortBranchTypeForResponse, + SimpleUserTypeForResponse, + StatusCheckPolicyTypeForResponse, + StatusTypeForResponse, + TagProtectionTypeForResponse, + TagTypeForResponse, + TeamTypeForResponse, + TopicTypeForResponse, UserReposPostBodyType, - ViewTrafficType, + ViewTrafficTypeForResponse, WebhookConfigType, + WebhookConfigTypeForResponse, ) @@ -383,7 +385,7 @@ def create_enterprise_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def create_enterprise_ruleset( @@ -433,7 +435,7 @@ def create_enterprise_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def create_enterprise_ruleset( self, @@ -443,7 +445,7 @@ def create_enterprise_ruleset( stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-enterprise-ruleset POST /enterprises/{enterprise}/rulesets @@ -493,7 +495,7 @@ async def async_create_enterprise_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_create_enterprise_ruleset( @@ -543,7 +545,7 @@ async def async_create_enterprise_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_create_enterprise_ruleset( self, @@ -553,7 +555,7 @@ async def async_create_enterprise_ruleset( stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-enterprise-ruleset POST /enterprises/{enterprise}/rulesets @@ -602,7 +604,7 @@ def get_enterprise_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-enterprise-ruleset GET /enterprises/{enterprise}/rulesets/{ruleset_id} @@ -640,7 +642,7 @@ async def async_get_enterprise_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-enterprise-ruleset GET /enterprises/{enterprise}/rulesets/{ruleset_id} @@ -680,7 +682,7 @@ def update_enterprise_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def update_enterprise_ruleset( @@ -731,7 +733,7 @@ def update_enterprise_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def update_enterprise_ruleset( self, @@ -742,7 +744,7 @@ def update_enterprise_ruleset( stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-enterprise-ruleset PUT /enterprises/{enterprise}/rulesets/{ruleset_id} @@ -795,7 +797,7 @@ async def async_update_enterprise_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_update_enterprise_ruleset( @@ -846,7 +848,7 @@ async def async_update_enterprise_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_update_enterprise_ruleset( self, @@ -857,7 +859,7 @@ async def async_update_enterprise_ruleset( stream: bool = False, data: Missing[EnterprisesEnterpriseRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-enterprise-ruleset PUT /enterprises/{enterprise}/rulesets/{ruleset_id} @@ -982,7 +984,7 @@ def list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-org GET /orgs/{org}/repos @@ -1031,7 +1033,7 @@ async def async_list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-org GET /orgs/{org}/repos @@ -1075,7 +1077,7 @@ def create_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_in_org( @@ -1116,7 +1118,7 @@ def create_in_org( custom_properties: Missing[ OrgsOrgReposPostBodyPropCustomPropertiesType ] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_in_org( self, @@ -1126,7 +1128,7 @@ def create_in_org( stream: bool = False, data: Missing[OrgsOrgReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-in-org POST /orgs/{org}/repos @@ -1179,7 +1181,7 @@ async def async_create_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_in_org( @@ -1220,7 +1222,7 @@ async def async_create_in_org( custom_properties: Missing[ OrgsOrgReposPostBodyPropCustomPropertiesType ] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_in_org( self, @@ -1230,7 +1232,7 @@ async def async_create_in_org( stream: bool = False, data: Missing[OrgsOrgReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-in-org POST /orgs/{org}/repos @@ -1284,7 +1286,7 @@ def get_org_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-org-rulesets GET /orgs/{org}/rulesets @@ -1328,7 +1330,7 @@ async def async_get_org_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-org-rulesets GET /orgs/{org}/rulesets @@ -1371,7 +1373,7 @@ def create_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def create_org_ruleset( @@ -1418,7 +1420,7 @@ def create_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def create_org_ruleset( self, @@ -1428,7 +1430,7 @@ def create_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-org-ruleset POST /orgs/{org}/rulesets @@ -1474,7 +1476,7 @@ async def async_create_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_create_org_ruleset( @@ -1521,7 +1523,7 @@ async def async_create_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_create_org_ruleset( self, @@ -1531,7 +1533,7 @@ async def async_create_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-org-ruleset POST /orgs/{org}/rulesets @@ -1582,7 +1584,7 @@ def get_org_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-org-rule-suites GET /orgs/{org}/rulesets/rule-suites @@ -1635,7 +1637,7 @@ async def async_get_org_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-org-rule-suites GET /orgs/{org}/rulesets/rule-suites @@ -1682,7 +1684,7 @@ def get_org_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-org-rule-suite GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id} @@ -1718,7 +1720,7 @@ async def async_get_org_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-org-rule-suite GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id} @@ -1754,7 +1756,7 @@ def get_org_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-org-ruleset GET /orgs/{org}/rulesets/{ruleset_id} @@ -1792,7 +1794,7 @@ async def async_get_org_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-org-ruleset GET /orgs/{org}/rulesets/{ruleset_id} @@ -1832,7 +1834,7 @@ def update_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def update_org_ruleset( @@ -1880,7 +1882,7 @@ def update_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def update_org_ruleset( self, @@ -1891,7 +1893,7 @@ def update_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-org-ruleset PUT /orgs/{org}/rulesets/{ruleset_id} @@ -1942,7 +1944,7 @@ async def async_update_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_update_org_ruleset( @@ -1990,7 +1992,7 @@ async def async_update_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_update_org_ruleset( self, @@ -2001,7 +2003,7 @@ async def async_update_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-org-ruleset PUT /orgs/{org}/rulesets/{ruleset_id} @@ -2118,7 +2120,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/get GET /repos/{owner}/{repo} @@ -2157,7 +2159,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/get GET /repos/{owner}/{repo} @@ -2278,7 +2280,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def update( @@ -2320,7 +2322,7 @@ def update( archived: Missing[bool] = UNSET, allow_forking: Missing[bool] = UNSET, web_commit_signoff_required: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def update( self, @@ -2331,7 +2333,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/update PATCH /repos/{owner}/{repo} @@ -2384,7 +2386,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_update( @@ -2426,7 +2428,7 @@ async def async_update( archived: Missing[bool] = UNSET, allow_forking: Missing[bool] = UNSET, web_commit_signoff_required: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_update( self, @@ -2437,7 +2439,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/update PATCH /repos/{owner}/{repo} @@ -2507,7 +2509,7 @@ def list_activities( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Activity], list[ActivityType]]: + ) -> Response[list[Activity], list[ActivityTypeForResponse]]: """repos/list-activities GET /repos/{owner}/{repo}/activity @@ -2575,7 +2577,7 @@ async def async_list_activities( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Activity], list[ActivityType]]: + ) -> Response[list[Activity], list[ActivityTypeForResponse]]: """repos/list-activities GET /repos/{owner}/{repo}/activity @@ -2628,7 +2630,7 @@ def create_attestation( data: ReposOwnerRepoAttestationsPostBodyType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... @overload @@ -2643,7 +2645,7 @@ def create_attestation( bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... def create_attestation( @@ -2657,7 +2659,7 @@ def create_attestation( **kwargs, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: """repos/create-attestation @@ -2716,7 +2718,7 @@ async def async_create_attestation( data: ReposOwnerRepoAttestationsPostBodyType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... @overload @@ -2731,7 +2733,7 @@ async def async_create_attestation( bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... async def async_create_attestation( @@ -2745,7 +2747,7 @@ async def async_create_attestation( **kwargs, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: """repos/create-attestation @@ -2807,7 +2809,7 @@ def list_attestations( stream: bool = False, ) -> Response[ ReposOwnerRepoAttestationsSubjectDigestGetResponse200, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """repos/list-attestations @@ -2858,7 +2860,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ ReposOwnerRepoAttestationsSubjectDigestGetResponse200, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """repos/list-attestations @@ -2902,7 +2904,7 @@ def list_autolinks( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Autolink], list[AutolinkType]]: + ) -> Response[list[Autolink], list[AutolinkTypeForResponse]]: """repos/list-autolinks GET /repos/{owner}/{repo}/autolinks @@ -2935,7 +2937,7 @@ async def async_list_autolinks( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Autolink], list[AutolinkType]]: + ) -> Response[list[Autolink], list[AutolinkTypeForResponse]]: """repos/list-autolinks GET /repos/{owner}/{repo}/autolinks @@ -2970,7 +2972,7 @@ def create_autolink( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoAutolinksPostBodyType, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... @overload def create_autolink( @@ -2984,7 +2986,7 @@ def create_autolink( key_prefix: str, url_template: str, is_alphanumeric: Missing[bool] = UNSET, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... def create_autolink( self, @@ -2995,7 +2997,7 @@ def create_autolink( stream: bool = False, data: Missing[ReposOwnerRepoAutolinksPostBodyType] = UNSET, **kwargs, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/create-autolink POST /repos/{owner}/{repo}/autolinks @@ -3041,7 +3043,7 @@ async def async_create_autolink( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoAutolinksPostBodyType, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... @overload async def async_create_autolink( @@ -3055,7 +3057,7 @@ async def async_create_autolink( key_prefix: str, url_template: str, is_alphanumeric: Missing[bool] = UNSET, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... async def async_create_autolink( self, @@ -3066,7 +3068,7 @@ async def async_create_autolink( stream: bool = False, data: Missing[ReposOwnerRepoAutolinksPostBodyType] = UNSET, **kwargs, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/create-autolink POST /repos/{owner}/{repo}/autolinks @@ -3111,7 +3113,7 @@ def get_autolink( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/get-autolink GET /repos/{owner}/{repo}/autolinks/{autolink_id} @@ -3148,7 +3150,7 @@ async def async_get_autolink( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/get-autolink GET /repos/{owner}/{repo}/autolinks/{autolink_id} @@ -3256,7 +3258,9 @@ def check_automated_security_fixes( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesType]: + ) -> Response[ + CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesTypeForResponse + ]: """repos/check-automated-security-fixes GET /repos/{owner}/{repo}/automated-security-fixes @@ -3288,7 +3292,9 @@ async def async_check_automated_security_fixes( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesType]: + ) -> Response[ + CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesTypeForResponse + ]: """repos/check-automated-security-fixes GET /repos/{owner}/{repo}/automated-security-fixes @@ -3435,7 +3441,7 @@ def list_branches( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ShortBranch], list[ShortBranchType]]: + ) -> Response[list[ShortBranch], list[ShortBranchTypeForResponse]]: """repos/list-branches GET /repos/{owner}/{repo}/branches @@ -3477,7 +3483,7 @@ async def async_list_branches( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ShortBranch], list[ShortBranchType]]: + ) -> Response[list[ShortBranch], list[ShortBranchTypeForResponse]]: """repos/list-branches GET /repos/{owner}/{repo}/branches @@ -3517,7 +3523,7 @@ def get_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/get-branch GET /repos/{owner}/{repo}/branches/{branch} @@ -3550,7 +3556,7 @@ async def async_get_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/get-branch GET /repos/{owner}/{repo}/branches/{branch} @@ -3583,7 +3589,7 @@ def get_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchProtection, BranchProtectionType]: + ) -> Response[BranchProtection, BranchProtectionTypeForResponse]: """repos/get-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection @@ -3618,7 +3624,7 @@ async def async_get_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchProtection, BranchProtectionType]: + ) -> Response[BranchProtection, BranchProtectionTypeForResponse]: """repos/get-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection @@ -3655,7 +3661,7 @@ def update_branch_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionPutBodyType, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... @overload def update_branch_protection( @@ -3686,7 +3692,7 @@ def update_branch_protection( required_conversation_resolution: Missing[bool] = UNSET, lock_branch: Missing[bool] = UNSET, allow_fork_syncing: Missing[bool] = UNSET, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... def update_branch_protection( self, @@ -3698,7 +3704,7 @@ def update_branch_protection( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchProtectionPutBodyType] = UNSET, **kwargs, - ) -> Response[ProtectedBranch, ProtectedBranchType]: + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: """repos/update-branch-protection PUT /repos/{owner}/{repo}/branches/{branch}/protection @@ -3762,7 +3768,7 @@ async def async_update_branch_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionPutBodyType, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... @overload async def async_update_branch_protection( @@ -3793,7 +3799,7 @@ async def async_update_branch_protection( required_conversation_resolution: Missing[bool] = UNSET, lock_branch: Missing[bool] = UNSET, allow_fork_syncing: Missing[bool] = UNSET, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... async def async_update_branch_protection( self, @@ -3805,7 +3811,7 @@ async def async_update_branch_protection( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchProtectionPutBodyType] = UNSET, **kwargs, - ) -> Response[ProtectedBranch, ProtectedBranchType]: + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: """repos/update-branch-protection PUT /repos/{owner}/{repo}/branches/{branch}/protection @@ -3935,7 +3941,9 @@ def get_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-admin-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3967,7 +3975,9 @@ async def async_get_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-admin-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3999,7 +4009,9 @@ def set_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/set-admin-branch-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -4033,7 +4045,9 @@ async def async_set_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/set-admin-branch-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -4140,7 +4154,8 @@ def get_pull_request_review_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/get-pull-request-review-protection @@ -4174,7 +4189,8 @@ async def async_get_pull_request_review_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/get-pull-request-review-protection @@ -4280,7 +4296,8 @@ def update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... @overload @@ -4304,7 +4321,8 @@ def update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... def update_pull_request_review_protection( @@ -4320,7 +4338,8 @@ def update_pull_request_review_protection( ] = UNSET, **kwargs, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/update-pull-request-review-protection @@ -4383,7 +4402,8 @@ async def async_update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... @overload @@ -4407,7 +4427,8 @@ async def async_update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... async def async_update_pull_request_review_protection( @@ -4423,7 +4444,8 @@ async def async_update_pull_request_review_protection( ] = UNSET, **kwargs, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/update-pull-request-review-protection @@ -4481,7 +4503,9 @@ def get_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-commit-signature-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -4521,7 +4545,9 @@ async def async_get_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-commit-signature-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -4561,7 +4587,9 @@ def create_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/create-commit-signature-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -4598,7 +4626,9 @@ async def async_create_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/create-commit-signature-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -4707,7 +4737,7 @@ def get_status_checks_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/get-status-checks-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4744,7 +4774,7 @@ async def async_get_status_checks_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/get-status-checks-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4847,7 +4877,7 @@ def update_status_check_protection( data: Missing[ ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... @overload def update_status_check_protection( @@ -4866,7 +4896,7 @@ def update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType ] ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... def update_status_check_protection( self, @@ -4880,7 +4910,7 @@ def update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, **kwargs, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/update-status-check-protection PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4942,7 +4972,7 @@ async def async_update_status_check_protection( data: Missing[ ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... @overload async def async_update_status_check_protection( @@ -4961,7 +4991,7 @@ async def async_update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType ] ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... async def async_update_status_check_protection( self, @@ -4975,7 +5005,7 @@ async def async_update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, **kwargs, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/update-status-check-protection PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -5675,7 +5705,7 @@ def get_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyType]: + ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyTypeForResponse]: """repos/get-access-restrictions GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions @@ -5715,7 +5745,7 @@ async def async_get_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyType]: + ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyTypeForResponse]: """repos/get-access-restrictions GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions @@ -5817,7 +5847,9 @@ def get_apps_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/get-apps-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5856,7 +5888,9 @@ async def async_get_apps_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/get-apps-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5898,7 +5932,7 @@ def set_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5913,7 +5947,7 @@ def set_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def set_app_access_restrictions( @@ -5928,7 +5962,9 @@ def set_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/set-app-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5986,7 +6022,7 @@ async def async_set_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -6001,7 +6037,7 @@ async def async_set_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_set_app_access_restrictions( @@ -6016,7 +6052,9 @@ async def async_set_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/set-app-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -6074,7 +6112,7 @@ def add_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -6089,7 +6127,7 @@ def add_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def add_app_access_restrictions( @@ -6104,7 +6142,9 @@ def add_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/add-app-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -6162,7 +6202,7 @@ async def async_add_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -6177,7 +6217,7 @@ async def async_add_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_add_app_access_restrictions( @@ -6192,7 +6232,9 @@ async def async_add_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/add-app-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -6250,7 +6292,7 @@ def remove_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -6265,7 +6307,7 @@ def remove_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def remove_app_access_restrictions( @@ -6280,7 +6322,9 @@ def remove_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/remove-app-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -6338,7 +6382,7 @@ async def async_remove_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -6353,7 +6397,7 @@ async def async_remove_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_remove_app_access_restrictions( @@ -6368,7 +6412,9 @@ async def async_remove_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/remove-app-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -6423,7 +6469,7 @@ def get_teams_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/get-teams-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6460,7 +6506,7 @@ async def async_get_teams_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/get-teams-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6504,7 +6550,7 @@ def set_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def set_team_access_restrictions( @@ -6517,7 +6563,7 @@ def set_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def set_team_access_restrictions( self, @@ -6534,7 +6580,7 @@ def set_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/set-team-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6600,7 +6646,7 @@ async def async_set_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_set_team_access_restrictions( @@ -6613,7 +6659,7 @@ async def async_set_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_set_team_access_restrictions( self, @@ -6630,7 +6676,7 @@ async def async_set_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/set-team-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6696,7 +6742,7 @@ def add_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def add_team_access_restrictions( @@ -6709,7 +6755,7 @@ def add_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def add_team_access_restrictions( self, @@ -6726,7 +6772,7 @@ def add_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/add-team-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6792,7 +6838,7 @@ async def async_add_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_add_team_access_restrictions( @@ -6805,7 +6851,7 @@ async def async_add_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_add_team_access_restrictions( self, @@ -6822,7 +6868,7 @@ async def async_add_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/add-team-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6888,7 +6934,7 @@ def remove_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def remove_team_access_restrictions( @@ -6901,7 +6947,7 @@ def remove_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def remove_team_access_restrictions( self, @@ -6918,7 +6964,7 @@ def remove_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/remove-team-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6984,7 +7030,7 @@ async def async_remove_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_remove_team_access_restrictions( @@ -6997,7 +7043,7 @@ async def async_remove_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_remove_team_access_restrictions( self, @@ -7014,7 +7060,7 @@ async def async_remove_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/remove-team-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -7073,7 +7119,7 @@ def get_users_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/get-users-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7110,7 +7156,7 @@ async def async_get_users_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/get-users-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7149,7 +7195,7 @@ def set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def set_user_access_restrictions( @@ -7162,7 +7208,7 @@ def set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def set_user_access_restrictions( self, @@ -7176,7 +7222,7 @@ def set_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/set-user-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7235,7 +7281,7 @@ async def async_set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_set_user_access_restrictions( @@ -7248,7 +7294,7 @@ async def async_set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_set_user_access_restrictions( self, @@ -7262,7 +7308,7 @@ async def async_set_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/set-user-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7321,7 +7367,7 @@ def add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def add_user_access_restrictions( @@ -7334,7 +7380,7 @@ def add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def add_user_access_restrictions( self, @@ -7348,7 +7394,7 @@ def add_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/add-user-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7407,7 +7453,7 @@ async def async_add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_add_user_access_restrictions( @@ -7420,7 +7466,7 @@ async def async_add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_add_user_access_restrictions( self, @@ -7434,7 +7480,7 @@ async def async_add_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/add-user-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7493,7 +7539,7 @@ def remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def remove_user_access_restrictions( @@ -7506,7 +7552,7 @@ def remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def remove_user_access_restrictions( self, @@ -7520,7 +7566,7 @@ def remove_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/remove-user-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7579,7 +7625,7 @@ async def async_remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_remove_user_access_restrictions( @@ -7592,7 +7638,7 @@ async def async_remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_remove_user_access_restrictions( self, @@ -7606,7 +7652,7 @@ async def async_remove_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/remove-user-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7665,7 +7711,7 @@ def rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchRenamePostBodyType, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... @overload def rename_branch( @@ -7678,7 +7724,7 @@ def rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, new_name: str, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... def rename_branch( self, @@ -7690,7 +7736,7 @@ def rename_branch( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchRenamePostBodyType] = UNSET, **kwargs, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/rename-branch POST /repos/{owner}/{repo}/branches/{branch}/rename @@ -7753,7 +7799,7 @@ async def async_rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchRenamePostBodyType, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... @overload async def async_rename_branch( @@ -7766,7 +7812,7 @@ async def async_rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, new_name: str, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... async def async_rename_branch( self, @@ -7778,7 +7824,7 @@ async def async_rename_branch( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchRenamePostBodyType] = UNSET, **kwargs, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/rename-branch POST /repos/{owner}/{repo}/branches/{branch}/rename @@ -7855,7 +7901,9 @@ def list_repo_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """repos/list-repo-push-bypass-requests GET /repos/{owner}/{repo}/bypass-requests/push-rules @@ -7917,7 +7965,9 @@ async def async_list_repo_push_bypass_requests( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PushRuleBypassRequest], list[PushRuleBypassRequestType]]: + ) -> Response[ + list[PushRuleBypassRequest], list[PushRuleBypassRequestTypeForResponse] + ]: """repos/list-repo-push-bypass-requests GET /repos/{owner}/{repo}/bypass-requests/push-rules @@ -7963,7 +8013,7 @@ def get_repo_push_bypass_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PushRuleBypassRequest, PushRuleBypassRequestType]: + ) -> Response[PushRuleBypassRequest, PushRuleBypassRequestTypeForResponse]: """repos/get-repo-push-bypass-request GET /repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number} @@ -8001,7 +8051,7 @@ async def async_get_repo_push_bypass_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PushRuleBypassRequest, PushRuleBypassRequestType]: + ) -> Response[PushRuleBypassRequest, PushRuleBypassRequestTypeForResponse]: """repos/get-repo-push-bypass-request GET /repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number} @@ -8039,7 +8089,7 @@ def codeowners_errors( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeownersErrors, CodeownersErrorsType]: + ) -> Response[CodeownersErrors, CodeownersErrorsTypeForResponse]: """repos/codeowners-errors GET /repos/{owner}/{repo}/codeowners/errors @@ -8081,7 +8131,7 @@ async def async_codeowners_errors( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeownersErrors, CodeownersErrorsType]: + ) -> Response[CodeownersErrors, CodeownersErrorsTypeForResponse]: """repos/codeowners-errors GET /repos/{owner}/{repo}/codeowners/errors @@ -8128,7 +8178,7 @@ def list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Collaborator], list[CollaboratorType]]: + ) -> Response[list[Collaborator], list[CollaboratorTypeForResponse]]: """repos/list-collaborators GET /repos/{owner}/{repo}/collaborators @@ -8183,7 +8233,7 @@ async def async_list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Collaborator], list[CollaboratorType]]: + ) -> Response[list[Collaborator], list[CollaboratorTypeForResponse]]: """repos/list-collaborators GET /repos/{owner}/{repo}/collaborators @@ -8307,7 +8357,7 @@ def add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload def add_collaborator( @@ -8320,7 +8370,7 @@ def add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, permission: Missing[str] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... def add_collaborator( self, @@ -8332,7 +8382,7 @@ def add_collaborator( stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/add-collaborator PUT /repos/{owner}/{repo}/collaborators/{username} @@ -8411,7 +8461,7 @@ async def async_add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload async def async_add_collaborator( @@ -8424,7 +8474,7 @@ async def async_add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, permission: Missing[str] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... async def async_add_collaborator( self, @@ -8436,7 +8486,7 @@ async def async_add_collaborator( stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/add-collaborator PUT /repos/{owner}/{repo}/collaborators/{username} @@ -8626,7 +8676,8 @@ def get_collaborator_permission_level( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - RepositoryCollaboratorPermission, RepositoryCollaboratorPermissionType + RepositoryCollaboratorPermission, + RepositoryCollaboratorPermissionTypeForResponse, ]: """repos/get-collaborator-permission-level @@ -8671,7 +8722,8 @@ async def async_get_collaborator_permission_level( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - RepositoryCollaboratorPermission, RepositoryCollaboratorPermissionType + RepositoryCollaboratorPermission, + RepositoryCollaboratorPermissionTypeForResponse, ]: """repos/get-collaborator-permission-level @@ -8716,7 +8768,7 @@ def list_commit_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-commit-comments-for-repo GET /repos/{owner}/{repo}/comments @@ -8762,7 +8814,7 @@ async def async_list_commit_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-commit-comments-for-repo GET /repos/{owner}/{repo}/comments @@ -8807,7 +8859,7 @@ def get_commit_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/get-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id} @@ -8849,7 +8901,7 @@ async def async_get_commit_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/get-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id} @@ -8957,7 +9009,7 @@ def update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdPatchBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload def update_commit_comment( @@ -8970,7 +9022,7 @@ def update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... def update_commit_comment( self, @@ -8982,7 +9034,7 @@ def update_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/update-commit-comment PATCH /repos/{owner}/{repo}/comments/{comment_id} @@ -9040,7 +9092,7 @@ async def async_update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdPatchBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload async def async_update_commit_comment( @@ -9053,7 +9105,7 @@ async def async_update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... async def async_update_commit_comment( self, @@ -9065,7 +9117,7 @@ async def async_update_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/update-commit-comment PATCH /repos/{owner}/{repo}/comments/{comment_id} @@ -9128,7 +9180,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """repos/list-commits GET /repos/{owner}/{repo}/commits @@ -9213,7 +9265,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """repos/list-commits GET /repos/{owner}/{repo}/commits @@ -9291,7 +9343,7 @@ def list_branches_for_head_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BranchShort], list[BranchShortType]]: + ) -> Response[list[BranchShort], list[BranchShortTypeForResponse]]: """repos/list-branches-for-head-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head @@ -9329,7 +9381,7 @@ async def async_list_branches_for_head_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BranchShort], list[BranchShortType]]: + ) -> Response[list[BranchShort], list[BranchShortTypeForResponse]]: """repos/list-branches-for-head-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head @@ -9369,7 +9421,7 @@ def list_comments_for_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-comments-for-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -9416,7 +9468,7 @@ async def async_list_comments_for_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-comments-for-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -9463,7 +9515,7 @@ def create_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload def create_commit_comment( @@ -9479,7 +9531,7 @@ def create_commit_comment( path: Missing[str] = UNSET, position: Missing[int] = UNSET, line: Missing[int] = UNSET, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... def create_commit_comment( self, @@ -9491,7 +9543,7 @@ def create_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommitsCommitShaCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/create-commit-comment POST /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -9555,7 +9607,7 @@ async def async_create_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload async def async_create_commit_comment( @@ -9571,7 +9623,7 @@ async def async_create_commit_comment( path: Missing[str] = UNSET, position: Missing[int] = UNSET, line: Missing[int] = UNSET, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... async def async_create_commit_comment( self, @@ -9583,7 +9635,7 @@ async def async_create_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommitsCommitShaCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/create-commit-comment POST /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -9647,7 +9699,7 @@ def list_pull_requests_associated_with_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """repos/list-pull-requests-associated-with-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls @@ -9692,7 +9744,7 @@ async def async_list_pull_requests_associated_with_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """repos/list-pull-requests-associated-with-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls @@ -9737,7 +9789,7 @@ def get_commit( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/get-commit GET /repos/{owner}/{repo}/commits/{ref} @@ -9828,7 +9880,7 @@ async def async_get_commit( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/get-commit GET /repos/{owner}/{repo}/commits/{ref} @@ -9919,7 +9971,7 @@ def get_combined_status_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedCommitStatus, CombinedCommitStatusType]: + ) -> Response[CombinedCommitStatus, CombinedCommitStatusTypeForResponse]: """repos/get-combined-status-for-ref GET /repos/{owner}/{repo}/commits/{ref}/status @@ -9969,7 +10021,7 @@ async def async_get_combined_status_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedCommitStatus, CombinedCommitStatusType]: + ) -> Response[CombinedCommitStatus, CombinedCommitStatusTypeForResponse]: """repos/get-combined-status-for-ref GET /repos/{owner}/{repo}/commits/{ref}/status @@ -10019,7 +10071,7 @@ def list_commit_statuses_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Status], list[StatusType]]: + ) -> Response[list[Status], list[StatusTypeForResponse]]: """repos/list-commit-statuses-for-ref GET /repos/{owner}/{repo}/commits/{ref}/statuses @@ -10061,7 +10113,7 @@ async def async_list_commit_statuses_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Status], list[StatusType]]: + ) -> Response[list[Status], list[StatusTypeForResponse]]: """repos/list-commit-statuses-for-ref GET /repos/{owner}/{repo}/commits/{ref}/statuses @@ -10100,7 +10152,7 @@ def get_community_profile_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommunityProfile, CommunityProfileType]: + ) -> Response[CommunityProfile, CommunityProfileTypeForResponse]: r"""repos/get-community-profile-metrics GET /repos/{owner}/{repo}/community/profile @@ -10141,7 +10193,7 @@ async def async_get_community_profile_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommunityProfile, CommunityProfileType]: + ) -> Response[CommunityProfile, CommunityProfileTypeForResponse]: r"""repos/get-community-profile-metrics GET /repos/{owner}/{repo}/community/profile @@ -10185,7 +10237,7 @@ def compare_commits( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComparison, CommitComparisonType]: + ) -> Response[CommitComparison, CommitComparisonTypeForResponse]: """repos/compare-commits GET /repos/{owner}/{repo}/compare/{basehead} @@ -10284,7 +10336,7 @@ async def async_compare_commits( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComparison, CommitComparisonType]: + ) -> Response[CommitComparison, CommitComparisonTypeForResponse]: """repos/compare-commits GET /repos/{owner}/{repo}/compare/{basehead} @@ -10387,10 +10439,10 @@ def get_content( list[ContentDirectoryItems], ContentFile, ContentSymlink, ContentSubmodule ], Union[ - list[ContentDirectoryItemsType], - ContentFileType, - ContentSymlinkType, - ContentSubmoduleType, + list[ContentDirectoryItemsTypeForResponse], + ContentFileTypeForResponse, + ContentSymlinkTypeForResponse, + ContentSubmoduleTypeForResponse, ], ]: """repos/get-content @@ -10476,10 +10528,10 @@ async def async_get_content( list[ContentDirectoryItems], ContentFile, ContentSymlink, ContentSubmodule ], Union[ - list[ContentDirectoryItemsType], - ContentFileType, - ContentSymlinkType, - ContentSubmoduleType, + list[ContentDirectoryItemsTypeForResponse], + ContentFileTypeForResponse, + ContentSymlinkTypeForResponse, + ContentSubmoduleTypeForResponse, ], ]: """repos/get-content @@ -10561,7 +10613,7 @@ def create_or_update_file_contents( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathPutBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload def create_or_update_file_contents( @@ -10579,7 +10631,7 @@ def create_or_update_file_contents( branch: Missing[str] = UNSET, committer: Missing[ReposOwnerRepoContentsPathPutBodyPropCommitterType] = UNSET, author: Missing[ReposOwnerRepoContentsPathPutBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... def create_or_update_file_contents( self, @@ -10591,7 +10643,7 @@ def create_or_update_file_contents( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathPutBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/create-or-update-file-contents PUT /repos/{owner}/{repo}/contents/{path} @@ -10653,7 +10705,7 @@ async def async_create_or_update_file_contents( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathPutBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload async def async_create_or_update_file_contents( @@ -10671,7 +10723,7 @@ async def async_create_or_update_file_contents( branch: Missing[str] = UNSET, committer: Missing[ReposOwnerRepoContentsPathPutBodyPropCommitterType] = UNSET, author: Missing[ReposOwnerRepoContentsPathPutBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... async def async_create_or_update_file_contents( self, @@ -10683,7 +10735,7 @@ async def async_create_or_update_file_contents( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathPutBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/create-or-update-file-contents PUT /repos/{owner}/{repo}/contents/{path} @@ -10745,7 +10797,7 @@ def delete_file( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathDeleteBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload def delete_file( @@ -10764,7 +10816,7 @@ def delete_file( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType ] = UNSET, author: Missing[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... def delete_file( self, @@ -10776,7 +10828,7 @@ def delete_file( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathDeleteBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/delete-file DELETE /repos/{owner}/{repo}/contents/{path} @@ -10841,7 +10893,7 @@ async def async_delete_file( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathDeleteBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload async def async_delete_file( @@ -10860,7 +10912,7 @@ async def async_delete_file( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType ] = UNSET, author: Missing[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... async def async_delete_file( self, @@ -10872,7 +10924,7 @@ async def async_delete_file( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathDeleteBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/delete-file DELETE /repos/{owner}/{repo}/contents/{path} @@ -10937,7 +10989,7 @@ def list_contributors( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Contributor], list[ContributorType]]: + ) -> Response[list[Contributor], list[ContributorTypeForResponse]]: """repos/list-contributors GET /repos/{owner}/{repo}/contributors @@ -10984,7 +11036,7 @@ async def async_list_contributors( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Contributor], list[ContributorType]]: + ) -> Response[list[Contributor], list[ContributorTypeForResponse]]: """repos/list-contributors GET /repos/{owner}/{repo}/contributors @@ -11034,7 +11086,7 @@ def list_deployments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """repos/list-deployments GET /repos/{owner}/{repo}/deployments @@ -11081,7 +11133,7 @@ async def async_list_deployments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """repos/list-deployments GET /repos/{owner}/{repo}/deployments @@ -11124,7 +11176,7 @@ def create_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsPostBodyType, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... @overload def create_deployment( @@ -11146,7 +11198,7 @@ def create_deployment( description: Missing[Union[str, None]] = UNSET, transient_environment: Missing[bool] = UNSET, production_environment: Missing[bool] = UNSET, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... def create_deployment( self, @@ -11157,7 +11209,7 @@ def create_deployment( stream: bool = False, data: Missing[ReposOwnerRepoDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/create-deployment POST /repos/{owner}/{repo}/deployments @@ -11254,7 +11306,7 @@ async def async_create_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsPostBodyType, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... @overload async def async_create_deployment( @@ -11276,7 +11328,7 @@ async def async_create_deployment( description: Missing[Union[str, None]] = UNSET, transient_environment: Missing[bool] = UNSET, production_environment: Missing[bool] = UNSET, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... async def async_create_deployment( self, @@ -11287,7 +11339,7 @@ async def async_create_deployment( stream: bool = False, data: Missing[ReposOwnerRepoDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/create-deployment POST /repos/{owner}/{repo}/deployments @@ -11383,7 +11435,7 @@ def get_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/get-deployment GET /repos/{owner}/{repo}/deployments/{deployment_id} @@ -11416,7 +11468,7 @@ async def async_get_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/get-deployment GET /repos/{owner}/{repo}/deployments/{deployment_id} @@ -11539,7 +11591,7 @@ def list_deployment_statuses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeploymentStatus], list[DeploymentStatusType]]: + ) -> Response[list[DeploymentStatus], list[DeploymentStatusTypeForResponse]]: """repos/list-deployment-statuses GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -11582,7 +11634,7 @@ async def async_list_deployment_statuses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeploymentStatus], list[DeploymentStatusType]]: + ) -> Response[list[DeploymentStatus], list[DeploymentStatusTypeForResponse]]: """repos/list-deployment-statuses GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -11625,7 +11677,7 @@ def create_deployment_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... @overload def create_deployment_status( @@ -11652,7 +11704,7 @@ def create_deployment_status( environment: Missing[str] = UNSET, environment_url: Missing[str] = UNSET, auto_inactive: Missing[bool] = UNSET, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... def create_deployment_status( self, @@ -11666,7 +11718,7 @@ def create_deployment_status( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/create-deployment-status POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -11721,7 +11773,7 @@ async def async_create_deployment_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... @overload async def async_create_deployment_status( @@ -11748,7 +11800,7 @@ async def async_create_deployment_status( environment: Missing[str] = UNSET, environment_url: Missing[str] = UNSET, auto_inactive: Missing[bool] = UNSET, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... async def async_create_deployment_status( self, @@ -11762,7 +11814,7 @@ async def async_create_deployment_status( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/create-deployment-status POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -11816,7 +11868,7 @@ def get_deployment_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/get-deployment-status GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} @@ -11852,7 +11904,7 @@ async def async_get_deployment_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/get-deployment-status GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} @@ -12054,7 +12106,7 @@ def get_all_environments( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsGetResponse200, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ]: """repos/get-all-environments @@ -12100,7 +12152,7 @@ async def async_get_all_environments( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsGetResponse200, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ]: """repos/get-all-environments @@ -12143,7 +12195,7 @@ def get_environment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/get-environment GET /repos/{owner}/{repo}/environments/{environment_name} @@ -12180,7 +12232,7 @@ async def async_get_environment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/get-environment GET /repos/{owner}/{repo}/environments/{environment_name} @@ -12221,7 +12273,7 @@ def create_or_update_environment( data: Missing[ Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... @overload def create_or_update_environment( @@ -12246,7 +12298,7 @@ def create_or_update_environment( deployment_branch_policy: Missing[ Union[DeploymentBranchPolicySettingsType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... def create_or_update_environment( self, @@ -12260,7 +12312,7 @@ def create_or_update_environment( Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/create-or-update-environment PUT /repos/{owner}/{repo}/environments/{environment_name} @@ -12325,7 +12377,7 @@ async def async_create_or_update_environment( data: Missing[ Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... @overload async def async_create_or_update_environment( @@ -12350,7 +12402,7 @@ async def async_create_or_update_environment( deployment_branch_policy: Missing[ Union[DeploymentBranchPolicySettingsType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... async def async_create_or_update_environment( self, @@ -12364,7 +12416,7 @@ async def async_create_or_update_environment( Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/create-or-update-environment PUT /repos/{owner}/{repo}/environments/{environment_name} @@ -12487,7 +12539,7 @@ def list_deployment_branch_policies( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, ]: """repos/list-deployment-branch-policies @@ -12536,7 +12588,7 @@ async def async_list_deployment_branch_policies( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, ]: """repos/list-deployment-branch-policies @@ -12583,7 +12635,7 @@ def create_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternWithTypeType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload def create_deployment_branch_policy( @@ -12597,7 +12649,7 @@ def create_deployment_branch_policy( stream: bool = False, name: str, type: Missing[Literal["branch", "tag"]] = UNSET, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... def create_deployment_branch_policy( self, @@ -12609,7 +12661,7 @@ def create_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternWithTypeType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/create-deployment-branch-policy POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies @@ -12659,7 +12711,7 @@ async def async_create_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternWithTypeType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload async def async_create_deployment_branch_policy( @@ -12673,7 +12725,7 @@ async def async_create_deployment_branch_policy( stream: bool = False, name: str, type: Missing[Literal["branch", "tag"]] = UNSET, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... async def async_create_deployment_branch_policy( self, @@ -12685,7 +12737,7 @@ async def async_create_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternWithTypeType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/create-deployment-branch-policy POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies @@ -12734,7 +12786,7 @@ def get_deployment_branch_policy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/get-deployment-branch-policy GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -12771,7 +12823,7 @@ async def async_get_deployment_branch_policy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/get-deployment-branch-policy GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -12810,7 +12862,7 @@ def update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload def update_deployment_branch_policy( @@ -12824,7 +12876,7 @@ def update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... def update_deployment_branch_policy( self, @@ -12837,7 +12889,7 @@ def update_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/update-deployment-branch-policy PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -12884,7 +12936,7 @@ async def async_update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload async def async_update_deployment_branch_policy( @@ -12898,7 +12950,7 @@ async def async_update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... async def async_update_deployment_branch_policy( self, @@ -12911,7 +12963,7 @@ async def async_update_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/update-deployment-branch-policy PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -13021,7 +13073,7 @@ def get_all_deployment_protection_rules( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ]: """repos/get-all-deployment-protection-rules @@ -13062,7 +13114,7 @@ async def async_get_all_deployment_protection_rules( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ]: """repos/get-all-deployment-protection-rules @@ -13103,7 +13155,9 @@ def create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... @overload def create_deployment_protection_rule( @@ -13116,7 +13170,9 @@ def create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, integration_id: Missing[int] = UNSET, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... def create_deployment_protection_rule( self, @@ -13130,7 +13186,7 @@ def create_deployment_protection_rule( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/create-deployment-protection-rule POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules @@ -13186,7 +13242,9 @@ async def async_create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... @overload async def async_create_deployment_protection_rule( @@ -13199,7 +13257,9 @@ async def async_create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, integration_id: Missing[int] = UNSET, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... async def async_create_deployment_protection_rule( self, @@ -13213,7 +13273,7 @@ async def async_create_deployment_protection_rule( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/create-deployment-protection-rule POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules @@ -13271,7 +13331,7 @@ def list_custom_deployment_rule_integrations( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, ]: """repos/list-custom-deployment-rule-integrations @@ -13324,7 +13384,7 @@ async def async_list_custom_deployment_rule_integrations( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, ]: """repos/list-custom-deployment-rule-integrations @@ -13374,7 +13434,7 @@ def get_custom_deployment_protection_rule( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/get-custom-deployment-protection-rule GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} @@ -13411,7 +13471,7 @@ async def async_get_custom_deployment_protection_rule( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/get-custom-deployment-protection-rule GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} @@ -13517,7 +13577,7 @@ def list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-forks GET /repos/{owner}/{repo}/forks @@ -13559,7 +13619,7 @@ async def async_list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-forks GET /repos/{owner}/{repo}/forks @@ -13600,7 +13660,7 @@ def create_fork( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_fork( @@ -13614,7 +13674,7 @@ def create_fork( organization: Missing[str] = UNSET, name: Missing[str] = UNSET, default_branch_only: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_fork( self, @@ -13625,7 +13685,7 @@ def create_fork( stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-fork POST /repos/{owner}/{repo}/forks @@ -13687,7 +13747,7 @@ async def async_create_fork( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_fork( @@ -13701,7 +13761,7 @@ async def async_create_fork( organization: Missing[str] = UNSET, name: Missing[str] = UNSET, default_branch_only: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_fork( self, @@ -13712,7 +13772,7 @@ async def async_create_fork( stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-fork POST /repos/{owner}/{repo}/forks @@ -13774,7 +13834,7 @@ def list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Hook], list[HookType]]: + ) -> Response[list[Hook], list[HookTypeForResponse]]: """repos/list-webhooks GET /repos/{owner}/{repo}/hooks @@ -13816,7 +13876,7 @@ async def async_list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Hook], list[HookType]]: + ) -> Response[list[Hook], list[HookTypeForResponse]]: """repos/list-webhooks GET /repos/{owner}/{repo}/hooks @@ -13858,7 +13918,7 @@ def create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload def create_webhook( @@ -13873,7 +13933,7 @@ def create_webhook( config: Missing[ReposOwnerRepoHooksPostBodyPropConfigType] = UNSET, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... def create_webhook( self, @@ -13884,7 +13944,7 @@ def create_webhook( stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/create-webhook POST /repos/{owner}/{repo}/hooks @@ -13940,7 +14000,7 @@ async def async_create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload async def async_create_webhook( @@ -13955,7 +14015,7 @@ async def async_create_webhook( config: Missing[ReposOwnerRepoHooksPostBodyPropConfigType] = UNSET, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... async def async_create_webhook( self, @@ -13966,7 +14026,7 @@ async def async_create_webhook( stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/create-webhook POST /repos/{owner}/{repo}/hooks @@ -14021,7 +14081,7 @@ def get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/get-webhook GET /repos/{owner}/{repo}/hooks/{hook_id} @@ -14056,7 +14116,7 @@ async def async_get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/get-webhook GET /repos/{owner}/{repo}/hooks/{hook_id} @@ -14165,7 +14225,7 @@ def update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoHooksHookIdPatchBodyType, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload def update_webhook( @@ -14182,7 +14242,7 @@ def update_webhook( add_events: Missing[list[str]] = UNSET, remove_events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... def update_webhook( self, @@ -14194,7 +14254,7 @@ def update_webhook( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/update-webhook PATCH /repos/{owner}/{repo}/hooks/{hook_id} @@ -14247,7 +14307,7 @@ async def async_update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoHooksHookIdPatchBodyType, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload async def async_update_webhook( @@ -14264,7 +14324,7 @@ async def async_update_webhook( add_events: Missing[list[str]] = UNSET, remove_events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... async def async_update_webhook( self, @@ -14276,7 +14336,7 @@ async def async_update_webhook( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/update-webhook PATCH /repos/{owner}/{repo}/hooks/{hook_id} @@ -14327,7 +14387,7 @@ def get_webhook_config_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/get-webhook-config-for-repo GET /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -14361,7 +14421,7 @@ async def async_get_webhook_config_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/get-webhook-config-for-repo GET /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -14397,7 +14457,7 @@ def update_webhook_config_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_repo( @@ -14413,7 +14473,7 @@ def update_webhook_config_for_repo( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_repo( self, @@ -14425,7 +14485,7 @@ def update_webhook_config_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/update-webhook-config-for-repo PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -14471,7 +14531,7 @@ async def async_update_webhook_config_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_repo( @@ -14487,7 +14547,7 @@ async def async_update_webhook_config_for_repo( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_repo( self, @@ -14499,7 +14559,7 @@ async def async_update_webhook_config_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/update-webhook-config-for-repo PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -14545,7 +14605,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """repos/list-webhook-deliveries GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries @@ -14589,7 +14649,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """repos/list-webhook-deliveries GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries @@ -14632,7 +14692,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """repos/get-webhook-delivery GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} @@ -14669,7 +14729,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """repos/get-webhook-delivery GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} @@ -14708,7 +14768,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/redeliver-webhook-delivery @@ -14752,7 +14812,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/redeliver-webhook-delivery @@ -14934,7 +14994,7 @@ def check_immutable_releases( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckImmutableReleases, CheckImmutableReleasesType]: + ) -> Response[CheckImmutableReleases, CheckImmutableReleasesTypeForResponse]: """repos/check-immutable-releases GET /repos/{owner}/{repo}/immutable-releases @@ -14967,7 +15027,7 @@ async def async_check_immutable_releases( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckImmutableReleases, CheckImmutableReleasesType]: + ) -> Response[CheckImmutableReleases, CheckImmutableReleasesTypeForResponse]: """repos/check-immutable-releases GET /repos/{owner}/{repo}/immutable-releases @@ -15134,7 +15194,9 @@ def list_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations GET /repos/{owner}/{repo}/invitations @@ -15173,7 +15235,9 @@ async def async_list_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations GET /repos/{owner}/{repo}/invitations @@ -15267,7 +15331,7 @@ def update_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload def update_invitation( @@ -15282,7 +15346,7 @@ def update_invitation( permissions: Missing[ Literal["read", "write", "maintain", "triage", "admin"] ] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... def update_invitation( self, @@ -15294,7 +15358,7 @@ def update_invitation( stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/update-invitation PATCH /repos/{owner}/{repo}/invitations/{invitation_id} @@ -15341,7 +15405,7 @@ async def async_update_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload async def async_update_invitation( @@ -15356,7 +15420,7 @@ async def async_update_invitation( permissions: Missing[ Literal["read", "write", "maintain", "triage", "admin"] ] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... async def async_update_invitation( self, @@ -15368,7 +15432,7 @@ async def async_update_invitation( stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/update-invitation PATCH /repos/{owner}/{repo}/invitations/{invitation_id} @@ -15414,7 +15478,7 @@ def list_deploy_keys( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeployKey], list[DeployKeyType]]: + ) -> Response[list[DeployKey], list[DeployKeyTypeForResponse]]: """repos/list-deploy-keys GET /repos/{owner}/{repo}/keys @@ -15451,7 +15515,7 @@ async def async_list_deploy_keys( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeployKey], list[DeployKeyType]]: + ) -> Response[list[DeployKey], list[DeployKeyTypeForResponse]]: """repos/list-deploy-keys GET /repos/{owner}/{repo}/keys @@ -15488,7 +15552,7 @@ def create_deploy_key( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoKeysPostBodyType, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... @overload def create_deploy_key( @@ -15502,7 +15566,7 @@ def create_deploy_key( title: Missing[str] = UNSET, key: str, read_only: Missing[bool] = UNSET, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... def create_deploy_key( self, @@ -15513,7 +15577,7 @@ def create_deploy_key( stream: bool = False, data: Missing[ReposOwnerRepoKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/create-deploy-key POST /repos/{owner}/{repo}/keys @@ -15559,7 +15623,7 @@ async def async_create_deploy_key( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoKeysPostBodyType, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... @overload async def async_create_deploy_key( @@ -15573,7 +15637,7 @@ async def async_create_deploy_key( title: Missing[str] = UNSET, key: str, read_only: Missing[bool] = UNSET, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... async def async_create_deploy_key( self, @@ -15584,7 +15648,7 @@ async def async_create_deploy_key( stream: bool = False, data: Missing[ReposOwnerRepoKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/create-deploy-key POST /repos/{owner}/{repo}/keys @@ -15629,7 +15693,7 @@ def get_deploy_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/get-deploy-key GET /repos/{owner}/{repo}/keys/{key_id} @@ -15662,7 +15726,7 @@ async def async_get_deploy_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/get-deploy-key GET /repos/{owner}/{repo}/keys/{key_id} @@ -15752,7 +15816,7 @@ def list_languages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Language, LanguageType]: + ) -> Response[Language, LanguageTypeForResponse]: """repos/list-languages GET /repos/{owner}/{repo}/languages @@ -15783,7 +15847,7 @@ async def async_list_languages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Language, LanguageType]: + ) -> Response[Language, LanguageTypeForResponse]: """repos/list-languages GET /repos/{owner}/{repo}/languages @@ -15816,7 +15880,7 @@ def enable_lfs_for_repo( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/enable-lfs-for-repo @@ -15853,7 +15917,7 @@ async def async_enable_lfs_for_repo( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/enable-lfs-for-repo @@ -15950,7 +16014,7 @@ def merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergeUpstreamPostBodyType, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... @overload def merge_upstream( @@ -15962,7 +16026,7 @@ def merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, branch: str, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... def merge_upstream( self, @@ -15973,7 +16037,7 @@ def merge_upstream( stream: bool = False, data: Missing[ReposOwnerRepoMergeUpstreamPostBodyType] = UNSET, **kwargs, - ) -> Response[MergedUpstream, MergedUpstreamType]: + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: """repos/merge-upstream POST /repos/{owner}/{repo}/merge-upstream @@ -16017,7 +16081,7 @@ async def async_merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergeUpstreamPostBodyType, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... @overload async def async_merge_upstream( @@ -16029,7 +16093,7 @@ async def async_merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, branch: str, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... async def async_merge_upstream( self, @@ -16040,7 +16104,7 @@ async def async_merge_upstream( stream: bool = False, data: Missing[ReposOwnerRepoMergeUpstreamPostBodyType] = UNSET, **kwargs, - ) -> Response[MergedUpstream, MergedUpstreamType]: + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: """repos/merge-upstream POST /repos/{owner}/{repo}/merge-upstream @@ -16084,7 +16148,7 @@ def merge( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergesPostBodyType, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... @overload def merge( @@ -16098,7 +16162,7 @@ def merge( base: str, head: str, commit_message: Missing[str] = UNSET, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... def merge( self, @@ -16109,7 +16173,7 @@ def merge( stream: bool = False, data: Missing[ReposOwnerRepoMergesPostBodyType] = UNSET, **kwargs, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/merge POST /repos/{owner}/{repo}/merges @@ -16159,7 +16223,7 @@ async def async_merge( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergesPostBodyType, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... @overload async def async_merge( @@ -16173,7 +16237,7 @@ async def async_merge( base: str, head: str, commit_message: Missing[str] = UNSET, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... async def async_merge( self, @@ -16184,7 +16248,7 @@ async def async_merge( stream: bool = False, data: Missing[ReposOwnerRepoMergesPostBodyType] = UNSET, **kwargs, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/merge POST /repos/{owner}/{repo}/merges @@ -16232,7 +16296,7 @@ def get_pages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/get-pages GET /repos/{owner}/{repo}/pages @@ -16268,7 +16332,7 @@ async def async_get_pages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/get-pages GET /repos/{owner}/{repo}/pages @@ -16707,7 +16771,7 @@ def create_pages_site( ReposOwnerRepoPagesPostBodyAnyof1Type, None, ], - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload def create_pages_site( @@ -16720,7 +16784,7 @@ def create_pages_site( stream: bool = False, build_type: Missing[Literal["legacy", "workflow"]] = UNSET, source: ReposOwnerRepoPagesPostBodyPropSourceType, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload def create_pages_site( @@ -16733,7 +16797,7 @@ def create_pages_site( stream: bool = False, build_type: Literal["legacy", "workflow"], source: Missing[ReposOwnerRepoPagesPostBodyPropSourceType] = UNSET, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... def create_pages_site( self, @@ -16751,7 +16815,7 @@ def create_pages_site( ] ] = UNSET, **kwargs, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/create-pages-site POST /repos/{owner}/{repo}/pages @@ -16823,7 +16887,7 @@ async def async_create_pages_site( ReposOwnerRepoPagesPostBodyAnyof1Type, None, ], - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload async def async_create_pages_site( @@ -16836,7 +16900,7 @@ async def async_create_pages_site( stream: bool = False, build_type: Missing[Literal["legacy", "workflow"]] = UNSET, source: ReposOwnerRepoPagesPostBodyPropSourceType, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload async def async_create_pages_site( @@ -16849,7 +16913,7 @@ async def async_create_pages_site( stream: bool = False, build_type: Literal["legacy", "workflow"], source: Missing[ReposOwnerRepoPagesPostBodyPropSourceType] = UNSET, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... async def async_create_pages_site( self, @@ -16867,7 +16931,7 @@ async def async_create_pages_site( ] ] = UNSET, **kwargs, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/create-pages-site POST /repos/{owner}/{repo}/pages @@ -17012,7 +17076,7 @@ def list_pages_builds( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PageBuild], list[PageBuildType]]: + ) -> Response[list[PageBuild], list[PageBuildTypeForResponse]]: """repos/list-pages-builds GET /repos/{owner}/{repo}/pages/builds @@ -17053,7 +17117,7 @@ async def async_list_pages_builds( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PageBuild], list[PageBuildType]]: + ) -> Response[list[PageBuild], list[PageBuildTypeForResponse]]: """repos/list-pages-builds GET /repos/{owner}/{repo}/pages/builds @@ -17092,7 +17156,7 @@ def request_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuildStatus, PageBuildStatusType]: + ) -> Response[PageBuildStatus, PageBuildStatusTypeForResponse]: """repos/request-pages-build POST /repos/{owner}/{repo}/pages/builds @@ -17125,7 +17189,7 @@ async def async_request_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuildStatus, PageBuildStatusType]: + ) -> Response[PageBuildStatus, PageBuildStatusTypeForResponse]: """repos/request-pages-build POST /repos/{owner}/{repo}/pages/builds @@ -17158,7 +17222,7 @@ def get_latest_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-latest-pages-build GET /repos/{owner}/{repo}/pages/builds/latest @@ -17191,7 +17255,7 @@ async def async_get_latest_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-latest-pages-build GET /repos/{owner}/{repo}/pages/builds/latest @@ -17225,7 +17289,7 @@ def get_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-pages-build GET /repos/{owner}/{repo}/pages/builds/{build_id} @@ -17259,7 +17323,7 @@ async def async_get_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-pages-build GET /repos/{owner}/{repo}/pages/builds/{build_id} @@ -17294,7 +17358,7 @@ def create_pages_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPagesDeploymentsPostBodyType, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... @overload def create_pages_deployment( @@ -17310,7 +17374,7 @@ def create_pages_deployment( environment: Missing[str] = UNSET, pages_build_version: str = "GITHUB_SHA", oidc_token: str, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... def create_pages_deployment( self, @@ -17321,7 +17385,7 @@ def create_pages_deployment( stream: bool = False, data: Missing[ReposOwnerRepoPagesDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PageDeployment, PageDeploymentType]: + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: """repos/create-pages-deployment POST /repos/{owner}/{repo}/pages/deployments @@ -17376,7 +17440,7 @@ async def async_create_pages_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPagesDeploymentsPostBodyType, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... @overload async def async_create_pages_deployment( @@ -17392,7 +17456,7 @@ async def async_create_pages_deployment( environment: Missing[str] = UNSET, pages_build_version: str = "GITHUB_SHA", oidc_token: str, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... async def async_create_pages_deployment( self, @@ -17403,7 +17467,7 @@ async def async_create_pages_deployment( stream: bool = False, data: Missing[ReposOwnerRepoPagesDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PageDeployment, PageDeploymentType]: + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: """repos/create-pages-deployment POST /repos/{owner}/{repo}/pages/deployments @@ -17457,7 +17521,7 @@ def get_pages_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusType]: + ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusTypeForResponse]: """repos/get-pages-deployment GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id} @@ -17494,7 +17558,7 @@ async def async_get_pages_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusType]: + ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusTypeForResponse]: """repos/get-pages-deployment GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id} @@ -17602,7 +17666,7 @@ def get_pages_health_check( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesHealthCheck, PagesHealthCheckType]: + ) -> Response[PagesHealthCheck, PagesHealthCheckTypeForResponse]: """repos/get-pages-health-check GET /repos/{owner}/{repo}/pages/health @@ -17642,7 +17706,7 @@ async def async_get_pages_health_check( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesHealthCheck, PagesHealthCheckType]: + ) -> Response[PagesHealthCheck, PagesHealthCheckTypeForResponse]: """repos/get-pages-health-check GET /repos/{owner}/{repo}/pages/health @@ -17684,7 +17748,7 @@ def check_private_vulnerability_reporting( stream: bool = False, ) -> Response[ ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ]: """repos/check-private-vulnerability-reporting @@ -17724,7 +17788,7 @@ async def async_check_private_vulnerability_reporting( stream: bool = False, ) -> Response[ ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ]: """repos/check-private-vulnerability-reporting @@ -17894,7 +17958,7 @@ def custom_properties_for_repos_get_repository_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """repos/custom-properties-for-repos-get-repository-values GET /repos/{owner}/{repo}/properties/values @@ -17930,7 +17994,7 @@ async def async_custom_properties_for_repos_get_repository_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """repos/custom-properties-for-repos-get-repository-values GET /repos/{owner}/{repo}/properties/values @@ -18121,7 +18185,7 @@ def get_readme( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme GET /repos/{owner}/{repo}/readme @@ -18167,7 +18231,7 @@ async def async_get_readme( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme GET /repos/{owner}/{repo}/readme @@ -18214,7 +18278,7 @@ def get_readme_in_directory( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme-in-directory GET /repos/{owner}/{repo}/readme/{dir} @@ -18261,7 +18325,7 @@ async def async_get_readme_in_directory( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme-in-directory GET /repos/{owner}/{repo}/readme/{dir} @@ -18308,7 +18372,7 @@ def list_releases( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Release], list[ReleaseType]]: + ) -> Response[list[Release], list[ReleaseTypeForResponse]]: """repos/list-releases GET /repos/{owner}/{repo}/releases @@ -18352,7 +18416,7 @@ async def async_list_releases( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Release], list[ReleaseType]]: + ) -> Response[list[Release], list[ReleaseTypeForResponse]]: """repos/list-releases GET /repos/{owner}/{repo}/releases @@ -18396,7 +18460,7 @@ def create_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesPostBodyType, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload def create_release( @@ -18416,7 +18480,7 @@ def create_release( discussion_category_name: Missing[str] = UNSET, generate_release_notes: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... def create_release( self, @@ -18427,7 +18491,7 @@ def create_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesPostBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/create-release POST /repos/{owner}/{repo}/releases @@ -18481,7 +18545,7 @@ async def async_create_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesPostBodyType, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload async def async_create_release( @@ -18501,7 +18565,7 @@ async def async_create_release( discussion_category_name: Missing[str] = UNSET, generate_release_notes: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... async def async_create_release( self, @@ -18512,7 +18576,7 @@ async def async_create_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesPostBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/create-release POST /repos/{owner}/{repo}/releases @@ -18565,7 +18629,7 @@ def get_release_asset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/get-release-asset GET /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -18606,7 +18670,7 @@ async def async_get_release_asset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/get-release-asset GET /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -18703,7 +18767,7 @@ def update_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... @overload def update_release_asset( @@ -18718,7 +18782,7 @@ def update_release_asset( name: Missing[str] = UNSET, label: Missing[str] = UNSET, state: Missing[str] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... def update_release_asset( self, @@ -18730,7 +18794,7 @@ def update_release_asset( stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/update-release-asset PATCH /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -18776,7 +18840,7 @@ async def async_update_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... @overload async def async_update_release_asset( @@ -18791,7 +18855,7 @@ async def async_update_release_asset( name: Missing[str] = UNSET, label: Missing[str] = UNSET, state: Missing[str] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... async def async_update_release_asset( self, @@ -18803,7 +18867,7 @@ async def async_update_release_asset( stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/update-release-asset PATCH /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -18848,7 +18912,7 @@ def generate_release_notes( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesGenerateNotesPostBodyType, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... @overload def generate_release_notes( @@ -18863,7 +18927,7 @@ def generate_release_notes( target_commitish: Missing[str] = UNSET, previous_tag_name: Missing[str] = UNSET, configuration_file_path: Missing[str] = UNSET, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... def generate_release_notes( self, @@ -18874,7 +18938,7 @@ def generate_release_notes( stream: bool = False, data: Missing[ReposOwnerRepoReleasesGenerateNotesPostBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: """repos/generate-release-notes POST /repos/{owner}/{repo}/releases/generate-notes @@ -18926,7 +18990,7 @@ async def async_generate_release_notes( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesGenerateNotesPostBodyType, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... @overload async def async_generate_release_notes( @@ -18941,7 +19005,7 @@ async def async_generate_release_notes( target_commitish: Missing[str] = UNSET, previous_tag_name: Missing[str] = UNSET, configuration_file_path: Missing[str] = UNSET, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... async def async_generate_release_notes( self, @@ -18952,7 +19016,7 @@ async def async_generate_release_notes( stream: bool = False, data: Missing[ReposOwnerRepoReleasesGenerateNotesPostBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: """repos/generate-release-notes POST /repos/{owner}/{repo}/releases/generate-notes @@ -19002,7 +19066,7 @@ def get_latest_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-latest-release GET /repos/{owner}/{repo}/releases/latest @@ -19035,7 +19099,7 @@ async def async_get_latest_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-latest-release GET /repos/{owner}/{repo}/releases/latest @@ -19069,7 +19133,7 @@ def get_release_by_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release-by-tag GET /repos/{owner}/{repo}/releases/tags/{tag} @@ -19104,7 +19168,7 @@ async def async_get_release_by_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release-by-tag GET /repos/{owner}/{repo}/releases/tags/{tag} @@ -19139,7 +19203,7 @@ def get_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release GET /repos/{owner}/{repo}/releases/{release_id} @@ -19175,7 +19239,7 @@ async def async_get_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release GET /repos/{owner}/{repo}/releases/{release_id} @@ -19271,7 +19335,7 @@ def update_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload def update_release( @@ -19291,7 +19355,7 @@ def update_release( prerelease: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, discussion_category_name: Missing[str] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... def update_release( self, @@ -19303,7 +19367,7 @@ def update_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/update-release PATCH /repos/{owner}/{repo}/releases/{release_id} @@ -19354,7 +19418,7 @@ async def async_update_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload async def async_update_release( @@ -19374,7 +19438,7 @@ async def async_update_release( prerelease: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, discussion_category_name: Missing[str] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... async def async_update_release( self, @@ -19386,7 +19450,7 @@ async def async_update_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/update-release PATCH /repos/{owner}/{repo}/releases/{release_id} @@ -19437,7 +19501,7 @@ def list_release_assets( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReleaseAsset], list[ReleaseAssetType]]: + ) -> Response[list[ReleaseAsset], list[ReleaseAssetTypeForResponse]]: """repos/list-release-assets GET /repos/{owner}/{repo}/releases/{release_id}/assets @@ -19475,7 +19539,7 @@ async def async_list_release_assets( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReleaseAsset], list[ReleaseAssetType]]: + ) -> Response[list[ReleaseAsset], list[ReleaseAssetTypeForResponse]]: """repos/list-release-assets GET /repos/{owner}/{repo}/releases/{release_id}/assets @@ -19514,7 +19578,7 @@ def upload_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: FileTypes, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/upload-release-asset POST /repos/{owner}/{repo}/releases/{release_id}/assets @@ -19581,7 +19645,7 @@ async def async_upload_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: FileTypes, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/upload-release-asset POST /repos/{owner}/{repo}/releases/{release_id}/assets @@ -19676,28 +19740,28 @@ def get_branch_rules( ], list[ Union[ - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, ] ], ]: @@ -19822,28 +19886,28 @@ async def async_get_branch_rules( ], list[ Union[ - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, ] ], ]: @@ -19940,7 +20004,7 @@ def get_repo_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-repo-rulesets GET /repos/{owner}/{repo}/rulesets @@ -19987,7 +20051,7 @@ async def async_get_repo_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-repo-rulesets GET /repos/{owner}/{repo}/rulesets @@ -20032,7 +20096,7 @@ def create_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def create_repo_ruleset( @@ -20076,7 +20140,7 @@ def create_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def create_repo_ruleset( self, @@ -20087,7 +20151,7 @@ def create_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-repo-ruleset POST /repos/{owner}/{repo}/rulesets @@ -20138,7 +20202,7 @@ async def async_create_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_create_repo_ruleset( @@ -20182,7 +20246,7 @@ async def async_create_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_create_repo_ruleset( self, @@ -20193,7 +20257,7 @@ async def async_create_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-repo-ruleset POST /repos/{owner}/{repo}/rulesets @@ -20248,7 +20312,7 @@ def get_repo_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-repo-rule-suites GET /repos/{owner}/{repo}/rulesets/rule-suites @@ -20300,7 +20364,7 @@ async def async_get_repo_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-repo-rule-suites GET /repos/{owner}/{repo}/rulesets/rule-suites @@ -20347,7 +20411,7 @@ def get_repo_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-repo-rule-suite GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} @@ -20384,7 +20448,7 @@ async def async_get_repo_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-repo-rule-suite GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} @@ -20422,7 +20486,7 @@ def get_repo_ruleset( includes_parents: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-repo-ruleset GET /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -20467,7 +20531,7 @@ async def async_get_repo_ruleset( includes_parents: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-repo-ruleset GET /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -20513,7 +20577,7 @@ def update_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def update_repo_ruleset( @@ -20558,7 +20622,7 @@ def update_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def update_repo_ruleset( self, @@ -20570,7 +20634,7 @@ def update_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-repo-ruleset PUT /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -20622,7 +20686,7 @@ async def async_update_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_update_repo_ruleset( @@ -20667,7 +20731,7 @@ async def async_update_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_update_repo_ruleset( self, @@ -20679,7 +20743,7 @@ async def async_update_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-repo-ruleset PUT /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -20801,7 +20865,7 @@ def get_repo_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """repos/get-repo-ruleset-history GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history @@ -20845,7 +20909,7 @@ async def async_get_repo_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """repos/get-repo-ruleset-history GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history @@ -20888,7 +20952,7 @@ def get_repo_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """repos/get-repo-ruleset-version GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id} @@ -20925,7 +20989,7 @@ async def async_get_repo_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """repos/get-repo-ruleset-version GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id} @@ -21026,7 +21090,7 @@ def get_commit_activity_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitActivity], list[CommitActivityType]]: + ) -> Response[list[CommitActivity], list[CommitActivityTypeForResponse]]: """repos/get-commit-activity-stats GET /repos/{owner}/{repo}/stats/commit_activity @@ -21057,7 +21121,7 @@ async def async_get_commit_activity_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitActivity], list[CommitActivityType]]: + ) -> Response[list[CommitActivity], list[CommitActivityTypeForResponse]]: """repos/get-commit-activity-stats GET /repos/{owner}/{repo}/stats/commit_activity @@ -21088,7 +21152,7 @@ def get_contributors_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContributorActivity], list[ContributorActivityType]]: + ) -> Response[list[ContributorActivity], list[ContributorActivityTypeForResponse]]: """repos/get-contributors-stats GET /repos/{owner}/{repo}/stats/contributors @@ -21128,7 +21192,7 @@ async def async_get_contributors_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContributorActivity], list[ContributorActivityType]]: + ) -> Response[list[ContributorActivity], list[ContributorActivityTypeForResponse]]: """repos/get-contributors-stats GET /repos/{owner}/{repo}/stats/contributors @@ -21168,7 +21232,7 @@ def get_participation_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ParticipationStats, ParticipationStatsType]: + ) -> Response[ParticipationStats, ParticipationStatsTypeForResponse]: """repos/get-participation-stats GET /repos/{owner}/{repo}/stats/participation @@ -21206,7 +21270,7 @@ async def async_get_participation_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ParticipationStats, ParticipationStatsType]: + ) -> Response[ParticipationStats, ParticipationStatsTypeForResponse]: """repos/get-participation-stats GET /repos/{owner}/{repo}/stats/participation @@ -21317,7 +21381,7 @@ def create_commit_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoStatusesShaPostBodyType, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... @overload def create_commit_status( @@ -21333,7 +21397,7 @@ def create_commit_status( target_url: Missing[Union[str, None]] = UNSET, description: Missing[Union[str, None]] = UNSET, context: Missing[str] = UNSET, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... def create_commit_status( self, @@ -21345,7 +21409,7 @@ def create_commit_status( stream: bool = False, data: Missing[ReposOwnerRepoStatusesShaPostBodyType] = UNSET, **kwargs, - ) -> Response[Status, StatusType]: + ) -> Response[Status, StatusTypeForResponse]: """repos/create-commit-status POST /repos/{owner}/{repo}/statuses/{sha} @@ -21391,7 +21455,7 @@ async def async_create_commit_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoStatusesShaPostBodyType, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... @overload async def async_create_commit_status( @@ -21407,7 +21471,7 @@ async def async_create_commit_status( target_url: Missing[Union[str, None]] = UNSET, description: Missing[Union[str, None]] = UNSET, context: Missing[str] = UNSET, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... async def async_create_commit_status( self, @@ -21419,7 +21483,7 @@ async def async_create_commit_status( stream: bool = False, data: Missing[ReposOwnerRepoStatusesShaPostBodyType] = UNSET, **kwargs, - ) -> Response[Status, StatusType]: + ) -> Response[Status, StatusTypeForResponse]: """repos/create-commit-status POST /repos/{owner}/{repo}/statuses/{sha} @@ -21464,7 +21528,7 @@ def list_tags( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Tag], list[TagType]]: + ) -> Response[list[Tag], list[TagTypeForResponse]]: """repos/list-tags GET /repos/{owner}/{repo}/tags @@ -21501,7 +21565,7 @@ async def async_list_tags( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Tag], list[TagType]]: + ) -> Response[list[Tag], list[TagTypeForResponse]]: """repos/list-tags GET /repos/{owner}/{repo}/tags @@ -21536,7 +21600,7 @@ def list_tag_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TagProtection], list[TagProtectionType]]: + ) -> Response[list[TagProtection], list[TagProtectionTypeForResponse]]: """DEPRECATED repos/list-tag-protection GET /repos/{owner}/{repo}/tags/protection @@ -21576,7 +21640,7 @@ async def async_list_tag_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TagProtection], list[TagProtectionType]]: + ) -> Response[list[TagProtection], list[TagProtectionTypeForResponse]]: """DEPRECATED repos/list-tag-protection GET /repos/{owner}/{repo}/tags/protection @@ -21618,7 +21682,7 @@ def create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTagsProtectionPostBodyType, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... @overload def create_tag_protection( @@ -21630,7 +21694,7 @@ def create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, pattern: str, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... def create_tag_protection( self, @@ -21641,7 +21705,7 @@ def create_tag_protection( stream: bool = False, data: Missing[ReposOwnerRepoTagsProtectionPostBodyType] = UNSET, **kwargs, - ) -> Response[TagProtection, TagProtectionType]: + ) -> Response[TagProtection, TagProtectionTypeForResponse]: """DEPRECATED repos/create-tag-protection POST /repos/{owner}/{repo}/tags/protection @@ -21696,7 +21760,7 @@ async def async_create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTagsProtectionPostBodyType, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... @overload async def async_create_tag_protection( @@ -21708,7 +21772,7 @@ async def async_create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, pattern: str, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... async def async_create_tag_protection( self, @@ -21719,7 +21783,7 @@ async def async_create_tag_protection( stream: bool = False, data: Missing[ReposOwnerRepoTagsProtectionPostBodyType] = UNSET, **kwargs, - ) -> Response[TagProtection, TagProtectionType]: + ) -> Response[TagProtection, TagProtectionTypeForResponse]: """DEPRECATED repos/create-tag-protection POST /repos/{owner}/{repo}/tags/protection @@ -21920,7 +21984,7 @@ def list_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/list-teams GET /repos/{owner}/{repo}/teams @@ -21966,7 +22030,7 @@ async def async_list_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/list-teams GET /repos/{owner}/{repo}/teams @@ -22012,7 +22076,7 @@ def get_all_topics( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/get-all-topics GET /repos/{owner}/{repo}/topics @@ -22052,7 +22116,7 @@ async def async_get_all_topics( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/get-all-topics GET /repos/{owner}/{repo}/topics @@ -22092,7 +22156,7 @@ def replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTopicsPutBodyType, - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... @overload def replace_all_topics( @@ -22104,7 +22168,7 @@ def replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, names: list[str], - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... def replace_all_topics( self, @@ -22115,7 +22179,7 @@ def replace_all_topics( stream: bool = False, data: Missing[ReposOwnerRepoTopicsPutBodyType] = UNSET, **kwargs, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/replace-all-topics PUT /repos/{owner}/{repo}/topics @@ -22165,7 +22229,7 @@ async def async_replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTopicsPutBodyType, - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... @overload async def async_replace_all_topics( @@ -22177,7 +22241,7 @@ async def async_replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, names: list[str], - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... async def async_replace_all_topics( self, @@ -22188,7 +22252,7 @@ async def async_replace_all_topics( stream: bool = False, data: Missing[ReposOwnerRepoTopicsPutBodyType] = UNSET, **kwargs, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/replace-all-topics PUT /repos/{owner}/{repo}/topics @@ -22237,7 +22301,7 @@ def get_clones( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CloneTraffic, CloneTrafficType]: + ) -> Response[CloneTraffic, CloneTrafficTypeForResponse]: """repos/get-clones GET /repos/{owner}/{repo}/traffic/clones @@ -22277,7 +22341,7 @@ async def async_get_clones( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CloneTraffic, CloneTrafficType]: + ) -> Response[CloneTraffic, CloneTrafficTypeForResponse]: """repos/get-clones GET /repos/{owner}/{repo}/traffic/clones @@ -22316,7 +22380,7 @@ def get_top_paths( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContentTraffic], list[ContentTrafficType]]: + ) -> Response[list[ContentTraffic], list[ContentTrafficTypeForResponse]]: """repos/get-top-paths GET /repos/{owner}/{repo}/traffic/popular/paths @@ -22350,7 +22414,7 @@ async def async_get_top_paths( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContentTraffic], list[ContentTrafficType]]: + ) -> Response[list[ContentTraffic], list[ContentTrafficTypeForResponse]]: """repos/get-top-paths GET /repos/{owner}/{repo}/traffic/popular/paths @@ -22384,7 +22448,7 @@ def get_top_referrers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficType]]: + ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficTypeForResponse]]: """repos/get-top-referrers GET /repos/{owner}/{repo}/traffic/popular/referrers @@ -22418,7 +22482,7 @@ async def async_get_top_referrers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficType]]: + ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficTypeForResponse]]: """repos/get-top-referrers GET /repos/{owner}/{repo}/traffic/popular/referrers @@ -22453,7 +22517,7 @@ def get_views( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ViewTraffic, ViewTrafficType]: + ) -> Response[ViewTraffic, ViewTrafficTypeForResponse]: """repos/get-views GET /repos/{owner}/{repo}/traffic/views @@ -22493,7 +22557,7 @@ async def async_get_views( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ViewTraffic, ViewTrafficType]: + ) -> Response[ViewTraffic, ViewTrafficTypeForResponse]: """repos/get-views GET /repos/{owner}/{repo}/traffic/views @@ -22534,7 +22598,7 @@ def transfer( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTransferPostBodyType, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... @overload def transfer( @@ -22548,7 +22612,7 @@ def transfer( new_owner: str, new_name: Missing[str] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... def transfer( self, @@ -22559,7 +22623,7 @@ def transfer( stream: bool = False, data: Missing[ReposOwnerRepoTransferPostBodyType] = UNSET, **kwargs, - ) -> Response[MinimalRepository, MinimalRepositoryType]: + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: """repos/transfer POST /repos/{owner}/{repo}/transfer @@ -22602,7 +22666,7 @@ async def async_transfer( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTransferPostBodyType, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... @overload async def async_transfer( @@ -22616,7 +22680,7 @@ async def async_transfer( new_owner: str, new_name: Missing[str] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... async def async_transfer( self, @@ -22627,7 +22691,7 @@ async def async_transfer( stream: bool = False, data: Missing[ReposOwnerRepoTransferPostBodyType] = UNSET, **kwargs, - ) -> Response[MinimalRepository, MinimalRepositoryType]: + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: """repos/transfer POST /repos/{owner}/{repo}/transfer @@ -22912,7 +22976,7 @@ def create_using_template( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_using_template( @@ -22928,7 +22992,7 @@ def create_using_template( description: Missing[str] = UNSET, include_all_branches: Missing[bool] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_using_template( self, @@ -22939,7 +23003,7 @@ def create_using_template( stream: bool = False, data: Missing[ReposTemplateOwnerTemplateRepoGeneratePostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-using-template POST /repos/{template_owner}/{template_repo}/generate @@ -22989,7 +23053,7 @@ async def async_create_using_template( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_using_template( @@ -23005,7 +23069,7 @@ async def async_create_using_template( description: Missing[str] = UNSET, include_all_branches: Missing[bool] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_using_template( self, @@ -23016,7 +23080,7 @@ async def async_create_using_template( stream: bool = False, data: Missing[ReposTemplateOwnerTemplateRepoGeneratePostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-using-template POST /repos/{template_owner}/{template_repo}/generate @@ -23063,7 +23127,7 @@ def list_public( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-public GET /repositories @@ -23105,7 +23169,7 @@ async def async_list_public( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-public GET /repositories @@ -23155,7 +23219,7 @@ def list_for_authenticated_user( before: Missing[datetime] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """repos/list-for-authenticated-user GET /user/repos @@ -23213,7 +23277,7 @@ async def async_list_for_authenticated_user( before: Missing[datetime] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """repos/list-for-authenticated-user GET /user/repos @@ -23264,7 +23328,7 @@ def create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -23300,7 +23364,7 @@ def create_for_authenticated_user( merge_commit_message: Missing[Literal["PR_BODY", "PR_TITLE", "BLANK"]] = UNSET, has_downloads: Missing[bool] = UNSET, is_template: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_for_authenticated_user( self, @@ -23309,7 +23373,7 @@ def create_for_authenticated_user( stream: bool = False, data: Missing[UserReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-for-authenticated-user POST /user/repos @@ -23364,7 +23428,7 @@ async def async_create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -23400,7 +23464,7 @@ async def async_create_for_authenticated_user( merge_commit_message: Missing[Literal["PR_BODY", "PR_TITLE", "BLANK"]] = UNSET, has_downloads: Missing[bool] = UNSET, is_template: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_for_authenticated_user( self, @@ -23409,7 +23473,7 @@ async def async_create_for_authenticated_user( stream: bool = False, data: Missing[UserReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-for-authenticated-user POST /user/repos @@ -23464,7 +23528,9 @@ def list_invitations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations-for-authenticated-user GET /user/repository_invitations @@ -23506,7 +23572,9 @@ async def async_list_invitations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations-for-authenticated-user GET /user/repository_invitations @@ -23680,7 +23748,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-user GET /users/{username}/repos @@ -23724,7 +23792,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-user GET /users/{username}/repos diff --git a/githubkit/versions/ghec_v2022_11_28/rest/scim.py b/githubkit/versions/ghec_v2022_11_28/rest/scim.py index 9d4286f64..98eb49115 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/scim.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/scim.py @@ -27,8 +27,8 @@ from ..models import ScimUser, ScimUserList from ..types import ( - ScimUserListType, - ScimUserType, + ScimUserListTypeForResponse, + ScimUserTypeForResponse, ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType, ScimV2OrganizationsOrgUsersPostBodyPropNameType, ScimV2OrganizationsOrgUsersPostBodyType, @@ -64,7 +64,7 @@ def list_provisioned_identities( filter_: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimUserList, ScimUserListType]: + ) -> Response[ScimUserList, ScimUserListTypeForResponse]: """scim/list-provisioned-identities GET /scim/v2/organizations/{org}/Users @@ -114,7 +114,7 @@ async def async_list_provisioned_identities( filter_: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimUserList, ScimUserListType]: + ) -> Response[ScimUserList, ScimUserListTypeForResponse]: """scim/list-provisioned-identities GET /scim/v2/organizations/{org}/Users @@ -163,7 +163,7 @@ def provision_and_invite_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersPostBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload def provision_and_invite_user( @@ -181,7 +181,7 @@ def provision_and_invite_user( external_id: Missing[str] = UNSET, groups: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... def provision_and_invite_user( self, @@ -191,7 +191,7 @@ def provision_and_invite_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersPostBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/provision-and-invite-user POST /scim/v2/organizations/{org}/Users @@ -240,7 +240,7 @@ async def async_provision_and_invite_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersPostBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload async def async_provision_and_invite_user( @@ -258,7 +258,7 @@ async def async_provision_and_invite_user( external_id: Missing[str] = UNSET, groups: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... async def async_provision_and_invite_user( self, @@ -268,7 +268,7 @@ async def async_provision_and_invite_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersPostBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/provision-and-invite-user POST /scim/v2/organizations/{org}/Users @@ -316,7 +316,7 @@ def get_provisioning_information_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/get-provisioning-information-for-user GET /scim/v2/organizations/{org}/Users/{scim_user_id} @@ -351,7 +351,7 @@ async def async_get_provisioning_information_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/get-provisioning-information-for-user GET /scim/v2/organizations/{org}/Users/{scim_user_id} @@ -388,7 +388,7 @@ def set_information_for_provisioned_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersScimUserIdPutBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload def set_information_for_provisioned_user( @@ -407,7 +407,7 @@ def set_information_for_provisioned_user( user_name: str, name: ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType, emails: list[ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType], - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... def set_information_for_provisioned_user( self, @@ -418,7 +418,7 @@ def set_information_for_provisioned_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersScimUserIdPutBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/set-information-for-provisioned-user PUT /scim/v2/organizations/{org}/Users/{scim_user_id} @@ -476,7 +476,7 @@ async def async_set_information_for_provisioned_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersScimUserIdPutBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload async def async_set_information_for_provisioned_user( @@ -495,7 +495,7 @@ async def async_set_information_for_provisioned_user( user_name: str, name: ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType, emails: list[ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType], - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... async def async_set_information_for_provisioned_user( self, @@ -506,7 +506,7 @@ async def async_set_information_for_provisioned_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersScimUserIdPutBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/set-information-for-provisioned-user PUT /scim/v2/organizations/{org}/Users/{scim_user_id} @@ -632,7 +632,7 @@ def update_attribute_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload def update_attribute_for_user( @@ -647,7 +647,7 @@ def update_attribute_for_user( operations: list[ ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType ], - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... def update_attribute_for_user( self, @@ -658,7 +658,7 @@ def update_attribute_for_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/update-attribute-for-user PATCH /scim/v2/organizations/{org}/Users/{scim_user_id} @@ -730,7 +730,7 @@ async def async_update_attribute_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType, - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... @overload async def async_update_attribute_for_user( @@ -745,7 +745,7 @@ async def async_update_attribute_for_user( operations: list[ ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType ], - ) -> Response[ScimUser, ScimUserType]: ... + ) -> Response[ScimUser, ScimUserTypeForResponse]: ... async def async_update_attribute_for_user( self, @@ -756,7 +756,7 @@ async def async_update_attribute_for_user( stream: bool = False, data: Missing[ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ScimUser, ScimUserType]: + ) -> Response[ScimUser, ScimUserTypeForResponse]: """scim/update-attribute-for-user PATCH /scim/v2/organizations/{org}/Users/{scim_user_id} diff --git a/githubkit/versions/ghec_v2022_11_28/rest/search.py b/githubkit/versions/ghec_v2022_11_28/rest/search.py index ce97824d4..fea1f4627 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/search.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/search.py @@ -34,13 +34,13 @@ SearchUsersGetResponse200, ) from ..types import ( - SearchCodeGetResponse200Type, - SearchCommitsGetResponse200Type, - SearchIssuesGetResponse200Type, - SearchLabelsGetResponse200Type, - SearchRepositoriesGetResponse200Type, - SearchTopicsGetResponse200Type, - SearchUsersGetResponse200Type, + SearchCodeGetResponse200TypeForResponse, + SearchCommitsGetResponse200TypeForResponse, + SearchIssuesGetResponse200TypeForResponse, + SearchLabelsGetResponse200TypeForResponse, + SearchRepositoriesGetResponse200TypeForResponse, + SearchTopicsGetResponse200TypeForResponse, + SearchUsersGetResponse200TypeForResponse, ) @@ -69,7 +69,7 @@ def code( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200Type]: + ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200TypeForResponse]: """search/code GET /search/code @@ -141,7 +141,7 @@ async def async_code( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200Type]: + ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200TypeForResponse]: """search/code GET /search/code @@ -213,7 +213,9 @@ def commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCommitsGetResponse200, SearchCommitsGetResponse200Type]: + ) -> Response[ + SearchCommitsGetResponse200, SearchCommitsGetResponse200TypeForResponse + ]: """search/commits GET /search/commits @@ -263,7 +265,9 @@ async def async_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCommitsGetResponse200, SearchCommitsGetResponse200Type]: + ) -> Response[ + SearchCommitsGetResponse200, SearchCommitsGetResponse200TypeForResponse + ]: """search/commits GET /search/commits @@ -328,7 +332,9 @@ def issues_and_pull_requests( advanced_search: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchIssuesGetResponse200, SearchIssuesGetResponse200Type]: + ) -> Response[ + SearchIssuesGetResponse200, SearchIssuesGetResponse200TypeForResponse + ]: """search/issues-and-pull-requests GET /search/issues @@ -409,7 +415,9 @@ async def async_issues_and_pull_requests( advanced_search: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchIssuesGetResponse200, SearchIssuesGetResponse200Type]: + ) -> Response[ + SearchIssuesGetResponse200, SearchIssuesGetResponse200TypeForResponse + ]: """search/issues-and-pull-requests GET /search/issues @@ -476,7 +484,9 @@ def labels( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchLabelsGetResponse200, SearchLabelsGetResponse200Type]: + ) -> Response[ + SearchLabelsGetResponse200, SearchLabelsGetResponse200TypeForResponse + ]: """search/labels GET /search/labels @@ -534,7 +544,9 @@ async def async_labels( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchLabelsGetResponse200, SearchLabelsGetResponse200Type]: + ) -> Response[ + SearchLabelsGetResponse200, SearchLabelsGetResponse200TypeForResponse + ]: """search/labels GET /search/labels @@ -594,7 +606,8 @@ def repos( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SearchRepositoriesGetResponse200, SearchRepositoriesGetResponse200Type + SearchRepositoriesGetResponse200, + SearchRepositoriesGetResponse200TypeForResponse, ]: """search/repos @@ -657,7 +670,8 @@ async def async_repos( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SearchRepositoriesGetResponse200, SearchRepositoriesGetResponse200Type + SearchRepositoriesGetResponse200, + SearchRepositoriesGetResponse200TypeForResponse, ]: """search/repos @@ -715,7 +729,9 @@ def topics( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchTopicsGetResponse200, SearchTopicsGetResponse200Type]: + ) -> Response[ + SearchTopicsGetResponse200, SearchTopicsGetResponse200TypeForResponse + ]: r"""search/topics GET /search/topics @@ -762,7 +778,9 @@ async def async_topics( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchTopicsGetResponse200, SearchTopicsGetResponse200Type]: + ) -> Response[ + SearchTopicsGetResponse200, SearchTopicsGetResponse200TypeForResponse + ]: r"""search/topics GET /search/topics @@ -811,7 +829,7 @@ def users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200Type]: + ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200TypeForResponse]: """search/users GET /search/users @@ -872,7 +890,7 @@ async def async_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200Type]: + ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200TypeForResponse]: """search/users GET /search/users diff --git a/githubkit/versions/ghec_v2022_11_28/rest/secret_scanning.py b/githubkit/versions/ghec_v2022_11_28/rest/secret_scanning.py index 27ea8d256..f7ed52ec5 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/secret_scanning.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/secret_scanning.py @@ -45,25 +45,25 @@ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, - OrganizationSecretScanningAlertType, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, + OrganizationSecretScanningAlertTypeForResponse, OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, - SecretScanningAlertType, - SecretScanningBypassRequestType, - SecretScanningDismissalRequestType, - SecretScanningLocationType, - SecretScanningPatternConfigurationType, - SecretScanningPushProtectionBypassType, - SecretScanningScanHistoryType, + SecretScanningAlertTypeForResponse, + SecretScanningBypassRequestTypeForResponse, + SecretScanningDismissalRequestTypeForResponse, + SecretScanningLocationTypeForResponse, + SecretScanningPatternConfigurationTypeForResponse, + SecretScanningPushProtectionBypassTypeForResponse, + SecretScanningScanHistoryTypeForResponse, ) @@ -107,7 +107,8 @@ def list_enterprise_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-enterprise-bypass-requests @@ -175,7 +176,8 @@ async def async_list_enterprise_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-enterprise-bypass-requests @@ -237,7 +239,8 @@ def list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-enterprise @@ -306,7 +309,8 @@ async def async_list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-enterprise @@ -363,7 +367,8 @@ def list_enterprise_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-enterprise-pattern-configs @@ -401,7 +406,8 @@ async def async_list_enterprise_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-enterprise-pattern-configs @@ -442,7 +448,7 @@ def update_enterprise_pattern_configs( data: EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -466,7 +472,7 @@ def update_enterprise_pattern_configs( ] = UNSET, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... def update_enterprise_pattern_configs( @@ -481,7 +487,7 @@ def update_enterprise_pattern_configs( **kwargs, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-enterprise-pattern-configs @@ -542,7 +548,7 @@ async def async_update_enterprise_pattern_configs( data: EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -566,7 +572,7 @@ async def async_update_enterprise_pattern_configs( ] = UNSET, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... async def async_update_enterprise_pattern_configs( @@ -581,7 +587,7 @@ async def async_update_enterprise_pattern_configs( **kwargs, ) -> Response[ EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200, - EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-enterprise-pattern-configs @@ -657,7 +663,8 @@ def list_org_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-org-bypass-requests @@ -725,7 +732,8 @@ async def async_list_org_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-org-bypass-requests @@ -786,7 +794,8 @@ def list_org_dismissal_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningDismissalRequest], list[SecretScanningDismissalRequestType] + list[SecretScanningDismissalRequest], + list[SecretScanningDismissalRequestTypeForResponse], ]: """secret-scanning/list-org-dismissal-requests @@ -848,7 +857,8 @@ async def async_list_org_dismissal_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningDismissalRequest], list[SecretScanningDismissalRequestType] + list[SecretScanningDismissalRequest], + list[SecretScanningDismissalRequestTypeForResponse], ]: """secret-scanning/list-org-dismissal-requests @@ -912,7 +922,8 @@ def list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-org @@ -986,7 +997,8 @@ async def async_list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-org @@ -1047,7 +1059,8 @@ def list_org_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-org-pattern-configs @@ -1085,7 +1098,8 @@ async def async_list_org_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-org-pattern-configs @@ -1126,7 +1140,7 @@ def update_org_pattern_configs( data: OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -1150,7 +1164,7 @@ def update_org_pattern_configs( ] = UNSET, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... def update_org_pattern_configs( @@ -1163,7 +1177,7 @@ def update_org_pattern_configs( **kwargs, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-org-pattern-configs @@ -1224,7 +1238,7 @@ async def async_update_org_pattern_configs( data: OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -1248,7 +1262,7 @@ async def async_update_org_pattern_configs( ] = UNSET, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... async def async_update_org_pattern_configs( @@ -1261,7 +1275,7 @@ async def async_update_org_pattern_configs( **kwargs, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-org-pattern-configs @@ -1337,7 +1351,8 @@ def list_repo_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-repo-bypass-requests @@ -1405,7 +1420,8 @@ async def async_list_repo_bypass_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningBypassRequest], list[SecretScanningBypassRequestType] + list[SecretScanningBypassRequest], + list[SecretScanningBypassRequestTypeForResponse], ]: """secret-scanning/list-repo-bypass-requests @@ -1456,7 +1472,9 @@ def get_bypass_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningBypassRequest, SecretScanningBypassRequestType]: + ) -> Response[ + SecretScanningBypassRequest, SecretScanningBypassRequestTypeForResponse + ]: """secret-scanning/get-bypass-request GET /repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number} @@ -1496,7 +1514,9 @@ async def async_get_bypass_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningBypassRequest, SecretScanningBypassRequestType]: + ) -> Response[ + SecretScanningBypassRequest, SecretScanningBypassRequestTypeForResponse + ]: """secret-scanning/get-bypass-request GET /repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number} @@ -1540,7 +1560,7 @@ def review_bypass_request( data: ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: ... @overload @@ -1557,7 +1577,7 @@ def review_bypass_request( message: str, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: ... def review_bypass_request( @@ -1574,7 +1594,7 @@ def review_bypass_request( **kwargs, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: """secret-scanning/review-bypass-request @@ -1638,7 +1658,7 @@ async def async_review_bypass_request( data: ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: ... @overload @@ -1655,7 +1675,7 @@ async def async_review_bypass_request( message: str, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: ... async def async_review_bypass_request( @@ -1672,7 +1692,7 @@ async def async_review_bypass_request( **kwargs, ) -> Response[ ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200, - ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, ]: """secret-scanning/review-bypass-request @@ -1822,7 +1842,8 @@ def list_repo_dismissal_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningDismissalRequest], list[SecretScanningDismissalRequestType] + list[SecretScanningDismissalRequest], + list[SecretScanningDismissalRequestTypeForResponse], ]: """secret-scanning/list-repo-dismissal-requests @@ -1883,7 +1904,8 @@ async def async_list_repo_dismissal_requests( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[SecretScanningDismissalRequest], list[SecretScanningDismissalRequestType] + list[SecretScanningDismissalRequest], + list[SecretScanningDismissalRequestTypeForResponse], ]: """secret-scanning/list-repo-dismissal-requests @@ -1934,7 +1956,9 @@ def get_dismissal_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningDismissalRequest, SecretScanningDismissalRequestType]: + ) -> Response[ + SecretScanningDismissalRequest, SecretScanningDismissalRequestTypeForResponse + ]: """secret-scanning/get-dismissal-request GET /repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number} @@ -1975,7 +1999,9 @@ async def async_get_dismissal_request( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningDismissalRequest, SecretScanningDismissalRequestType]: + ) -> Response[ + SecretScanningDismissalRequest, SecretScanningDismissalRequestTypeForResponse + ]: """secret-scanning/get-dismissal-request GET /repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number} @@ -2020,7 +2046,7 @@ def review_dismissal_request( data: ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: ... @overload @@ -2037,7 +2063,7 @@ def review_dismissal_request( message: str, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: ... def review_dismissal_request( @@ -2054,7 +2080,7 @@ def review_dismissal_request( **kwargs, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: """secret-scanning/review-dismissal-request @@ -2118,7 +2144,7 @@ async def async_review_dismissal_request( data: ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: ... @overload @@ -2135,7 +2161,7 @@ async def async_review_dismissal_request( message: str, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: ... async def async_review_dismissal_request( @@ -2152,7 +2178,7 @@ async def async_review_dismissal_request( **kwargs, ) -> Response[ ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200, - ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, ]: """secret-scanning/review-dismissal-request @@ -2224,7 +2250,7 @@ def list_alerts_for_repo( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertType]]: + ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertTypeForResponse]]: """secret-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/secret-scanning/alerts @@ -2295,7 +2321,7 @@ async def async_list_alerts_for_repo( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertType]]: + ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertTypeForResponse]]: """secret-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/secret-scanning/alerts @@ -2355,7 +2381,7 @@ def get_alert( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/get-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -2403,7 +2429,7 @@ async def async_get_alert( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/get-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -2452,7 +2478,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... @overload def update_alert( @@ -2471,7 +2497,7 @@ def update_alert( ] ] = UNSET, resolution_comment: Missing[Union[str, None]] = UNSET, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... def update_alert( self, @@ -2485,7 +2511,7 @@ def update_alert( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type ] = UNSET, **kwargs, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/update-alert PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -2542,7 +2568,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -2561,7 +2587,7 @@ async def async_update_alert( ] ] = UNSET, resolution_comment: Missing[Union[str, None]] = UNSET, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... async def async_update_alert( self, @@ -2575,7 +2601,7 @@ async def async_update_alert( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type ] = UNSET, **kwargs, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/update-alert PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -2632,7 +2658,9 @@ def list_locations_for_alert( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningLocation], list[SecretScanningLocationType]]: + ) -> Response[ + list[SecretScanningLocation], list[SecretScanningLocationTypeForResponse] + ]: """secret-scanning/list-locations-for-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations @@ -2682,7 +2710,9 @@ async def async_list_locations_for_alert( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningLocation], list[SecretScanningLocationType]]: + ) -> Response[ + list[SecretScanningLocation], list[SecretScanningLocationTypeForResponse] + ]: """secret-scanning/list-locations-for-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations @@ -2732,7 +2762,8 @@ def create_push_protection_bypass( stream: bool = False, data: ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... @overload @@ -2747,7 +2778,8 @@ def create_push_protection_bypass( reason: Literal["false_positive", "used_in_tests", "will_fix_later"], placeholder_id: str, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... def create_push_protection_bypass( @@ -2762,7 +2794,8 @@ def create_push_protection_bypass( ] = UNSET, **kwargs, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: """secret-scanning/create-push-protection-bypass @@ -2820,7 +2853,8 @@ async def async_create_push_protection_bypass( stream: bool = False, data: ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... @overload @@ -2835,7 +2869,8 @@ async def async_create_push_protection_bypass( reason: Literal["false_positive", "used_in_tests", "will_fix_later"], placeholder_id: str, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... async def async_create_push_protection_bypass( @@ -2850,7 +2885,8 @@ async def async_create_push_protection_bypass( ] = UNSET, **kwargs, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: """secret-scanning/create-push-protection-bypass @@ -2905,7 +2941,7 @@ def get_scan_history( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryType]: + ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryTypeForResponse]: """secret-scanning/get-scan-history GET /repos/{owner}/{repo}/secret-scanning/scan-history @@ -2947,7 +2983,7 @@ async def async_get_scan_history( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryType]: + ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryTypeForResponse]: """secret-scanning/get-scan-history GET /repos/{owner}/{repo}/secret-scanning/scan-history diff --git a/githubkit/versions/ghec_v2022_11_28/rest/security_advisories.py b/githubkit/versions/ghec_v2022_11_28/rest/security_advisories.py index 7fa2357de..fd32e80ce 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/security_advisories.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/security_advisories.py @@ -34,15 +34,15 @@ RepositoryAdvisory, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - FullRepositoryType, - GlobalAdvisoryType, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + FullRepositoryTypeForResponse, + GlobalAdvisoryTypeForResponse, PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType, PrivateVulnerabilityReportCreateType, RepositoryAdvisoryCreatePropCreditsItemsType, RepositoryAdvisoryCreatePropVulnerabilitiesItemsType, RepositoryAdvisoryCreateType, - RepositoryAdvisoryType, + RepositoryAdvisoryTypeForResponse, RepositoryAdvisoryUpdatePropCreditsItemsType, RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType, RepositoryAdvisoryUpdateType, @@ -107,7 +107,7 @@ def list_global_advisories( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryType]]: + ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryTypeForResponse]]: """security-advisories/list-global-advisories GET /advisories @@ -202,7 +202,7 @@ async def async_list_global_advisories( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryType]]: + ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryTypeForResponse]]: """security-advisories/list-global-advisories GET /advisories @@ -260,7 +260,7 @@ def get_global_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GlobalAdvisory, GlobalAdvisoryType]: + ) -> Response[GlobalAdvisory, GlobalAdvisoryTypeForResponse]: """security-advisories/get-global-advisory GET /advisories/{ghsa_id} @@ -293,7 +293,7 @@ async def async_get_global_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GlobalAdvisory, GlobalAdvisoryType]: + ) -> Response[GlobalAdvisory, GlobalAdvisoryTypeForResponse]: """security-advisories/get-global-advisory GET /advisories/{ghsa_id} @@ -332,7 +332,7 @@ def list_org_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-org-repository-advisories GET /orgs/{org}/security-advisories @@ -386,7 +386,7 @@ async def async_list_org_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-org-repository-advisories GET /orgs/{org}/security-advisories @@ -441,7 +441,7 @@ def list_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-repository-advisories GET /repos/{owner}/{repo}/security-advisories @@ -496,7 +496,7 @@ async def async_list_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-repository-advisories GET /repos/{owner}/{repo}/security-advisories @@ -547,7 +547,7 @@ def create_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def create_repository_advisory( @@ -571,7 +571,7 @@ def create_repository_advisory( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def create_repository_advisory( self, @@ -582,7 +582,7 @@ def create_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-repository-advisory POST /repos/{owner}/{repo}/security-advisories @@ -639,7 +639,7 @@ async def async_create_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_create_repository_advisory( @@ -663,7 +663,7 @@ async def async_create_repository_advisory( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_create_repository_advisory( self, @@ -674,7 +674,7 @@ async def async_create_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-repository-advisory POST /repos/{owner}/{repo}/security-advisories @@ -731,7 +731,7 @@ def create_private_vulnerability_report( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PrivateVulnerabilityReportCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def create_private_vulnerability_report( @@ -755,7 +755,7 @@ def create_private_vulnerability_report( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def create_private_vulnerability_report( self, @@ -766,7 +766,7 @@ def create_private_vulnerability_report( stream: bool = False, data: Missing[PrivateVulnerabilityReportCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-private-vulnerability-report POST /repos/{owner}/{repo}/security-advisories/reports @@ -820,7 +820,7 @@ async def async_create_private_vulnerability_report( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PrivateVulnerabilityReportCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_create_private_vulnerability_report( @@ -844,7 +844,7 @@ async def async_create_private_vulnerability_report( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_create_private_vulnerability_report( self, @@ -855,7 +855,7 @@ async def async_create_private_vulnerability_report( stream: bool = False, data: Missing[PrivateVulnerabilityReportCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-private-vulnerability-report POST /repos/{owner}/{repo}/security-advisories/reports @@ -908,7 +908,7 @@ def get_repository_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/get-repository-advisory GET /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -951,7 +951,7 @@ async def async_get_repository_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/get-repository-advisory GET /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -996,7 +996,7 @@ def update_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryUpdateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def update_repository_advisory( @@ -1025,7 +1025,7 @@ def update_repository_advisory( state: Missing[Literal["published", "closed", "draft"]] = UNSET, collaborating_users: Missing[Union[list[str], None]] = UNSET, collaborating_teams: Missing[Union[list[str], None]] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def update_repository_advisory( self, @@ -1037,7 +1037,7 @@ def update_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryUpdateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/update-repository-advisory PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -1096,7 +1096,7 @@ async def async_update_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryUpdateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_update_repository_advisory( @@ -1125,7 +1125,7 @@ async def async_update_repository_advisory( state: Missing[Literal["published", "closed", "draft"]] = UNSET, collaborating_users: Missing[Union[list[str], None]] = UNSET, collaborating_teams: Missing[Union[list[str], None]] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_update_repository_advisory( self, @@ -1137,7 +1137,7 @@ async def async_update_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryUpdateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/update-repository-advisory PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -1196,7 +1196,7 @@ def create_repository_advisory_cve_request( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """security-advisories/create-repository-advisory-cve-request @@ -1247,7 +1247,7 @@ async def async_create_repository_advisory_cve_request( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """security-advisories/create-repository-advisory-cve-request @@ -1296,7 +1296,7 @@ def create_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """security-advisories/create-fork POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks @@ -1337,7 +1337,7 @@ async def async_create_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """security-advisories/create-fork POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks diff --git a/githubkit/versions/ghec_v2022_11_28/rest/server_statistics.py b/githubkit/versions/ghec_v2022_11_28/rest/server_statistics.py index be82e10d9..793b4425c 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/server_statistics.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/server_statistics.py @@ -23,7 +23,7 @@ from githubkit.utils import UNSET from ..models import ServerStatisticsItems - from ..types import ServerStatisticsItemsType + from ..types import ServerStatisticsItemsTypeForResponse class ServerStatisticsClient: @@ -49,7 +49,9 @@ def get_server_statistics( date_end: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ServerStatisticsItems], list[ServerStatisticsItemsType]]: + ) -> Response[ + list[ServerStatisticsItems], list[ServerStatisticsItemsTypeForResponse] + ]: """enterprise-admin/get-server-statistics GET /enterprise-installation/{enterprise_or_org}/server-statistics @@ -93,7 +95,9 @@ async def async_get_server_statistics( date_end: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ServerStatisticsItems], list[ServerStatisticsItemsType]]: + ) -> Response[ + list[ServerStatisticsItems], list[ServerStatisticsItemsTypeForResponse] + ]: """enterprise-admin/get-server-statistics GET /enterprise-installation/{enterprise_or_org}/server-statistics diff --git a/githubkit/versions/ghec_v2022_11_28/rest/teams.py b/githubkit/versions/ghec_v2022_11_28/rest/teams.py index db134f5fe..fcb149598 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/teams.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/teams.py @@ -43,11 +43,11 @@ TeamRepository, ) from ..types import ( - ExternalGroupsType, - ExternalGroupType, - GroupMappingType, - MinimalRepositoryType, - OrganizationInvitationType, + ExternalGroupsTypeForResponse, + ExternalGroupTypeForResponse, + GroupMappingTypeForResponse, + MinimalRepositoryTypeForResponse, + OrganizationInvitationTypeForResponse, OrgsOrgTeamsPostBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, @@ -60,13 +60,13 @@ OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType, OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType, OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType, - SimpleUserType, - TeamDiscussionCommentType, - TeamDiscussionType, - TeamFullType, - TeamMembershipType, - TeamProjectType, - TeamRepositoryType, + SimpleUserTypeForResponse, + TeamDiscussionCommentTypeForResponse, + TeamDiscussionTypeForResponse, + TeamFullTypeForResponse, + TeamMembershipTypeForResponse, + TeamProjectTypeForResponse, + TeamRepositoryTypeForResponse, TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType, @@ -77,7 +77,7 @@ TeamsTeamIdReposOwnerRepoPutBodyType, TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType, TeamsTeamIdTeamSyncGroupMappingsPatchBodyType, - TeamType, + TeamTypeForResponse, ) @@ -105,7 +105,7 @@ def external_idp_group_info_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroup, ExternalGroupType]: + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: """teams/external-idp-group-info-for-org GET /orgs/{org}/external-group/{group_id} @@ -146,7 +146,7 @@ async def async_external_idp_group_info_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroup, ExternalGroupType]: + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: """teams/external-idp-group-info-for-org GET /orgs/{org}/external-group/{group_id} @@ -187,7 +187,7 @@ def list_external_idp_groups_for_org( display_name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroups, ExternalGroupsType]: + ) -> Response[ExternalGroups, ExternalGroupsTypeForResponse]: """teams/list-external-idp-groups-for-org GET /orgs/{org}/external-groups @@ -229,7 +229,7 @@ async def async_list_external_idp_groups_for_org( display_name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroups, ExternalGroupsType]: + ) -> Response[ExternalGroups, ExternalGroupsTypeForResponse]: """teams/list-external-idp-groups-for-org GET /orgs/{org}/external-groups @@ -271,7 +271,7 @@ def list_idp_groups_for_org( q: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/list-idp-groups-for-org GET /orgs/{org}/team-sync/groups @@ -311,7 +311,7 @@ async def async_list_idp_groups_for_org( q: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/list-idp-groups-for-org GET /orgs/{org}/team-sync/groups @@ -350,7 +350,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list GET /orgs/{org}/teams @@ -391,7 +391,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list GET /orgs/{org}/teams @@ -432,7 +432,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsPostBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def create( @@ -452,7 +452,7 @@ def create( ] = UNSET, permission: Missing[Literal["pull", "push"]] = UNSET, parent_team_id: Missing[int] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def create( self, @@ -462,7 +462,7 @@ def create( stream: bool = False, data: Missing[OrgsOrgTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/create POST /orgs/{org}/teams @@ -510,7 +510,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsPostBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_create( @@ -530,7 +530,7 @@ async def async_create( ] = UNSET, permission: Missing[Literal["pull", "push"]] = UNSET, parent_team_id: Missing[int] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_create( self, @@ -540,7 +540,7 @@ async def async_create( stream: bool = False, data: Missing[OrgsOrgTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/create POST /orgs/{org}/teams @@ -587,7 +587,7 @@ def get_by_name( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/get-by-name GET /orgs/{org}/teams/{team_slug} @@ -624,7 +624,7 @@ async def async_get_by_name( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/get-by-name GET /orgs/{org}/teams/{team_slug} @@ -729,7 +729,7 @@ def update_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def update_in_org( @@ -748,7 +748,7 @@ def update_in_org( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def update_in_org( self, @@ -759,7 +759,7 @@ def update_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/update-in-org PATCH /orgs/{org}/teams/{team_slug} @@ -815,7 +815,7 @@ async def async_update_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_update_in_org( @@ -834,7 +834,7 @@ async def async_update_in_org( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_update_in_org( self, @@ -845,7 +845,7 @@ async def async_update_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/update-in-org PATCH /orgs/{org}/teams/{team_slug} @@ -903,7 +903,7 @@ def list_discussions_in_org( pinned: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """teams/list-discussions-in-org GET /orgs/{org}/teams/{team_slug}/discussions @@ -951,7 +951,7 @@ async def async_list_discussions_in_org( pinned: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """teams/list-discussions-in-org GET /orgs/{org}/teams/{team_slug}/discussions @@ -997,7 +997,7 @@ def create_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def create_discussion_in_org( @@ -1011,7 +1011,7 @@ def create_discussion_in_org( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def create_discussion_in_org( self, @@ -1022,7 +1022,7 @@ def create_discussion_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/create-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions @@ -1072,7 +1072,7 @@ async def async_create_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_create_discussion_in_org( @@ -1086,7 +1086,7 @@ async def async_create_discussion_in_org( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_create_discussion_in_org( self, @@ -1097,7 +1097,7 @@ async def async_create_discussion_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/create-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions @@ -1146,7 +1146,7 @@ def get_discussion_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/get-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1183,7 +1183,7 @@ async def async_get_discussion_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/get-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1292,7 +1292,7 @@ def update_discussion_in_org( data: Missing[ OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def update_discussion_in_org( @@ -1306,7 +1306,7 @@ def update_discussion_in_org( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def update_discussion_in_org( self, @@ -1320,7 +1320,7 @@ def update_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/update-discussion-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1376,7 +1376,7 @@ async def async_update_discussion_in_org( data: Missing[ OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_update_discussion_in_org( @@ -1390,7 +1390,7 @@ async def async_update_discussion_in_org( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_update_discussion_in_org( self, @@ -1404,7 +1404,7 @@ async def async_update_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/update-discussion-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1459,7 +1459,9 @@ def list_discussion_comments_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """teams/list-discussion-comments-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1506,7 +1508,9 @@ async def async_list_discussion_comments_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """teams/list-discussion-comments-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1552,7 +1556,7 @@ def create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def create_discussion_comment_in_org( @@ -1565,7 +1569,7 @@ def create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def create_discussion_comment_in_org( self, @@ -1579,7 +1583,7 @@ def create_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/create-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1635,7 +1639,7 @@ async def async_create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_create_discussion_comment_in_org( @@ -1648,7 +1652,7 @@ async def async_create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_create_discussion_comment_in_org( self, @@ -1662,7 +1666,7 @@ async def async_create_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/create-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1717,7 +1721,7 @@ def get_discussion_comment_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/get-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1755,7 +1759,7 @@ async def async_get_discussion_comment_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/get-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1865,7 +1869,7 @@ def update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def update_discussion_comment_in_org( @@ -1879,7 +1883,7 @@ def update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def update_discussion_comment_in_org( self, @@ -1894,7 +1898,7 @@ def update_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/update-discussion-comment-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1950,7 +1954,7 @@ async def async_update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_update_discussion_comment_in_org( @@ -1964,7 +1968,7 @@ async def async_update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_update_discussion_comment_in_org( self, @@ -1979,7 +1983,7 @@ async def async_update_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/update-discussion-comment-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -2031,7 +2035,7 @@ def list_linked_external_idp_groups_to_team_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroups, ExternalGroupsType]: + ) -> Response[ExternalGroups, ExternalGroupsTypeForResponse]: """teams/list-linked-external-idp-groups-to-team-for-org GET /orgs/{org}/teams/{team_slug}/external-groups @@ -2064,7 +2068,7 @@ async def async_list_linked_external_idp_groups_to_team_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ExternalGroups, ExternalGroupsType]: + ) -> Response[ExternalGroups, ExternalGroupsTypeForResponse]: """teams/list-linked-external-idp-groups-to-team-for-org GET /orgs/{org}/teams/{team_slug}/external-groups @@ -2159,7 +2163,7 @@ def link_external_idp_group_to_team_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType, - ) -> Response[ExternalGroup, ExternalGroupType]: ... + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: ... @overload def link_external_idp_group_to_team_for_org( @@ -2171,7 +2175,7 @@ def link_external_idp_group_to_team_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, group_id: int, - ) -> Response[ExternalGroup, ExternalGroupType]: ... + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: ... def link_external_idp_group_to_team_for_org( self, @@ -2182,7 +2186,7 @@ def link_external_idp_group_to_team_for_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType] = UNSET, **kwargs, - ) -> Response[ExternalGroup, ExternalGroupType]: + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: """teams/link-external-idp-group-to-team-for-org PATCH /orgs/{org}/teams/{team_slug}/external-groups @@ -2229,7 +2233,7 @@ async def async_link_external_idp_group_to_team_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType, - ) -> Response[ExternalGroup, ExternalGroupType]: ... + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: ... @overload async def async_link_external_idp_group_to_team_for_org( @@ -2241,7 +2245,7 @@ async def async_link_external_idp_group_to_team_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, group_id: int, - ) -> Response[ExternalGroup, ExternalGroupType]: ... + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: ... async def async_link_external_idp_group_to_team_for_org( self, @@ -2252,7 +2256,7 @@ async def async_link_external_idp_group_to_team_for_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType] = UNSET, **kwargs, - ) -> Response[ExternalGroup, ExternalGroupType]: + ) -> Response[ExternalGroup, ExternalGroupTypeForResponse]: """teams/link-external-idp-group-to-team-for-org PATCH /orgs/{org}/teams/{team_slug}/external-groups @@ -2299,7 +2303,9 @@ def list_pending_invitations_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """teams/list-pending-invitations-in-org GET /orgs/{org}/teams/{team_slug}/invitations @@ -2341,7 +2347,9 @@ async def async_list_pending_invitations_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """teams/list-pending-invitations-in-org GET /orgs/{org}/teams/{team_slug}/invitations @@ -2384,7 +2392,7 @@ def list_members_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """teams/list-members-in-org GET /orgs/{org}/teams/{team_slug}/members @@ -2427,7 +2435,7 @@ async def async_list_members_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """teams/list-members-in-org GET /orgs/{org}/teams/{team_slug}/members @@ -2468,7 +2476,7 @@ def get_membership_for_user_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/get-membership-for-user-in-org GET /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2511,7 +2519,7 @@ async def async_get_membership_for_user_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/get-membership-for-user-in-org GET /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2556,7 +2564,7 @@ def add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload def add_or_update_membership_for_user_in_org( @@ -2569,7 +2577,7 @@ def add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... def add_or_update_membership_for_user_in_org( self, @@ -2581,7 +2589,7 @@ def add_or_update_membership_for_user_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/add-or-update-membership-for-user-in-org PUT /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2643,7 +2651,7 @@ async def async_add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload async def async_add_or_update_membership_for_user_in_org( @@ -2656,7 +2664,7 @@ async def async_add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... async def async_add_or_update_membership_for_user_in_org( self, @@ -2668,7 +2676,7 @@ async def async_add_or_update_membership_for_user_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/add-or-update-membership-for-user-in-org PUT /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2805,7 +2813,7 @@ def list_projects_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-in-org GET /orgs/{org}/teams/{team_slug}/projects @@ -2846,7 +2854,7 @@ async def async_list_projects_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-in-org GET /orgs/{org}/teams/{team_slug}/projects @@ -2886,7 +2894,7 @@ def check_permissions_for_project_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-in-org GET /orgs/{org}/teams/{team_slug}/projects/{project_id} @@ -2921,7 +2929,7 @@ async def async_check_permissions_for_project_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-in-org GET /orgs/{org}/teams/{team_slug}/projects/{project_id} @@ -3187,7 +3195,7 @@ def list_repos_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """teams/list-repos-in-org GET /orgs/{org}/teams/{team_slug}/repos @@ -3229,7 +3237,7 @@ async def async_list_repos_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """teams/list-repos-in-org GET /orgs/{org}/teams/{team_slug}/repos @@ -3271,7 +3279,7 @@ def check_permissions_for_repo_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """teams/check-permissions-for-repo-in-org GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} @@ -3314,7 +3322,7 @@ async def async_check_permissions_for_repo_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """teams/check-permissions-for-repo-in-org GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} @@ -3573,7 +3581,7 @@ def list_idp_groups_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/list-idp-groups-in-org GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings @@ -3609,7 +3617,7 @@ async def async_list_idp_groups_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/list-idp-groups-in-org GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings @@ -3647,7 +3655,7 @@ def create_or_update_idp_group_connections_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... @overload def create_or_update_idp_group_connections_in_org( @@ -3661,7 +3669,7 @@ def create_or_update_idp_group_connections_in_org( groups: Missing[ list[OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType] ] = UNSET, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... def create_or_update_idp_group_connections_in_org( self, @@ -3672,7 +3680,7 @@ def create_or_update_idp_group_connections_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType] = UNSET, **kwargs, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/create-or-update-idp-group-connections-in-org PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings @@ -3725,7 +3733,7 @@ async def async_create_or_update_idp_group_connections_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... @overload async def async_create_or_update_idp_group_connections_in_org( @@ -3739,7 +3747,7 @@ async def async_create_or_update_idp_group_connections_in_org( groups: Missing[ list[OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType] ] = UNSET, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... async def async_create_or_update_idp_group_connections_in_org( self, @@ -3750,7 +3758,7 @@ async def async_create_or_update_idp_group_connections_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType] = UNSET, **kwargs, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """teams/create-or-update-idp-group-connections-in-org PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings @@ -3803,7 +3811,7 @@ def list_child_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list-child-in-org GET /orgs/{org}/teams/{team_slug}/teams @@ -3845,7 +3853,7 @@ async def async_list_child_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list-child-in-org GET /orgs/{org}/teams/{team_slug}/teams @@ -3884,7 +3892,7 @@ def get_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/get-legacy GET /teams/{team_id} @@ -3918,7 +3926,7 @@ async def async_get_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/get-legacy GET /teams/{team_id} @@ -4030,7 +4038,7 @@ def update_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdPatchBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def update_legacy( @@ -4048,7 +4056,7 @@ def update_legacy( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def update_legacy( self, @@ -4058,7 +4066,7 @@ def update_legacy( stream: bool = False, data: Missing[TeamsTeamIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/update-legacy PATCH /teams/{team_id} @@ -4111,7 +4119,7 @@ async def async_update_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdPatchBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_update_legacy( @@ -4129,7 +4137,7 @@ async def async_update_legacy( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_update_legacy( self, @@ -4139,7 +4147,7 @@ async def async_update_legacy( stream: bool = False, data: Missing[TeamsTeamIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/update-legacy PATCH /teams/{team_id} @@ -4193,7 +4201,7 @@ def list_discussions_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """DEPRECATED teams/list-discussions-legacy GET /teams/{team_id}/discussions @@ -4238,7 +4246,7 @@ async def async_list_discussions_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """DEPRECATED teams/list-discussions-legacy GET /teams/{team_id}/discussions @@ -4282,7 +4290,7 @@ def create_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def create_discussion_legacy( @@ -4295,7 +4303,7 @@ def create_discussion_legacy( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def create_discussion_legacy( self, @@ -4305,7 +4313,7 @@ def create_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/create-discussion-legacy POST /teams/{team_id}/discussions @@ -4354,7 +4362,7 @@ async def async_create_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_create_discussion_legacy( @@ -4367,7 +4375,7 @@ async def async_create_discussion_legacy( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_create_discussion_legacy( self, @@ -4377,7 +4385,7 @@ async def async_create_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/create-discussion-legacy POST /teams/{team_id}/discussions @@ -4425,7 +4433,7 @@ def get_discussion_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/get-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number} @@ -4461,7 +4469,7 @@ async def async_get_discussion_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/get-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number} @@ -4565,7 +4573,7 @@ def update_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def update_discussion_legacy( @@ -4578,7 +4586,7 @@ def update_discussion_legacy( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def update_discussion_legacy( self, @@ -4589,7 +4597,7 @@ def update_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/update-discussion-legacy PATCH /teams/{team_id}/discussions/{discussion_number} @@ -4642,7 +4650,7 @@ async def async_update_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_update_discussion_legacy( @@ -4655,7 +4663,7 @@ async def async_update_discussion_legacy( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_update_discussion_legacy( self, @@ -4666,7 +4674,7 @@ async def async_update_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/update-discussion-legacy PATCH /teams/{team_id}/discussions/{discussion_number} @@ -4720,7 +4728,9 @@ def list_discussion_comments_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """DEPRECATED teams/list-discussion-comments-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments @@ -4766,7 +4776,9 @@ async def async_list_discussion_comments_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """DEPRECATED teams/list-discussion-comments-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments @@ -4811,7 +4823,7 @@ def create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def create_discussion_comment_legacy( @@ -4823,7 +4835,7 @@ def create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def create_discussion_comment_legacy( self, @@ -4836,7 +4848,7 @@ def create_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/create-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments @@ -4891,7 +4903,7 @@ async def async_create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_create_discussion_comment_legacy( @@ -4903,7 +4915,7 @@ async def async_create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_create_discussion_comment_legacy( self, @@ -4916,7 +4928,7 @@ async def async_create_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/create-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments @@ -4970,7 +4982,7 @@ def get_discussion_comment_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/get-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -5007,7 +5019,7 @@ async def async_get_discussion_comment_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/get-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -5114,7 +5126,7 @@ def update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def update_discussion_comment_legacy( @@ -5127,7 +5139,7 @@ def update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def update_discussion_comment_legacy( self, @@ -5141,7 +5153,7 @@ def update_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/update-discussion-comment-legacy PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -5196,7 +5208,7 @@ async def async_update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_update_discussion_comment_legacy( @@ -5209,7 +5221,7 @@ async def async_update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_update_discussion_comment_legacy( self, @@ -5223,7 +5235,7 @@ async def async_update_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/update-discussion-comment-legacy PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -5276,7 +5288,9 @@ def list_pending_invitations_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """DEPRECATED teams/list-pending-invitations-legacy GET /teams/{team_id}/invitations @@ -5317,7 +5331,9 @@ async def async_list_pending_invitations_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """DEPRECATED teams/list-pending-invitations-legacy GET /teams/{team_id}/invitations @@ -5359,7 +5375,7 @@ def list_members_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED teams/list-members-legacy GET /teams/{team_id}/members @@ -5405,7 +5421,7 @@ async def async_list_members_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED teams/list-members-legacy GET /teams/{team_id}/members @@ -5679,7 +5695,7 @@ def get_membership_for_user_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/get-membership-for-user-legacy GET /teams/{team_id}/memberships/{username} @@ -5723,7 +5739,7 @@ async def async_get_membership_for_user_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/get-membership-for-user-legacy GET /teams/{team_id}/memberships/{username} @@ -5769,7 +5785,7 @@ def add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload def add_or_update_membership_for_user_legacy( @@ -5781,7 +5797,7 @@ def add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... def add_or_update_membership_for_user_legacy( self, @@ -5792,7 +5808,7 @@ def add_or_update_membership_for_user_legacy( stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/add-or-update-membership-for-user-legacy PUT /teams/{team_id}/memberships/{username} @@ -5854,7 +5870,7 @@ async def async_add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload async def async_add_or_update_membership_for_user_legacy( @@ -5866,7 +5882,7 @@ async def async_add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... async def async_add_or_update_membership_for_user_legacy( self, @@ -5877,7 +5893,7 @@ async def async_add_or_update_membership_for_user_legacy( stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/add-or-update-membership-for-user-legacy PUT /teams/{team_id}/memberships/{username} @@ -6012,7 +6028,7 @@ def list_projects_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-legacy GET /teams/{team_id}/projects @@ -6055,7 +6071,7 @@ async def async_list_projects_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-legacy GET /teams/{team_id}/projects @@ -6097,7 +6113,7 @@ def check_permissions_for_project_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-legacy GET /teams/{team_id}/projects/{project_id} @@ -6131,7 +6147,7 @@ async def async_check_permissions_for_project_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-legacy GET /teams/{team_id}/projects/{project_id} @@ -6392,7 +6408,7 @@ def list_repos_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """DEPRECATED teams/list-repos-legacy GET /teams/{team_id}/repos @@ -6434,7 +6450,7 @@ async def async_list_repos_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """DEPRECATED teams/list-repos-legacy GET /teams/{team_id}/repos @@ -6476,7 +6492,7 @@ def check_permissions_for_repo_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """DEPRECATED teams/check-permissions-for-repo-legacy GET /teams/{team_id}/repos/{owner}/{repo} @@ -6515,7 +6531,7 @@ async def async_check_permissions_for_repo_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """DEPRECATED teams/check-permissions-for-repo-legacy GET /teams/{team_id}/repos/{owner}/{repo} @@ -6778,7 +6794,7 @@ def list_idp_groups_for_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """DEPRECATED teams/list-idp-groups-for-legacy GET /teams/{team_id}/team-sync/group-mappings @@ -6817,7 +6833,7 @@ async def async_list_idp_groups_for_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """DEPRECATED teams/list-idp-groups-for-legacy GET /teams/{team_id}/team-sync/group-mappings @@ -6858,7 +6874,7 @@ def create_or_update_idp_group_connections_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdTeamSyncGroupMappingsPatchBodyType, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... @overload def create_or_update_idp_group_connections_legacy( @@ -6870,7 +6886,7 @@ def create_or_update_idp_group_connections_legacy( stream: bool = False, groups: list[TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType], synced_at: Missing[str] = UNSET, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... def create_or_update_idp_group_connections_legacy( self, @@ -6880,7 +6896,7 @@ def create_or_update_idp_group_connections_legacy( stream: bool = False, data: Missing[TeamsTeamIdTeamSyncGroupMappingsPatchBodyType] = UNSET, **kwargs, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """DEPRECATED teams/create-or-update-idp-group-connections-legacy PATCH /teams/{team_id}/team-sync/group-mappings @@ -6936,7 +6952,7 @@ async def async_create_or_update_idp_group_connections_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdTeamSyncGroupMappingsPatchBodyType, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... @overload async def async_create_or_update_idp_group_connections_legacy( @@ -6948,7 +6964,7 @@ async def async_create_or_update_idp_group_connections_legacy( stream: bool = False, groups: list[TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType], synced_at: Missing[str] = UNSET, - ) -> Response[GroupMapping, GroupMappingType]: ... + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: ... async def async_create_or_update_idp_group_connections_legacy( self, @@ -6958,7 +6974,7 @@ async def async_create_or_update_idp_group_connections_legacy( stream: bool = False, data: Missing[TeamsTeamIdTeamSyncGroupMappingsPatchBodyType] = UNSET, **kwargs, - ) -> Response[GroupMapping, GroupMappingType]: + ) -> Response[GroupMapping, GroupMappingTypeForResponse]: """DEPRECATED teams/create-or-update-idp-group-connections-legacy PATCH /teams/{team_id}/team-sync/group-mappings @@ -7014,7 +7030,7 @@ def list_child_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """DEPRECATED teams/list-child-legacy GET /teams/{team_id}/teams @@ -7058,7 +7074,7 @@ async def async_list_child_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """DEPRECATED teams/list-child-legacy GET /teams/{team_id}/teams @@ -7101,7 +7117,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamFull], list[TeamFullType]]: + ) -> Response[list[TeamFull], list[TeamFullTypeForResponse]]: """teams/list-for-authenticated-user GET /user/teams @@ -7147,7 +7163,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamFull], list[TeamFullType]]: + ) -> Response[list[TeamFull], list[TeamFullTypeForResponse]]: """teams/list-for-authenticated-user GET /user/teams diff --git a/githubkit/versions/ghec_v2022_11_28/rest/users.py b/githubkit/versions/ghec_v2022_11_28/rest/users.py index b9dc7cf31..e102a667d 100644 --- a/githubkit/versions/ghec_v2022_11_28/rest/users.py +++ b/githubkit/versions/ghec_v2022_11_28/rest/users.py @@ -42,16 +42,16 @@ UsersUsernameAttestationsSubjectDigestGetResponse200, ) from ..types import ( - EmailType, - GpgKeyType, - HovercardType, - KeySimpleType, - KeyType, - PrivateUserType, - PublicUserType, - SimpleUserType, - SocialAccountType, - SshSigningKeyType, + EmailTypeForResponse, + GpgKeyTypeForResponse, + HovercardTypeForResponse, + KeySimpleTypeForResponse, + KeyTypeForResponse, + PrivateUserTypeForResponse, + PublicUserTypeForResponse, + SimpleUserTypeForResponse, + SocialAccountTypeForResponse, + SshSigningKeyTypeForResponse, UserEmailsDeleteBodyOneof0Type, UserEmailsPostBodyOneof0Type, UserEmailVisibilityPatchBodyType, @@ -62,10 +62,10 @@ UserSocialAccountsPostBodyType, UserSshSigningKeysPostBodyType, UsersUsernameAttestationsBulkListPostBodyType, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type, UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ) @@ -90,7 +90,8 @@ def get_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-authenticated @@ -127,7 +128,8 @@ async def async_get_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-authenticated @@ -165,7 +167,7 @@ def update_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... @overload def update_authenticated( @@ -182,7 +184,7 @@ def update_authenticated( location: Missing[str] = UNSET, hireable: Missing[bool] = UNSET, bio: Missing[str] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... def update_authenticated( self, @@ -191,7 +193,7 @@ def update_authenticated( stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, **kwargs, - ) -> Response[PrivateUser, PrivateUserType]: + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: """users/update-authenticated PATCH /user @@ -238,7 +240,7 @@ async def async_update_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... @overload async def async_update_authenticated( @@ -255,7 +257,7 @@ async def async_update_authenticated( location: Missing[str] = UNSET, hireable: Missing[bool] = UNSET, bio: Missing[str] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... async def async_update_authenticated( self, @@ -264,7 +266,7 @@ async def async_update_authenticated( stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, **kwargs, - ) -> Response[PrivateUser, PrivateUserType]: + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: """users/update-authenticated PATCH /user @@ -311,7 +313,7 @@ def list_blocked_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-blocked-by-authenticated-user GET /user/blocks @@ -353,7 +355,7 @@ async def async_list_blocked_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-blocked-by-authenticated-user GET /user/blocks @@ -601,7 +603,7 @@ def set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserEmailVisibilityPatchBodyType, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload def set_primary_email_visibility_for_authenticated_user( @@ -611,7 +613,7 @@ def set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, visibility: Literal["public", "private"], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... def set_primary_email_visibility_for_authenticated_user( self, @@ -620,7 +622,7 @@ def set_primary_email_visibility_for_authenticated_user( stream: bool = False, data: Missing[UserEmailVisibilityPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/set-primary-email-visibility-for-authenticated-user PATCH /user/email/visibility @@ -672,7 +674,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserEmailVisibilityPatchBodyType, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload async def async_set_primary_email_visibility_for_authenticated_user( @@ -682,7 +684,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, visibility: Literal["public", "private"], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... async def async_set_primary_email_visibility_for_authenticated_user( self, @@ -691,7 +693,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( stream: bool = False, data: Missing[UserEmailVisibilityPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/set-primary-email-visibility-for-authenticated-user PATCH /user/email/visibility @@ -743,7 +745,7 @@ def list_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-emails-for-authenticated-user GET /user/emails @@ -788,7 +790,7 @@ async def async_list_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-emails-for-authenticated-user GET /user/emails @@ -833,7 +835,7 @@ def add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload def add_email_for_authenticated_user( @@ -843,7 +845,7 @@ def add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, emails: list[str], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... def add_email_for_authenticated_user( self, @@ -852,7 +854,7 @@ def add_email_for_authenticated_user( stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/add-email-for-authenticated-user POST /user/emails @@ -915,7 +917,7 @@ async def async_add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload async def async_add_email_for_authenticated_user( @@ -925,7 +927,7 @@ async def async_add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, emails: list[str], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... async def async_add_email_for_authenticated_user( self, @@ -934,7 +936,7 @@ async def async_add_email_for_authenticated_user( stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/add-email-for-authenticated-user POST /user/emails @@ -1149,7 +1151,7 @@ def list_followers_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-authenticated-user GET /user/followers @@ -1190,7 +1192,7 @@ async def async_list_followers_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-authenticated-user GET /user/followers @@ -1231,7 +1233,7 @@ def list_followed_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followed-by-authenticated-user GET /user/following @@ -1272,7 +1274,7 @@ async def async_list_followed_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followed-by-authenticated-user GET /user/following @@ -1519,7 +1521,7 @@ def list_gpg_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-authenticated-user GET /user/gpg_keys @@ -1563,7 +1565,7 @@ async def async_list_gpg_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-authenticated-user GET /user/gpg_keys @@ -1607,7 +1609,7 @@ def create_gpg_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserGpgKeysPostBodyType, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... @overload def create_gpg_key_for_authenticated_user( @@ -1618,7 +1620,7 @@ def create_gpg_key_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, armored_public_key: str, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... def create_gpg_key_for_authenticated_user( self, @@ -1627,7 +1629,7 @@ def create_gpg_key_for_authenticated_user( stream: bool = False, data: Missing[UserGpgKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/create-gpg-key-for-authenticated-user POST /user/gpg_keys @@ -1676,7 +1678,7 @@ async def async_create_gpg_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserGpgKeysPostBodyType, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... @overload async def async_create_gpg_key_for_authenticated_user( @@ -1687,7 +1689,7 @@ async def async_create_gpg_key_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, armored_public_key: str, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... async def async_create_gpg_key_for_authenticated_user( self, @@ -1696,7 +1698,7 @@ async def async_create_gpg_key_for_authenticated_user( stream: bool = False, data: Missing[UserGpgKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/create-gpg-key-for-authenticated-user POST /user/gpg_keys @@ -1744,7 +1746,7 @@ def get_gpg_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/get-gpg-key-for-authenticated-user GET /user/gpg_keys/{gpg_key_id} @@ -1781,7 +1783,7 @@ async def async_get_gpg_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/get-gpg-key-for-authenticated-user GET /user/gpg_keys/{gpg_key_id} @@ -1893,7 +1895,7 @@ def list_public_ssh_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Key], list[KeyType]]: + ) -> Response[list[Key], list[KeyTypeForResponse]]: """users/list-public-ssh-keys-for-authenticated-user GET /user/keys @@ -1937,7 +1939,7 @@ async def async_list_public_ssh_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Key], list[KeyType]]: + ) -> Response[list[Key], list[KeyTypeForResponse]]: """users/list-public-ssh-keys-for-authenticated-user GET /user/keys @@ -1981,7 +1983,7 @@ def create_public_ssh_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserKeysPostBodyType, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... @overload def create_public_ssh_key_for_authenticated_user( @@ -1992,7 +1994,7 @@ def create_public_ssh_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... def create_public_ssh_key_for_authenticated_user( self, @@ -2001,7 +2003,7 @@ def create_public_ssh_key_for_authenticated_user( stream: bool = False, data: Missing[UserKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/create-public-ssh-key-for-authenticated-user POST /user/keys @@ -2050,7 +2052,7 @@ async def async_create_public_ssh_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserKeysPostBodyType, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... @overload async def async_create_public_ssh_key_for_authenticated_user( @@ -2061,7 +2063,7 @@ async def async_create_public_ssh_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... async def async_create_public_ssh_key_for_authenticated_user( self, @@ -2070,7 +2072,7 @@ async def async_create_public_ssh_key_for_authenticated_user( stream: bool = False, data: Missing[UserKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/create-public-ssh-key-for-authenticated-user POST /user/keys @@ -2118,7 +2120,7 @@ def get_public_ssh_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/get-public-ssh-key-for-authenticated-user GET /user/keys/{key_id} @@ -2155,7 +2157,7 @@ async def async_get_public_ssh_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/get-public-ssh-key-for-authenticated-user GET /user/keys/{key_id} @@ -2265,7 +2267,7 @@ def list_public_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-public-emails-for-authenticated-user GET /user/public_emails @@ -2311,7 +2313,7 @@ async def async_list_public_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-public-emails-for-authenticated-user GET /user/public_emails @@ -2357,7 +2359,7 @@ def list_social_accounts_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-authenticated-user GET /user/social_accounts @@ -2399,7 +2401,7 @@ async def async_list_social_accounts_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-authenticated-user GET /user/social_accounts @@ -2441,7 +2443,7 @@ def add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSocialAccountsPostBodyType, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... @overload def add_social_account_for_authenticated_user( @@ -2451,7 +2453,7 @@ def add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, account_urls: list[str], - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... def add_social_account_for_authenticated_user( self, @@ -2460,7 +2462,7 @@ def add_social_account_for_authenticated_user( stream: bool = False, data: Missing[UserSocialAccountsPostBodyType] = UNSET, **kwargs, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/add-social-account-for-authenticated-user POST /user/social_accounts @@ -2514,7 +2516,7 @@ async def async_add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSocialAccountsPostBodyType, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... @overload async def async_add_social_account_for_authenticated_user( @@ -2524,7 +2526,7 @@ async def async_add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, account_urls: list[str], - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... async def async_add_social_account_for_authenticated_user( self, @@ -2533,7 +2535,7 @@ async def async_add_social_account_for_authenticated_user( stream: bool = False, data: Missing[UserSocialAccountsPostBodyType] = UNSET, **kwargs, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/add-social-account-for-authenticated-user POST /user/social_accounts @@ -2721,7 +2723,7 @@ def list_ssh_signing_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-authenticated-user GET /user/ssh_signing_keys @@ -2765,7 +2767,7 @@ async def async_list_ssh_signing_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-authenticated-user GET /user/ssh_signing_keys @@ -2809,7 +2811,7 @@ def create_ssh_signing_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSshSigningKeysPostBodyType, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... @overload def create_ssh_signing_key_for_authenticated_user( @@ -2820,7 +2822,7 @@ def create_ssh_signing_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... def create_ssh_signing_key_for_authenticated_user( self, @@ -2829,7 +2831,7 @@ def create_ssh_signing_key_for_authenticated_user( stream: bool = False, data: Missing[UserSshSigningKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/create-ssh-signing-key-for-authenticated-user POST /user/ssh_signing_keys @@ -2883,7 +2885,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSshSigningKeysPostBodyType, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... @overload async def async_create_ssh_signing_key_for_authenticated_user( @@ -2894,7 +2896,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... async def async_create_ssh_signing_key_for_authenticated_user( self, @@ -2903,7 +2905,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( stream: bool = False, data: Missing[UserSshSigningKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/create-ssh-signing-key-for-authenticated-user POST /user/ssh_signing_keys @@ -2956,7 +2958,7 @@ def get_ssh_signing_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/get-ssh-signing-key-for-authenticated-user GET /user/ssh_signing_keys/{ssh_signing_key_id} @@ -2993,7 +2995,7 @@ async def async_get_ssh_signing_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/get-ssh-signing-key-for-authenticated-user GET /user/ssh_signing_keys/{ssh_signing_key_id} @@ -3103,7 +3105,8 @@ def get_by_id( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-id @@ -3146,7 +3149,8 @@ async def async_get_by_id( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-id @@ -3189,7 +3193,7 @@ def list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list GET /users @@ -3228,7 +3232,7 @@ async def async_list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list GET /users @@ -3267,7 +3271,8 @@ def get_by_username( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-username @@ -3310,7 +3315,8 @@ async def async_get_by_username( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-username @@ -3359,7 +3365,7 @@ def list_attestations_bulk( data: UsersUsernameAttestationsBulkListPostBodyType, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -3377,7 +3383,7 @@ def list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... def list_attestations_bulk( @@ -3393,7 +3399,7 @@ def list_attestations_bulk( **kwargs, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: """users/list-attestations-bulk @@ -3455,7 +3461,7 @@ async def async_list_attestations_bulk( data: UsersUsernameAttestationsBulkListPostBodyType, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -3473,7 +3479,7 @@ async def async_list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... async def async_list_attestations_bulk( @@ -3489,7 +3495,7 @@ async def async_list_attestations_bulk( **kwargs, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: """users/list-attestations-bulk @@ -3877,7 +3883,7 @@ def list_attestations( stream: bool = False, ) -> Response[ UsersUsernameAttestationsSubjectDigestGetResponse200, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """users/list-attestations @@ -3933,7 +3939,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ UsersUsernameAttestationsSubjectDigestGetResponse200, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """users/list-attestations @@ -3984,7 +3990,7 @@ def list_followers_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-user GET /users/{username}/followers @@ -4022,7 +4028,7 @@ async def async_list_followers_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-user GET /users/{username}/followers @@ -4060,7 +4066,7 @@ def list_following_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-following-for-user GET /users/{username}/following @@ -4098,7 +4104,7 @@ async def async_list_following_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-following-for-user GET /users/{username}/following @@ -4190,7 +4196,7 @@ def list_gpg_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-user GET /users/{username}/gpg_keys @@ -4228,7 +4234,7 @@ async def async_list_gpg_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-user GET /users/{username}/gpg_keys @@ -4268,7 +4274,7 @@ def get_context_for_user( subject_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hovercard, HovercardType]: + ) -> Response[Hovercard, HovercardTypeForResponse]: """users/get-context-for-user GET /users/{username}/hovercard @@ -4316,7 +4322,7 @@ async def async_get_context_for_user( subject_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hovercard, HovercardType]: + ) -> Response[Hovercard, HovercardTypeForResponse]: """users/get-context-for-user GET /users/{username}/hovercard @@ -4362,7 +4368,7 @@ def list_public_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[KeySimple], list[KeySimpleType]]: + ) -> Response[list[KeySimple], list[KeySimpleTypeForResponse]]: """users/list-public-keys-for-user GET /users/{username}/keys @@ -4400,7 +4406,7 @@ async def async_list_public_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[KeySimple], list[KeySimpleType]]: + ) -> Response[list[KeySimple], list[KeySimpleTypeForResponse]]: """users/list-public-keys-for-user GET /users/{username}/keys @@ -4438,7 +4444,7 @@ def list_social_accounts_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-user GET /users/{username}/social_accounts @@ -4476,7 +4482,7 @@ async def async_list_social_accounts_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-user GET /users/{username}/social_accounts @@ -4514,7 +4520,7 @@ def list_ssh_signing_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-user GET /users/{username}/ssh_signing_keys @@ -4552,7 +4558,7 @@ async def async_list_ssh_signing_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-user GET /users/{username}/ssh_signing_keys diff --git a/githubkit/versions/ghec_v2022_11_28/types/__init__.py b/githubkit/versions/ghec_v2022_11_28/types/__init__.py index 826b0703a..698cb58ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/__init__.py +++ b/githubkit/versions/ghec_v2022_11_28/types/__init__.py @@ -11,14935 +11,31237 @@ if TYPE_CHECKING: from .group_0000 import RootType as RootType + from .group_0000 import RootTypeForResponse as RootTypeForResponse from .group_0001 import CvssSeveritiesPropCvssV3Type as CvssSeveritiesPropCvssV3Type + from .group_0001 import ( + CvssSeveritiesPropCvssV3TypeForResponse as CvssSeveritiesPropCvssV3TypeForResponse, + ) from .group_0001 import CvssSeveritiesPropCvssV4Type as CvssSeveritiesPropCvssV4Type + from .group_0001 import ( + CvssSeveritiesPropCvssV4TypeForResponse as CvssSeveritiesPropCvssV4TypeForResponse, + ) from .group_0001 import CvssSeveritiesType as CvssSeveritiesType + from .group_0001 import ( + CvssSeveritiesTypeForResponse as CvssSeveritiesTypeForResponse, + ) from .group_0002 import SecurityAdvisoryEpssType as SecurityAdvisoryEpssType + from .group_0002 import ( + SecurityAdvisoryEpssTypeForResponse as SecurityAdvisoryEpssTypeForResponse, + ) from .group_0003 import SimpleUserType as SimpleUserType + from .group_0003 import SimpleUserTypeForResponse as SimpleUserTypeForResponse from .group_0004 import GlobalAdvisoryPropCvssType as GlobalAdvisoryPropCvssType + from .group_0004 import ( + GlobalAdvisoryPropCvssTypeForResponse as GlobalAdvisoryPropCvssTypeForResponse, + ) from .group_0004 import ( GlobalAdvisoryPropCwesItemsType as GlobalAdvisoryPropCwesItemsType, ) + from .group_0004 import ( + GlobalAdvisoryPropCwesItemsTypeForResponse as GlobalAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0004 import ( GlobalAdvisoryPropIdentifiersItemsType as GlobalAdvisoryPropIdentifiersItemsType, ) + from .group_0004 import ( + GlobalAdvisoryPropIdentifiersItemsTypeForResponse as GlobalAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0004 import GlobalAdvisoryType as GlobalAdvisoryType + from .group_0004 import ( + GlobalAdvisoryTypeForResponse as GlobalAdvisoryTypeForResponse, + ) from .group_0004 import VulnerabilityPropPackageType as VulnerabilityPropPackageType + from .group_0004 import ( + VulnerabilityPropPackageTypeForResponse as VulnerabilityPropPackageTypeForResponse, + ) from .group_0004 import VulnerabilityType as VulnerabilityType + from .group_0004 import VulnerabilityTypeForResponse as VulnerabilityTypeForResponse from .group_0005 import ( GlobalAdvisoryPropCreditsItemsType as GlobalAdvisoryPropCreditsItemsType, ) + from .group_0005 import ( + GlobalAdvisoryPropCreditsItemsTypeForResponse as GlobalAdvisoryPropCreditsItemsTypeForResponse, + ) from .group_0006 import BasicErrorType as BasicErrorType + from .group_0006 import BasicErrorTypeForResponse as BasicErrorTypeForResponse from .group_0007 import ValidationErrorSimpleType as ValidationErrorSimpleType + from .group_0007 import ( + ValidationErrorSimpleTypeForResponse as ValidationErrorSimpleTypeForResponse, + ) from .group_0008 import EnterpriseType as EnterpriseType + from .group_0008 import EnterpriseTypeForResponse as EnterpriseTypeForResponse from .group_0009 import ( IntegrationPropPermissionsType as IntegrationPropPermissionsType, ) + from .group_0009 import ( + IntegrationPropPermissionsTypeForResponse as IntegrationPropPermissionsTypeForResponse, + ) from .group_0010 import IntegrationType as IntegrationType + from .group_0010 import IntegrationTypeForResponse as IntegrationTypeForResponse from .group_0011 import WebhookConfigType as WebhookConfigType + from .group_0011 import WebhookConfigTypeForResponse as WebhookConfigTypeForResponse from .group_0012 import HookDeliveryItemType as HookDeliveryItemType + from .group_0012 import ( + HookDeliveryItemTypeForResponse as HookDeliveryItemTypeForResponse, + ) from .group_0013 import ScimErrorType as ScimErrorType + from .group_0013 import ScimErrorTypeForResponse as ScimErrorTypeForResponse from .group_0014 import ( ValidationErrorPropErrorsItemsType as ValidationErrorPropErrorsItemsType, ) + from .group_0014 import ( + ValidationErrorPropErrorsItemsTypeForResponse as ValidationErrorPropErrorsItemsTypeForResponse, + ) from .group_0014 import ValidationErrorType as ValidationErrorType + from .group_0014 import ( + ValidationErrorTypeForResponse as ValidationErrorTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropRequestPropHeadersType as HookDeliveryPropRequestPropHeadersType, ) + from .group_0015 import ( + HookDeliveryPropRequestPropHeadersTypeForResponse as HookDeliveryPropRequestPropHeadersTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropRequestPropPayloadType as HookDeliveryPropRequestPropPayloadType, ) + from .group_0015 import ( + HookDeliveryPropRequestPropPayloadTypeForResponse as HookDeliveryPropRequestPropPayloadTypeForResponse, + ) from .group_0015 import HookDeliveryPropRequestType as HookDeliveryPropRequestType + from .group_0015 import ( + HookDeliveryPropRequestTypeForResponse as HookDeliveryPropRequestTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropResponsePropHeadersType as HookDeliveryPropResponsePropHeadersType, ) + from .group_0015 import ( + HookDeliveryPropResponsePropHeadersTypeForResponse as HookDeliveryPropResponsePropHeadersTypeForResponse, + ) from .group_0015 import HookDeliveryPropResponseType as HookDeliveryPropResponseType + from .group_0015 import ( + HookDeliveryPropResponseTypeForResponse as HookDeliveryPropResponseTypeForResponse, + ) from .group_0015 import HookDeliveryType as HookDeliveryType + from .group_0015 import HookDeliveryTypeForResponse as HookDeliveryTypeForResponse from .group_0016 import ( IntegrationInstallationRequestType as IntegrationInstallationRequestType, ) + from .group_0016 import ( + IntegrationInstallationRequestTypeForResponse as IntegrationInstallationRequestTypeForResponse, + ) from .group_0017 import AppPermissionsType as AppPermissionsType + from .group_0017 import ( + AppPermissionsTypeForResponse as AppPermissionsTypeForResponse, + ) from .group_0018 import InstallationType as InstallationType + from .group_0018 import InstallationTypeForResponse as InstallationTypeForResponse from .group_0019 import LicenseSimpleType as LicenseSimpleType + from .group_0019 import LicenseSimpleTypeForResponse as LicenseSimpleTypeForResponse from .group_0020 import ( RepositoryPropCodeSearchIndexStatusType as RepositoryPropCodeSearchIndexStatusType, ) + from .group_0020 import ( + RepositoryPropCodeSearchIndexStatusTypeForResponse as RepositoryPropCodeSearchIndexStatusTypeForResponse, + ) from .group_0020 import ( RepositoryPropPermissionsType as RepositoryPropPermissionsType, ) + from .group_0020 import ( + RepositoryPropPermissionsTypeForResponse as RepositoryPropPermissionsTypeForResponse, + ) from .group_0020 import RepositoryType as RepositoryType + from .group_0020 import RepositoryTypeForResponse as RepositoryTypeForResponse from .group_0021 import InstallationTokenType as InstallationTokenType + from .group_0021 import ( + InstallationTokenTypeForResponse as InstallationTokenTypeForResponse, + ) from .group_0022 import ScopedInstallationType as ScopedInstallationType + from .group_0022 import ( + ScopedInstallationTypeForResponse as ScopedInstallationTypeForResponse, + ) from .group_0023 import AuthorizationPropAppType as AuthorizationPropAppType + from .group_0023 import ( + AuthorizationPropAppTypeForResponse as AuthorizationPropAppTypeForResponse, + ) from .group_0023 import AuthorizationType as AuthorizationType + from .group_0023 import AuthorizationTypeForResponse as AuthorizationTypeForResponse from .group_0024 import ( SimpleClassroomRepositoryType as SimpleClassroomRepositoryType, ) + from .group_0024 import ( + SimpleClassroomRepositoryTypeForResponse as SimpleClassroomRepositoryTypeForResponse, + ) from .group_0025 import ClassroomAssignmentType as ClassroomAssignmentType + from .group_0025 import ( + ClassroomAssignmentTypeForResponse as ClassroomAssignmentTypeForResponse, + ) from .group_0025 import ClassroomType as ClassroomType + from .group_0025 import ClassroomTypeForResponse as ClassroomTypeForResponse from .group_0025 import ( SimpleClassroomOrganizationType as SimpleClassroomOrganizationType, ) + from .group_0025 import ( + SimpleClassroomOrganizationTypeForResponse as SimpleClassroomOrganizationTypeForResponse, + ) from .group_0026 import ( ClassroomAcceptedAssignmentType as ClassroomAcceptedAssignmentType, ) + from .group_0026 import ( + ClassroomAcceptedAssignmentTypeForResponse as ClassroomAcceptedAssignmentTypeForResponse, + ) from .group_0026 import ( SimpleClassroomAssignmentType as SimpleClassroomAssignmentType, ) + from .group_0026 import ( + SimpleClassroomAssignmentTypeForResponse as SimpleClassroomAssignmentTypeForResponse, + ) from .group_0026 import SimpleClassroomType as SimpleClassroomType + from .group_0026 import ( + SimpleClassroomTypeForResponse as SimpleClassroomTypeForResponse, + ) from .group_0026 import SimpleClassroomUserType as SimpleClassroomUserType + from .group_0026 import ( + SimpleClassroomUserTypeForResponse as SimpleClassroomUserTypeForResponse, + ) from .group_0027 import ClassroomAssignmentGradeType as ClassroomAssignmentGradeType + from .group_0027 import ( + ClassroomAssignmentGradeTypeForResponse as ClassroomAssignmentGradeTypeForResponse, + ) from .group_0028 import ServerStatisticsActionsType as ServerStatisticsActionsType + from .group_0028 import ( + ServerStatisticsActionsTypeForResponse as ServerStatisticsActionsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropDormantUsersType as ServerStatisticsItemsPropDormantUsersType, ) + from .group_0028 import ( + ServerStatisticsItemsPropDormantUsersTypeForResponse as ServerStatisticsItemsPropDormantUsersTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropCommentsType as ServerStatisticsItemsPropGheStatsPropCommentsType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse as ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropGistsType as ServerStatisticsItemsPropGheStatsPropGistsType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse as ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropHooksType as ServerStatisticsItemsPropGheStatsPropHooksType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse as ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropIssuesType as ServerStatisticsItemsPropGheStatsPropIssuesType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse as ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropMilestonesType as ServerStatisticsItemsPropGheStatsPropMilestonesType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse as ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropOrgsType as ServerStatisticsItemsPropGheStatsPropOrgsType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse as ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropPagesType as ServerStatisticsItemsPropGheStatsPropPagesType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse as ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropPullsType as ServerStatisticsItemsPropGheStatsPropPullsType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse as ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropReposType as ServerStatisticsItemsPropGheStatsPropReposType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropReposTypeForResponse as ServerStatisticsItemsPropGheStatsPropReposTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsPropUsersType as ServerStatisticsItemsPropGheStatsPropUsersType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse as ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGheStatsType as ServerStatisticsItemsPropGheStatsType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGheStatsTypeForResponse as ServerStatisticsItemsPropGheStatsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsItemsPropGithubConnectType as ServerStatisticsItemsPropGithubConnectType, ) + from .group_0028 import ( + ServerStatisticsItemsPropGithubConnectTypeForResponse as ServerStatisticsItemsPropGithubConnectTypeForResponse, + ) from .group_0028 import ServerStatisticsItemsType as ServerStatisticsItemsType + from .group_0028 import ( + ServerStatisticsItemsTypeForResponse as ServerStatisticsItemsTypeForResponse, + ) from .group_0028 import ( ServerStatisticsPackagesPropEcosystemsItemsType as ServerStatisticsPackagesPropEcosystemsItemsType, ) + from .group_0028 import ( + ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse as ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse, + ) from .group_0028 import ServerStatisticsPackagesType as ServerStatisticsPackagesType + from .group_0028 import ( + ServerStatisticsPackagesTypeForResponse as ServerStatisticsPackagesTypeForResponse, + ) from .group_0029 import ( EnterpriseAccessRestrictionsType as EnterpriseAccessRestrictionsType, ) + from .group_0029 import ( + EnterpriseAccessRestrictionsTypeForResponse as EnterpriseAccessRestrictionsTypeForResponse, + ) from .group_0030 import ( ActionsCacheUsageOrgEnterpriseType as ActionsCacheUsageOrgEnterpriseType, ) + from .group_0030 import ( + ActionsCacheUsageOrgEnterpriseTypeForResponse as ActionsCacheUsageOrgEnterpriseTypeForResponse, + ) from .group_0031 import ( ActionsHostedRunnerMachineSpecType as ActionsHostedRunnerMachineSpecType, ) + from .group_0031 import ( + ActionsHostedRunnerMachineSpecTypeForResponse as ActionsHostedRunnerMachineSpecTypeForResponse, + ) from .group_0032 import ( ActionsHostedRunnerPoolImageType as ActionsHostedRunnerPoolImageType, ) + from .group_0032 import ( + ActionsHostedRunnerPoolImageTypeForResponse as ActionsHostedRunnerPoolImageTypeForResponse, + ) from .group_0032 import ActionsHostedRunnerType as ActionsHostedRunnerType + from .group_0032 import ( + ActionsHostedRunnerTypeForResponse as ActionsHostedRunnerTypeForResponse, + ) from .group_0032 import PublicIpType as PublicIpType + from .group_0032 import PublicIpTypeForResponse as PublicIpTypeForResponse from .group_0033 import ( ActionsHostedRunnerCustomImageType as ActionsHostedRunnerCustomImageType, ) + from .group_0033 import ( + ActionsHostedRunnerCustomImageTypeForResponse as ActionsHostedRunnerCustomImageTypeForResponse, + ) from .group_0034 import ( ActionsHostedRunnerCustomImageVersionType as ActionsHostedRunnerCustomImageVersionType, ) + from .group_0034 import ( + ActionsHostedRunnerCustomImageVersionTypeForResponse as ActionsHostedRunnerCustomImageVersionTypeForResponse, + ) from .group_0035 import ( ActionsHostedRunnerCuratedImageType as ActionsHostedRunnerCuratedImageType, ) + from .group_0035 import ( + ActionsHostedRunnerCuratedImageTypeForResponse as ActionsHostedRunnerCuratedImageTypeForResponse, + ) from .group_0036 import ( ActionsHostedRunnerLimitsPropPublicIpsType as ActionsHostedRunnerLimitsPropPublicIpsType, ) + from .group_0036 import ( + ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse as ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse, + ) from .group_0036 import ( ActionsHostedRunnerLimitsType as ActionsHostedRunnerLimitsType, ) + from .group_0036 import ( + ActionsHostedRunnerLimitsTypeForResponse as ActionsHostedRunnerLimitsTypeForResponse, + ) from .group_0037 import ( ActionsOidcCustomIssuerPolicyForEnterpriseType as ActionsOidcCustomIssuerPolicyForEnterpriseType, ) + from .group_0037 import ( + ActionsOidcCustomIssuerPolicyForEnterpriseTypeForResponse as ActionsOidcCustomIssuerPolicyForEnterpriseTypeForResponse, + ) from .group_0038 import ( ActionsEnterprisePermissionsType as ActionsEnterprisePermissionsType, ) + from .group_0038 import ( + ActionsEnterprisePermissionsTypeForResponse as ActionsEnterprisePermissionsTypeForResponse, + ) from .group_0039 import ( ActionsArtifactAndLogRetentionResponseType as ActionsArtifactAndLogRetentionResponseType, ) + from .group_0039 import ( + ActionsArtifactAndLogRetentionResponseTypeForResponse as ActionsArtifactAndLogRetentionResponseTypeForResponse, + ) from .group_0040 import ( ActionsArtifactAndLogRetentionType as ActionsArtifactAndLogRetentionType, ) + from .group_0040 import ( + ActionsArtifactAndLogRetentionTypeForResponse as ActionsArtifactAndLogRetentionTypeForResponse, + ) from .group_0041 import ( ActionsForkPrContributorApprovalType as ActionsForkPrContributorApprovalType, ) + from .group_0041 import ( + ActionsForkPrContributorApprovalTypeForResponse as ActionsForkPrContributorApprovalTypeForResponse, + ) from .group_0042 import ( ActionsForkPrWorkflowsPrivateReposType as ActionsForkPrWorkflowsPrivateReposType, ) + from .group_0042 import ( + ActionsForkPrWorkflowsPrivateReposTypeForResponse as ActionsForkPrWorkflowsPrivateReposTypeForResponse, + ) from .group_0043 import ( ActionsForkPrWorkflowsPrivateReposRequestType as ActionsForkPrWorkflowsPrivateReposRequestType, ) + from .group_0043 import ( + ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse as ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse, + ) from .group_0044 import OrganizationSimpleType as OrganizationSimpleType + from .group_0044 import ( + OrganizationSimpleTypeForResponse as OrganizationSimpleTypeForResponse, + ) from .group_0045 import SelectedActionsType as SelectedActionsType + from .group_0045 import ( + SelectedActionsTypeForResponse as SelectedActionsTypeForResponse, + ) from .group_0046 import ( ActionsGetDefaultWorkflowPermissionsType as ActionsGetDefaultWorkflowPermissionsType, ) + from .group_0046 import ( + ActionsGetDefaultWorkflowPermissionsTypeForResponse as ActionsGetDefaultWorkflowPermissionsTypeForResponse, + ) from .group_0047 import ( ActionsSetDefaultWorkflowPermissionsType as ActionsSetDefaultWorkflowPermissionsType, ) + from .group_0047 import ( + ActionsSetDefaultWorkflowPermissionsTypeForResponse as ActionsSetDefaultWorkflowPermissionsTypeForResponse, + ) from .group_0048 import RunnerLabelType as RunnerLabelType + from .group_0048 import RunnerLabelTypeForResponse as RunnerLabelTypeForResponse from .group_0049 import RunnerType as RunnerType + from .group_0049 import RunnerTypeForResponse as RunnerTypeForResponse from .group_0050 import RunnerApplicationType as RunnerApplicationType + from .group_0050 import ( + RunnerApplicationTypeForResponse as RunnerApplicationTypeForResponse, + ) from .group_0051 import ( AuthenticationTokenPropPermissionsType as AuthenticationTokenPropPermissionsType, ) + from .group_0051 import ( + AuthenticationTokenPropPermissionsTypeForResponse as AuthenticationTokenPropPermissionsTypeForResponse, + ) from .group_0051 import AuthenticationTokenType as AuthenticationTokenType + from .group_0051 import ( + AuthenticationTokenTypeForResponse as AuthenticationTokenTypeForResponse, + ) from .group_0052 import AnnouncementBannerType as AnnouncementBannerType + from .group_0052 import ( + AnnouncementBannerTypeForResponse as AnnouncementBannerTypeForResponse, + ) from .group_0053 import AnnouncementType as AnnouncementType + from .group_0053 import AnnouncementTypeForResponse as AnnouncementTypeForResponse from .group_0054 import InstallableOrganizationType as InstallableOrganizationType + from .group_0054 import ( + InstallableOrganizationTypeForResponse as InstallableOrganizationTypeForResponse, + ) from .group_0055 import AccessibleRepositoryType as AccessibleRepositoryType + from .group_0055 import ( + AccessibleRepositoryTypeForResponse as AccessibleRepositoryTypeForResponse, + ) from .group_0056 import ( EnterpriseOrganizationInstallationType as EnterpriseOrganizationInstallationType, ) + from .group_0056 import ( + EnterpriseOrganizationInstallationTypeForResponse as EnterpriseOrganizationInstallationTypeForResponse, + ) from .group_0057 import ( AuditLogEventPropActorLocationType as AuditLogEventPropActorLocationType, ) + from .group_0057 import ( + AuditLogEventPropActorLocationTypeForResponse as AuditLogEventPropActorLocationTypeForResponse, + ) from .group_0057 import ( AuditLogEventPropConfigItemsType as AuditLogEventPropConfigItemsType, ) + from .group_0057 import ( + AuditLogEventPropConfigItemsTypeForResponse as AuditLogEventPropConfigItemsTypeForResponse, + ) from .group_0057 import ( AuditLogEventPropConfigWasItemsType as AuditLogEventPropConfigWasItemsType, ) + from .group_0057 import ( + AuditLogEventPropConfigWasItemsTypeForResponse as AuditLogEventPropConfigWasItemsTypeForResponse, + ) from .group_0057 import AuditLogEventPropDataType as AuditLogEventPropDataType + from .group_0057 import ( + AuditLogEventPropDataTypeForResponse as AuditLogEventPropDataTypeForResponse, + ) from .group_0057 import ( AuditLogEventPropEventsItemsType as AuditLogEventPropEventsItemsType, ) + from .group_0057 import ( + AuditLogEventPropEventsItemsTypeForResponse as AuditLogEventPropEventsItemsTypeForResponse, + ) from .group_0057 import ( AuditLogEventPropEventsWereItemsType as AuditLogEventPropEventsWereItemsType, ) + from .group_0057 import ( + AuditLogEventPropEventsWereItemsTypeForResponse as AuditLogEventPropEventsWereItemsTypeForResponse, + ) from .group_0057 import AuditLogEventType as AuditLogEventType + from .group_0057 import AuditLogEventTypeForResponse as AuditLogEventTypeForResponse from .group_0058 import AuditLogStreamKeyType as AuditLogStreamKeyType + from .group_0058 import ( + AuditLogStreamKeyTypeForResponse as AuditLogStreamKeyTypeForResponse, + ) from .group_0059 import ( GetAuditLogStreamConfigsItemsType as GetAuditLogStreamConfigsItemsType, ) + from .group_0059 import ( + GetAuditLogStreamConfigsItemsTypeForResponse as GetAuditLogStreamConfigsItemsTypeForResponse, + ) from .group_0060 import AmazonS3AccessKeysConfigType as AmazonS3AccessKeysConfigType + from .group_0060 import ( + AmazonS3AccessKeysConfigTypeForResponse as AmazonS3AccessKeysConfigTypeForResponse, + ) from .group_0060 import AzureBlobConfigType as AzureBlobConfigType + from .group_0060 import ( + AzureBlobConfigTypeForResponse as AzureBlobConfigTypeForResponse, + ) from .group_0060 import AzureHubConfigType as AzureHubConfigType + from .group_0060 import ( + AzureHubConfigTypeForResponse as AzureHubConfigTypeForResponse, + ) from .group_0060 import DatadogConfigType as DatadogConfigType + from .group_0060 import DatadogConfigTypeForResponse as DatadogConfigTypeForResponse from .group_0060 import HecConfigType as HecConfigType + from .group_0060 import HecConfigTypeForResponse as HecConfigTypeForResponse from .group_0061 import AmazonS3OidcConfigType as AmazonS3OidcConfigType + from .group_0061 import ( + AmazonS3OidcConfigTypeForResponse as AmazonS3OidcConfigTypeForResponse, + ) from .group_0061 import SplunkConfigType as SplunkConfigType + from .group_0061 import SplunkConfigTypeForResponse as SplunkConfigTypeForResponse from .group_0062 import GoogleCloudConfigType as GoogleCloudConfigType + from .group_0062 import ( + GoogleCloudConfigTypeForResponse as GoogleCloudConfigTypeForResponse, + ) from .group_0063 import GetAuditLogStreamConfigType as GetAuditLogStreamConfigType + from .group_0063 import ( + GetAuditLogStreamConfigTypeForResponse as GetAuditLogStreamConfigTypeForResponse, + ) from .group_0064 import ( BypassResponsePropReviewerType as BypassResponsePropReviewerType, ) + from .group_0064 import ( + BypassResponsePropReviewerTypeForResponse as BypassResponsePropReviewerTypeForResponse, + ) from .group_0064 import BypassResponseType as BypassResponseType + from .group_0064 import ( + BypassResponseTypeForResponse as BypassResponseTypeForResponse, + ) from .group_0065 import ( PushRuleBypassRequestPropDataItemsType as PushRuleBypassRequestPropDataItemsType, ) + from .group_0065 import ( + PushRuleBypassRequestPropDataItemsTypeForResponse as PushRuleBypassRequestPropDataItemsTypeForResponse, + ) from .group_0065 import ( PushRuleBypassRequestPropOrganizationType as PushRuleBypassRequestPropOrganizationType, ) + from .group_0065 import ( + PushRuleBypassRequestPropOrganizationTypeForResponse as PushRuleBypassRequestPropOrganizationTypeForResponse, + ) from .group_0065 import ( PushRuleBypassRequestPropRepositoryType as PushRuleBypassRequestPropRepositoryType, ) + from .group_0065 import ( + PushRuleBypassRequestPropRepositoryTypeForResponse as PushRuleBypassRequestPropRepositoryTypeForResponse, + ) from .group_0065 import ( PushRuleBypassRequestPropRequesterType as PushRuleBypassRequestPropRequesterType, ) + from .group_0065 import ( + PushRuleBypassRequestPropRequesterTypeForResponse as PushRuleBypassRequestPropRequesterTypeForResponse, + ) from .group_0065 import PushRuleBypassRequestType as PushRuleBypassRequestType + from .group_0065 import ( + PushRuleBypassRequestTypeForResponse as PushRuleBypassRequestTypeForResponse, + ) from .group_0066 import ( SecretScanningBypassRequestPropDataItemsType as SecretScanningBypassRequestPropDataItemsType, ) + from .group_0066 import ( + SecretScanningBypassRequestPropDataItemsTypeForResponse as SecretScanningBypassRequestPropDataItemsTypeForResponse, + ) from .group_0066 import ( SecretScanningBypassRequestPropOrganizationType as SecretScanningBypassRequestPropOrganizationType, ) + from .group_0066 import ( + SecretScanningBypassRequestPropOrganizationTypeForResponse as SecretScanningBypassRequestPropOrganizationTypeForResponse, + ) from .group_0066 import ( SecretScanningBypassRequestPropRepositoryType as SecretScanningBypassRequestPropRepositoryType, ) + from .group_0066 import ( + SecretScanningBypassRequestPropRepositoryTypeForResponse as SecretScanningBypassRequestPropRepositoryTypeForResponse, + ) from .group_0066 import ( SecretScanningBypassRequestPropRequesterType as SecretScanningBypassRequestPropRequesterType, ) + from .group_0066 import ( + SecretScanningBypassRequestPropRequesterTypeForResponse as SecretScanningBypassRequestPropRequesterTypeForResponse, + ) from .group_0066 import ( SecretScanningBypassRequestType as SecretScanningBypassRequestType, ) + from .group_0066 import ( + SecretScanningBypassRequestTypeForResponse as SecretScanningBypassRequestTypeForResponse, + ) from .group_0067 import ( CodeScanningAlertRuleSummaryType as CodeScanningAlertRuleSummaryType, ) + from .group_0067 import ( + CodeScanningAlertRuleSummaryTypeForResponse as CodeScanningAlertRuleSummaryTypeForResponse, + ) from .group_0068 import CodeScanningAnalysisToolType as CodeScanningAnalysisToolType + from .group_0068 import ( + CodeScanningAnalysisToolTypeForResponse as CodeScanningAnalysisToolTypeForResponse, + ) from .group_0069 import ( CodeScanningAlertInstancePropMessageType as CodeScanningAlertInstancePropMessageType, ) + from .group_0069 import ( + CodeScanningAlertInstancePropMessageTypeForResponse as CodeScanningAlertInstancePropMessageTypeForResponse, + ) from .group_0069 import ( CodeScanningAlertInstanceType as CodeScanningAlertInstanceType, ) + from .group_0069 import ( + CodeScanningAlertInstanceTypeForResponse as CodeScanningAlertInstanceTypeForResponse, + ) from .group_0069 import ( CodeScanningAlertLocationType as CodeScanningAlertLocationType, ) + from .group_0069 import ( + CodeScanningAlertLocationTypeForResponse as CodeScanningAlertLocationTypeForResponse, + ) from .group_0070 import SimpleRepositoryType as SimpleRepositoryType + from .group_0070 import ( + SimpleRepositoryTypeForResponse as SimpleRepositoryTypeForResponse, + ) from .group_0071 import ( CodeScanningOrganizationAlertItemsType as CodeScanningOrganizationAlertItemsType, ) + from .group_0071 import ( + CodeScanningOrganizationAlertItemsTypeForResponse as CodeScanningOrganizationAlertItemsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType as CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType, ) + from .group_0072 import ( + CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse as CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationPropCodeScanningOptionsType as CodeSecurityConfigurationPropCodeScanningOptionsType, ) + from .group_0072 import ( + CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse as CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType as CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0072 import ( + CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse as CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_0072 import ( + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType, ) + from .group_0072 import ( + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_0072 import ( CodeSecurityConfigurationType as CodeSecurityConfigurationType, ) + from .group_0072 import ( + CodeSecurityConfigurationTypeForResponse as CodeSecurityConfigurationTypeForResponse, + ) from .group_0073 import CodeScanningOptionsType as CodeScanningOptionsType + from .group_0073 import ( + CodeScanningOptionsTypeForResponse as CodeScanningOptionsTypeForResponse, + ) from .group_0074 import ( CodeScanningDefaultSetupOptionsType as CodeScanningDefaultSetupOptionsType, ) + from .group_0074 import ( + CodeScanningDefaultSetupOptionsTypeForResponse as CodeScanningDefaultSetupOptionsTypeForResponse, + ) from .group_0075 import ( CodeSecurityDefaultConfigurationsItemsType as CodeSecurityDefaultConfigurationsItemsType, ) + from .group_0075 import ( + CodeSecurityDefaultConfigurationsItemsTypeForResponse as CodeSecurityDefaultConfigurationsItemsTypeForResponse, + ) from .group_0076 import ( CodeSecurityConfigurationRepositoriesType as CodeSecurityConfigurationRepositoriesType, ) + from .group_0076 import ( + CodeSecurityConfigurationRepositoriesTypeForResponse as CodeSecurityConfigurationRepositoriesTypeForResponse, + ) from .group_0077 import ( EnterpriseSecurityAnalysisSettingsType as EnterpriseSecurityAnalysisSettingsType, ) + from .group_0077 import ( + EnterpriseSecurityAnalysisSettingsTypeForResponse as EnterpriseSecurityAnalysisSettingsTypeForResponse, + ) from .group_0078 import ( GetConsumedLicensesPropUsersItemsType as GetConsumedLicensesPropUsersItemsType, ) + from .group_0078 import ( + GetConsumedLicensesPropUsersItemsTypeForResponse as GetConsumedLicensesPropUsersItemsTypeForResponse, + ) from .group_0078 import GetConsumedLicensesType as GetConsumedLicensesType + from .group_0078 import ( + GetConsumedLicensesTypeForResponse as GetConsumedLicensesTypeForResponse, + ) from .group_0079 import TeamSimpleType as TeamSimpleType + from .group_0079 import TeamSimpleTypeForResponse as TeamSimpleTypeForResponse from .group_0080 import TeamPropPermissionsType as TeamPropPermissionsType + from .group_0080 import ( + TeamPropPermissionsTypeForResponse as TeamPropPermissionsTypeForResponse, + ) from .group_0080 import TeamType as TeamType + from .group_0080 import TeamTypeForResponse as TeamTypeForResponse from .group_0081 import EnterpriseTeamType as EnterpriseTeamType + from .group_0081 import ( + EnterpriseTeamTypeForResponse as EnterpriseTeamTypeForResponse, + ) from .group_0082 import CopilotSeatDetailsType as CopilotSeatDetailsType + from .group_0082 import ( + CopilotSeatDetailsTypeForResponse as CopilotSeatDetailsTypeForResponse, + ) from .group_0083 import ( CopilotDotcomChatPropModelsItemsType as CopilotDotcomChatPropModelsItemsType, ) + from .group_0083 import ( + CopilotDotcomChatPropModelsItemsTypeForResponse as CopilotDotcomChatPropModelsItemsTypeForResponse, + ) from .group_0083 import CopilotDotcomChatType as CopilotDotcomChatType + from .group_0083 import ( + CopilotDotcomChatTypeForResponse as CopilotDotcomChatTypeForResponse, + ) from .group_0083 import ( CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType as CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType, ) + from .group_0083 import ( + CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse as CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse, + ) from .group_0083 import ( CopilotDotcomPullRequestsPropRepositoriesItemsType as CopilotDotcomPullRequestsPropRepositoriesItemsType, ) + from .group_0083 import ( + CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse as CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse, + ) from .group_0083 import ( CopilotDotcomPullRequestsType as CopilotDotcomPullRequestsType, ) + from .group_0083 import ( + CopilotDotcomPullRequestsTypeForResponse as CopilotDotcomPullRequestsTypeForResponse, + ) from .group_0083 import ( CopilotIdeChatPropEditorsItemsPropModelsItemsType as CopilotIdeChatPropEditorsItemsPropModelsItemsType, ) + from .group_0083 import ( + CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse as CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse, + ) from .group_0083 import ( CopilotIdeChatPropEditorsItemsType as CopilotIdeChatPropEditorsItemsType, ) + from .group_0083 import ( + CopilotIdeChatPropEditorsItemsTypeForResponse as CopilotIdeChatPropEditorsItemsTypeForResponse, + ) from .group_0083 import CopilotIdeChatType as CopilotIdeChatType + from .group_0083 import ( + CopilotIdeChatTypeForResponse as CopilotIdeChatTypeForResponse, + ) from .group_0083 import ( CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType, ) + from .group_0083 import ( + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse, + ) from .group_0083 import ( CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType, ) + from .group_0083 import ( + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse, + ) from .group_0083 import ( CopilotIdeCodeCompletionsPropEditorsItemsType as CopilotIdeCodeCompletionsPropEditorsItemsType, ) + from .group_0083 import ( + CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse, + ) from .group_0083 import ( CopilotIdeCodeCompletionsPropLanguagesItemsType as CopilotIdeCodeCompletionsPropLanguagesItemsType, ) + from .group_0083 import ( + CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse as CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse, + ) from .group_0083 import ( CopilotIdeCodeCompletionsType as CopilotIdeCodeCompletionsType, ) + from .group_0083 import ( + CopilotIdeCodeCompletionsTypeForResponse as CopilotIdeCodeCompletionsTypeForResponse, + ) from .group_0083 import CopilotUsageMetricsDayType as CopilotUsageMetricsDayType + from .group_0083 import ( + CopilotUsageMetricsDayTypeForResponse as CopilotUsageMetricsDayTypeForResponse, + ) from .group_0084 import ( CopilotUsageMetrics1DayReportType as CopilotUsageMetrics1DayReportType, ) + from .group_0084 import ( + CopilotUsageMetrics1DayReportTypeForResponse as CopilotUsageMetrics1DayReportTypeForResponse, + ) from .group_0085 import ( CopilotUsageMetrics28DayReportType as CopilotUsageMetrics28DayReportType, ) + from .group_0085 import ( + CopilotUsageMetrics28DayReportTypeForResponse as CopilotUsageMetrics28DayReportTypeForResponse, + ) from .group_0086 import DependabotAlertPackageType as DependabotAlertPackageType + from .group_0086 import ( + DependabotAlertPackageTypeForResponse as DependabotAlertPackageTypeForResponse, + ) from .group_0087 import ( DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType as DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType, ) + from .group_0087 import ( + DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse as DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse, + ) from .group_0087 import ( DependabotAlertSecurityVulnerabilityType as DependabotAlertSecurityVulnerabilityType, ) + from .group_0087 import ( + DependabotAlertSecurityVulnerabilityTypeForResponse as DependabotAlertSecurityVulnerabilityTypeForResponse, + ) from .group_0088 import ( DependabotAlertSecurityAdvisoryPropCvssType as DependabotAlertSecurityAdvisoryPropCvssType, ) + from .group_0088 import ( + DependabotAlertSecurityAdvisoryPropCvssTypeForResponse as DependabotAlertSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0088 import ( DependabotAlertSecurityAdvisoryPropCwesItemsType as DependabotAlertSecurityAdvisoryPropCwesItemsType, ) + from .group_0088 import ( + DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0088 import ( DependabotAlertSecurityAdvisoryPropIdentifiersItemsType as DependabotAlertSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0088 import ( + DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0088 import ( DependabotAlertSecurityAdvisoryPropReferencesItemsType as DependabotAlertSecurityAdvisoryPropReferencesItemsType, ) + from .group_0088 import ( + DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0088 import ( DependabotAlertSecurityAdvisoryType as DependabotAlertSecurityAdvisoryType, ) + from .group_0088 import ( + DependabotAlertSecurityAdvisoryTypeForResponse as DependabotAlertSecurityAdvisoryTypeForResponse, + ) from .group_0089 import ( DependabotAlertWithRepositoryType as DependabotAlertWithRepositoryType, ) + from .group_0089 import ( + DependabotAlertWithRepositoryTypeForResponse as DependabotAlertWithRepositoryTypeForResponse, + ) from .group_0090 import ( DependabotAlertWithRepositoryPropDependencyType as DependabotAlertWithRepositoryPropDependencyType, ) + from .group_0090 import ( + DependabotAlertWithRepositoryPropDependencyTypeForResponse as DependabotAlertWithRepositoryPropDependencyTypeForResponse, + ) from .group_0091 import EnterpriseRoleType as EnterpriseRoleType + from .group_0091 import ( + EnterpriseRoleTypeForResponse as EnterpriseRoleTypeForResponse, + ) from .group_0091 import ( EnterprisesEnterpriseEnterpriseRolesGetResponse200Type as EnterprisesEnterpriseEnterpriseRolesGetResponse200Type, ) + from .group_0091 import ( + EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse as EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse, + ) from .group_0092 import ( EnterpriseUserRoleAssignmentType as EnterpriseUserRoleAssignmentType, ) + from .group_0092 import ( + EnterpriseUserRoleAssignmentTypeForResponse as EnterpriseUserRoleAssignmentTypeForResponse, + ) from .group_0093 import ( EnterpriseUserRoleAssignmentAllof1Type as EnterpriseUserRoleAssignmentAllof1Type, ) + from .group_0093 import ( + EnterpriseUserRoleAssignmentAllof1TypeForResponse as EnterpriseUserRoleAssignmentAllof1TypeForResponse, + ) from .group_0094 import ( GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType as GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType, ) + from .group_0094 import ( + GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse as GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse, + ) from .group_0094 import ( GetLicenseSyncStatusPropServerInstancesItemsType as GetLicenseSyncStatusPropServerInstancesItemsType, ) + from .group_0094 import ( + GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse as GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse, + ) from .group_0094 import GetLicenseSyncStatusType as GetLicenseSyncStatusType + from .group_0094 import ( + GetLicenseSyncStatusTypeForResponse as GetLicenseSyncStatusTypeForResponse, + ) from .group_0095 import NetworkConfigurationType as NetworkConfigurationType + from .group_0095 import ( + NetworkConfigurationTypeForResponse as NetworkConfigurationTypeForResponse, + ) from .group_0096 import NetworkSettingsType as NetworkSettingsType + from .group_0096 import ( + NetworkSettingsTypeForResponse as NetworkSettingsTypeForResponse, + ) from .group_0097 import CustomPropertyBaseType as CustomPropertyBaseType + from .group_0097 import ( + CustomPropertyBaseTypeForResponse as CustomPropertyBaseTypeForResponse, + ) from .group_0098 import ( OrganizationCustomPropertyType as OrganizationCustomPropertyType, ) + from .group_0098 import ( + OrganizationCustomPropertyTypeForResponse as OrganizationCustomPropertyTypeForResponse, + ) from .group_0099 import ( OrganizationCustomPropertyAllof1Type as OrganizationCustomPropertyAllof1Type, ) + from .group_0099 import ( + OrganizationCustomPropertyAllof1TypeForResponse as OrganizationCustomPropertyAllof1TypeForResponse, + ) from .group_0100 import ( OrganizationCustomPropertyPayloadType as OrganizationCustomPropertyPayloadType, ) + from .group_0100 import ( + OrganizationCustomPropertyPayloadTypeForResponse as OrganizationCustomPropertyPayloadTypeForResponse, + ) from .group_0101 import CustomPropertyValueType as CustomPropertyValueType + from .group_0101 import ( + CustomPropertyValueTypeForResponse as CustomPropertyValueTypeForResponse, + ) from .group_0102 import ( CustomPropertiesForOrgsGetEnterprisePropertyValuesType as CustomPropertiesForOrgsGetEnterprisePropertyValuesType, ) + from .group_0102 import ( + CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse as CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse, + ) from .group_0103 import CustomPropertyType as CustomPropertyType + from .group_0103 import ( + CustomPropertyTypeForResponse as CustomPropertyTypeForResponse, + ) from .group_0104 import CustomPropertySetPayloadType as CustomPropertySetPayloadType + from .group_0104 import ( + CustomPropertySetPayloadTypeForResponse as CustomPropertySetPayloadTypeForResponse, + ) from .group_0105 import ( RepositoryRulesetBypassActorType as RepositoryRulesetBypassActorType, ) + from .group_0105 import ( + RepositoryRulesetBypassActorTypeForResponse as RepositoryRulesetBypassActorTypeForResponse, + ) from .group_0106 import ( EnterpriseRulesetConditionsOrganizationNameTargetType as EnterpriseRulesetConditionsOrganizationNameTargetType, ) + from .group_0106 import ( + EnterpriseRulesetConditionsOrganizationNameTargetTypeForResponse as EnterpriseRulesetConditionsOrganizationNameTargetTypeForResponse, + ) from .group_0107 import ( EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType as EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType, ) + from .group_0107 import ( + EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse as EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse, + ) from .group_0108 import ( RepositoryRulesetConditionsRepositoryNameTargetType as RepositoryRulesetConditionsRepositoryNameTargetType, ) + from .group_0108 import ( + RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse as RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse, + ) from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType as RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, ) + from .group_0109 import ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse as RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, + ) from .group_0110 import ( RepositoryRulesetConditionsType as RepositoryRulesetConditionsType, ) + from .group_0110 import ( + RepositoryRulesetConditionsTypeForResponse as RepositoryRulesetConditionsTypeForResponse, + ) from .group_0111 import ( RepositoryRulesetConditionsPropRefNameType as RepositoryRulesetConditionsPropRefNameType, ) + from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameTypeForResponse as RepositoryRulesetConditionsPropRefNameTypeForResponse, + ) from .group_0112 import ( RepositoryRulesetConditionsRepositoryPropertyTargetType as RepositoryRulesetConditionsRepositoryPropertyTargetType, ) + from .group_0112 import ( + RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse as RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse, + ) from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertySpecType as RepositoryRulesetConditionsRepositoryPropertySpecType, ) + from .group_0113 import ( + RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse as RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse, + ) from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType as RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, ) + from .group_0113 import ( + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse as RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, + ) from .group_0114 import ( EnterpriseRulesetConditionsOrganizationIdTargetType as EnterpriseRulesetConditionsOrganizationIdTargetType, ) + from .group_0114 import ( + EnterpriseRulesetConditionsOrganizationIdTargetTypeForResponse as EnterpriseRulesetConditionsOrganizationIdTargetTypeForResponse, + ) from .group_0115 import ( EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType as EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType, ) + from .group_0115 import ( + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse as EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse, + ) from .group_0116 import ( EnterpriseRulesetConditionsOrganizationPropertyTargetType as EnterpriseRulesetConditionsOrganizationPropertyTargetType, ) + from .group_0116 import ( + EnterpriseRulesetConditionsOrganizationPropertyTargetTypeForResponse as EnterpriseRulesetConditionsOrganizationPropertyTargetTypeForResponse, + ) from .group_0117 import ( EnterpriseRulesetConditionsOrganizationPropertySpecType as EnterpriseRulesetConditionsOrganizationPropertySpecType, ) + from .group_0117 import ( + EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse as EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse, + ) from .group_0117 import ( EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType as EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType, ) + from .group_0117 import ( + EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse as EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse, + ) from .group_0118 import ( EnterpriseRulesetConditionsOneof0Type as EnterpriseRulesetConditionsOneof0Type, ) + from .group_0118 import ( + EnterpriseRulesetConditionsOneof0TypeForResponse as EnterpriseRulesetConditionsOneof0TypeForResponse, + ) from .group_0119 import ( EnterpriseRulesetConditionsOneof1Type as EnterpriseRulesetConditionsOneof1Type, ) + from .group_0119 import ( + EnterpriseRulesetConditionsOneof1TypeForResponse as EnterpriseRulesetConditionsOneof1TypeForResponse, + ) from .group_0120 import ( EnterpriseRulesetConditionsOneof2Type as EnterpriseRulesetConditionsOneof2Type, ) + from .group_0120 import ( + EnterpriseRulesetConditionsOneof2TypeForResponse as EnterpriseRulesetConditionsOneof2TypeForResponse, + ) from .group_0121 import ( EnterpriseRulesetConditionsOneof3Type as EnterpriseRulesetConditionsOneof3Type, ) + from .group_0121 import ( + EnterpriseRulesetConditionsOneof3TypeForResponse as EnterpriseRulesetConditionsOneof3TypeForResponse, + ) from .group_0122 import ( EnterpriseRulesetConditionsOneof4Type as EnterpriseRulesetConditionsOneof4Type, ) + from .group_0122 import ( + EnterpriseRulesetConditionsOneof4TypeForResponse as EnterpriseRulesetConditionsOneof4TypeForResponse, + ) from .group_0123 import ( EnterpriseRulesetConditionsOneof5Type as EnterpriseRulesetConditionsOneof5Type, ) + from .group_0123 import ( + EnterpriseRulesetConditionsOneof5TypeForResponse as EnterpriseRulesetConditionsOneof5TypeForResponse, + ) from .group_0124 import RepositoryRuleCreationType as RepositoryRuleCreationType + from .group_0124 import ( + RepositoryRuleCreationTypeForResponse as RepositoryRuleCreationTypeForResponse, + ) from .group_0124 import RepositoryRuleDeletionType as RepositoryRuleDeletionType + from .group_0124 import ( + RepositoryRuleDeletionTypeForResponse as RepositoryRuleDeletionTypeForResponse, + ) from .group_0124 import ( RepositoryRuleNonFastForwardType as RepositoryRuleNonFastForwardType, ) + from .group_0124 import ( + RepositoryRuleNonFastForwardTypeForResponse as RepositoryRuleNonFastForwardTypeForResponse, + ) from .group_0124 import ( RepositoryRuleRequiredSignaturesType as RepositoryRuleRequiredSignaturesType, ) + from .group_0124 import ( + RepositoryRuleRequiredSignaturesTypeForResponse as RepositoryRuleRequiredSignaturesTypeForResponse, + ) from .group_0125 import RepositoryRuleUpdateType as RepositoryRuleUpdateType + from .group_0125 import ( + RepositoryRuleUpdateTypeForResponse as RepositoryRuleUpdateTypeForResponse, + ) from .group_0126 import ( RepositoryRuleUpdatePropParametersType as RepositoryRuleUpdatePropParametersType, ) + from .group_0126 import ( + RepositoryRuleUpdatePropParametersTypeForResponse as RepositoryRuleUpdatePropParametersTypeForResponse, + ) from .group_0127 import ( RepositoryRuleRequiredLinearHistoryType as RepositoryRuleRequiredLinearHistoryType, ) + from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryTypeForResponse as RepositoryRuleRequiredLinearHistoryTypeForResponse, + ) from .group_0128 import ( RepositoryRuleRequiredDeploymentsType as RepositoryRuleRequiredDeploymentsType, ) + from .group_0128 import ( + RepositoryRuleRequiredDeploymentsTypeForResponse as RepositoryRuleRequiredDeploymentsTypeForResponse, + ) from .group_0129 import ( RepositoryRuleRequiredDeploymentsPropParametersType as RepositoryRuleRequiredDeploymentsPropParametersType, ) + from .group_0129 import ( + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse as RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, + ) from .group_0130 import ( RepositoryRuleParamsRequiredReviewerConfigurationType as RepositoryRuleParamsRequiredReviewerConfigurationType, ) + from .group_0130 import ( + RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse as RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse, + ) from .group_0130 import ( RepositoryRuleParamsReviewerType as RepositoryRuleParamsReviewerType, ) + from .group_0130 import ( + RepositoryRuleParamsReviewerTypeForResponse as RepositoryRuleParamsReviewerTypeForResponse, + ) from .group_0131 import ( RepositoryRulePullRequestType as RepositoryRulePullRequestType, ) + from .group_0131 import ( + RepositoryRulePullRequestTypeForResponse as RepositoryRulePullRequestTypeForResponse, + ) from .group_0132 import ( RepositoryRulePullRequestPropParametersType as RepositoryRulePullRequestPropParametersType, ) + from .group_0132 import ( + RepositoryRulePullRequestPropParametersTypeForResponse as RepositoryRulePullRequestPropParametersTypeForResponse, + ) from .group_0133 import ( RepositoryRuleRequiredStatusChecksType as RepositoryRuleRequiredStatusChecksType, ) + from .group_0133 import ( + RepositoryRuleRequiredStatusChecksTypeForResponse as RepositoryRuleRequiredStatusChecksTypeForResponse, + ) from .group_0134 import ( RepositoryRuleParamsStatusCheckConfigurationType as RepositoryRuleParamsStatusCheckConfigurationType, ) + from .group_0134 import ( + RepositoryRuleParamsStatusCheckConfigurationTypeForResponse as RepositoryRuleParamsStatusCheckConfigurationTypeForResponse, + ) from .group_0134 import ( RepositoryRuleRequiredStatusChecksPropParametersType as RepositoryRuleRequiredStatusChecksPropParametersType, ) + from .group_0134 import ( + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse as RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, + ) from .group_0135 import ( RepositoryRuleCommitMessagePatternType as RepositoryRuleCommitMessagePatternType, ) + from .group_0135 import ( + RepositoryRuleCommitMessagePatternTypeForResponse as RepositoryRuleCommitMessagePatternTypeForResponse, + ) from .group_0136 import ( RepositoryRuleCommitMessagePatternPropParametersType as RepositoryRuleCommitMessagePatternPropParametersType, ) + from .group_0136 import ( + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse as RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, + ) from .group_0137 import ( RepositoryRuleCommitAuthorEmailPatternType as RepositoryRuleCommitAuthorEmailPatternType, ) + from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternTypeForResponse as RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + ) from .group_0138 import ( RepositoryRuleCommitAuthorEmailPatternPropParametersType as RepositoryRuleCommitAuthorEmailPatternPropParametersType, ) + from .group_0138 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse as RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, + ) from .group_0139 import ( RepositoryRuleCommitterEmailPatternType as RepositoryRuleCommitterEmailPatternType, ) + from .group_0139 import ( + RepositoryRuleCommitterEmailPatternTypeForResponse as RepositoryRuleCommitterEmailPatternTypeForResponse, + ) from .group_0140 import ( RepositoryRuleCommitterEmailPatternPropParametersType as RepositoryRuleCommitterEmailPatternPropParametersType, ) + from .group_0140 import ( + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse as RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, + ) from .group_0141 import ( RepositoryRuleBranchNamePatternType as RepositoryRuleBranchNamePatternType, ) + from .group_0141 import ( + RepositoryRuleBranchNamePatternTypeForResponse as RepositoryRuleBranchNamePatternTypeForResponse, + ) from .group_0142 import ( RepositoryRuleBranchNamePatternPropParametersType as RepositoryRuleBranchNamePatternPropParametersType, ) + from .group_0142 import ( + RepositoryRuleBranchNamePatternPropParametersTypeForResponse as RepositoryRuleBranchNamePatternPropParametersTypeForResponse, + ) from .group_0143 import ( RepositoryRuleTagNamePatternType as RepositoryRuleTagNamePatternType, ) + from .group_0143 import ( + RepositoryRuleTagNamePatternTypeForResponse as RepositoryRuleTagNamePatternTypeForResponse, + ) from .group_0144 import ( RepositoryRuleTagNamePatternPropParametersType as RepositoryRuleTagNamePatternPropParametersType, ) + from .group_0144 import ( + RepositoryRuleTagNamePatternPropParametersTypeForResponse as RepositoryRuleTagNamePatternPropParametersTypeForResponse, + ) from .group_0145 import ( RepositoryRuleFilePathRestrictionType as RepositoryRuleFilePathRestrictionType, ) + from .group_0145 import ( + RepositoryRuleFilePathRestrictionTypeForResponse as RepositoryRuleFilePathRestrictionTypeForResponse, + ) from .group_0146 import ( RepositoryRuleFilePathRestrictionPropParametersType as RepositoryRuleFilePathRestrictionPropParametersType, ) + from .group_0146 import ( + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse as RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, + ) from .group_0147 import ( RepositoryRuleMaxFilePathLengthType as RepositoryRuleMaxFilePathLengthType, ) + from .group_0147 import ( + RepositoryRuleMaxFilePathLengthTypeForResponse as RepositoryRuleMaxFilePathLengthTypeForResponse, + ) from .group_0148 import ( RepositoryRuleMaxFilePathLengthPropParametersType as RepositoryRuleMaxFilePathLengthPropParametersType, ) + from .group_0148 import ( + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse as RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, + ) from .group_0149 import ( RepositoryRuleFileExtensionRestrictionType as RepositoryRuleFileExtensionRestrictionType, ) + from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionTypeForResponse as RepositoryRuleFileExtensionRestrictionTypeForResponse, + ) from .group_0150 import ( RepositoryRuleFileExtensionRestrictionPropParametersType as RepositoryRuleFileExtensionRestrictionPropParametersType, ) + from .group_0150 import ( + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse as RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, + ) from .group_0151 import ( RepositoryRuleMaxFileSizeType as RepositoryRuleMaxFileSizeType, ) + from .group_0151 import ( + RepositoryRuleMaxFileSizeTypeForResponse as RepositoryRuleMaxFileSizeTypeForResponse, + ) from .group_0152 import ( RepositoryRuleMaxFileSizePropParametersType as RepositoryRuleMaxFileSizePropParametersType, ) + from .group_0152 import ( + RepositoryRuleMaxFileSizePropParametersTypeForResponse as RepositoryRuleMaxFileSizePropParametersTypeForResponse, + ) from .group_0153 import ( RepositoryRuleParamsRestrictedCommitsType as RepositoryRuleParamsRestrictedCommitsType, ) + from .group_0153 import ( + RepositoryRuleParamsRestrictedCommitsTypeForResponse as RepositoryRuleParamsRestrictedCommitsTypeForResponse, + ) from .group_0154 import RepositoryRuleWorkflowsType as RepositoryRuleWorkflowsType + from .group_0154 import ( + RepositoryRuleWorkflowsTypeForResponse as RepositoryRuleWorkflowsTypeForResponse, + ) from .group_0155 import ( RepositoryRuleParamsWorkflowFileReferenceType as RepositoryRuleParamsWorkflowFileReferenceType, ) + from .group_0155 import ( + RepositoryRuleParamsWorkflowFileReferenceTypeForResponse as RepositoryRuleParamsWorkflowFileReferenceTypeForResponse, + ) from .group_0155 import ( RepositoryRuleWorkflowsPropParametersType as RepositoryRuleWorkflowsPropParametersType, ) + from .group_0155 import ( + RepositoryRuleWorkflowsPropParametersTypeForResponse as RepositoryRuleWorkflowsPropParametersTypeForResponse, + ) from .group_0156 import ( RepositoryRuleCodeScanningType as RepositoryRuleCodeScanningType, ) + from .group_0156 import ( + RepositoryRuleCodeScanningTypeForResponse as RepositoryRuleCodeScanningTypeForResponse, + ) from .group_0157 import ( RepositoryRuleCodeScanningPropParametersType as RepositoryRuleCodeScanningPropParametersType, ) + from .group_0157 import ( + RepositoryRuleCodeScanningPropParametersTypeForResponse as RepositoryRuleCodeScanningPropParametersTypeForResponse, + ) from .group_0157 import ( RepositoryRuleParamsCodeScanningToolType as RepositoryRuleParamsCodeScanningToolType, ) + from .group_0157 import ( + RepositoryRuleParamsCodeScanningToolTypeForResponse as RepositoryRuleParamsCodeScanningToolTypeForResponse, + ) from .group_0158 import ( RepositoryRulesetConditionsRepositoryIdTargetType as RepositoryRulesetConditionsRepositoryIdTargetType, ) + from .group_0158 import ( + RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse as RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse, + ) from .group_0159 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType as RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, ) + from .group_0159 import ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse as RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, + ) from .group_0160 import ( OrgRulesetConditionsOneof0Type as OrgRulesetConditionsOneof0Type, ) + from .group_0160 import ( + OrgRulesetConditionsOneof0TypeForResponse as OrgRulesetConditionsOneof0TypeForResponse, + ) from .group_0161 import ( OrgRulesetConditionsOneof1Type as OrgRulesetConditionsOneof1Type, ) + from .group_0161 import ( + OrgRulesetConditionsOneof1TypeForResponse as OrgRulesetConditionsOneof1TypeForResponse, + ) from .group_0162 import ( OrgRulesetConditionsOneof2Type as OrgRulesetConditionsOneof2Type, ) + from .group_0162 import ( + OrgRulesetConditionsOneof2TypeForResponse as OrgRulesetConditionsOneof2TypeForResponse, + ) from .group_0163 import RepositoryRuleMergeQueueType as RepositoryRuleMergeQueueType + from .group_0163 import ( + RepositoryRuleMergeQueueTypeForResponse as RepositoryRuleMergeQueueTypeForResponse, + ) from .group_0164 import ( RepositoryRuleMergeQueuePropParametersType as RepositoryRuleMergeQueuePropParametersType, ) + from .group_0164 import ( + RepositoryRuleMergeQueuePropParametersTypeForResponse as RepositoryRuleMergeQueuePropParametersTypeForResponse, + ) from .group_0165 import ( RepositoryRuleCopilotCodeReviewType as RepositoryRuleCopilotCodeReviewType, ) + from .group_0165 import ( + RepositoryRuleCopilotCodeReviewTypeForResponse as RepositoryRuleCopilotCodeReviewTypeForResponse, + ) from .group_0166 import ( RepositoryRuleCopilotCodeReviewPropParametersType as RepositoryRuleCopilotCodeReviewPropParametersType, ) + from .group_0166 import ( + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse as RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, + ) from .group_0167 import ( RepositoryRulesetPropLinksPropHtmlType as RepositoryRulesetPropLinksPropHtmlType, ) + from .group_0167 import ( + RepositoryRulesetPropLinksPropHtmlTypeForResponse as RepositoryRulesetPropLinksPropHtmlTypeForResponse, + ) from .group_0167 import ( RepositoryRulesetPropLinksPropSelfType as RepositoryRulesetPropLinksPropSelfType, ) + from .group_0167 import ( + RepositoryRulesetPropLinksPropSelfTypeForResponse as RepositoryRulesetPropLinksPropSelfTypeForResponse, + ) from .group_0167 import ( RepositoryRulesetPropLinksType as RepositoryRulesetPropLinksType, ) + from .group_0167 import ( + RepositoryRulesetPropLinksTypeForResponse as RepositoryRulesetPropLinksTypeForResponse, + ) from .group_0167 import RepositoryRulesetType as RepositoryRulesetType + from .group_0167 import ( + RepositoryRulesetTypeForResponse as RepositoryRulesetTypeForResponse, + ) from .group_0168 import RulesetVersionType as RulesetVersionType + from .group_0168 import ( + RulesetVersionTypeForResponse as RulesetVersionTypeForResponse, + ) from .group_0169 import RulesetVersionPropActorType as RulesetVersionPropActorType + from .group_0169 import ( + RulesetVersionPropActorTypeForResponse as RulesetVersionPropActorTypeForResponse, + ) from .group_0170 import RulesetVersionWithStateType as RulesetVersionWithStateType + from .group_0170 import ( + RulesetVersionWithStateTypeForResponse as RulesetVersionWithStateTypeForResponse, + ) from .group_0171 import ( RulesetVersionWithStateAllof1Type as RulesetVersionWithStateAllof1Type, ) + from .group_0171 import ( + RulesetVersionWithStateAllof1TypeForResponse as RulesetVersionWithStateAllof1TypeForResponse, + ) from .group_0172 import ( RulesetVersionWithStateAllof1PropStateType as RulesetVersionWithStateAllof1PropStateType, ) + from .group_0172 import ( + RulesetVersionWithStateAllof1PropStateTypeForResponse as RulesetVersionWithStateAllof1PropStateTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationCommitType as SecretScanningLocationCommitType, ) + from .group_0173 import ( + SecretScanningLocationCommitTypeForResponse as SecretScanningLocationCommitTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationDiscussionCommentType as SecretScanningLocationDiscussionCommentType, ) + from .group_0173 import ( + SecretScanningLocationDiscussionCommentTypeForResponse as SecretScanningLocationDiscussionCommentTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationDiscussionTitleType as SecretScanningLocationDiscussionTitleType, ) + from .group_0173 import ( + SecretScanningLocationDiscussionTitleTypeForResponse as SecretScanningLocationDiscussionTitleTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationIssueBodyType as SecretScanningLocationIssueBodyType, ) + from .group_0173 import ( + SecretScanningLocationIssueBodyTypeForResponse as SecretScanningLocationIssueBodyTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationPullRequestBodyType as SecretScanningLocationPullRequestBodyType, ) + from .group_0173 import ( + SecretScanningLocationPullRequestBodyTypeForResponse as SecretScanningLocationPullRequestBodyTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationPullRequestReviewType as SecretScanningLocationPullRequestReviewType, ) + from .group_0173 import ( + SecretScanningLocationPullRequestReviewTypeForResponse as SecretScanningLocationPullRequestReviewTypeForResponse, + ) from .group_0173 import ( SecretScanningLocationWikiCommitType as SecretScanningLocationWikiCommitType, ) + from .group_0173 import ( + SecretScanningLocationWikiCommitTypeForResponse as SecretScanningLocationWikiCommitTypeForResponse, + ) from .group_0174 import ( SecretScanningLocationIssueCommentType as SecretScanningLocationIssueCommentType, ) + from .group_0174 import ( + SecretScanningLocationIssueCommentTypeForResponse as SecretScanningLocationIssueCommentTypeForResponse, + ) from .group_0174 import ( SecretScanningLocationIssueTitleType as SecretScanningLocationIssueTitleType, ) + from .group_0174 import ( + SecretScanningLocationIssueTitleTypeForResponse as SecretScanningLocationIssueTitleTypeForResponse, + ) from .group_0174 import ( SecretScanningLocationPullRequestReviewCommentType as SecretScanningLocationPullRequestReviewCommentType, ) + from .group_0174 import ( + SecretScanningLocationPullRequestReviewCommentTypeForResponse as SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ) from .group_0174 import ( SecretScanningLocationPullRequestTitleType as SecretScanningLocationPullRequestTitleType, ) + from .group_0174 import ( + SecretScanningLocationPullRequestTitleTypeForResponse as SecretScanningLocationPullRequestTitleTypeForResponse, + ) from .group_0175 import ( SecretScanningLocationDiscussionBodyType as SecretScanningLocationDiscussionBodyType, ) + from .group_0175 import ( + SecretScanningLocationDiscussionBodyTypeForResponse as SecretScanningLocationDiscussionBodyTypeForResponse, + ) from .group_0175 import ( SecretScanningLocationPullRequestCommentType as SecretScanningLocationPullRequestCommentType, ) + from .group_0175 import ( + SecretScanningLocationPullRequestCommentTypeForResponse as SecretScanningLocationPullRequestCommentTypeForResponse, + ) from .group_0176 import ( OrganizationSecretScanningAlertType as OrganizationSecretScanningAlertType, ) + from .group_0176 import ( + OrganizationSecretScanningAlertTypeForResponse as OrganizationSecretScanningAlertTypeForResponse, + ) from .group_0177 import ( SecretScanningPatternConfigurationType as SecretScanningPatternConfigurationType, ) + from .group_0177 import ( + SecretScanningPatternConfigurationTypeForResponse as SecretScanningPatternConfigurationTypeForResponse, + ) from .group_0177 import ( SecretScanningPatternOverrideType as SecretScanningPatternOverrideType, ) + from .group_0177 import ( + SecretScanningPatternOverrideTypeForResponse as SecretScanningPatternOverrideTypeForResponse, + ) from .group_0178 import ( ActionsBillingUsagePropMinutesUsedBreakdownType as ActionsBillingUsagePropMinutesUsedBreakdownType, ) + from .group_0178 import ( + ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse as ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse, + ) from .group_0178 import ActionsBillingUsageType as ActionsBillingUsageType + from .group_0178 import ( + ActionsBillingUsageTypeForResponse as ActionsBillingUsageTypeForResponse, + ) from .group_0179 import ( AdvancedSecurityActiveCommittersRepositoryType as AdvancedSecurityActiveCommittersRepositoryType, ) + from .group_0179 import ( + AdvancedSecurityActiveCommittersRepositoryTypeForResponse as AdvancedSecurityActiveCommittersRepositoryTypeForResponse, + ) from .group_0179 import ( AdvancedSecurityActiveCommittersType as AdvancedSecurityActiveCommittersType, ) + from .group_0179 import ( + AdvancedSecurityActiveCommittersTypeForResponse as AdvancedSecurityActiveCommittersTypeForResponse, + ) from .group_0179 import ( AdvancedSecurityActiveCommittersUserType as AdvancedSecurityActiveCommittersUserType, ) + from .group_0179 import ( + AdvancedSecurityActiveCommittersUserTypeForResponse as AdvancedSecurityActiveCommittersUserTypeForResponse, + ) from .group_0180 import BudgetPropBudgetAlertingType as BudgetPropBudgetAlertingType + from .group_0180 import ( + BudgetPropBudgetAlertingTypeForResponse as BudgetPropBudgetAlertingTypeForResponse, + ) from .group_0180 import BudgetType as BudgetType + from .group_0180 import BudgetTypeForResponse as BudgetTypeForResponse from .group_0180 import GetAllBudgetsType as GetAllBudgetsType + from .group_0180 import GetAllBudgetsTypeForResponse as GetAllBudgetsTypeForResponse from .group_0181 import ( CreateBudgetPropBudgetPropBudgetAlertingType as CreateBudgetPropBudgetPropBudgetAlertingType, ) + from .group_0181 import ( + CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse as CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse, + ) from .group_0181 import CreateBudgetPropBudgetType as CreateBudgetPropBudgetType + from .group_0181 import ( + CreateBudgetPropBudgetTypeForResponse as CreateBudgetPropBudgetTypeForResponse, + ) from .group_0181 import CreateBudgetType as CreateBudgetType + from .group_0181 import CreateBudgetTypeForResponse as CreateBudgetTypeForResponse from .group_0182 import ( GetBudgetPropBudgetAlertingType as GetBudgetPropBudgetAlertingType, ) + from .group_0182 import ( + GetBudgetPropBudgetAlertingTypeForResponse as GetBudgetPropBudgetAlertingTypeForResponse, + ) from .group_0182 import GetBudgetType as GetBudgetType + from .group_0182 import GetBudgetTypeForResponse as GetBudgetTypeForResponse from .group_0183 import ( UpdateBudgetPropBudgetPropBudgetAlertingType as UpdateBudgetPropBudgetPropBudgetAlertingType, ) + from .group_0183 import ( + UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse as UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse, + ) from .group_0183 import UpdateBudgetPropBudgetType as UpdateBudgetPropBudgetType + from .group_0183 import ( + UpdateBudgetPropBudgetTypeForResponse as UpdateBudgetPropBudgetTypeForResponse, + ) from .group_0183 import UpdateBudgetType as UpdateBudgetType + from .group_0183 import UpdateBudgetTypeForResponse as UpdateBudgetTypeForResponse from .group_0184 import DeleteBudgetType as DeleteBudgetType + from .group_0184 import DeleteBudgetTypeForResponse as DeleteBudgetTypeForResponse from .group_0185 import ( GetAllCostCentersPropCostCentersItemsPropResourcesItemsType as GetAllCostCentersPropCostCentersItemsPropResourcesItemsType, ) + from .group_0185 import ( + GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse as GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse, + ) from .group_0185 import ( GetAllCostCentersPropCostCentersItemsType as GetAllCostCentersPropCostCentersItemsType, ) + from .group_0185 import ( + GetAllCostCentersPropCostCentersItemsTypeForResponse as GetAllCostCentersPropCostCentersItemsTypeForResponse, + ) from .group_0185 import GetAllCostCentersType as GetAllCostCentersType + from .group_0185 import ( + GetAllCostCentersTypeForResponse as GetAllCostCentersTypeForResponse, + ) from .group_0186 import ( GetCostCenterPropResourcesItemsType as GetCostCenterPropResourcesItemsType, ) + from .group_0186 import ( + GetCostCenterPropResourcesItemsTypeForResponse as GetCostCenterPropResourcesItemsTypeForResponse, + ) from .group_0186 import GetCostCenterType as GetCostCenterType + from .group_0186 import GetCostCenterTypeForResponse as GetCostCenterTypeForResponse from .group_0187 import DeleteCostCenterType as DeleteCostCenterType + from .group_0187 import ( + DeleteCostCenterTypeForResponse as DeleteCostCenterTypeForResponse, + ) from .group_0188 import PackagesBillingUsageType as PackagesBillingUsageType + from .group_0188 import ( + PackagesBillingUsageTypeForResponse as PackagesBillingUsageTypeForResponse, + ) from .group_0189 import ( BillingPremiumRequestUsageReportGhePropCostCenterType as BillingPremiumRequestUsageReportGhePropCostCenterType, ) + from .group_0189 import ( + BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse as BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse, + ) from .group_0189 import ( BillingPremiumRequestUsageReportGhePropTimePeriodType as BillingPremiumRequestUsageReportGhePropTimePeriodType, ) + from .group_0189 import ( + BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse as BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse, + ) from .group_0189 import ( BillingPremiumRequestUsageReportGhePropUsageItemsItemsType as BillingPremiumRequestUsageReportGhePropUsageItemsItemsType, ) + from .group_0189 import ( + BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse as BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse, + ) from .group_0189 import ( BillingPremiumRequestUsageReportGheType as BillingPremiumRequestUsageReportGheType, ) + from .group_0189 import ( + BillingPremiumRequestUsageReportGheTypeForResponse as BillingPremiumRequestUsageReportGheTypeForResponse, + ) from .group_0190 import CombinedBillingUsageType as CombinedBillingUsageType + from .group_0190 import ( + CombinedBillingUsageTypeForResponse as CombinedBillingUsageTypeForResponse, + ) from .group_0191 import ( BillingUsageReportPropUsageItemsItemsType as BillingUsageReportPropUsageItemsItemsType, ) + from .group_0191 import ( + BillingUsageReportPropUsageItemsItemsTypeForResponse as BillingUsageReportPropUsageItemsItemsTypeForResponse, + ) from .group_0191 import BillingUsageReportType as BillingUsageReportType + from .group_0191 import ( + BillingUsageReportTypeForResponse as BillingUsageReportTypeForResponse, + ) from .group_0192 import ( BillingUsageSummaryReportGhePropCostCenterType as BillingUsageSummaryReportGhePropCostCenterType, ) + from .group_0192 import ( + BillingUsageSummaryReportGhePropCostCenterTypeForResponse as BillingUsageSummaryReportGhePropCostCenterTypeForResponse, + ) from .group_0192 import ( BillingUsageSummaryReportGhePropTimePeriodType as BillingUsageSummaryReportGhePropTimePeriodType, ) + from .group_0192 import ( + BillingUsageSummaryReportGhePropTimePeriodTypeForResponse as BillingUsageSummaryReportGhePropTimePeriodTypeForResponse, + ) from .group_0192 import ( BillingUsageSummaryReportGhePropUsageItemsItemsType as BillingUsageSummaryReportGhePropUsageItemsItemsType, ) + from .group_0192 import ( + BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse as BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse, + ) from .group_0192 import ( BillingUsageSummaryReportGheType as BillingUsageSummaryReportGheType, ) + from .group_0192 import ( + BillingUsageSummaryReportGheTypeForResponse as BillingUsageSummaryReportGheTypeForResponse, + ) from .group_0193 import MilestoneType as MilestoneType + from .group_0193 import MilestoneTypeForResponse as MilestoneTypeForResponse from .group_0194 import IssueTypeType as IssueTypeType + from .group_0194 import IssueTypeTypeForResponse as IssueTypeTypeForResponse from .group_0195 import ReactionRollupType as ReactionRollupType + from .group_0195 import ( + ReactionRollupTypeForResponse as ReactionRollupTypeForResponse, + ) from .group_0196 import IssueDependenciesSummaryType as IssueDependenciesSummaryType + from .group_0196 import ( + IssueDependenciesSummaryTypeForResponse as IssueDependenciesSummaryTypeForResponse, + ) from .group_0196 import SubIssuesSummaryType as SubIssuesSummaryType + from .group_0196 import ( + SubIssuesSummaryTypeForResponse as SubIssuesSummaryTypeForResponse, + ) from .group_0197 import ( IssueFieldValuePropSingleSelectOptionType as IssueFieldValuePropSingleSelectOptionType, ) + from .group_0197 import ( + IssueFieldValuePropSingleSelectOptionTypeForResponse as IssueFieldValuePropSingleSelectOptionTypeForResponse, + ) from .group_0197 import IssueFieldValueType as IssueFieldValueType + from .group_0197 import ( + IssueFieldValueTypeForResponse as IssueFieldValueTypeForResponse, + ) from .group_0198 import ( IssuePropLabelsItemsOneof1Type as IssuePropLabelsItemsOneof1Type, ) + from .group_0198 import ( + IssuePropLabelsItemsOneof1TypeForResponse as IssuePropLabelsItemsOneof1TypeForResponse, + ) from .group_0198 import IssuePropPullRequestType as IssuePropPullRequestType + from .group_0198 import ( + IssuePropPullRequestTypeForResponse as IssuePropPullRequestTypeForResponse, + ) from .group_0198 import IssueType as IssueType + from .group_0198 import IssueTypeForResponse as IssueTypeForResponse from .group_0199 import IssueCommentType as IssueCommentType + from .group_0199 import IssueCommentTypeForResponse as IssueCommentTypeForResponse from .group_0200 import ActorType as ActorType + from .group_0200 import ActorTypeForResponse as ActorTypeForResponse from .group_0200 import ( EventPropPayloadPropPagesItemsType as EventPropPayloadPropPagesItemsType, ) + from .group_0200 import ( + EventPropPayloadPropPagesItemsTypeForResponse as EventPropPayloadPropPagesItemsTypeForResponse, + ) from .group_0200 import EventPropPayloadType as EventPropPayloadType + from .group_0200 import ( + EventPropPayloadTypeForResponse as EventPropPayloadTypeForResponse, + ) from .group_0200 import EventPropRepoType as EventPropRepoType + from .group_0200 import EventPropRepoTypeForResponse as EventPropRepoTypeForResponse from .group_0200 import EventType as EventType + from .group_0200 import EventTypeForResponse as EventTypeForResponse from .group_0201 import FeedPropLinksType as FeedPropLinksType + from .group_0201 import FeedPropLinksTypeForResponse as FeedPropLinksTypeForResponse from .group_0201 import FeedType as FeedType + from .group_0201 import FeedTypeForResponse as FeedTypeForResponse from .group_0201 import LinkWithTypeType as LinkWithTypeType + from .group_0201 import LinkWithTypeTypeForResponse as LinkWithTypeTypeForResponse from .group_0202 import BaseGistPropFilesType as BaseGistPropFilesType + from .group_0202 import ( + BaseGistPropFilesTypeForResponse as BaseGistPropFilesTypeForResponse, + ) from .group_0202 import BaseGistType as BaseGistType + from .group_0202 import BaseGistTypeForResponse as BaseGistTypeForResponse from .group_0203 import ( GistHistoryPropChangeStatusType as GistHistoryPropChangeStatusType, ) + from .group_0203 import ( + GistHistoryPropChangeStatusTypeForResponse as GistHistoryPropChangeStatusTypeForResponse, + ) from .group_0203 import GistHistoryType as GistHistoryType + from .group_0203 import GistHistoryTypeForResponse as GistHistoryTypeForResponse from .group_0203 import ( GistSimplePropForkOfPropFilesType as GistSimplePropForkOfPropFilesType, ) + from .group_0203 import ( + GistSimplePropForkOfPropFilesTypeForResponse as GistSimplePropForkOfPropFilesTypeForResponse, + ) from .group_0203 import GistSimplePropForkOfType as GistSimplePropForkOfType + from .group_0203 import ( + GistSimplePropForkOfTypeForResponse as GistSimplePropForkOfTypeForResponse, + ) from .group_0204 import GistSimplePropFilesType as GistSimplePropFilesType + from .group_0204 import ( + GistSimplePropFilesTypeForResponse as GistSimplePropFilesTypeForResponse, + ) from .group_0204 import GistSimplePropForksItemsType as GistSimplePropForksItemsType + from .group_0204 import ( + GistSimplePropForksItemsTypeForResponse as GistSimplePropForksItemsTypeForResponse, + ) from .group_0204 import GistSimpleType as GistSimpleType + from .group_0204 import GistSimpleTypeForResponse as GistSimpleTypeForResponse from .group_0204 import PublicUserPropPlanType as PublicUserPropPlanType + from .group_0204 import ( + PublicUserPropPlanTypeForResponse as PublicUserPropPlanTypeForResponse, + ) from .group_0204 import PublicUserType as PublicUserType + from .group_0204 import PublicUserTypeForResponse as PublicUserTypeForResponse from .group_0205 import GistCommentType as GistCommentType + from .group_0205 import GistCommentTypeForResponse as GistCommentTypeForResponse from .group_0206 import ( GistCommitPropChangeStatusType as GistCommitPropChangeStatusType, ) + from .group_0206 import ( + GistCommitPropChangeStatusTypeForResponse as GistCommitPropChangeStatusTypeForResponse, + ) from .group_0206 import GistCommitType as GistCommitType + from .group_0206 import GistCommitTypeForResponse as GistCommitTypeForResponse from .group_0207 import GitignoreTemplateType as GitignoreTemplateType + from .group_0207 import ( + GitignoreTemplateTypeForResponse as GitignoreTemplateTypeForResponse, + ) from .group_0208 import LicenseType as LicenseType + from .group_0208 import LicenseTypeForResponse as LicenseTypeForResponse from .group_0209 import MarketplaceListingPlanType as MarketplaceListingPlanType + from .group_0209 import ( + MarketplaceListingPlanTypeForResponse as MarketplaceListingPlanTypeForResponse, + ) from .group_0210 import MarketplacePurchaseType as MarketplacePurchaseType + from .group_0210 import ( + MarketplacePurchaseTypeForResponse as MarketplacePurchaseTypeForResponse, + ) from .group_0211 import ( MarketplacePurchasePropMarketplacePendingChangeType as MarketplacePurchasePropMarketplacePendingChangeType, ) + from .group_0211 import ( + MarketplacePurchasePropMarketplacePendingChangeTypeForResponse as MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, + ) from .group_0211 import ( MarketplacePurchasePropMarketplacePurchaseType as MarketplacePurchasePropMarketplacePurchaseType, ) + from .group_0211 import ( + MarketplacePurchasePropMarketplacePurchaseTypeForResponse as MarketplacePurchasePropMarketplacePurchaseTypeForResponse, + ) from .group_0212 import ( ApiOverviewPropDomainsPropActionsInboundType as ApiOverviewPropDomainsPropActionsInboundType, ) + from .group_0212 import ( + ApiOverviewPropDomainsPropActionsInboundTypeForResponse as ApiOverviewPropDomainsPropActionsInboundTypeForResponse, + ) from .group_0212 import ( ApiOverviewPropDomainsPropArtifactAttestationsType as ApiOverviewPropDomainsPropArtifactAttestationsType, ) + from .group_0212 import ( + ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse as ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse, + ) from .group_0212 import ApiOverviewPropDomainsType as ApiOverviewPropDomainsType + from .group_0212 import ( + ApiOverviewPropDomainsTypeForResponse as ApiOverviewPropDomainsTypeForResponse, + ) from .group_0212 import ( ApiOverviewPropSshKeyFingerprintsType as ApiOverviewPropSshKeyFingerprintsType, ) + from .group_0212 import ( + ApiOverviewPropSshKeyFingerprintsTypeForResponse as ApiOverviewPropSshKeyFingerprintsTypeForResponse, + ) from .group_0212 import ApiOverviewType as ApiOverviewType + from .group_0212 import ApiOverviewTypeForResponse as ApiOverviewTypeForResponse from .group_0213 import ( SecurityAndAnalysisPropAdvancedSecurityType as SecurityAndAnalysisPropAdvancedSecurityType, ) + from .group_0213 import ( + SecurityAndAnalysisPropAdvancedSecurityTypeForResponse as SecurityAndAnalysisPropAdvancedSecurityTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropCodeSecurityType as SecurityAndAnalysisPropCodeSecurityType, ) + from .group_0213 import ( + SecurityAndAnalysisPropCodeSecurityTypeForResponse as SecurityAndAnalysisPropCodeSecurityTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropDependabotSecurityUpdatesType as SecurityAndAnalysisPropDependabotSecurityUpdatesType, ) + from .group_0213 import ( + SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse as SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropSecretScanningAiDetectionType as SecurityAndAnalysisPropSecretScanningAiDetectionType, ) + from .group_0213 import ( + SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse as SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropSecretScanningNonProviderPatternsType as SecurityAndAnalysisPropSecretScanningNonProviderPatternsType, ) + from .group_0213 import ( + SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse as SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropSecretScanningPushProtectionType as SecurityAndAnalysisPropSecretScanningPushProtectionType, ) + from .group_0213 import ( + SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse as SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropSecretScanningType as SecurityAndAnalysisPropSecretScanningType, ) + from .group_0213 import ( + SecurityAndAnalysisPropSecretScanningTypeForResponse as SecurityAndAnalysisPropSecretScanningTypeForResponse, + ) from .group_0213 import ( SecurityAndAnalysisPropSecretScanningValidityChecksType as SecurityAndAnalysisPropSecretScanningValidityChecksType, ) + from .group_0213 import ( + SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse as SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse, + ) from .group_0213 import SecurityAndAnalysisType as SecurityAndAnalysisType + from .group_0213 import ( + SecurityAndAnalysisTypeForResponse as SecurityAndAnalysisTypeForResponse, + ) from .group_0214 import CodeOfConductType as CodeOfConductType + from .group_0214 import CodeOfConductTypeForResponse as CodeOfConductTypeForResponse from .group_0214 import ( MinimalRepositoryPropCustomPropertiesType as MinimalRepositoryPropCustomPropertiesType, ) + from .group_0214 import ( + MinimalRepositoryPropCustomPropertiesTypeForResponse as MinimalRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0214 import ( MinimalRepositoryPropLicenseType as MinimalRepositoryPropLicenseType, ) + from .group_0214 import ( + MinimalRepositoryPropLicenseTypeForResponse as MinimalRepositoryPropLicenseTypeForResponse, + ) from .group_0214 import ( MinimalRepositoryPropPermissionsType as MinimalRepositoryPropPermissionsType, ) + from .group_0214 import ( + MinimalRepositoryPropPermissionsTypeForResponse as MinimalRepositoryPropPermissionsTypeForResponse, + ) from .group_0214 import MinimalRepositoryType as MinimalRepositoryType + from .group_0214 import ( + MinimalRepositoryTypeForResponse as MinimalRepositoryTypeForResponse, + ) from .group_0215 import ThreadPropSubjectType as ThreadPropSubjectType + from .group_0215 import ( + ThreadPropSubjectTypeForResponse as ThreadPropSubjectTypeForResponse, + ) from .group_0215 import ThreadType as ThreadType + from .group_0215 import ThreadTypeForResponse as ThreadTypeForResponse from .group_0216 import ThreadSubscriptionType as ThreadSubscriptionType + from .group_0216 import ( + ThreadSubscriptionTypeForResponse as ThreadSubscriptionTypeForResponse, + ) from .group_0217 import ( OrganizationCustomRepositoryRoleType as OrganizationCustomRepositoryRoleType, ) + from .group_0217 import ( + OrganizationCustomRepositoryRoleTypeForResponse as OrganizationCustomRepositoryRoleTypeForResponse, + ) from .group_0218 import ( DependabotRepositoryAccessDetailsType as DependabotRepositoryAccessDetailsType, ) + from .group_0218 import ( + DependabotRepositoryAccessDetailsTypeForResponse as DependabotRepositoryAccessDetailsTypeForResponse, + ) from .group_0219 import ( BillingPremiumRequestUsageReportOrgPropTimePeriodType as BillingPremiumRequestUsageReportOrgPropTimePeriodType, ) + from .group_0219 import ( + BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse as BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse, + ) from .group_0219 import ( BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType as BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType, ) + from .group_0219 import ( + BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse as BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse, + ) from .group_0219 import ( BillingPremiumRequestUsageReportOrgType as BillingPremiumRequestUsageReportOrgType, ) + from .group_0219 import ( + BillingPremiumRequestUsageReportOrgTypeForResponse as BillingPremiumRequestUsageReportOrgTypeForResponse, + ) from .group_0220 import ( BillingUsageSummaryReportOrgPropTimePeriodType as BillingUsageSummaryReportOrgPropTimePeriodType, ) + from .group_0220 import ( + BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse as BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse, + ) from .group_0220 import ( BillingUsageSummaryReportOrgPropUsageItemsItemsType as BillingUsageSummaryReportOrgPropUsageItemsItemsType, ) + from .group_0220 import ( + BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse as BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse, + ) from .group_0220 import ( BillingUsageSummaryReportOrgType as BillingUsageSummaryReportOrgType, ) + from .group_0220 import ( + BillingUsageSummaryReportOrgTypeForResponse as BillingUsageSummaryReportOrgTypeForResponse, + ) from .group_0221 import OrganizationFullPropPlanType as OrganizationFullPropPlanType + from .group_0221 import ( + OrganizationFullPropPlanTypeForResponse as OrganizationFullPropPlanTypeForResponse, + ) from .group_0221 import OrganizationFullType as OrganizationFullType + from .group_0221 import ( + OrganizationFullTypeForResponse as OrganizationFullTypeForResponse, + ) from .group_0222 import OidcCustomSubType as OidcCustomSubType + from .group_0222 import OidcCustomSubTypeForResponse as OidcCustomSubTypeForResponse from .group_0223 import ( ActionsOrganizationPermissionsType as ActionsOrganizationPermissionsType, ) + from .group_0223 import ( + ActionsOrganizationPermissionsTypeForResponse as ActionsOrganizationPermissionsTypeForResponse, + ) from .group_0224 import ( SelfHostedRunnersSettingsType as SelfHostedRunnersSettingsType, ) + from .group_0224 import ( + SelfHostedRunnersSettingsTypeForResponse as SelfHostedRunnersSettingsTypeForResponse, + ) from .group_0225 import ActionsPublicKeyType as ActionsPublicKeyType + from .group_0225 import ( + ActionsPublicKeyTypeForResponse as ActionsPublicKeyTypeForResponse, + ) from .group_0226 import ( CampaignSummaryPropAlertStatsType as CampaignSummaryPropAlertStatsType, ) + from .group_0226 import ( + CampaignSummaryPropAlertStatsTypeForResponse as CampaignSummaryPropAlertStatsTypeForResponse, + ) from .group_0226 import CampaignSummaryType as CampaignSummaryType + from .group_0226 import ( + CampaignSummaryTypeForResponse as CampaignSummaryTypeForResponse, + ) from .group_0227 import CodespaceMachineType as CodespaceMachineType + from .group_0227 import ( + CodespaceMachineTypeForResponse as CodespaceMachineTypeForResponse, + ) from .group_0228 import CodespacePropGitStatusType as CodespacePropGitStatusType + from .group_0228 import ( + CodespacePropGitStatusTypeForResponse as CodespacePropGitStatusTypeForResponse, + ) from .group_0228 import ( CodespacePropRuntimeConstraintsType as CodespacePropRuntimeConstraintsType, ) + from .group_0228 import ( + CodespacePropRuntimeConstraintsTypeForResponse as CodespacePropRuntimeConstraintsTypeForResponse, + ) from .group_0228 import CodespaceType as CodespaceType + from .group_0228 import CodespaceTypeForResponse as CodespaceTypeForResponse from .group_0229 import CodespacesPublicKeyType as CodespacesPublicKeyType + from .group_0229 import ( + CodespacesPublicKeyTypeForResponse as CodespacesPublicKeyTypeForResponse, + ) from .group_0230 import ( CopilotOrganizationDetailsType as CopilotOrganizationDetailsType, ) + from .group_0230 import ( + CopilotOrganizationDetailsTypeForResponse as CopilotOrganizationDetailsTypeForResponse, + ) from .group_0230 import ( CopilotOrganizationSeatBreakdownType as CopilotOrganizationSeatBreakdownType, ) + from .group_0230 import ( + CopilotOrganizationSeatBreakdownTypeForResponse as CopilotOrganizationSeatBreakdownTypeForResponse, + ) from .group_0231 import CredentialAuthorizationType as CredentialAuthorizationType + from .group_0231 import ( + CredentialAuthorizationTypeForResponse as CredentialAuthorizationTypeForResponse, + ) from .group_0232 import ( OrganizationCustomRepositoryRoleCreateSchemaType as OrganizationCustomRepositoryRoleCreateSchemaType, ) + from .group_0232 import ( + OrganizationCustomRepositoryRoleCreateSchemaTypeForResponse as OrganizationCustomRepositoryRoleCreateSchemaTypeForResponse, + ) from .group_0233 import ( OrganizationCustomRepositoryRoleUpdateSchemaType as OrganizationCustomRepositoryRoleUpdateSchemaType, ) + from .group_0233 import ( + OrganizationCustomRepositoryRoleUpdateSchemaTypeForResponse as OrganizationCustomRepositoryRoleUpdateSchemaTypeForResponse, + ) from .group_0234 import DependabotPublicKeyType as DependabotPublicKeyType + from .group_0234 import ( + DependabotPublicKeyTypeForResponse as DependabotPublicKeyTypeForResponse, + ) from .group_0235 import ( CodeScanningAlertDismissalRequestPropDataItemsType as CodeScanningAlertDismissalRequestPropDataItemsType, ) + from .group_0235 import ( + CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse as CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse, + ) from .group_0235 import ( CodeScanningAlertDismissalRequestPropOrganizationType as CodeScanningAlertDismissalRequestPropOrganizationType, ) + from .group_0235 import ( + CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse as CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse, + ) from .group_0235 import ( CodeScanningAlertDismissalRequestPropRepositoryType as CodeScanningAlertDismissalRequestPropRepositoryType, ) + from .group_0235 import ( + CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse as CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse, + ) from .group_0235 import ( CodeScanningAlertDismissalRequestPropRequesterType as CodeScanningAlertDismissalRequestPropRequesterType, ) + from .group_0235 import ( + CodeScanningAlertDismissalRequestPropRequesterTypeForResponse as CodeScanningAlertDismissalRequestPropRequesterTypeForResponse, + ) from .group_0235 import ( CodeScanningAlertDismissalRequestType as CodeScanningAlertDismissalRequestType, ) + from .group_0235 import ( + CodeScanningAlertDismissalRequestTypeForResponse as CodeScanningAlertDismissalRequestTypeForResponse, + ) from .group_0235 import ( DismissalRequestResponsePropReviewerType as DismissalRequestResponsePropReviewerType, ) + from .group_0235 import ( + DismissalRequestResponsePropReviewerTypeForResponse as DismissalRequestResponsePropReviewerTypeForResponse, + ) from .group_0235 import DismissalRequestResponseType as DismissalRequestResponseType + from .group_0235 import ( + DismissalRequestResponseTypeForResponse as DismissalRequestResponseTypeForResponse, + ) from .group_0236 import ( SecretScanningDismissalRequestPropDataItemsType as SecretScanningDismissalRequestPropDataItemsType, ) + from .group_0236 import ( + SecretScanningDismissalRequestPropDataItemsTypeForResponse as SecretScanningDismissalRequestPropDataItemsTypeForResponse, + ) from .group_0236 import ( SecretScanningDismissalRequestPropOrganizationType as SecretScanningDismissalRequestPropOrganizationType, ) + from .group_0236 import ( + SecretScanningDismissalRequestPropOrganizationTypeForResponse as SecretScanningDismissalRequestPropOrganizationTypeForResponse, + ) from .group_0236 import ( SecretScanningDismissalRequestPropRepositoryType as SecretScanningDismissalRequestPropRepositoryType, ) + from .group_0236 import ( + SecretScanningDismissalRequestPropRepositoryTypeForResponse as SecretScanningDismissalRequestPropRepositoryTypeForResponse, + ) from .group_0236 import ( SecretScanningDismissalRequestPropRequesterType as SecretScanningDismissalRequestPropRequesterType, ) + from .group_0236 import ( + SecretScanningDismissalRequestPropRequesterTypeForResponse as SecretScanningDismissalRequestPropRequesterTypeForResponse, + ) from .group_0236 import ( SecretScanningDismissalRequestType as SecretScanningDismissalRequestType, ) + from .group_0236 import ( + SecretScanningDismissalRequestTypeForResponse as SecretScanningDismissalRequestTypeForResponse, + ) from .group_0237 import PackageType as PackageType + from .group_0237 import PackageTypeForResponse as PackageTypeForResponse from .group_0238 import ( ExternalGroupPropMembersItemsType as ExternalGroupPropMembersItemsType, ) + from .group_0238 import ( + ExternalGroupPropMembersItemsTypeForResponse as ExternalGroupPropMembersItemsTypeForResponse, + ) from .group_0238 import ( ExternalGroupPropTeamsItemsType as ExternalGroupPropTeamsItemsType, ) + from .group_0238 import ( + ExternalGroupPropTeamsItemsTypeForResponse as ExternalGroupPropTeamsItemsTypeForResponse, + ) from .group_0238 import ExternalGroupType as ExternalGroupType + from .group_0238 import ExternalGroupTypeForResponse as ExternalGroupTypeForResponse from .group_0239 import ( ExternalGroupsPropGroupsItemsType as ExternalGroupsPropGroupsItemsType, ) + from .group_0239 import ( + ExternalGroupsPropGroupsItemsTypeForResponse as ExternalGroupsPropGroupsItemsTypeForResponse, + ) from .group_0239 import ExternalGroupsType as ExternalGroupsType + from .group_0239 import ( + ExternalGroupsTypeForResponse as ExternalGroupsTypeForResponse, + ) from .group_0240 import OrganizationInvitationType as OrganizationInvitationType + from .group_0240 import ( + OrganizationInvitationTypeForResponse as OrganizationInvitationTypeForResponse, + ) from .group_0241 import ( RepositoryFineGrainedPermissionType as RepositoryFineGrainedPermissionType, ) + from .group_0241 import ( + RepositoryFineGrainedPermissionTypeForResponse as RepositoryFineGrainedPermissionTypeForResponse, + ) from .group_0242 import OrgHookPropConfigType as OrgHookPropConfigType + from .group_0242 import ( + OrgHookPropConfigTypeForResponse as OrgHookPropConfigTypeForResponse, + ) from .group_0242 import OrgHookType as OrgHookType + from .group_0242 import OrgHookTypeForResponse as OrgHookTypeForResponse from .group_0243 import ( ApiInsightsRouteStatsItemsType as ApiInsightsRouteStatsItemsType, ) + from .group_0243 import ( + ApiInsightsRouteStatsItemsTypeForResponse as ApiInsightsRouteStatsItemsTypeForResponse, + ) from .group_0244 import ( ApiInsightsSubjectStatsItemsType as ApiInsightsSubjectStatsItemsType, ) + from .group_0244 import ( + ApiInsightsSubjectStatsItemsTypeForResponse as ApiInsightsSubjectStatsItemsTypeForResponse, + ) from .group_0245 import ApiInsightsSummaryStatsType as ApiInsightsSummaryStatsType + from .group_0245 import ( + ApiInsightsSummaryStatsTypeForResponse as ApiInsightsSummaryStatsTypeForResponse, + ) from .group_0246 import ( ApiInsightsTimeStatsItemsType as ApiInsightsTimeStatsItemsType, ) + from .group_0246 import ( + ApiInsightsTimeStatsItemsTypeForResponse as ApiInsightsTimeStatsItemsTypeForResponse, + ) from .group_0247 import ( ApiInsightsUserStatsItemsType as ApiInsightsUserStatsItemsType, ) + from .group_0247 import ( + ApiInsightsUserStatsItemsTypeForResponse as ApiInsightsUserStatsItemsTypeForResponse, + ) from .group_0248 import InteractionLimitResponseType as InteractionLimitResponseType + from .group_0248 import ( + InteractionLimitResponseTypeForResponse as InteractionLimitResponseTypeForResponse, + ) from .group_0249 import InteractionLimitType as InteractionLimitType + from .group_0249 import ( + InteractionLimitTypeForResponse as InteractionLimitTypeForResponse, + ) from .group_0250 import ( OrganizationCreateIssueTypeType as OrganizationCreateIssueTypeType, ) + from .group_0250 import ( + OrganizationCreateIssueTypeTypeForResponse as OrganizationCreateIssueTypeTypeForResponse, + ) from .group_0251 import ( OrganizationUpdateIssueTypeType as OrganizationUpdateIssueTypeType, ) + from .group_0251 import ( + OrganizationUpdateIssueTypeTypeForResponse as OrganizationUpdateIssueTypeTypeForResponse, + ) from .group_0252 import ( OrgMembershipPropPermissionsType as OrgMembershipPropPermissionsType, ) + from .group_0252 import ( + OrgMembershipPropPermissionsTypeForResponse as OrgMembershipPropPermissionsTypeForResponse, + ) from .group_0252 import OrgMembershipType as OrgMembershipType + from .group_0252 import OrgMembershipTypeForResponse as OrgMembershipTypeForResponse from .group_0253 import MigrationType as MigrationType + from .group_0253 import MigrationTypeForResponse as MigrationTypeForResponse from .group_0254 import ( OrganizationFineGrainedPermissionType as OrganizationFineGrainedPermissionType, ) + from .group_0254 import ( + OrganizationFineGrainedPermissionTypeForResponse as OrganizationFineGrainedPermissionTypeForResponse, + ) from .group_0255 import OrganizationRoleType as OrganizationRoleType + from .group_0255 import ( + OrganizationRoleTypeForResponse as OrganizationRoleTypeForResponse, + ) from .group_0255 import ( OrgsOrgOrganizationRolesGetResponse200Type as OrgsOrgOrganizationRolesGetResponse200Type, ) + from .group_0255 import ( + OrgsOrgOrganizationRolesGetResponse200TypeForResponse as OrgsOrgOrganizationRolesGetResponse200TypeForResponse, + ) from .group_0256 import ( OrganizationCustomOrganizationRoleCreateSchemaType as OrganizationCustomOrganizationRoleCreateSchemaType, ) + from .group_0256 import ( + OrganizationCustomOrganizationRoleCreateSchemaTypeForResponse as OrganizationCustomOrganizationRoleCreateSchemaTypeForResponse, + ) from .group_0257 import ( OrganizationCustomOrganizationRoleUpdateSchemaType as OrganizationCustomOrganizationRoleUpdateSchemaType, ) + from .group_0257 import ( + OrganizationCustomOrganizationRoleUpdateSchemaTypeForResponse as OrganizationCustomOrganizationRoleUpdateSchemaTypeForResponse, + ) from .group_0258 import ( TeamRoleAssignmentPropPermissionsType as TeamRoleAssignmentPropPermissionsType, ) + from .group_0258 import ( + TeamRoleAssignmentPropPermissionsTypeForResponse as TeamRoleAssignmentPropPermissionsTypeForResponse, + ) from .group_0258 import TeamRoleAssignmentType as TeamRoleAssignmentType + from .group_0258 import ( + TeamRoleAssignmentTypeForResponse as TeamRoleAssignmentTypeForResponse, + ) from .group_0259 import UserRoleAssignmentType as UserRoleAssignmentType + from .group_0259 import ( + UserRoleAssignmentTypeForResponse as UserRoleAssignmentTypeForResponse, + ) from .group_0260 import ( PackageVersionPropMetadataPropContainerType as PackageVersionPropMetadataPropContainerType, ) + from .group_0260 import ( + PackageVersionPropMetadataPropContainerTypeForResponse as PackageVersionPropMetadataPropContainerTypeForResponse, + ) from .group_0260 import ( PackageVersionPropMetadataPropDockerType as PackageVersionPropMetadataPropDockerType, ) + from .group_0260 import ( + PackageVersionPropMetadataPropDockerTypeForResponse as PackageVersionPropMetadataPropDockerTypeForResponse, + ) from .group_0260 import ( PackageVersionPropMetadataType as PackageVersionPropMetadataType, ) + from .group_0260 import ( + PackageVersionPropMetadataTypeForResponse as PackageVersionPropMetadataTypeForResponse, + ) from .group_0260 import PackageVersionType as PackageVersionType + from .group_0260 import ( + PackageVersionTypeForResponse as PackageVersionTypeForResponse, + ) from .group_0261 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType, ) + from .group_0261 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse, + ) from .group_0261 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType, ) + from .group_0261 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse, + ) from .group_0261 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType, ) + from .group_0261 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse, + ) from .group_0261 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsType as OrganizationProgrammaticAccessGrantRequestPropPermissionsType, ) + from .group_0261 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse, + ) from .group_0261 import ( OrganizationProgrammaticAccessGrantRequestType as OrganizationProgrammaticAccessGrantRequestType, ) + from .group_0261 import ( + OrganizationProgrammaticAccessGrantRequestTypeForResponse as OrganizationProgrammaticAccessGrantRequestTypeForResponse, + ) from .group_0262 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType as OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType, ) + from .group_0262 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse, + ) from .group_0262 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType as OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType, ) + from .group_0262 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse, + ) from .group_0262 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType as OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType, ) + from .group_0262 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse, + ) from .group_0262 import ( OrganizationProgrammaticAccessGrantPropPermissionsType as OrganizationProgrammaticAccessGrantPropPermissionsType, ) + from .group_0262 import ( + OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse, + ) from .group_0262 import ( OrganizationProgrammaticAccessGrantType as OrganizationProgrammaticAccessGrantType, ) + from .group_0262 import ( + OrganizationProgrammaticAccessGrantTypeForResponse as OrganizationProgrammaticAccessGrantTypeForResponse, + ) from .group_0263 import ( OrgPrivateRegistryConfigurationWithSelectedRepositoriesType as OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, ) + from .group_0263 import ( + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse as OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, + ) from .group_0264 import ProjectsV2StatusUpdateType as ProjectsV2StatusUpdateType + from .group_0264 import ( + ProjectsV2StatusUpdateTypeForResponse as ProjectsV2StatusUpdateTypeForResponse, + ) from .group_0265 import ProjectsV2Type as ProjectsV2Type + from .group_0265 import ProjectsV2TypeForResponse as ProjectsV2TypeForResponse from .group_0266 import LinkType as LinkType + from .group_0266 import LinkTypeForResponse as LinkTypeForResponse from .group_0267 import AutoMergeType as AutoMergeType + from .group_0267 import AutoMergeTypeForResponse as AutoMergeTypeForResponse from .group_0268 import ( PullRequestSimplePropLabelsItemsType as PullRequestSimplePropLabelsItemsType, ) + from .group_0268 import ( + PullRequestSimplePropLabelsItemsTypeForResponse as PullRequestSimplePropLabelsItemsTypeForResponse, + ) from .group_0268 import PullRequestSimpleType as PullRequestSimpleType + from .group_0268 import ( + PullRequestSimpleTypeForResponse as PullRequestSimpleTypeForResponse, + ) from .group_0269 import ( PullRequestSimplePropBaseType as PullRequestSimplePropBaseType, ) + from .group_0269 import ( + PullRequestSimplePropBaseTypeForResponse as PullRequestSimplePropBaseTypeForResponse, + ) from .group_0269 import ( PullRequestSimplePropHeadType as PullRequestSimplePropHeadType, ) + from .group_0269 import ( + PullRequestSimplePropHeadTypeForResponse as PullRequestSimplePropHeadTypeForResponse, + ) from .group_0270 import ( PullRequestSimplePropLinksType as PullRequestSimplePropLinksType, ) + from .group_0270 import ( + PullRequestSimplePropLinksTypeForResponse as PullRequestSimplePropLinksTypeForResponse, + ) from .group_0271 import ProjectsV2DraftIssueType as ProjectsV2DraftIssueType + from .group_0271 import ( + ProjectsV2DraftIssueTypeForResponse as ProjectsV2DraftIssueTypeForResponse, + ) from .group_0272 import ProjectsV2ItemSimpleType as ProjectsV2ItemSimpleType + from .group_0272 import ( + ProjectsV2ItemSimpleTypeForResponse as ProjectsV2ItemSimpleTypeForResponse, + ) from .group_0273 import ( ProjectsV2FieldPropConfigurationType as ProjectsV2FieldPropConfigurationType, ) + from .group_0273 import ( + ProjectsV2FieldPropConfigurationTypeForResponse as ProjectsV2FieldPropConfigurationTypeForResponse, + ) from .group_0273 import ProjectsV2FieldType as ProjectsV2FieldType + from .group_0273 import ( + ProjectsV2FieldTypeForResponse as ProjectsV2FieldTypeForResponse, + ) from .group_0273 import ( ProjectsV2IterationSettingsPropTitleType as ProjectsV2IterationSettingsPropTitleType, ) + from .group_0273 import ( + ProjectsV2IterationSettingsPropTitleTypeForResponse as ProjectsV2IterationSettingsPropTitleTypeForResponse, + ) from .group_0273 import ( ProjectsV2IterationSettingsType as ProjectsV2IterationSettingsType, ) + from .group_0273 import ( + ProjectsV2IterationSettingsTypeForResponse as ProjectsV2IterationSettingsTypeForResponse, + ) from .group_0273 import ( ProjectsV2SingleSelectOptionsPropDescriptionType as ProjectsV2SingleSelectOptionsPropDescriptionType, ) + from .group_0273 import ( + ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse as ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse, + ) from .group_0273 import ( ProjectsV2SingleSelectOptionsPropNameType as ProjectsV2SingleSelectOptionsPropNameType, ) + from .group_0273 import ( + ProjectsV2SingleSelectOptionsPropNameTypeForResponse as ProjectsV2SingleSelectOptionsPropNameTypeForResponse, + ) from .group_0273 import ( ProjectsV2SingleSelectOptionsType as ProjectsV2SingleSelectOptionsType, ) + from .group_0273 import ( + ProjectsV2SingleSelectOptionsTypeForResponse as ProjectsV2SingleSelectOptionsTypeForResponse, + ) from .group_0274 import ( ProjectsV2ItemWithContentPropContentType as ProjectsV2ItemWithContentPropContentType, ) + from .group_0274 import ( + ProjectsV2ItemWithContentPropContentTypeForResponse as ProjectsV2ItemWithContentPropContentTypeForResponse, + ) from .group_0274 import ( ProjectsV2ItemWithContentPropFieldsItemsType as ProjectsV2ItemWithContentPropFieldsItemsType, ) + from .group_0274 import ( + ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse as ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse, + ) from .group_0274 import ( ProjectsV2ItemWithContentType as ProjectsV2ItemWithContentType, ) + from .group_0274 import ( + ProjectsV2ItemWithContentTypeForResponse as ProjectsV2ItemWithContentTypeForResponse, + ) from .group_0275 import ( OrgRepoCustomPropertyValuesType as OrgRepoCustomPropertyValuesType, ) + from .group_0275 import ( + OrgRepoCustomPropertyValuesTypeForResponse as OrgRepoCustomPropertyValuesTypeForResponse, + ) from .group_0276 import CodeOfConductSimpleType as CodeOfConductSimpleType + from .group_0276 import ( + CodeOfConductSimpleTypeForResponse as CodeOfConductSimpleTypeForResponse, + ) from .group_0277 import ( FullRepositoryPropCustomPropertiesType as FullRepositoryPropCustomPropertiesType, ) + from .group_0277 import ( + FullRepositoryPropCustomPropertiesTypeForResponse as FullRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0277 import ( FullRepositoryPropPermissionsType as FullRepositoryPropPermissionsType, ) + from .group_0277 import ( + FullRepositoryPropPermissionsTypeForResponse as FullRepositoryPropPermissionsTypeForResponse, + ) from .group_0277 import FullRepositoryType as FullRepositoryType + from .group_0277 import ( + FullRepositoryTypeForResponse as FullRepositoryTypeForResponse, + ) from .group_0278 import RuleSuitesItemsType as RuleSuitesItemsType + from .group_0278 import ( + RuleSuitesItemsTypeForResponse as RuleSuitesItemsTypeForResponse, + ) from .group_0279 import ( RuleSuitePropRuleEvaluationsItemsPropRuleSourceType as RuleSuitePropRuleEvaluationsItemsPropRuleSourceType, ) + from .group_0279 import ( + RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse as RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse, + ) from .group_0279 import ( RuleSuitePropRuleEvaluationsItemsType as RuleSuitePropRuleEvaluationsItemsType, ) + from .group_0279 import ( + RuleSuitePropRuleEvaluationsItemsTypeForResponse as RuleSuitePropRuleEvaluationsItemsTypeForResponse, + ) from .group_0279 import RuleSuiteType as RuleSuiteType + from .group_0279 import RuleSuiteTypeForResponse as RuleSuiteTypeForResponse from .group_0280 import RepositoryAdvisoryCreditType as RepositoryAdvisoryCreditType + from .group_0280 import ( + RepositoryAdvisoryCreditTypeForResponse as RepositoryAdvisoryCreditTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryPropCreditsItemsType as RepositoryAdvisoryPropCreditsItemsType, ) + from .group_0281 import ( + RepositoryAdvisoryPropCreditsItemsTypeForResponse as RepositoryAdvisoryPropCreditsItemsTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryPropCvssType as RepositoryAdvisoryPropCvssType, ) + from .group_0281 import ( + RepositoryAdvisoryPropCvssTypeForResponse as RepositoryAdvisoryPropCvssTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryPropCwesItemsType as RepositoryAdvisoryPropCwesItemsType, ) + from .group_0281 import ( + RepositoryAdvisoryPropCwesItemsTypeForResponse as RepositoryAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryPropIdentifiersItemsType as RepositoryAdvisoryPropIdentifiersItemsType, ) + from .group_0281 import ( + RepositoryAdvisoryPropIdentifiersItemsTypeForResponse as RepositoryAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryPropSubmissionType as RepositoryAdvisoryPropSubmissionType, ) + from .group_0281 import ( + RepositoryAdvisoryPropSubmissionTypeForResponse as RepositoryAdvisoryPropSubmissionTypeForResponse, + ) from .group_0281 import RepositoryAdvisoryType as RepositoryAdvisoryType + from .group_0281 import ( + RepositoryAdvisoryTypeForResponse as RepositoryAdvisoryTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryVulnerabilityPropPackageType as RepositoryAdvisoryVulnerabilityPropPackageType, ) + from .group_0281 import ( + RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse as RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse, + ) from .group_0281 import ( RepositoryAdvisoryVulnerabilityType as RepositoryAdvisoryVulnerabilityType, ) + from .group_0281 import ( + RepositoryAdvisoryVulnerabilityTypeForResponse as RepositoryAdvisoryVulnerabilityTypeForResponse, + ) from .group_0282 import ( ImmutableReleasesOrganizationSettingsType as ImmutableReleasesOrganizationSettingsType, ) + from .group_0282 import ( + ImmutableReleasesOrganizationSettingsTypeForResponse as ImmutableReleasesOrganizationSettingsTypeForResponse, + ) from .group_0283 import ( GroupMappingPropGroupsItemsType as GroupMappingPropGroupsItemsType, ) + from .group_0283 import ( + GroupMappingPropGroupsItemsTypeForResponse as GroupMappingPropGroupsItemsTypeForResponse, + ) from .group_0283 import GroupMappingType as GroupMappingType + from .group_0283 import GroupMappingTypeForResponse as GroupMappingTypeForResponse from .group_0284 import TeamFullType as TeamFullType + from .group_0284 import TeamFullTypeForResponse as TeamFullTypeForResponse from .group_0284 import TeamOrganizationPropPlanType as TeamOrganizationPropPlanType + from .group_0284 import ( + TeamOrganizationPropPlanTypeForResponse as TeamOrganizationPropPlanTypeForResponse, + ) from .group_0284 import TeamOrganizationType as TeamOrganizationType + from .group_0284 import ( + TeamOrganizationTypeForResponse as TeamOrganizationTypeForResponse, + ) from .group_0285 import TeamDiscussionType as TeamDiscussionType + from .group_0285 import ( + TeamDiscussionTypeForResponse as TeamDiscussionTypeForResponse, + ) from .group_0286 import TeamDiscussionCommentType as TeamDiscussionCommentType + from .group_0286 import ( + TeamDiscussionCommentTypeForResponse as TeamDiscussionCommentTypeForResponse, + ) from .group_0287 import ReactionType as ReactionType + from .group_0287 import ReactionTypeForResponse as ReactionTypeForResponse from .group_0288 import TeamMembershipType as TeamMembershipType + from .group_0288 import ( + TeamMembershipTypeForResponse as TeamMembershipTypeForResponse, + ) from .group_0289 import ( TeamProjectPropPermissionsType as TeamProjectPropPermissionsType, ) + from .group_0289 import ( + TeamProjectPropPermissionsTypeForResponse as TeamProjectPropPermissionsTypeForResponse, + ) from .group_0289 import TeamProjectType as TeamProjectType + from .group_0289 import TeamProjectTypeForResponse as TeamProjectTypeForResponse from .group_0290 import ( TeamRepositoryPropPermissionsType as TeamRepositoryPropPermissionsType, ) + from .group_0290 import ( + TeamRepositoryPropPermissionsTypeForResponse as TeamRepositoryPropPermissionsTypeForResponse, + ) from .group_0290 import TeamRepositoryType as TeamRepositoryType + from .group_0290 import ( + TeamRepositoryTypeForResponse as TeamRepositoryTypeForResponse, + ) from .group_0291 import ProjectCardType as ProjectCardType + from .group_0291 import ProjectCardTypeForResponse as ProjectCardTypeForResponse from .group_0292 import ProjectColumnType as ProjectColumnType + from .group_0292 import ProjectColumnTypeForResponse as ProjectColumnTypeForResponse from .group_0293 import ( ProjectCollaboratorPermissionType as ProjectCollaboratorPermissionType, ) + from .group_0293 import ( + ProjectCollaboratorPermissionTypeForResponse as ProjectCollaboratorPermissionTypeForResponse, + ) from .group_0294 import RateLimitType as RateLimitType + from .group_0294 import RateLimitTypeForResponse as RateLimitTypeForResponse from .group_0295 import RateLimitOverviewType as RateLimitOverviewType + from .group_0295 import ( + RateLimitOverviewTypeForResponse as RateLimitOverviewTypeForResponse, + ) from .group_0296 import ( RateLimitOverviewPropResourcesType as RateLimitOverviewPropResourcesType, ) + from .group_0296 import ( + RateLimitOverviewPropResourcesTypeForResponse as RateLimitOverviewPropResourcesTypeForResponse, + ) from .group_0297 import ArtifactPropWorkflowRunType as ArtifactPropWorkflowRunType + from .group_0297 import ( + ArtifactPropWorkflowRunTypeForResponse as ArtifactPropWorkflowRunTypeForResponse, + ) from .group_0297 import ArtifactType as ArtifactType + from .group_0297 import ArtifactTypeForResponse as ArtifactTypeForResponse from .group_0298 import ( ActionsCacheListPropActionsCachesItemsType as ActionsCacheListPropActionsCachesItemsType, ) + from .group_0298 import ( + ActionsCacheListPropActionsCachesItemsTypeForResponse as ActionsCacheListPropActionsCachesItemsTypeForResponse, + ) from .group_0298 import ActionsCacheListType as ActionsCacheListType + from .group_0298 import ( + ActionsCacheListTypeForResponse as ActionsCacheListTypeForResponse, + ) from .group_0299 import JobPropStepsItemsType as JobPropStepsItemsType + from .group_0299 import ( + JobPropStepsItemsTypeForResponse as JobPropStepsItemsTypeForResponse, + ) from .group_0299 import JobType as JobType + from .group_0299 import JobTypeForResponse as JobTypeForResponse from .group_0300 import OidcCustomSubRepoType as OidcCustomSubRepoType + from .group_0300 import ( + OidcCustomSubRepoTypeForResponse as OidcCustomSubRepoTypeForResponse, + ) from .group_0301 import ActionsSecretType as ActionsSecretType + from .group_0301 import ActionsSecretTypeForResponse as ActionsSecretTypeForResponse from .group_0302 import ActionsVariableType as ActionsVariableType + from .group_0302 import ( + ActionsVariableTypeForResponse as ActionsVariableTypeForResponse, + ) from .group_0303 import ( ActionsRepositoryPermissionsType as ActionsRepositoryPermissionsType, ) + from .group_0303 import ( + ActionsRepositoryPermissionsTypeForResponse as ActionsRepositoryPermissionsTypeForResponse, + ) from .group_0304 import ( ActionsWorkflowAccessToRepositoryType as ActionsWorkflowAccessToRepositoryType, ) + from .group_0304 import ( + ActionsWorkflowAccessToRepositoryTypeForResponse as ActionsWorkflowAccessToRepositoryTypeForResponse, + ) from .group_0305 import ( PullRequestMinimalPropBasePropRepoType as PullRequestMinimalPropBasePropRepoType, ) + from .group_0305 import ( + PullRequestMinimalPropBasePropRepoTypeForResponse as PullRequestMinimalPropBasePropRepoTypeForResponse, + ) from .group_0305 import ( PullRequestMinimalPropBaseType as PullRequestMinimalPropBaseType, ) + from .group_0305 import ( + PullRequestMinimalPropBaseTypeForResponse as PullRequestMinimalPropBaseTypeForResponse, + ) from .group_0305 import ( PullRequestMinimalPropHeadPropRepoType as PullRequestMinimalPropHeadPropRepoType, ) + from .group_0305 import ( + PullRequestMinimalPropHeadPropRepoTypeForResponse as PullRequestMinimalPropHeadPropRepoTypeForResponse, + ) from .group_0305 import ( PullRequestMinimalPropHeadType as PullRequestMinimalPropHeadType, ) + from .group_0305 import ( + PullRequestMinimalPropHeadTypeForResponse as PullRequestMinimalPropHeadTypeForResponse, + ) from .group_0305 import PullRequestMinimalType as PullRequestMinimalType + from .group_0305 import ( + PullRequestMinimalTypeForResponse as PullRequestMinimalTypeForResponse, + ) from .group_0306 import SimpleCommitPropAuthorType as SimpleCommitPropAuthorType + from .group_0306 import ( + SimpleCommitPropAuthorTypeForResponse as SimpleCommitPropAuthorTypeForResponse, + ) from .group_0306 import ( SimpleCommitPropCommitterType as SimpleCommitPropCommitterType, ) + from .group_0306 import ( + SimpleCommitPropCommitterTypeForResponse as SimpleCommitPropCommitterTypeForResponse, + ) from .group_0306 import SimpleCommitType as SimpleCommitType + from .group_0306 import SimpleCommitTypeForResponse as SimpleCommitTypeForResponse from .group_0307 import ReferencedWorkflowType as ReferencedWorkflowType + from .group_0307 import ( + ReferencedWorkflowTypeForResponse as ReferencedWorkflowTypeForResponse, + ) from .group_0307 import WorkflowRunType as WorkflowRunType + from .group_0307 import WorkflowRunTypeForResponse as WorkflowRunTypeForResponse from .group_0308 import ( EnvironmentApprovalsPropEnvironmentsItemsType as EnvironmentApprovalsPropEnvironmentsItemsType, ) + from .group_0308 import ( + EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse as EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse, + ) from .group_0308 import EnvironmentApprovalsType as EnvironmentApprovalsType + from .group_0308 import ( + EnvironmentApprovalsTypeForResponse as EnvironmentApprovalsTypeForResponse, + ) from .group_0309 import ( ReviewCustomGatesCommentRequiredType as ReviewCustomGatesCommentRequiredType, ) + from .group_0309 import ( + ReviewCustomGatesCommentRequiredTypeForResponse as ReviewCustomGatesCommentRequiredTypeForResponse, + ) from .group_0310 import ( ReviewCustomGatesStateRequiredType as ReviewCustomGatesStateRequiredType, ) + from .group_0310 import ( + ReviewCustomGatesStateRequiredTypeForResponse as ReviewCustomGatesStateRequiredTypeForResponse, + ) from .group_0311 import ( PendingDeploymentPropEnvironmentType as PendingDeploymentPropEnvironmentType, ) + from .group_0311 import ( + PendingDeploymentPropEnvironmentTypeForResponse as PendingDeploymentPropEnvironmentTypeForResponse, + ) from .group_0311 import ( PendingDeploymentPropReviewersItemsType as PendingDeploymentPropReviewersItemsType, ) + from .group_0311 import ( + PendingDeploymentPropReviewersItemsTypeForResponse as PendingDeploymentPropReviewersItemsTypeForResponse, + ) from .group_0311 import PendingDeploymentType as PendingDeploymentType + from .group_0311 import ( + PendingDeploymentTypeForResponse as PendingDeploymentTypeForResponse, + ) from .group_0312 import ( DeploymentPropPayloadOneof0Type as DeploymentPropPayloadOneof0Type, ) + from .group_0312 import ( + DeploymentPropPayloadOneof0TypeForResponse as DeploymentPropPayloadOneof0TypeForResponse, + ) from .group_0312 import DeploymentType as DeploymentType + from .group_0312 import DeploymentTypeForResponse as DeploymentTypeForResponse from .group_0313 import ( WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType as WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillablePropMacosType as WorkflowRunUsagePropBillablePropMacosType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropMacosTypeForResponse as WorkflowRunUsagePropBillablePropMacosTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType as WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillablePropUbuntuType as WorkflowRunUsagePropBillablePropUbuntuType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropUbuntuTypeForResponse as WorkflowRunUsagePropBillablePropUbuntuTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType as WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillablePropWindowsType as WorkflowRunUsagePropBillablePropWindowsType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillablePropWindowsTypeForResponse as WorkflowRunUsagePropBillablePropWindowsTypeForResponse, + ) from .group_0313 import ( WorkflowRunUsagePropBillableType as WorkflowRunUsagePropBillableType, ) + from .group_0313 import ( + WorkflowRunUsagePropBillableTypeForResponse as WorkflowRunUsagePropBillableTypeForResponse, + ) from .group_0313 import WorkflowRunUsageType as WorkflowRunUsageType + from .group_0313 import ( + WorkflowRunUsageTypeForResponse as WorkflowRunUsageTypeForResponse, + ) from .group_0314 import ( WorkflowUsagePropBillablePropMacosType as WorkflowUsagePropBillablePropMacosType, ) + from .group_0314 import ( + WorkflowUsagePropBillablePropMacosTypeForResponse as WorkflowUsagePropBillablePropMacosTypeForResponse, + ) from .group_0314 import ( WorkflowUsagePropBillablePropUbuntuType as WorkflowUsagePropBillablePropUbuntuType, ) + from .group_0314 import ( + WorkflowUsagePropBillablePropUbuntuTypeForResponse as WorkflowUsagePropBillablePropUbuntuTypeForResponse, + ) from .group_0314 import ( WorkflowUsagePropBillablePropWindowsType as WorkflowUsagePropBillablePropWindowsType, ) + from .group_0314 import ( + WorkflowUsagePropBillablePropWindowsTypeForResponse as WorkflowUsagePropBillablePropWindowsTypeForResponse, + ) from .group_0314 import ( WorkflowUsagePropBillableType as WorkflowUsagePropBillableType, ) + from .group_0314 import ( + WorkflowUsagePropBillableTypeForResponse as WorkflowUsagePropBillableTypeForResponse, + ) from .group_0314 import WorkflowUsageType as WorkflowUsageType + from .group_0314 import WorkflowUsageTypeForResponse as WorkflowUsageTypeForResponse from .group_0315 import ActivityType as ActivityType + from .group_0315 import ActivityTypeForResponse as ActivityTypeForResponse from .group_0316 import AutolinkType as AutolinkType + from .group_0316 import AutolinkTypeForResponse as AutolinkTypeForResponse from .group_0317 import ( CheckAutomatedSecurityFixesType as CheckAutomatedSecurityFixesType, ) + from .group_0317 import ( + CheckAutomatedSecurityFixesTypeForResponse as CheckAutomatedSecurityFixesTypeForResponse, + ) from .group_0318 import ( ProtectedBranchPullRequestReviewType as ProtectedBranchPullRequestReviewType, ) + from .group_0318 import ( + ProtectedBranchPullRequestReviewTypeForResponse as ProtectedBranchPullRequestReviewTypeForResponse, + ) from .group_0319 import ( ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType as ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType, ) + from .group_0319 import ( + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse as ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_0319 import ( ProtectedBranchPullRequestReviewPropDismissalRestrictionsType as ProtectedBranchPullRequestReviewPropDismissalRestrictionsType, ) + from .group_0319 import ( + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse as ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse, + ) from .group_0320 import ( BranchRestrictionPolicyPropAppsItemsPropOwnerType as BranchRestrictionPolicyPropAppsItemsPropOwnerType, ) + from .group_0320 import ( + BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse as BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse, + ) from .group_0320 import ( BranchRestrictionPolicyPropAppsItemsPropPermissionsType as BranchRestrictionPolicyPropAppsItemsPropPermissionsType, ) + from .group_0320 import ( + BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse as BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse, + ) from .group_0320 import ( BranchRestrictionPolicyPropAppsItemsType as BranchRestrictionPolicyPropAppsItemsType, ) + from .group_0320 import ( + BranchRestrictionPolicyPropAppsItemsTypeForResponse as BranchRestrictionPolicyPropAppsItemsTypeForResponse, + ) from .group_0320 import ( BranchRestrictionPolicyPropUsersItemsType as BranchRestrictionPolicyPropUsersItemsType, ) + from .group_0320 import ( + BranchRestrictionPolicyPropUsersItemsTypeForResponse as BranchRestrictionPolicyPropUsersItemsTypeForResponse, + ) from .group_0320 import BranchRestrictionPolicyType as BranchRestrictionPolicyType + from .group_0320 import ( + BranchRestrictionPolicyTypeForResponse as BranchRestrictionPolicyTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropAllowDeletionsType as BranchProtectionPropAllowDeletionsType, ) + from .group_0321 import ( + BranchProtectionPropAllowDeletionsTypeForResponse as BranchProtectionPropAllowDeletionsTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropAllowForcePushesType as BranchProtectionPropAllowForcePushesType, ) + from .group_0321 import ( + BranchProtectionPropAllowForcePushesTypeForResponse as BranchProtectionPropAllowForcePushesTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropAllowForkSyncingType as BranchProtectionPropAllowForkSyncingType, ) + from .group_0321 import ( + BranchProtectionPropAllowForkSyncingTypeForResponse as BranchProtectionPropAllowForkSyncingTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropBlockCreationsType as BranchProtectionPropBlockCreationsType, ) + from .group_0321 import ( + BranchProtectionPropBlockCreationsTypeForResponse as BranchProtectionPropBlockCreationsTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropLockBranchType as BranchProtectionPropLockBranchType, ) + from .group_0321 import ( + BranchProtectionPropLockBranchTypeForResponse as BranchProtectionPropLockBranchTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropRequiredConversationResolutionType as BranchProtectionPropRequiredConversationResolutionType, ) + from .group_0321 import ( + BranchProtectionPropRequiredConversationResolutionTypeForResponse as BranchProtectionPropRequiredConversationResolutionTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropRequiredLinearHistoryType as BranchProtectionPropRequiredLinearHistoryType, ) + from .group_0321 import ( + BranchProtectionPropRequiredLinearHistoryTypeForResponse as BranchProtectionPropRequiredLinearHistoryTypeForResponse, + ) from .group_0321 import ( BranchProtectionPropRequiredSignaturesType as BranchProtectionPropRequiredSignaturesType, ) + from .group_0321 import ( + BranchProtectionPropRequiredSignaturesTypeForResponse as BranchProtectionPropRequiredSignaturesTypeForResponse, + ) from .group_0321 import BranchProtectionType as BranchProtectionType + from .group_0321 import ( + BranchProtectionTypeForResponse as BranchProtectionTypeForResponse, + ) from .group_0321 import ( ProtectedBranchAdminEnforcedType as ProtectedBranchAdminEnforcedType, ) + from .group_0321 import ( + ProtectedBranchAdminEnforcedTypeForResponse as ProtectedBranchAdminEnforcedTypeForResponse, + ) from .group_0321 import ( ProtectedBranchRequiredStatusCheckPropChecksItemsType as ProtectedBranchRequiredStatusCheckPropChecksItemsType, ) + from .group_0321 import ( + ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse as ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse, + ) from .group_0321 import ( ProtectedBranchRequiredStatusCheckType as ProtectedBranchRequiredStatusCheckType, ) + from .group_0321 import ( + ProtectedBranchRequiredStatusCheckTypeForResponse as ProtectedBranchRequiredStatusCheckTypeForResponse, + ) from .group_0322 import ShortBranchPropCommitType as ShortBranchPropCommitType + from .group_0322 import ( + ShortBranchPropCommitTypeForResponse as ShortBranchPropCommitTypeForResponse, + ) from .group_0322 import ShortBranchType as ShortBranchType + from .group_0322 import ShortBranchTypeForResponse as ShortBranchTypeForResponse from .group_0323 import GitUserType as GitUserType + from .group_0323 import GitUserTypeForResponse as GitUserTypeForResponse from .group_0324 import VerificationType as VerificationType + from .group_0324 import VerificationTypeForResponse as VerificationTypeForResponse from .group_0325 import DiffEntryType as DiffEntryType + from .group_0325 import DiffEntryTypeForResponse as DiffEntryTypeForResponse from .group_0326 import CommitPropParentsItemsType as CommitPropParentsItemsType + from .group_0326 import ( + CommitPropParentsItemsTypeForResponse as CommitPropParentsItemsTypeForResponse, + ) from .group_0326 import CommitPropStatsType as CommitPropStatsType + from .group_0326 import ( + CommitPropStatsTypeForResponse as CommitPropStatsTypeForResponse, + ) from .group_0326 import CommitType as CommitType + from .group_0326 import CommitTypeForResponse as CommitTypeForResponse from .group_0326 import EmptyObjectType as EmptyObjectType + from .group_0326 import EmptyObjectTypeForResponse as EmptyObjectTypeForResponse from .group_0327 import CommitPropCommitPropTreeType as CommitPropCommitPropTreeType + from .group_0327 import ( + CommitPropCommitPropTreeTypeForResponse as CommitPropCommitPropTreeTypeForResponse, + ) from .group_0327 import CommitPropCommitType as CommitPropCommitType + from .group_0327 import ( + CommitPropCommitTypeForResponse as CommitPropCommitTypeForResponse, + ) from .group_0328 import ( BranchWithProtectionPropLinksType as BranchWithProtectionPropLinksType, ) + from .group_0328 import ( + BranchWithProtectionPropLinksTypeForResponse as BranchWithProtectionPropLinksTypeForResponse, + ) from .group_0328 import BranchWithProtectionType as BranchWithProtectionType + from .group_0328 import ( + BranchWithProtectionTypeForResponse as BranchWithProtectionTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropAllowDeletionsType as ProtectedBranchPropAllowDeletionsType, ) + from .group_0329 import ( + ProtectedBranchPropAllowDeletionsTypeForResponse as ProtectedBranchPropAllowDeletionsTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropAllowForcePushesType as ProtectedBranchPropAllowForcePushesType, ) + from .group_0329 import ( + ProtectedBranchPropAllowForcePushesTypeForResponse as ProtectedBranchPropAllowForcePushesTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropAllowForkSyncingType as ProtectedBranchPropAllowForkSyncingType, ) + from .group_0329 import ( + ProtectedBranchPropAllowForkSyncingTypeForResponse as ProtectedBranchPropAllowForkSyncingTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropBlockCreationsType as ProtectedBranchPropBlockCreationsType, ) + from .group_0329 import ( + ProtectedBranchPropBlockCreationsTypeForResponse as ProtectedBranchPropBlockCreationsTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropEnforceAdminsType as ProtectedBranchPropEnforceAdminsType, ) + from .group_0329 import ( + ProtectedBranchPropEnforceAdminsTypeForResponse as ProtectedBranchPropEnforceAdminsTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropLockBranchType as ProtectedBranchPropLockBranchType, ) + from .group_0329 import ( + ProtectedBranchPropLockBranchTypeForResponse as ProtectedBranchPropLockBranchTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropRequiredConversationResolutionType as ProtectedBranchPropRequiredConversationResolutionType, ) + from .group_0329 import ( + ProtectedBranchPropRequiredConversationResolutionTypeForResponse as ProtectedBranchPropRequiredConversationResolutionTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropRequiredLinearHistoryType as ProtectedBranchPropRequiredLinearHistoryType, ) + from .group_0329 import ( + ProtectedBranchPropRequiredLinearHistoryTypeForResponse as ProtectedBranchPropRequiredLinearHistoryTypeForResponse, + ) from .group_0329 import ( ProtectedBranchPropRequiredSignaturesType as ProtectedBranchPropRequiredSignaturesType, ) + from .group_0329 import ( + ProtectedBranchPropRequiredSignaturesTypeForResponse as ProtectedBranchPropRequiredSignaturesTypeForResponse, + ) from .group_0329 import ProtectedBranchType as ProtectedBranchType + from .group_0329 import ( + ProtectedBranchTypeForResponse as ProtectedBranchTypeForResponse, + ) from .group_0329 import ( StatusCheckPolicyPropChecksItemsType as StatusCheckPolicyPropChecksItemsType, ) + from .group_0329 import ( + StatusCheckPolicyPropChecksItemsTypeForResponse as StatusCheckPolicyPropChecksItemsTypeForResponse, + ) from .group_0329 import StatusCheckPolicyType as StatusCheckPolicyType + from .group_0329 import ( + StatusCheckPolicyTypeForResponse as StatusCheckPolicyTypeForResponse, + ) from .group_0330 import ( ProtectedBranchPropRequiredPullRequestReviewsType as ProtectedBranchPropRequiredPullRequestReviewsType, ) + from .group_0330 import ( + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse, + ) from .group_0331 import ( ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType as ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, ) + from .group_0331 import ( + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_0331 import ( ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType as ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType, ) + from .group_0331 import ( + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, + ) from .group_0332 import DeploymentSimpleType as DeploymentSimpleType + from .group_0332 import ( + DeploymentSimpleTypeForResponse as DeploymentSimpleTypeForResponse, + ) from .group_0333 import CheckRunPropCheckSuiteType as CheckRunPropCheckSuiteType + from .group_0333 import ( + CheckRunPropCheckSuiteTypeForResponse as CheckRunPropCheckSuiteTypeForResponse, + ) from .group_0333 import CheckRunPropOutputType as CheckRunPropOutputType + from .group_0333 import ( + CheckRunPropOutputTypeForResponse as CheckRunPropOutputTypeForResponse, + ) from .group_0333 import CheckRunType as CheckRunType + from .group_0333 import CheckRunTypeForResponse as CheckRunTypeForResponse from .group_0334 import CheckAnnotationType as CheckAnnotationType + from .group_0334 import ( + CheckAnnotationTypeForResponse as CheckAnnotationTypeForResponse, + ) from .group_0335 import CheckSuiteType as CheckSuiteType + from .group_0335 import CheckSuiteTypeForResponse as CheckSuiteTypeForResponse from .group_0335 import ( ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type as ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, ) + from .group_0335 import ( + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse as ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, + ) from .group_0336 import ( CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType as CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType, ) + from .group_0336 import ( + CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse as CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse, + ) from .group_0336 import ( CheckSuitePreferencePropPreferencesType as CheckSuitePreferencePropPreferencesType, ) + from .group_0336 import ( + CheckSuitePreferencePropPreferencesTypeForResponse as CheckSuitePreferencePropPreferencesTypeForResponse, + ) from .group_0336 import CheckSuitePreferenceType as CheckSuitePreferenceType + from .group_0336 import ( + CheckSuitePreferenceTypeForResponse as CheckSuitePreferenceTypeForResponse, + ) from .group_0337 import CodeScanningAlertItemsType as CodeScanningAlertItemsType + from .group_0337 import ( + CodeScanningAlertItemsTypeForResponse as CodeScanningAlertItemsTypeForResponse, + ) from .group_0338 import CodeScanningAlertRuleType as CodeScanningAlertRuleType + from .group_0338 import ( + CodeScanningAlertRuleTypeForResponse as CodeScanningAlertRuleTypeForResponse, + ) from .group_0338 import CodeScanningAlertType as CodeScanningAlertType + from .group_0338 import ( + CodeScanningAlertTypeForResponse as CodeScanningAlertTypeForResponse, + ) from .group_0339 import CodeScanningAutofixType as CodeScanningAutofixType + from .group_0339 import ( + CodeScanningAutofixTypeForResponse as CodeScanningAutofixTypeForResponse, + ) from .group_0340 import ( CodeScanningAutofixCommitsType as CodeScanningAutofixCommitsType, ) + from .group_0340 import ( + CodeScanningAutofixCommitsTypeForResponse as CodeScanningAutofixCommitsTypeForResponse, + ) from .group_0341 import ( CodeScanningAutofixCommitsResponseType as CodeScanningAutofixCommitsResponseType, ) + from .group_0341 import ( + CodeScanningAutofixCommitsResponseTypeForResponse as CodeScanningAutofixCommitsResponseTypeForResponse, + ) from .group_0342 import CodeScanningAnalysisType as CodeScanningAnalysisType + from .group_0342 import ( + CodeScanningAnalysisTypeForResponse as CodeScanningAnalysisTypeForResponse, + ) from .group_0343 import ( CodeScanningAnalysisDeletionType as CodeScanningAnalysisDeletionType, ) + from .group_0343 import ( + CodeScanningAnalysisDeletionTypeForResponse as CodeScanningAnalysisDeletionTypeForResponse, + ) from .group_0344 import ( CodeScanningCodeqlDatabaseType as CodeScanningCodeqlDatabaseType, ) + from .group_0344 import ( + CodeScanningCodeqlDatabaseTypeForResponse as CodeScanningCodeqlDatabaseTypeForResponse, + ) from .group_0345 import ( CodeScanningVariantAnalysisRepositoryType as CodeScanningVariantAnalysisRepositoryType, ) + from .group_0345 import ( + CodeScanningVariantAnalysisRepositoryTypeForResponse as CodeScanningVariantAnalysisRepositoryTypeForResponse, + ) from .group_0346 import ( CodeScanningVariantAnalysisSkippedRepoGroupType as CodeScanningVariantAnalysisSkippedRepoGroupType, ) + from .group_0346 import ( + CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse as CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse, + ) from .group_0347 import ( CodeScanningVariantAnalysisType as CodeScanningVariantAnalysisType, ) + from .group_0347 import ( + CodeScanningVariantAnalysisTypeForResponse as CodeScanningVariantAnalysisTypeForResponse, + ) from .group_0348 import ( CodeScanningVariantAnalysisPropScannedRepositoriesItemsType as CodeScanningVariantAnalysisPropScannedRepositoriesItemsType, ) + from .group_0348 import ( + CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse as CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse, + ) from .group_0349 import ( CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType as CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType, ) + from .group_0349 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse as CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse, + ) from .group_0349 import ( CodeScanningVariantAnalysisPropSkippedRepositoriesType as CodeScanningVariantAnalysisPropSkippedRepositoriesType, ) - from .group_0350 import ( + from .group_0349 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse as CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse, + ) + from .group_0350 import ( CodeScanningVariantAnalysisRepoTaskType as CodeScanningVariantAnalysisRepoTaskType, ) + from .group_0350 import ( + CodeScanningVariantAnalysisRepoTaskTypeForResponse as CodeScanningVariantAnalysisRepoTaskTypeForResponse, + ) from .group_0351 import CodeScanningDefaultSetupType as CodeScanningDefaultSetupType + from .group_0351 import ( + CodeScanningDefaultSetupTypeForResponse as CodeScanningDefaultSetupTypeForResponse, + ) from .group_0352 import ( CodeScanningDefaultSetupUpdateType as CodeScanningDefaultSetupUpdateType, ) + from .group_0352 import ( + CodeScanningDefaultSetupUpdateTypeForResponse as CodeScanningDefaultSetupUpdateTypeForResponse, + ) from .group_0353 import ( CodeScanningDefaultSetupUpdateResponseType as CodeScanningDefaultSetupUpdateResponseType, ) + from .group_0353 import ( + CodeScanningDefaultSetupUpdateResponseTypeForResponse as CodeScanningDefaultSetupUpdateResponseTypeForResponse, + ) from .group_0354 import ( CodeScanningSarifsReceiptType as CodeScanningSarifsReceiptType, ) + from .group_0354 import ( + CodeScanningSarifsReceiptTypeForResponse as CodeScanningSarifsReceiptTypeForResponse, + ) from .group_0355 import CodeScanningSarifsStatusType as CodeScanningSarifsStatusType + from .group_0355 import ( + CodeScanningSarifsStatusTypeForResponse as CodeScanningSarifsStatusTypeForResponse, + ) from .group_0356 import ( CodeSecurityConfigurationForRepositoryType as CodeSecurityConfigurationForRepositoryType, ) + from .group_0356 import ( + CodeSecurityConfigurationForRepositoryTypeForResponse as CodeSecurityConfigurationForRepositoryTypeForResponse, + ) from .group_0357 import ( CodeownersErrorsPropErrorsItemsType as CodeownersErrorsPropErrorsItemsType, ) + from .group_0357 import ( + CodeownersErrorsPropErrorsItemsTypeForResponse as CodeownersErrorsPropErrorsItemsTypeForResponse, + ) from .group_0357 import CodeownersErrorsType as CodeownersErrorsType + from .group_0357 import ( + CodeownersErrorsTypeForResponse as CodeownersErrorsTypeForResponse, + ) from .group_0358 import ( CodespacesPermissionsCheckForDevcontainerType as CodespacesPermissionsCheckForDevcontainerType, ) + from .group_0358 import ( + CodespacesPermissionsCheckForDevcontainerTypeForResponse as CodespacesPermissionsCheckForDevcontainerTypeForResponse, + ) from .group_0359 import RepositoryInvitationType as RepositoryInvitationType + from .group_0359 import ( + RepositoryInvitationTypeForResponse as RepositoryInvitationTypeForResponse, + ) from .group_0360 import ( CollaboratorPropPermissionsType as CollaboratorPropPermissionsType, ) + from .group_0360 import ( + CollaboratorPropPermissionsTypeForResponse as CollaboratorPropPermissionsTypeForResponse, + ) from .group_0360 import CollaboratorType as CollaboratorType + from .group_0360 import CollaboratorTypeForResponse as CollaboratorTypeForResponse from .group_0360 import ( RepositoryCollaboratorPermissionType as RepositoryCollaboratorPermissionType, ) + from .group_0360 import ( + RepositoryCollaboratorPermissionTypeForResponse as RepositoryCollaboratorPermissionTypeForResponse, + ) from .group_0361 import CommitCommentType as CommitCommentType + from .group_0361 import CommitCommentTypeForResponse as CommitCommentTypeForResponse from .group_0361 import ( TimelineCommitCommentedEventType as TimelineCommitCommentedEventType, ) + from .group_0361 import ( + TimelineCommitCommentedEventTypeForResponse as TimelineCommitCommentedEventTypeForResponse, + ) from .group_0362 import BranchShortPropCommitType as BranchShortPropCommitType + from .group_0362 import ( + BranchShortPropCommitTypeForResponse as BranchShortPropCommitTypeForResponse, + ) from .group_0362 import BranchShortType as BranchShortType + from .group_0362 import BranchShortTypeForResponse as BranchShortTypeForResponse from .group_0363 import CombinedCommitStatusType as CombinedCommitStatusType + from .group_0363 import ( + CombinedCommitStatusTypeForResponse as CombinedCommitStatusTypeForResponse, + ) from .group_0363 import SimpleCommitStatusType as SimpleCommitStatusType + from .group_0363 import ( + SimpleCommitStatusTypeForResponse as SimpleCommitStatusTypeForResponse, + ) from .group_0364 import StatusType as StatusType + from .group_0364 import StatusTypeForResponse as StatusTypeForResponse from .group_0365 import CommunityHealthFileType as CommunityHealthFileType + from .group_0365 import ( + CommunityHealthFileTypeForResponse as CommunityHealthFileTypeForResponse, + ) from .group_0365 import ( CommunityProfilePropFilesType as CommunityProfilePropFilesType, ) + from .group_0365 import ( + CommunityProfilePropFilesTypeForResponse as CommunityProfilePropFilesTypeForResponse, + ) from .group_0365 import CommunityProfileType as CommunityProfileType + from .group_0365 import ( + CommunityProfileTypeForResponse as CommunityProfileTypeForResponse, + ) from .group_0366 import CommitComparisonType as CommitComparisonType + from .group_0366 import ( + CommitComparisonTypeForResponse as CommitComparisonTypeForResponse, + ) from .group_0367 import ( ContentTreePropEntriesItemsPropLinksType as ContentTreePropEntriesItemsPropLinksType, ) + from .group_0367 import ( + ContentTreePropEntriesItemsPropLinksTypeForResponse as ContentTreePropEntriesItemsPropLinksTypeForResponse, + ) from .group_0367 import ( ContentTreePropEntriesItemsType as ContentTreePropEntriesItemsType, ) + from .group_0367 import ( + ContentTreePropEntriesItemsTypeForResponse as ContentTreePropEntriesItemsTypeForResponse, + ) from .group_0367 import ContentTreePropLinksType as ContentTreePropLinksType + from .group_0367 import ( + ContentTreePropLinksTypeForResponse as ContentTreePropLinksTypeForResponse, + ) from .group_0367 import ContentTreeType as ContentTreeType + from .group_0367 import ContentTreeTypeForResponse as ContentTreeTypeForResponse from .group_0368 import ( ContentDirectoryItemsPropLinksType as ContentDirectoryItemsPropLinksType, ) + from .group_0368 import ( + ContentDirectoryItemsPropLinksTypeForResponse as ContentDirectoryItemsPropLinksTypeForResponse, + ) from .group_0368 import ContentDirectoryItemsType as ContentDirectoryItemsType + from .group_0368 import ( + ContentDirectoryItemsTypeForResponse as ContentDirectoryItemsTypeForResponse, + ) from .group_0369 import ContentFilePropLinksType as ContentFilePropLinksType + from .group_0369 import ( + ContentFilePropLinksTypeForResponse as ContentFilePropLinksTypeForResponse, + ) from .group_0369 import ContentFileType as ContentFileType + from .group_0369 import ContentFileTypeForResponse as ContentFileTypeForResponse from .group_0370 import ContentSymlinkPropLinksType as ContentSymlinkPropLinksType + from .group_0370 import ( + ContentSymlinkPropLinksTypeForResponse as ContentSymlinkPropLinksTypeForResponse, + ) from .group_0370 import ContentSymlinkType as ContentSymlinkType + from .group_0370 import ( + ContentSymlinkTypeForResponse as ContentSymlinkTypeForResponse, + ) from .group_0371 import ( ContentSubmodulePropLinksType as ContentSubmodulePropLinksType, ) + from .group_0371 import ( + ContentSubmodulePropLinksTypeForResponse as ContentSubmodulePropLinksTypeForResponse, + ) from .group_0371 import ContentSubmoduleType as ContentSubmoduleType + from .group_0371 import ( + ContentSubmoduleTypeForResponse as ContentSubmoduleTypeForResponse, + ) from .group_0372 import ( FileCommitPropCommitPropAuthorType as FileCommitPropCommitPropAuthorType, ) + from .group_0372 import ( + FileCommitPropCommitPropAuthorTypeForResponse as FileCommitPropCommitPropAuthorTypeForResponse, + ) from .group_0372 import ( FileCommitPropCommitPropCommitterType as FileCommitPropCommitPropCommitterType, ) + from .group_0372 import ( + FileCommitPropCommitPropCommitterTypeForResponse as FileCommitPropCommitPropCommitterTypeForResponse, + ) from .group_0372 import ( FileCommitPropCommitPropParentsItemsType as FileCommitPropCommitPropParentsItemsType, ) + from .group_0372 import ( + FileCommitPropCommitPropParentsItemsTypeForResponse as FileCommitPropCommitPropParentsItemsTypeForResponse, + ) from .group_0372 import ( FileCommitPropCommitPropTreeType as FileCommitPropCommitPropTreeType, ) + from .group_0372 import ( + FileCommitPropCommitPropTreeTypeForResponse as FileCommitPropCommitPropTreeTypeForResponse, + ) from .group_0372 import ( FileCommitPropCommitPropVerificationType as FileCommitPropCommitPropVerificationType, ) + from .group_0372 import ( + FileCommitPropCommitPropVerificationTypeForResponse as FileCommitPropCommitPropVerificationTypeForResponse, + ) from .group_0372 import FileCommitPropCommitType as FileCommitPropCommitType + from .group_0372 import ( + FileCommitPropCommitTypeForResponse as FileCommitPropCommitTypeForResponse, + ) from .group_0372 import ( FileCommitPropContentPropLinksType as FileCommitPropContentPropLinksType, ) + from .group_0372 import ( + FileCommitPropContentPropLinksTypeForResponse as FileCommitPropContentPropLinksTypeForResponse, + ) from .group_0372 import FileCommitPropContentType as FileCommitPropContentType + from .group_0372 import ( + FileCommitPropContentTypeForResponse as FileCommitPropContentTypeForResponse, + ) from .group_0372 import FileCommitType as FileCommitType + from .group_0372 import FileCommitTypeForResponse as FileCommitTypeForResponse from .group_0373 import ( RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType as RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType, ) + from .group_0373 import ( + RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse as RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse, + ) from .group_0373 import ( RepositoryRuleViolationErrorPropMetadataPropSecretScanningType as RepositoryRuleViolationErrorPropMetadataPropSecretScanningType, ) + from .group_0373 import ( + RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse as RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse, + ) from .group_0373 import ( RepositoryRuleViolationErrorPropMetadataType as RepositoryRuleViolationErrorPropMetadataType, ) + from .group_0373 import ( + RepositoryRuleViolationErrorPropMetadataTypeForResponse as RepositoryRuleViolationErrorPropMetadataTypeForResponse, + ) from .group_0373 import ( RepositoryRuleViolationErrorType as RepositoryRuleViolationErrorType, ) + from .group_0373 import ( + RepositoryRuleViolationErrorTypeForResponse as RepositoryRuleViolationErrorTypeForResponse, + ) from .group_0374 import ContributorType as ContributorType + from .group_0374 import ContributorTypeForResponse as ContributorTypeForResponse from .group_0375 import DependabotAlertType as DependabotAlertType + from .group_0375 import ( + DependabotAlertTypeForResponse as DependabotAlertTypeForResponse, + ) from .group_0376 import ( DependabotAlertPropDependencyType as DependabotAlertPropDependencyType, ) + from .group_0376 import ( + DependabotAlertPropDependencyTypeForResponse as DependabotAlertPropDependencyTypeForResponse, + ) from .group_0377 import ( DependencyGraphDiffItemsPropVulnerabilitiesItemsType as DependencyGraphDiffItemsPropVulnerabilitiesItemsType, ) + from .group_0377 import ( + DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse as DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0377 import DependencyGraphDiffItemsType as DependencyGraphDiffItemsType + from .group_0377 import ( + DependencyGraphDiffItemsTypeForResponse as DependencyGraphDiffItemsTypeForResponse, + ) from .group_0378 import ( DependencyGraphSpdxSbomPropSbomPropCreationInfoType as DependencyGraphSpdxSbomPropSbomPropCreationInfoType, ) + from .group_0378 import ( + DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse as DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse, + ) from .group_0378 import ( DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType as DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType, ) + from .group_0378 import ( + DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse, + ) from .group_0378 import ( DependencyGraphSpdxSbomPropSbomPropPackagesItemsType as DependencyGraphSpdxSbomPropSbomPropPackagesItemsType, ) + from .group_0378 import ( + DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse, + ) from .group_0378 import ( DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType as DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType, ) + from .group_0378 import ( + DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse, + ) from .group_0378 import ( DependencyGraphSpdxSbomPropSbomType as DependencyGraphSpdxSbomPropSbomType, ) + from .group_0378 import ( + DependencyGraphSpdxSbomPropSbomTypeForResponse as DependencyGraphSpdxSbomPropSbomTypeForResponse, + ) from .group_0378 import DependencyGraphSpdxSbomType as DependencyGraphSpdxSbomType + from .group_0378 import ( + DependencyGraphSpdxSbomTypeForResponse as DependencyGraphSpdxSbomTypeForResponse, + ) from .group_0379 import MetadataType as MetadataType + from .group_0379 import MetadataTypeForResponse as MetadataTypeForResponse from .group_0380 import DependencyType as DependencyType + from .group_0380 import DependencyTypeForResponse as DependencyTypeForResponse from .group_0381 import ManifestPropFileType as ManifestPropFileType + from .group_0381 import ( + ManifestPropFileTypeForResponse as ManifestPropFileTypeForResponse, + ) from .group_0381 import ManifestPropResolvedType as ManifestPropResolvedType + from .group_0381 import ( + ManifestPropResolvedTypeForResponse as ManifestPropResolvedTypeForResponse, + ) from .group_0381 import ManifestType as ManifestType + from .group_0381 import ManifestTypeForResponse as ManifestTypeForResponse from .group_0382 import SnapshotPropDetectorType as SnapshotPropDetectorType + from .group_0382 import ( + SnapshotPropDetectorTypeForResponse as SnapshotPropDetectorTypeForResponse, + ) from .group_0382 import SnapshotPropJobType as SnapshotPropJobType + from .group_0382 import ( + SnapshotPropJobTypeForResponse as SnapshotPropJobTypeForResponse, + ) from .group_0382 import SnapshotPropManifestsType as SnapshotPropManifestsType + from .group_0382 import ( + SnapshotPropManifestsTypeForResponse as SnapshotPropManifestsTypeForResponse, + ) from .group_0382 import SnapshotType as SnapshotType + from .group_0382 import SnapshotTypeForResponse as SnapshotTypeForResponse from .group_0383 import DeploymentStatusType as DeploymentStatusType + from .group_0383 import ( + DeploymentStatusTypeForResponse as DeploymentStatusTypeForResponse, + ) from .group_0384 import ( DeploymentBranchPolicySettingsType as DeploymentBranchPolicySettingsType, ) + from .group_0384 import ( + DeploymentBranchPolicySettingsTypeForResponse as DeploymentBranchPolicySettingsTypeForResponse, + ) from .group_0385 import ( EnvironmentPropProtectionRulesItemsAnyof0Type as EnvironmentPropProtectionRulesItemsAnyof0Type, ) + from .group_0385 import ( + EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse, + ) from .group_0385 import ( EnvironmentPropProtectionRulesItemsAnyof2Type as EnvironmentPropProtectionRulesItemsAnyof2Type, ) + from .group_0385 import ( + EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse, + ) from .group_0385 import EnvironmentType as EnvironmentType + from .group_0385 import EnvironmentTypeForResponse as EnvironmentTypeForResponse from .group_0385 import ( ReposOwnerRepoEnvironmentsGetResponse200Type as ReposOwnerRepoEnvironmentsGetResponse200Type, ) + from .group_0385 import ( + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, + ) from .group_0386 import ( EnvironmentPropProtectionRulesItemsAnyof1Type as EnvironmentPropProtectionRulesItemsAnyof1Type, ) + from .group_0386 import ( + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, + ) from .group_0387 import ( EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType as EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType, ) + from .group_0387 import ( + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse as EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse, + ) from .group_0388 import ( DeploymentBranchPolicyNamePatternWithTypeType as DeploymentBranchPolicyNamePatternWithTypeType, ) + from .group_0388 import ( + DeploymentBranchPolicyNamePatternWithTypeTypeForResponse as DeploymentBranchPolicyNamePatternWithTypeTypeForResponse, + ) from .group_0389 import ( DeploymentBranchPolicyNamePatternType as DeploymentBranchPolicyNamePatternType, ) + from .group_0389 import ( + DeploymentBranchPolicyNamePatternTypeForResponse as DeploymentBranchPolicyNamePatternTypeForResponse, + ) from .group_0390 import CustomDeploymentRuleAppType as CustomDeploymentRuleAppType + from .group_0390 import ( + CustomDeploymentRuleAppTypeForResponse as CustomDeploymentRuleAppTypeForResponse, + ) from .group_0391 import DeploymentProtectionRuleType as DeploymentProtectionRuleType + from .group_0391 import ( + DeploymentProtectionRuleTypeForResponse as DeploymentProtectionRuleTypeForResponse, + ) from .group_0391 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, ) + from .group_0391 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, + ) from .group_0392 import ShortBlobType as ShortBlobType + from .group_0392 import ShortBlobTypeForResponse as ShortBlobTypeForResponse from .group_0393 import BlobType as BlobType + from .group_0393 import BlobTypeForResponse as BlobTypeForResponse from .group_0394 import GitCommitPropAuthorType as GitCommitPropAuthorType + from .group_0394 import ( + GitCommitPropAuthorTypeForResponse as GitCommitPropAuthorTypeForResponse, + ) from .group_0394 import GitCommitPropCommitterType as GitCommitPropCommitterType + from .group_0394 import ( + GitCommitPropCommitterTypeForResponse as GitCommitPropCommitterTypeForResponse, + ) from .group_0394 import ( GitCommitPropParentsItemsType as GitCommitPropParentsItemsType, ) + from .group_0394 import ( + GitCommitPropParentsItemsTypeForResponse as GitCommitPropParentsItemsTypeForResponse, + ) from .group_0394 import GitCommitPropTreeType as GitCommitPropTreeType + from .group_0394 import ( + GitCommitPropTreeTypeForResponse as GitCommitPropTreeTypeForResponse, + ) from .group_0394 import ( GitCommitPropVerificationType as GitCommitPropVerificationType, ) + from .group_0394 import ( + GitCommitPropVerificationTypeForResponse as GitCommitPropVerificationTypeForResponse, + ) from .group_0394 import GitCommitType as GitCommitType + from .group_0394 import GitCommitTypeForResponse as GitCommitTypeForResponse from .group_0395 import GitRefPropObjectType as GitRefPropObjectType + from .group_0395 import ( + GitRefPropObjectTypeForResponse as GitRefPropObjectTypeForResponse, + ) from .group_0395 import GitRefType as GitRefType + from .group_0395 import GitRefTypeForResponse as GitRefTypeForResponse from .group_0396 import GitTagPropObjectType as GitTagPropObjectType + from .group_0396 import ( + GitTagPropObjectTypeForResponse as GitTagPropObjectTypeForResponse, + ) from .group_0396 import GitTagPropTaggerType as GitTagPropTaggerType + from .group_0396 import ( + GitTagPropTaggerTypeForResponse as GitTagPropTaggerTypeForResponse, + ) from .group_0396 import GitTagType as GitTagType + from .group_0396 import GitTagTypeForResponse as GitTagTypeForResponse from .group_0397 import GitTreePropTreeItemsType as GitTreePropTreeItemsType + from .group_0397 import ( + GitTreePropTreeItemsTypeForResponse as GitTreePropTreeItemsTypeForResponse, + ) from .group_0397 import GitTreeType as GitTreeType + from .group_0397 import GitTreeTypeForResponse as GitTreeTypeForResponse from .group_0398 import HookResponseType as HookResponseType + from .group_0398 import HookResponseTypeForResponse as HookResponseTypeForResponse from .group_0399 import HookType as HookType + from .group_0399 import HookTypeForResponse as HookTypeForResponse from .group_0400 import CheckImmutableReleasesType as CheckImmutableReleasesType + from .group_0400 import ( + CheckImmutableReleasesTypeForResponse as CheckImmutableReleasesTypeForResponse, + ) from .group_0401 import ( ImportPropProjectChoicesItemsType as ImportPropProjectChoicesItemsType, ) + from .group_0401 import ( + ImportPropProjectChoicesItemsTypeForResponse as ImportPropProjectChoicesItemsTypeForResponse, + ) from .group_0401 import ImportType as ImportType + from .group_0401 import ImportTypeForResponse as ImportTypeForResponse from .group_0402 import PorterAuthorType as PorterAuthorType + from .group_0402 import PorterAuthorTypeForResponse as PorterAuthorTypeForResponse from .group_0403 import PorterLargeFileType as PorterLargeFileType + from .group_0403 import ( + PorterLargeFileTypeForResponse as PorterLargeFileTypeForResponse, + ) from .group_0404 import ( IssueEventDismissedReviewType as IssueEventDismissedReviewType, ) + from .group_0404 import ( + IssueEventDismissedReviewTypeForResponse as IssueEventDismissedReviewTypeForResponse, + ) from .group_0404 import IssueEventLabelType as IssueEventLabelType + from .group_0404 import ( + IssueEventLabelTypeForResponse as IssueEventLabelTypeForResponse, + ) from .group_0404 import IssueEventMilestoneType as IssueEventMilestoneType + from .group_0404 import ( + IssueEventMilestoneTypeForResponse as IssueEventMilestoneTypeForResponse, + ) from .group_0404 import IssueEventProjectCardType as IssueEventProjectCardType + from .group_0404 import ( + IssueEventProjectCardTypeForResponse as IssueEventProjectCardTypeForResponse, + ) from .group_0404 import IssueEventRenameType as IssueEventRenameType + from .group_0404 import ( + IssueEventRenameTypeForResponse as IssueEventRenameTypeForResponse, + ) from .group_0404 import IssueEventType as IssueEventType + from .group_0404 import IssueEventTypeForResponse as IssueEventTypeForResponse from .group_0405 import ( LabeledIssueEventPropLabelType as LabeledIssueEventPropLabelType, ) + from .group_0405 import ( + LabeledIssueEventPropLabelTypeForResponse as LabeledIssueEventPropLabelTypeForResponse, + ) from .group_0405 import LabeledIssueEventType as LabeledIssueEventType + from .group_0405 import ( + LabeledIssueEventTypeForResponse as LabeledIssueEventTypeForResponse, + ) from .group_0406 import ( UnlabeledIssueEventPropLabelType as UnlabeledIssueEventPropLabelType, ) + from .group_0406 import ( + UnlabeledIssueEventPropLabelTypeForResponse as UnlabeledIssueEventPropLabelTypeForResponse, + ) from .group_0406 import UnlabeledIssueEventType as UnlabeledIssueEventType + from .group_0406 import ( + UnlabeledIssueEventTypeForResponse as UnlabeledIssueEventTypeForResponse, + ) from .group_0407 import AssignedIssueEventType as AssignedIssueEventType + from .group_0407 import ( + AssignedIssueEventTypeForResponse as AssignedIssueEventTypeForResponse, + ) from .group_0408 import UnassignedIssueEventType as UnassignedIssueEventType + from .group_0408 import ( + UnassignedIssueEventTypeForResponse as UnassignedIssueEventTypeForResponse, + ) from .group_0409 import ( MilestonedIssueEventPropMilestoneType as MilestonedIssueEventPropMilestoneType, ) + from .group_0409 import ( + MilestonedIssueEventPropMilestoneTypeForResponse as MilestonedIssueEventPropMilestoneTypeForResponse, + ) from .group_0409 import MilestonedIssueEventType as MilestonedIssueEventType + from .group_0409 import ( + MilestonedIssueEventTypeForResponse as MilestonedIssueEventTypeForResponse, + ) from .group_0410 import ( DemilestonedIssueEventPropMilestoneType as DemilestonedIssueEventPropMilestoneType, ) + from .group_0410 import ( + DemilestonedIssueEventPropMilestoneTypeForResponse as DemilestonedIssueEventPropMilestoneTypeForResponse, + ) from .group_0410 import DemilestonedIssueEventType as DemilestonedIssueEventType + from .group_0410 import ( + DemilestonedIssueEventTypeForResponse as DemilestonedIssueEventTypeForResponse, + ) from .group_0411 import ( RenamedIssueEventPropRenameType as RenamedIssueEventPropRenameType, ) + from .group_0411 import ( + RenamedIssueEventPropRenameTypeForResponse as RenamedIssueEventPropRenameTypeForResponse, + ) from .group_0411 import RenamedIssueEventType as RenamedIssueEventType + from .group_0411 import ( + RenamedIssueEventTypeForResponse as RenamedIssueEventTypeForResponse, + ) from .group_0412 import ( ReviewRequestedIssueEventType as ReviewRequestedIssueEventType, ) + from .group_0412 import ( + ReviewRequestedIssueEventTypeForResponse as ReviewRequestedIssueEventTypeForResponse, + ) from .group_0413 import ( ReviewRequestRemovedIssueEventType as ReviewRequestRemovedIssueEventType, ) + from .group_0413 import ( + ReviewRequestRemovedIssueEventTypeForResponse as ReviewRequestRemovedIssueEventTypeForResponse, + ) from .group_0414 import ( ReviewDismissedIssueEventPropDismissedReviewType as ReviewDismissedIssueEventPropDismissedReviewType, ) + from .group_0414 import ( + ReviewDismissedIssueEventPropDismissedReviewTypeForResponse as ReviewDismissedIssueEventPropDismissedReviewTypeForResponse, + ) from .group_0414 import ( ReviewDismissedIssueEventType as ReviewDismissedIssueEventType, ) + from .group_0414 import ( + ReviewDismissedIssueEventTypeForResponse as ReviewDismissedIssueEventTypeForResponse, + ) from .group_0415 import LockedIssueEventType as LockedIssueEventType + from .group_0415 import ( + LockedIssueEventTypeForResponse as LockedIssueEventTypeForResponse, + ) from .group_0416 import ( AddedToProjectIssueEventPropProjectCardType as AddedToProjectIssueEventPropProjectCardType, ) + from .group_0416 import ( + AddedToProjectIssueEventPropProjectCardTypeForResponse as AddedToProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0416 import AddedToProjectIssueEventType as AddedToProjectIssueEventType + from .group_0416 import ( + AddedToProjectIssueEventTypeForResponse as AddedToProjectIssueEventTypeForResponse, + ) from .group_0417 import ( MovedColumnInProjectIssueEventPropProjectCardType as MovedColumnInProjectIssueEventPropProjectCardType, ) + from .group_0417 import ( + MovedColumnInProjectIssueEventPropProjectCardTypeForResponse as MovedColumnInProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0417 import ( MovedColumnInProjectIssueEventType as MovedColumnInProjectIssueEventType, ) + from .group_0417 import ( + MovedColumnInProjectIssueEventTypeForResponse as MovedColumnInProjectIssueEventTypeForResponse, + ) from .group_0418 import ( RemovedFromProjectIssueEventPropProjectCardType as RemovedFromProjectIssueEventPropProjectCardType, ) + from .group_0418 import ( + RemovedFromProjectIssueEventPropProjectCardTypeForResponse as RemovedFromProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0418 import ( RemovedFromProjectIssueEventType as RemovedFromProjectIssueEventType, ) + from .group_0418 import ( + RemovedFromProjectIssueEventTypeForResponse as RemovedFromProjectIssueEventTypeForResponse, + ) from .group_0419 import ( ConvertedNoteToIssueIssueEventPropProjectCardType as ConvertedNoteToIssueIssueEventPropProjectCardType, ) + from .group_0419 import ( + ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse as ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse, + ) from .group_0419 import ( ConvertedNoteToIssueIssueEventType as ConvertedNoteToIssueIssueEventType, ) + from .group_0419 import ( + ConvertedNoteToIssueIssueEventTypeForResponse as ConvertedNoteToIssueIssueEventTypeForResponse, + ) from .group_0420 import TimelineCommentEventType as TimelineCommentEventType + from .group_0420 import ( + TimelineCommentEventTypeForResponse as TimelineCommentEventTypeForResponse, + ) from .group_0421 import ( TimelineCrossReferencedEventType as TimelineCrossReferencedEventType, ) + from .group_0421 import ( + TimelineCrossReferencedEventTypeForResponse as TimelineCrossReferencedEventTypeForResponse, + ) from .group_0422 import ( TimelineCrossReferencedEventPropSourceType as TimelineCrossReferencedEventPropSourceType, ) + from .group_0422 import ( + TimelineCrossReferencedEventPropSourceTypeForResponse as TimelineCrossReferencedEventPropSourceTypeForResponse, + ) from .group_0423 import ( TimelineCommittedEventPropAuthorType as TimelineCommittedEventPropAuthorType, ) + from .group_0423 import ( + TimelineCommittedEventPropAuthorTypeForResponse as TimelineCommittedEventPropAuthorTypeForResponse, + ) from .group_0423 import ( TimelineCommittedEventPropCommitterType as TimelineCommittedEventPropCommitterType, ) + from .group_0423 import ( + TimelineCommittedEventPropCommitterTypeForResponse as TimelineCommittedEventPropCommitterTypeForResponse, + ) from .group_0423 import ( TimelineCommittedEventPropParentsItemsType as TimelineCommittedEventPropParentsItemsType, ) + from .group_0423 import ( + TimelineCommittedEventPropParentsItemsTypeForResponse as TimelineCommittedEventPropParentsItemsTypeForResponse, + ) from .group_0423 import ( TimelineCommittedEventPropTreeType as TimelineCommittedEventPropTreeType, ) + from .group_0423 import ( + TimelineCommittedEventPropTreeTypeForResponse as TimelineCommittedEventPropTreeTypeForResponse, + ) from .group_0423 import ( TimelineCommittedEventPropVerificationType as TimelineCommittedEventPropVerificationType, ) + from .group_0423 import ( + TimelineCommittedEventPropVerificationTypeForResponse as TimelineCommittedEventPropVerificationTypeForResponse, + ) from .group_0423 import TimelineCommittedEventType as TimelineCommittedEventType + from .group_0423 import ( + TimelineCommittedEventTypeForResponse as TimelineCommittedEventTypeForResponse, + ) from .group_0424 import ( TimelineReviewedEventPropLinksPropHtmlType as TimelineReviewedEventPropLinksPropHtmlType, ) + from .group_0424 import ( + TimelineReviewedEventPropLinksPropHtmlTypeForResponse as TimelineReviewedEventPropLinksPropHtmlTypeForResponse, + ) from .group_0424 import ( TimelineReviewedEventPropLinksPropPullRequestType as TimelineReviewedEventPropLinksPropPullRequestType, ) + from .group_0424 import ( + TimelineReviewedEventPropLinksPropPullRequestTypeForResponse as TimelineReviewedEventPropLinksPropPullRequestTypeForResponse, + ) from .group_0424 import ( TimelineReviewedEventPropLinksType as TimelineReviewedEventPropLinksType, ) + from .group_0424 import ( + TimelineReviewedEventPropLinksTypeForResponse as TimelineReviewedEventPropLinksTypeForResponse, + ) from .group_0424 import TimelineReviewedEventType as TimelineReviewedEventType + from .group_0424 import ( + TimelineReviewedEventTypeForResponse as TimelineReviewedEventTypeForResponse, + ) from .group_0425 import ( PullRequestReviewCommentPropLinksPropHtmlType as PullRequestReviewCommentPropLinksPropHtmlType, ) + from .group_0425 import ( + PullRequestReviewCommentPropLinksPropHtmlTypeForResponse as PullRequestReviewCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0425 import ( PullRequestReviewCommentPropLinksPropPullRequestType as PullRequestReviewCommentPropLinksPropPullRequestType, ) + from .group_0425 import ( + PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse as PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0425 import ( PullRequestReviewCommentPropLinksPropSelfType as PullRequestReviewCommentPropLinksPropSelfType, ) + from .group_0425 import ( + PullRequestReviewCommentPropLinksPropSelfTypeForResponse as PullRequestReviewCommentPropLinksPropSelfTypeForResponse, + ) from .group_0425 import ( PullRequestReviewCommentPropLinksType as PullRequestReviewCommentPropLinksType, ) + from .group_0425 import ( + PullRequestReviewCommentPropLinksTypeForResponse as PullRequestReviewCommentPropLinksTypeForResponse, + ) from .group_0425 import PullRequestReviewCommentType as PullRequestReviewCommentType + from .group_0425 import ( + PullRequestReviewCommentTypeForResponse as PullRequestReviewCommentTypeForResponse, + ) from .group_0425 import ( TimelineLineCommentedEventType as TimelineLineCommentedEventType, ) + from .group_0425 import ( + TimelineLineCommentedEventTypeForResponse as TimelineLineCommentedEventTypeForResponse, + ) from .group_0426 import ( TimelineAssignedIssueEventType as TimelineAssignedIssueEventType, ) + from .group_0426 import ( + TimelineAssignedIssueEventTypeForResponse as TimelineAssignedIssueEventTypeForResponse, + ) from .group_0427 import ( TimelineUnassignedIssueEventType as TimelineUnassignedIssueEventType, ) + from .group_0427 import ( + TimelineUnassignedIssueEventTypeForResponse as TimelineUnassignedIssueEventTypeForResponse, + ) from .group_0428 import StateChangeIssueEventType as StateChangeIssueEventType + from .group_0428 import ( + StateChangeIssueEventTypeForResponse as StateChangeIssueEventTypeForResponse, + ) from .group_0429 import DeployKeyType as DeployKeyType + from .group_0429 import DeployKeyTypeForResponse as DeployKeyTypeForResponse from .group_0430 import LanguageType as LanguageType + from .group_0430 import LanguageTypeForResponse as LanguageTypeForResponse from .group_0431 import LicenseContentPropLinksType as LicenseContentPropLinksType + from .group_0431 import ( + LicenseContentPropLinksTypeForResponse as LicenseContentPropLinksTypeForResponse, + ) from .group_0431 import LicenseContentType as LicenseContentType + from .group_0431 import ( + LicenseContentTypeForResponse as LicenseContentTypeForResponse, + ) from .group_0432 import MergedUpstreamType as MergedUpstreamType + from .group_0432 import ( + MergedUpstreamTypeForResponse as MergedUpstreamTypeForResponse, + ) from .group_0433 import PagesHttpsCertificateType as PagesHttpsCertificateType + from .group_0433 import ( + PagesHttpsCertificateTypeForResponse as PagesHttpsCertificateTypeForResponse, + ) from .group_0433 import PagesSourceHashType as PagesSourceHashType + from .group_0433 import ( + PagesSourceHashTypeForResponse as PagesSourceHashTypeForResponse, + ) from .group_0433 import PageType as PageType + from .group_0433 import PageTypeForResponse as PageTypeForResponse from .group_0434 import PageBuildPropErrorType as PageBuildPropErrorType + from .group_0434 import ( + PageBuildPropErrorTypeForResponse as PageBuildPropErrorTypeForResponse, + ) from .group_0434 import PageBuildType as PageBuildType + from .group_0434 import PageBuildTypeForResponse as PageBuildTypeForResponse from .group_0435 import PageBuildStatusType as PageBuildStatusType + from .group_0435 import ( + PageBuildStatusTypeForResponse as PageBuildStatusTypeForResponse, + ) from .group_0436 import PageDeploymentType as PageDeploymentType + from .group_0436 import ( + PageDeploymentTypeForResponse as PageDeploymentTypeForResponse, + ) from .group_0437 import PagesDeploymentStatusType as PagesDeploymentStatusType + from .group_0437 import ( + PagesDeploymentStatusTypeForResponse as PagesDeploymentStatusTypeForResponse, + ) from .group_0438 import ( PagesHealthCheckPropAltDomainType as PagesHealthCheckPropAltDomainType, ) + from .group_0438 import ( + PagesHealthCheckPropAltDomainTypeForResponse as PagesHealthCheckPropAltDomainTypeForResponse, + ) from .group_0438 import ( PagesHealthCheckPropDomainType as PagesHealthCheckPropDomainType, ) + from .group_0438 import ( + PagesHealthCheckPropDomainTypeForResponse as PagesHealthCheckPropDomainTypeForResponse, + ) from .group_0438 import PagesHealthCheckType as PagesHealthCheckType + from .group_0438 import ( + PagesHealthCheckTypeForResponse as PagesHealthCheckTypeForResponse, + ) from .group_0439 import PullRequestType as PullRequestType + from .group_0439 import PullRequestTypeForResponse as PullRequestTypeForResponse from .group_0440 import ( PullRequestPropLabelsItemsType as PullRequestPropLabelsItemsType, ) + from .group_0440 import ( + PullRequestPropLabelsItemsTypeForResponse as PullRequestPropLabelsItemsTypeForResponse, + ) from .group_0441 import PullRequestPropBaseType as PullRequestPropBaseType + from .group_0441 import ( + PullRequestPropBaseTypeForResponse as PullRequestPropBaseTypeForResponse, + ) from .group_0441 import PullRequestPropHeadType as PullRequestPropHeadType + from .group_0441 import ( + PullRequestPropHeadTypeForResponse as PullRequestPropHeadTypeForResponse, + ) from .group_0442 import PullRequestPropLinksType as PullRequestPropLinksType + from .group_0442 import ( + PullRequestPropLinksTypeForResponse as PullRequestPropLinksTypeForResponse, + ) from .group_0443 import PullRequestMergeResultType as PullRequestMergeResultType + from .group_0443 import ( + PullRequestMergeResultTypeForResponse as PullRequestMergeResultTypeForResponse, + ) from .group_0444 import PullRequestReviewRequestType as PullRequestReviewRequestType + from .group_0444 import ( + PullRequestReviewRequestTypeForResponse as PullRequestReviewRequestTypeForResponse, + ) from .group_0445 import ( PullRequestReviewPropLinksPropHtmlType as PullRequestReviewPropLinksPropHtmlType, ) + from .group_0445 import ( + PullRequestReviewPropLinksPropHtmlTypeForResponse as PullRequestReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0445 import ( PullRequestReviewPropLinksPropPullRequestType as PullRequestReviewPropLinksPropPullRequestType, ) + from .group_0445 import ( + PullRequestReviewPropLinksPropPullRequestTypeForResponse as PullRequestReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0445 import ( PullRequestReviewPropLinksType as PullRequestReviewPropLinksType, ) + from .group_0445 import ( + PullRequestReviewPropLinksTypeForResponse as PullRequestReviewPropLinksTypeForResponse, + ) from .group_0445 import PullRequestReviewType as PullRequestReviewType + from .group_0445 import ( + PullRequestReviewTypeForResponse as PullRequestReviewTypeForResponse, + ) from .group_0446 import ReviewCommentType as ReviewCommentType + from .group_0446 import ReviewCommentTypeForResponse as ReviewCommentTypeForResponse from .group_0447 import ReviewCommentPropLinksType as ReviewCommentPropLinksType + from .group_0447 import ( + ReviewCommentPropLinksTypeForResponse as ReviewCommentPropLinksTypeForResponse, + ) from .group_0448 import ReleaseAssetType as ReleaseAssetType + from .group_0448 import ReleaseAssetTypeForResponse as ReleaseAssetTypeForResponse from .group_0449 import ReleaseType as ReleaseType + from .group_0449 import ReleaseTypeForResponse as ReleaseTypeForResponse from .group_0450 import ReleaseNotesContentType as ReleaseNotesContentType + from .group_0450 import ( + ReleaseNotesContentTypeForResponse as ReleaseNotesContentTypeForResponse, + ) from .group_0451 import ( RepositoryRuleRulesetInfoType as RepositoryRuleRulesetInfoType, ) + from .group_0451 import ( + RepositoryRuleRulesetInfoTypeForResponse as RepositoryRuleRulesetInfoTypeForResponse, + ) from .group_0452 import ( RepositoryRuleDetailedOneof0Type as RepositoryRuleDetailedOneof0Type, ) + from .group_0452 import ( + RepositoryRuleDetailedOneof0TypeForResponse as RepositoryRuleDetailedOneof0TypeForResponse, + ) from .group_0453 import ( RepositoryRuleDetailedOneof1Type as RepositoryRuleDetailedOneof1Type, ) + from .group_0453 import ( + RepositoryRuleDetailedOneof1TypeForResponse as RepositoryRuleDetailedOneof1TypeForResponse, + ) from .group_0454 import ( RepositoryRuleDetailedOneof2Type as RepositoryRuleDetailedOneof2Type, ) + from .group_0454 import ( + RepositoryRuleDetailedOneof2TypeForResponse as RepositoryRuleDetailedOneof2TypeForResponse, + ) from .group_0455 import ( RepositoryRuleDetailedOneof3Type as RepositoryRuleDetailedOneof3Type, ) + from .group_0455 import ( + RepositoryRuleDetailedOneof3TypeForResponse as RepositoryRuleDetailedOneof3TypeForResponse, + ) from .group_0456 import ( RepositoryRuleDetailedOneof4Type as RepositoryRuleDetailedOneof4Type, ) + from .group_0456 import ( + RepositoryRuleDetailedOneof4TypeForResponse as RepositoryRuleDetailedOneof4TypeForResponse, + ) from .group_0457 import ( RepositoryRuleDetailedOneof5Type as RepositoryRuleDetailedOneof5Type, ) + from .group_0457 import ( + RepositoryRuleDetailedOneof5TypeForResponse as RepositoryRuleDetailedOneof5TypeForResponse, + ) from .group_0458 import ( RepositoryRuleDetailedOneof6Type as RepositoryRuleDetailedOneof6Type, ) + from .group_0458 import ( + RepositoryRuleDetailedOneof6TypeForResponse as RepositoryRuleDetailedOneof6TypeForResponse, + ) from .group_0459 import ( RepositoryRuleDetailedOneof7Type as RepositoryRuleDetailedOneof7Type, ) + from .group_0459 import ( + RepositoryRuleDetailedOneof7TypeForResponse as RepositoryRuleDetailedOneof7TypeForResponse, + ) from .group_0460 import ( RepositoryRuleDetailedOneof8Type as RepositoryRuleDetailedOneof8Type, ) + from .group_0460 import ( + RepositoryRuleDetailedOneof8TypeForResponse as RepositoryRuleDetailedOneof8TypeForResponse, + ) from .group_0461 import ( RepositoryRuleDetailedOneof9Type as RepositoryRuleDetailedOneof9Type, ) + from .group_0461 import ( + RepositoryRuleDetailedOneof9TypeForResponse as RepositoryRuleDetailedOneof9TypeForResponse, + ) from .group_0462 import ( RepositoryRuleDetailedOneof10Type as RepositoryRuleDetailedOneof10Type, ) + from .group_0462 import ( + RepositoryRuleDetailedOneof10TypeForResponse as RepositoryRuleDetailedOneof10TypeForResponse, + ) from .group_0463 import ( RepositoryRuleDetailedOneof11Type as RepositoryRuleDetailedOneof11Type, ) + from .group_0463 import ( + RepositoryRuleDetailedOneof11TypeForResponse as RepositoryRuleDetailedOneof11TypeForResponse, + ) from .group_0464 import ( RepositoryRuleDetailedOneof12Type as RepositoryRuleDetailedOneof12Type, ) + from .group_0464 import ( + RepositoryRuleDetailedOneof12TypeForResponse as RepositoryRuleDetailedOneof12TypeForResponse, + ) from .group_0465 import ( RepositoryRuleDetailedOneof13Type as RepositoryRuleDetailedOneof13Type, ) + from .group_0465 import ( + RepositoryRuleDetailedOneof13TypeForResponse as RepositoryRuleDetailedOneof13TypeForResponse, + ) from .group_0466 import ( RepositoryRuleDetailedOneof14Type as RepositoryRuleDetailedOneof14Type, ) + from .group_0466 import ( + RepositoryRuleDetailedOneof14TypeForResponse as RepositoryRuleDetailedOneof14TypeForResponse, + ) from .group_0467 import ( RepositoryRuleDetailedOneof15Type as RepositoryRuleDetailedOneof15Type, ) + from .group_0467 import ( + RepositoryRuleDetailedOneof15TypeForResponse as RepositoryRuleDetailedOneof15TypeForResponse, + ) from .group_0468 import ( RepositoryRuleDetailedOneof16Type as RepositoryRuleDetailedOneof16Type, ) + from .group_0468 import ( + RepositoryRuleDetailedOneof16TypeForResponse as RepositoryRuleDetailedOneof16TypeForResponse, + ) from .group_0469 import ( RepositoryRuleDetailedOneof17Type as RepositoryRuleDetailedOneof17Type, ) + from .group_0469 import ( + RepositoryRuleDetailedOneof17TypeForResponse as RepositoryRuleDetailedOneof17TypeForResponse, + ) from .group_0470 import ( RepositoryRuleDetailedOneof18Type as RepositoryRuleDetailedOneof18Type, ) + from .group_0470 import ( + RepositoryRuleDetailedOneof18TypeForResponse as RepositoryRuleDetailedOneof18TypeForResponse, + ) from .group_0471 import ( RepositoryRuleDetailedOneof19Type as RepositoryRuleDetailedOneof19Type, ) + from .group_0471 import ( + RepositoryRuleDetailedOneof19TypeForResponse as RepositoryRuleDetailedOneof19TypeForResponse, + ) from .group_0472 import ( RepositoryRuleDetailedOneof20Type as RepositoryRuleDetailedOneof20Type, ) + from .group_0472 import ( + RepositoryRuleDetailedOneof20TypeForResponse as RepositoryRuleDetailedOneof20TypeForResponse, + ) from .group_0473 import ( RepositoryRuleDetailedOneof21Type as RepositoryRuleDetailedOneof21Type, ) + from .group_0473 import ( + RepositoryRuleDetailedOneof21TypeForResponse as RepositoryRuleDetailedOneof21TypeForResponse, + ) from .group_0474 import SecretScanningAlertType as SecretScanningAlertType + from .group_0474 import ( + SecretScanningAlertTypeForResponse as SecretScanningAlertTypeForResponse, + ) from .group_0475 import SecretScanningLocationType as SecretScanningLocationType + from .group_0475 import ( + SecretScanningLocationTypeForResponse as SecretScanningLocationTypeForResponse, + ) from .group_0476 import ( SecretScanningPushProtectionBypassType as SecretScanningPushProtectionBypassType, ) + from .group_0476 import ( + SecretScanningPushProtectionBypassTypeForResponse as SecretScanningPushProtectionBypassTypeForResponse, + ) from .group_0477 import ( SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType, ) + from .group_0477 import ( + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse, + ) from .group_0477 import ( SecretScanningScanHistoryType as SecretScanningScanHistoryType, ) + from .group_0477 import ( + SecretScanningScanHistoryTypeForResponse as SecretScanningScanHistoryTypeForResponse, + ) from .group_0477 import SecretScanningScanType as SecretScanningScanType + from .group_0477 import ( + SecretScanningScanTypeForResponse as SecretScanningScanTypeForResponse, + ) from .group_0478 import ( SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type, ) + from .group_0478 import ( + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse, + ) from .group_0479 import ( RepositoryAdvisoryCreatePropCreditsItemsType as RepositoryAdvisoryCreatePropCreditsItemsType, ) + from .group_0479 import ( + RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse as RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse, + ) from .group_0479 import ( RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType as RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0479 import ( + RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse as RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0479 import ( RepositoryAdvisoryCreatePropVulnerabilitiesItemsType as RepositoryAdvisoryCreatePropVulnerabilitiesItemsType, ) + from .group_0479 import ( + RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse as RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0479 import RepositoryAdvisoryCreateType as RepositoryAdvisoryCreateType + from .group_0479 import ( + RepositoryAdvisoryCreateTypeForResponse as RepositoryAdvisoryCreateTypeForResponse, + ) from .group_0480 import ( PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0480 import ( + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0480 import ( PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType, ) + from .group_0480 import ( + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0480 import ( PrivateVulnerabilityReportCreateType as PrivateVulnerabilityReportCreateType, ) + from .group_0480 import ( + PrivateVulnerabilityReportCreateTypeForResponse as PrivateVulnerabilityReportCreateTypeForResponse, + ) from .group_0481 import ( RepositoryAdvisoryUpdatePropCreditsItemsType as RepositoryAdvisoryUpdatePropCreditsItemsType, ) + from .group_0481 import ( + RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse as RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse, + ) from .group_0481 import ( RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0481 import ( + RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0481 import ( RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType, ) + from .group_0481 import ( + RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0481 import RepositoryAdvisoryUpdateType as RepositoryAdvisoryUpdateType + from .group_0481 import ( + RepositoryAdvisoryUpdateTypeForResponse as RepositoryAdvisoryUpdateTypeForResponse, + ) from .group_0482 import StargazerType as StargazerType + from .group_0482 import StargazerTypeForResponse as StargazerTypeForResponse from .group_0483 import CommitActivityType as CommitActivityType + from .group_0483 import ( + CommitActivityTypeForResponse as CommitActivityTypeForResponse, + ) from .group_0484 import ( ContributorActivityPropWeeksItemsType as ContributorActivityPropWeeksItemsType, ) + from .group_0484 import ( + ContributorActivityPropWeeksItemsTypeForResponse as ContributorActivityPropWeeksItemsTypeForResponse, + ) from .group_0484 import ContributorActivityType as ContributorActivityType + from .group_0484 import ( + ContributorActivityTypeForResponse as ContributorActivityTypeForResponse, + ) from .group_0485 import ParticipationStatsType as ParticipationStatsType + from .group_0485 import ( + ParticipationStatsTypeForResponse as ParticipationStatsTypeForResponse, + ) from .group_0486 import RepositorySubscriptionType as RepositorySubscriptionType + from .group_0486 import ( + RepositorySubscriptionTypeForResponse as RepositorySubscriptionTypeForResponse, + ) from .group_0487 import TagPropCommitType as TagPropCommitType + from .group_0487 import TagPropCommitTypeForResponse as TagPropCommitTypeForResponse from .group_0487 import TagType as TagType + from .group_0487 import TagTypeForResponse as TagTypeForResponse from .group_0488 import TagProtectionType as TagProtectionType + from .group_0488 import TagProtectionTypeForResponse as TagProtectionTypeForResponse from .group_0489 import TopicType as TopicType + from .group_0489 import TopicTypeForResponse as TopicTypeForResponse from .group_0490 import TrafficType as TrafficType + from .group_0490 import TrafficTypeForResponse as TrafficTypeForResponse from .group_0491 import CloneTrafficType as CloneTrafficType + from .group_0491 import CloneTrafficTypeForResponse as CloneTrafficTypeForResponse from .group_0492 import ContentTrafficType as ContentTrafficType + from .group_0492 import ( + ContentTrafficTypeForResponse as ContentTrafficTypeForResponse, + ) from .group_0493 import ReferrerTrafficType as ReferrerTrafficType + from .group_0493 import ( + ReferrerTrafficTypeForResponse as ReferrerTrafficTypeForResponse, + ) from .group_0494 import ViewTrafficType as ViewTrafficType + from .group_0494 import ViewTrafficTypeForResponse as ViewTrafficTypeForResponse from .group_0495 import ( GroupResponsePropMembersItemsType as GroupResponsePropMembersItemsType, ) + from .group_0495 import ( + GroupResponsePropMembersItemsTypeForResponse as GroupResponsePropMembersItemsTypeForResponse, + ) from .group_0495 import GroupResponseType as GroupResponseType + from .group_0495 import GroupResponseTypeForResponse as GroupResponseTypeForResponse from .group_0496 import MetaType as MetaType + from .group_0496 import MetaTypeForResponse as MetaTypeForResponse from .group_0497 import ScimEnterpriseGroupListType as ScimEnterpriseGroupListType + from .group_0497 import ( + ScimEnterpriseGroupListTypeForResponse as ScimEnterpriseGroupListTypeForResponse, + ) from .group_0497 import ( ScimEnterpriseGroupResponseMergedMembersType as ScimEnterpriseGroupResponseMergedMembersType, ) + from .group_0497 import ( + ScimEnterpriseGroupResponseMergedMembersTypeForResponse as ScimEnterpriseGroupResponseMergedMembersTypeForResponse, + ) from .group_0497 import ( ScimEnterpriseGroupResponseType as ScimEnterpriseGroupResponseType, ) + from .group_0497 import ( + ScimEnterpriseGroupResponseTypeForResponse as ScimEnterpriseGroupResponseTypeForResponse, + ) from .group_0498 import ( ScimEnterpriseGroupResponseAllof1PropMembersItemsType as ScimEnterpriseGroupResponseAllof1PropMembersItemsType, ) + from .group_0498 import ( + ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse as ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse, + ) from .group_0498 import ( ScimEnterpriseGroupResponseAllof1Type as ScimEnterpriseGroupResponseAllof1Type, ) + from .group_0498 import ( + ScimEnterpriseGroupResponseAllof1TypeForResponse as ScimEnterpriseGroupResponseAllof1TypeForResponse, + ) from .group_0499 import GroupPropMembersItemsType as GroupPropMembersItemsType + from .group_0499 import ( + GroupPropMembersItemsTypeForResponse as GroupPropMembersItemsTypeForResponse, + ) from .group_0499 import GroupType as GroupType + from .group_0499 import GroupTypeForResponse as GroupTypeForResponse from .group_0500 import ( PatchSchemaPropOperationsItemsType as PatchSchemaPropOperationsItemsType, ) + from .group_0500 import ( + PatchSchemaPropOperationsItemsTypeForResponse as PatchSchemaPropOperationsItemsTypeForResponse, + ) from .group_0500 import PatchSchemaType as PatchSchemaType + from .group_0500 import PatchSchemaTypeForResponse as PatchSchemaTypeForResponse from .group_0501 import UserEmailsResponseItemsType as UserEmailsResponseItemsType + from .group_0501 import ( + UserEmailsResponseItemsTypeForResponse as UserEmailsResponseItemsTypeForResponse, + ) from .group_0501 import UserNameResponseType as UserNameResponseType + from .group_0501 import ( + UserNameResponseTypeForResponse as UserNameResponseTypeForResponse, + ) from .group_0502 import UserRoleItemsType as UserRoleItemsType + from .group_0502 import UserRoleItemsTypeForResponse as UserRoleItemsTypeForResponse from .group_0503 import UserResponseType as UserResponseType + from .group_0503 import UserResponseTypeForResponse as UserResponseTypeForResponse from .group_0504 import ScimEnterpriseUserListType as ScimEnterpriseUserListType + from .group_0504 import ( + ScimEnterpriseUserListTypeForResponse as ScimEnterpriseUserListTypeForResponse, + ) from .group_0504 import ( ScimEnterpriseUserResponseType as ScimEnterpriseUserResponseType, ) + from .group_0504 import ( + ScimEnterpriseUserResponseTypeForResponse as ScimEnterpriseUserResponseTypeForResponse, + ) from .group_0505 import ( ScimEnterpriseUserResponseAllof1Type as ScimEnterpriseUserResponseAllof1Type, ) + from .group_0505 import ( + ScimEnterpriseUserResponseAllof1TypeForResponse as ScimEnterpriseUserResponseAllof1TypeForResponse, + ) from .group_0506 import ( ScimEnterpriseUserResponseAllof1PropGroupsItemsType as ScimEnterpriseUserResponseAllof1PropGroupsItemsType, ) + from .group_0506 import ( + ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse as ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse, + ) from .group_0507 import UserEmailsItemsType as UserEmailsItemsType + from .group_0507 import ( + UserEmailsItemsTypeForResponse as UserEmailsItemsTypeForResponse, + ) from .group_0507 import UserNameType as UserNameType + from .group_0507 import UserNameTypeForResponse as UserNameTypeForResponse from .group_0507 import UserType as UserType + from .group_0507 import UserTypeForResponse as UserTypeForResponse from .group_0508 import ScimUserListType as ScimUserListType + from .group_0508 import ScimUserListTypeForResponse as ScimUserListTypeForResponse from .group_0508 import ScimUserPropEmailsItemsType as ScimUserPropEmailsItemsType + from .group_0508 import ( + ScimUserPropEmailsItemsTypeForResponse as ScimUserPropEmailsItemsTypeForResponse, + ) from .group_0508 import ScimUserPropGroupsItemsType as ScimUserPropGroupsItemsType + from .group_0508 import ( + ScimUserPropGroupsItemsTypeForResponse as ScimUserPropGroupsItemsTypeForResponse, + ) from .group_0508 import ScimUserPropMetaType as ScimUserPropMetaType + from .group_0508 import ( + ScimUserPropMetaTypeForResponse as ScimUserPropMetaTypeForResponse, + ) from .group_0508 import ScimUserPropNameType as ScimUserPropNameType + from .group_0508 import ( + ScimUserPropNameTypeForResponse as ScimUserPropNameTypeForResponse, + ) from .group_0508 import ( ScimUserPropOperationsItemsPropValueOneof1Type as ScimUserPropOperationsItemsPropValueOneof1Type, ) + from .group_0508 import ( + ScimUserPropOperationsItemsPropValueOneof1TypeForResponse as ScimUserPropOperationsItemsPropValueOneof1TypeForResponse, + ) from .group_0508 import ( ScimUserPropOperationsItemsType as ScimUserPropOperationsItemsType, ) + from .group_0508 import ( + ScimUserPropOperationsItemsTypeForResponse as ScimUserPropOperationsItemsTypeForResponse, + ) from .group_0508 import ScimUserPropRolesItemsType as ScimUserPropRolesItemsType + from .group_0508 import ( + ScimUserPropRolesItemsTypeForResponse as ScimUserPropRolesItemsTypeForResponse, + ) from .group_0508 import ScimUserType as ScimUserType + from .group_0508 import ScimUserTypeForResponse as ScimUserTypeForResponse from .group_0509 import ( SearchResultTextMatchesItemsPropMatchesItemsType as SearchResultTextMatchesItemsPropMatchesItemsType, ) + from .group_0509 import ( + SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse as SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse, + ) from .group_0509 import ( SearchResultTextMatchesItemsType as SearchResultTextMatchesItemsType, ) + from .group_0509 import ( + SearchResultTextMatchesItemsTypeForResponse as SearchResultTextMatchesItemsTypeForResponse, + ) from .group_0510 import CodeSearchResultItemType as CodeSearchResultItemType + from .group_0510 import ( + CodeSearchResultItemTypeForResponse as CodeSearchResultItemTypeForResponse, + ) from .group_0510 import SearchCodeGetResponse200Type as SearchCodeGetResponse200Type + from .group_0510 import ( + SearchCodeGetResponse200TypeForResponse as SearchCodeGetResponse200TypeForResponse, + ) from .group_0511 import ( CommitSearchResultItemPropParentsItemsType as CommitSearchResultItemPropParentsItemsType, ) + from .group_0511 import ( + CommitSearchResultItemPropParentsItemsTypeForResponse as CommitSearchResultItemPropParentsItemsTypeForResponse, + ) from .group_0511 import CommitSearchResultItemType as CommitSearchResultItemType + from .group_0511 import ( + CommitSearchResultItemTypeForResponse as CommitSearchResultItemTypeForResponse, + ) from .group_0511 import ( SearchCommitsGetResponse200Type as SearchCommitsGetResponse200Type, ) + from .group_0511 import ( + SearchCommitsGetResponse200TypeForResponse as SearchCommitsGetResponse200TypeForResponse, + ) from .group_0512 import ( CommitSearchResultItemPropCommitPropAuthorType as CommitSearchResultItemPropCommitPropAuthorType, ) + from .group_0512 import ( + CommitSearchResultItemPropCommitPropAuthorTypeForResponse as CommitSearchResultItemPropCommitPropAuthorTypeForResponse, + ) from .group_0512 import ( CommitSearchResultItemPropCommitPropTreeType as CommitSearchResultItemPropCommitPropTreeType, ) + from .group_0512 import ( + CommitSearchResultItemPropCommitPropTreeTypeForResponse as CommitSearchResultItemPropCommitPropTreeTypeForResponse, + ) from .group_0512 import ( CommitSearchResultItemPropCommitType as CommitSearchResultItemPropCommitType, ) + from .group_0512 import ( + CommitSearchResultItemPropCommitTypeForResponse as CommitSearchResultItemPropCommitTypeForResponse, + ) from .group_0513 import ( IssueSearchResultItemPropLabelsItemsType as IssueSearchResultItemPropLabelsItemsType, ) + from .group_0513 import ( + IssueSearchResultItemPropLabelsItemsTypeForResponse as IssueSearchResultItemPropLabelsItemsTypeForResponse, + ) from .group_0513 import ( IssueSearchResultItemPropPullRequestType as IssueSearchResultItemPropPullRequestType, ) + from .group_0513 import ( + IssueSearchResultItemPropPullRequestTypeForResponse as IssueSearchResultItemPropPullRequestTypeForResponse, + ) from .group_0513 import IssueSearchResultItemType as IssueSearchResultItemType + from .group_0513 import ( + IssueSearchResultItemTypeForResponse as IssueSearchResultItemTypeForResponse, + ) from .group_0513 import ( SearchIssuesGetResponse200Type as SearchIssuesGetResponse200Type, ) + from .group_0513 import ( + SearchIssuesGetResponse200TypeForResponse as SearchIssuesGetResponse200TypeForResponse, + ) from .group_0514 import LabelSearchResultItemType as LabelSearchResultItemType + from .group_0514 import ( + LabelSearchResultItemTypeForResponse as LabelSearchResultItemTypeForResponse, + ) from .group_0514 import ( SearchLabelsGetResponse200Type as SearchLabelsGetResponse200Type, ) + from .group_0514 import ( + SearchLabelsGetResponse200TypeForResponse as SearchLabelsGetResponse200TypeForResponse, + ) from .group_0515 import ( RepoSearchResultItemPropPermissionsType as RepoSearchResultItemPropPermissionsType, ) + from .group_0515 import ( + RepoSearchResultItemPropPermissionsTypeForResponse as RepoSearchResultItemPropPermissionsTypeForResponse, + ) from .group_0515 import RepoSearchResultItemType as RepoSearchResultItemType + from .group_0515 import ( + RepoSearchResultItemTypeForResponse as RepoSearchResultItemTypeForResponse, + ) from .group_0515 import ( SearchRepositoriesGetResponse200Type as SearchRepositoriesGetResponse200Type, ) + from .group_0515 import ( + SearchRepositoriesGetResponse200TypeForResponse as SearchRepositoriesGetResponse200TypeForResponse, + ) from .group_0516 import ( SearchTopicsGetResponse200Type as SearchTopicsGetResponse200Type, ) + from .group_0516 import ( + SearchTopicsGetResponse200TypeForResponse as SearchTopicsGetResponse200TypeForResponse, + ) from .group_0516 import ( TopicSearchResultItemPropAliasesItemsPropTopicRelationType as TopicSearchResultItemPropAliasesItemsPropTopicRelationType, ) + from .group_0516 import ( + TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse as TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse, + ) from .group_0516 import ( TopicSearchResultItemPropAliasesItemsType as TopicSearchResultItemPropAliasesItemsType, ) + from .group_0516 import ( + TopicSearchResultItemPropAliasesItemsTypeForResponse as TopicSearchResultItemPropAliasesItemsTypeForResponse, + ) from .group_0516 import ( TopicSearchResultItemPropRelatedItemsPropTopicRelationType as TopicSearchResultItemPropRelatedItemsPropTopicRelationType, ) + from .group_0516 import ( + TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse as TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse, + ) from .group_0516 import ( TopicSearchResultItemPropRelatedItemsType as TopicSearchResultItemPropRelatedItemsType, ) + from .group_0516 import ( + TopicSearchResultItemPropRelatedItemsTypeForResponse as TopicSearchResultItemPropRelatedItemsTypeForResponse, + ) from .group_0516 import TopicSearchResultItemType as TopicSearchResultItemType + from .group_0516 import ( + TopicSearchResultItemTypeForResponse as TopicSearchResultItemTypeForResponse, + ) from .group_0517 import ( SearchUsersGetResponse200Type as SearchUsersGetResponse200Type, ) + from .group_0517 import ( + SearchUsersGetResponse200TypeForResponse as SearchUsersGetResponse200TypeForResponse, + ) from .group_0517 import UserSearchResultItemType as UserSearchResultItemType + from .group_0517 import ( + UserSearchResultItemTypeForResponse as UserSearchResultItemTypeForResponse, + ) from .group_0518 import PrivateUserPropPlanType as PrivateUserPropPlanType + from .group_0518 import ( + PrivateUserPropPlanTypeForResponse as PrivateUserPropPlanTypeForResponse, + ) from .group_0518 import PrivateUserType as PrivateUserType + from .group_0518 import PrivateUserTypeForResponse as PrivateUserTypeForResponse from .group_0519 import CodespacesUserPublicKeyType as CodespacesUserPublicKeyType + from .group_0519 import ( + CodespacesUserPublicKeyTypeForResponse as CodespacesUserPublicKeyTypeForResponse, + ) from .group_0520 import CodespaceExportDetailsType as CodespaceExportDetailsType + from .group_0520 import ( + CodespaceExportDetailsTypeForResponse as CodespaceExportDetailsTypeForResponse, + ) from .group_0521 import ( CodespaceWithFullRepositoryPropGitStatusType as CodespaceWithFullRepositoryPropGitStatusType, ) + from .group_0521 import ( + CodespaceWithFullRepositoryPropGitStatusTypeForResponse as CodespaceWithFullRepositoryPropGitStatusTypeForResponse, + ) from .group_0521 import ( CodespaceWithFullRepositoryPropRuntimeConstraintsType as CodespaceWithFullRepositoryPropRuntimeConstraintsType, ) + from .group_0521 import ( + CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse as CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse, + ) from .group_0521 import ( CodespaceWithFullRepositoryType as CodespaceWithFullRepositoryType, ) + from .group_0521 import ( + CodespaceWithFullRepositoryTypeForResponse as CodespaceWithFullRepositoryTypeForResponse, + ) from .group_0522 import EmailType as EmailType + from .group_0522 import EmailTypeForResponse as EmailTypeForResponse from .group_0523 import GpgKeyPropEmailsItemsType as GpgKeyPropEmailsItemsType + from .group_0523 import ( + GpgKeyPropEmailsItemsTypeForResponse as GpgKeyPropEmailsItemsTypeForResponse, + ) from .group_0523 import ( GpgKeyPropSubkeysItemsPropEmailsItemsType as GpgKeyPropSubkeysItemsPropEmailsItemsType, ) + from .group_0523 import ( + GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse as GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse, + ) from .group_0523 import GpgKeyPropSubkeysItemsType as GpgKeyPropSubkeysItemsType + from .group_0523 import ( + GpgKeyPropSubkeysItemsTypeForResponse as GpgKeyPropSubkeysItemsTypeForResponse, + ) from .group_0523 import GpgKeyType as GpgKeyType + from .group_0523 import GpgKeyTypeForResponse as GpgKeyTypeForResponse from .group_0524 import KeyType as KeyType + from .group_0524 import KeyTypeForResponse as KeyTypeForResponse from .group_0525 import MarketplaceAccountType as MarketplaceAccountType + from .group_0525 import ( + MarketplaceAccountTypeForResponse as MarketplaceAccountTypeForResponse, + ) from .group_0525 import UserMarketplacePurchaseType as UserMarketplacePurchaseType + from .group_0525 import ( + UserMarketplacePurchaseTypeForResponse as UserMarketplacePurchaseTypeForResponse, + ) from .group_0526 import SocialAccountType as SocialAccountType + from .group_0526 import SocialAccountTypeForResponse as SocialAccountTypeForResponse from .group_0527 import SshSigningKeyType as SshSigningKeyType + from .group_0527 import SshSigningKeyTypeForResponse as SshSigningKeyTypeForResponse from .group_0528 import StarredRepositoryType as StarredRepositoryType + from .group_0528 import ( + StarredRepositoryTypeForResponse as StarredRepositoryTypeForResponse, + ) from .group_0529 import ( HovercardPropContextsItemsType as HovercardPropContextsItemsType, ) + from .group_0529 import ( + HovercardPropContextsItemsTypeForResponse as HovercardPropContextsItemsTypeForResponse, + ) from .group_0529 import HovercardType as HovercardType + from .group_0529 import HovercardTypeForResponse as HovercardTypeForResponse from .group_0530 import KeySimpleType as KeySimpleType + from .group_0530 import KeySimpleTypeForResponse as KeySimpleTypeForResponse from .group_0531 import ( BillingPremiumRequestUsageReportUserPropTimePeriodType as BillingPremiumRequestUsageReportUserPropTimePeriodType, ) + from .group_0531 import ( + BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse as BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse, + ) from .group_0531 import ( BillingPremiumRequestUsageReportUserPropUsageItemsItemsType as BillingPremiumRequestUsageReportUserPropUsageItemsItemsType, ) + from .group_0531 import ( + BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse as BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0531 import ( BillingPremiumRequestUsageReportUserType as BillingPremiumRequestUsageReportUserType, ) + from .group_0531 import ( + BillingPremiumRequestUsageReportUserTypeForResponse as BillingPremiumRequestUsageReportUserTypeForResponse, + ) from .group_0532 import ( BillingUsageReportUserPropUsageItemsItemsType as BillingUsageReportUserPropUsageItemsItemsType, ) + from .group_0532 import ( + BillingUsageReportUserPropUsageItemsItemsTypeForResponse as BillingUsageReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0532 import BillingUsageReportUserType as BillingUsageReportUserType + from .group_0532 import ( + BillingUsageReportUserTypeForResponse as BillingUsageReportUserTypeForResponse, + ) from .group_0533 import ( BillingUsageSummaryReportUserPropTimePeriodType as BillingUsageSummaryReportUserPropTimePeriodType, ) + from .group_0533 import ( + BillingUsageSummaryReportUserPropTimePeriodTypeForResponse as BillingUsageSummaryReportUserPropTimePeriodTypeForResponse, + ) from .group_0533 import ( BillingUsageSummaryReportUserPropUsageItemsItemsType as BillingUsageSummaryReportUserPropUsageItemsItemsType, ) + from .group_0533 import ( + BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse as BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0533 import ( BillingUsageSummaryReportUserType as BillingUsageSummaryReportUserType, ) + from .group_0533 import ( + BillingUsageSummaryReportUserTypeForResponse as BillingUsageSummaryReportUserTypeForResponse, + ) from .group_0534 import EnterpriseWebhooksType as EnterpriseWebhooksType + from .group_0534 import ( + EnterpriseWebhooksTypeForResponse as EnterpriseWebhooksTypeForResponse, + ) from .group_0535 import SimpleInstallationType as SimpleInstallationType + from .group_0535 import ( + SimpleInstallationTypeForResponse as SimpleInstallationTypeForResponse, + ) from .group_0536 import ( OrganizationSimpleWebhooksType as OrganizationSimpleWebhooksType, ) + from .group_0536 import ( + OrganizationSimpleWebhooksTypeForResponse as OrganizationSimpleWebhooksTypeForResponse, + ) from .group_0537 import ( RepositoryWebhooksPropCustomPropertiesType as RepositoryWebhooksPropCustomPropertiesType, ) + from .group_0537 import ( + RepositoryWebhooksPropCustomPropertiesTypeForResponse as RepositoryWebhooksPropCustomPropertiesTypeForResponse, + ) from .group_0537 import ( RepositoryWebhooksPropPermissionsType as RepositoryWebhooksPropPermissionsType, ) + from .group_0537 import ( + RepositoryWebhooksPropPermissionsTypeForResponse as RepositoryWebhooksPropPermissionsTypeForResponse, + ) from .group_0537 import ( RepositoryWebhooksPropTemplateRepositoryPropOwnerType as RepositoryWebhooksPropTemplateRepositoryPropOwnerType, ) + from .group_0537 import ( + RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse as RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse, + ) from .group_0537 import ( RepositoryWebhooksPropTemplateRepositoryPropPermissionsType as RepositoryWebhooksPropTemplateRepositoryPropPermissionsType, ) + from .group_0537 import ( + RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse as RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse, + ) from .group_0537 import ( RepositoryWebhooksPropTemplateRepositoryType as RepositoryWebhooksPropTemplateRepositoryType, ) + from .group_0537 import ( + RepositoryWebhooksPropTemplateRepositoryTypeForResponse as RepositoryWebhooksPropTemplateRepositoryTypeForResponse, + ) from .group_0537 import RepositoryWebhooksType as RepositoryWebhooksType + from .group_0537 import ( + RepositoryWebhooksTypeForResponse as RepositoryWebhooksTypeForResponse, + ) from .group_0538 import WebhooksRuleType as WebhooksRuleType + from .group_0538 import WebhooksRuleTypeForResponse as WebhooksRuleTypeForResponse from .group_0539 import ExemptionResponseType as ExemptionResponseType + from .group_0539 import ( + ExemptionResponseTypeForResponse as ExemptionResponseTypeForResponse, + ) from .group_0540 import ( DismissalRequestCodeScanningMetadataType as DismissalRequestCodeScanningMetadataType, ) + from .group_0540 import ( + DismissalRequestCodeScanningMetadataTypeForResponse as DismissalRequestCodeScanningMetadataTypeForResponse, + ) from .group_0540 import ( DismissalRequestCodeScanningPropDataItemsType as DismissalRequestCodeScanningPropDataItemsType, ) + from .group_0540 import ( + DismissalRequestCodeScanningPropDataItemsTypeForResponse as DismissalRequestCodeScanningPropDataItemsTypeForResponse, + ) from .group_0540 import ( DismissalRequestCodeScanningType as DismissalRequestCodeScanningType, ) + from .group_0540 import ( + DismissalRequestCodeScanningTypeForResponse as DismissalRequestCodeScanningTypeForResponse, + ) from .group_0540 import ( DismissalRequestSecretScanningMetadataType as DismissalRequestSecretScanningMetadataType, ) + from .group_0540 import ( + DismissalRequestSecretScanningMetadataTypeForResponse as DismissalRequestSecretScanningMetadataTypeForResponse, + ) from .group_0540 import ( DismissalRequestSecretScanningPropDataItemsType as DismissalRequestSecretScanningPropDataItemsType, ) + from .group_0540 import ( + DismissalRequestSecretScanningPropDataItemsTypeForResponse as DismissalRequestSecretScanningPropDataItemsTypeForResponse, + ) from .group_0540 import ( DismissalRequestSecretScanningType as DismissalRequestSecretScanningType, ) + from .group_0540 import ( + DismissalRequestSecretScanningTypeForResponse as DismissalRequestSecretScanningTypeForResponse, + ) from .group_0540 import ( ExemptionRequestPushRulesetBypassPropDataItemsType as ExemptionRequestPushRulesetBypassPropDataItemsType, ) + from .group_0540 import ( + ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse as ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse, + ) from .group_0540 import ( ExemptionRequestPushRulesetBypassType as ExemptionRequestPushRulesetBypassType, ) + from .group_0540 import ( + ExemptionRequestPushRulesetBypassTypeForResponse as ExemptionRequestPushRulesetBypassTypeForResponse, + ) from .group_0540 import ( ExemptionRequestSecretScanningMetadataType as ExemptionRequestSecretScanningMetadataType, ) + from .group_0540 import ( + ExemptionRequestSecretScanningMetadataTypeForResponse as ExemptionRequestSecretScanningMetadataTypeForResponse, + ) from .group_0540 import ( ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType as ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType, ) + from .group_0540 import ( + ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse as ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse, + ) from .group_0540 import ( ExemptionRequestSecretScanningPropDataItemsType as ExemptionRequestSecretScanningPropDataItemsType, ) + from .group_0540 import ( + ExemptionRequestSecretScanningPropDataItemsTypeForResponse as ExemptionRequestSecretScanningPropDataItemsTypeForResponse, + ) from .group_0540 import ( ExemptionRequestSecretScanningType as ExemptionRequestSecretScanningType, ) + from .group_0540 import ( + ExemptionRequestSecretScanningTypeForResponse as ExemptionRequestSecretScanningTypeForResponse, + ) from .group_0540 import ExemptionRequestType as ExemptionRequestType + from .group_0540 import ( + ExemptionRequestTypeForResponse as ExemptionRequestTypeForResponse, + ) from .group_0541 import SimpleCheckSuiteType as SimpleCheckSuiteType + from .group_0541 import ( + SimpleCheckSuiteTypeForResponse as SimpleCheckSuiteTypeForResponse, + ) from .group_0542 import ( CheckRunWithSimpleCheckSuitePropOutputType as CheckRunWithSimpleCheckSuitePropOutputType, ) + from .group_0542 import ( + CheckRunWithSimpleCheckSuitePropOutputTypeForResponse as CheckRunWithSimpleCheckSuitePropOutputTypeForResponse, + ) from .group_0542 import ( CheckRunWithSimpleCheckSuiteType as CheckRunWithSimpleCheckSuiteType, ) + from .group_0542 import ( + CheckRunWithSimpleCheckSuiteTypeForResponse as CheckRunWithSimpleCheckSuiteTypeForResponse, + ) from .group_0543 import WebhooksDeployKeyType as WebhooksDeployKeyType + from .group_0543 import ( + WebhooksDeployKeyTypeForResponse as WebhooksDeployKeyTypeForResponse, + ) from .group_0544 import WebhooksWorkflowType as WebhooksWorkflowType + from .group_0544 import ( + WebhooksWorkflowTypeForResponse as WebhooksWorkflowTypeForResponse, + ) from .group_0545 import WebhooksApproverType as WebhooksApproverType + from .group_0545 import ( + WebhooksApproverTypeForResponse as WebhooksApproverTypeForResponse, + ) from .group_0545 import ( WebhooksReviewersItemsPropReviewerType as WebhooksReviewersItemsPropReviewerType, ) + from .group_0545 import ( + WebhooksReviewersItemsPropReviewerTypeForResponse as WebhooksReviewersItemsPropReviewerTypeForResponse, + ) from .group_0545 import WebhooksReviewersItemsType as WebhooksReviewersItemsType + from .group_0545 import ( + WebhooksReviewersItemsTypeForResponse as WebhooksReviewersItemsTypeForResponse, + ) from .group_0546 import WebhooksWorkflowJobRunType as WebhooksWorkflowJobRunType + from .group_0546 import ( + WebhooksWorkflowJobRunTypeForResponse as WebhooksWorkflowJobRunTypeForResponse, + ) from .group_0547 import WebhooksUserType as WebhooksUserType + from .group_0547 import WebhooksUserTypeForResponse as WebhooksUserTypeForResponse from .group_0548 import ( WebhooksAnswerPropReactionsType as WebhooksAnswerPropReactionsType, ) + from .group_0548 import ( + WebhooksAnswerPropReactionsTypeForResponse as WebhooksAnswerPropReactionsTypeForResponse, + ) from .group_0548 import WebhooksAnswerPropUserType as WebhooksAnswerPropUserType + from .group_0548 import ( + WebhooksAnswerPropUserTypeForResponse as WebhooksAnswerPropUserTypeForResponse, + ) from .group_0548 import WebhooksAnswerType as WebhooksAnswerType + from .group_0548 import ( + WebhooksAnswerTypeForResponse as WebhooksAnswerTypeForResponse, + ) from .group_0549 import ( DiscussionPropAnswerChosenByType as DiscussionPropAnswerChosenByType, ) + from .group_0549 import ( + DiscussionPropAnswerChosenByTypeForResponse as DiscussionPropAnswerChosenByTypeForResponse, + ) from .group_0549 import DiscussionPropCategoryType as DiscussionPropCategoryType + from .group_0549 import ( + DiscussionPropCategoryTypeForResponse as DiscussionPropCategoryTypeForResponse, + ) from .group_0549 import DiscussionPropReactionsType as DiscussionPropReactionsType + from .group_0549 import ( + DiscussionPropReactionsTypeForResponse as DiscussionPropReactionsTypeForResponse, + ) from .group_0549 import DiscussionPropUserType as DiscussionPropUserType + from .group_0549 import ( + DiscussionPropUserTypeForResponse as DiscussionPropUserTypeForResponse, + ) from .group_0549 import DiscussionType as DiscussionType + from .group_0549 import DiscussionTypeForResponse as DiscussionTypeForResponse from .group_0549 import LabelType as LabelType + from .group_0549 import LabelTypeForResponse as LabelTypeForResponse from .group_0550 import ( WebhooksCommentPropReactionsType as WebhooksCommentPropReactionsType, ) + from .group_0550 import ( + WebhooksCommentPropReactionsTypeForResponse as WebhooksCommentPropReactionsTypeForResponse, + ) from .group_0550 import WebhooksCommentPropUserType as WebhooksCommentPropUserType + from .group_0550 import ( + WebhooksCommentPropUserTypeForResponse as WebhooksCommentPropUserTypeForResponse, + ) from .group_0550 import WebhooksCommentType as WebhooksCommentType + from .group_0550 import ( + WebhooksCommentTypeForResponse as WebhooksCommentTypeForResponse, + ) from .group_0551 import WebhooksLabelType as WebhooksLabelType + from .group_0551 import WebhooksLabelTypeForResponse as WebhooksLabelTypeForResponse from .group_0552 import ( WebhooksRepositoriesItemsType as WebhooksRepositoriesItemsType, ) + from .group_0552 import ( + WebhooksRepositoriesItemsTypeForResponse as WebhooksRepositoriesItemsTypeForResponse, + ) from .group_0553 import ( WebhooksRepositoriesAddedItemsType as WebhooksRepositoriesAddedItemsType, ) + from .group_0553 import ( + WebhooksRepositoriesAddedItemsTypeForResponse as WebhooksRepositoriesAddedItemsTypeForResponse, + ) from .group_0554 import ( WebhooksIssueCommentPropReactionsType as WebhooksIssueCommentPropReactionsType, ) + from .group_0554 import ( + WebhooksIssueCommentPropReactionsTypeForResponse as WebhooksIssueCommentPropReactionsTypeForResponse, + ) from .group_0554 import ( WebhooksIssueCommentPropUserType as WebhooksIssueCommentPropUserType, ) + from .group_0554 import ( + WebhooksIssueCommentPropUserTypeForResponse as WebhooksIssueCommentPropUserTypeForResponse, + ) from .group_0554 import WebhooksIssueCommentType as WebhooksIssueCommentType + from .group_0554 import ( + WebhooksIssueCommentTypeForResponse as WebhooksIssueCommentTypeForResponse, + ) from .group_0555 import WebhooksChangesPropBodyType as WebhooksChangesPropBodyType + from .group_0555 import ( + WebhooksChangesPropBodyTypeForResponse as WebhooksChangesPropBodyTypeForResponse, + ) from .group_0555 import WebhooksChangesType as WebhooksChangesType + from .group_0555 import ( + WebhooksChangesTypeForResponse as WebhooksChangesTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropAssigneesItemsType as WebhooksIssuePropAssigneesItemsType, ) + from .group_0556 import ( + WebhooksIssuePropAssigneesItemsTypeForResponse as WebhooksIssuePropAssigneesItemsTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropAssigneeType as WebhooksIssuePropAssigneeType, ) + from .group_0556 import ( + WebhooksIssuePropAssigneeTypeForResponse as WebhooksIssuePropAssigneeTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropLabelsItemsType as WebhooksIssuePropLabelsItemsType, ) + from .group_0556 import ( + WebhooksIssuePropLabelsItemsTypeForResponse as WebhooksIssuePropLabelsItemsTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropMilestonePropCreatorType as WebhooksIssuePropMilestonePropCreatorType, ) + from .group_0556 import ( + WebhooksIssuePropMilestonePropCreatorTypeForResponse as WebhooksIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropMilestoneType as WebhooksIssuePropMilestoneType, ) + from .group_0556 import ( + WebhooksIssuePropMilestoneTypeForResponse as WebhooksIssuePropMilestoneTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropPerformedViaGithubAppPropOwnerType as WebhooksIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0556 import ( + WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropPerformedViaGithubAppPropPermissionsType as WebhooksIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0556 import ( + WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropPerformedViaGithubAppType as WebhooksIssuePropPerformedViaGithubAppType, ) + from .group_0556 import ( + WebhooksIssuePropPerformedViaGithubAppTypeForResponse as WebhooksIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropPullRequestType as WebhooksIssuePropPullRequestType, ) + from .group_0556 import ( + WebhooksIssuePropPullRequestTypeForResponse as WebhooksIssuePropPullRequestTypeForResponse, + ) from .group_0556 import ( WebhooksIssuePropReactionsType as WebhooksIssuePropReactionsType, ) + from .group_0556 import ( + WebhooksIssuePropReactionsTypeForResponse as WebhooksIssuePropReactionsTypeForResponse, + ) from .group_0556 import WebhooksIssuePropUserType as WebhooksIssuePropUserType + from .group_0556 import ( + WebhooksIssuePropUserTypeForResponse as WebhooksIssuePropUserTypeForResponse, + ) from .group_0556 import WebhooksIssueType as WebhooksIssueType + from .group_0556 import WebhooksIssueTypeForResponse as WebhooksIssueTypeForResponse from .group_0557 import ( WebhooksMilestonePropCreatorType as WebhooksMilestonePropCreatorType, ) + from .group_0557 import ( + WebhooksMilestonePropCreatorTypeForResponse as WebhooksMilestonePropCreatorTypeForResponse, + ) from .group_0557 import WebhooksMilestoneType as WebhooksMilestoneType + from .group_0557 import ( + WebhooksMilestoneTypeForResponse as WebhooksMilestoneTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropAssigneesItemsType as WebhooksIssue2PropAssigneesItemsType, ) + from .group_0558 import ( + WebhooksIssue2PropAssigneesItemsTypeForResponse as WebhooksIssue2PropAssigneesItemsTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropAssigneeType as WebhooksIssue2PropAssigneeType, ) + from .group_0558 import ( + WebhooksIssue2PropAssigneeTypeForResponse as WebhooksIssue2PropAssigneeTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropLabelsItemsType as WebhooksIssue2PropLabelsItemsType, ) + from .group_0558 import ( + WebhooksIssue2PropLabelsItemsTypeForResponse as WebhooksIssue2PropLabelsItemsTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropMilestonePropCreatorType as WebhooksIssue2PropMilestonePropCreatorType, ) + from .group_0558 import ( + WebhooksIssue2PropMilestonePropCreatorTypeForResponse as WebhooksIssue2PropMilestonePropCreatorTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropMilestoneType as WebhooksIssue2PropMilestoneType, ) + from .group_0558 import ( + WebhooksIssue2PropMilestoneTypeForResponse as WebhooksIssue2PropMilestoneTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropPerformedViaGithubAppPropOwnerType as WebhooksIssue2PropPerformedViaGithubAppPropOwnerType, ) + from .group_0558 import ( + WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType as WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0558 import ( + WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropPerformedViaGithubAppType as WebhooksIssue2PropPerformedViaGithubAppType, ) + from .group_0558 import ( + WebhooksIssue2PropPerformedViaGithubAppTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropPullRequestType as WebhooksIssue2PropPullRequestType, ) + from .group_0558 import ( + WebhooksIssue2PropPullRequestTypeForResponse as WebhooksIssue2PropPullRequestTypeForResponse, + ) from .group_0558 import ( WebhooksIssue2PropReactionsType as WebhooksIssue2PropReactionsType, ) + from .group_0558 import ( + WebhooksIssue2PropReactionsTypeForResponse as WebhooksIssue2PropReactionsTypeForResponse, + ) from .group_0558 import WebhooksIssue2PropUserType as WebhooksIssue2PropUserType + from .group_0558 import ( + WebhooksIssue2PropUserTypeForResponse as WebhooksIssue2PropUserTypeForResponse, + ) from .group_0558 import WebhooksIssue2Type as WebhooksIssue2Type + from .group_0558 import ( + WebhooksIssue2TypeForResponse as WebhooksIssue2TypeForResponse, + ) from .group_0559 import WebhooksUserMannequinType as WebhooksUserMannequinType + from .group_0559 import ( + WebhooksUserMannequinTypeForResponse as WebhooksUserMannequinTypeForResponse, + ) from .group_0560 import ( WebhooksMarketplacePurchasePropAccountType as WebhooksMarketplacePurchasePropAccountType, ) + from .group_0560 import ( + WebhooksMarketplacePurchasePropAccountTypeForResponse as WebhooksMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0560 import ( WebhooksMarketplacePurchasePropPlanType as WebhooksMarketplacePurchasePropPlanType, ) + from .group_0560 import ( + WebhooksMarketplacePurchasePropPlanTypeForResponse as WebhooksMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0560 import ( WebhooksMarketplacePurchaseType as WebhooksMarketplacePurchaseType, ) + from .group_0560 import ( + WebhooksMarketplacePurchaseTypeForResponse as WebhooksMarketplacePurchaseTypeForResponse, + ) from .group_0561 import ( WebhooksPreviousMarketplacePurchasePropAccountType as WebhooksPreviousMarketplacePurchasePropAccountType, ) + from .group_0561 import ( + WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse as WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0561 import ( WebhooksPreviousMarketplacePurchasePropPlanType as WebhooksPreviousMarketplacePurchasePropPlanType, ) + from .group_0561 import ( + WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse as WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0561 import ( WebhooksPreviousMarketplacePurchaseType as WebhooksPreviousMarketplacePurchaseType, ) + from .group_0561 import ( + WebhooksPreviousMarketplacePurchaseTypeForResponse as WebhooksPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0562 import WebhooksTeamPropParentType as WebhooksTeamPropParentType + from .group_0562 import ( + WebhooksTeamPropParentTypeForResponse as WebhooksTeamPropParentTypeForResponse, + ) from .group_0562 import WebhooksTeamType as WebhooksTeamType + from .group_0562 import WebhooksTeamTypeForResponse as WebhooksTeamTypeForResponse from .group_0563 import MergeGroupType as MergeGroupType + from .group_0563 import MergeGroupTypeForResponse as MergeGroupTypeForResponse from .group_0564 import ( WebhooksMilestone3PropCreatorType as WebhooksMilestone3PropCreatorType, ) + from .group_0564 import ( + WebhooksMilestone3PropCreatorTypeForResponse as WebhooksMilestone3PropCreatorTypeForResponse, + ) from .group_0564 import WebhooksMilestone3Type as WebhooksMilestone3Type + from .group_0564 import ( + WebhooksMilestone3TypeForResponse as WebhooksMilestone3TypeForResponse, + ) from .group_0565 import ( WebhooksMembershipPropUserType as WebhooksMembershipPropUserType, ) + from .group_0565 import ( + WebhooksMembershipPropUserTypeForResponse as WebhooksMembershipPropUserTypeForResponse, + ) from .group_0565 import WebhooksMembershipType as WebhooksMembershipType + from .group_0565 import ( + WebhooksMembershipTypeForResponse as WebhooksMembershipTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType as PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsAddedPropOtherType as PersonalAccessTokenRequestPropPermissionsAddedPropOtherType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType as PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsAddedType as PersonalAccessTokenRequestPropPermissionsAddedType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType as PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsResultPropOtherType as PersonalAccessTokenRequestPropPermissionsResultPropOtherType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType as PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsResultType as PersonalAccessTokenRequestPropPermissionsResultType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsResultTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType as PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType as PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType as PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropPermissionsUpgradedType as PersonalAccessTokenRequestPropPermissionsUpgradedType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestPropRepositoriesItemsType as PersonalAccessTokenRequestPropRepositoriesItemsType, ) + from .group_0566 import ( + PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse as PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse, + ) from .group_0566 import ( PersonalAccessTokenRequestType as PersonalAccessTokenRequestType, ) + from .group_0566 import ( + PersonalAccessTokenRequestTypeForResponse as PersonalAccessTokenRequestTypeForResponse, + ) from .group_0567 import ( WebhooksProjectCardPropCreatorType as WebhooksProjectCardPropCreatorType, ) + from .group_0567 import ( + WebhooksProjectCardPropCreatorTypeForResponse as WebhooksProjectCardPropCreatorTypeForResponse, + ) from .group_0567 import WebhooksProjectCardType as WebhooksProjectCardType + from .group_0567 import ( + WebhooksProjectCardTypeForResponse as WebhooksProjectCardTypeForResponse, + ) from .group_0568 import ( WebhooksProjectPropCreatorType as WebhooksProjectPropCreatorType, ) + from .group_0568 import ( + WebhooksProjectPropCreatorTypeForResponse as WebhooksProjectPropCreatorTypeForResponse, + ) from .group_0568 import WebhooksProjectType as WebhooksProjectType + from .group_0568 import ( + WebhooksProjectTypeForResponse as WebhooksProjectTypeForResponse, + ) from .group_0569 import WebhooksProjectColumnType as WebhooksProjectColumnType + from .group_0569 import ( + WebhooksProjectColumnTypeForResponse as WebhooksProjectColumnTypeForResponse, + ) from .group_0570 import ( WebhooksProjectChangesPropArchivedAtType as WebhooksProjectChangesPropArchivedAtType, ) + from .group_0570 import ( + WebhooksProjectChangesPropArchivedAtTypeForResponse as WebhooksProjectChangesPropArchivedAtTypeForResponse, + ) from .group_0570 import WebhooksProjectChangesType as WebhooksProjectChangesType + from .group_0570 import ( + WebhooksProjectChangesTypeForResponse as WebhooksProjectChangesTypeForResponse, + ) from .group_0571 import ProjectsV2ItemType as ProjectsV2ItemType + from .group_0571 import ( + ProjectsV2ItemTypeForResponse as ProjectsV2ItemTypeForResponse, + ) from .group_0572 import PullRequestWebhookType as PullRequestWebhookType + from .group_0572 import ( + PullRequestWebhookTypeForResponse as PullRequestWebhookTypeForResponse, + ) from .group_0573 import PullRequestWebhookAllof1Type as PullRequestWebhookAllof1Type + from .group_0573 import ( + PullRequestWebhookAllof1TypeForResponse as PullRequestWebhookAllof1TypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropAssigneesItemsType as WebhooksPullRequest5PropAssigneesItemsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropAssigneesItemsTypeForResponse as WebhooksPullRequest5PropAssigneesItemsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropAssigneeType as WebhooksPullRequest5PropAssigneeType, ) + from .group_0574 import ( + WebhooksPullRequest5PropAssigneeTypeForResponse as WebhooksPullRequest5PropAssigneeTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropAutoMergePropEnabledByType as WebhooksPullRequest5PropAutoMergePropEnabledByType, ) + from .group_0574 import ( + WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse as WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropAutoMergeType as WebhooksPullRequest5PropAutoMergeType, ) + from .group_0574 import ( + WebhooksPullRequest5PropAutoMergeTypeForResponse as WebhooksPullRequest5PropAutoMergeTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBasePropRepoPropLicenseType as WebhooksPullRequest5PropBasePropRepoPropLicenseType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBasePropRepoPropOwnerType as WebhooksPullRequest5PropBasePropRepoPropOwnerType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBasePropRepoPropPermissionsType as WebhooksPullRequest5PropBasePropRepoPropPermissionsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBasePropRepoType as WebhooksPullRequest5PropBasePropRepoType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBasePropRepoTypeForResponse as WebhooksPullRequest5PropBasePropRepoTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBasePropUserType as WebhooksPullRequest5PropBasePropUserType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBasePropUserTypeForResponse as WebhooksPullRequest5PropBasePropUserTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropBaseType as WebhooksPullRequest5PropBaseType, ) + from .group_0574 import ( + WebhooksPullRequest5PropBaseTypeForResponse as WebhooksPullRequest5PropBaseTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadPropRepoPropLicenseType as WebhooksPullRequest5PropHeadPropRepoPropLicenseType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadPropRepoPropOwnerType as WebhooksPullRequest5PropHeadPropRepoPropOwnerType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadPropRepoPropPermissionsType as WebhooksPullRequest5PropHeadPropRepoPropPermissionsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadPropRepoType as WebhooksPullRequest5PropHeadPropRepoType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadPropRepoTypeForResponse as WebhooksPullRequest5PropHeadPropRepoTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadPropUserType as WebhooksPullRequest5PropHeadPropUserType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadPropUserTypeForResponse as WebhooksPullRequest5PropHeadPropUserTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropHeadType as WebhooksPullRequest5PropHeadType, ) + from .group_0574 import ( + WebhooksPullRequest5PropHeadTypeForResponse as WebhooksPullRequest5PropHeadTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLabelsItemsType as WebhooksPullRequest5PropLabelsItemsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLabelsItemsTypeForResponse as WebhooksPullRequest5PropLabelsItemsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropCommentsType as WebhooksPullRequest5PropLinksPropCommentsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropCommentsTypeForResponse as WebhooksPullRequest5PropLinksPropCommentsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropCommitsType as WebhooksPullRequest5PropLinksPropCommitsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropCommitsTypeForResponse as WebhooksPullRequest5PropLinksPropCommitsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropHtmlType as WebhooksPullRequest5PropLinksPropHtmlType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropHtmlTypeForResponse as WebhooksPullRequest5PropLinksPropHtmlTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropIssueType as WebhooksPullRequest5PropLinksPropIssueType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropIssueTypeForResponse as WebhooksPullRequest5PropLinksPropIssueTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropReviewCommentsType as WebhooksPullRequest5PropLinksPropReviewCommentsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse as WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropReviewCommentType as WebhooksPullRequest5PropLinksPropReviewCommentType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse as WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropSelfType as WebhooksPullRequest5PropLinksPropSelfType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropSelfTypeForResponse as WebhooksPullRequest5PropLinksPropSelfTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksPropStatusesType as WebhooksPullRequest5PropLinksPropStatusesType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksPropStatusesTypeForResponse as WebhooksPullRequest5PropLinksPropStatusesTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropLinksType as WebhooksPullRequest5PropLinksType, ) + from .group_0574 import ( + WebhooksPullRequest5PropLinksTypeForResponse as WebhooksPullRequest5PropLinksTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropMergedByType as WebhooksPullRequest5PropMergedByType, ) + from .group_0574 import ( + WebhooksPullRequest5PropMergedByTypeForResponse as WebhooksPullRequest5PropMergedByTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropMilestonePropCreatorType as WebhooksPullRequest5PropMilestonePropCreatorType, ) + from .group_0574 import ( + WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse as WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropMilestoneType as WebhooksPullRequest5PropMilestoneType, ) + from .group_0574 import ( + WebhooksPullRequest5PropMilestoneTypeForResponse as WebhooksPullRequest5PropMilestoneTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type as WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type, ) + from .group_0574 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType as WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0574 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type as WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type, ) + from .group_0574 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropRequestedTeamsItemsPropParentType as WebhooksPullRequest5PropRequestedTeamsItemsPropParentType, ) + from .group_0574 import ( + WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse as WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropRequestedTeamsItemsType as WebhooksPullRequest5PropRequestedTeamsItemsType, ) + from .group_0574 import ( + WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse as WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse, + ) from .group_0574 import ( WebhooksPullRequest5PropUserType as WebhooksPullRequest5PropUserType, ) + from .group_0574 import ( + WebhooksPullRequest5PropUserTypeForResponse as WebhooksPullRequest5PropUserTypeForResponse, + ) from .group_0574 import WebhooksPullRequest5Type as WebhooksPullRequest5Type + from .group_0574 import ( + WebhooksPullRequest5TypeForResponse as WebhooksPullRequest5TypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropLinksPropHtmlType as WebhooksReviewCommentPropLinksPropHtmlType, ) + from .group_0575 import ( + WebhooksReviewCommentPropLinksPropHtmlTypeForResponse as WebhooksReviewCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropLinksPropPullRequestType as WebhooksReviewCommentPropLinksPropPullRequestType, ) + from .group_0575 import ( + WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse as WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropLinksPropSelfType as WebhooksReviewCommentPropLinksPropSelfType, ) + from .group_0575 import ( + WebhooksReviewCommentPropLinksPropSelfTypeForResponse as WebhooksReviewCommentPropLinksPropSelfTypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropLinksType as WebhooksReviewCommentPropLinksType, ) + from .group_0575 import ( + WebhooksReviewCommentPropLinksTypeForResponse as WebhooksReviewCommentPropLinksTypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropReactionsType as WebhooksReviewCommentPropReactionsType, ) + from .group_0575 import ( + WebhooksReviewCommentPropReactionsTypeForResponse as WebhooksReviewCommentPropReactionsTypeForResponse, + ) from .group_0575 import ( WebhooksReviewCommentPropUserType as WebhooksReviewCommentPropUserType, ) + from .group_0575 import ( + WebhooksReviewCommentPropUserTypeForResponse as WebhooksReviewCommentPropUserTypeForResponse, + ) from .group_0575 import WebhooksReviewCommentType as WebhooksReviewCommentType + from .group_0575 import ( + WebhooksReviewCommentTypeForResponse as WebhooksReviewCommentTypeForResponse, + ) from .group_0576 import ( WebhooksReviewPropLinksPropHtmlType as WebhooksReviewPropLinksPropHtmlType, ) + from .group_0576 import ( + WebhooksReviewPropLinksPropHtmlTypeForResponse as WebhooksReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0576 import ( WebhooksReviewPropLinksPropPullRequestType as WebhooksReviewPropLinksPropPullRequestType, ) + from .group_0576 import ( + WebhooksReviewPropLinksPropPullRequestTypeForResponse as WebhooksReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0576 import WebhooksReviewPropLinksType as WebhooksReviewPropLinksType + from .group_0576 import ( + WebhooksReviewPropLinksTypeForResponse as WebhooksReviewPropLinksTypeForResponse, + ) from .group_0576 import WebhooksReviewPropUserType as WebhooksReviewPropUserType + from .group_0576 import ( + WebhooksReviewPropUserTypeForResponse as WebhooksReviewPropUserTypeForResponse, + ) from .group_0576 import WebhooksReviewType as WebhooksReviewType + from .group_0576 import ( + WebhooksReviewTypeForResponse as WebhooksReviewTypeForResponse, + ) from .group_0577 import ( WebhooksReleasePropAssetsItemsPropUploaderType as WebhooksReleasePropAssetsItemsPropUploaderType, ) + from .group_0577 import ( + WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse as WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0577 import ( WebhooksReleasePropAssetsItemsType as WebhooksReleasePropAssetsItemsType, ) + from .group_0577 import ( + WebhooksReleasePropAssetsItemsTypeForResponse as WebhooksReleasePropAssetsItemsTypeForResponse, + ) from .group_0577 import ( WebhooksReleasePropAuthorType as WebhooksReleasePropAuthorType, ) + from .group_0577 import ( + WebhooksReleasePropAuthorTypeForResponse as WebhooksReleasePropAuthorTypeForResponse, + ) from .group_0577 import ( WebhooksReleasePropReactionsType as WebhooksReleasePropReactionsType, ) + from .group_0577 import ( + WebhooksReleasePropReactionsTypeForResponse as WebhooksReleasePropReactionsTypeForResponse, + ) from .group_0577 import WebhooksReleaseType as WebhooksReleaseType + from .group_0577 import ( + WebhooksReleaseTypeForResponse as WebhooksReleaseTypeForResponse, + ) from .group_0578 import ( WebhooksRelease1PropAssetsItemsPropUploaderType as WebhooksRelease1PropAssetsItemsPropUploaderType, ) + from .group_0578 import ( + WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse as WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0578 import ( WebhooksRelease1PropAssetsItemsType as WebhooksRelease1PropAssetsItemsType, ) + from .group_0578 import ( + WebhooksRelease1PropAssetsItemsTypeForResponse as WebhooksRelease1PropAssetsItemsTypeForResponse, + ) from .group_0578 import ( WebhooksRelease1PropAuthorType as WebhooksRelease1PropAuthorType, ) + from .group_0578 import ( + WebhooksRelease1PropAuthorTypeForResponse as WebhooksRelease1PropAuthorTypeForResponse, + ) from .group_0578 import ( WebhooksRelease1PropReactionsType as WebhooksRelease1PropReactionsType, ) + from .group_0578 import ( + WebhooksRelease1PropReactionsTypeForResponse as WebhooksRelease1PropReactionsTypeForResponse, + ) from .group_0578 import WebhooksRelease1Type as WebhooksRelease1Type + from .group_0578 import ( + WebhooksRelease1TypeForResponse as WebhooksRelease1TypeForResponse, + ) from .group_0579 import ( WebhooksAlertPropDismisserType as WebhooksAlertPropDismisserType, ) + from .group_0579 import ( + WebhooksAlertPropDismisserTypeForResponse as WebhooksAlertPropDismisserTypeForResponse, + ) from .group_0579 import WebhooksAlertType as WebhooksAlertType + from .group_0579 import WebhooksAlertTypeForResponse as WebhooksAlertTypeForResponse from .group_0580 import ( SecretScanningAlertWebhookType as SecretScanningAlertWebhookType, ) + from .group_0580 import ( + SecretScanningAlertWebhookTypeForResponse as SecretScanningAlertWebhookTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropCvssType as WebhooksSecurityAdvisoryPropCvssType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropCvssTypeForResponse as WebhooksSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropCwesItemsType as WebhooksSecurityAdvisoryPropCwesItemsType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse as WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropIdentifiersItemsType as WebhooksSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse as WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropReferencesItemsType as WebhooksSecurityAdvisoryPropReferencesItemsType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse as WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0581 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType, ) + from .group_0581 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0581 import WebhooksSecurityAdvisoryType as WebhooksSecurityAdvisoryType + from .group_0581 import ( + WebhooksSecurityAdvisoryTypeForResponse as WebhooksSecurityAdvisoryTypeForResponse, + ) from .group_0582 import ( WebhooksSponsorshipPropMaintainerType as WebhooksSponsorshipPropMaintainerType, ) + from .group_0582 import ( + WebhooksSponsorshipPropMaintainerTypeForResponse as WebhooksSponsorshipPropMaintainerTypeForResponse, + ) from .group_0582 import ( WebhooksSponsorshipPropSponsorableType as WebhooksSponsorshipPropSponsorableType, ) + from .group_0582 import ( + WebhooksSponsorshipPropSponsorableTypeForResponse as WebhooksSponsorshipPropSponsorableTypeForResponse, + ) from .group_0582 import ( WebhooksSponsorshipPropSponsorType as WebhooksSponsorshipPropSponsorType, ) + from .group_0582 import ( + WebhooksSponsorshipPropSponsorTypeForResponse as WebhooksSponsorshipPropSponsorTypeForResponse, + ) from .group_0582 import ( WebhooksSponsorshipPropTierType as WebhooksSponsorshipPropTierType, ) + from .group_0582 import ( + WebhooksSponsorshipPropTierTypeForResponse as WebhooksSponsorshipPropTierTypeForResponse, + ) from .group_0582 import WebhooksSponsorshipType as WebhooksSponsorshipType + from .group_0582 import ( + WebhooksSponsorshipTypeForResponse as WebhooksSponsorshipTypeForResponse, + ) from .group_0583 import ( WebhooksChanges8PropTierPropFromType as WebhooksChanges8PropTierPropFromType, ) + from .group_0583 import ( + WebhooksChanges8PropTierPropFromTypeForResponse as WebhooksChanges8PropTierPropFromTypeForResponse, + ) from .group_0583 import WebhooksChanges8PropTierType as WebhooksChanges8PropTierType + from .group_0583 import ( + WebhooksChanges8PropTierTypeForResponse as WebhooksChanges8PropTierTypeForResponse, + ) from .group_0583 import WebhooksChanges8Type as WebhooksChanges8Type + from .group_0583 import ( + WebhooksChanges8TypeForResponse as WebhooksChanges8TypeForResponse, + ) from .group_0584 import WebhooksTeam1PropParentType as WebhooksTeam1PropParentType + from .group_0584 import ( + WebhooksTeam1PropParentTypeForResponse as WebhooksTeam1PropParentTypeForResponse, + ) from .group_0584 import WebhooksTeam1Type as WebhooksTeam1Type + from .group_0584 import WebhooksTeam1TypeForResponse as WebhooksTeam1TypeForResponse from .group_0585 import ( WebhookBranchProtectionConfigurationDisabledType as WebhookBranchProtectionConfigurationDisabledType, ) + from .group_0585 import ( + WebhookBranchProtectionConfigurationDisabledTypeForResponse as WebhookBranchProtectionConfigurationDisabledTypeForResponse, + ) from .group_0586 import ( WebhookBranchProtectionConfigurationEnabledType as WebhookBranchProtectionConfigurationEnabledType, ) + from .group_0586 import ( + WebhookBranchProtectionConfigurationEnabledTypeForResponse as WebhookBranchProtectionConfigurationEnabledTypeForResponse, + ) from .group_0587 import ( WebhookBranchProtectionRuleCreatedType as WebhookBranchProtectionRuleCreatedType, ) + from .group_0587 import ( + WebhookBranchProtectionRuleCreatedTypeForResponse as WebhookBranchProtectionRuleCreatedTypeForResponse, + ) + from .group_0588 import ( + WebhookBranchProtectionRuleDeletedType as WebhookBranchProtectionRuleDeletedType, + ) from .group_0588 import ( - WebhookBranchProtectionRuleDeletedType as WebhookBranchProtectionRuleDeletedType, + WebhookBranchProtectionRuleDeletedTypeForResponse as WebhookBranchProtectionRuleDeletedTypeForResponse, ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType as WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType as WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType as WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedPropChangesType as WebhookBranchProtectionRuleEditedPropChangesType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedPropChangesTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesTypeForResponse, + ) from .group_0589 import ( WebhookBranchProtectionRuleEditedType as WebhookBranchProtectionRuleEditedType, ) + from .group_0589 import ( + WebhookBranchProtectionRuleEditedTypeForResponse as WebhookBranchProtectionRuleEditedTypeForResponse, + ) from .group_0590 import ( WebhookExemptionRequestCancelledType as WebhookExemptionRequestCancelledType, ) + from .group_0590 import ( + WebhookExemptionRequestCancelledTypeForResponse as WebhookExemptionRequestCancelledTypeForResponse, + ) from .group_0591 import ( WebhookExemptionRequestCompletedType as WebhookExemptionRequestCompletedType, ) + from .group_0591 import ( + WebhookExemptionRequestCompletedTypeForResponse as WebhookExemptionRequestCompletedTypeForResponse, + ) from .group_0592 import ( WebhookExemptionRequestCreatedType as WebhookExemptionRequestCreatedType, ) + from .group_0592 import ( + WebhookExemptionRequestCreatedTypeForResponse as WebhookExemptionRequestCreatedTypeForResponse, + ) from .group_0593 import ( WebhookExemptionRequestResponseDismissedType as WebhookExemptionRequestResponseDismissedType, ) + from .group_0593 import ( + WebhookExemptionRequestResponseDismissedTypeForResponse as WebhookExemptionRequestResponseDismissedTypeForResponse, + ) from .group_0594 import ( WebhookExemptionRequestResponseSubmittedType as WebhookExemptionRequestResponseSubmittedType, ) + from .group_0594 import ( + WebhookExemptionRequestResponseSubmittedTypeForResponse as WebhookExemptionRequestResponseSubmittedTypeForResponse, + ) from .group_0595 import WebhookCheckRunCompletedType as WebhookCheckRunCompletedType + from .group_0595 import ( + WebhookCheckRunCompletedTypeForResponse as WebhookCheckRunCompletedTypeForResponse, + ) from .group_0596 import ( WebhookCheckRunCompletedFormEncodedType as WebhookCheckRunCompletedFormEncodedType, ) + from .group_0596 import ( + WebhookCheckRunCompletedFormEncodedTypeForResponse as WebhookCheckRunCompletedFormEncodedTypeForResponse, + ) from .group_0597 import WebhookCheckRunCreatedType as WebhookCheckRunCreatedType + from .group_0597 import ( + WebhookCheckRunCreatedTypeForResponse as WebhookCheckRunCreatedTypeForResponse, + ) from .group_0598 import ( WebhookCheckRunCreatedFormEncodedType as WebhookCheckRunCreatedFormEncodedType, ) + from .group_0598 import ( + WebhookCheckRunCreatedFormEncodedTypeForResponse as WebhookCheckRunCreatedFormEncodedTypeForResponse, + ) from .group_0599 import ( WebhookCheckRunRequestedActionPropRequestedActionType as WebhookCheckRunRequestedActionPropRequestedActionType, ) + from .group_0599 import ( + WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse as WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse, + ) from .group_0599 import ( WebhookCheckRunRequestedActionType as WebhookCheckRunRequestedActionType, ) + from .group_0599 import ( + WebhookCheckRunRequestedActionTypeForResponse as WebhookCheckRunRequestedActionTypeForResponse, + ) from .group_0600 import ( WebhookCheckRunRequestedActionFormEncodedType as WebhookCheckRunRequestedActionFormEncodedType, ) + from .group_0600 import ( + WebhookCheckRunRequestedActionFormEncodedTypeForResponse as WebhookCheckRunRequestedActionFormEncodedTypeForResponse, + ) from .group_0601 import ( WebhookCheckRunRerequestedType as WebhookCheckRunRerequestedType, ) + from .group_0601 import ( + WebhookCheckRunRerequestedTypeForResponse as WebhookCheckRunRerequestedTypeForResponse, + ) from .group_0602 import ( WebhookCheckRunRerequestedFormEncodedType as WebhookCheckRunRerequestedFormEncodedType, ) + from .group_0602 import ( + WebhookCheckRunRerequestedFormEncodedTypeForResponse as WebhookCheckRunRerequestedFormEncodedTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppType as WebhookCheckSuiteCompletedPropCheckSuitePropAppType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedPropCheckSuiteType as WebhookCheckSuiteCompletedPropCheckSuiteType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse, + ) from .group_0603 import ( WebhookCheckSuiteCompletedType as WebhookCheckSuiteCompletedType, ) + from .group_0603 import ( + WebhookCheckSuiteCompletedTypeForResponse as WebhookCheckSuiteCompletedTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppType as WebhookCheckSuiteRequestedPropCheckSuitePropAppType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedPropCheckSuiteType as WebhookCheckSuiteRequestedPropCheckSuiteType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse, + ) from .group_0604 import ( WebhookCheckSuiteRequestedType as WebhookCheckSuiteRequestedType, ) + from .group_0604 import ( + WebhookCheckSuiteRequestedTypeForResponse as WebhookCheckSuiteRequestedTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedPropCheckSuiteType as WebhookCheckSuiteRerequestedPropCheckSuiteType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse, + ) from .group_0605 import ( WebhookCheckSuiteRerequestedType as WebhookCheckSuiteRerequestedType, ) + from .group_0605 import ( + WebhookCheckSuiteRerequestedTypeForResponse as WebhookCheckSuiteRerequestedTypeForResponse, + ) from .group_0606 import ( WebhookCodeScanningAlertAppearedInBranchType as WebhookCodeScanningAlertAppearedInBranchType, ) + from .group_0606 import ( + WebhookCodeScanningAlertAppearedInBranchTypeForResponse as WebhookCodeScanningAlertAppearedInBranchTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse, + ) from .group_0607 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertType as WebhookCodeScanningAlertAppearedInBranchPropAlertType, ) + from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse, + ) from .group_0608 import ( WebhookCodeScanningAlertClosedByUserType as WebhookCodeScanningAlertClosedByUserType, ) + from .group_0608 import ( + WebhookCodeScanningAlertClosedByUserTypeForResponse as WebhookCodeScanningAlertClosedByUserTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType as WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropToolType as WebhookCodeScanningAlertClosedByUserPropAlertPropToolType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse, + ) from .group_0609 import ( WebhookCodeScanningAlertClosedByUserPropAlertType as WebhookCodeScanningAlertClosedByUserPropAlertType, ) + from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse, + ) from .group_0610 import ( WebhookCodeScanningAlertCreatedType as WebhookCodeScanningAlertCreatedType, ) + from .group_0610 import ( + WebhookCodeScanningAlertCreatedTypeForResponse as WebhookCodeScanningAlertCreatedTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertPropRuleType as WebhookCodeScanningAlertCreatedPropAlertPropRuleType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertPropToolType as WebhookCodeScanningAlertCreatedPropAlertPropToolType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse, + ) from .group_0611 import ( WebhookCodeScanningAlertCreatedPropAlertType as WebhookCodeScanningAlertCreatedPropAlertType, ) + from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertTypeForResponse, + ) from .group_0612 import ( WebhookCodeScanningAlertFixedType as WebhookCodeScanningAlertFixedType, ) + from .group_0612 import ( + WebhookCodeScanningAlertFixedTypeForResponse as WebhookCodeScanningAlertFixedTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropDismissedByType as WebhookCodeScanningAlertFixedPropAlertPropDismissedByType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropRuleType as WebhookCodeScanningAlertFixedPropAlertPropRuleType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertPropToolType as WebhookCodeScanningAlertFixedPropAlertPropToolType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse, + ) from .group_0613 import ( WebhookCodeScanningAlertFixedPropAlertType as WebhookCodeScanningAlertFixedPropAlertType, ) + from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertTypeForResponse as WebhookCodeScanningAlertFixedPropAlertTypeForResponse, + ) from .group_0614 import ( WebhookCodeScanningAlertReopenedType as WebhookCodeScanningAlertReopenedType, ) + from .group_0614 import ( + WebhookCodeScanningAlertReopenedTypeForResponse as WebhookCodeScanningAlertReopenedTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType as WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropRuleType as WebhookCodeScanningAlertReopenedPropAlertPropRuleType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertPropToolType as WebhookCodeScanningAlertReopenedPropAlertPropToolType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse, + ) from .group_0615 import ( WebhookCodeScanningAlertReopenedPropAlertType as WebhookCodeScanningAlertReopenedPropAlertType, ) + from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, + ) from .group_0616 import ( WebhookCodeScanningAlertReopenedByUserType as WebhookCodeScanningAlertReopenedByUserType, ) + from .group_0616 import ( + WebhookCodeScanningAlertReopenedByUserTypeForResponse as WebhookCodeScanningAlertReopenedByUserTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType as WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType as WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse, + ) from .group_0617 import ( WebhookCodeScanningAlertReopenedByUserPropAlertType as WebhookCodeScanningAlertReopenedByUserPropAlertType, ) + from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse, + ) from .group_0618 import ( WebhookCommitCommentCreatedPropCommentPropReactionsType as WebhookCommitCommentCreatedPropCommentPropReactionsType, ) + from .group_0618 import ( + WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0618 import ( WebhookCommitCommentCreatedPropCommentPropUserType as WebhookCommitCommentCreatedPropCommentPropUserType, ) + from .group_0618 import ( + WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse as WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0618 import ( WebhookCommitCommentCreatedPropCommentType as WebhookCommitCommentCreatedPropCommentType, ) + from .group_0618 import ( + WebhookCommitCommentCreatedPropCommentTypeForResponse as WebhookCommitCommentCreatedPropCommentTypeForResponse, + ) from .group_0618 import ( WebhookCommitCommentCreatedType as WebhookCommitCommentCreatedType, ) + from .group_0618 import ( + WebhookCommitCommentCreatedTypeForResponse as WebhookCommitCommentCreatedTypeForResponse, + ) from .group_0619 import WebhookCreateType as WebhookCreateType + from .group_0619 import WebhookCreateTypeForResponse as WebhookCreateTypeForResponse from .group_0620 import ( WebhookCustomPropertyCreatedType as WebhookCustomPropertyCreatedType, ) + from .group_0620 import ( + WebhookCustomPropertyCreatedTypeForResponse as WebhookCustomPropertyCreatedTypeForResponse, + ) from .group_0621 import ( WebhookCustomPropertyDeletedPropDefinitionType as WebhookCustomPropertyDeletedPropDefinitionType, ) + from .group_0621 import ( + WebhookCustomPropertyDeletedPropDefinitionTypeForResponse as WebhookCustomPropertyDeletedPropDefinitionTypeForResponse, + ) from .group_0621 import ( WebhookCustomPropertyDeletedType as WebhookCustomPropertyDeletedType, ) + from .group_0621 import ( + WebhookCustomPropertyDeletedTypeForResponse as WebhookCustomPropertyDeletedTypeForResponse, + ) from .group_0622 import ( WebhookCustomPropertyPromotedToEnterpriseType as WebhookCustomPropertyPromotedToEnterpriseType, ) + from .group_0622 import ( + WebhookCustomPropertyPromotedToEnterpriseTypeForResponse as WebhookCustomPropertyPromotedToEnterpriseTypeForResponse, + ) from .group_0623 import ( WebhookCustomPropertyUpdatedType as WebhookCustomPropertyUpdatedType, ) + from .group_0623 import ( + WebhookCustomPropertyUpdatedTypeForResponse as WebhookCustomPropertyUpdatedTypeForResponse, + ) from .group_0624 import ( WebhookCustomPropertyValuesUpdatedType as WebhookCustomPropertyValuesUpdatedType, ) + from .group_0624 import ( + WebhookCustomPropertyValuesUpdatedTypeForResponse as WebhookCustomPropertyValuesUpdatedTypeForResponse, + ) from .group_0625 import WebhookDeleteType as WebhookDeleteType + from .group_0625 import WebhookDeleteTypeForResponse as WebhookDeleteTypeForResponse from .group_0626 import ( WebhookDependabotAlertAutoDismissedType as WebhookDependabotAlertAutoDismissedType, ) + from .group_0626 import ( + WebhookDependabotAlertAutoDismissedTypeForResponse as WebhookDependabotAlertAutoDismissedTypeForResponse, + ) from .group_0627 import ( WebhookDependabotAlertAutoReopenedType as WebhookDependabotAlertAutoReopenedType, ) + from .group_0627 import ( + WebhookDependabotAlertAutoReopenedTypeForResponse as WebhookDependabotAlertAutoReopenedTypeForResponse, + ) from .group_0628 import ( WebhookDependabotAlertCreatedType as WebhookDependabotAlertCreatedType, ) + from .group_0628 import ( + WebhookDependabotAlertCreatedTypeForResponse as WebhookDependabotAlertCreatedTypeForResponse, + ) from .group_0629 import ( WebhookDependabotAlertDismissedType as WebhookDependabotAlertDismissedType, ) + from .group_0629 import ( + WebhookDependabotAlertDismissedTypeForResponse as WebhookDependabotAlertDismissedTypeForResponse, + ) + from .group_0630 import ( + WebhookDependabotAlertFixedType as WebhookDependabotAlertFixedType, + ) from .group_0630 import ( - WebhookDependabotAlertFixedType as WebhookDependabotAlertFixedType, + WebhookDependabotAlertFixedTypeForResponse as WebhookDependabotAlertFixedTypeForResponse, ) from .group_0631 import ( WebhookDependabotAlertReintroducedType as WebhookDependabotAlertReintroducedType, ) + from .group_0631 import ( + WebhookDependabotAlertReintroducedTypeForResponse as WebhookDependabotAlertReintroducedTypeForResponse, + ) from .group_0632 import ( WebhookDependabotAlertReopenedType as WebhookDependabotAlertReopenedType, ) + from .group_0632 import ( + WebhookDependabotAlertReopenedTypeForResponse as WebhookDependabotAlertReopenedTypeForResponse, + ) from .group_0633 import WebhookDeployKeyCreatedType as WebhookDeployKeyCreatedType + from .group_0633 import ( + WebhookDeployKeyCreatedTypeForResponse as WebhookDeployKeyCreatedTypeForResponse, + ) from .group_0634 import WebhookDeployKeyDeletedType as WebhookDeployKeyDeletedType + from .group_0634 import ( + WebhookDeployKeyDeletedTypeForResponse as WebhookDeployKeyDeletedTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentPropCreatorType as WebhookDeploymentCreatedPropDeploymentPropCreatorType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropDeploymentType as WebhookDeploymentCreatedPropDeploymentType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropDeploymentTypeForResponse as WebhookDeploymentCreatedPropDeploymentTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropActorType as WebhookDeploymentCreatedPropWorkflowRunPropActorType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0635 import ( WebhookDeploymentCreatedPropWorkflowRunType as WebhookDeploymentCreatedPropWorkflowRunType, ) + from .group_0635 import ( + WebhookDeploymentCreatedPropWorkflowRunTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunTypeForResponse, + ) from .group_0635 import WebhookDeploymentCreatedType as WebhookDeploymentCreatedType + from .group_0635 import ( + WebhookDeploymentCreatedTypeForResponse as WebhookDeploymentCreatedTypeForResponse, + ) from .group_0636 import ( WebhookDeploymentProtectionRuleRequestedType as WebhookDeploymentProtectionRuleRequestedType, ) + from .group_0636 import ( + WebhookDeploymentProtectionRuleRequestedTypeForResponse as WebhookDeploymentProtectionRuleRequestedTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType as WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType as WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedPropWorkflowRunType as WebhookDeploymentReviewApprovedPropWorkflowRunType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse, + ) from .group_0637 import ( WebhookDeploymentReviewApprovedType as WebhookDeploymentReviewApprovedType, ) + from .group_0637 import ( + WebhookDeploymentReviewApprovedTypeForResponse as WebhookDeploymentReviewApprovedTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType as WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType as WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedPropWorkflowRunType as WebhookDeploymentReviewRejectedPropWorkflowRunType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse, + ) from .group_0638 import ( WebhookDeploymentReviewRejectedType as WebhookDeploymentReviewRejectedType, ) + from .group_0638 import ( + WebhookDeploymentReviewRejectedTypeForResponse as WebhookDeploymentReviewRejectedTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType as WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse as WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropReviewersItemsType as WebhookDeploymentReviewRequestedPropReviewersItemsType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse as WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowJobRunType as WebhookDeploymentReviewRequestedPropWorkflowJobRunType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType as WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedPropWorkflowRunType as WebhookDeploymentReviewRequestedPropWorkflowRunType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse, + ) from .group_0639 import ( WebhookDeploymentReviewRequestedType as WebhookDeploymentReviewRequestedType, ) + from .group_0639 import ( + WebhookDeploymentReviewRequestedTypeForResponse as WebhookDeploymentReviewRequestedTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropCheckRunType as WebhookDeploymentStatusCreatedPropCheckRunType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse as WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType as WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusType as WebhookDeploymentStatusCreatedPropDeploymentStatusType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropDeploymentType as WebhookDeploymentStatusCreatedPropDeploymentType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType as WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedPropWorkflowRunType as WebhookDeploymentStatusCreatedPropWorkflowRunType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse, + ) from .group_0640 import ( WebhookDeploymentStatusCreatedType as WebhookDeploymentStatusCreatedType, ) + from .group_0640 import ( + WebhookDeploymentStatusCreatedTypeForResponse as WebhookDeploymentStatusCreatedTypeForResponse, + ) from .group_0641 import ( WebhookDiscussionAnsweredType as WebhookDiscussionAnsweredType, ) + from .group_0641 import ( + WebhookDiscussionAnsweredTypeForResponse as WebhookDiscussionAnsweredTypeForResponse, + ) from .group_0642 import ( WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType as WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType, ) + from .group_0642 import ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse as WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse, + ) from .group_0642 import ( WebhookDiscussionCategoryChangedPropChangesPropCategoryType as WebhookDiscussionCategoryChangedPropChangesPropCategoryType, ) + from .group_0642 import ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse as WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse, + ) from .group_0642 import ( WebhookDiscussionCategoryChangedPropChangesType as WebhookDiscussionCategoryChangedPropChangesType, ) + from .group_0642 import ( + WebhookDiscussionCategoryChangedPropChangesTypeForResponse as WebhookDiscussionCategoryChangedPropChangesTypeForResponse, + ) from .group_0642 import ( WebhookDiscussionCategoryChangedType as WebhookDiscussionCategoryChangedType, ) + from .group_0642 import ( + WebhookDiscussionCategoryChangedTypeForResponse as WebhookDiscussionCategoryChangedTypeForResponse, + ) from .group_0643 import WebhookDiscussionClosedType as WebhookDiscussionClosedType + from .group_0643 import ( + WebhookDiscussionClosedTypeForResponse as WebhookDiscussionClosedTypeForResponse, + ) from .group_0644 import ( WebhookDiscussionCommentCreatedType as WebhookDiscussionCommentCreatedType, ) + from .group_0644 import ( + WebhookDiscussionCommentCreatedTypeForResponse as WebhookDiscussionCommentCreatedTypeForResponse, + ) from .group_0645 import ( WebhookDiscussionCommentDeletedType as WebhookDiscussionCommentDeletedType, ) + from .group_0645 import ( + WebhookDiscussionCommentDeletedTypeForResponse as WebhookDiscussionCommentDeletedTypeForResponse, + ) from .group_0646 import ( WebhookDiscussionCommentEditedPropChangesPropBodyType as WebhookDiscussionCommentEditedPropChangesPropBodyType, ) + from .group_0646 import ( + WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse as WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse, + ) from .group_0646 import ( WebhookDiscussionCommentEditedPropChangesType as WebhookDiscussionCommentEditedPropChangesType, ) + from .group_0646 import ( + WebhookDiscussionCommentEditedPropChangesTypeForResponse as WebhookDiscussionCommentEditedPropChangesTypeForResponse, + ) from .group_0646 import ( WebhookDiscussionCommentEditedType as WebhookDiscussionCommentEditedType, ) + from .group_0646 import ( + WebhookDiscussionCommentEditedTypeForResponse as WebhookDiscussionCommentEditedTypeForResponse, + ) from .group_0647 import WebhookDiscussionCreatedType as WebhookDiscussionCreatedType + from .group_0647 import ( + WebhookDiscussionCreatedTypeForResponse as WebhookDiscussionCreatedTypeForResponse, + ) from .group_0648 import WebhookDiscussionDeletedType as WebhookDiscussionDeletedType + from .group_0648 import ( + WebhookDiscussionDeletedTypeForResponse as WebhookDiscussionDeletedTypeForResponse, + ) from .group_0649 import ( WebhookDiscussionEditedPropChangesPropBodyType as WebhookDiscussionEditedPropChangesPropBodyType, ) + from .group_0649 import ( + WebhookDiscussionEditedPropChangesPropBodyTypeForResponse as WebhookDiscussionEditedPropChangesPropBodyTypeForResponse, + ) from .group_0649 import ( WebhookDiscussionEditedPropChangesPropTitleType as WebhookDiscussionEditedPropChangesPropTitleType, ) + from .group_0649 import ( + WebhookDiscussionEditedPropChangesPropTitleTypeForResponse as WebhookDiscussionEditedPropChangesPropTitleTypeForResponse, + ) from .group_0649 import ( WebhookDiscussionEditedPropChangesType as WebhookDiscussionEditedPropChangesType, ) + from .group_0649 import ( + WebhookDiscussionEditedPropChangesTypeForResponse as WebhookDiscussionEditedPropChangesTypeForResponse, + ) from .group_0649 import WebhookDiscussionEditedType as WebhookDiscussionEditedType + from .group_0649 import ( + WebhookDiscussionEditedTypeForResponse as WebhookDiscussionEditedTypeForResponse, + ) from .group_0650 import WebhookDiscussionLabeledType as WebhookDiscussionLabeledType + from .group_0650 import ( + WebhookDiscussionLabeledTypeForResponse as WebhookDiscussionLabeledTypeForResponse, + ) from .group_0651 import WebhookDiscussionLockedType as WebhookDiscussionLockedType + from .group_0651 import ( + WebhookDiscussionLockedTypeForResponse as WebhookDiscussionLockedTypeForResponse, + ) from .group_0652 import WebhookDiscussionPinnedType as WebhookDiscussionPinnedType + from .group_0652 import ( + WebhookDiscussionPinnedTypeForResponse as WebhookDiscussionPinnedTypeForResponse, + ) from .group_0653 import ( WebhookDiscussionReopenedType as WebhookDiscussionReopenedType, ) + from .group_0653 import ( + WebhookDiscussionReopenedTypeForResponse as WebhookDiscussionReopenedTypeForResponse, + ) from .group_0654 import ( WebhookDiscussionTransferredType as WebhookDiscussionTransferredType, ) + from .group_0654 import ( + WebhookDiscussionTransferredTypeForResponse as WebhookDiscussionTransferredTypeForResponse, + ) from .group_0655 import ( WebhookDiscussionTransferredPropChangesType as WebhookDiscussionTransferredPropChangesType, ) + from .group_0655 import ( + WebhookDiscussionTransferredPropChangesTypeForResponse as WebhookDiscussionTransferredPropChangesTypeForResponse, + ) from .group_0656 import ( WebhookDiscussionUnansweredType as WebhookDiscussionUnansweredType, ) + from .group_0656 import ( + WebhookDiscussionUnansweredTypeForResponse as WebhookDiscussionUnansweredTypeForResponse, + ) from .group_0657 import ( WebhookDiscussionUnlabeledType as WebhookDiscussionUnlabeledType, ) + from .group_0657 import ( + WebhookDiscussionUnlabeledTypeForResponse as WebhookDiscussionUnlabeledTypeForResponse, + ) from .group_0658 import ( WebhookDiscussionUnlockedType as WebhookDiscussionUnlockedType, ) + from .group_0658 import ( + WebhookDiscussionUnlockedTypeForResponse as WebhookDiscussionUnlockedTypeForResponse, + ) from .group_0659 import ( WebhookDiscussionUnpinnedType as WebhookDiscussionUnpinnedType, ) + from .group_0659 import ( + WebhookDiscussionUnpinnedTypeForResponse as WebhookDiscussionUnpinnedTypeForResponse, + ) from .group_0660 import WebhookForkType as WebhookForkType + from .group_0660 import WebhookForkTypeForResponse as WebhookForkTypeForResponse from .group_0661 import ( WebhookForkPropForkeeMergedLicenseType as WebhookForkPropForkeeMergedLicenseType, ) + from .group_0661 import ( + WebhookForkPropForkeeMergedLicenseTypeForResponse as WebhookForkPropForkeeMergedLicenseTypeForResponse, + ) from .group_0661 import ( WebhookForkPropForkeeMergedOwnerType as WebhookForkPropForkeeMergedOwnerType, ) - from .group_0661 import WebhookForkPropForkeeType as WebhookForkPropForkeeType + from .group_0661 import ( + WebhookForkPropForkeeMergedOwnerTypeForResponse as WebhookForkPropForkeeMergedOwnerTypeForResponse, + ) + from .group_0661 import WebhookForkPropForkeeType as WebhookForkPropForkeeType + from .group_0661 import ( + WebhookForkPropForkeeTypeForResponse as WebhookForkPropForkeeTypeForResponse, + ) from .group_0662 import ( WebhookForkPropForkeeAllof0PropLicenseType as WebhookForkPropForkeeAllof0PropLicenseType, ) + from .group_0662 import ( + WebhookForkPropForkeeAllof0PropLicenseTypeForResponse as WebhookForkPropForkeeAllof0PropLicenseTypeForResponse, + ) from .group_0662 import ( WebhookForkPropForkeeAllof0PropOwnerType as WebhookForkPropForkeeAllof0PropOwnerType, ) + from .group_0662 import ( + WebhookForkPropForkeeAllof0PropOwnerTypeForResponse as WebhookForkPropForkeeAllof0PropOwnerTypeForResponse, + ) from .group_0662 import ( WebhookForkPropForkeeAllof0Type as WebhookForkPropForkeeAllof0Type, ) + from .group_0662 import ( + WebhookForkPropForkeeAllof0TypeForResponse as WebhookForkPropForkeeAllof0TypeForResponse, + ) from .group_0663 import ( WebhookForkPropForkeeAllof0PropPermissionsType as WebhookForkPropForkeeAllof0PropPermissionsType, ) + from .group_0663 import ( + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse as WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, + ) from .group_0664 import ( WebhookForkPropForkeeAllof1PropLicenseType as WebhookForkPropForkeeAllof1PropLicenseType, ) + from .group_0664 import ( + WebhookForkPropForkeeAllof1PropLicenseTypeForResponse as WebhookForkPropForkeeAllof1PropLicenseTypeForResponse, + ) from .group_0664 import ( WebhookForkPropForkeeAllof1PropOwnerType as WebhookForkPropForkeeAllof1PropOwnerType, ) + from .group_0664 import ( + WebhookForkPropForkeeAllof1PropOwnerTypeForResponse as WebhookForkPropForkeeAllof1PropOwnerTypeForResponse, + ) from .group_0664 import ( WebhookForkPropForkeeAllof1Type as WebhookForkPropForkeeAllof1Type, ) + from .group_0664 import ( + WebhookForkPropForkeeAllof1TypeForResponse as WebhookForkPropForkeeAllof1TypeForResponse, + ) from .group_0665 import ( WebhookGithubAppAuthorizationRevokedType as WebhookGithubAppAuthorizationRevokedType, ) + from .group_0665 import ( + WebhookGithubAppAuthorizationRevokedTypeForResponse as WebhookGithubAppAuthorizationRevokedTypeForResponse, + ) from .group_0666 import ( WebhookGollumPropPagesItemsType as WebhookGollumPropPagesItemsType, ) + from .group_0666 import ( + WebhookGollumPropPagesItemsTypeForResponse as WebhookGollumPropPagesItemsTypeForResponse, + ) from .group_0666 import WebhookGollumType as WebhookGollumType + from .group_0666 import WebhookGollumTypeForResponse as WebhookGollumTypeForResponse from .group_0667 import ( WebhookInstallationCreatedType as WebhookInstallationCreatedType, ) + from .group_0667 import ( + WebhookInstallationCreatedTypeForResponse as WebhookInstallationCreatedTypeForResponse, + ) from .group_0668 import ( WebhookInstallationDeletedType as WebhookInstallationDeletedType, ) + from .group_0668 import ( + WebhookInstallationDeletedTypeForResponse as WebhookInstallationDeletedTypeForResponse, + ) from .group_0669 import ( WebhookInstallationNewPermissionsAcceptedType as WebhookInstallationNewPermissionsAcceptedType, ) + from .group_0669 import ( + WebhookInstallationNewPermissionsAcceptedTypeForResponse as WebhookInstallationNewPermissionsAcceptedTypeForResponse, + ) from .group_0670 import ( WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType as WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType, ) + from .group_0670 import ( + WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse as WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse, + ) from .group_0670 import ( WebhookInstallationRepositoriesAddedType as WebhookInstallationRepositoriesAddedType, ) + from .group_0670 import ( + WebhookInstallationRepositoriesAddedTypeForResponse as WebhookInstallationRepositoriesAddedTypeForResponse, + ) from .group_0671 import ( WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType as WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType, ) + from .group_0671 import ( + WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse as WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse, + ) from .group_0671 import ( WebhookInstallationRepositoriesRemovedType as WebhookInstallationRepositoriesRemovedType, ) + from .group_0671 import ( + WebhookInstallationRepositoriesRemovedTypeForResponse as WebhookInstallationRepositoriesRemovedTypeForResponse, + ) from .group_0672 import ( WebhookInstallationSuspendType as WebhookInstallationSuspendType, ) + from .group_0672 import ( + WebhookInstallationSuspendTypeForResponse as WebhookInstallationSuspendTypeForResponse, + ) from .group_0673 import ( WebhookInstallationTargetRenamedPropAccountType as WebhookInstallationTargetRenamedPropAccountType, ) + from .group_0673 import ( + WebhookInstallationTargetRenamedPropAccountTypeForResponse as WebhookInstallationTargetRenamedPropAccountTypeForResponse, + ) from .group_0673 import ( WebhookInstallationTargetRenamedPropChangesPropLoginType as WebhookInstallationTargetRenamedPropChangesPropLoginType, ) + from .group_0673 import ( + WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse as WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse, + ) from .group_0673 import ( WebhookInstallationTargetRenamedPropChangesPropSlugType as WebhookInstallationTargetRenamedPropChangesPropSlugType, ) + from .group_0673 import ( + WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse as WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse, + ) from .group_0673 import ( WebhookInstallationTargetRenamedPropChangesType as WebhookInstallationTargetRenamedPropChangesType, ) + from .group_0673 import ( + WebhookInstallationTargetRenamedPropChangesTypeForResponse as WebhookInstallationTargetRenamedPropChangesTypeForResponse, + ) from .group_0673 import ( WebhookInstallationTargetRenamedType as WebhookInstallationTargetRenamedType, ) + from .group_0673 import ( + WebhookInstallationTargetRenamedTypeForResponse as WebhookInstallationTargetRenamedTypeForResponse, + ) from .group_0674 import ( WebhookInstallationUnsuspendType as WebhookInstallationUnsuspendType, ) + from .group_0674 import ( + WebhookInstallationUnsuspendTypeForResponse as WebhookInstallationUnsuspendTypeForResponse, + ) from .group_0675 import ( WebhookIssueCommentCreatedType as WebhookIssueCommentCreatedType, ) + from .group_0675 import ( + WebhookIssueCommentCreatedTypeForResponse as WebhookIssueCommentCreatedTypeForResponse, + ) from .group_0676 import ( WebhookIssueCommentCreatedPropCommentPropReactionsType as WebhookIssueCommentCreatedPropCommentPropReactionsType, ) + from .group_0676 import ( + WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0676 import ( WebhookIssueCommentCreatedPropCommentPropUserType as WebhookIssueCommentCreatedPropCommentPropUserType, ) + from .group_0676 import ( + WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse as WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0676 import ( WebhookIssueCommentCreatedPropCommentType as WebhookIssueCommentCreatedPropCommentType, ) + from .group_0676 import ( + WebhookIssueCommentCreatedPropCommentTypeForResponse as WebhookIssueCommentCreatedPropCommentTypeForResponse, + ) from .group_0677 import ( WebhookIssueCommentCreatedPropIssueMergedAssigneesType as WebhookIssueCommentCreatedPropIssueMergedAssigneesType, ) + from .group_0677 import ( + WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0677 import ( WebhookIssueCommentCreatedPropIssueMergedReactionsType as WebhookIssueCommentCreatedPropIssueMergedReactionsType, ) + from .group_0677 import ( + WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse, + ) from .group_0677 import ( WebhookIssueCommentCreatedPropIssueMergedUserType as WebhookIssueCommentCreatedPropIssueMergedUserType, ) + from .group_0677 import ( + WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse, + ) from .group_0677 import ( WebhookIssueCommentCreatedPropIssueType as WebhookIssueCommentCreatedPropIssueType, ) + from .group_0677 import ( + WebhookIssueCommentCreatedPropIssueTypeForResponse as WebhookIssueCommentCreatedPropIssueTypeForResponse, + ) from .group_0678 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0678 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0678 import ( WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType as WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType, ) + from .group_0678 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0678 import ( WebhookIssueCommentCreatedPropIssueAllof0PropUserType as WebhookIssueCommentCreatedPropIssueAllof0PropUserType, ) + from .group_0678 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0678 import ( WebhookIssueCommentCreatedPropIssueAllof0Type as WebhookIssueCommentCreatedPropIssueAllof0Type, ) + from .group_0678 import ( + WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse, + ) from .group_0679 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, ) + from .group_0679 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0679 import ( WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, ) + from .group_0679 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0679 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType as WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, ) + from .group_0679 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0680 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0680 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0681 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType as WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType, ) + from .group_0681 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0682 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0682 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0682 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0682 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0683 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0683 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType as WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType as WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1PropUserType as WebhookIssueCommentCreatedPropIssueAllof1PropUserType, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0684 import ( WebhookIssueCommentCreatedPropIssueAllof1Type as WebhookIssueCommentCreatedPropIssueAllof1Type, ) + from .group_0684 import ( + WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse, + ) from .group_0685 import ( WebhookIssueCommentCreatedPropIssueMergedMilestoneType as WebhookIssueCommentCreatedPropIssueMergedMilestoneType, ) + from .group_0685 import ( + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0686 import ( WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0686 import ( + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0687 import ( WebhookIssueCommentDeletedType as WebhookIssueCommentDeletedType, ) + from .group_0687 import ( + WebhookIssueCommentDeletedTypeForResponse as WebhookIssueCommentDeletedTypeForResponse, + ) from .group_0688 import ( WebhookIssueCommentDeletedPropIssueMergedAssigneesType as WebhookIssueCommentDeletedPropIssueMergedAssigneesType, ) + from .group_0688 import ( + WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0688 import ( WebhookIssueCommentDeletedPropIssueMergedReactionsType as WebhookIssueCommentDeletedPropIssueMergedReactionsType, ) + from .group_0688 import ( + WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse, + ) from .group_0688 import ( WebhookIssueCommentDeletedPropIssueMergedUserType as WebhookIssueCommentDeletedPropIssueMergedUserType, ) + from .group_0688 import ( + WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse, + ) from .group_0688 import ( WebhookIssueCommentDeletedPropIssueType as WebhookIssueCommentDeletedPropIssueType, ) + from .group_0688 import ( + WebhookIssueCommentDeletedPropIssueTypeForResponse as WebhookIssueCommentDeletedPropIssueTypeForResponse, + ) from .group_0689 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0689 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0689 import ( WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType as WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType, ) + from .group_0689 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0689 import ( WebhookIssueCommentDeletedPropIssueAllof0PropUserType as WebhookIssueCommentDeletedPropIssueAllof0PropUserType, ) + from .group_0689 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0689 import ( WebhookIssueCommentDeletedPropIssueAllof0Type as WebhookIssueCommentDeletedPropIssueAllof0Type, ) + from .group_0689 import ( + WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse, + ) from .group_0690 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, ) + from .group_0690 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0690 import ( WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, ) + from .group_0690 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0690 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType as WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, ) + from .group_0690 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0691 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0691 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0692 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType as WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType, ) + from .group_0692 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0693 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0693 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0693 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0693 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0694 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0694 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType as WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType as WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1PropUserType as WebhookIssueCommentDeletedPropIssueAllof1PropUserType, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0695 import ( WebhookIssueCommentDeletedPropIssueAllof1Type as WebhookIssueCommentDeletedPropIssueAllof1Type, ) + from .group_0695 import ( + WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse, + ) from .group_0696 import ( WebhookIssueCommentDeletedPropIssueMergedMilestoneType as WebhookIssueCommentDeletedPropIssueMergedMilestoneType, ) + from .group_0696 import ( + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0697 import ( WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0697 import ( + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0698 import ( WebhookIssueCommentEditedType as WebhookIssueCommentEditedType, ) + from .group_0698 import ( + WebhookIssueCommentEditedTypeForResponse as WebhookIssueCommentEditedTypeForResponse, + ) from .group_0699 import ( WebhookIssueCommentEditedPropIssueMergedAssigneesType as WebhookIssueCommentEditedPropIssueMergedAssigneesType, ) + from .group_0699 import ( + WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0699 import ( WebhookIssueCommentEditedPropIssueMergedReactionsType as WebhookIssueCommentEditedPropIssueMergedReactionsType, ) + from .group_0699 import ( + WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse, + ) from .group_0699 import ( WebhookIssueCommentEditedPropIssueMergedUserType as WebhookIssueCommentEditedPropIssueMergedUserType, ) + from .group_0699 import ( + WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse as WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse, + ) from .group_0699 import ( WebhookIssueCommentEditedPropIssueType as WebhookIssueCommentEditedPropIssueType, ) + from .group_0699 import ( + WebhookIssueCommentEditedPropIssueTypeForResponse as WebhookIssueCommentEditedPropIssueTypeForResponse, + ) from .group_0700 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0700 import ( + WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0700 import ( WebhookIssueCommentEditedPropIssueAllof0PropReactionsType as WebhookIssueCommentEditedPropIssueAllof0PropReactionsType, ) + from .group_0700 import ( + WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0700 import ( WebhookIssueCommentEditedPropIssueAllof0PropUserType as WebhookIssueCommentEditedPropIssueAllof0PropUserType, ) + from .group_0700 import ( + WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0700 import ( WebhookIssueCommentEditedPropIssueAllof0Type as WebhookIssueCommentEditedPropIssueAllof0Type, ) + from .group_0700 import ( + WebhookIssueCommentEditedPropIssueAllof0TypeForResponse as WebhookIssueCommentEditedPropIssueAllof0TypeForResponse, + ) from .group_0701 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType as WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, ) + from .group_0701 import ( + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0701 import ( WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, ) + from .group_0701 import ( + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0701 import ( WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType as WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, ) + from .group_0701 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0702 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0702 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0703 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType as WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType, ) + from .group_0703 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0704 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0704 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0704 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0704 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0705 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0705 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType as WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType as WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropReactionsType as WebhookIssueCommentEditedPropIssueAllof1PropReactionsType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1PropUserType as WebhookIssueCommentEditedPropIssueAllof1PropUserType, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0706 import ( WebhookIssueCommentEditedPropIssueAllof1Type as WebhookIssueCommentEditedPropIssueAllof1Type, ) + from .group_0706 import ( + WebhookIssueCommentEditedPropIssueAllof1TypeForResponse as WebhookIssueCommentEditedPropIssueAllof1TypeForResponse, + ) from .group_0707 import ( WebhookIssueCommentEditedPropIssueMergedMilestoneType as WebhookIssueCommentEditedPropIssueMergedMilestoneType, ) + from .group_0707 import ( + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0708 import ( WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0708 import ( + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0709 import ( WebhookIssueDependenciesBlockedByAddedType as WebhookIssueDependenciesBlockedByAddedType, ) + from .group_0709 import ( + WebhookIssueDependenciesBlockedByAddedTypeForResponse as WebhookIssueDependenciesBlockedByAddedTypeForResponse, + ) from .group_0710 import ( WebhookIssueDependenciesBlockedByRemovedType as WebhookIssueDependenciesBlockedByRemovedType, ) + from .group_0710 import ( + WebhookIssueDependenciesBlockedByRemovedTypeForResponse as WebhookIssueDependenciesBlockedByRemovedTypeForResponse, + ) from .group_0711 import ( WebhookIssueDependenciesBlockingAddedType as WebhookIssueDependenciesBlockingAddedType, ) + from .group_0711 import ( + WebhookIssueDependenciesBlockingAddedTypeForResponse as WebhookIssueDependenciesBlockingAddedTypeForResponse, + ) from .group_0712 import ( WebhookIssueDependenciesBlockingRemovedType as WebhookIssueDependenciesBlockingRemovedType, ) + from .group_0712 import ( + WebhookIssueDependenciesBlockingRemovedTypeForResponse as WebhookIssueDependenciesBlockingRemovedTypeForResponse, + ) from .group_0713 import WebhookIssuesAssignedType as WebhookIssuesAssignedType + from .group_0713 import ( + WebhookIssuesAssignedTypeForResponse as WebhookIssuesAssignedTypeForResponse, + ) from .group_0714 import WebhookIssuesClosedType as WebhookIssuesClosedType + from .group_0714 import ( + WebhookIssuesClosedTypeForResponse as WebhookIssuesClosedTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueMergedAssigneesType as WebhookIssuesClosedPropIssueMergedAssigneesType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse as WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueMergedAssigneeType as WebhookIssuesClosedPropIssueMergedAssigneeType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse as WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueMergedLabelsType as WebhookIssuesClosedPropIssueMergedLabelsType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse as WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueMergedReactionsType as WebhookIssuesClosedPropIssueMergedReactionsType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse as WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueMergedUserType as WebhookIssuesClosedPropIssueMergedUserType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueMergedUserTypeForResponse as WebhookIssuesClosedPropIssueMergedUserTypeForResponse, + ) from .group_0715 import ( WebhookIssuesClosedPropIssueType as WebhookIssuesClosedPropIssueType, ) + from .group_0715 import ( + WebhookIssuesClosedPropIssueTypeForResponse as WebhookIssuesClosedPropIssueTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType as WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0PropAssigneeType as WebhookIssuesClosedPropIssueAllof0PropAssigneeType, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType as WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0PropReactionsType as WebhookIssuesClosedPropIssueAllof0PropReactionsType, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0PropUserType as WebhookIssuesClosedPropIssueAllof0PropUserType, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0716 import ( WebhookIssuesClosedPropIssueAllof0Type as WebhookIssuesClosedPropIssueAllof0Type, ) + from .group_0716 import ( + WebhookIssuesClosedPropIssueAllof0TypeForResponse as WebhookIssuesClosedPropIssueAllof0TypeForResponse, + ) from .group_0717 import ( WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0717 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0718 import ( WebhookIssuesClosedPropIssueAllof0PropMilestoneType as WebhookIssuesClosedPropIssueAllof0PropMilestoneType, ) + from .group_0718 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, + ) + from .group_0719 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + ) from .group_0719 import ( - WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, ) from .group_0719 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0719 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0720 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0720 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0721 import ( WebhookIssuesClosedPropIssueAllof0PropPullRequestType as WebhookIssuesClosedPropIssueAllof0PropPullRequestType, ) + from .group_0721 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType as WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropAssigneeType as WebhookIssuesClosedPropIssueAllof1PropAssigneeType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType as WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropMilestoneType as WebhookIssuesClosedPropIssueAllof1PropMilestoneType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropReactionsType as WebhookIssuesClosedPropIssueAllof1PropReactionsType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1PropUserType as WebhookIssuesClosedPropIssueAllof1PropUserType, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0722 import ( WebhookIssuesClosedPropIssueAllof1Type as WebhookIssuesClosedPropIssueAllof1Type, ) + from .group_0722 import ( + WebhookIssuesClosedPropIssueAllof1TypeForResponse as WebhookIssuesClosedPropIssueAllof1TypeForResponse, + ) from .group_0723 import ( WebhookIssuesClosedPropIssueMergedMilestoneType as WebhookIssuesClosedPropIssueMergedMilestoneType, ) + from .group_0723 import ( + WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse as WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0724 import ( WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType as WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0724 import ( + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0725 import WebhookIssuesDeletedType as WebhookIssuesDeletedType + from .group_0725 import ( + WebhookIssuesDeletedTypeForResponse as WebhookIssuesDeletedTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropAssigneesItemsType as WebhookIssuesDeletedPropIssuePropAssigneesItemsType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropAssigneeType as WebhookIssuesDeletedPropIssuePropAssigneeType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse as WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropLabelsItemsType as WebhookIssuesDeletedPropIssuePropLabelsItemsType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType as WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropMilestoneType as WebhookIssuesDeletedPropIssuePropMilestoneType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse as WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropPullRequestType as WebhookIssuesDeletedPropIssuePropPullRequestType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse as WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropReactionsType as WebhookIssuesDeletedPropIssuePropReactionsType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse as WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssuePropUserType as WebhookIssuesDeletedPropIssuePropUserType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssuePropUserTypeForResponse as WebhookIssuesDeletedPropIssuePropUserTypeForResponse, + ) from .group_0726 import ( WebhookIssuesDeletedPropIssueType as WebhookIssuesDeletedPropIssueType, ) + from .group_0726 import ( + WebhookIssuesDeletedPropIssueTypeForResponse as WebhookIssuesDeletedPropIssueTypeForResponse, + ) from .group_0727 import ( WebhookIssuesDemilestonedType as WebhookIssuesDemilestonedType, ) + from .group_0727 import ( + WebhookIssuesDemilestonedTypeForResponse as WebhookIssuesDemilestonedTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType as WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropAssigneeType as WebhookIssuesDemilestonedPropIssuePropAssigneeType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse as WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropLabelsItemsType as WebhookIssuesDemilestonedPropIssuePropLabelsItemsType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType as WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropMilestoneType as WebhookIssuesDemilestonedPropIssuePropMilestoneType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse as WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropPullRequestType as WebhookIssuesDemilestonedPropIssuePropPullRequestType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropReactionsType as WebhookIssuesDemilestonedPropIssuePropReactionsType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssuePropUserType as WebhookIssuesDemilestonedPropIssuePropUserType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse as WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse, + ) from .group_0728 import ( WebhookIssuesDemilestonedPropIssueType as WebhookIssuesDemilestonedPropIssueType, ) + from .group_0728 import ( + WebhookIssuesDemilestonedPropIssueTypeForResponse as WebhookIssuesDemilestonedPropIssueTypeForResponse, + ) from .group_0729 import ( WebhookIssuesEditedPropChangesPropBodyType as WebhookIssuesEditedPropChangesPropBodyType, ) + from .group_0729 import ( + WebhookIssuesEditedPropChangesPropBodyTypeForResponse as WebhookIssuesEditedPropChangesPropBodyTypeForResponse, + ) from .group_0729 import ( WebhookIssuesEditedPropChangesPropTitleType as WebhookIssuesEditedPropChangesPropTitleType, ) + from .group_0729 import ( + WebhookIssuesEditedPropChangesPropTitleTypeForResponse as WebhookIssuesEditedPropChangesPropTitleTypeForResponse, + ) from .group_0729 import ( WebhookIssuesEditedPropChangesType as WebhookIssuesEditedPropChangesType, ) + from .group_0729 import ( + WebhookIssuesEditedPropChangesTypeForResponse as WebhookIssuesEditedPropChangesTypeForResponse, + ) from .group_0729 import WebhookIssuesEditedType as WebhookIssuesEditedType + from .group_0729 import ( + WebhookIssuesEditedTypeForResponse as WebhookIssuesEditedTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropAssigneesItemsType as WebhookIssuesEditedPropIssuePropAssigneesItemsType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropAssigneeType as WebhookIssuesEditedPropIssuePropAssigneeType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse as WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropLabelsItemsType as WebhookIssuesEditedPropIssuePropLabelsItemsType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropMilestonePropCreatorType as WebhookIssuesEditedPropIssuePropMilestonePropCreatorType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropMilestoneType as WebhookIssuesEditedPropIssuePropMilestoneType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse as WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropPullRequestType as WebhookIssuesEditedPropIssuePropPullRequestType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse as WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropReactionsType as WebhookIssuesEditedPropIssuePropReactionsType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropReactionsTypeForResponse as WebhookIssuesEditedPropIssuePropReactionsTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssuePropUserType as WebhookIssuesEditedPropIssuePropUserType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssuePropUserTypeForResponse as WebhookIssuesEditedPropIssuePropUserTypeForResponse, + ) from .group_0730 import ( WebhookIssuesEditedPropIssueType as WebhookIssuesEditedPropIssueType, ) + from .group_0730 import ( + WebhookIssuesEditedPropIssueTypeForResponse as WebhookIssuesEditedPropIssueTypeForResponse, + ) from .group_0731 import WebhookIssuesLabeledType as WebhookIssuesLabeledType + from .group_0731 import ( + WebhookIssuesLabeledTypeForResponse as WebhookIssuesLabeledTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropAssigneesItemsType as WebhookIssuesLabeledPropIssuePropAssigneesItemsType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropAssigneeType as WebhookIssuesLabeledPropIssuePropAssigneeType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse as WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropLabelsItemsType as WebhookIssuesLabeledPropIssuePropLabelsItemsType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType as WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropMilestoneType as WebhookIssuesLabeledPropIssuePropMilestoneType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse as WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropPullRequestType as WebhookIssuesLabeledPropIssuePropPullRequestType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse as WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropReactionsType as WebhookIssuesLabeledPropIssuePropReactionsType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse as WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssuePropUserType as WebhookIssuesLabeledPropIssuePropUserType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssuePropUserTypeForResponse as WebhookIssuesLabeledPropIssuePropUserTypeForResponse, + ) from .group_0732 import ( WebhookIssuesLabeledPropIssueType as WebhookIssuesLabeledPropIssueType, ) + from .group_0732 import ( + WebhookIssuesLabeledPropIssueTypeForResponse as WebhookIssuesLabeledPropIssueTypeForResponse, + ) from .group_0733 import WebhookIssuesLockedType as WebhookIssuesLockedType + from .group_0733 import ( + WebhookIssuesLockedTypeForResponse as WebhookIssuesLockedTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropAssigneesItemsType as WebhookIssuesLockedPropIssuePropAssigneesItemsType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropAssigneeType as WebhookIssuesLockedPropIssuePropAssigneeType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse as WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropLabelsItemsType as WebhookIssuesLockedPropIssuePropLabelsItemsType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropMilestonePropCreatorType as WebhookIssuesLockedPropIssuePropMilestonePropCreatorType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropMilestoneType as WebhookIssuesLockedPropIssuePropMilestoneType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse as WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropPullRequestType as WebhookIssuesLockedPropIssuePropPullRequestType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse as WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropReactionsType as WebhookIssuesLockedPropIssuePropReactionsType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropReactionsTypeForResponse as WebhookIssuesLockedPropIssuePropReactionsTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssuePropUserType as WebhookIssuesLockedPropIssuePropUserType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssuePropUserTypeForResponse as WebhookIssuesLockedPropIssuePropUserTypeForResponse, + ) from .group_0734 import ( WebhookIssuesLockedPropIssueType as WebhookIssuesLockedPropIssueType, ) + from .group_0734 import ( + WebhookIssuesLockedPropIssueTypeForResponse as WebhookIssuesLockedPropIssueTypeForResponse, + ) from .group_0735 import WebhookIssuesMilestonedType as WebhookIssuesMilestonedType + from .group_0735 import ( + WebhookIssuesMilestonedTypeForResponse as WebhookIssuesMilestonedTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropAssigneesItemsType as WebhookIssuesMilestonedPropIssuePropAssigneesItemsType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropAssigneeType as WebhookIssuesMilestonedPropIssuePropAssigneeType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse as WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropLabelsItemsType as WebhookIssuesMilestonedPropIssuePropLabelsItemsType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType as WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropMilestoneType as WebhookIssuesMilestonedPropIssuePropMilestoneType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse as WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropPullRequestType as WebhookIssuesMilestonedPropIssuePropPullRequestType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse as WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropReactionsType as WebhookIssuesMilestonedPropIssuePropReactionsType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse as WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssuePropUserType as WebhookIssuesMilestonedPropIssuePropUserType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssuePropUserTypeForResponse as WebhookIssuesMilestonedPropIssuePropUserTypeForResponse, + ) from .group_0736 import ( WebhookIssuesMilestonedPropIssueType as WebhookIssuesMilestonedPropIssueType, ) + from .group_0736 import ( + WebhookIssuesMilestonedPropIssueTypeForResponse as WebhookIssuesMilestonedPropIssueTypeForResponse, + ) from .group_0737 import WebhookIssuesOpenedType as WebhookIssuesOpenedType + from .group_0737 import ( + WebhookIssuesOpenedTypeForResponse as WebhookIssuesOpenedTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryType as WebhookIssuesOpenedPropChangesPropOldRepositoryType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse, + ) from .group_0738 import ( WebhookIssuesOpenedPropChangesType as WebhookIssuesOpenedPropChangesType, ) + from .group_0738 import ( + WebhookIssuesOpenedPropChangesTypeForResponse as WebhookIssuesOpenedPropChangesTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType as WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType as WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType as WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropUserType as WebhookIssuesOpenedPropChangesPropOldIssuePropUserType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse, + ) from .group_0739 import ( WebhookIssuesOpenedPropChangesPropOldIssueType as WebhookIssuesOpenedPropChangesPropOldIssueType, ) + from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropAssigneesItemsType as WebhookIssuesOpenedPropIssuePropAssigneesItemsType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropAssigneeType as WebhookIssuesOpenedPropIssuePropAssigneeType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse as WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropLabelsItemsType as WebhookIssuesOpenedPropIssuePropLabelsItemsType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType as WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropMilestoneType as WebhookIssuesOpenedPropIssuePropMilestoneType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse as WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropPullRequestType as WebhookIssuesOpenedPropIssuePropPullRequestType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse as WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropReactionsType as WebhookIssuesOpenedPropIssuePropReactionsType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse as WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssuePropUserType as WebhookIssuesOpenedPropIssuePropUserType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssuePropUserTypeForResponse as WebhookIssuesOpenedPropIssuePropUserTypeForResponse, + ) from .group_0740 import ( WebhookIssuesOpenedPropIssueType as WebhookIssuesOpenedPropIssueType, ) + from .group_0740 import ( + WebhookIssuesOpenedPropIssueTypeForResponse as WebhookIssuesOpenedPropIssueTypeForResponse, + ) from .group_0741 import WebhookIssuesPinnedType as WebhookIssuesPinnedType + from .group_0741 import ( + WebhookIssuesPinnedTypeForResponse as WebhookIssuesPinnedTypeForResponse, + ) from .group_0742 import WebhookIssuesReopenedType as WebhookIssuesReopenedType + from .group_0742 import ( + WebhookIssuesReopenedTypeForResponse as WebhookIssuesReopenedTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropAssigneesItemsType as WebhookIssuesReopenedPropIssuePropAssigneesItemsType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropAssigneeType as WebhookIssuesReopenedPropIssuePropAssigneeType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse as WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropLabelsItemsType as WebhookIssuesReopenedPropIssuePropLabelsItemsType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType as WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropMilestoneType as WebhookIssuesReopenedPropIssuePropMilestoneType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse as WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropPullRequestType as WebhookIssuesReopenedPropIssuePropPullRequestType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse as WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropReactionsType as WebhookIssuesReopenedPropIssuePropReactionsType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse as WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssuePropUserType as WebhookIssuesReopenedPropIssuePropUserType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssuePropUserTypeForResponse as WebhookIssuesReopenedPropIssuePropUserTypeForResponse, + ) from .group_0743 import ( WebhookIssuesReopenedPropIssueType as WebhookIssuesReopenedPropIssueType, ) + from .group_0743 import ( + WebhookIssuesReopenedPropIssueTypeForResponse as WebhookIssuesReopenedPropIssueTypeForResponse, + ) from .group_0744 import WebhookIssuesTransferredType as WebhookIssuesTransferredType + from .group_0744 import ( + WebhookIssuesTransferredTypeForResponse as WebhookIssuesTransferredTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryType as WebhookIssuesTransferredPropChangesPropNewRepositoryType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse, + ) from .group_0745 import ( WebhookIssuesTransferredPropChangesType as WebhookIssuesTransferredPropChangesType, ) + from .group_0745 import ( + WebhookIssuesTransferredPropChangesTypeForResponse as WebhookIssuesTransferredPropChangesTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType as WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType as WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType as WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropUserType as WebhookIssuesTransferredPropChangesPropNewIssuePropUserType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse, + ) from .group_0746 import ( WebhookIssuesTransferredPropChangesPropNewIssueType as WebhookIssuesTransferredPropChangesPropNewIssueType, ) + from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse, + ) from .group_0747 import WebhookIssuesTypedType as WebhookIssuesTypedType + from .group_0747 import ( + WebhookIssuesTypedTypeForResponse as WebhookIssuesTypedTypeForResponse, + ) from .group_0748 import WebhookIssuesUnassignedType as WebhookIssuesUnassignedType + from .group_0748 import ( + WebhookIssuesUnassignedTypeForResponse as WebhookIssuesUnassignedTypeForResponse, + ) from .group_0749 import WebhookIssuesUnlabeledType as WebhookIssuesUnlabeledType + from .group_0749 import ( + WebhookIssuesUnlabeledTypeForResponse as WebhookIssuesUnlabeledTypeForResponse, + ) from .group_0750 import WebhookIssuesUnlockedType as WebhookIssuesUnlockedType + from .group_0750 import ( + WebhookIssuesUnlockedTypeForResponse as WebhookIssuesUnlockedTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropAssigneesItemsType as WebhookIssuesUnlockedPropIssuePropAssigneesItemsType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropAssigneeType as WebhookIssuesUnlockedPropIssuePropAssigneeType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse as WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropLabelsItemsType as WebhookIssuesUnlockedPropIssuePropLabelsItemsType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType as WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropMilestoneType as WebhookIssuesUnlockedPropIssuePropMilestoneType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse as WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropPullRequestType as WebhookIssuesUnlockedPropIssuePropPullRequestType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse as WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropReactionsType as WebhookIssuesUnlockedPropIssuePropReactionsType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse as WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssuePropUserType as WebhookIssuesUnlockedPropIssuePropUserType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssuePropUserTypeForResponse as WebhookIssuesUnlockedPropIssuePropUserTypeForResponse, + ) from .group_0751 import ( WebhookIssuesUnlockedPropIssueType as WebhookIssuesUnlockedPropIssueType, ) + from .group_0751 import ( + WebhookIssuesUnlockedPropIssueTypeForResponse as WebhookIssuesUnlockedPropIssueTypeForResponse, + ) from .group_0752 import WebhookIssuesUnpinnedType as WebhookIssuesUnpinnedType + from .group_0752 import ( + WebhookIssuesUnpinnedTypeForResponse as WebhookIssuesUnpinnedTypeForResponse, + ) from .group_0753 import WebhookIssuesUntypedType as WebhookIssuesUntypedType + from .group_0753 import ( + WebhookIssuesUntypedTypeForResponse as WebhookIssuesUntypedTypeForResponse, + ) from .group_0754 import WebhookLabelCreatedType as WebhookLabelCreatedType + from .group_0754 import ( + WebhookLabelCreatedTypeForResponse as WebhookLabelCreatedTypeForResponse, + ) from .group_0755 import WebhookLabelDeletedType as WebhookLabelDeletedType + from .group_0755 import ( + WebhookLabelDeletedTypeForResponse as WebhookLabelDeletedTypeForResponse, + ) from .group_0756 import ( WebhookLabelEditedPropChangesPropColorType as WebhookLabelEditedPropChangesPropColorType, ) + from .group_0756 import ( + WebhookLabelEditedPropChangesPropColorTypeForResponse as WebhookLabelEditedPropChangesPropColorTypeForResponse, + ) from .group_0756 import ( WebhookLabelEditedPropChangesPropDescriptionType as WebhookLabelEditedPropChangesPropDescriptionType, ) + from .group_0756 import ( + WebhookLabelEditedPropChangesPropDescriptionTypeForResponse as WebhookLabelEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0756 import ( WebhookLabelEditedPropChangesPropNameType as WebhookLabelEditedPropChangesPropNameType, ) + from .group_0756 import ( + WebhookLabelEditedPropChangesPropNameTypeForResponse as WebhookLabelEditedPropChangesPropNameTypeForResponse, + ) from .group_0756 import ( WebhookLabelEditedPropChangesType as WebhookLabelEditedPropChangesType, ) + from .group_0756 import ( + WebhookLabelEditedPropChangesTypeForResponse as WebhookLabelEditedPropChangesTypeForResponse, + ) from .group_0756 import WebhookLabelEditedType as WebhookLabelEditedType + from .group_0756 import ( + WebhookLabelEditedTypeForResponse as WebhookLabelEditedTypeForResponse, + ) from .group_0757 import ( WebhookMarketplacePurchaseCancelledType as WebhookMarketplacePurchaseCancelledType, ) + from .group_0757 import ( + WebhookMarketplacePurchaseCancelledTypeForResponse as WebhookMarketplacePurchaseCancelledTypeForResponse, + ) from .group_0758 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType, ) + from .group_0758 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0758 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType, ) + from .group_0758 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0758 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType, ) + from .group_0758 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0758 import ( WebhookMarketplacePurchaseChangedType as WebhookMarketplacePurchaseChangedType, ) + from .group_0758 import ( + WebhookMarketplacePurchaseChangedTypeForResponse as WebhookMarketplacePurchaseChangedTypeForResponse, + ) from .group_0759 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType, ) + from .group_0759 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0759 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType, ) + from .group_0759 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0759 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType, ) + from .group_0759 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0759 import ( WebhookMarketplacePurchasePendingChangeType as WebhookMarketplacePurchasePendingChangeType, ) + from .group_0759 import ( + WebhookMarketplacePurchasePendingChangeTypeForResponse as WebhookMarketplacePurchasePendingChangeTypeForResponse, + ) from .group_0760 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType, ) + from .group_0760 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0760 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType, ) + from .group_0760 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0760 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType, ) + from .group_0760 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse, + ) from .group_0760 import ( WebhookMarketplacePurchasePendingChangeCancelledType as WebhookMarketplacePurchasePendingChangeCancelledType, ) + from .group_0760 import ( + WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse, + ) from .group_0761 import ( WebhookMarketplacePurchasePurchasedType as WebhookMarketplacePurchasePurchasedType, ) + from .group_0761 import ( + WebhookMarketplacePurchasePurchasedTypeForResponse as WebhookMarketplacePurchasePurchasedTypeForResponse, + ) from .group_0762 import ( WebhookMemberAddedPropChangesPropPermissionType as WebhookMemberAddedPropChangesPropPermissionType, ) + from .group_0762 import ( + WebhookMemberAddedPropChangesPropPermissionTypeForResponse as WebhookMemberAddedPropChangesPropPermissionTypeForResponse, + ) from .group_0762 import ( WebhookMemberAddedPropChangesPropRoleNameType as WebhookMemberAddedPropChangesPropRoleNameType, ) + from .group_0762 import ( + WebhookMemberAddedPropChangesPropRoleNameTypeForResponse as WebhookMemberAddedPropChangesPropRoleNameTypeForResponse, + ) from .group_0762 import ( WebhookMemberAddedPropChangesType as WebhookMemberAddedPropChangesType, ) + from .group_0762 import ( + WebhookMemberAddedPropChangesTypeForResponse as WebhookMemberAddedPropChangesTypeForResponse, + ) from .group_0762 import WebhookMemberAddedType as WebhookMemberAddedType + from .group_0762 import ( + WebhookMemberAddedTypeForResponse as WebhookMemberAddedTypeForResponse, + ) from .group_0763 import ( WebhookMemberEditedPropChangesPropOldPermissionType as WebhookMemberEditedPropChangesPropOldPermissionType, ) + from .group_0763 import ( + WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse as WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse, + ) from .group_0763 import ( WebhookMemberEditedPropChangesPropPermissionType as WebhookMemberEditedPropChangesPropPermissionType, ) + from .group_0763 import ( + WebhookMemberEditedPropChangesPropPermissionTypeForResponse as WebhookMemberEditedPropChangesPropPermissionTypeForResponse, + ) from .group_0763 import ( WebhookMemberEditedPropChangesType as WebhookMemberEditedPropChangesType, ) + from .group_0763 import ( + WebhookMemberEditedPropChangesTypeForResponse as WebhookMemberEditedPropChangesTypeForResponse, + ) from .group_0763 import WebhookMemberEditedType as WebhookMemberEditedType + from .group_0763 import ( + WebhookMemberEditedTypeForResponse as WebhookMemberEditedTypeForResponse, + ) from .group_0764 import WebhookMemberRemovedType as WebhookMemberRemovedType + from .group_0764 import ( + WebhookMemberRemovedTypeForResponse as WebhookMemberRemovedTypeForResponse, + ) from .group_0765 import ( WebhookMembershipAddedPropSenderType as WebhookMembershipAddedPropSenderType, ) + from .group_0765 import ( + WebhookMembershipAddedPropSenderTypeForResponse as WebhookMembershipAddedPropSenderTypeForResponse, + ) from .group_0765 import WebhookMembershipAddedType as WebhookMembershipAddedType + from .group_0765 import ( + WebhookMembershipAddedTypeForResponse as WebhookMembershipAddedTypeForResponse, + ) from .group_0766 import ( WebhookMembershipRemovedPropSenderType as WebhookMembershipRemovedPropSenderType, ) + from .group_0766 import ( + WebhookMembershipRemovedPropSenderTypeForResponse as WebhookMembershipRemovedPropSenderTypeForResponse, + ) from .group_0766 import WebhookMembershipRemovedType as WebhookMembershipRemovedType + from .group_0766 import ( + WebhookMembershipRemovedTypeForResponse as WebhookMembershipRemovedTypeForResponse, + ) from .group_0767 import ( WebhookMergeGroupChecksRequestedType as WebhookMergeGroupChecksRequestedType, ) + from .group_0767 import ( + WebhookMergeGroupChecksRequestedTypeForResponse as WebhookMergeGroupChecksRequestedTypeForResponse, + ) from .group_0768 import ( WebhookMergeGroupDestroyedType as WebhookMergeGroupDestroyedType, ) + from .group_0768 import ( + WebhookMergeGroupDestroyedTypeForResponse as WebhookMergeGroupDestroyedTypeForResponse, + ) from .group_0769 import ( WebhookMetaDeletedPropHookPropConfigType as WebhookMetaDeletedPropHookPropConfigType, ) + from .group_0769 import ( + WebhookMetaDeletedPropHookPropConfigTypeForResponse as WebhookMetaDeletedPropHookPropConfigTypeForResponse, + ) from .group_0769 import ( WebhookMetaDeletedPropHookType as WebhookMetaDeletedPropHookType, ) + from .group_0769 import ( + WebhookMetaDeletedPropHookTypeForResponse as WebhookMetaDeletedPropHookTypeForResponse, + ) from .group_0769 import WebhookMetaDeletedType as WebhookMetaDeletedType + from .group_0769 import ( + WebhookMetaDeletedTypeForResponse as WebhookMetaDeletedTypeForResponse, + ) from .group_0770 import WebhookMilestoneClosedType as WebhookMilestoneClosedType + from .group_0770 import ( + WebhookMilestoneClosedTypeForResponse as WebhookMilestoneClosedTypeForResponse, + ) from .group_0771 import WebhookMilestoneCreatedType as WebhookMilestoneCreatedType + from .group_0771 import ( + WebhookMilestoneCreatedTypeForResponse as WebhookMilestoneCreatedTypeForResponse, + ) from .group_0772 import WebhookMilestoneDeletedType as WebhookMilestoneDeletedType + from .group_0772 import ( + WebhookMilestoneDeletedTypeForResponse as WebhookMilestoneDeletedTypeForResponse, + ) from .group_0773 import ( WebhookMilestoneEditedPropChangesPropDescriptionType as WebhookMilestoneEditedPropChangesPropDescriptionType, ) + from .group_0773 import ( + WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse as WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0773 import ( WebhookMilestoneEditedPropChangesPropDueOnType as WebhookMilestoneEditedPropChangesPropDueOnType, ) + from .group_0773 import ( + WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse as WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse, + ) from .group_0773 import ( WebhookMilestoneEditedPropChangesPropTitleType as WebhookMilestoneEditedPropChangesPropTitleType, ) + from .group_0773 import ( + WebhookMilestoneEditedPropChangesPropTitleTypeForResponse as WebhookMilestoneEditedPropChangesPropTitleTypeForResponse, + ) from .group_0773 import ( WebhookMilestoneEditedPropChangesType as WebhookMilestoneEditedPropChangesType, ) + from .group_0773 import ( + WebhookMilestoneEditedPropChangesTypeForResponse as WebhookMilestoneEditedPropChangesTypeForResponse, + ) from .group_0773 import WebhookMilestoneEditedType as WebhookMilestoneEditedType + from .group_0773 import ( + WebhookMilestoneEditedTypeForResponse as WebhookMilestoneEditedTypeForResponse, + ) from .group_0774 import WebhookMilestoneOpenedType as WebhookMilestoneOpenedType + from .group_0774 import ( + WebhookMilestoneOpenedTypeForResponse as WebhookMilestoneOpenedTypeForResponse, + ) from .group_0775 import WebhookOrgBlockBlockedType as WebhookOrgBlockBlockedType + from .group_0775 import ( + WebhookOrgBlockBlockedTypeForResponse as WebhookOrgBlockBlockedTypeForResponse, + ) from .group_0776 import WebhookOrgBlockUnblockedType as WebhookOrgBlockUnblockedType + from .group_0776 import ( + WebhookOrgBlockUnblockedTypeForResponse as WebhookOrgBlockUnblockedTypeForResponse, + ) from .group_0777 import ( WebhookOrganizationCustomPropertyCreatedType as WebhookOrganizationCustomPropertyCreatedType, ) + from .group_0777 import ( + WebhookOrganizationCustomPropertyCreatedTypeForResponse as WebhookOrganizationCustomPropertyCreatedTypeForResponse, + ) from .group_0778 import ( WebhookOrganizationCustomPropertyDeletedPropDefinitionType as WebhookOrganizationCustomPropertyDeletedPropDefinitionType, ) + from .group_0778 import ( + WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse as WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse, + ) from .group_0778 import ( WebhookOrganizationCustomPropertyDeletedType as WebhookOrganizationCustomPropertyDeletedType, ) + from .group_0778 import ( + WebhookOrganizationCustomPropertyDeletedTypeForResponse as WebhookOrganizationCustomPropertyDeletedTypeForResponse, + ) from .group_0779 import ( WebhookOrganizationCustomPropertyUpdatedType as WebhookOrganizationCustomPropertyUpdatedType, ) + from .group_0779 import ( + WebhookOrganizationCustomPropertyUpdatedTypeForResponse as WebhookOrganizationCustomPropertyUpdatedTypeForResponse, + ) from .group_0780 import ( WebhookOrganizationCustomPropertyValuesUpdatedType as WebhookOrganizationCustomPropertyValuesUpdatedType, ) + from .group_0780 import ( + WebhookOrganizationCustomPropertyValuesUpdatedTypeForResponse as WebhookOrganizationCustomPropertyValuesUpdatedTypeForResponse, + ) from .group_0781 import ( WebhookOrganizationDeletedType as WebhookOrganizationDeletedType, ) + from .group_0781 import ( + WebhookOrganizationDeletedTypeForResponse as WebhookOrganizationDeletedTypeForResponse, + ) from .group_0782 import ( WebhookOrganizationMemberAddedType as WebhookOrganizationMemberAddedType, ) + from .group_0782 import ( + WebhookOrganizationMemberAddedTypeForResponse as WebhookOrganizationMemberAddedTypeForResponse, + ) from .group_0783 import ( WebhookOrganizationMemberInvitedPropInvitationPropInviterType as WebhookOrganizationMemberInvitedPropInvitationPropInviterType, ) + from .group_0783 import ( + WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse as WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse, + ) from .group_0783 import ( WebhookOrganizationMemberInvitedPropInvitationType as WebhookOrganizationMemberInvitedPropInvitationType, ) + from .group_0783 import ( + WebhookOrganizationMemberInvitedPropInvitationTypeForResponse as WebhookOrganizationMemberInvitedPropInvitationTypeForResponse, + ) from .group_0783 import ( WebhookOrganizationMemberInvitedType as WebhookOrganizationMemberInvitedType, ) + from .group_0783 import ( + WebhookOrganizationMemberInvitedTypeForResponse as WebhookOrganizationMemberInvitedTypeForResponse, + ) from .group_0784 import ( WebhookOrganizationMemberRemovedType as WebhookOrganizationMemberRemovedType, ) + from .group_0784 import ( + WebhookOrganizationMemberRemovedTypeForResponse as WebhookOrganizationMemberRemovedTypeForResponse, + ) from .group_0785 import ( WebhookOrganizationRenamedPropChangesPropLoginType as WebhookOrganizationRenamedPropChangesPropLoginType, ) + from .group_0785 import ( + WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse as WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse, + ) from .group_0785 import ( WebhookOrganizationRenamedPropChangesType as WebhookOrganizationRenamedPropChangesType, ) + from .group_0785 import ( + WebhookOrganizationRenamedPropChangesTypeForResponse as WebhookOrganizationRenamedPropChangesTypeForResponse, + ) from .group_0785 import ( WebhookOrganizationRenamedType as WebhookOrganizationRenamedType, ) + from .group_0785 import ( + WebhookOrganizationRenamedTypeForResponse as WebhookOrganizationRenamedTypeForResponse, + ) from .group_0786 import ( WebhookRubygemsMetadataPropDependenciesItemsType as WebhookRubygemsMetadataPropDependenciesItemsType, ) + from .group_0786 import ( + WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse as WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse, + ) from .group_0786 import ( WebhookRubygemsMetadataPropMetadataType as WebhookRubygemsMetadataPropMetadataType, ) + from .group_0786 import ( + WebhookRubygemsMetadataPropMetadataTypeForResponse as WebhookRubygemsMetadataPropMetadataTypeForResponse, + ) from .group_0786 import ( WebhookRubygemsMetadataPropVersionInfoType as WebhookRubygemsMetadataPropVersionInfoType, ) + from .group_0786 import ( + WebhookRubygemsMetadataPropVersionInfoTypeForResponse as WebhookRubygemsMetadataPropVersionInfoTypeForResponse, + ) from .group_0786 import WebhookRubygemsMetadataType as WebhookRubygemsMetadataType + from .group_0786 import ( + WebhookRubygemsMetadataTypeForResponse as WebhookRubygemsMetadataTypeForResponse, + ) from .group_0787 import WebhookPackagePublishedType as WebhookPackagePublishedType + from .group_0787 import ( + WebhookPackagePublishedTypeForResponse as WebhookPackagePublishedTypeForResponse, + ) from .group_0788 import ( WebhookPackagePublishedPropPackagePropOwnerType as WebhookPackagePublishedPropPackagePropOwnerType, ) + from .group_0788 import ( + WebhookPackagePublishedPropPackagePropOwnerTypeForResponse as WebhookPackagePublishedPropPackagePropOwnerTypeForResponse, + ) from .group_0788 import ( WebhookPackagePublishedPropPackagePropRegistryType as WebhookPackagePublishedPropPackagePropRegistryType, ) + from .group_0788 import ( + WebhookPackagePublishedPropPackagePropRegistryTypeForResponse as WebhookPackagePublishedPropPackagePropRegistryTypeForResponse, + ) from .group_0788 import ( WebhookPackagePublishedPropPackageType as WebhookPackagePublishedPropPackageType, ) + from .group_0788 import ( + WebhookPackagePublishedPropPackageTypeForResponse as WebhookPackagePublishedPropPackageTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type as WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType, ) from .group_0789 import ( - WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType, + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse, + ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType, + ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse, ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType as WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0789 import ( WebhookPackagePublishedPropPackagePropPackageVersionType as WebhookPackagePublishedPropPackagePropPackageVersionType, ) + from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, + ) from .group_0790 import WebhookPackageUpdatedType as WebhookPackageUpdatedType + from .group_0790 import ( + WebhookPackageUpdatedTypeForResponse as WebhookPackageUpdatedTypeForResponse, + ) from .group_0791 import ( WebhookPackageUpdatedPropPackagePropOwnerType as WebhookPackageUpdatedPropPackagePropOwnerType, ) + from .group_0791 import ( + WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse as WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse, + ) from .group_0791 import ( WebhookPackageUpdatedPropPackagePropRegistryType as WebhookPackageUpdatedPropPackagePropRegistryType, ) + from .group_0791 import ( + WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse as WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse, + ) from .group_0791 import ( WebhookPackageUpdatedPropPackageType as WebhookPackageUpdatedPropPackageType, ) + from .group_0791 import ( + WebhookPackageUpdatedPropPackageTypeForResponse as WebhookPackageUpdatedPropPackageTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType as WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0792 import ( WebhookPackageUpdatedPropPackagePropPackageVersionType as WebhookPackageUpdatedPropPackagePropPackageVersionType, ) + from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse, + ) from .group_0793 import ( WebhookPageBuildPropBuildPropErrorType as WebhookPageBuildPropBuildPropErrorType, ) + from .group_0793 import ( + WebhookPageBuildPropBuildPropErrorTypeForResponse as WebhookPageBuildPropBuildPropErrorTypeForResponse, + ) from .group_0793 import ( WebhookPageBuildPropBuildPropPusherType as WebhookPageBuildPropBuildPropPusherType, ) + from .group_0793 import ( + WebhookPageBuildPropBuildPropPusherTypeForResponse as WebhookPageBuildPropBuildPropPusherTypeForResponse, + ) from .group_0793 import ( WebhookPageBuildPropBuildType as WebhookPageBuildPropBuildType, ) + from .group_0793 import ( + WebhookPageBuildPropBuildTypeForResponse as WebhookPageBuildPropBuildTypeForResponse, + ) from .group_0793 import WebhookPageBuildType as WebhookPageBuildType + from .group_0793 import ( + WebhookPageBuildTypeForResponse as WebhookPageBuildTypeForResponse, + ) from .group_0794 import ( WebhookPersonalAccessTokenRequestApprovedType as WebhookPersonalAccessTokenRequestApprovedType, ) + from .group_0794 import ( + WebhookPersonalAccessTokenRequestApprovedTypeForResponse as WebhookPersonalAccessTokenRequestApprovedTypeForResponse, + ) from .group_0795 import ( WebhookPersonalAccessTokenRequestCancelledType as WebhookPersonalAccessTokenRequestCancelledType, ) + from .group_0795 import ( + WebhookPersonalAccessTokenRequestCancelledTypeForResponse as WebhookPersonalAccessTokenRequestCancelledTypeForResponse, + ) from .group_0796 import ( WebhookPersonalAccessTokenRequestCreatedType as WebhookPersonalAccessTokenRequestCreatedType, ) + from .group_0796 import ( + WebhookPersonalAccessTokenRequestCreatedTypeForResponse as WebhookPersonalAccessTokenRequestCreatedTypeForResponse, + ) from .group_0797 import ( WebhookPersonalAccessTokenRequestDeniedType as WebhookPersonalAccessTokenRequestDeniedType, ) + from .group_0797 import ( + WebhookPersonalAccessTokenRequestDeniedTypeForResponse as WebhookPersonalAccessTokenRequestDeniedTypeForResponse, + ) from .group_0798 import WebhookPingType as WebhookPingType + from .group_0798 import WebhookPingTypeForResponse as WebhookPingTypeForResponse from .group_0799 import ( WebhookPingPropHookPropConfigType as WebhookPingPropHookPropConfigType, ) + from .group_0799 import ( + WebhookPingPropHookPropConfigTypeForResponse as WebhookPingPropHookPropConfigTypeForResponse, + ) from .group_0799 import WebhookPingPropHookType as WebhookPingPropHookType + from .group_0799 import ( + WebhookPingPropHookTypeForResponse as WebhookPingPropHookTypeForResponse, + ) from .group_0800 import WebhookPingFormEncodedType as WebhookPingFormEncodedType + from .group_0800 import ( + WebhookPingFormEncodedTypeForResponse as WebhookPingFormEncodedTypeForResponse, + ) from .group_0801 import ( WebhookProjectCardConvertedPropChangesPropNoteType as WebhookProjectCardConvertedPropChangesPropNoteType, ) + from .group_0801 import ( + WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse as WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse, + ) from .group_0801 import ( WebhookProjectCardConvertedPropChangesType as WebhookProjectCardConvertedPropChangesType, ) + from .group_0801 import ( + WebhookProjectCardConvertedPropChangesTypeForResponse as WebhookProjectCardConvertedPropChangesTypeForResponse, + ) from .group_0801 import ( WebhookProjectCardConvertedType as WebhookProjectCardConvertedType, ) + from .group_0801 import ( + WebhookProjectCardConvertedTypeForResponse as WebhookProjectCardConvertedTypeForResponse, + ) from .group_0802 import ( WebhookProjectCardCreatedType as WebhookProjectCardCreatedType, ) + from .group_0802 import ( + WebhookProjectCardCreatedTypeForResponse as WebhookProjectCardCreatedTypeForResponse, + ) from .group_0803 import ( WebhookProjectCardDeletedPropProjectCardPropCreatorType as WebhookProjectCardDeletedPropProjectCardPropCreatorType, ) + from .group_0803 import ( + WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse as WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse, + ) from .group_0803 import ( WebhookProjectCardDeletedPropProjectCardType as WebhookProjectCardDeletedPropProjectCardType, ) + from .group_0803 import ( + WebhookProjectCardDeletedPropProjectCardTypeForResponse as WebhookProjectCardDeletedPropProjectCardTypeForResponse, + ) from .group_0803 import ( WebhookProjectCardDeletedType as WebhookProjectCardDeletedType, ) + from .group_0803 import ( + WebhookProjectCardDeletedTypeForResponse as WebhookProjectCardDeletedTypeForResponse, + ) from .group_0804 import ( WebhookProjectCardEditedPropChangesPropNoteType as WebhookProjectCardEditedPropChangesPropNoteType, ) + from .group_0804 import ( + WebhookProjectCardEditedPropChangesPropNoteTypeForResponse as WebhookProjectCardEditedPropChangesPropNoteTypeForResponse, + ) from .group_0804 import ( WebhookProjectCardEditedPropChangesType as WebhookProjectCardEditedPropChangesType, ) + from .group_0804 import ( + WebhookProjectCardEditedPropChangesTypeForResponse as WebhookProjectCardEditedPropChangesTypeForResponse, + ) from .group_0804 import WebhookProjectCardEditedType as WebhookProjectCardEditedType + from .group_0804 import ( + WebhookProjectCardEditedTypeForResponse as WebhookProjectCardEditedTypeForResponse, + ) from .group_0805 import ( WebhookProjectCardMovedPropChangesPropColumnIdType as WebhookProjectCardMovedPropChangesPropColumnIdType, ) + from .group_0805 import ( + WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse as WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse, + ) from .group_0805 import ( WebhookProjectCardMovedPropChangesType as WebhookProjectCardMovedPropChangesType, ) + from .group_0805 import ( + WebhookProjectCardMovedPropChangesTypeForResponse as WebhookProjectCardMovedPropChangesTypeForResponse, + ) from .group_0805 import ( WebhookProjectCardMovedPropProjectCardMergedCreatorType as WebhookProjectCardMovedPropProjectCardMergedCreatorType, ) + from .group_0805 import ( + WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse, + ) from .group_0805 import ( WebhookProjectCardMovedPropProjectCardType as WebhookProjectCardMovedPropProjectCardType, ) + from .group_0805 import ( + WebhookProjectCardMovedPropProjectCardTypeForResponse as WebhookProjectCardMovedPropProjectCardTypeForResponse, + ) from .group_0805 import WebhookProjectCardMovedType as WebhookProjectCardMovedType + from .group_0805 import ( + WebhookProjectCardMovedTypeForResponse as WebhookProjectCardMovedTypeForResponse, + ) from .group_0806 import ( WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType as WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType, ) + from .group_0806 import ( + WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse, + ) from .group_0806 import ( WebhookProjectCardMovedPropProjectCardAllof0Type as WebhookProjectCardMovedPropProjectCardAllof0Type, ) + from .group_0806 import ( + WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse as WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse, + ) from .group_0807 import ( WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType as WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType, ) + from .group_0807 import ( + WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse, + ) from .group_0807 import ( WebhookProjectCardMovedPropProjectCardAllof1Type as WebhookProjectCardMovedPropProjectCardAllof1Type, ) + from .group_0807 import ( + WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse as WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse, + ) from .group_0808 import WebhookProjectClosedType as WebhookProjectClosedType + from .group_0808 import ( + WebhookProjectClosedTypeForResponse as WebhookProjectClosedTypeForResponse, + ) from .group_0809 import ( WebhookProjectColumnCreatedType as WebhookProjectColumnCreatedType, ) + from .group_0809 import ( + WebhookProjectColumnCreatedTypeForResponse as WebhookProjectColumnCreatedTypeForResponse, + ) from .group_0810 import ( WebhookProjectColumnDeletedType as WebhookProjectColumnDeletedType, ) + from .group_0810 import ( + WebhookProjectColumnDeletedTypeForResponse as WebhookProjectColumnDeletedTypeForResponse, + ) from .group_0811 import ( WebhookProjectColumnEditedPropChangesPropNameType as WebhookProjectColumnEditedPropChangesPropNameType, ) + from .group_0811 import ( + WebhookProjectColumnEditedPropChangesPropNameTypeForResponse as WebhookProjectColumnEditedPropChangesPropNameTypeForResponse, + ) from .group_0811 import ( WebhookProjectColumnEditedPropChangesType as WebhookProjectColumnEditedPropChangesType, ) + from .group_0811 import ( + WebhookProjectColumnEditedPropChangesTypeForResponse as WebhookProjectColumnEditedPropChangesTypeForResponse, + ) from .group_0811 import ( WebhookProjectColumnEditedType as WebhookProjectColumnEditedType, ) + from .group_0811 import ( + WebhookProjectColumnEditedTypeForResponse as WebhookProjectColumnEditedTypeForResponse, + ) from .group_0812 import ( WebhookProjectColumnMovedType as WebhookProjectColumnMovedType, ) + from .group_0812 import ( + WebhookProjectColumnMovedTypeForResponse as WebhookProjectColumnMovedTypeForResponse, + ) from .group_0813 import WebhookProjectCreatedType as WebhookProjectCreatedType + from .group_0813 import ( + WebhookProjectCreatedTypeForResponse as WebhookProjectCreatedTypeForResponse, + ) from .group_0814 import WebhookProjectDeletedType as WebhookProjectDeletedType + from .group_0814 import ( + WebhookProjectDeletedTypeForResponse as WebhookProjectDeletedTypeForResponse, + ) from .group_0815 import ( WebhookProjectEditedPropChangesPropBodyType as WebhookProjectEditedPropChangesPropBodyType, ) + from .group_0815 import ( + WebhookProjectEditedPropChangesPropBodyTypeForResponse as WebhookProjectEditedPropChangesPropBodyTypeForResponse, + ) from .group_0815 import ( WebhookProjectEditedPropChangesPropNameType as WebhookProjectEditedPropChangesPropNameType, ) + from .group_0815 import ( + WebhookProjectEditedPropChangesPropNameTypeForResponse as WebhookProjectEditedPropChangesPropNameTypeForResponse, + ) from .group_0815 import ( WebhookProjectEditedPropChangesType as WebhookProjectEditedPropChangesType, ) + from .group_0815 import ( + WebhookProjectEditedPropChangesTypeForResponse as WebhookProjectEditedPropChangesTypeForResponse, + ) from .group_0815 import WebhookProjectEditedType as WebhookProjectEditedType + from .group_0815 import ( + WebhookProjectEditedTypeForResponse as WebhookProjectEditedTypeForResponse, + ) from .group_0816 import WebhookProjectReopenedType as WebhookProjectReopenedType + from .group_0816 import ( + WebhookProjectReopenedTypeForResponse as WebhookProjectReopenedTypeForResponse, + ) from .group_0817 import ( WebhookProjectsV2ProjectClosedType as WebhookProjectsV2ProjectClosedType, ) + from .group_0817 import ( + WebhookProjectsV2ProjectClosedTypeForResponse as WebhookProjectsV2ProjectClosedTypeForResponse, + ) from .group_0818 import ( WebhookProjectsV2ProjectCreatedType as WebhookProjectsV2ProjectCreatedType, ) + from .group_0818 import ( + WebhookProjectsV2ProjectCreatedTypeForResponse as WebhookProjectsV2ProjectCreatedTypeForResponse, + ) from .group_0819 import ( WebhookProjectsV2ProjectDeletedType as WebhookProjectsV2ProjectDeletedType, ) + from .group_0819 import ( + WebhookProjectsV2ProjectDeletedTypeForResponse as WebhookProjectsV2ProjectDeletedTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType as WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedPropChangesPropPublicType as WebhookProjectsV2ProjectEditedPropChangesPropPublicType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType as WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedPropChangesPropTitleType as WebhookProjectsV2ProjectEditedPropChangesPropTitleType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedPropChangesType as WebhookProjectsV2ProjectEditedPropChangesType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedPropChangesTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesTypeForResponse, + ) from .group_0820 import ( WebhookProjectsV2ProjectEditedType as WebhookProjectsV2ProjectEditedType, ) + from .group_0820 import ( + WebhookProjectsV2ProjectEditedTypeForResponse as WebhookProjectsV2ProjectEditedTypeForResponse, + ) from .group_0821 import ( WebhookProjectsV2ItemArchivedType as WebhookProjectsV2ItemArchivedType, ) + from .group_0821 import ( + WebhookProjectsV2ItemArchivedTypeForResponse as WebhookProjectsV2ItemArchivedTypeForResponse, + ) from .group_0822 import ( WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType as WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType, ) + from .group_0822 import ( + WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse as WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse, + ) from .group_0822 import ( WebhookProjectsV2ItemConvertedPropChangesType as WebhookProjectsV2ItemConvertedPropChangesType, ) + from .group_0822 import ( + WebhookProjectsV2ItemConvertedPropChangesTypeForResponse as WebhookProjectsV2ItemConvertedPropChangesTypeForResponse, + ) from .group_0822 import ( WebhookProjectsV2ItemConvertedType as WebhookProjectsV2ItemConvertedType, ) + from .group_0822 import ( + WebhookProjectsV2ItemConvertedTypeForResponse as WebhookProjectsV2ItemConvertedTypeForResponse, + ) from .group_0823 import ( WebhookProjectsV2ItemCreatedType as WebhookProjectsV2ItemCreatedType, ) + from .group_0823 import ( + WebhookProjectsV2ItemCreatedTypeForResponse as WebhookProjectsV2ItemCreatedTypeForResponse, + ) from .group_0824 import ( WebhookProjectsV2ItemDeletedType as WebhookProjectsV2ItemDeletedType, ) + from .group_0824 import ( + WebhookProjectsV2ItemDeletedTypeForResponse as WebhookProjectsV2ItemDeletedTypeForResponse, + ) from .group_0825 import ( ProjectsV2IterationSettingType as ProjectsV2IterationSettingType, ) + from .group_0825 import ( + ProjectsV2IterationSettingTypeForResponse as ProjectsV2IterationSettingTypeForResponse, + ) from .group_0825 import ( ProjectsV2SingleSelectOptionType as ProjectsV2SingleSelectOptionType, ) + from .group_0825 import ( + ProjectsV2SingleSelectOptionTypeForResponse as ProjectsV2SingleSelectOptionTypeForResponse, + ) from .group_0825 import ( WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType as WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType, ) + from .group_0825 import ( + WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse, + ) from .group_0825 import ( WebhookProjectsV2ItemEditedPropChangesOneof0Type as WebhookProjectsV2ItemEditedPropChangesOneof0Type, ) + from .group_0825 import ( + WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse, + ) from .group_0825 import ( WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType as WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType, ) + from .group_0825 import ( + WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse, + ) from .group_0825 import ( WebhookProjectsV2ItemEditedPropChangesOneof1Type as WebhookProjectsV2ItemEditedPropChangesOneof1Type, ) + from .group_0825 import ( + WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse, + ) from .group_0825 import ( WebhookProjectsV2ItemEditedType as WebhookProjectsV2ItemEditedType, ) + from .group_0825 import ( + WebhookProjectsV2ItemEditedTypeForResponse as WebhookProjectsV2ItemEditedTypeForResponse, + ) from .group_0826 import ( WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType as WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType, ) + from .group_0826 import ( + WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse as WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse, + ) from .group_0826 import ( WebhookProjectsV2ItemReorderedPropChangesType as WebhookProjectsV2ItemReorderedPropChangesType, ) + from .group_0826 import ( + WebhookProjectsV2ItemReorderedPropChangesTypeForResponse as WebhookProjectsV2ItemReorderedPropChangesTypeForResponse, + ) from .group_0826 import ( WebhookProjectsV2ItemReorderedType as WebhookProjectsV2ItemReorderedType, ) + from .group_0826 import ( + WebhookProjectsV2ItemReorderedTypeForResponse as WebhookProjectsV2ItemReorderedTypeForResponse, + ) from .group_0827 import ( WebhookProjectsV2ItemRestoredType as WebhookProjectsV2ItemRestoredType, ) + from .group_0827 import ( + WebhookProjectsV2ItemRestoredTypeForResponse as WebhookProjectsV2ItemRestoredTypeForResponse, + ) from .group_0828 import ( WebhookProjectsV2ProjectReopenedType as WebhookProjectsV2ProjectReopenedType, ) + from .group_0828 import ( + WebhookProjectsV2ProjectReopenedTypeForResponse as WebhookProjectsV2ProjectReopenedTypeForResponse, + ) from .group_0829 import ( WebhookProjectsV2StatusUpdateCreatedType as WebhookProjectsV2StatusUpdateCreatedType, ) + from .group_0829 import ( + WebhookProjectsV2StatusUpdateCreatedTypeForResponse as WebhookProjectsV2StatusUpdateCreatedTypeForResponse, + ) from .group_0830 import ( WebhookProjectsV2StatusUpdateDeletedType as WebhookProjectsV2StatusUpdateDeletedType, ) + from .group_0830 import ( + WebhookProjectsV2StatusUpdateDeletedTypeForResponse as WebhookProjectsV2StatusUpdateDeletedTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType as WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType as WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType as WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType as WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedPropChangesType as WebhookProjectsV2StatusUpdateEditedPropChangesType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse, + ) from .group_0831 import ( WebhookProjectsV2StatusUpdateEditedType as WebhookProjectsV2StatusUpdateEditedType, ) + from .group_0831 import ( + WebhookProjectsV2StatusUpdateEditedTypeForResponse as WebhookProjectsV2StatusUpdateEditedTypeForResponse, + ) from .group_0832 import WebhookPublicType as WebhookPublicType + from .group_0832 import WebhookPublicTypeForResponse as WebhookPublicTypeForResponse from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType as WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropAssigneeType as WebhookPullRequestAssignedPropPullRequestPropAssigneeType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropAutoMergeType as WebhookPullRequestAssignedPropPullRequestPropAutoMergeType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropUserType as WebhookPullRequestAssignedPropPullRequestPropBasePropUserType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropBaseType as WebhookPullRequestAssignedPropPullRequestPropBaseType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType as WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropHeadType as WebhookPullRequestAssignedPropPullRequestPropHeadType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType as WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType as WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType as WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropLinksType as WebhookPullRequestAssignedPropPullRequestPropLinksType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropMergedByType as WebhookPullRequestAssignedPropPullRequestPropMergedByType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType, ) from .group_0833 import ( - WebhookPullRequestAssignedPropPullRequestPropMilestoneType as WebhookPullRequestAssignedPropPullRequestPropMilestoneType, + WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropMilestoneType as WebhookPullRequestAssignedPropPullRequestPropMilestoneType, + ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse, ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestPropUserType as WebhookPullRequestAssignedPropPullRequestPropUserType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedPropPullRequestType as WebhookPullRequestAssignedPropPullRequestType, ) + from .group_0833 import ( + WebhookPullRequestAssignedPropPullRequestTypeForResponse as WebhookPullRequestAssignedPropPullRequestTypeForResponse, + ) from .group_0833 import ( WebhookPullRequestAssignedType as WebhookPullRequestAssignedType, ) + from .group_0833 import ( + WebhookPullRequestAssignedTypeForResponse as WebhookPullRequestAssignedTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestType as WebhookPullRequestAutoMergeDisabledPropPullRequestType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse, + ) from .group_0834 import ( WebhookPullRequestAutoMergeDisabledType as WebhookPullRequestAutoMergeDisabledType, ) + from .group_0834 import ( + WebhookPullRequestAutoMergeDisabledTypeForResponse as WebhookPullRequestAutoMergeDisabledTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestType as WebhookPullRequestAutoMergeEnabledPropPullRequestType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse, + ) from .group_0835 import ( WebhookPullRequestAutoMergeEnabledType as WebhookPullRequestAutoMergeEnabledType, ) + from .group_0835 import ( + WebhookPullRequestAutoMergeEnabledTypeForResponse as WebhookPullRequestAutoMergeEnabledTypeForResponse, + ) from .group_0836 import WebhookPullRequestClosedType as WebhookPullRequestClosedType + from .group_0836 import ( + WebhookPullRequestClosedTypeForResponse as WebhookPullRequestClosedTypeForResponse, + ) from .group_0837 import ( WebhookPullRequestConvertedToDraftType as WebhookPullRequestConvertedToDraftType, ) + from .group_0837 import ( + WebhookPullRequestConvertedToDraftTypeForResponse as WebhookPullRequestConvertedToDraftTypeForResponse, + ) from .group_0838 import ( WebhookPullRequestDemilestonedType as WebhookPullRequestDemilestonedType, ) + from .group_0838 import ( + WebhookPullRequestDemilestonedTypeForResponse as WebhookPullRequestDemilestonedTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType as WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropAssigneeType as WebhookPullRequestDequeuedPropPullRequestPropAssigneeType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType as WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType as WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropBaseType as WebhookPullRequestDequeuedPropPullRequestPropBaseType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadType as WebhookPullRequestDequeuedPropPullRequestPropHeadType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType as WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksType as WebhookPullRequestDequeuedPropPullRequestPropLinksType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropMergedByType as WebhookPullRequestDequeuedPropPullRequestPropMergedByType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropMilestoneType as WebhookPullRequestDequeuedPropPullRequestPropMilestoneType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestPropUserType as WebhookPullRequestDequeuedPropPullRequestPropUserType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedPropPullRequestType as WebhookPullRequestDequeuedPropPullRequestType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedPropPullRequestTypeForResponse as WebhookPullRequestDequeuedPropPullRequestTypeForResponse, + ) from .group_0839 import ( WebhookPullRequestDequeuedType as WebhookPullRequestDequeuedType, ) + from .group_0839 import ( + WebhookPullRequestDequeuedTypeForResponse as WebhookPullRequestDequeuedTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesPropBasePropRefType as WebhookPullRequestEditedPropChangesPropBasePropRefType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse as WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesPropBasePropShaType as WebhookPullRequestEditedPropChangesPropBasePropShaType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse as WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesPropBaseType as WebhookPullRequestEditedPropChangesPropBaseType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesPropBaseTypeForResponse as WebhookPullRequestEditedPropChangesPropBaseTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesPropBodyType as WebhookPullRequestEditedPropChangesPropBodyType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesPropBodyTypeForResponse as WebhookPullRequestEditedPropChangesPropBodyTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesPropTitleType as WebhookPullRequestEditedPropChangesPropTitleType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesPropTitleTypeForResponse as WebhookPullRequestEditedPropChangesPropTitleTypeForResponse, + ) from .group_0840 import ( WebhookPullRequestEditedPropChangesType as WebhookPullRequestEditedPropChangesType, ) + from .group_0840 import ( + WebhookPullRequestEditedPropChangesTypeForResponse as WebhookPullRequestEditedPropChangesTypeForResponse, + ) from .group_0840 import WebhookPullRequestEditedType as WebhookPullRequestEditedType + from .group_0840 import ( + WebhookPullRequestEditedTypeForResponse as WebhookPullRequestEditedTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType as WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType as WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropBaseType as WebhookPullRequestEnqueuedPropPullRequestPropBaseType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadType as WebhookPullRequestEnqueuedPropPullRequestPropHeadType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType as WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksType as WebhookPullRequestEnqueuedPropPullRequestPropLinksType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropMergedByType as WebhookPullRequestEnqueuedPropPullRequestPropMergedByType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType as WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestPropUserType as WebhookPullRequestEnqueuedPropPullRequestPropUserType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedPropPullRequestType as WebhookPullRequestEnqueuedPropPullRequestType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedPropPullRequestTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestTypeForResponse, + ) from .group_0841 import ( WebhookPullRequestEnqueuedType as WebhookPullRequestEnqueuedType, ) + from .group_0841 import ( + WebhookPullRequestEnqueuedTypeForResponse as WebhookPullRequestEnqueuedTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType as WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropAssigneeType as WebhookPullRequestLabeledPropPullRequestPropAssigneeType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropAutoMergeType as WebhookPullRequestLabeledPropPullRequestPropAutoMergeType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropUserType as WebhookPullRequestLabeledPropPullRequestPropBasePropUserType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropBaseType as WebhookPullRequestLabeledPropPullRequestPropBaseType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType as WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropHeadType as WebhookPullRequestLabeledPropPullRequestPropHeadType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType as WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType as WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType as WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropLinksType as WebhookPullRequestLabeledPropPullRequestPropLinksType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropMergedByType as WebhookPullRequestLabeledPropPullRequestPropMergedByType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropMilestoneType as WebhookPullRequestLabeledPropPullRequestPropMilestoneType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestPropUserType as WebhookPullRequestLabeledPropPullRequestPropUserType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledPropPullRequestType as WebhookPullRequestLabeledPropPullRequestType, ) + from .group_0842 import ( + WebhookPullRequestLabeledPropPullRequestTypeForResponse as WebhookPullRequestLabeledPropPullRequestTypeForResponse, + ) from .group_0842 import ( WebhookPullRequestLabeledType as WebhookPullRequestLabeledType, ) + from .group_0842 import ( + WebhookPullRequestLabeledTypeForResponse as WebhookPullRequestLabeledTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType as WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropAssigneeType as WebhookPullRequestLockedPropPullRequestPropAssigneeType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropAutoMergeType as WebhookPullRequestLockedPropPullRequestPropAutoMergeType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBasePropUserType as WebhookPullRequestLockedPropPullRequestPropBasePropUserType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropBaseType as WebhookPullRequestLockedPropPullRequestPropBaseType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropUserType as WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropHeadType as WebhookPullRequestLockedPropPullRequestPropHeadType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLabelsItemsType as WebhookPullRequestLockedPropPullRequestPropLabelsItemsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType as WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType as WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropLinksType as WebhookPullRequestLockedPropPullRequestPropLinksType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropMergedByType as WebhookPullRequestLockedPropPullRequestPropMergedByType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropMilestoneType as WebhookPullRequestLockedPropPullRequestPropMilestoneType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestPropUserType as WebhookPullRequestLockedPropPullRequestPropUserType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse, + ) from .group_0843 import ( WebhookPullRequestLockedPropPullRequestType as WebhookPullRequestLockedPropPullRequestType, ) + from .group_0843 import ( + WebhookPullRequestLockedPropPullRequestTypeForResponse as WebhookPullRequestLockedPropPullRequestTypeForResponse, + ) from .group_0843 import WebhookPullRequestLockedType as WebhookPullRequestLockedType + from .group_0843 import ( + WebhookPullRequestLockedTypeForResponse as WebhookPullRequestLockedTypeForResponse, + ) from .group_0844 import ( WebhookPullRequestMilestonedType as WebhookPullRequestMilestonedType, ) + from .group_0844 import ( + WebhookPullRequestMilestonedTypeForResponse as WebhookPullRequestMilestonedTypeForResponse, + ) from .group_0845 import WebhookPullRequestOpenedType as WebhookPullRequestOpenedType + from .group_0845 import ( + WebhookPullRequestOpenedTypeForResponse as WebhookPullRequestOpenedTypeForResponse, + ) from .group_0846 import ( WebhookPullRequestReadyForReviewType as WebhookPullRequestReadyForReviewType, ) + from .group_0846 import ( + WebhookPullRequestReadyForReviewTypeForResponse as WebhookPullRequestReadyForReviewTypeForResponse, + ) from .group_0847 import ( WebhookPullRequestReopenedType as WebhookPullRequestReopenedType, ) + from .group_0847 import ( + WebhookPullRequestReopenedTypeForResponse as WebhookPullRequestReopenedTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType as WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropUserType as WebhookPullRequestReviewCommentCreatedPropCommentPropUserType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropCommentType as WebhookPullRequestReviewCommentCreatedPropCommentType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType, ) from .group_0848 import ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse, + ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestType as WebhookPullRequestReviewCommentCreatedPropPullRequestType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse, + ) from .group_0848 import ( WebhookPullRequestReviewCommentCreatedType as WebhookPullRequestReviewCommentCreatedType, ) + from .group_0848 import ( + WebhookPullRequestReviewCommentCreatedTypeForResponse as WebhookPullRequestReviewCommentCreatedTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestType as WebhookPullRequestReviewCommentDeletedPropPullRequestType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse, + ) from .group_0849 import ( WebhookPullRequestReviewCommentDeletedType as WebhookPullRequestReviewCommentDeletedType, ) + from .group_0849 import ( + WebhookPullRequestReviewCommentDeletedTypeForResponse as WebhookPullRequestReviewCommentDeletedTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedPropPullRequestType as WebhookPullRequestReviewCommentEditedPropPullRequestType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse, + ) from .group_0850 import ( WebhookPullRequestReviewCommentEditedType as WebhookPullRequestReviewCommentEditedType, ) + from .group_0850 import ( + WebhookPullRequestReviewCommentEditedTypeForResponse as WebhookPullRequestReviewCommentEditedTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBaseType as WebhookPullRequestReviewDismissedPropPullRequestPropBaseType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType, ) from .group_0851 import ( - WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType, + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType, + ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse, ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType as WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestPropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropUserType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropPullRequestType as WebhookPullRequestReviewDismissedPropPullRequestType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType as WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType as WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksType as WebhookPullRequestReviewDismissedPropReviewPropLinksType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropReviewPropUserType as WebhookPullRequestReviewDismissedPropReviewPropUserType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedPropReviewType as WebhookPullRequestReviewDismissedPropReviewType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedPropReviewTypeForResponse as WebhookPullRequestReviewDismissedPropReviewTypeForResponse, + ) from .group_0851 import ( WebhookPullRequestReviewDismissedType as WebhookPullRequestReviewDismissedType, ) + from .group_0851 import ( + WebhookPullRequestReviewDismissedTypeForResponse as WebhookPullRequestReviewDismissedTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropChangesPropBodyType as WebhookPullRequestReviewEditedPropChangesPropBodyType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse as WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropChangesType as WebhookPullRequestReviewEditedPropChangesType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropChangesTypeForResponse as WebhookPullRequestReviewEditedPropChangesTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType as WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropBaseType as WebhookPullRequestReviewEditedPropPullRequestPropBaseType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadType as WebhookPullRequestReviewEditedPropPullRequestPropHeadType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksType as WebhookPullRequestReviewEditedPropPullRequestPropLinksType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType as WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestPropUserType as WebhookPullRequestReviewEditedPropPullRequestPropUserType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedPropPullRequestType as WebhookPullRequestReviewEditedPropPullRequestType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedPropPullRequestTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestTypeForResponse, + ) from .group_0852 import ( WebhookPullRequestReviewEditedType as WebhookPullRequestReviewEditedType, ) + from .group_0852 import ( + WebhookPullRequestReviewEditedTypeForResponse as WebhookPullRequestReviewEditedTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType as WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse, + ) from .group_0853 import ( WebhookPullRequestReviewRequestRemovedOneof0Type as WebhookPullRequestReviewRequestRemovedOneof0Type, ) + from .group_0853 import ( + WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType, ) from .group_0854 import ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType, + ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse, ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse, + ) from .group_0854 import ( WebhookPullRequestReviewRequestRemovedOneof1Type as WebhookPullRequestReviewRequestRemovedOneof1Type, ) + from .group_0854 import ( + WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestType as WebhookPullRequestReviewRequestedOneof0PropPullRequestType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType as WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse, + ) from .group_0855 import ( WebhookPullRequestReviewRequestedOneof0Type as WebhookPullRequestReviewRequestedOneof0Type, ) + from .group_0855 import ( + WebhookPullRequestReviewRequestedOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof0TypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestType as WebhookPullRequestReviewRequestedOneof1PropPullRequestType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse, + ) from .group_0856 import ( WebhookPullRequestReviewRequestedOneof1Type as WebhookPullRequestReviewRequestedOneof1Type, ) + from .group_0856 import ( + WebhookPullRequestReviewRequestedOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof1TypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType as WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropUserType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedPropPullRequestType as WebhookPullRequestReviewSubmittedPropPullRequestType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse, + ) from .group_0857 import ( WebhookPullRequestReviewSubmittedType as WebhookPullRequestReviewSubmittedType, ) + from .group_0857 import ( + WebhookPullRequestReviewSubmittedTypeForResponse as WebhookPullRequestReviewSubmittedTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType, ) from .group_0858 import ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse, + ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType, + ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse, ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestType as WebhookPullRequestReviewThreadResolvedPropPullRequestType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedPropThreadType as WebhookPullRequestReviewThreadResolvedPropThreadType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse, + ) from .group_0858 import ( WebhookPullRequestReviewThreadResolvedType as WebhookPullRequestReviewThreadResolvedType, ) + from .group_0858 import ( + WebhookPullRequestReviewThreadResolvedTypeForResponse as WebhookPullRequestReviewThreadResolvedTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadType as WebhookPullRequestReviewThreadUnresolvedPropThreadType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse, + ) from .group_0859 import ( WebhookPullRequestReviewThreadUnresolvedType as WebhookPullRequestReviewThreadUnresolvedType, ) + from .group_0859 import ( + WebhookPullRequestReviewThreadUnresolvedTypeForResponse as WebhookPullRequestReviewThreadUnresolvedTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType as WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropAssigneeType as WebhookPullRequestSynchronizePropPullRequestPropAssigneeType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType as WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType as WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropBaseType as WebhookPullRequestSynchronizePropPullRequestPropBaseType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadType as WebhookPullRequestSynchronizePropPullRequestPropHeadType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType as WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksType as WebhookPullRequestSynchronizePropPullRequestPropLinksType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropMergedByType as WebhookPullRequestSynchronizePropPullRequestPropMergedByType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType as WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropMilestoneType as WebhookPullRequestSynchronizePropPullRequestPropMilestoneType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestPropUserType as WebhookPullRequestSynchronizePropPullRequestPropUserType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizePropPullRequestType as WebhookPullRequestSynchronizePropPullRequestType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizePropPullRequestTypeForResponse as WebhookPullRequestSynchronizePropPullRequestTypeForResponse, + ) from .group_0860 import ( WebhookPullRequestSynchronizeType as WebhookPullRequestSynchronizeType, ) + from .group_0860 import ( + WebhookPullRequestSynchronizeTypeForResponse as WebhookPullRequestSynchronizeTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropAssigneeType as WebhookPullRequestUnassignedPropPullRequestPropAssigneeType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType as WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType as WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropBaseType as WebhookPullRequestUnassignedPropPullRequestPropBaseType, ) from .group_0861 import ( - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse, + ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, + ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadType as WebhookPullRequestUnassignedPropPullRequestPropHeadType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType as WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksType as WebhookPullRequestUnassignedPropPullRequestPropLinksType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropMergedByType as WebhookPullRequestUnassignedPropPullRequestPropMergedByType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropMilestoneType as WebhookPullRequestUnassignedPropPullRequestPropMilestoneType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestPropUserType as WebhookPullRequestUnassignedPropPullRequestPropUserType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedPropPullRequestType as WebhookPullRequestUnassignedPropPullRequestType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedPropPullRequestTypeForResponse as WebhookPullRequestUnassignedPropPullRequestTypeForResponse, + ) from .group_0861 import ( WebhookPullRequestUnassignedType as WebhookPullRequestUnassignedType, ) + from .group_0861 import ( + WebhookPullRequestUnassignedTypeForResponse as WebhookPullRequestUnassignedTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType as WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropBaseType as WebhookPullRequestUnlabeledPropPullRequestPropBaseType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadType as WebhookPullRequestUnlabeledPropPullRequestPropHeadType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType as WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksType as WebhookPullRequestUnlabeledPropPullRequestPropLinksType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropMergedByType as WebhookPullRequestUnlabeledPropPullRequestPropMergedByType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType as WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestPropUserType as WebhookPullRequestUnlabeledPropPullRequestPropUserType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledPropPullRequestType as WebhookPullRequestUnlabeledPropPullRequestType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledPropPullRequestTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestTypeForResponse, + ) from .group_0862 import ( WebhookPullRequestUnlabeledType as WebhookPullRequestUnlabeledType, ) + from .group_0862 import ( + WebhookPullRequestUnlabeledTypeForResponse as WebhookPullRequestUnlabeledTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropAssigneeType as WebhookPullRequestUnlockedPropPullRequestPropAssigneeType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType as WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType as WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropBaseType as WebhookPullRequestUnlockedPropPullRequestPropBaseType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadType as WebhookPullRequestUnlockedPropPullRequestPropHeadType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType as WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksType as WebhookPullRequestUnlockedPropPullRequestPropLinksType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropMergedByType as WebhookPullRequestUnlockedPropPullRequestPropMergedByType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropMilestoneType as WebhookPullRequestUnlockedPropPullRequestPropMilestoneType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestPropUserType as WebhookPullRequestUnlockedPropPullRequestPropUserType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedPropPullRequestType as WebhookPullRequestUnlockedPropPullRequestType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedPropPullRequestTypeForResponse as WebhookPullRequestUnlockedPropPullRequestTypeForResponse, + ) from .group_0863 import ( WebhookPullRequestUnlockedType as WebhookPullRequestUnlockedType, ) + from .group_0863 import ( + WebhookPullRequestUnlockedTypeForResponse as WebhookPullRequestUnlockedTypeForResponse, + ) from .group_0864 import ( WebhookPushPropCommitsItemsPropAuthorType as WebhookPushPropCommitsItemsPropAuthorType, ) + from .group_0864 import ( + WebhookPushPropCommitsItemsPropAuthorTypeForResponse as WebhookPushPropCommitsItemsPropAuthorTypeForResponse, + ) from .group_0864 import ( WebhookPushPropCommitsItemsPropCommitterType as WebhookPushPropCommitsItemsPropCommitterType, ) + from .group_0864 import ( + WebhookPushPropCommitsItemsPropCommitterTypeForResponse as WebhookPushPropCommitsItemsPropCommitterTypeForResponse, + ) from .group_0864 import ( WebhookPushPropCommitsItemsType as WebhookPushPropCommitsItemsType, ) + from .group_0864 import ( + WebhookPushPropCommitsItemsTypeForResponse as WebhookPushPropCommitsItemsTypeForResponse, + ) from .group_0864 import ( WebhookPushPropHeadCommitPropAuthorType as WebhookPushPropHeadCommitPropAuthorType, ) + from .group_0864 import ( + WebhookPushPropHeadCommitPropAuthorTypeForResponse as WebhookPushPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0864 import ( WebhookPushPropHeadCommitPropCommitterType as WebhookPushPropHeadCommitPropCommitterType, ) + from .group_0864 import ( + WebhookPushPropHeadCommitPropCommitterTypeForResponse as WebhookPushPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0864 import ( WebhookPushPropHeadCommitType as WebhookPushPropHeadCommitType, ) + from .group_0864 import ( + WebhookPushPropHeadCommitTypeForResponse as WebhookPushPropHeadCommitTypeForResponse, + ) from .group_0864 import WebhookPushPropPusherType as WebhookPushPropPusherType + from .group_0864 import ( + WebhookPushPropPusherTypeForResponse as WebhookPushPropPusherTypeForResponse, + ) from .group_0864 import ( WebhookPushPropRepositoryPropCustomPropertiesType as WebhookPushPropRepositoryPropCustomPropertiesType, ) + from .group_0864 import ( + WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse as WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0864 import ( WebhookPushPropRepositoryPropLicenseType as WebhookPushPropRepositoryPropLicenseType, ) + from .group_0864 import ( + WebhookPushPropRepositoryPropLicenseTypeForResponse as WebhookPushPropRepositoryPropLicenseTypeForResponse, + ) from .group_0864 import ( WebhookPushPropRepositoryPropOwnerType as WebhookPushPropRepositoryPropOwnerType, ) + from .group_0864 import ( + WebhookPushPropRepositoryPropOwnerTypeForResponse as WebhookPushPropRepositoryPropOwnerTypeForResponse, + ) from .group_0864 import ( WebhookPushPropRepositoryPropPermissionsType as WebhookPushPropRepositoryPropPermissionsType, ) + from .group_0864 import ( + WebhookPushPropRepositoryPropPermissionsTypeForResponse as WebhookPushPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0864 import ( WebhookPushPropRepositoryType as WebhookPushPropRepositoryType, ) + from .group_0864 import ( + WebhookPushPropRepositoryTypeForResponse as WebhookPushPropRepositoryTypeForResponse, + ) from .group_0864 import WebhookPushType as WebhookPushType + from .group_0864 import WebhookPushTypeForResponse as WebhookPushTypeForResponse from .group_0865 import ( WebhookRegistryPackagePublishedType as WebhookRegistryPackagePublishedType, ) + from .group_0865 import ( + WebhookRegistryPackagePublishedTypeForResponse as WebhookRegistryPackagePublishedTypeForResponse, + ) from .group_0866 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType as WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType, ) + from .group_0866 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse, + ) from .group_0866 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType as WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType, ) + from .group_0866 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse, + ) from .group_0866 import ( WebhookRegistryPackagePublishedPropRegistryPackageType as WebhookRegistryPackagePublishedPropRegistryPackageType, ) + from .group_0866 import ( + WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType, ) from .group_0867 import ( - WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse, + ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type, + ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse, ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType, ) + from .group_0867 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, + ) from .group_0868 import ( WebhookRegistryPackageUpdatedType as WebhookRegistryPackageUpdatedType, ) + from .group_0868 import ( + WebhookRegistryPackageUpdatedTypeForResponse as WebhookRegistryPackageUpdatedTypeForResponse, + ) from .group_0869 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType as WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType, ) + from .group_0869 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse, + ) from .group_0869 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType as WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType, ) + from .group_0869 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse, + ) from .group_0869 import ( WebhookRegistryPackageUpdatedPropRegistryPackageType as WebhookRegistryPackageUpdatedPropRegistryPackageType, ) + from .group_0869 import ( + WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType, ) + from .group_0870 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse, + ) from .group_0871 import WebhookReleaseCreatedType as WebhookReleaseCreatedType + from .group_0871 import ( + WebhookReleaseCreatedTypeForResponse as WebhookReleaseCreatedTypeForResponse, + ) from .group_0872 import WebhookReleaseDeletedType as WebhookReleaseDeletedType + from .group_0872 import ( + WebhookReleaseDeletedTypeForResponse as WebhookReleaseDeletedTypeForResponse, + ) from .group_0873 import ( WebhookReleaseEditedPropChangesPropBodyType as WebhookReleaseEditedPropChangesPropBodyType, ) + from .group_0873 import ( + WebhookReleaseEditedPropChangesPropBodyTypeForResponse as WebhookReleaseEditedPropChangesPropBodyTypeForResponse, + ) from .group_0873 import ( WebhookReleaseEditedPropChangesPropMakeLatestType as WebhookReleaseEditedPropChangesPropMakeLatestType, ) + from .group_0873 import ( + WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse as WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse, + ) from .group_0873 import ( WebhookReleaseEditedPropChangesPropNameType as WebhookReleaseEditedPropChangesPropNameType, ) + from .group_0873 import ( + WebhookReleaseEditedPropChangesPropNameTypeForResponse as WebhookReleaseEditedPropChangesPropNameTypeForResponse, + ) from .group_0873 import ( WebhookReleaseEditedPropChangesPropTagNameType as WebhookReleaseEditedPropChangesPropTagNameType, ) + from .group_0873 import ( + WebhookReleaseEditedPropChangesPropTagNameTypeForResponse as WebhookReleaseEditedPropChangesPropTagNameTypeForResponse, + ) from .group_0873 import ( WebhookReleaseEditedPropChangesType as WebhookReleaseEditedPropChangesType, ) + from .group_0873 import ( + WebhookReleaseEditedPropChangesTypeForResponse as WebhookReleaseEditedPropChangesTypeForResponse, + ) from .group_0873 import WebhookReleaseEditedType as WebhookReleaseEditedType + from .group_0873 import ( + WebhookReleaseEditedTypeForResponse as WebhookReleaseEditedTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType as WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType, ) + from .group_0874 import ( + WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse as WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedPropReleasePropAssetsItemsType as WebhookReleasePrereleasedPropReleasePropAssetsItemsType, ) + from .group_0874 import ( + WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse as WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedPropReleasePropAuthorType as WebhookReleasePrereleasedPropReleasePropAuthorType, ) + from .group_0874 import ( + WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse as WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedPropReleasePropReactionsType as WebhookReleasePrereleasedPropReleasePropReactionsType, ) + from .group_0874 import ( + WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse as WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedPropReleaseType as WebhookReleasePrereleasedPropReleaseType, ) + from .group_0874 import ( + WebhookReleasePrereleasedPropReleaseTypeForResponse as WebhookReleasePrereleasedPropReleaseTypeForResponse, + ) from .group_0874 import ( WebhookReleasePrereleasedType as WebhookReleasePrereleasedType, ) + from .group_0874 import ( + WebhookReleasePrereleasedTypeForResponse as WebhookReleasePrereleasedTypeForResponse, + ) from .group_0875 import WebhookReleasePublishedType as WebhookReleasePublishedType + from .group_0875 import ( + WebhookReleasePublishedTypeForResponse as WebhookReleasePublishedTypeForResponse, + ) from .group_0876 import WebhookReleaseReleasedType as WebhookReleaseReleasedType + from .group_0876 import ( + WebhookReleaseReleasedTypeForResponse as WebhookReleaseReleasedTypeForResponse, + ) from .group_0877 import ( WebhookReleaseUnpublishedType as WebhookReleaseUnpublishedType, ) + from .group_0877 import ( + WebhookReleaseUnpublishedTypeForResponse as WebhookReleaseUnpublishedTypeForResponse, + ) from .group_0878 import ( WebhookRepositoryAdvisoryPublishedType as WebhookRepositoryAdvisoryPublishedType, ) + from .group_0878 import ( + WebhookRepositoryAdvisoryPublishedTypeForResponse as WebhookRepositoryAdvisoryPublishedTypeForResponse, + ) from .group_0879 import ( WebhookRepositoryAdvisoryReportedType as WebhookRepositoryAdvisoryReportedType, ) + from .group_0879 import ( + WebhookRepositoryAdvisoryReportedTypeForResponse as WebhookRepositoryAdvisoryReportedTypeForResponse, + ) from .group_0880 import ( WebhookRepositoryArchivedType as WebhookRepositoryArchivedType, ) + from .group_0880 import ( + WebhookRepositoryArchivedTypeForResponse as WebhookRepositoryArchivedTypeForResponse, + ) from .group_0881 import WebhookRepositoryCreatedType as WebhookRepositoryCreatedType + from .group_0881 import ( + WebhookRepositoryCreatedTypeForResponse as WebhookRepositoryCreatedTypeForResponse, + ) from .group_0882 import WebhookRepositoryDeletedType as WebhookRepositoryDeletedType + from .group_0882 import ( + WebhookRepositoryDeletedTypeForResponse as WebhookRepositoryDeletedTypeForResponse, + ) from .group_0883 import ( WebhookRepositoryDispatchSamplePropClientPayloadType as WebhookRepositoryDispatchSamplePropClientPayloadType, ) + from .group_0883 import ( + WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse as WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse, + ) from .group_0883 import ( WebhookRepositoryDispatchSampleType as WebhookRepositoryDispatchSampleType, ) + from .group_0883 import ( + WebhookRepositoryDispatchSampleTypeForResponse as WebhookRepositoryDispatchSampleTypeForResponse, + ) from .group_0884 import ( WebhookRepositoryEditedPropChangesPropDefaultBranchType as WebhookRepositoryEditedPropChangesPropDefaultBranchType, ) + from .group_0884 import ( + WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse as WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse, + ) from .group_0884 import ( WebhookRepositoryEditedPropChangesPropDescriptionType as WebhookRepositoryEditedPropChangesPropDescriptionType, ) + from .group_0884 import ( + WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse as WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0884 import ( WebhookRepositoryEditedPropChangesPropHomepageType as WebhookRepositoryEditedPropChangesPropHomepageType, ) + from .group_0884 import ( + WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse as WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse, + ) from .group_0884 import ( WebhookRepositoryEditedPropChangesPropTopicsType as WebhookRepositoryEditedPropChangesPropTopicsType, ) + from .group_0884 import ( + WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse as WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse, + ) from .group_0884 import ( WebhookRepositoryEditedPropChangesType as WebhookRepositoryEditedPropChangesType, ) + from .group_0884 import ( + WebhookRepositoryEditedPropChangesTypeForResponse as WebhookRepositoryEditedPropChangesTypeForResponse, + ) from .group_0884 import WebhookRepositoryEditedType as WebhookRepositoryEditedType + from .group_0884 import ( + WebhookRepositoryEditedTypeForResponse as WebhookRepositoryEditedTypeForResponse, + ) from .group_0885 import WebhookRepositoryImportType as WebhookRepositoryImportType + from .group_0885 import ( + WebhookRepositoryImportTypeForResponse as WebhookRepositoryImportTypeForResponse, + ) from .group_0886 import ( WebhookRepositoryPrivatizedType as WebhookRepositoryPrivatizedType, ) + from .group_0886 import ( + WebhookRepositoryPrivatizedTypeForResponse as WebhookRepositoryPrivatizedTypeForResponse, + ) from .group_0887 import ( WebhookRepositoryPublicizedType as WebhookRepositoryPublicizedType, ) + from .group_0887 import ( + WebhookRepositoryPublicizedTypeForResponse as WebhookRepositoryPublicizedTypeForResponse, + ) from .group_0888 import ( WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType as WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType, ) + from .group_0888 import ( + WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse as WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse, + ) from .group_0888 import ( WebhookRepositoryRenamedPropChangesPropRepositoryType as WebhookRepositoryRenamedPropChangesPropRepositoryType, ) + from .group_0888 import ( + WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse as WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse, + ) from .group_0888 import ( WebhookRepositoryRenamedPropChangesType as WebhookRepositoryRenamedPropChangesType, ) + from .group_0888 import ( + WebhookRepositoryRenamedPropChangesTypeForResponse as WebhookRepositoryRenamedPropChangesTypeForResponse, + ) from .group_0888 import WebhookRepositoryRenamedType as WebhookRepositoryRenamedType + from .group_0888 import ( + WebhookRepositoryRenamedTypeForResponse as WebhookRepositoryRenamedTypeForResponse, + ) from .group_0889 import ( WebhookRepositoryRulesetCreatedType as WebhookRepositoryRulesetCreatedType, ) + from .group_0889 import ( + WebhookRepositoryRulesetCreatedTypeForResponse as WebhookRepositoryRulesetCreatedTypeForResponse, + ) from .group_0890 import ( WebhookRepositoryRulesetDeletedType as WebhookRepositoryRulesetDeletedType, ) + from .group_0890 import ( + WebhookRepositoryRulesetDeletedTypeForResponse as WebhookRepositoryRulesetDeletedTypeForResponse, + ) from .group_0891 import ( WebhookRepositoryRulesetEditedType as WebhookRepositoryRulesetEditedType, ) + from .group_0891 import ( + WebhookRepositoryRulesetEditedTypeForResponse as WebhookRepositoryRulesetEditedTypeForResponse, + ) from .group_0892 import ( WebhookRepositoryRulesetEditedPropChangesPropEnforcementType as WebhookRepositoryRulesetEditedPropChangesPropEnforcementType, ) + from .group_0892 import ( + WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse, + ) from .group_0892 import ( WebhookRepositoryRulesetEditedPropChangesPropNameType as WebhookRepositoryRulesetEditedPropChangesPropNameType, ) + from .group_0892 import ( + WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse, + ) from .group_0892 import ( WebhookRepositoryRulesetEditedPropChangesType as WebhookRepositoryRulesetEditedPropChangesType, ) + from .group_0892 import ( + WebhookRepositoryRulesetEditedPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesTypeForResponse, + ) from .group_0893 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsType as WebhookRepositoryRulesetEditedPropChangesPropConditionsType, ) + from .group_0893 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse, + ) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType, ) + from .group_0894 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse, + ) from .group_0895 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesType as WebhookRepositoryRulesetEditedPropChangesPropRulesType, ) + from .group_0895 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse, + ) from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType, ) + from .group_0896 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse, + ) from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType, ) + from .group_0896 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse, + ) from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType, ) + from .group_0896 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse, + ) from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType, ) + from .group_0896 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse, + ) from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType, ) + from .group_0896 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType, ) + from .group_0897 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType, ) + from .group_0897 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromType, ) + from .group_0897 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredPropChangesPropOwnerType as WebhookRepositoryTransferredPropChangesPropOwnerType, ) + from .group_0897 import ( + WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredPropChangesType as WebhookRepositoryTransferredPropChangesType, ) + from .group_0897 import ( + WebhookRepositoryTransferredPropChangesTypeForResponse as WebhookRepositoryTransferredPropChangesTypeForResponse, + ) from .group_0897 import ( WebhookRepositoryTransferredType as WebhookRepositoryTransferredType, ) + from .group_0897 import ( + WebhookRepositoryTransferredTypeForResponse as WebhookRepositoryTransferredTypeForResponse, + ) from .group_0898 import ( WebhookRepositoryUnarchivedType as WebhookRepositoryUnarchivedType, ) + from .group_0898 import ( + WebhookRepositoryUnarchivedTypeForResponse as WebhookRepositoryUnarchivedTypeForResponse, + ) from .group_0899 import ( WebhookRepositoryVulnerabilityAlertCreateType as WebhookRepositoryVulnerabilityAlertCreateType, ) + from .group_0899 import ( + WebhookRepositoryVulnerabilityAlertCreateTypeForResponse as WebhookRepositoryVulnerabilityAlertCreateTypeForResponse, + ) from .group_0900 import ( WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType as WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType, ) + from .group_0900 import ( + WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse, + ) from .group_0900 import ( WebhookRepositoryVulnerabilityAlertDismissPropAlertType as WebhookRepositoryVulnerabilityAlertDismissPropAlertType, ) + from .group_0900 import ( + WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse, + ) from .group_0900 import ( WebhookRepositoryVulnerabilityAlertDismissType as WebhookRepositoryVulnerabilityAlertDismissType, ) + from .group_0900 import ( + WebhookRepositoryVulnerabilityAlertDismissTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissTypeForResponse, + ) from .group_0901 import ( WebhookRepositoryVulnerabilityAlertReopenType as WebhookRepositoryVulnerabilityAlertReopenType, ) + from .group_0901 import ( + WebhookRepositoryVulnerabilityAlertReopenTypeForResponse as WebhookRepositoryVulnerabilityAlertReopenTypeForResponse, + ) from .group_0902 import ( WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType as WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType, ) + from .group_0902 import ( + WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse as WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse, + ) from .group_0902 import ( WebhookRepositoryVulnerabilityAlertResolvePropAlertType as WebhookRepositoryVulnerabilityAlertResolvePropAlertType, ) + from .group_0902 import ( + WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse as WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse, + ) from .group_0902 import ( WebhookRepositoryVulnerabilityAlertResolveType as WebhookRepositoryVulnerabilityAlertResolveType, ) + from .group_0902 import ( + WebhookRepositoryVulnerabilityAlertResolveTypeForResponse as WebhookRepositoryVulnerabilityAlertResolveTypeForResponse, + ) from .group_0903 import ( WebhookSecretScanningAlertCreatedType as WebhookSecretScanningAlertCreatedType, ) + from .group_0903 import ( + WebhookSecretScanningAlertCreatedTypeForResponse as WebhookSecretScanningAlertCreatedTypeForResponse, + ) from .group_0904 import ( WebhookSecretScanningAlertLocationCreatedType as WebhookSecretScanningAlertLocationCreatedType, ) + from .group_0904 import ( + WebhookSecretScanningAlertLocationCreatedTypeForResponse as WebhookSecretScanningAlertLocationCreatedTypeForResponse, + ) from .group_0905 import ( WebhookSecretScanningAlertLocationCreatedFormEncodedType as WebhookSecretScanningAlertLocationCreatedFormEncodedType, ) + from .group_0905 import ( + WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse as WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse, + ) from .group_0906 import ( WebhookSecretScanningAlertPubliclyLeakedType as WebhookSecretScanningAlertPubliclyLeakedType, ) + from .group_0906 import ( + WebhookSecretScanningAlertPubliclyLeakedTypeForResponse as WebhookSecretScanningAlertPubliclyLeakedTypeForResponse, + ) from .group_0907 import ( WebhookSecretScanningAlertReopenedType as WebhookSecretScanningAlertReopenedType, ) + from .group_0907 import ( + WebhookSecretScanningAlertReopenedTypeForResponse as WebhookSecretScanningAlertReopenedTypeForResponse, + ) from .group_0908 import ( WebhookSecretScanningAlertResolvedType as WebhookSecretScanningAlertResolvedType, ) + from .group_0908 import ( + WebhookSecretScanningAlertResolvedTypeForResponse as WebhookSecretScanningAlertResolvedTypeForResponse, + ) from .group_0909 import ( WebhookSecretScanningAlertValidatedType as WebhookSecretScanningAlertValidatedType, ) + from .group_0909 import ( + WebhookSecretScanningAlertValidatedTypeForResponse as WebhookSecretScanningAlertValidatedTypeForResponse, + ) from .group_0910 import ( WebhookSecretScanningScanCompletedType as WebhookSecretScanningScanCompletedType, ) + from .group_0910 import ( + WebhookSecretScanningScanCompletedTypeForResponse as WebhookSecretScanningScanCompletedTypeForResponse, + ) from .group_0911 import ( WebhookSecurityAdvisoryPublishedType as WebhookSecurityAdvisoryPublishedType, ) + from .group_0911 import ( + WebhookSecurityAdvisoryPublishedTypeForResponse as WebhookSecurityAdvisoryPublishedTypeForResponse, + ) from .group_0912 import ( WebhookSecurityAdvisoryUpdatedType as WebhookSecurityAdvisoryUpdatedType, ) + from .group_0912 import ( + WebhookSecurityAdvisoryUpdatedTypeForResponse as WebhookSecurityAdvisoryUpdatedTypeForResponse, + ) from .group_0913 import ( WebhookSecurityAdvisoryWithdrawnType as WebhookSecurityAdvisoryWithdrawnType, ) + from .group_0913 import ( + WebhookSecurityAdvisoryWithdrawnTypeForResponse as WebhookSecurityAdvisoryWithdrawnTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0914 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType, ) + from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse, + ) from .group_0915 import ( WebhookSecurityAndAnalysisType as WebhookSecurityAndAnalysisType, ) + from .group_0915 import ( + WebhookSecurityAndAnalysisTypeForResponse as WebhookSecurityAndAnalysisTypeForResponse, + ) from .group_0916 import ( WebhookSecurityAndAnalysisPropChangesType as WebhookSecurityAndAnalysisPropChangesType, ) + from .group_0916 import ( + WebhookSecurityAndAnalysisPropChangesTypeForResponse as WebhookSecurityAndAnalysisPropChangesTypeForResponse, + ) from .group_0917 import ( WebhookSecurityAndAnalysisPropChangesPropFromType as WebhookSecurityAndAnalysisPropChangesPropFromType, ) + from .group_0917 import ( + WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse as WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse, + ) from .group_0918 import ( WebhookSponsorshipCancelledType as WebhookSponsorshipCancelledType, ) + from .group_0918 import ( + WebhookSponsorshipCancelledTypeForResponse as WebhookSponsorshipCancelledTypeForResponse, + ) from .group_0919 import ( WebhookSponsorshipCreatedType as WebhookSponsorshipCreatedType, ) + from .group_0919 import ( + WebhookSponsorshipCreatedTypeForResponse as WebhookSponsorshipCreatedTypeForResponse, + ) from .group_0920 import ( WebhookSponsorshipEditedPropChangesPropPrivacyLevelType as WebhookSponsorshipEditedPropChangesPropPrivacyLevelType, ) + from .group_0920 import ( + WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse as WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse, + ) from .group_0920 import ( WebhookSponsorshipEditedPropChangesType as WebhookSponsorshipEditedPropChangesType, ) + from .group_0920 import ( + WebhookSponsorshipEditedPropChangesTypeForResponse as WebhookSponsorshipEditedPropChangesTypeForResponse, + ) from .group_0920 import WebhookSponsorshipEditedType as WebhookSponsorshipEditedType + from .group_0920 import ( + WebhookSponsorshipEditedTypeForResponse as WebhookSponsorshipEditedTypeForResponse, + ) from .group_0921 import ( WebhookSponsorshipPendingCancellationType as WebhookSponsorshipPendingCancellationType, ) + from .group_0921 import ( + WebhookSponsorshipPendingCancellationTypeForResponse as WebhookSponsorshipPendingCancellationTypeForResponse, + ) from .group_0922 import ( WebhookSponsorshipPendingTierChangeType as WebhookSponsorshipPendingTierChangeType, ) + from .group_0922 import ( + WebhookSponsorshipPendingTierChangeTypeForResponse as WebhookSponsorshipPendingTierChangeTypeForResponse, + ) from .group_0923 import ( WebhookSponsorshipTierChangedType as WebhookSponsorshipTierChangedType, ) + from .group_0923 import ( + WebhookSponsorshipTierChangedTypeForResponse as WebhookSponsorshipTierChangedTypeForResponse, + ) from .group_0924 import WebhookStarCreatedType as WebhookStarCreatedType + from .group_0924 import ( + WebhookStarCreatedTypeForResponse as WebhookStarCreatedTypeForResponse, + ) from .group_0925 import WebhookStarDeletedType as WebhookStarDeletedType + from .group_0925 import ( + WebhookStarDeletedTypeForResponse as WebhookStarDeletedTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropBranchesItemsPropCommitType as WebhookStatusPropBranchesItemsPropCommitType, ) + from .group_0926 import ( + WebhookStatusPropBranchesItemsPropCommitTypeForResponse as WebhookStatusPropBranchesItemsPropCommitTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropBranchesItemsType as WebhookStatusPropBranchesItemsType, ) + from .group_0926 import ( + WebhookStatusPropBranchesItemsTypeForResponse as WebhookStatusPropBranchesItemsTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropAuthorType as WebhookStatusPropCommitPropAuthorType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropAuthorTypeForResponse as WebhookStatusPropCommitPropAuthorTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitPropAuthorType as WebhookStatusPropCommitPropCommitPropAuthorType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitPropCommitterType as WebhookStatusPropCommitPropCommitPropCommitterType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitPropTreeType as WebhookStatusPropCommitPropCommitPropTreeType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitPropTreeTypeForResponse as WebhookStatusPropCommitPropCommitPropTreeTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitPropVerificationType as WebhookStatusPropCommitPropCommitPropVerificationType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse as WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitterType as WebhookStatusPropCommitPropCommitterType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitterTypeForResponse as WebhookStatusPropCommitPropCommitterTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropCommitType as WebhookStatusPropCommitPropCommitType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropCommitTypeForResponse as WebhookStatusPropCommitPropCommitTypeForResponse, + ) from .group_0926 import ( WebhookStatusPropCommitPropParentsItemsType as WebhookStatusPropCommitPropParentsItemsType, ) + from .group_0926 import ( + WebhookStatusPropCommitPropParentsItemsTypeForResponse as WebhookStatusPropCommitPropParentsItemsTypeForResponse, + ) from .group_0926 import WebhookStatusPropCommitType as WebhookStatusPropCommitType + from .group_0926 import ( + WebhookStatusPropCommitTypeForResponse as WebhookStatusPropCommitTypeForResponse, + ) from .group_0926 import WebhookStatusType as WebhookStatusType + from .group_0926 import WebhookStatusTypeForResponse as WebhookStatusTypeForResponse from .group_0927 import ( WebhookStatusPropCommitPropCommitPropAuthorAllof0Type as WebhookStatusPropCommitPropCommitPropAuthorAllof0Type, ) + from .group_0927 import ( + WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse, + ) from .group_0928 import ( WebhookStatusPropCommitPropCommitPropAuthorAllof1Type as WebhookStatusPropCommitPropCommitPropAuthorAllof1Type, ) + from .group_0928 import ( + WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse, + ) from .group_0929 import ( WebhookStatusPropCommitPropCommitPropCommitterAllof0Type as WebhookStatusPropCommitPropCommitPropCommitterAllof0Type, ) + from .group_0929 import ( + WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse, + ) from .group_0930 import ( WebhookStatusPropCommitPropCommitPropCommitterAllof1Type as WebhookStatusPropCommitPropCommitPropCommitterAllof1Type, ) + from .group_0930 import ( + WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse, + ) from .group_0931 import ( WebhookSubIssuesParentIssueAddedType as WebhookSubIssuesParentIssueAddedType, ) + from .group_0931 import ( + WebhookSubIssuesParentIssueAddedTypeForResponse as WebhookSubIssuesParentIssueAddedTypeForResponse, + ) from .group_0932 import ( WebhookSubIssuesParentIssueRemovedType as WebhookSubIssuesParentIssueRemovedType, ) + from .group_0932 import ( + WebhookSubIssuesParentIssueRemovedTypeForResponse as WebhookSubIssuesParentIssueRemovedTypeForResponse, + ) from .group_0933 import ( WebhookSubIssuesSubIssueAddedType as WebhookSubIssuesSubIssueAddedType, ) + from .group_0933 import ( + WebhookSubIssuesSubIssueAddedTypeForResponse as WebhookSubIssuesSubIssueAddedTypeForResponse, + ) from .group_0934 import ( WebhookSubIssuesSubIssueRemovedType as WebhookSubIssuesSubIssueRemovedType, ) + from .group_0934 import ( + WebhookSubIssuesSubIssueRemovedTypeForResponse as WebhookSubIssuesSubIssueRemovedTypeForResponse, + ) from .group_0935 import WebhookTeamAddType as WebhookTeamAddType + from .group_0935 import ( + WebhookTeamAddTypeForResponse as WebhookTeamAddTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType as WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType as WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType as WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType as WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryPropRepositoryType as WebhookTeamAddedToRepositoryPropRepositoryType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse, + ) from .group_0936 import ( WebhookTeamAddedToRepositoryType as WebhookTeamAddedToRepositoryType, ) + from .group_0936 import ( + WebhookTeamAddedToRepositoryTypeForResponse as WebhookTeamAddedToRepositoryTypeForResponse, + ) from .group_0937 import ( WebhookTeamCreatedPropRepositoryPropCustomPropertiesType as WebhookTeamCreatedPropRepositoryPropCustomPropertiesType, ) + from .group_0937 import ( + WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0937 import ( WebhookTeamCreatedPropRepositoryPropLicenseType as WebhookTeamCreatedPropRepositoryPropLicenseType, ) + from .group_0937 import ( + WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse as WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0937 import ( WebhookTeamCreatedPropRepositoryPropOwnerType as WebhookTeamCreatedPropRepositoryPropOwnerType, ) + from .group_0937 import ( + WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse as WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0937 import ( WebhookTeamCreatedPropRepositoryPropPermissionsType as WebhookTeamCreatedPropRepositoryPropPermissionsType, ) + from .group_0937 import ( + WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0937 import ( WebhookTeamCreatedPropRepositoryType as WebhookTeamCreatedPropRepositoryType, ) + from .group_0937 import ( + WebhookTeamCreatedPropRepositoryTypeForResponse as WebhookTeamCreatedPropRepositoryTypeForResponse, + ) from .group_0937 import WebhookTeamCreatedType as WebhookTeamCreatedType + from .group_0937 import ( + WebhookTeamCreatedTypeForResponse as WebhookTeamCreatedTypeForResponse, + ) from .group_0938 import ( WebhookTeamDeletedPropRepositoryPropCustomPropertiesType as WebhookTeamDeletedPropRepositoryPropCustomPropertiesType, ) + from .group_0938 import ( + WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0938 import ( WebhookTeamDeletedPropRepositoryPropLicenseType as WebhookTeamDeletedPropRepositoryPropLicenseType, ) + from .group_0938 import ( + WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse as WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0938 import ( WebhookTeamDeletedPropRepositoryPropOwnerType as WebhookTeamDeletedPropRepositoryPropOwnerType, ) + from .group_0938 import ( + WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse as WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0938 import ( WebhookTeamDeletedPropRepositoryPropPermissionsType as WebhookTeamDeletedPropRepositoryPropPermissionsType, ) + from .group_0938 import ( + WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0938 import ( WebhookTeamDeletedPropRepositoryType as WebhookTeamDeletedPropRepositoryType, ) + from .group_0938 import ( + WebhookTeamDeletedPropRepositoryTypeForResponse as WebhookTeamDeletedPropRepositoryTypeForResponse, + ) from .group_0938 import WebhookTeamDeletedType as WebhookTeamDeletedType + from .group_0938 import ( + WebhookTeamDeletedTypeForResponse as WebhookTeamDeletedTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropDescriptionType as WebhookTeamEditedPropChangesPropDescriptionType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropDescriptionTypeForResponse as WebhookTeamEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropNameType as WebhookTeamEditedPropChangesPropNameType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropNameTypeForResponse as WebhookTeamEditedPropChangesPropNameTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropNotificationSettingType as WebhookTeamEditedPropChangesPropNotificationSettingType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse as WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropPrivacyType as WebhookTeamEditedPropChangesPropPrivacyType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropPrivacyTypeForResponse as WebhookTeamEditedPropChangesPropPrivacyTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesPropRepositoryType as WebhookTeamEditedPropChangesPropRepositoryType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesPropRepositoryTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropChangesType as WebhookTeamEditedPropChangesType, ) + from .group_0939 import ( + WebhookTeamEditedPropChangesTypeForResponse as WebhookTeamEditedPropChangesTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropRepositoryPropCustomPropertiesType as WebhookTeamEditedPropRepositoryPropCustomPropertiesType, ) + from .group_0939 import ( + WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropRepositoryPropLicenseType as WebhookTeamEditedPropRepositoryPropLicenseType, ) + from .group_0939 import ( + WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse as WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropRepositoryPropOwnerType as WebhookTeamEditedPropRepositoryPropOwnerType, ) + from .group_0939 import ( + WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse as WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropRepositoryPropPermissionsType as WebhookTeamEditedPropRepositoryPropPermissionsType, ) + from .group_0939 import ( + WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0939 import ( WebhookTeamEditedPropRepositoryType as WebhookTeamEditedPropRepositoryType, ) + from .group_0939 import ( + WebhookTeamEditedPropRepositoryTypeForResponse as WebhookTeamEditedPropRepositoryTypeForResponse, + ) from .group_0939 import WebhookTeamEditedType as WebhookTeamEditedType + from .group_0939 import ( + WebhookTeamEditedTypeForResponse as WebhookTeamEditedTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType as WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType as WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType as WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType as WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryPropRepositoryType as WebhookTeamRemovedFromRepositoryPropRepositoryType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse, + ) from .group_0940 import ( WebhookTeamRemovedFromRepositoryType as WebhookTeamRemovedFromRepositoryType, ) + from .group_0940 import ( + WebhookTeamRemovedFromRepositoryTypeForResponse as WebhookTeamRemovedFromRepositoryTypeForResponse, + ) from .group_0941 import WebhookWatchStartedType as WebhookWatchStartedType + from .group_0941 import ( + WebhookWatchStartedTypeForResponse as WebhookWatchStartedTypeForResponse, + ) from .group_0942 import ( WebhookWorkflowDispatchPropInputsType as WebhookWorkflowDispatchPropInputsType, ) + from .group_0942 import ( + WebhookWorkflowDispatchPropInputsTypeForResponse as WebhookWorkflowDispatchPropInputsTypeForResponse, + ) from .group_0942 import WebhookWorkflowDispatchType as WebhookWorkflowDispatchType + from .group_0942 import ( + WebhookWorkflowDispatchTypeForResponse as WebhookWorkflowDispatchTypeForResponse, + ) from .group_0943 import ( WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType as WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType, ) + from .group_0943 import ( + WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse, + ) from .group_0943 import ( WebhookWorkflowJobCompletedPropWorkflowJobType as WebhookWorkflowJobCompletedPropWorkflowJobType, ) + from .group_0943 import ( + WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse, + ) from .group_0943 import ( WebhookWorkflowJobCompletedType as WebhookWorkflowJobCompletedType, ) + from .group_0943 import ( + WebhookWorkflowJobCompletedTypeForResponse as WebhookWorkflowJobCompletedTypeForResponse, + ) from .group_0944 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType as WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType, ) + from .group_0944 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse, + ) from .group_0944 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type as WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type, ) + from .group_0944 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse, + ) from .group_0945 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType as WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType, ) + from .group_0945 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + ) from .group_0945 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type as WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type, ) + from .group_0945 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse, + ) from .group_0946 import ( WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType as WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType, ) + from .group_0946 import ( + WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse, + ) from .group_0946 import ( WebhookWorkflowJobInProgressPropWorkflowJobType as WebhookWorkflowJobInProgressPropWorkflowJobType, ) + from .group_0946 import ( + WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse, + ) from .group_0946 import ( WebhookWorkflowJobInProgressType as WebhookWorkflowJobInProgressType, ) + from .group_0946 import ( + WebhookWorkflowJobInProgressTypeForResponse as WebhookWorkflowJobInProgressTypeForResponse, + ) from .group_0947 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType as WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType, ) + from .group_0947 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse, + ) from .group_0947 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type as WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type, ) + from .group_0947 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse, + ) from .group_0948 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType as WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType, ) + from .group_0948 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + ) from .group_0948 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type as WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type, ) + from .group_0948 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse, + ) from .group_0949 import ( WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType as WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType, ) + from .group_0949 import ( + WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse as WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse, + ) from .group_0949 import ( WebhookWorkflowJobQueuedPropWorkflowJobType as WebhookWorkflowJobQueuedPropWorkflowJobType, ) + from .group_0949 import ( + WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse as WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse, + ) from .group_0949 import WebhookWorkflowJobQueuedType as WebhookWorkflowJobQueuedType + from .group_0949 import ( + WebhookWorkflowJobQueuedTypeForResponse as WebhookWorkflowJobQueuedTypeForResponse, + ) from .group_0950 import ( WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType as WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType, ) + from .group_0950 import ( + WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse as WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse, + ) from .group_0950 import ( WebhookWorkflowJobWaitingPropWorkflowJobType as WebhookWorkflowJobWaitingPropWorkflowJobType, ) + from .group_0950 import ( + WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse as WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse, + ) from .group_0950 import ( WebhookWorkflowJobWaitingType as WebhookWorkflowJobWaitingType, ) + from .group_0950 import ( + WebhookWorkflowJobWaitingTypeForResponse as WebhookWorkflowJobWaitingTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropActorType as WebhookWorkflowRunCompletedPropWorkflowRunPropActorType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedPropWorkflowRunType as WebhookWorkflowRunCompletedPropWorkflowRunType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse, + ) from .group_0951 import ( WebhookWorkflowRunCompletedType as WebhookWorkflowRunCompletedType, ) + from .group_0951 import ( + WebhookWorkflowRunCompletedTypeForResponse as WebhookWorkflowRunCompletedTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropActorType as WebhookWorkflowRunInProgressPropWorkflowRunPropActorType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressPropWorkflowRunType as WebhookWorkflowRunInProgressPropWorkflowRunType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse, + ) from .group_0952 import ( WebhookWorkflowRunInProgressType as WebhookWorkflowRunInProgressType, ) + from .group_0952 import ( + WebhookWorkflowRunInProgressTypeForResponse as WebhookWorkflowRunInProgressTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropActorType as WebhookWorkflowRunRequestedPropWorkflowRunPropActorType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedPropWorkflowRunType as WebhookWorkflowRunRequestedPropWorkflowRunType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse, + ) from .group_0953 import ( WebhookWorkflowRunRequestedType as WebhookWorkflowRunRequestedType, ) + from .group_0953 import ( + WebhookWorkflowRunRequestedTypeForResponse as WebhookWorkflowRunRequestedTypeForResponse, + ) from .group_0954 import ( AppManifestsCodeConversionsPostResponse201Type as AppManifestsCodeConversionsPostResponse201Type, ) + from .group_0954 import ( + AppManifestsCodeConversionsPostResponse201TypeForResponse as AppManifestsCodeConversionsPostResponse201TypeForResponse, + ) from .group_0955 import ( AppManifestsCodeConversionsPostResponse201Allof1Type as AppManifestsCodeConversionsPostResponse201Allof1Type, ) + from .group_0955 import ( + AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse as AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse, + ) from .group_0956 import AppHookConfigPatchBodyType as AppHookConfigPatchBodyType + from .group_0956 import ( + AppHookConfigPatchBodyTypeForResponse as AppHookConfigPatchBodyTypeForResponse, + ) from .group_0957 import ( AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type as AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, ) + from .group_0957 import ( + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse as AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + ) from .group_0958 import ( AppInstallationsInstallationIdAccessTokensPostBodyType as AppInstallationsInstallationIdAccessTokensPostBodyType, ) + from .group_0958 import ( + AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse as AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse, + ) from .group_0959 import ( ApplicationsClientIdGrantDeleteBodyType as ApplicationsClientIdGrantDeleteBodyType, ) + from .group_0959 import ( + ApplicationsClientIdGrantDeleteBodyTypeForResponse as ApplicationsClientIdGrantDeleteBodyTypeForResponse, + ) from .group_0960 import ( ApplicationsClientIdTokenPostBodyType as ApplicationsClientIdTokenPostBodyType, ) + from .group_0960 import ( + ApplicationsClientIdTokenPostBodyTypeForResponse as ApplicationsClientIdTokenPostBodyTypeForResponse, + ) from .group_0961 import ( ApplicationsClientIdTokenDeleteBodyType as ApplicationsClientIdTokenDeleteBodyType, ) + from .group_0961 import ( + ApplicationsClientIdTokenDeleteBodyTypeForResponse as ApplicationsClientIdTokenDeleteBodyTypeForResponse, + ) from .group_0962 import ( ApplicationsClientIdTokenPatchBodyType as ApplicationsClientIdTokenPatchBodyType, ) + from .group_0962 import ( + ApplicationsClientIdTokenPatchBodyTypeForResponse as ApplicationsClientIdTokenPatchBodyTypeForResponse, + ) from .group_0963 import ( ApplicationsClientIdTokenScopedPostBodyType as ApplicationsClientIdTokenScopedPostBodyType, ) + from .group_0963 import ( + ApplicationsClientIdTokenScopedPostBodyTypeForResponse as ApplicationsClientIdTokenScopedPostBodyTypeForResponse, + ) from .group_0964 import ( CredentialsRevokePostBodyType as CredentialsRevokePostBodyType, ) + from .group_0964 import ( + CredentialsRevokePostBodyTypeForResponse as CredentialsRevokePostBodyTypeForResponse, + ) from .group_0965 import EmojisGetResponse200Type as EmojisGetResponse200Type + from .group_0965 import ( + EmojisGetResponse200TypeForResponse as EmojisGetResponse200TypeForResponse, + ) from .group_0966 import ( EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type, ) + from .group_0966 import ( + EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse, + ) from .group_0967 import ( EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType as EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType, ) + from .group_0967 import ( + EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse as EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse, + ) from .group_0967 import ( EnterprisesEnterpriseActionsHostedRunnersPostBodyType as EnterprisesEnterpriseActionsHostedRunnersPostBodyType, ) + from .group_0967 import ( + EnterprisesEnterpriseActionsHostedRunnersPostBodyTypeForResponse as EnterprisesEnterpriseActionsHostedRunnersPostBodyTypeForResponse, + ) from .group_0968 import ( EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type, ) + from .group_0968 import ( + EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + ) from .group_0969 import ( EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, ) + from .group_0969 import ( + EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + ) from .group_0970 import ( EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type, ) + from .group_0970 import ( + EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + ) from .group_0971 import ( EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type, ) + from .group_0971 import ( + EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + ) from .group_0972 import ( EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type, ) + from .group_0972 import ( + EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + ) from .group_0973 import ( EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type as EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type, ) + from .group_0973 import ( + EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse, + ) from .group_0974 import ( EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType as EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType, ) + from .group_0974 import ( + EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse as EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse, + ) from .group_0975 import ( EnterprisesEnterpriseActionsPermissionsPutBodyType as EnterprisesEnterpriseActionsPermissionsPutBodyType, ) + from .group_0975 import ( + EnterprisesEnterpriseActionsPermissionsPutBodyTypeForResponse as EnterprisesEnterpriseActionsPermissionsPutBodyTypeForResponse, + ) from .group_0976 import ( EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type as EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type, ) + from .group_0976 import ( + EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse, + ) from .group_0977 import ( EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType as EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType, ) + from .group_0977 import ( + EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyTypeForResponse as EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyTypeForResponse, + ) from .group_0978 import ( EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type as EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type, ) + from .group_0978 import ( + EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse as EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse, + ) from .group_0979 import ( EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType as EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType, ) + from .group_0979 import ( + EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse as EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse, + ) from .group_0980 import ( EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type as EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type, ) + from .group_0980 import ( + EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse, + ) from .group_0980 import RunnerGroupsEnterpriseType as RunnerGroupsEnterpriseType + from .group_0980 import ( + RunnerGroupsEnterpriseTypeForResponse as RunnerGroupsEnterpriseTypeForResponse, + ) from .group_0981 import ( EnterprisesEnterpriseActionsRunnerGroupsPostBodyType as EnterprisesEnterpriseActionsRunnerGroupsPostBodyType, ) + from .group_0981 import ( + EnterprisesEnterpriseActionsRunnerGroupsPostBodyTypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsPostBodyTypeForResponse, + ) from .group_0982 import ( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType, ) + from .group_0982 import ( + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse, + ) from .group_0983 import ( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type, ) + from .group_0983 import ( + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse, + ) from .group_0984 import ( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyType as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyType, ) + from .group_0984 import ( + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyTypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyTypeForResponse, + ) from .group_0985 import ( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, ) + from .group_0985 import ( + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, + ) from .group_0986 import ( EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, ) + from .group_0986 import ( + EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse as EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse, + ) from .group_0987 import ( EnterprisesEnterpriseActionsRunnersGetResponse200Type as EnterprisesEnterpriseActionsRunnersGetResponse200Type, ) + from .group_0987 import ( + EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse, + ) from .group_0988 import ( EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType as EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType, ) + from .group_0988 import ( + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyTypeForResponse as EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyTypeForResponse, + ) from .group_0989 import ( EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type as EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type, ) + from .group_0989 import ( + EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse as EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, + ) from .group_0990 import ( EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type, ) + from .group_0990 import ( + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, + ) from .group_0991 import ( EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType, ) + from .group_0991 import ( + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyTypeForResponse as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyTypeForResponse, + ) from .group_0992 import ( EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType, ) + from .group_0992 import ( + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyTypeForResponse as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyTypeForResponse, + ) from .group_0993 import ( EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type, ) + from .group_0993 import ( + EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse as EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, + ) from .group_0994 import ( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType, ) + from .group_0994 import ( + EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyTypeForResponse as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyTypeForResponse, + ) from .group_0995 import ( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType, ) + from .group_0995 import ( + EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyTypeForResponse as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyTypeForResponse, + ) from .group_0996 import ( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType, ) + from .group_0996 import ( + EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyTypeForResponse as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyTypeForResponse, + ) from .group_0997 import ( EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType, ) + from .group_0997 import ( + EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyTypeForResponse as EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyTypeForResponse, + ) from .group_0998 import ( EnterprisesEnterpriseAuditLogStreamsPostBodyType as EnterprisesEnterpriseAuditLogStreamsPostBodyType, ) + from .group_0998 import ( + EnterprisesEnterpriseAuditLogStreamsPostBodyTypeForResponse as EnterprisesEnterpriseAuditLogStreamsPostBodyTypeForResponse, + ) from .group_0999 import ( EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType as EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType, ) + from .group_0999 import ( + EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyTypeForResponse as EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyTypeForResponse, + ) from .group_1000 import ( EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type as EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type, ) + from .group_1000 import ( + EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422TypeForResponse as EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422TypeForResponse, + ) from .group_1001 import ( EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type as EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type, ) + from .group_1001 import ( + EnterprisesEnterpriseCodeScanningAlertsGetResponse503TypeForResponse as EnterprisesEnterpriseCodeScanningAlertsGetResponse503TypeForResponse, + ) from .group_1002 import ( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_1002 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_1002 import ( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, ) + from .group_1002 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse, + ) from .group_1003 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_1003 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_1003 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, ) + from .group_1003 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse, + ) from .group_1004 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) + from .group_1004 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse, + ) from .group_1005 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) + from .group_1005 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse, + ) from .group_1006 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, ) + from .group_1006 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, + ) from .group_1007 import ( EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType as EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType, ) + from .group_1007 import ( + EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyTypeForResponse, + ) from .group_1008 import ( EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type as EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type, ) + from .group_1008 import ( + EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse as EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse, + ) from .group_1009 import ( EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType, ) + from .group_1009 import ( + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyTypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyTypeForResponse, + ) from .group_1010 import ( EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type, ) + from .group_1010 import ( + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse, + ) from .group_1011 import ( EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType, ) + from .group_1011 import ( + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyTypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyTypeForResponse, + ) from .group_1012 import ( EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type, ) + from .group_1012 import ( + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse, + ) from .group_1013 import ( EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202Type as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202Type, ) + from .group_1013 import ( + EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202TypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202TypeForResponse, + ) from .group_1014 import ( EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType as EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType, ) + from .group_1014 import ( + EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyTypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyTypeForResponse, + ) from .group_1015 import ( EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type as EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type, ) + from .group_1015 import ( + EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse, + ) from .group_1016 import ( EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType as EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType, ) + from .group_1016 import ( + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyTypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyTypeForResponse, + ) from .group_1017 import ( EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type as EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type, ) + from .group_1017 import ( + EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse as EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, + ) from .group_1018 import ( EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type as EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type, ) + from .group_1018 import ( + EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse as EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse, + ) from .group_1019 import ( EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type as EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type, ) + from .group_1019 import ( + EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse as EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse, + ) from .group_1020 import ( EnterprisesEnterpriseNetworkConfigurationsPostBodyType as EnterprisesEnterpriseNetworkConfigurationsPostBodyType, ) + from .group_1020 import ( + EnterprisesEnterpriseNetworkConfigurationsPostBodyTypeForResponse as EnterprisesEnterpriseNetworkConfigurationsPostBodyTypeForResponse, + ) from .group_1021 import ( EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType as EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType, ) + from .group_1021 import ( + EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse as EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse, + ) from .group_1022 import ( EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType as EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType, ) + from .group_1022 import ( + EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyTypeForResponse as EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyTypeForResponse, + ) from .group_1023 import ( EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType as EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType, ) + from .group_1023 import ( + EnterprisesEnterpriseOrgPropertiesValuesPatchBodyTypeForResponse as EnterprisesEnterpriseOrgPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1024 import ( EnterprisesEnterprisePropertiesSchemaPatchBodyType as EnterprisesEnterprisePropertiesSchemaPatchBodyType, ) + from .group_1024 import ( + EnterprisesEnterprisePropertiesSchemaPatchBodyTypeForResponse as EnterprisesEnterprisePropertiesSchemaPatchBodyTypeForResponse, + ) from .group_1025 import ( EnterprisesEnterpriseRulesetsPostBodyType as EnterprisesEnterpriseRulesetsPostBodyType, ) + from .group_1025 import ( + EnterprisesEnterpriseRulesetsPostBodyTypeForResponse as EnterprisesEnterpriseRulesetsPostBodyTypeForResponse, + ) from .group_1026 import ( EnterprisesEnterpriseRulesetsRulesetIdPutBodyType as EnterprisesEnterpriseRulesetsRulesetIdPutBodyType, ) + from .group_1026 import ( + EnterprisesEnterpriseRulesetsRulesetIdPutBodyTypeForResponse as EnterprisesEnterpriseRulesetsRulesetIdPutBodyTypeForResponse, + ) from .group_1027 import ( EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, ) + from .group_1027 import ( + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse, + ) from .group_1027 import ( EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, ) + from .group_1027 import ( + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse, + ) from .group_1027 import ( EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType, ) + from .group_1027 import ( + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyTypeForResponse as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyTypeForResponse, + ) from .group_1028 import ( EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type, ) + from .group_1028 import ( + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse as EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, + ) from .group_1029 import ( EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType as EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType, ) + from .group_1029 import ( + EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse as EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse, + ) from .group_1029 import ( EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType as EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType, ) + from .group_1029 import ( + EnterprisesEnterpriseSettingsBillingBudgetsPostBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingBudgetsPostBodyTypeForResponse, + ) from .group_1030 import ( EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType as EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, ) + from .group_1030 import ( + EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse as EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse, + ) from .group_1030 import ( EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType as EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType, ) + from .group_1030 import ( + EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse, + ) from .group_1031 import ( EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType as EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType, ) + from .group_1031 import ( + EnterprisesEnterpriseSettingsBillingCostCentersPostBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersPostBodyTypeForResponse, + ) from .group_1032 import ( EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsType as EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsType, ) + from .group_1032 import ( + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse, + ) from .group_1032 import ( EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type as EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type, ) + from .group_1032 import ( + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse, + ) from .group_1033 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType, ) + from .group_1033 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyTypeForResponse, + ) from .group_1034 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType, ) + from .group_1034 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyTypeForResponse, + ) from .group_1035 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsType as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsType, ) + from .group_1035 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse, + ) from .group_1035 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type, ) + from .group_1035 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse, + ) from .group_1036 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType, ) + from .group_1036 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyTypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyTypeForResponse, + ) from .group_1037 import ( EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type, ) + from .group_1037 import ( + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse as EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse, + ) from .group_1038 import ( EnterprisesEnterpriseTeamsPostBodyType as EnterprisesEnterpriseTeamsPostBodyType, ) + from .group_1038 import ( + EnterprisesEnterpriseTeamsPostBodyTypeForResponse as EnterprisesEnterpriseTeamsPostBodyTypeForResponse, + ) from .group_1039 import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, ) + from .group_1039 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse, + ) from .group_1040 import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, ) + from .group_1040 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse, + ) from .group_1041 import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, ) + from .group_1041 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse, + ) from .group_1042 import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType, ) + from .group_1042 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse, + ) from .group_1043 import ( EnterprisesEnterpriseTeamsTeamSlugPatchBodyType as EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, ) + from .group_1043 import ( + EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse as EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse, + ) from .group_1044 import GistsPostBodyPropFilesType as GistsPostBodyPropFilesType + from .group_1044 import ( + GistsPostBodyPropFilesTypeForResponse as GistsPostBodyPropFilesTypeForResponse, + ) from .group_1044 import GistsPostBodyType as GistsPostBodyType + from .group_1044 import GistsPostBodyTypeForResponse as GistsPostBodyTypeForResponse from .group_1045 import ( GistsGistIdGetResponse403PropBlockType as GistsGistIdGetResponse403PropBlockType, ) + from .group_1045 import ( + GistsGistIdGetResponse403PropBlockTypeForResponse as GistsGistIdGetResponse403PropBlockTypeForResponse, + ) from .group_1045 import ( GistsGistIdGetResponse403Type as GistsGistIdGetResponse403Type, ) + from .group_1045 import ( + GistsGistIdGetResponse403TypeForResponse as GistsGistIdGetResponse403TypeForResponse, + ) from .group_1046 import ( GistsGistIdPatchBodyPropFilesType as GistsGistIdPatchBodyPropFilesType, ) + from .group_1046 import ( + GistsGistIdPatchBodyPropFilesTypeForResponse as GistsGistIdPatchBodyPropFilesTypeForResponse, + ) from .group_1046 import GistsGistIdPatchBodyType as GistsGistIdPatchBodyType + from .group_1046 import ( + GistsGistIdPatchBodyTypeForResponse as GistsGistIdPatchBodyTypeForResponse, + ) from .group_1047 import ( GistsGistIdCommentsPostBodyType as GistsGistIdCommentsPostBodyType, ) + from .group_1047 import ( + GistsGistIdCommentsPostBodyTypeForResponse as GistsGistIdCommentsPostBodyTypeForResponse, + ) from .group_1048 import ( GistsGistIdCommentsCommentIdPatchBodyType as GistsGistIdCommentsCommentIdPatchBodyType, ) + from .group_1048 import ( + GistsGistIdCommentsCommentIdPatchBodyTypeForResponse as GistsGistIdCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1049 import ( GistsGistIdStarGetResponse404Type as GistsGistIdStarGetResponse404Type, ) + from .group_1049 import ( + GistsGistIdStarGetResponse404TypeForResponse as GistsGistIdStarGetResponse404TypeForResponse, + ) from .group_1050 import ( InstallationRepositoriesGetResponse200Type as InstallationRepositoriesGetResponse200Type, ) + from .group_1050 import ( + InstallationRepositoriesGetResponse200TypeForResponse as InstallationRepositoriesGetResponse200TypeForResponse, + ) from .group_1051 import MarkdownPostBodyType as MarkdownPostBodyType + from .group_1051 import ( + MarkdownPostBodyTypeForResponse as MarkdownPostBodyTypeForResponse, + ) from .group_1052 import NotificationsPutBodyType as NotificationsPutBodyType + from .group_1052 import ( + NotificationsPutBodyTypeForResponse as NotificationsPutBodyTypeForResponse, + ) from .group_1053 import ( NotificationsPutResponse202Type as NotificationsPutResponse202Type, ) + from .group_1053 import ( + NotificationsPutResponse202TypeForResponse as NotificationsPutResponse202TypeForResponse, + ) from .group_1054 import ( NotificationsThreadsThreadIdSubscriptionPutBodyType as NotificationsThreadsThreadIdSubscriptionPutBodyType, ) + from .group_1054 import ( + NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse as NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse, + ) from .group_1055 import ( OrganizationsOrganizationIdCustomRolesGetResponse200Type as OrganizationsOrganizationIdCustomRolesGetResponse200Type, ) + from .group_1055 import ( + OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse as OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse, + ) from .group_1056 import ( OrganizationsOrgDependabotRepositoryAccessPatchBodyType as OrganizationsOrgDependabotRepositoryAccessPatchBodyType, ) + from .group_1056 import ( + OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse as OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse, + ) from .group_1057 import ( OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType as OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType, ) + from .group_1057 import ( + OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse as OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse, + ) from .group_1058 import ( OrganizationsOrgOrgPropertiesValuesPatchBodyType as OrganizationsOrgOrgPropertiesValuesPatchBodyType, ) + from .group_1058 import ( + OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse as OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1059 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, ) + from .group_1059 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse, + ) from .group_1059 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) + from .group_1059 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse, + ) from .group_1060 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType, ) + from .group_1060 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse, + ) from .group_1060 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType, ) + from .group_1060 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse, + ) from .group_1060 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, ) + from .group_1060 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, + ) from .group_1061 import OrgsOrgPatchBodyType as OrgsOrgPatchBodyType + from .group_1061 import ( + OrgsOrgPatchBodyTypeForResponse as OrgsOrgPatchBodyTypeForResponse, + ) from .group_1062 import ( ActionsCacheUsageByRepositoryType as ActionsCacheUsageByRepositoryType, ) + from .group_1062 import ( + ActionsCacheUsageByRepositoryTypeForResponse as ActionsCacheUsageByRepositoryTypeForResponse, + ) from .group_1062 import ( OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type as OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, ) + from .group_1062 import ( + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse as OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, + ) from .group_1063 import ( OrgsOrgActionsHostedRunnersGetResponse200Type as OrgsOrgActionsHostedRunnersGetResponse200Type, ) + from .group_1063 import ( + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, + ) from .group_1064 import ( OrgsOrgActionsHostedRunnersPostBodyPropImageType as OrgsOrgActionsHostedRunnersPostBodyPropImageType, ) + from .group_1064 import ( + OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse as OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse, + ) from .group_1064 import ( OrgsOrgActionsHostedRunnersPostBodyType as OrgsOrgActionsHostedRunnersPostBodyType, ) + from .group_1064 import ( + OrgsOrgActionsHostedRunnersPostBodyTypeForResponse as OrgsOrgActionsHostedRunnersPostBodyTypeForResponse, + ) from .group_1065 import ( OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type as OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, ) + from .group_1065 import ( + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + ) from .group_1066 import ( OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type as OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, ) + from .group_1066 import ( + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + ) from .group_1067 import ( OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type as OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, ) + from .group_1067 import ( + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + ) from .group_1068 import ( OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type as OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, ) + from .group_1068 import ( + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + ) from .group_1069 import ( OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type as OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, ) + from .group_1069 import ( + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + ) from .group_1070 import ( OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type as OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, ) + from .group_1070 import ( + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, + ) from .group_1071 import ( OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType as OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, ) + from .group_1071 import ( + OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse as OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse, + ) from .group_1072 import ( OrgsOrgActionsPermissionsPutBodyType as OrgsOrgActionsPermissionsPutBodyType, ) + from .group_1072 import ( + OrgsOrgActionsPermissionsPutBodyTypeForResponse as OrgsOrgActionsPermissionsPutBodyTypeForResponse, + ) from .group_1073 import ( OrgsOrgActionsPermissionsRepositoriesGetResponse200Type as OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, ) + from .group_1073 import ( + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, + ) from .group_1074 import ( OrgsOrgActionsPermissionsRepositoriesPutBodyType as OrgsOrgActionsPermissionsRepositoriesPutBodyType, ) + from .group_1074 import ( + OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse as OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse, + ) from .group_1075 import ( OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType as OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType, ) + from .group_1075 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse, + ) from .group_1076 import ( OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, ) + from .group_1076 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, + ) from .group_1077 import ( OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType, ) + from .group_1077 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse, + ) from .group_1078 import ( OrgsOrgActionsRunnerGroupsGetResponse200Type as OrgsOrgActionsRunnerGroupsGetResponse200Type, ) + from .group_1078 import ( + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, + ) from .group_1078 import RunnerGroupsOrgType as RunnerGroupsOrgType + from .group_1078 import ( + RunnerGroupsOrgTypeForResponse as RunnerGroupsOrgTypeForResponse, + ) from .group_1079 import ( OrgsOrgActionsRunnerGroupsPostBodyType as OrgsOrgActionsRunnerGroupsPostBodyType, ) + from .group_1079 import ( + OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse as OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse, + ) from .group_1080 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, ) + from .group_1080 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse, + ) from .group_1081 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, ) + from .group_1081 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, + ) from .group_1082 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, ) + from .group_1082 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, + ) from .group_1083 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType, ) + from .group_1083 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse, + ) from .group_1084 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, ) + from .group_1084 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, + ) from .group_1085 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, ) + from .group_1085 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse, + ) from .group_1086 import ( OrgsOrgActionsRunnersGetResponse200Type as OrgsOrgActionsRunnersGetResponse200Type, ) + from .group_1086 import ( + OrgsOrgActionsRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnersGetResponse200TypeForResponse, + ) from .group_1087 import ( OrgsOrgActionsRunnersGenerateJitconfigPostBodyType as OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) + from .group_1087 import ( + OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse as OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse, + ) from .group_1088 import ( OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType as OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) + from .group_1088 import ( + OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse, + ) from .group_1089 import ( OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType as OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) + from .group_1089 import ( + OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse, + ) from .group_1090 import ( OrganizationActionsSecretType as OrganizationActionsSecretType, ) + from .group_1090 import ( + OrganizationActionsSecretTypeForResponse as OrganizationActionsSecretTypeForResponse, + ) from .group_1090 import ( OrgsOrgActionsSecretsGetResponse200Type as OrgsOrgActionsSecretsGetResponse200Type, ) + from .group_1090 import ( + OrgsOrgActionsSecretsGetResponse200TypeForResponse as OrgsOrgActionsSecretsGetResponse200TypeForResponse, + ) from .group_1091 import ( OrgsOrgActionsSecretsSecretNamePutBodyType as OrgsOrgActionsSecretsSecretNamePutBodyType, ) + from .group_1091 import ( + OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse as OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1092 import ( OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_1092 import ( + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1093 import ( OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType as OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType, ) + from .group_1093 import ( + OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_1094 import ( OrganizationActionsVariableType as OrganizationActionsVariableType, ) + from .group_1094 import ( + OrganizationActionsVariableTypeForResponse as OrganizationActionsVariableTypeForResponse, + ) from .group_1094 import ( OrgsOrgActionsVariablesGetResponse200Type as OrgsOrgActionsVariablesGetResponse200Type, ) + from .group_1094 import ( + OrgsOrgActionsVariablesGetResponse200TypeForResponse as OrgsOrgActionsVariablesGetResponse200TypeForResponse, + ) from .group_1095 import ( OrgsOrgActionsVariablesPostBodyType as OrgsOrgActionsVariablesPostBodyType, ) + from .group_1095 import ( + OrgsOrgActionsVariablesPostBodyTypeForResponse as OrgsOrgActionsVariablesPostBodyTypeForResponse, + ) from .group_1096 import ( OrgsOrgActionsVariablesNamePatchBodyType as OrgsOrgActionsVariablesNamePatchBodyType, ) + from .group_1096 import ( + OrgsOrgActionsVariablesNamePatchBodyTypeForResponse as OrgsOrgActionsVariablesNamePatchBodyTypeForResponse, + ) from .group_1097 import ( OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type as OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, ) + from .group_1097 import ( + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1098 import ( OrgsOrgActionsVariablesNameRepositoriesPutBodyType as OrgsOrgActionsVariablesNameRepositoriesPutBodyType, ) + from .group_1098 import ( + OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse as OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse, + ) from .group_1099 import ( OrgsOrgArtifactsMetadataStorageRecordPostBodyType as OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) + from .group_1099 import ( + OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse, + ) from .group_1100 import ( OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType as OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType, ) + from .group_1100 import ( + OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse, + ) from .group_1100 import ( OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type as OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, ) + from .group_1100 import ( + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, + ) from .group_1101 import ( OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType, ) + from .group_1101 import ( + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse, + ) from .group_1101 import ( OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, ) + from .group_1101 import ( + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, + ) from .group_1102 import ( OrgsOrgAttestationsBulkListPostBodyType as OrgsOrgAttestationsBulkListPostBodyType, ) + from .group_1102 import ( + OrgsOrgAttestationsBulkListPostBodyTypeForResponse as OrgsOrgAttestationsBulkListPostBodyTypeForResponse, + ) from .group_1103 import ( OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType as OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType, ) + from .group_1103 import ( + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse as OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse, + ) from .group_1103 import ( OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType as OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType, ) + from .group_1103 import ( + OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse as OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse, + ) from .group_1103 import ( OrgsOrgAttestationsBulkListPostResponse200Type as OrgsOrgAttestationsBulkListPostResponse200Type, ) + from .group_1103 import ( + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse as OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, + ) from .group_1104 import ( OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type as OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type, ) + from .group_1104 import ( + OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse as OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse, + ) from .group_1105 import ( OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type as OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type, ) + from .group_1105 import ( + OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse as OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse, + ) from .group_1106 import ( OrgsOrgAttestationsRepositoriesGetResponse200ItemsType as OrgsOrgAttestationsRepositoriesGetResponse200ItemsType, ) + from .group_1106 import ( + OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse as OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse, + ) from .group_1107 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_1107 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1107 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_1107 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1107 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_1107 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_1107 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_1107 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_1107 import ( OrgsOrgAttestationsSubjectDigestGetResponse200Type as OrgsOrgAttestationsSubjectDigestGetResponse200Type, ) + from .group_1107 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_1108 import ( OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType as OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, ) + from .group_1108 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse as OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, + ) from .group_1109 import ( OrgsOrgCampaignsPostBodyOneof0Type as OrgsOrgCampaignsPostBodyOneof0Type, ) + from .group_1109 import ( + OrgsOrgCampaignsPostBodyOneof0TypeForResponse as OrgsOrgCampaignsPostBodyOneof0TypeForResponse, + ) from .group_1110 import ( OrgsOrgCampaignsPostBodyOneof1Type as OrgsOrgCampaignsPostBodyOneof1Type, ) + from .group_1110 import ( + OrgsOrgCampaignsPostBodyOneof1TypeForResponse as OrgsOrgCampaignsPostBodyOneof1TypeForResponse, + ) from .group_1111 import ( OrgsOrgCampaignsCampaignNumberPatchBodyType as OrgsOrgCampaignsCampaignNumberPatchBodyType, ) + from .group_1111 import ( + OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse as OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse, + ) from .group_1112 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_1112 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_1112 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_1112 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_1112 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType, ) + from .group_1112 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_1112 import ( OrgsOrgCodeSecurityConfigurationsPostBodyType as OrgsOrgCodeSecurityConfigurationsPostBodyType, ) + from .group_1112 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse, + ) from .group_1113 import ( OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType as OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType, ) + from .group_1113 import ( + OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse, + ) from .group_1114 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_1114 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_1114 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_1114 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_1114 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType, ) + from .group_1114 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_1114 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, ) + from .group_1114 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse, + ) from .group_1115 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) + from .group_1115 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse, + ) from .group_1116 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) + from .group_1116 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse, + ) from .group_1117 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, ) + from .group_1117 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, + ) from .group_1118 import ( OrgsOrgCodespacesGetResponse200Type as OrgsOrgCodespacesGetResponse200Type, ) + from .group_1118 import ( + OrgsOrgCodespacesGetResponse200TypeForResponse as OrgsOrgCodespacesGetResponse200TypeForResponse, + ) from .group_1119 import ( OrgsOrgCodespacesAccessPutBodyType as OrgsOrgCodespacesAccessPutBodyType, ) + from .group_1119 import ( + OrgsOrgCodespacesAccessPutBodyTypeForResponse as OrgsOrgCodespacesAccessPutBodyTypeForResponse, + ) from .group_1120 import ( OrgsOrgCodespacesAccessSelectedUsersPostBodyType as OrgsOrgCodespacesAccessSelectedUsersPostBodyType, ) + from .group_1120 import ( + OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse as OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse, + ) from .group_1121 import ( OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType as OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType, ) + from .group_1121 import ( + OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse as OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse, + ) from .group_1122 import CodespacesOrgSecretType as CodespacesOrgSecretType + from .group_1122 import ( + CodespacesOrgSecretTypeForResponse as CodespacesOrgSecretTypeForResponse, + ) from .group_1122 import ( OrgsOrgCodespacesSecretsGetResponse200Type as OrgsOrgCodespacesSecretsGetResponse200Type, ) + from .group_1122 import ( + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse as OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_1123 import ( OrgsOrgCodespacesSecretsSecretNamePutBodyType as OrgsOrgCodespacesSecretsSecretNamePutBodyType, ) + from .group_1123 import ( + OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse as OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1124 import ( OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_1124 import ( + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1125 import ( OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType as OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType, ) + from .group_1125 import ( + OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_1126 import ( OrgsOrgCopilotBillingSeatsGetResponse200Type as OrgsOrgCopilotBillingSeatsGetResponse200Type, ) + from .group_1126 import ( + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse as OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, + ) from .group_1127 import ( OrgsOrgCopilotBillingSelectedTeamsPostBodyType as OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) + from .group_1127 import ( + OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse as OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse, + ) from .group_1128 import ( OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type as OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, ) + from .group_1128 import ( + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse as OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, + ) from .group_1129 import ( OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType as OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) + from .group_1129 import ( + OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse as OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse, + ) from .group_1130 import ( OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type as OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, ) + from .group_1130 import ( + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse as OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, + ) from .group_1131 import ( OrgsOrgCopilotBillingSelectedUsersPostBodyType as OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) + from .group_1131 import ( + OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse as OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse, + ) from .group_1132 import ( OrgsOrgCopilotBillingSelectedUsersPostResponse201Type as OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, ) + from .group_1132 import ( + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse as OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, + ) from .group_1133 import ( OrgsOrgCopilotBillingSelectedUsersDeleteBodyType as OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) + from .group_1133 import ( + OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse as OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse, + ) from .group_1134 import ( OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type as OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, ) + from .group_1134 import ( + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse as OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, + ) from .group_1135 import ( OrgsOrgCustomRepositoryRolesGetResponse200Type as OrgsOrgCustomRepositoryRolesGetResponse200Type, ) + from .group_1135 import ( + OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse as OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse, + ) from .group_1136 import ( OrganizationDependabotSecretType as OrganizationDependabotSecretType, ) + from .group_1136 import ( + OrganizationDependabotSecretTypeForResponse as OrganizationDependabotSecretTypeForResponse, + ) from .group_1136 import ( OrgsOrgDependabotSecretsGetResponse200Type as OrgsOrgDependabotSecretsGetResponse200Type, ) + from .group_1136 import ( + OrgsOrgDependabotSecretsGetResponse200TypeForResponse as OrgsOrgDependabotSecretsGetResponse200TypeForResponse, + ) from .group_1137 import ( OrgsOrgDependabotSecretsSecretNamePutBodyType as OrgsOrgDependabotSecretsSecretNamePutBodyType, ) + from .group_1137 import ( + OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse as OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1138 import ( OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_1138 import ( + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1139 import ( OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType as OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType, ) + from .group_1139 import ( + OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_1140 import ( OrgsOrgHooksPostBodyPropConfigType as OrgsOrgHooksPostBodyPropConfigType, ) + from .group_1140 import ( + OrgsOrgHooksPostBodyPropConfigTypeForResponse as OrgsOrgHooksPostBodyPropConfigTypeForResponse, + ) from .group_1140 import OrgsOrgHooksPostBodyType as OrgsOrgHooksPostBodyType + from .group_1140 import ( + OrgsOrgHooksPostBodyTypeForResponse as OrgsOrgHooksPostBodyTypeForResponse, + ) from .group_1141 import ( OrgsOrgHooksHookIdPatchBodyPropConfigType as OrgsOrgHooksHookIdPatchBodyPropConfigType, ) + from .group_1141 import ( + OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse as OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse, + ) from .group_1141 import ( OrgsOrgHooksHookIdPatchBodyType as OrgsOrgHooksHookIdPatchBodyType, ) + from .group_1141 import ( + OrgsOrgHooksHookIdPatchBodyTypeForResponse as OrgsOrgHooksHookIdPatchBodyTypeForResponse, + ) from .group_1142 import ( OrgsOrgHooksHookIdConfigPatchBodyType as OrgsOrgHooksHookIdConfigPatchBodyType, ) + from .group_1142 import ( + OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse as OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse, + ) from .group_1143 import ( OrgsOrgInstallationsGetResponse200Type as OrgsOrgInstallationsGetResponse200Type, ) + from .group_1143 import ( + OrgsOrgInstallationsGetResponse200TypeForResponse as OrgsOrgInstallationsGetResponse200TypeForResponse, + ) from .group_1144 import ( OrgsOrgInteractionLimitsGetResponse200Anyof1Type as OrgsOrgInteractionLimitsGetResponse200Anyof1Type, ) + from .group_1144 import ( + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse as OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_1145 import ( OrgsOrgInvitationsPostBodyType as OrgsOrgInvitationsPostBodyType, ) + from .group_1145 import ( + OrgsOrgInvitationsPostBodyTypeForResponse as OrgsOrgInvitationsPostBodyTypeForResponse, + ) from .group_1146 import ( OrgsOrgMembersUsernameCodespacesGetResponse200Type as OrgsOrgMembersUsernameCodespacesGetResponse200Type, ) + from .group_1146 import ( + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse as OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, + ) from .group_1147 import ( OrgsOrgMembershipsUsernamePutBodyType as OrgsOrgMembershipsUsernamePutBodyType, ) + from .group_1147 import ( + OrgsOrgMembershipsUsernamePutBodyTypeForResponse as OrgsOrgMembershipsUsernamePutBodyTypeForResponse, + ) from .group_1148 import ( OrgsOrgMigrationsPostBodyType as OrgsOrgMigrationsPostBodyType, ) + from .group_1148 import ( + OrgsOrgMigrationsPostBodyTypeForResponse as OrgsOrgMigrationsPostBodyTypeForResponse, + ) from .group_1149 import ( OrgsOrgOutsideCollaboratorsUsernamePutBodyType as OrgsOrgOutsideCollaboratorsUsernamePutBodyType, ) + from .group_1149 import ( + OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse as OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_1150 import ( OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type as OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, ) + from .group_1150 import ( + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse as OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, + ) from .group_1151 import ( OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type as OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type, ) + from .group_1151 import ( + OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse as OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse, + ) from .group_1152 import ( OrgsOrgPersonalAccessTokenRequestsPostBodyType as OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) + from .group_1152 import ( + OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse as OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse, + ) from .group_1153 import ( OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType as OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType, ) + from .group_1153 import ( + OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse as OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse, + ) from .group_1154 import ( OrgsOrgPersonalAccessTokensPostBodyType as OrgsOrgPersonalAccessTokensPostBodyType, ) + from .group_1154 import ( + OrgsOrgPersonalAccessTokensPostBodyTypeForResponse as OrgsOrgPersonalAccessTokensPostBodyTypeForResponse, + ) from .group_1155 import ( OrgsOrgPersonalAccessTokensPatIdPostBodyType as OrgsOrgPersonalAccessTokensPatIdPostBodyType, ) + from .group_1155 import ( + OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse as OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse, + ) from .group_1156 import ( OrgPrivateRegistryConfigurationType as OrgPrivateRegistryConfigurationType, ) + from .group_1156 import ( + OrgPrivateRegistryConfigurationTypeForResponse as OrgPrivateRegistryConfigurationTypeForResponse, + ) from .group_1156 import ( OrgsOrgPrivateRegistriesGetResponse200Type as OrgsOrgPrivateRegistriesGetResponse200Type, ) + from .group_1156 import ( + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse as OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, + ) from .group_1157 import ( OrgsOrgPrivateRegistriesPostBodyType as OrgsOrgPrivateRegistriesPostBodyType, ) + from .group_1157 import ( + OrgsOrgPrivateRegistriesPostBodyTypeForResponse as OrgsOrgPrivateRegistriesPostBodyTypeForResponse, + ) from .group_1158 import ( OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type as OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, ) + from .group_1158 import ( + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse as OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, + ) from .group_1159 import ( OrgsOrgPrivateRegistriesSecretNamePatchBodyType as OrgsOrgPrivateRegistriesSecretNamePatchBodyType, ) + from .group_1159 import ( + OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse as OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse, + ) from .group_1160 import ( OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType as OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, ) + from .group_1160 import ( + OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse, + ) from .group_1161 import ( OrgsOrgProjectsV2ProjectNumberItemsPostBodyType as OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, ) + from .group_1161 import ( + OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse, + ) from .group_1162 import ( OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, ) + from .group_1162 import ( + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse, + ) from .group_1162 import ( OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, ) + from .group_1162 import ( + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse, + ) from .group_1163 import ( OrgsOrgPropertiesSchemaPatchBodyType as OrgsOrgPropertiesSchemaPatchBodyType, ) + from .group_1163 import ( + OrgsOrgPropertiesSchemaPatchBodyTypeForResponse as OrgsOrgPropertiesSchemaPatchBodyTypeForResponse, + ) from .group_1164 import ( OrgsOrgPropertiesValuesPatchBodyType as OrgsOrgPropertiesValuesPatchBodyType, ) + from .group_1164 import ( + OrgsOrgPropertiesValuesPatchBodyTypeForResponse as OrgsOrgPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1165 import ( OrgsOrgReposPostBodyPropCustomPropertiesType as OrgsOrgReposPostBodyPropCustomPropertiesType, ) + from .group_1165 import ( + OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse as OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse, + ) from .group_1165 import OrgsOrgReposPostBodyType as OrgsOrgReposPostBodyType + from .group_1165 import ( + OrgsOrgReposPostBodyTypeForResponse as OrgsOrgReposPostBodyTypeForResponse, + ) from .group_1166 import OrgsOrgRulesetsPostBodyType as OrgsOrgRulesetsPostBodyType + from .group_1166 import ( + OrgsOrgRulesetsPostBodyTypeForResponse as OrgsOrgRulesetsPostBodyTypeForResponse, + ) from .group_1167 import ( OrgsOrgRulesetsRulesetIdPutBodyType as OrgsOrgRulesetsRulesetIdPutBodyType, ) + from .group_1167 import ( + OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse as OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse, + ) + from .group_1168 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, + ) from .group_1168 import ( - OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse, ) from .group_1168 import ( OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, ) + from .group_1168 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse, + ) from .group_1168 import ( OrgsOrgSecretScanningPatternConfigurationsPatchBodyType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) + from .group_1168 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse, + ) from .group_1169 import ( OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type as OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, ) + from .group_1169 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, + ) from .group_1170 import ( OrgsOrgSettingsImmutableReleasesPutBodyType as OrgsOrgSettingsImmutableReleasesPutBodyType, ) + from .group_1170 import ( + OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse as OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse, + ) from .group_1171 import ( OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type as OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, ) + from .group_1171 import ( + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse as OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, + ) from .group_1172 import ( OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType as OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType, ) + from .group_1172 import ( + OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse as OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse, + ) from .group_1173 import ( OrgsOrgSettingsNetworkConfigurationsGetResponse200Type as OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, ) + from .group_1173 import ( + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse as OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, + ) from .group_1174 import ( OrgsOrgSettingsNetworkConfigurationsPostBodyType as OrgsOrgSettingsNetworkConfigurationsPostBodyType, ) + from .group_1174 import ( + OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse as OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse, + ) from .group_1175 import ( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType as OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, ) + from .group_1175 import ( + OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse as OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse, + ) from .group_1176 import OrgsOrgTeamsPostBodyType as OrgsOrgTeamsPostBodyType + from .group_1176 import ( + OrgsOrgTeamsPostBodyTypeForResponse as OrgsOrgTeamsPostBodyTypeForResponse, + ) from .group_1177 import ( OrgsOrgTeamsTeamSlugPatchBodyType as OrgsOrgTeamsTeamSlugPatchBodyType, ) + from .group_1177 import ( + OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse, + ) from .group_1178 import ( OrgsOrgTeamsTeamSlugDiscussionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, ) + from .group_1178 import ( + OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse, + ) from .group_1179 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType, ) + from .group_1179 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse, + ) from .group_1180 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, ) + from .group_1180 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse, + ) from .group_1181 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, ) + from .group_1181 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse, + ) from .group_1182 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, ) + from .group_1182 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse, + ) from .group_1183 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, ) + from .group_1183 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse, + ) from .group_1184 import ( OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType as OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType, ) + from .group_1184 import ( + OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyTypeForResponse, + ) from .group_1185 import ( OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType as OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType, ) + from .group_1185 import ( + OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse as OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse, + ) from .group_1186 import ( OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType as OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType, ) + from .group_1186 import ( + OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse as OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse, + ) from .group_1187 import ( OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type as OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type, ) + from .group_1187 import ( + OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse as OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse, + ) from .group_1188 import ( OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType as OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType, ) + from .group_1188 import ( + OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse as OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse, + ) from .group_1189 import ( OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType as OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType, ) + from .group_1189 import ( + OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse as OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse, + ) from .group_1189 import ( OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType as OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType, ) + from .group_1189 import ( + OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyTypeForResponse, + ) from .group_1190 import ( OrgsOrgSecurityProductEnablementPostBodyType as OrgsOrgSecurityProductEnablementPostBodyType, ) + from .group_1190 import ( + OrgsOrgSecurityProductEnablementPostBodyTypeForResponse as OrgsOrgSecurityProductEnablementPostBodyTypeForResponse, + ) from .group_1191 import ( ProjectsColumnsCardsCardIdDeleteResponse403Type as ProjectsColumnsCardsCardIdDeleteResponse403Type, ) + from .group_1191 import ( + ProjectsColumnsCardsCardIdDeleteResponse403TypeForResponse as ProjectsColumnsCardsCardIdDeleteResponse403TypeForResponse, + ) from .group_1192 import ( ProjectsColumnsCardsCardIdPatchBodyType as ProjectsColumnsCardsCardIdPatchBodyType, ) + from .group_1192 import ( + ProjectsColumnsCardsCardIdPatchBodyTypeForResponse as ProjectsColumnsCardsCardIdPatchBodyTypeForResponse, + ) from .group_1193 import ( ProjectsColumnsCardsCardIdMovesPostBodyType as ProjectsColumnsCardsCardIdMovesPostBodyType, ) + from .group_1193 import ( + ProjectsColumnsCardsCardIdMovesPostBodyTypeForResponse as ProjectsColumnsCardsCardIdMovesPostBodyTypeForResponse, + ) from .group_1194 import ( ProjectsColumnsCardsCardIdMovesPostResponse201Type as ProjectsColumnsCardsCardIdMovesPostResponse201Type, ) + from .group_1194 import ( + ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse as ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse, + ) from .group_1195 import ( ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType as ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType, ) + from .group_1195 import ( + ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse as ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse, + ) from .group_1195 import ( ProjectsColumnsCardsCardIdMovesPostResponse403Type as ProjectsColumnsCardsCardIdMovesPostResponse403Type, ) + from .group_1195 import ( + ProjectsColumnsCardsCardIdMovesPostResponse403TypeForResponse as ProjectsColumnsCardsCardIdMovesPostResponse403TypeForResponse, + ) from .group_1196 import ( ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType as ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType, ) + from .group_1196 import ( + ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse as ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse, + ) from .group_1196 import ( ProjectsColumnsCardsCardIdMovesPostResponse503Type as ProjectsColumnsCardsCardIdMovesPostResponse503Type, ) + from .group_1196 import ( + ProjectsColumnsCardsCardIdMovesPostResponse503TypeForResponse as ProjectsColumnsCardsCardIdMovesPostResponse503TypeForResponse, + ) from .group_1197 import ( ProjectsColumnsColumnIdPatchBodyType as ProjectsColumnsColumnIdPatchBodyType, ) + from .group_1197 import ( + ProjectsColumnsColumnIdPatchBodyTypeForResponse as ProjectsColumnsColumnIdPatchBodyTypeForResponse, + ) from .group_1198 import ( ProjectsColumnsColumnIdCardsPostBodyOneof0Type as ProjectsColumnsColumnIdCardsPostBodyOneof0Type, ) + from .group_1198 import ( + ProjectsColumnsColumnIdCardsPostBodyOneof0TypeForResponse as ProjectsColumnsColumnIdCardsPostBodyOneof0TypeForResponse, + ) from .group_1199 import ( ProjectsColumnsColumnIdCardsPostBodyOneof1Type as ProjectsColumnsColumnIdCardsPostBodyOneof1Type, ) + from .group_1199 import ( + ProjectsColumnsColumnIdCardsPostBodyOneof1TypeForResponse as ProjectsColumnsColumnIdCardsPostBodyOneof1TypeForResponse, + ) from .group_1200 import ( ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType as ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType, ) + from .group_1200 import ( + ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse as ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse, + ) from .group_1200 import ( ProjectsColumnsColumnIdCardsPostResponse503Type as ProjectsColumnsColumnIdCardsPostResponse503Type, ) + from .group_1200 import ( + ProjectsColumnsColumnIdCardsPostResponse503TypeForResponse as ProjectsColumnsColumnIdCardsPostResponse503TypeForResponse, + ) from .group_1201 import ( ProjectsColumnsColumnIdMovesPostBodyType as ProjectsColumnsColumnIdMovesPostBodyType, ) + from .group_1201 import ( + ProjectsColumnsColumnIdMovesPostBodyTypeForResponse as ProjectsColumnsColumnIdMovesPostBodyTypeForResponse, + ) from .group_1202 import ( ProjectsColumnsColumnIdMovesPostResponse201Type as ProjectsColumnsColumnIdMovesPostResponse201Type, ) + from .group_1202 import ( + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse as ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, + ) from .group_1203 import ( ProjectsProjectIdCollaboratorsUsernamePutBodyType as ProjectsProjectIdCollaboratorsUsernamePutBodyType, ) + from .group_1203 import ( + ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse as ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_1204 import ( ReposOwnerRepoDeleteResponse403Type as ReposOwnerRepoDeleteResponse403Type, ) + from .group_1204 import ( + ReposOwnerRepoDeleteResponse403TypeForResponse as ReposOwnerRepoDeleteResponse403TypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType, ) + from .group_1205 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse, + ) from .group_1205 import ReposOwnerRepoPatchBodyType as ReposOwnerRepoPatchBodyType + from .group_1205 import ( + ReposOwnerRepoPatchBodyTypeForResponse as ReposOwnerRepoPatchBodyTypeForResponse, + ) from .group_1206 import ( ReposOwnerRepoActionsArtifactsGetResponse200Type as ReposOwnerRepoActionsArtifactsGetResponse200Type, ) + from .group_1206 import ( + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse as ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, + ) from .group_1207 import ( ReposOwnerRepoActionsJobsJobIdRerunPostBodyType as ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, ) + from .group_1207 import ( + ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse as ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse, + ) from .group_1208 import ( ReposOwnerRepoActionsOidcCustomizationSubPutBodyType as ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, ) + from .group_1208 import ( + ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse as ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse, + ) from .group_1209 import ( ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type as ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, ) + from .group_1209 import ( + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse as ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, + ) from .group_1210 import ( ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type as ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, ) + from .group_1210 import ( + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse as ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, + ) from .group_1211 import ( ReposOwnerRepoActionsPermissionsPutBodyType as ReposOwnerRepoActionsPermissionsPutBodyType, ) + from .group_1211 import ( + ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse as ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse, + ) from .group_1212 import ( ReposOwnerRepoActionsRunnersGetResponse200Type as ReposOwnerRepoActionsRunnersGetResponse200Type, ) + from .group_1212 import ( + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse as ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, + ) from .group_1213 import ( ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType as ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) + from .group_1213 import ( + ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse as ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse, + ) from .group_1214 import ( ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType as ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) + from .group_1214 import ( + ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse as ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse, + ) from .group_1215 import ( ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType as ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) + from .group_1215 import ( + ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse as ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse, + ) from .group_1216 import ( ReposOwnerRepoActionsRunsGetResponse200Type as ReposOwnerRepoActionsRunsGetResponse200Type, ) + from .group_1216 import ( + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, + ) from .group_1217 import ( ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, ) + from .group_1217 import ( + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, + ) from .group_1218 import ( ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, ) + from .group_1218 import ( + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, + ) from .group_1219 import ( ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, ) + from .group_1219 import ( + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, + ) from .group_1220 import ( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType as ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, ) + from .group_1220 import ( + ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse, + ) from .group_1221 import ( ReposOwnerRepoActionsRunsRunIdRerunPostBodyType as ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, ) + from .group_1221 import ( + ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse, + ) from .group_1222 import ( ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType as ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, ) + from .group_1222 import ( + ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse, + ) from .group_1223 import ( ReposOwnerRepoActionsSecretsGetResponse200Type as ReposOwnerRepoActionsSecretsGetResponse200Type, ) + from .group_1223 import ( + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse as ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, + ) from .group_1224 import ( ReposOwnerRepoActionsSecretsSecretNamePutBodyType as ReposOwnerRepoActionsSecretsSecretNamePutBodyType, ) + from .group_1224 import ( + ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1225 import ( ReposOwnerRepoActionsVariablesGetResponse200Type as ReposOwnerRepoActionsVariablesGetResponse200Type, ) + from .group_1225 import ( + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse as ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, + ) from .group_1226 import ( ReposOwnerRepoActionsVariablesPostBodyType as ReposOwnerRepoActionsVariablesPostBodyType, ) + from .group_1226 import ( + ReposOwnerRepoActionsVariablesPostBodyTypeForResponse as ReposOwnerRepoActionsVariablesPostBodyTypeForResponse, + ) from .group_1227 import ( ReposOwnerRepoActionsVariablesNamePatchBodyType as ReposOwnerRepoActionsVariablesNamePatchBodyType, ) + from .group_1227 import ( + ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse as ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse, + ) from .group_1228 import ( ReposOwnerRepoActionsWorkflowsGetResponse200Type as ReposOwnerRepoActionsWorkflowsGetResponse200Type, ) + from .group_1228 import ( + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse as ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, + ) from .group_1228 import WorkflowType as WorkflowType + from .group_1228 import WorkflowTypeForResponse as WorkflowTypeForResponse from .group_1229 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType, ) + from .group_1229 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse, + ) from .group_1229 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType, ) + from .group_1229 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse, + ) from .group_1230 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type as ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, ) + from .group_1230 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, + ) from .group_1231 import ( ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType as ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType, ) + from .group_1231 import ( + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1231 import ( ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType as ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType, ) + from .group_1231 import ( + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1231 import ( ReposOwnerRepoAttestationsPostBodyPropBundleType as ReposOwnerRepoAttestationsPostBodyPropBundleType, ) + from .group_1231 import ( + ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse, + ) from .group_1231 import ( ReposOwnerRepoAttestationsPostBodyType as ReposOwnerRepoAttestationsPostBodyType, ) + from .group_1231 import ( + ReposOwnerRepoAttestationsPostBodyTypeForResponse as ReposOwnerRepoAttestationsPostBodyTypeForResponse, + ) from .group_1232 import ( ReposOwnerRepoAttestationsPostResponse201Type as ReposOwnerRepoAttestationsPostResponse201Type, ) + from .group_1232 import ( + ReposOwnerRepoAttestationsPostResponse201TypeForResponse as ReposOwnerRepoAttestationsPostResponse201TypeForResponse, + ) from .group_1233 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_1233 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1233 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_1233 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1233 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_1233 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_1233 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_1233 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_1233 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type as ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, ) + from .group_1233 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_1234 import ( ReposOwnerRepoAutolinksPostBodyType as ReposOwnerRepoAutolinksPostBodyType, ) + from .group_1234 import ( + ReposOwnerRepoAutolinksPostBodyTypeForResponse as ReposOwnerRepoAutolinksPostBodyTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse, + ) from .group_1235 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyType as ReposOwnerRepoBranchesBranchProtectionPutBodyType, ) + from .group_1235 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse, + ) from .group_1236 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType, ) + from .group_1236 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_1236 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType, ) + from .group_1236 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse, + ) from .group_1236 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType, ) + from .group_1236 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse, + ) from .group_1237 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType, ) + from .group_1237 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse, + ) from .group_1237 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType, ) + from .group_1237 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse, + ) from .group_1238 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type, ) + from .group_1238 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse, + ) from .group_1239 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type, ) + from .group_1239 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse, + ) from .group_1240 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type, ) + from .group_1240 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse, + ) from .group_1241 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) + from .group_1241 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse, + ) from .group_1242 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) + from .group_1242 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse, + ) from .group_1243 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) + from .group_1243 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse, + ) from .group_1244 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type, ) + from .group_1244 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse, + ) from .group_1245 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type, ) + from .group_1245 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse, + ) from .group_1246 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type, ) + from .group_1246 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse, + ) from .group_1247 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, ) + from .group_1247 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse, + ) from .group_1248 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, ) + from .group_1248 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse, + ) from .group_1249 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, ) + from .group_1249 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse, + ) from .group_1250 import ( ReposOwnerRepoBranchesBranchRenamePostBodyType as ReposOwnerRepoBranchesBranchRenamePostBodyType, ) + from .group_1250 import ( + ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse as ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse, + ) from .group_1251 import ( ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType as ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType, ) + from .group_1251 import ( + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyTypeForResponse as ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyTypeForResponse, + ) from .group_1252 import ( ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type as ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type, ) + from .group_1252 import ( + ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse as ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse, + ) from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType as ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, ) + from .group_1253 import ( + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, + ) from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType as ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType, ) + from .group_1253 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse, + ) from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType as ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType, ) + from .group_1253 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse, + ) from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputType as ReposOwnerRepoCheckRunsPostBodyPropOutputType, ) + from .group_1253 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, + ) from .group_1254 import ( ReposOwnerRepoCheckRunsPostBodyOneof0Type as ReposOwnerRepoCheckRunsPostBodyOneof0Type, ) + from .group_1254 import ( + ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse as ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse, + ) from .group_1255 import ( ReposOwnerRepoCheckRunsPostBodyOneof1Type as ReposOwnerRepoCheckRunsPostBodyOneof1Type, ) + from .group_1255 import ( + ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse as ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse, + ) from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, ) + from .group_1256 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, + ) from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType, ) + from .group_1256 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse, + ) from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType, ) + from .group_1256 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse, + ) from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, ) + from .group_1256 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, + ) from .group_1257 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ) + from .group_1257 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse, + ) from .group_1258 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ) + from .group_1258 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse, + ) from .group_1259 import ( ReposOwnerRepoCheckSuitesPostBodyType as ReposOwnerRepoCheckSuitesPostBodyType, ) + from .group_1259 import ( + ReposOwnerRepoCheckSuitesPostBodyTypeForResponse as ReposOwnerRepoCheckSuitesPostBodyTypeForResponse, + ) from .group_1260 import ( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType as ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType, ) + from .group_1260 import ( + ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse as ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse, + ) from .group_1260 import ( ReposOwnerRepoCheckSuitesPreferencesPatchBodyType as ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, ) + from .group_1260 import ( + ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse as ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse, + ) from .group_1261 import ( ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type as ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, ) + from .group_1261 import ( + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse as ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, + ) from .group_1262 import ( ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType as ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, ) + from .group_1262 import ( + ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse, + ) from .group_1263 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type, ) + from .group_1263 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse, + ) from .group_1264 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ) + from .group_1264 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse, + ) from .group_1265 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ) + from .group_1265 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse, + ) from .group_1266 import ( ReposOwnerRepoCodeScanningSarifsPostBodyType as ReposOwnerRepoCodeScanningSarifsPostBodyType, ) + from .group_1266 import ( + ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse as ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse, + ) from .group_1267 import ( ReposOwnerRepoCodespacesGetResponse200Type as ReposOwnerRepoCodespacesGetResponse200Type, ) + from .group_1267 import ( + ReposOwnerRepoCodespacesGetResponse200TypeForResponse as ReposOwnerRepoCodespacesGetResponse200TypeForResponse, + ) from .group_1268 import ( ReposOwnerRepoCodespacesPostBodyType as ReposOwnerRepoCodespacesPostBodyType, ) + from .group_1268 import ( + ReposOwnerRepoCodespacesPostBodyTypeForResponse as ReposOwnerRepoCodespacesPostBodyTypeForResponse, + ) from .group_1269 import ( ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType as ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType, ) + from .group_1269 import ( + ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse as ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse, + ) from .group_1269 import ( ReposOwnerRepoCodespacesDevcontainersGetResponse200Type as ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, ) + from .group_1269 import ( + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse as ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, + ) from .group_1270 import ( ReposOwnerRepoCodespacesMachinesGetResponse200Type as ReposOwnerRepoCodespacesMachinesGetResponse200Type, ) + from .group_1270 import ( + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse as ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, + ) from .group_1271 import ( ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType as ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType, ) + from .group_1271 import ( + ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse as ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse, + ) from .group_1271 import ( ReposOwnerRepoCodespacesNewGetResponse200Type as ReposOwnerRepoCodespacesNewGetResponse200Type, ) + from .group_1271 import ( + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse as ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, + ) from .group_1272 import RepoCodespacesSecretType as RepoCodespacesSecretType + from .group_1272 import ( + RepoCodespacesSecretTypeForResponse as RepoCodespacesSecretTypeForResponse, + ) from .group_1272 import ( ReposOwnerRepoCodespacesSecretsGetResponse200Type as ReposOwnerRepoCodespacesSecretsGetResponse200Type, ) + from .group_1272 import ( + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse as ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_1273 import ( ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType as ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, ) + from .group_1273 import ( + ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1274 import ( ReposOwnerRepoCollaboratorsUsernamePutBodyType as ReposOwnerRepoCollaboratorsUsernamePutBodyType, ) + from .group_1274 import ( + ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse as ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_1275 import ( ReposOwnerRepoCommentsCommentIdPatchBodyType as ReposOwnerRepoCommentsCommentIdPatchBodyType, ) + from .group_1275 import ( + ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1276 import ( ReposOwnerRepoCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, ) + from .group_1276 import ( + ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1277 import ( ReposOwnerRepoCommitsCommitShaCommentsPostBodyType as ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, ) + from .group_1277 import ( + ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse as ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse, + ) from .group_1278 import ( ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type as ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, ) + from .group_1278 import ( + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse as ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, + ) from .group_1279 import ( ReposOwnerRepoContentsPathPutBodyPropAuthorType as ReposOwnerRepoContentsPathPutBodyPropAuthorType, ) + from .group_1279 import ( + ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse as ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse, + ) from .group_1279 import ( ReposOwnerRepoContentsPathPutBodyPropCommitterType as ReposOwnerRepoContentsPathPutBodyPropCommitterType, ) + from .group_1279 import ( + ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse as ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse, + ) from .group_1279 import ( ReposOwnerRepoContentsPathPutBodyType as ReposOwnerRepoContentsPathPutBodyType, ) + from .group_1279 import ( + ReposOwnerRepoContentsPathPutBodyTypeForResponse as ReposOwnerRepoContentsPathPutBodyTypeForResponse, + ) from .group_1280 import ( ReposOwnerRepoContentsPathDeleteBodyPropAuthorType as ReposOwnerRepoContentsPathDeleteBodyPropAuthorType, ) + from .group_1280 import ( + ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse, + ) from .group_1280 import ( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType as ReposOwnerRepoContentsPathDeleteBodyPropCommitterType, ) + from .group_1280 import ( + ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse, + ) from .group_1280 import ( ReposOwnerRepoContentsPathDeleteBodyType as ReposOwnerRepoContentsPathDeleteBodyType, ) + from .group_1280 import ( + ReposOwnerRepoContentsPathDeleteBodyTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyTypeForResponse, + ) from .group_1281 import ( ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType as ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, ) + from .group_1281 import ( + ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse, + ) from .group_1282 import DependabotSecretType as DependabotSecretType + from .group_1282 import ( + DependabotSecretTypeForResponse as DependabotSecretTypeForResponse, + ) from .group_1282 import ( ReposOwnerRepoDependabotSecretsGetResponse200Type as ReposOwnerRepoDependabotSecretsGetResponse200Type, ) + from .group_1282 import ( + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse as ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, + ) from .group_1283 import ( ReposOwnerRepoDependabotSecretsSecretNamePutBodyType as ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, ) + from .group_1283 import ( + ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1284 import ( ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type as ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, ) + from .group_1284 import ( + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse as ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, + ) from .group_1285 import ( ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type as ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type, ) + from .group_1285 import ( + ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse as ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse, + ) from .group_1285 import ( ReposOwnerRepoDeploymentsPostBodyType as ReposOwnerRepoDeploymentsPostBodyType, ) + from .group_1285 import ( + ReposOwnerRepoDeploymentsPostBodyTypeForResponse as ReposOwnerRepoDeploymentsPostBodyTypeForResponse, + ) from .group_1286 import ( ReposOwnerRepoDeploymentsPostResponse202Type as ReposOwnerRepoDeploymentsPostResponse202Type, ) + from .group_1286 import ( + ReposOwnerRepoDeploymentsPostResponse202TypeForResponse as ReposOwnerRepoDeploymentsPostResponse202TypeForResponse, + ) from .group_1287 import ( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType as ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, ) + from .group_1287 import ( + ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse as ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse, + ) from .group_1288 import ( ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType as ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType, ) + from .group_1288 import ( + ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyTypeForResponse, + ) from .group_1289 import ( ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType as ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType, ) + from .group_1289 import ( + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyTypeForResponse, + ) from .group_1290 import ( ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type as ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type, ) + from .group_1290 import ( + ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse as ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse, + ) from .group_1291 import ( ReposOwnerRepoDispatchesPostBodyPropClientPayloadType as ReposOwnerRepoDispatchesPostBodyPropClientPayloadType, ) + from .group_1291 import ( + ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse as ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse, + ) from .group_1291 import ( ReposOwnerRepoDispatchesPostBodyType as ReposOwnerRepoDispatchesPostBodyType, ) + from .group_1291 import ( + ReposOwnerRepoDispatchesPostBodyTypeForResponse as ReposOwnerRepoDispatchesPostBodyTypeForResponse, + ) from .group_1292 import ( ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType, ) + from .group_1292 import ( + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse, + ) from .group_1292 import ( ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, ) + from .group_1292 import ( + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse, + ) from .group_1293 import DeploymentBranchPolicyType as DeploymentBranchPolicyType + from .group_1293 import ( + DeploymentBranchPolicyTypeForResponse as DeploymentBranchPolicyTypeForResponse, + ) from .group_1293 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, ) + from .group_1293 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, + ) from .group_1294 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, ) + from .group_1294 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse, + ) from .group_1295 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, ) + from .group_1295 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, + ) from .group_1296 import ( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, ) + from .group_1296 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, + ) from .group_1297 import ( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, ) + from .group_1297 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1298 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, ) + from .group_1298 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, + ) from .group_1299 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, ) + from .group_1299 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse, + ) from .group_1300 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType, ) + from .group_1300 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse, + ) from .group_1301 import ( ReposOwnerRepoForksPostBodyType as ReposOwnerRepoForksPostBodyType, ) + from .group_1301 import ( + ReposOwnerRepoForksPostBodyTypeForResponse as ReposOwnerRepoForksPostBodyTypeForResponse, + ) from .group_1302 import ( ReposOwnerRepoGitBlobsPostBodyType as ReposOwnerRepoGitBlobsPostBodyType, ) + from .group_1302 import ( + ReposOwnerRepoGitBlobsPostBodyTypeForResponse as ReposOwnerRepoGitBlobsPostBodyTypeForResponse, + ) from .group_1303 import ( ReposOwnerRepoGitCommitsPostBodyPropAuthorType as ReposOwnerRepoGitCommitsPostBodyPropAuthorType, ) + from .group_1303 import ( + ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse as ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse, + ) from .group_1303 import ( ReposOwnerRepoGitCommitsPostBodyPropCommitterType as ReposOwnerRepoGitCommitsPostBodyPropCommitterType, ) + from .group_1303 import ( + ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse as ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse, + ) from .group_1303 import ( ReposOwnerRepoGitCommitsPostBodyType as ReposOwnerRepoGitCommitsPostBodyType, ) + from .group_1303 import ( + ReposOwnerRepoGitCommitsPostBodyTypeForResponse as ReposOwnerRepoGitCommitsPostBodyTypeForResponse, + ) from .group_1304 import ( ReposOwnerRepoGitRefsPostBodyType as ReposOwnerRepoGitRefsPostBodyType, ) + from .group_1304 import ( + ReposOwnerRepoGitRefsPostBodyTypeForResponse as ReposOwnerRepoGitRefsPostBodyTypeForResponse, + ) from .group_1305 import ( ReposOwnerRepoGitRefsRefPatchBodyType as ReposOwnerRepoGitRefsRefPatchBodyType, ) + from .group_1305 import ( + ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse as ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse, + ) from .group_1306 import ( ReposOwnerRepoGitTagsPostBodyPropTaggerType as ReposOwnerRepoGitTagsPostBodyPropTaggerType, ) + from .group_1306 import ( + ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse as ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse, + ) from .group_1306 import ( ReposOwnerRepoGitTagsPostBodyType as ReposOwnerRepoGitTagsPostBodyType, ) + from .group_1306 import ( + ReposOwnerRepoGitTagsPostBodyTypeForResponse as ReposOwnerRepoGitTagsPostBodyTypeForResponse, + ) from .group_1307 import ( ReposOwnerRepoGitTreesPostBodyPropTreeItemsType as ReposOwnerRepoGitTreesPostBodyPropTreeItemsType, ) + from .group_1307 import ( + ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse as ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse, + ) from .group_1307 import ( ReposOwnerRepoGitTreesPostBodyType as ReposOwnerRepoGitTreesPostBodyType, ) + from .group_1307 import ( + ReposOwnerRepoGitTreesPostBodyTypeForResponse as ReposOwnerRepoGitTreesPostBodyTypeForResponse, + ) from .group_1308 import ( ReposOwnerRepoHooksPostBodyPropConfigType as ReposOwnerRepoHooksPostBodyPropConfigType, ) + from .group_1308 import ( + ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse as ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse, + ) from .group_1308 import ( ReposOwnerRepoHooksPostBodyType as ReposOwnerRepoHooksPostBodyType, ) + from .group_1308 import ( + ReposOwnerRepoHooksPostBodyTypeForResponse as ReposOwnerRepoHooksPostBodyTypeForResponse, + ) from .group_1309 import ( ReposOwnerRepoHooksHookIdPatchBodyType as ReposOwnerRepoHooksHookIdPatchBodyType, ) + from .group_1309 import ( + ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse as ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse, + ) from .group_1310 import ( ReposOwnerRepoHooksHookIdConfigPatchBodyType as ReposOwnerRepoHooksHookIdConfigPatchBodyType, ) + from .group_1310 import ( + ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse as ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse, + ) from .group_1311 import ( ReposOwnerRepoImportPutBodyType as ReposOwnerRepoImportPutBodyType, ) + from .group_1311 import ( + ReposOwnerRepoImportPutBodyTypeForResponse as ReposOwnerRepoImportPutBodyTypeForResponse, + ) from .group_1312 import ( ReposOwnerRepoImportPatchBodyType as ReposOwnerRepoImportPatchBodyType, ) + from .group_1312 import ( + ReposOwnerRepoImportPatchBodyTypeForResponse as ReposOwnerRepoImportPatchBodyTypeForResponse, + ) from .group_1313 import ( ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType as ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType, ) + from .group_1313 import ( + ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse as ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse, + ) from .group_1314 import ( ReposOwnerRepoImportLfsPatchBodyType as ReposOwnerRepoImportLfsPatchBodyType, ) + from .group_1314 import ( + ReposOwnerRepoImportLfsPatchBodyTypeForResponse as ReposOwnerRepoImportLfsPatchBodyTypeForResponse, + ) from .group_1315 import ( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type as ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, ) + from .group_1315 import ( + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse as ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_1316 import ( ReposOwnerRepoInvitationsInvitationIdPatchBodyType as ReposOwnerRepoInvitationsInvitationIdPatchBodyType, ) + from .group_1316 import ( + ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse as ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse, + ) from .group_1317 import ( ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type as ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type, ) + from .group_1317 import ( + ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse as ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse, + ) from .group_1317 import ( ReposOwnerRepoIssuesPostBodyType as ReposOwnerRepoIssuesPostBodyType, ) + from .group_1317 import ( + ReposOwnerRepoIssuesPostBodyTypeForResponse as ReposOwnerRepoIssuesPostBodyTypeForResponse, + ) from .group_1318 import ( ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType as ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, ) + from .group_1318 import ( + ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1319 import ( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, ) + from .group_1319 import ( + ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1320 import ( ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type as ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type, ) + from .group_1320 import ( + ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse as ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse, + ) from .group_1320 import ( ReposOwnerRepoIssuesIssueNumberPatchBodyType as ReposOwnerRepoIssuesIssueNumberPatchBodyType, ) + from .group_1320 import ( + ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse, + ) from .group_1321 import ( ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType as ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType, ) + from .group_1321 import ( + ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse, + ) from .group_1322 import ( ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType as ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType, ) + from .group_1322 import ( + ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse, + ) from .group_1323 import ( ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType as ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, ) + from .group_1323 import ( + ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse, + ) from .group_1324 import ( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType as ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, ) + from .group_1324 import ( + ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse, + ) from .group_1325 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type, ) + from .group_1325 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse, + ) from .group_1326 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType, ) + from .group_1326 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse, + ) from .group_1326 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type, ) + from .group_1326 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse, + ) from .group_1327 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType, ) + from .group_1327 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse, + ) from .group_1328 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type, ) + from .group_1328 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse, + ) from .group_1329 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType, ) + from .group_1329 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse, + ) from .group_1329 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type, ) + from .group_1329 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse, + ) from .group_1330 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType, ) + from .group_1330 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse, + ) from .group_1331 import ( ReposOwnerRepoIssuesIssueNumberLockPutBodyType as ReposOwnerRepoIssuesIssueNumberLockPutBodyType, ) + from .group_1331 import ( + ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse, + ) from .group_1332 import ( ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType as ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, ) + from .group_1332 import ( + ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse, + ) from .group_1333 import ( ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType as ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, ) + from .group_1333 import ( + ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse, + ) from .group_1334 import ( ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType as ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, ) + from .group_1334 import ( + ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse, + ) from .group_1335 import ( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType as ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, ) + from .group_1335 import ( + ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse, + ) from .group_1336 import ( ReposOwnerRepoKeysPostBodyType as ReposOwnerRepoKeysPostBodyType, ) + from .group_1336 import ( + ReposOwnerRepoKeysPostBodyTypeForResponse as ReposOwnerRepoKeysPostBodyTypeForResponse, + ) from .group_1337 import ( ReposOwnerRepoLabelsPostBodyType as ReposOwnerRepoLabelsPostBodyType, ) + from .group_1337 import ( + ReposOwnerRepoLabelsPostBodyTypeForResponse as ReposOwnerRepoLabelsPostBodyTypeForResponse, + ) from .group_1338 import ( ReposOwnerRepoLabelsNamePatchBodyType as ReposOwnerRepoLabelsNamePatchBodyType, ) + from .group_1338 import ( + ReposOwnerRepoLabelsNamePatchBodyTypeForResponse as ReposOwnerRepoLabelsNamePatchBodyTypeForResponse, + ) from .group_1339 import ( ReposOwnerRepoMergeUpstreamPostBodyType as ReposOwnerRepoMergeUpstreamPostBodyType, ) + from .group_1339 import ( + ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse as ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse, + ) from .group_1340 import ( ReposOwnerRepoMergesPostBodyType as ReposOwnerRepoMergesPostBodyType, ) + from .group_1340 import ( + ReposOwnerRepoMergesPostBodyTypeForResponse as ReposOwnerRepoMergesPostBodyTypeForResponse, + ) from .group_1341 import ( ReposOwnerRepoMilestonesPostBodyType as ReposOwnerRepoMilestonesPostBodyType, ) + from .group_1341 import ( + ReposOwnerRepoMilestonesPostBodyTypeForResponse as ReposOwnerRepoMilestonesPostBodyTypeForResponse, + ) from .group_1342 import ( ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType as ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType, ) + from .group_1342 import ( + ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse as ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse, + ) from .group_1343 import ( ReposOwnerRepoNotificationsPutBodyType as ReposOwnerRepoNotificationsPutBodyType, ) + from .group_1343 import ( + ReposOwnerRepoNotificationsPutBodyTypeForResponse as ReposOwnerRepoNotificationsPutBodyTypeForResponse, + ) from .group_1344 import ( ReposOwnerRepoNotificationsPutResponse202Type as ReposOwnerRepoNotificationsPutResponse202Type, ) + from .group_1344 import ( + ReposOwnerRepoNotificationsPutResponse202TypeForResponse as ReposOwnerRepoNotificationsPutResponse202TypeForResponse, + ) from .group_1345 import ( ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type as ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, ) + from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse as ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ) from .group_1346 import ( ReposOwnerRepoPagesPutBodyAnyof0Type as ReposOwnerRepoPagesPutBodyAnyof0Type, ) + from .group_1346 import ( + ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse, + ) from .group_1347 import ( ReposOwnerRepoPagesPutBodyAnyof1Type as ReposOwnerRepoPagesPutBodyAnyof1Type, ) + from .group_1347 import ( + ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse, + ) from .group_1348 import ( ReposOwnerRepoPagesPutBodyAnyof2Type as ReposOwnerRepoPagesPutBodyAnyof2Type, ) + from .group_1348 import ( + ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse, + ) from .group_1349 import ( ReposOwnerRepoPagesPutBodyAnyof3Type as ReposOwnerRepoPagesPutBodyAnyof3Type, ) + from .group_1349 import ( + ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse, + ) from .group_1350 import ( ReposOwnerRepoPagesPutBodyAnyof4Type as ReposOwnerRepoPagesPutBodyAnyof4Type, ) + from .group_1350 import ( + ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse, + ) from .group_1351 import ( ReposOwnerRepoPagesPostBodyPropSourceType as ReposOwnerRepoPagesPostBodyPropSourceType, ) + from .group_1351 import ( + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse as ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, + ) from .group_1352 import ( ReposOwnerRepoPagesPostBodyAnyof0Type as ReposOwnerRepoPagesPostBodyAnyof0Type, ) + from .group_1352 import ( + ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse as ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse, + ) from .group_1353 import ( ReposOwnerRepoPagesPostBodyAnyof1Type as ReposOwnerRepoPagesPostBodyAnyof1Type, ) + from .group_1353 import ( + ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse as ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse, + ) from .group_1354 import ( ReposOwnerRepoPagesDeploymentsPostBodyType as ReposOwnerRepoPagesDeploymentsPostBodyType, ) + from .group_1354 import ( + ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse as ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse, + ) from .group_1355 import ( ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type as ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, ) + from .group_1355 import ( + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse as ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, + ) from .group_1356 import ( ReposOwnerRepoPropertiesValuesPatchBodyType as ReposOwnerRepoPropertiesValuesPatchBodyType, ) + from .group_1356 import ( + ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse as ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1357 import ( ReposOwnerRepoPullsPostBodyType as ReposOwnerRepoPullsPostBodyType, ) + from .group_1357 import ( + ReposOwnerRepoPullsPostBodyTypeForResponse as ReposOwnerRepoPullsPostBodyTypeForResponse, + ) from .group_1358 import ( ReposOwnerRepoPullsCommentsCommentIdPatchBodyType as ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, ) + from .group_1358 import ( + ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1359 import ( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, ) + from .group_1359 import ( + ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1360 import ( ReposOwnerRepoPullsPullNumberPatchBodyType as ReposOwnerRepoPullsPullNumberPatchBodyType, ) + from .group_1360 import ( + ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse as ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse, + ) from .group_1361 import ( ReposOwnerRepoPullsPullNumberCodespacesPostBodyType as ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, ) + from .group_1361 import ( + ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse, + ) from .group_1362 import ( ReposOwnerRepoPullsPullNumberCommentsPostBodyType as ReposOwnerRepoPullsPullNumberCommentsPostBodyType, ) + from .group_1362 import ( + ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse, + ) from .group_1363 import ( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType as ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, ) + from .group_1363 import ( + ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse, + ) from .group_1364 import ( ReposOwnerRepoPullsPullNumberMergePutBodyType as ReposOwnerRepoPullsPullNumberMergePutBodyType, ) + from .group_1364 import ( + ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse, + ) from .group_1365 import ( ReposOwnerRepoPullsPullNumberMergePutResponse405Type as ReposOwnerRepoPullsPullNumberMergePutResponse405Type, ) + from .group_1365 import ( + ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse as ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse, + ) from .group_1366 import ( ReposOwnerRepoPullsPullNumberMergePutResponse409Type as ReposOwnerRepoPullsPullNumberMergePutResponse409Type, ) + from .group_1366 import ( + ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse as ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse, + ) from .group_1367 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type, ) + from .group_1367 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse, + ) from .group_1368 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ) + from .group_1368 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse, + ) from .group_1369 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType as ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, ) + from .group_1369 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse, + ) from .group_1370 import ( ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType as ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType, ) + from .group_1370 import ( + ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse, + ) from .group_1370 import ( ReposOwnerRepoPullsPullNumberReviewsPostBodyType as ReposOwnerRepoPullsPullNumberReviewsPostBodyType, ) + from .group_1370 import ( + ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse, + ) from .group_1371 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, ) + from .group_1371 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse, + ) from .group_1372 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, ) + from .group_1372 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse, + ) from .group_1373 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, ) + from .group_1373 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse, + ) from .group_1374 import ( ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType as ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType, ) + from .group_1374 import ( + ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse, + ) from .group_1375 import ( ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type as ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, ) + from .group_1375 import ( + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse as ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, + ) from .group_1376 import ( ReposOwnerRepoReleasesPostBodyType as ReposOwnerRepoReleasesPostBodyType, ) + from .group_1376 import ( + ReposOwnerRepoReleasesPostBodyTypeForResponse as ReposOwnerRepoReleasesPostBodyTypeForResponse, + ) from .group_1377 import ( ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType as ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType, ) + from .group_1377 import ( + ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse as ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse, + ) from .group_1378 import ( ReposOwnerRepoReleasesGenerateNotesPostBodyType as ReposOwnerRepoReleasesGenerateNotesPostBodyType, ) + from .group_1378 import ( + ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse as ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse, + ) from .group_1379 import ( ReposOwnerRepoReleasesReleaseIdPatchBodyType as ReposOwnerRepoReleasesReleaseIdPatchBodyType, ) + from .group_1379 import ( + ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse as ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse, + ) from .group_1380 import ( ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType as ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, ) + from .group_1380 import ( + ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse as ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse, + ) from .group_1381 import ( ReposOwnerRepoRulesetsPostBodyType as ReposOwnerRepoRulesetsPostBodyType, ) + from .group_1381 import ( + ReposOwnerRepoRulesetsPostBodyTypeForResponse as ReposOwnerRepoRulesetsPostBodyTypeForResponse, + ) from .group_1382 import ( ReposOwnerRepoRulesetsRulesetIdPutBodyType as ReposOwnerRepoRulesetsRulesetIdPutBodyType, ) + from .group_1382 import ( + ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse as ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse, + ) from .group_1383 import ( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, ) + from .group_1383 import ( + ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse, + ) from .group_1384 import ( ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType as ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) + from .group_1384 import ( + ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse as ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse, + ) from .group_1385 import ( ReposOwnerRepoStatusesShaPostBodyType as ReposOwnerRepoStatusesShaPostBodyType, ) + from .group_1385 import ( + ReposOwnerRepoStatusesShaPostBodyTypeForResponse as ReposOwnerRepoStatusesShaPostBodyTypeForResponse, + ) from .group_1386 import ( ReposOwnerRepoSubscriptionPutBodyType as ReposOwnerRepoSubscriptionPutBodyType, ) + from .group_1386 import ( + ReposOwnerRepoSubscriptionPutBodyTypeForResponse as ReposOwnerRepoSubscriptionPutBodyTypeForResponse, + ) from .group_1387 import ( ReposOwnerRepoTagsProtectionPostBodyType as ReposOwnerRepoTagsProtectionPostBodyType, ) + from .group_1387 import ( + ReposOwnerRepoTagsProtectionPostBodyTypeForResponse as ReposOwnerRepoTagsProtectionPostBodyTypeForResponse, + ) from .group_1388 import ( ReposOwnerRepoTopicsPutBodyType as ReposOwnerRepoTopicsPutBodyType, ) + from .group_1388 import ( + ReposOwnerRepoTopicsPutBodyTypeForResponse as ReposOwnerRepoTopicsPutBodyTypeForResponse, + ) from .group_1389 import ( ReposOwnerRepoTransferPostBodyType as ReposOwnerRepoTransferPostBodyType, ) + from .group_1389 import ( + ReposOwnerRepoTransferPostBodyTypeForResponse as ReposOwnerRepoTransferPostBodyTypeForResponse, + ) from .group_1390 import ( ReposTemplateOwnerTemplateRepoGeneratePostBodyType as ReposTemplateOwnerTemplateRepoGeneratePostBodyType, ) + from .group_1390 import ( + ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse as ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse, + ) from .group_1391 import ( ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType as ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType, ) + from .group_1391 import ( + ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse as ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse, + ) from .group_1391 import ( ScimV2OrganizationsOrgUsersPostBodyPropNameType as ScimV2OrganizationsOrgUsersPostBodyPropNameType, ) + from .group_1391 import ( + ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse as ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse, + ) from .group_1391 import ( ScimV2OrganizationsOrgUsersPostBodyType as ScimV2OrganizationsOrgUsersPostBodyType, ) + from .group_1391 import ( + ScimV2OrganizationsOrgUsersPostBodyTypeForResponse as ScimV2OrganizationsOrgUsersPostBodyTypeForResponse, + ) from .group_1392 import ( ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType as ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType, ) + from .group_1392 import ( + ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse, + ) from .group_1392 import ( ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType as ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType, ) + from .group_1392 import ( + ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse, + ) from .group_1392 import ( ScimV2OrganizationsOrgUsersScimUserIdPutBodyType as ScimV2OrganizationsOrgUsersScimUserIdPutBodyType, ) + from .group_1392 import ( + ScimV2OrganizationsOrgUsersScimUserIdPutBodyTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPutBodyTypeForResponse, + ) from .group_1393 import ( ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0Type as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0Type, ) + from .group_1393 import ( + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse, + ) from .group_1393 import ( ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsType as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsType, ) + from .group_1393 import ( + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse, + ) from .group_1393 import ( ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType, ) + from .group_1393 import ( + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse, + ) from .group_1393 import ( ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType, ) + from .group_1393 import ( + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyTypeForResponse as ScimV2OrganizationsOrgUsersScimUserIdPatchBodyTypeForResponse, + ) from .group_1394 import TeamsTeamIdPatchBodyType as TeamsTeamIdPatchBodyType + from .group_1394 import ( + TeamsTeamIdPatchBodyTypeForResponse as TeamsTeamIdPatchBodyTypeForResponse, + ) from .group_1395 import ( TeamsTeamIdDiscussionsPostBodyType as TeamsTeamIdDiscussionsPostBodyType, ) + from .group_1395 import ( + TeamsTeamIdDiscussionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsPostBodyTypeForResponse, + ) from .group_1396 import ( TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType as TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType, ) + from .group_1396 import ( + TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse, + ) from .group_1397 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, ) + from .group_1397 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse, + ) from .group_1398 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, ) + from .group_1398 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse, + ) from .group_1399 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, ) + from .group_1399 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse, + ) from .group_1400 import ( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, ) + from .group_1400 import ( + TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse, + ) from .group_1401 import ( TeamsTeamIdMembershipsUsernamePutBodyType as TeamsTeamIdMembershipsUsernamePutBodyType, ) + from .group_1401 import ( + TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse as TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse, + ) from .group_1402 import ( TeamsTeamIdProjectsProjectIdPutBodyType as TeamsTeamIdProjectsProjectIdPutBodyType, ) + from .group_1402 import ( + TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse as TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse, + ) from .group_1403 import ( TeamsTeamIdProjectsProjectIdPutResponse403Type as TeamsTeamIdProjectsProjectIdPutResponse403Type, ) + from .group_1403 import ( + TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse as TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse, + ) from .group_1404 import ( TeamsTeamIdReposOwnerRepoPutBodyType as TeamsTeamIdReposOwnerRepoPutBodyType, ) + from .group_1404 import ( + TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse as TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse, + ) from .group_1405 import ( TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType as TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType, ) + from .group_1405 import ( + TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse as TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse, + ) from .group_1405 import ( TeamsTeamIdTeamSyncGroupMappingsPatchBodyType as TeamsTeamIdTeamSyncGroupMappingsPatchBodyType, ) + from .group_1405 import ( + TeamsTeamIdTeamSyncGroupMappingsPatchBodyTypeForResponse as TeamsTeamIdTeamSyncGroupMappingsPatchBodyTypeForResponse, + ) from .group_1406 import UserPatchBodyType as UserPatchBodyType + from .group_1406 import UserPatchBodyTypeForResponse as UserPatchBodyTypeForResponse from .group_1407 import ( UserCodespacesGetResponse200Type as UserCodespacesGetResponse200Type, ) + from .group_1407 import ( + UserCodespacesGetResponse200TypeForResponse as UserCodespacesGetResponse200TypeForResponse, + ) from .group_1408 import ( UserCodespacesPostBodyOneof0Type as UserCodespacesPostBodyOneof0Type, ) + from .group_1408 import ( + UserCodespacesPostBodyOneof0TypeForResponse as UserCodespacesPostBodyOneof0TypeForResponse, + ) from .group_1409 import ( UserCodespacesPostBodyOneof1PropPullRequestType as UserCodespacesPostBodyOneof1PropPullRequestType, ) + from .group_1409 import ( + UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse as UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse, + ) from .group_1409 import ( UserCodespacesPostBodyOneof1Type as UserCodespacesPostBodyOneof1Type, ) + from .group_1409 import ( + UserCodespacesPostBodyOneof1TypeForResponse as UserCodespacesPostBodyOneof1TypeForResponse, + ) from .group_1410 import CodespacesSecretType as CodespacesSecretType + from .group_1410 import ( + CodespacesSecretTypeForResponse as CodespacesSecretTypeForResponse, + ) from .group_1410 import ( UserCodespacesSecretsGetResponse200Type as UserCodespacesSecretsGetResponse200Type, ) + from .group_1410 import ( + UserCodespacesSecretsGetResponse200TypeForResponse as UserCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_1411 import ( UserCodespacesSecretsSecretNamePutBodyType as UserCodespacesSecretsSecretNamePutBodyType, ) + from .group_1411 import ( + UserCodespacesSecretsSecretNamePutBodyTypeForResponse as UserCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1412 import ( UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type as UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_1412 import ( + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse as UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1413 import ( UserCodespacesSecretsSecretNameRepositoriesPutBodyType as UserCodespacesSecretsSecretNameRepositoriesPutBodyType, ) + from .group_1413 import ( + UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse as UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_1414 import ( UserCodespacesCodespaceNamePatchBodyType as UserCodespacesCodespaceNamePatchBodyType, ) + from .group_1414 import ( + UserCodespacesCodespaceNamePatchBodyTypeForResponse as UserCodespacesCodespaceNamePatchBodyTypeForResponse, + ) from .group_1415 import ( UserCodespacesCodespaceNameMachinesGetResponse200Type as UserCodespacesCodespaceNameMachinesGetResponse200Type, ) + from .group_1415 import ( + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse as UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, + ) from .group_1416 import ( UserCodespacesCodespaceNamePublishPostBodyType as UserCodespacesCodespaceNamePublishPostBodyType, ) + from .group_1416 import ( + UserCodespacesCodespaceNamePublishPostBodyTypeForResponse as UserCodespacesCodespaceNamePublishPostBodyTypeForResponse, + ) from .group_1417 import ( UserEmailVisibilityPatchBodyType as UserEmailVisibilityPatchBodyType, ) + from .group_1417 import ( + UserEmailVisibilityPatchBodyTypeForResponse as UserEmailVisibilityPatchBodyTypeForResponse, + ) from .group_1418 import UserEmailsPostBodyOneof0Type as UserEmailsPostBodyOneof0Type + from .group_1418 import ( + UserEmailsPostBodyOneof0TypeForResponse as UserEmailsPostBodyOneof0TypeForResponse, + ) from .group_1419 import ( UserEmailsDeleteBodyOneof0Type as UserEmailsDeleteBodyOneof0Type, ) + from .group_1419 import ( + UserEmailsDeleteBodyOneof0TypeForResponse as UserEmailsDeleteBodyOneof0TypeForResponse, + ) from .group_1420 import UserGpgKeysPostBodyType as UserGpgKeysPostBodyType + from .group_1420 import ( + UserGpgKeysPostBodyTypeForResponse as UserGpgKeysPostBodyTypeForResponse, + ) from .group_1421 import ( UserInstallationsGetResponse200Type as UserInstallationsGetResponse200Type, ) + from .group_1421 import ( + UserInstallationsGetResponse200TypeForResponse as UserInstallationsGetResponse200TypeForResponse, + ) from .group_1422 import ( UserInstallationsInstallationIdRepositoriesGetResponse200Type as UserInstallationsInstallationIdRepositoriesGetResponse200Type, ) + from .group_1422 import ( + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse as UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, + ) from .group_1423 import ( UserInteractionLimitsGetResponse200Anyof1Type as UserInteractionLimitsGetResponse200Anyof1Type, ) + from .group_1423 import ( + UserInteractionLimitsGetResponse200Anyof1TypeForResponse as UserInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_1424 import UserKeysPostBodyType as UserKeysPostBodyType + from .group_1424 import ( + UserKeysPostBodyTypeForResponse as UserKeysPostBodyTypeForResponse, + ) from .group_1425 import ( UserMembershipsOrgsOrgPatchBodyType as UserMembershipsOrgsOrgPatchBodyType, ) + from .group_1425 import ( + UserMembershipsOrgsOrgPatchBodyTypeForResponse as UserMembershipsOrgsOrgPatchBodyTypeForResponse, + ) from .group_1426 import UserMigrationsPostBodyType as UserMigrationsPostBodyType + from .group_1426 import ( + UserMigrationsPostBodyTypeForResponse as UserMigrationsPostBodyTypeForResponse, + ) from .group_1427 import UserReposPostBodyType as UserReposPostBodyType + from .group_1427 import ( + UserReposPostBodyTypeForResponse as UserReposPostBodyTypeForResponse, + ) from .group_1428 import ( UserSocialAccountsPostBodyType as UserSocialAccountsPostBodyType, ) + from .group_1428 import ( + UserSocialAccountsPostBodyTypeForResponse as UserSocialAccountsPostBodyTypeForResponse, + ) from .group_1429 import ( UserSocialAccountsDeleteBodyType as UserSocialAccountsDeleteBodyType, ) + from .group_1429 import ( + UserSocialAccountsDeleteBodyTypeForResponse as UserSocialAccountsDeleteBodyTypeForResponse, + ) from .group_1430 import ( UserSshSigningKeysPostBodyType as UserSshSigningKeysPostBodyType, ) + from .group_1430 import ( + UserSshSigningKeysPostBodyTypeForResponse as UserSshSigningKeysPostBodyTypeForResponse, + ) from .group_1431 import ( UsersUsernameAttestationsBulkListPostBodyType as UsersUsernameAttestationsBulkListPostBodyType, ) + from .group_1431 import ( + UsersUsernameAttestationsBulkListPostBodyTypeForResponse as UsersUsernameAttestationsBulkListPostBodyTypeForResponse, + ) from .group_1432 import ( UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType as UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType, ) + from .group_1432 import ( + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse as UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse, + ) from .group_1432 import ( UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType as UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType, ) + from .group_1432 import ( + UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse as UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse, + ) from .group_1432 import ( UsersUsernameAttestationsBulkListPostResponse200Type as UsersUsernameAttestationsBulkListPostResponse200Type, ) + from .group_1432 import ( + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse as UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, + ) from .group_1433 import ( UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type as UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type, ) + from .group_1433 import ( + UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse as UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse, + ) from .group_1434 import ( UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type as UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type, ) + from .group_1434 import ( + UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse as UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse, + ) from .group_1435 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_1435 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1435 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_1435 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1435 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_1435 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_1435 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_1435 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_1435 import ( UsersUsernameAttestationsSubjectDigestGetResponse200Type as UsersUsernameAttestationsSubjectDigestGetResponse200Type, ) + from .group_1435 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_1436 import ( UsersUsernameProjectsV2ProjectNumberItemsPostBodyType as UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, ) + from .group_1436 import ( + UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse, + ) from .group_1437 import ( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, ) + from .group_1437 import ( + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse, + ) from .group_1437 import ( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, ) + from .group_1437 import ( + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse, + ) else: __lazy_vars__ = { - ".group_0000": ("RootType",), + ".group_0000": ( + "RootType", + "RootTypeForResponse", + ), ".group_0001": ( "CvssSeveritiesType", + "CvssSeveritiesTypeForResponse", "CvssSeveritiesPropCvssV3Type", + "CvssSeveritiesPropCvssV3TypeForResponse", "CvssSeveritiesPropCvssV4Type", + "CvssSeveritiesPropCvssV4TypeForResponse", + ), + ".group_0002": ( + "SecurityAdvisoryEpssType", + "SecurityAdvisoryEpssTypeForResponse", + ), + ".group_0003": ( + "SimpleUserType", + "SimpleUserTypeForResponse", ), - ".group_0002": ("SecurityAdvisoryEpssType",), - ".group_0003": ("SimpleUserType",), ".group_0004": ( "GlobalAdvisoryType", + "GlobalAdvisoryTypeForResponse", "GlobalAdvisoryPropIdentifiersItemsType", + "GlobalAdvisoryPropIdentifiersItemsTypeForResponse", "GlobalAdvisoryPropCvssType", + "GlobalAdvisoryPropCvssTypeForResponse", "GlobalAdvisoryPropCwesItemsType", + "GlobalAdvisoryPropCwesItemsTypeForResponse", "VulnerabilityType", + "VulnerabilityTypeForResponse", "VulnerabilityPropPackageType", + "VulnerabilityPropPackageTypeForResponse", + ), + ".group_0005": ( + "GlobalAdvisoryPropCreditsItemsType", + "GlobalAdvisoryPropCreditsItemsTypeForResponse", + ), + ".group_0006": ( + "BasicErrorType", + "BasicErrorTypeForResponse", + ), + ".group_0007": ( + "ValidationErrorSimpleType", + "ValidationErrorSimpleTypeForResponse", + ), + ".group_0008": ( + "EnterpriseType", + "EnterpriseTypeForResponse", + ), + ".group_0009": ( + "IntegrationPropPermissionsType", + "IntegrationPropPermissionsTypeForResponse", + ), + ".group_0010": ( + "IntegrationType", + "IntegrationTypeForResponse", + ), + ".group_0011": ( + "WebhookConfigType", + "WebhookConfigTypeForResponse", + ), + ".group_0012": ( + "HookDeliveryItemType", + "HookDeliveryItemTypeForResponse", + ), + ".group_0013": ( + "ScimErrorType", + "ScimErrorTypeForResponse", ), - ".group_0005": ("GlobalAdvisoryPropCreditsItemsType",), - ".group_0006": ("BasicErrorType",), - ".group_0007": ("ValidationErrorSimpleType",), - ".group_0008": ("EnterpriseType",), - ".group_0009": ("IntegrationPropPermissionsType",), - ".group_0010": ("IntegrationType",), - ".group_0011": ("WebhookConfigType",), - ".group_0012": ("HookDeliveryItemType",), - ".group_0013": ("ScimErrorType",), ".group_0014": ( "ValidationErrorType", + "ValidationErrorTypeForResponse", "ValidationErrorPropErrorsItemsType", + "ValidationErrorPropErrorsItemsTypeForResponse", ), ".group_0015": ( "HookDeliveryType", + "HookDeliveryTypeForResponse", "HookDeliveryPropRequestType", + "HookDeliveryPropRequestTypeForResponse", "HookDeliveryPropRequestPropHeadersType", + "HookDeliveryPropRequestPropHeadersTypeForResponse", "HookDeliveryPropRequestPropPayloadType", + "HookDeliveryPropRequestPropPayloadTypeForResponse", "HookDeliveryPropResponseType", + "HookDeliveryPropResponseTypeForResponse", "HookDeliveryPropResponsePropHeadersType", + "HookDeliveryPropResponsePropHeadersTypeForResponse", + ), + ".group_0016": ( + "IntegrationInstallationRequestType", + "IntegrationInstallationRequestTypeForResponse", + ), + ".group_0017": ( + "AppPermissionsType", + "AppPermissionsTypeForResponse", + ), + ".group_0018": ( + "InstallationType", + "InstallationTypeForResponse", + ), + ".group_0019": ( + "LicenseSimpleType", + "LicenseSimpleTypeForResponse", ), - ".group_0016": ("IntegrationInstallationRequestType",), - ".group_0017": ("AppPermissionsType",), - ".group_0018": ("InstallationType",), - ".group_0019": ("LicenseSimpleType",), ".group_0020": ( "RepositoryType", + "RepositoryTypeForResponse", "RepositoryPropPermissionsType", + "RepositoryPropPermissionsTypeForResponse", "RepositoryPropCodeSearchIndexStatusType", + "RepositoryPropCodeSearchIndexStatusTypeForResponse", + ), + ".group_0021": ( + "InstallationTokenType", + "InstallationTokenTypeForResponse", + ), + ".group_0022": ( + "ScopedInstallationType", + "ScopedInstallationTypeForResponse", ), - ".group_0021": ("InstallationTokenType",), - ".group_0022": ("ScopedInstallationType",), ".group_0023": ( "AuthorizationType", + "AuthorizationTypeForResponse", "AuthorizationPropAppType", + "AuthorizationPropAppTypeForResponse", + ), + ".group_0024": ( + "SimpleClassroomRepositoryType", + "SimpleClassroomRepositoryTypeForResponse", ), - ".group_0024": ("SimpleClassroomRepositoryType",), ".group_0025": ( "ClassroomAssignmentType", + "ClassroomAssignmentTypeForResponse", "ClassroomType", + "ClassroomTypeForResponse", "SimpleClassroomOrganizationType", + "SimpleClassroomOrganizationTypeForResponse", ), ".group_0026": ( "ClassroomAcceptedAssignmentType", + "ClassroomAcceptedAssignmentTypeForResponse", "SimpleClassroomUserType", + "SimpleClassroomUserTypeForResponse", "SimpleClassroomAssignmentType", + "SimpleClassroomAssignmentTypeForResponse", "SimpleClassroomType", + "SimpleClassroomTypeForResponse", + ), + ".group_0027": ( + "ClassroomAssignmentGradeType", + "ClassroomAssignmentGradeTypeForResponse", ), - ".group_0027": ("ClassroomAssignmentGradeType",), ".group_0028": ( "ServerStatisticsItemsType", + "ServerStatisticsItemsTypeForResponse", "ServerStatisticsActionsType", + "ServerStatisticsActionsTypeForResponse", "ServerStatisticsItemsPropGithubConnectType", + "ServerStatisticsItemsPropGithubConnectTypeForResponse", "ServerStatisticsItemsPropDormantUsersType", + "ServerStatisticsItemsPropDormantUsersTypeForResponse", "ServerStatisticsPackagesType", + "ServerStatisticsPackagesTypeForResponse", "ServerStatisticsPackagesPropEcosystemsItemsType", + "ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse", "ServerStatisticsItemsPropGheStatsType", + "ServerStatisticsItemsPropGheStatsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropCommentsType", + "ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropGistsType", + "ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropHooksType", + "ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse", "ServerStatisticsItemsPropGheStatsPropIssuesType", + "ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropMilestonesType", + "ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropOrgsType", + "ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropPagesType", + "ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropPullsType", + "ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropReposType", + "ServerStatisticsItemsPropGheStatsPropReposTypeForResponse", "ServerStatisticsItemsPropGheStatsPropUsersType", + "ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse", + ), + ".group_0029": ( + "EnterpriseAccessRestrictionsType", + "EnterpriseAccessRestrictionsTypeForResponse", + ), + ".group_0030": ( + "ActionsCacheUsageOrgEnterpriseType", + "ActionsCacheUsageOrgEnterpriseTypeForResponse", + ), + ".group_0031": ( + "ActionsHostedRunnerMachineSpecType", + "ActionsHostedRunnerMachineSpecTypeForResponse", ), - ".group_0029": ("EnterpriseAccessRestrictionsType",), - ".group_0030": ("ActionsCacheUsageOrgEnterpriseType",), - ".group_0031": ("ActionsHostedRunnerMachineSpecType",), ".group_0032": ( "ActionsHostedRunnerType", + "ActionsHostedRunnerTypeForResponse", "ActionsHostedRunnerPoolImageType", + "ActionsHostedRunnerPoolImageTypeForResponse", "PublicIpType", + "PublicIpTypeForResponse", + ), + ".group_0033": ( + "ActionsHostedRunnerCustomImageType", + "ActionsHostedRunnerCustomImageTypeForResponse", + ), + ".group_0034": ( + "ActionsHostedRunnerCustomImageVersionType", + "ActionsHostedRunnerCustomImageVersionTypeForResponse", + ), + ".group_0035": ( + "ActionsHostedRunnerCuratedImageType", + "ActionsHostedRunnerCuratedImageTypeForResponse", ), - ".group_0033": ("ActionsHostedRunnerCustomImageType",), - ".group_0034": ("ActionsHostedRunnerCustomImageVersionType",), - ".group_0035": ("ActionsHostedRunnerCuratedImageType",), ".group_0036": ( "ActionsHostedRunnerLimitsType", + "ActionsHostedRunnerLimitsTypeForResponse", "ActionsHostedRunnerLimitsPropPublicIpsType", + "ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse", + ), + ".group_0037": ( + "ActionsOidcCustomIssuerPolicyForEnterpriseType", + "ActionsOidcCustomIssuerPolicyForEnterpriseTypeForResponse", + ), + ".group_0038": ( + "ActionsEnterprisePermissionsType", + "ActionsEnterprisePermissionsTypeForResponse", + ), + ".group_0039": ( + "ActionsArtifactAndLogRetentionResponseType", + "ActionsArtifactAndLogRetentionResponseTypeForResponse", + ), + ".group_0040": ( + "ActionsArtifactAndLogRetentionType", + "ActionsArtifactAndLogRetentionTypeForResponse", + ), + ".group_0041": ( + "ActionsForkPrContributorApprovalType", + "ActionsForkPrContributorApprovalTypeForResponse", + ), + ".group_0042": ( + "ActionsForkPrWorkflowsPrivateReposType", + "ActionsForkPrWorkflowsPrivateReposTypeForResponse", + ), + ".group_0043": ( + "ActionsForkPrWorkflowsPrivateReposRequestType", + "ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse", + ), + ".group_0044": ( + "OrganizationSimpleType", + "OrganizationSimpleTypeForResponse", + ), + ".group_0045": ( + "SelectedActionsType", + "SelectedActionsTypeForResponse", + ), + ".group_0046": ( + "ActionsGetDefaultWorkflowPermissionsType", + "ActionsGetDefaultWorkflowPermissionsTypeForResponse", + ), + ".group_0047": ( + "ActionsSetDefaultWorkflowPermissionsType", + "ActionsSetDefaultWorkflowPermissionsTypeForResponse", + ), + ".group_0048": ( + "RunnerLabelType", + "RunnerLabelTypeForResponse", + ), + ".group_0049": ( + "RunnerType", + "RunnerTypeForResponse", + ), + ".group_0050": ( + "RunnerApplicationType", + "RunnerApplicationTypeForResponse", ), - ".group_0037": ("ActionsOidcCustomIssuerPolicyForEnterpriseType",), - ".group_0038": ("ActionsEnterprisePermissionsType",), - ".group_0039": ("ActionsArtifactAndLogRetentionResponseType",), - ".group_0040": ("ActionsArtifactAndLogRetentionType",), - ".group_0041": ("ActionsForkPrContributorApprovalType",), - ".group_0042": ("ActionsForkPrWorkflowsPrivateReposType",), - ".group_0043": ("ActionsForkPrWorkflowsPrivateReposRequestType",), - ".group_0044": ("OrganizationSimpleType",), - ".group_0045": ("SelectedActionsType",), - ".group_0046": ("ActionsGetDefaultWorkflowPermissionsType",), - ".group_0047": ("ActionsSetDefaultWorkflowPermissionsType",), - ".group_0048": ("RunnerLabelType",), - ".group_0049": ("RunnerType",), - ".group_0050": ("RunnerApplicationType",), ".group_0051": ( "AuthenticationTokenType", + "AuthenticationTokenTypeForResponse", "AuthenticationTokenPropPermissionsType", + "AuthenticationTokenPropPermissionsTypeForResponse", + ), + ".group_0052": ( + "AnnouncementBannerType", + "AnnouncementBannerTypeForResponse", + ), + ".group_0053": ( + "AnnouncementType", + "AnnouncementTypeForResponse", + ), + ".group_0054": ( + "InstallableOrganizationType", + "InstallableOrganizationTypeForResponse", + ), + ".group_0055": ( + "AccessibleRepositoryType", + "AccessibleRepositoryTypeForResponse", + ), + ".group_0056": ( + "EnterpriseOrganizationInstallationType", + "EnterpriseOrganizationInstallationTypeForResponse", ), - ".group_0052": ("AnnouncementBannerType",), - ".group_0053": ("AnnouncementType",), - ".group_0054": ("InstallableOrganizationType",), - ".group_0055": ("AccessibleRepositoryType",), - ".group_0056": ("EnterpriseOrganizationInstallationType",), ".group_0057": ( "AuditLogEventType", + "AuditLogEventTypeForResponse", "AuditLogEventPropActorLocationType", + "AuditLogEventPropActorLocationTypeForResponse", "AuditLogEventPropDataType", + "AuditLogEventPropDataTypeForResponse", "AuditLogEventPropConfigItemsType", + "AuditLogEventPropConfigItemsTypeForResponse", "AuditLogEventPropConfigWasItemsType", + "AuditLogEventPropConfigWasItemsTypeForResponse", "AuditLogEventPropEventsItemsType", + "AuditLogEventPropEventsItemsTypeForResponse", "AuditLogEventPropEventsWereItemsType", + "AuditLogEventPropEventsWereItemsTypeForResponse", + ), + ".group_0058": ( + "AuditLogStreamKeyType", + "AuditLogStreamKeyTypeForResponse", + ), + ".group_0059": ( + "GetAuditLogStreamConfigsItemsType", + "GetAuditLogStreamConfigsItemsTypeForResponse", ), - ".group_0058": ("AuditLogStreamKeyType",), - ".group_0059": ("GetAuditLogStreamConfigsItemsType",), ".group_0060": ( "AzureBlobConfigType", + "AzureBlobConfigTypeForResponse", "AzureHubConfigType", + "AzureHubConfigTypeForResponse", "AmazonS3AccessKeysConfigType", + "AmazonS3AccessKeysConfigTypeForResponse", "HecConfigType", + "HecConfigTypeForResponse", "DatadogConfigType", + "DatadogConfigTypeForResponse", ), ".group_0061": ( "AmazonS3OidcConfigType", + "AmazonS3OidcConfigTypeForResponse", "SplunkConfigType", + "SplunkConfigTypeForResponse", + ), + ".group_0062": ( + "GoogleCloudConfigType", + "GoogleCloudConfigTypeForResponse", + ), + ".group_0063": ( + "GetAuditLogStreamConfigType", + "GetAuditLogStreamConfigTypeForResponse", ), - ".group_0062": ("GoogleCloudConfigType",), - ".group_0063": ("GetAuditLogStreamConfigType",), ".group_0064": ( "BypassResponseType", + "BypassResponseTypeForResponse", "BypassResponsePropReviewerType", + "BypassResponsePropReviewerTypeForResponse", ), ".group_0065": ( "PushRuleBypassRequestType", + "PushRuleBypassRequestTypeForResponse", "PushRuleBypassRequestPropRepositoryType", + "PushRuleBypassRequestPropRepositoryTypeForResponse", "PushRuleBypassRequestPropOrganizationType", + "PushRuleBypassRequestPropOrganizationTypeForResponse", "PushRuleBypassRequestPropRequesterType", + "PushRuleBypassRequestPropRequesterTypeForResponse", "PushRuleBypassRequestPropDataItemsType", + "PushRuleBypassRequestPropDataItemsTypeForResponse", ), ".group_0066": ( "SecretScanningBypassRequestType", + "SecretScanningBypassRequestTypeForResponse", "SecretScanningBypassRequestPropRepositoryType", + "SecretScanningBypassRequestPropRepositoryTypeForResponse", "SecretScanningBypassRequestPropOrganizationType", + "SecretScanningBypassRequestPropOrganizationTypeForResponse", "SecretScanningBypassRequestPropRequesterType", + "SecretScanningBypassRequestPropRequesterTypeForResponse", "SecretScanningBypassRequestPropDataItemsType", + "SecretScanningBypassRequestPropDataItemsTypeForResponse", + ), + ".group_0067": ( + "CodeScanningAlertRuleSummaryType", + "CodeScanningAlertRuleSummaryTypeForResponse", + ), + ".group_0068": ( + "CodeScanningAnalysisToolType", + "CodeScanningAnalysisToolTypeForResponse", ), - ".group_0067": ("CodeScanningAlertRuleSummaryType",), - ".group_0068": ("CodeScanningAnalysisToolType",), ".group_0069": ( "CodeScanningAlertInstanceType", + "CodeScanningAlertInstanceTypeForResponse", "CodeScanningAlertLocationType", + "CodeScanningAlertLocationTypeForResponse", "CodeScanningAlertInstancePropMessageType", + "CodeScanningAlertInstancePropMessageTypeForResponse", + ), + ".group_0070": ( + "SimpleRepositoryType", + "SimpleRepositoryTypeForResponse", + ), + ".group_0071": ( + "CodeScanningOrganizationAlertItemsType", + "CodeScanningOrganizationAlertItemsTypeForResponse", ), - ".group_0070": ("SimpleRepositoryType",), - ".group_0071": ("CodeScanningOrganizationAlertItemsType",), ".group_0072": ( "CodeSecurityConfigurationType", + "CodeSecurityConfigurationTypeForResponse", "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType", + "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningOptionsType", + "CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType", + "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", + ), + ".group_0073": ( + "CodeScanningOptionsType", + "CodeScanningOptionsTypeForResponse", + ), + ".group_0074": ( + "CodeScanningDefaultSetupOptionsType", + "CodeScanningDefaultSetupOptionsTypeForResponse", + ), + ".group_0075": ( + "CodeSecurityDefaultConfigurationsItemsType", + "CodeSecurityDefaultConfigurationsItemsTypeForResponse", + ), + ".group_0076": ( + "CodeSecurityConfigurationRepositoriesType", + "CodeSecurityConfigurationRepositoriesTypeForResponse", + ), + ".group_0077": ( + "EnterpriseSecurityAnalysisSettingsType", + "EnterpriseSecurityAnalysisSettingsTypeForResponse", ), - ".group_0073": ("CodeScanningOptionsType",), - ".group_0074": ("CodeScanningDefaultSetupOptionsType",), - ".group_0075": ("CodeSecurityDefaultConfigurationsItemsType",), - ".group_0076": ("CodeSecurityConfigurationRepositoriesType",), - ".group_0077": ("EnterpriseSecurityAnalysisSettingsType",), ".group_0078": ( "GetConsumedLicensesType", + "GetConsumedLicensesTypeForResponse", "GetConsumedLicensesPropUsersItemsType", + "GetConsumedLicensesPropUsersItemsTypeForResponse", + ), + ".group_0079": ( + "TeamSimpleType", + "TeamSimpleTypeForResponse", ), - ".group_0079": ("TeamSimpleType",), ".group_0080": ( "TeamType", + "TeamTypeForResponse", "TeamPropPermissionsType", + "TeamPropPermissionsTypeForResponse", + ), + ".group_0081": ( + "EnterpriseTeamType", + "EnterpriseTeamTypeForResponse", + ), + ".group_0082": ( + "CopilotSeatDetailsType", + "CopilotSeatDetailsTypeForResponse", ), - ".group_0081": ("EnterpriseTeamType",), - ".group_0082": ("CopilotSeatDetailsType",), ".group_0083": ( "CopilotUsageMetricsDayType", + "CopilotUsageMetricsDayTypeForResponse", "CopilotDotcomChatType", + "CopilotDotcomChatTypeForResponse", "CopilotDotcomChatPropModelsItemsType", + "CopilotDotcomChatPropModelsItemsTypeForResponse", "CopilotIdeChatType", + "CopilotIdeChatTypeForResponse", "CopilotIdeChatPropEditorsItemsType", + "CopilotIdeChatPropEditorsItemsTypeForResponse", "CopilotIdeChatPropEditorsItemsPropModelsItemsType", + "CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotDotcomPullRequestsType", + "CopilotDotcomPullRequestsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsType", + "CopilotIdeCodeCompletionsTypeForResponse", "CopilotIdeCodeCompletionsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse", + ), + ".group_0084": ( + "CopilotUsageMetrics1DayReportType", + "CopilotUsageMetrics1DayReportTypeForResponse", + ), + ".group_0085": ( + "CopilotUsageMetrics28DayReportType", + "CopilotUsageMetrics28DayReportTypeForResponse", + ), + ".group_0086": ( + "DependabotAlertPackageType", + "DependabotAlertPackageTypeForResponse", ), - ".group_0084": ("CopilotUsageMetrics1DayReportType",), - ".group_0085": ("CopilotUsageMetrics28DayReportType",), - ".group_0086": ("DependabotAlertPackageType",), ".group_0087": ( "DependabotAlertSecurityVulnerabilityType", + "DependabotAlertSecurityVulnerabilityTypeForResponse", "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType", + "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse", ), ".group_0088": ( "DependabotAlertSecurityAdvisoryType", + "DependabotAlertSecurityAdvisoryTypeForResponse", "DependabotAlertSecurityAdvisoryPropCvssType", + "DependabotAlertSecurityAdvisoryPropCvssTypeForResponse", "DependabotAlertSecurityAdvisoryPropCwesItemsType", + "DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropIdentifiersItemsType", + "DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropReferencesItemsType", + "DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse", + ), + ".group_0089": ( + "DependabotAlertWithRepositoryType", + "DependabotAlertWithRepositoryTypeForResponse", + ), + ".group_0090": ( + "DependabotAlertWithRepositoryPropDependencyType", + "DependabotAlertWithRepositoryPropDependencyTypeForResponse", ), - ".group_0089": ("DependabotAlertWithRepositoryType",), - ".group_0090": ("DependabotAlertWithRepositoryPropDependencyType",), ".group_0091": ( "EnterpriseRoleType", + "EnterpriseRoleTypeForResponse", "EnterprisesEnterpriseEnterpriseRolesGetResponse200Type", + "EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse", + ), + ".group_0092": ( + "EnterpriseUserRoleAssignmentType", + "EnterpriseUserRoleAssignmentTypeForResponse", + ), + ".group_0093": ( + "EnterpriseUserRoleAssignmentAllof1Type", + "EnterpriseUserRoleAssignmentAllof1TypeForResponse", + ), + ".group_0094": ( + "GetLicenseSyncStatusType", + "GetLicenseSyncStatusTypeForResponse", + "GetLicenseSyncStatusPropServerInstancesItemsType", + "GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse", + "GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType", + "GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse", + ), + ".group_0095": ( + "NetworkConfigurationType", + "NetworkConfigurationTypeForResponse", + ), + ".group_0096": ( + "NetworkSettingsType", + "NetworkSettingsTypeForResponse", + ), + ".group_0097": ( + "CustomPropertyBaseType", + "CustomPropertyBaseTypeForResponse", + ), + ".group_0098": ( + "OrganizationCustomPropertyType", + "OrganizationCustomPropertyTypeForResponse", + ), + ".group_0099": ( + "OrganizationCustomPropertyAllof1Type", + "OrganizationCustomPropertyAllof1TypeForResponse", + ), + ".group_0100": ( + "OrganizationCustomPropertyPayloadType", + "OrganizationCustomPropertyPayloadTypeForResponse", + ), + ".group_0101": ( + "CustomPropertyValueType", + "CustomPropertyValueTypeForResponse", + ), + ".group_0102": ( + "CustomPropertiesForOrgsGetEnterprisePropertyValuesType", + "CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse", + ), + ".group_0103": ( + "CustomPropertyType", + "CustomPropertyTypeForResponse", + ), + ".group_0104": ( + "CustomPropertySetPayloadType", + "CustomPropertySetPayloadTypeForResponse", + ), + ".group_0105": ( + "RepositoryRulesetBypassActorType", + "RepositoryRulesetBypassActorTypeForResponse", ), - ".group_0092": ("EnterpriseUserRoleAssignmentType",), - ".group_0093": ("EnterpriseUserRoleAssignmentAllof1Type",), - ".group_0094": ( - "GetLicenseSyncStatusType", - "GetLicenseSyncStatusPropServerInstancesItemsType", - "GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType", + ".group_0106": ( + "EnterpriseRulesetConditionsOrganizationNameTargetType", + "EnterpriseRulesetConditionsOrganizationNameTargetTypeForResponse", ), - ".group_0095": ("NetworkConfigurationType",), - ".group_0096": ("NetworkSettingsType",), - ".group_0097": ("CustomPropertyBaseType",), - ".group_0098": ("OrganizationCustomPropertyType",), - ".group_0099": ("OrganizationCustomPropertyAllof1Type",), - ".group_0100": ("OrganizationCustomPropertyPayloadType",), - ".group_0101": ("CustomPropertyValueType",), - ".group_0102": ("CustomPropertiesForOrgsGetEnterprisePropertyValuesType",), - ".group_0103": ("CustomPropertyType",), - ".group_0104": ("CustomPropertySetPayloadType",), - ".group_0105": ("RepositoryRulesetBypassActorType",), - ".group_0106": ("EnterpriseRulesetConditionsOrganizationNameTargetType",), ".group_0107": ( "EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType", + "EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse", + ), + ".group_0108": ( + "RepositoryRulesetConditionsRepositoryNameTargetType", + "RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse", ), - ".group_0108": ("RepositoryRulesetConditionsRepositoryNameTargetType",), ".group_0109": ( "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType", + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse", + ), + ".group_0110": ( + "RepositoryRulesetConditionsType", + "RepositoryRulesetConditionsTypeForResponse", + ), + ".group_0111": ( + "RepositoryRulesetConditionsPropRefNameType", + "RepositoryRulesetConditionsPropRefNameTypeForResponse", + ), + ".group_0112": ( + "RepositoryRulesetConditionsRepositoryPropertyTargetType", + "RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse", ), - ".group_0110": ("RepositoryRulesetConditionsType",), - ".group_0111": ("RepositoryRulesetConditionsPropRefNameType",), - ".group_0112": ("RepositoryRulesetConditionsRepositoryPropertyTargetType",), ".group_0113": ( "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType", + "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse", "RepositoryRulesetConditionsRepositoryPropertySpecType", + "RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse", + ), + ".group_0114": ( + "EnterpriseRulesetConditionsOrganizationIdTargetType", + "EnterpriseRulesetConditionsOrganizationIdTargetTypeForResponse", ), - ".group_0114": ("EnterpriseRulesetConditionsOrganizationIdTargetType",), ".group_0115": ( "EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType", + "EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse", + ), + ".group_0116": ( + "EnterpriseRulesetConditionsOrganizationPropertyTargetType", + "EnterpriseRulesetConditionsOrganizationPropertyTargetTypeForResponse", ), - ".group_0116": ("EnterpriseRulesetConditionsOrganizationPropertyTargetType",), ".group_0117": ( "EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType", + "EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse", "EnterpriseRulesetConditionsOrganizationPropertySpecType", + "EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse", + ), + ".group_0118": ( + "EnterpriseRulesetConditionsOneof0Type", + "EnterpriseRulesetConditionsOneof0TypeForResponse", + ), + ".group_0119": ( + "EnterpriseRulesetConditionsOneof1Type", + "EnterpriseRulesetConditionsOneof1TypeForResponse", + ), + ".group_0120": ( + "EnterpriseRulesetConditionsOneof2Type", + "EnterpriseRulesetConditionsOneof2TypeForResponse", + ), + ".group_0121": ( + "EnterpriseRulesetConditionsOneof3Type", + "EnterpriseRulesetConditionsOneof3TypeForResponse", + ), + ".group_0122": ( + "EnterpriseRulesetConditionsOneof4Type", + "EnterpriseRulesetConditionsOneof4TypeForResponse", + ), + ".group_0123": ( + "EnterpriseRulesetConditionsOneof5Type", + "EnterpriseRulesetConditionsOneof5TypeForResponse", ), - ".group_0118": ("EnterpriseRulesetConditionsOneof0Type",), - ".group_0119": ("EnterpriseRulesetConditionsOneof1Type",), - ".group_0120": ("EnterpriseRulesetConditionsOneof2Type",), - ".group_0121": ("EnterpriseRulesetConditionsOneof3Type",), - ".group_0122": ("EnterpriseRulesetConditionsOneof4Type",), - ".group_0123": ("EnterpriseRulesetConditionsOneof5Type",), ".group_0124": ( "RepositoryRuleCreationType", + "RepositoryRuleCreationTypeForResponse", "RepositoryRuleDeletionType", + "RepositoryRuleDeletionTypeForResponse", "RepositoryRuleRequiredSignaturesType", + "RepositoryRuleRequiredSignaturesTypeForResponse", "RepositoryRuleNonFastForwardType", + "RepositoryRuleNonFastForwardTypeForResponse", + ), + ".group_0125": ( + "RepositoryRuleUpdateType", + "RepositoryRuleUpdateTypeForResponse", + ), + ".group_0126": ( + "RepositoryRuleUpdatePropParametersType", + "RepositoryRuleUpdatePropParametersTypeForResponse", + ), + ".group_0127": ( + "RepositoryRuleRequiredLinearHistoryType", + "RepositoryRuleRequiredLinearHistoryTypeForResponse", + ), + ".group_0128": ( + "RepositoryRuleRequiredDeploymentsType", + "RepositoryRuleRequiredDeploymentsTypeForResponse", + ), + ".group_0129": ( + "RepositoryRuleRequiredDeploymentsPropParametersType", + "RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse", ), - ".group_0125": ("RepositoryRuleUpdateType",), - ".group_0126": ("RepositoryRuleUpdatePropParametersType",), - ".group_0127": ("RepositoryRuleRequiredLinearHistoryType",), - ".group_0128": ("RepositoryRuleRequiredDeploymentsType",), - ".group_0129": ("RepositoryRuleRequiredDeploymentsPropParametersType",), ".group_0130": ( "RepositoryRuleParamsRequiredReviewerConfigurationType", + "RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse", "RepositoryRuleParamsReviewerType", + "RepositoryRuleParamsReviewerTypeForResponse", + ), + ".group_0131": ( + "RepositoryRulePullRequestType", + "RepositoryRulePullRequestTypeForResponse", + ), + ".group_0132": ( + "RepositoryRulePullRequestPropParametersType", + "RepositoryRulePullRequestPropParametersTypeForResponse", + ), + ".group_0133": ( + "RepositoryRuleRequiredStatusChecksType", + "RepositoryRuleRequiredStatusChecksTypeForResponse", ), - ".group_0131": ("RepositoryRulePullRequestType",), - ".group_0132": ("RepositoryRulePullRequestPropParametersType",), - ".group_0133": ("RepositoryRuleRequiredStatusChecksType",), ".group_0134": ( "RepositoryRuleRequiredStatusChecksPropParametersType", + "RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse", "RepositoryRuleParamsStatusCheckConfigurationType", + "RepositoryRuleParamsStatusCheckConfigurationTypeForResponse", + ), + ".group_0135": ( + "RepositoryRuleCommitMessagePatternType", + "RepositoryRuleCommitMessagePatternTypeForResponse", + ), + ".group_0136": ( + "RepositoryRuleCommitMessagePatternPropParametersType", + "RepositoryRuleCommitMessagePatternPropParametersTypeForResponse", + ), + ".group_0137": ( + "RepositoryRuleCommitAuthorEmailPatternType", + "RepositoryRuleCommitAuthorEmailPatternTypeForResponse", + ), + ".group_0138": ( + "RepositoryRuleCommitAuthorEmailPatternPropParametersType", + "RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse", + ), + ".group_0139": ( + "RepositoryRuleCommitterEmailPatternType", + "RepositoryRuleCommitterEmailPatternTypeForResponse", + ), + ".group_0140": ( + "RepositoryRuleCommitterEmailPatternPropParametersType", + "RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse", + ), + ".group_0141": ( + "RepositoryRuleBranchNamePatternType", + "RepositoryRuleBranchNamePatternTypeForResponse", + ), + ".group_0142": ( + "RepositoryRuleBranchNamePatternPropParametersType", + "RepositoryRuleBranchNamePatternPropParametersTypeForResponse", + ), + ".group_0143": ( + "RepositoryRuleTagNamePatternType", + "RepositoryRuleTagNamePatternTypeForResponse", + ), + ".group_0144": ( + "RepositoryRuleTagNamePatternPropParametersType", + "RepositoryRuleTagNamePatternPropParametersTypeForResponse", + ), + ".group_0145": ( + "RepositoryRuleFilePathRestrictionType", + "RepositoryRuleFilePathRestrictionTypeForResponse", + ), + ".group_0146": ( + "RepositoryRuleFilePathRestrictionPropParametersType", + "RepositoryRuleFilePathRestrictionPropParametersTypeForResponse", + ), + ".group_0147": ( + "RepositoryRuleMaxFilePathLengthType", + "RepositoryRuleMaxFilePathLengthTypeForResponse", + ), + ".group_0148": ( + "RepositoryRuleMaxFilePathLengthPropParametersType", + "RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse", + ), + ".group_0149": ( + "RepositoryRuleFileExtensionRestrictionType", + "RepositoryRuleFileExtensionRestrictionTypeForResponse", + ), + ".group_0150": ( + "RepositoryRuleFileExtensionRestrictionPropParametersType", + "RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse", + ), + ".group_0151": ( + "RepositoryRuleMaxFileSizeType", + "RepositoryRuleMaxFileSizeTypeForResponse", + ), + ".group_0152": ( + "RepositoryRuleMaxFileSizePropParametersType", + "RepositoryRuleMaxFileSizePropParametersTypeForResponse", + ), + ".group_0153": ( + "RepositoryRuleParamsRestrictedCommitsType", + "RepositoryRuleParamsRestrictedCommitsTypeForResponse", + ), + ".group_0154": ( + "RepositoryRuleWorkflowsType", + "RepositoryRuleWorkflowsTypeForResponse", ), - ".group_0135": ("RepositoryRuleCommitMessagePatternType",), - ".group_0136": ("RepositoryRuleCommitMessagePatternPropParametersType",), - ".group_0137": ("RepositoryRuleCommitAuthorEmailPatternType",), - ".group_0138": ("RepositoryRuleCommitAuthorEmailPatternPropParametersType",), - ".group_0139": ("RepositoryRuleCommitterEmailPatternType",), - ".group_0140": ("RepositoryRuleCommitterEmailPatternPropParametersType",), - ".group_0141": ("RepositoryRuleBranchNamePatternType",), - ".group_0142": ("RepositoryRuleBranchNamePatternPropParametersType",), - ".group_0143": ("RepositoryRuleTagNamePatternType",), - ".group_0144": ("RepositoryRuleTagNamePatternPropParametersType",), - ".group_0145": ("RepositoryRuleFilePathRestrictionType",), - ".group_0146": ("RepositoryRuleFilePathRestrictionPropParametersType",), - ".group_0147": ("RepositoryRuleMaxFilePathLengthType",), - ".group_0148": ("RepositoryRuleMaxFilePathLengthPropParametersType",), - ".group_0149": ("RepositoryRuleFileExtensionRestrictionType",), - ".group_0150": ("RepositoryRuleFileExtensionRestrictionPropParametersType",), - ".group_0151": ("RepositoryRuleMaxFileSizeType",), - ".group_0152": ("RepositoryRuleMaxFileSizePropParametersType",), - ".group_0153": ("RepositoryRuleParamsRestrictedCommitsType",), - ".group_0154": ("RepositoryRuleWorkflowsType",), ".group_0155": ( "RepositoryRuleWorkflowsPropParametersType", + "RepositoryRuleWorkflowsPropParametersTypeForResponse", "RepositoryRuleParamsWorkflowFileReferenceType", + "RepositoryRuleParamsWorkflowFileReferenceTypeForResponse", + ), + ".group_0156": ( + "RepositoryRuleCodeScanningType", + "RepositoryRuleCodeScanningTypeForResponse", ), - ".group_0156": ("RepositoryRuleCodeScanningType",), ".group_0157": ( "RepositoryRuleCodeScanningPropParametersType", + "RepositoryRuleCodeScanningPropParametersTypeForResponse", "RepositoryRuleParamsCodeScanningToolType", + "RepositoryRuleParamsCodeScanningToolTypeForResponse", + ), + ".group_0158": ( + "RepositoryRulesetConditionsRepositoryIdTargetType", + "RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse", ), - ".group_0158": ("RepositoryRulesetConditionsRepositoryIdTargetType",), ".group_0159": ( "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType", + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse", + ), + ".group_0160": ( + "OrgRulesetConditionsOneof0Type", + "OrgRulesetConditionsOneof0TypeForResponse", + ), + ".group_0161": ( + "OrgRulesetConditionsOneof1Type", + "OrgRulesetConditionsOneof1TypeForResponse", + ), + ".group_0162": ( + "OrgRulesetConditionsOneof2Type", + "OrgRulesetConditionsOneof2TypeForResponse", + ), + ".group_0163": ( + "RepositoryRuleMergeQueueType", + "RepositoryRuleMergeQueueTypeForResponse", + ), + ".group_0164": ( + "RepositoryRuleMergeQueuePropParametersType", + "RepositoryRuleMergeQueuePropParametersTypeForResponse", + ), + ".group_0165": ( + "RepositoryRuleCopilotCodeReviewType", + "RepositoryRuleCopilotCodeReviewTypeForResponse", + ), + ".group_0166": ( + "RepositoryRuleCopilotCodeReviewPropParametersType", + "RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse", ), - ".group_0160": ("OrgRulesetConditionsOneof0Type",), - ".group_0161": ("OrgRulesetConditionsOneof1Type",), - ".group_0162": ("OrgRulesetConditionsOneof2Type",), - ".group_0163": ("RepositoryRuleMergeQueueType",), - ".group_0164": ("RepositoryRuleMergeQueuePropParametersType",), - ".group_0165": ("RepositoryRuleCopilotCodeReviewType",), - ".group_0166": ("RepositoryRuleCopilotCodeReviewPropParametersType",), ".group_0167": ( "RepositoryRulesetType", + "RepositoryRulesetTypeForResponse", "RepositoryRulesetPropLinksType", + "RepositoryRulesetPropLinksTypeForResponse", "RepositoryRulesetPropLinksPropSelfType", + "RepositoryRulesetPropLinksPropSelfTypeForResponse", "RepositoryRulesetPropLinksPropHtmlType", + "RepositoryRulesetPropLinksPropHtmlTypeForResponse", + ), + ".group_0168": ( + "RulesetVersionType", + "RulesetVersionTypeForResponse", + ), + ".group_0169": ( + "RulesetVersionPropActorType", + "RulesetVersionPropActorTypeForResponse", + ), + ".group_0170": ( + "RulesetVersionWithStateType", + "RulesetVersionWithStateTypeForResponse", + ), + ".group_0171": ( + "RulesetVersionWithStateAllof1Type", + "RulesetVersionWithStateAllof1TypeForResponse", + ), + ".group_0172": ( + "RulesetVersionWithStateAllof1PropStateType", + "RulesetVersionWithStateAllof1PropStateTypeForResponse", ), - ".group_0168": ("RulesetVersionType",), - ".group_0169": ("RulesetVersionPropActorType",), - ".group_0170": ("RulesetVersionWithStateType",), - ".group_0171": ("RulesetVersionWithStateAllof1Type",), - ".group_0172": ("RulesetVersionWithStateAllof1PropStateType",), ".group_0173": ( "SecretScanningLocationCommitType", + "SecretScanningLocationCommitTypeForResponse", "SecretScanningLocationWikiCommitType", + "SecretScanningLocationWikiCommitTypeForResponse", "SecretScanningLocationIssueBodyType", + "SecretScanningLocationIssueBodyTypeForResponse", "SecretScanningLocationDiscussionTitleType", + "SecretScanningLocationDiscussionTitleTypeForResponse", "SecretScanningLocationDiscussionCommentType", + "SecretScanningLocationDiscussionCommentTypeForResponse", "SecretScanningLocationPullRequestBodyType", + "SecretScanningLocationPullRequestBodyTypeForResponse", "SecretScanningLocationPullRequestReviewType", + "SecretScanningLocationPullRequestReviewTypeForResponse", ), ".group_0174": ( "SecretScanningLocationIssueTitleType", + "SecretScanningLocationIssueTitleTypeForResponse", "SecretScanningLocationIssueCommentType", + "SecretScanningLocationIssueCommentTypeForResponse", "SecretScanningLocationPullRequestTitleType", + "SecretScanningLocationPullRequestTitleTypeForResponse", "SecretScanningLocationPullRequestReviewCommentType", + "SecretScanningLocationPullRequestReviewCommentTypeForResponse", ), ".group_0175": ( "SecretScanningLocationDiscussionBodyType", + "SecretScanningLocationDiscussionBodyTypeForResponse", "SecretScanningLocationPullRequestCommentType", + "SecretScanningLocationPullRequestCommentTypeForResponse", + ), + ".group_0176": ( + "OrganizationSecretScanningAlertType", + "OrganizationSecretScanningAlertTypeForResponse", ), - ".group_0176": ("OrganizationSecretScanningAlertType",), ".group_0177": ( "SecretScanningPatternConfigurationType", + "SecretScanningPatternConfigurationTypeForResponse", "SecretScanningPatternOverrideType", + "SecretScanningPatternOverrideTypeForResponse", ), ".group_0178": ( "ActionsBillingUsageType", + "ActionsBillingUsageTypeForResponse", "ActionsBillingUsagePropMinutesUsedBreakdownType", + "ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse", ), ".group_0179": ( "AdvancedSecurityActiveCommittersType", + "AdvancedSecurityActiveCommittersTypeForResponse", "AdvancedSecurityActiveCommittersRepositoryType", + "AdvancedSecurityActiveCommittersRepositoryTypeForResponse", "AdvancedSecurityActiveCommittersUserType", + "AdvancedSecurityActiveCommittersUserTypeForResponse", ), ".group_0180": ( "GetAllBudgetsType", + "GetAllBudgetsTypeForResponse", "BudgetType", + "BudgetTypeForResponse", "BudgetPropBudgetAlertingType", + "BudgetPropBudgetAlertingTypeForResponse", ), ".group_0181": ( "CreateBudgetType", + "CreateBudgetTypeForResponse", "CreateBudgetPropBudgetType", + "CreateBudgetPropBudgetTypeForResponse", "CreateBudgetPropBudgetPropBudgetAlertingType", + "CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse", ), ".group_0182": ( "GetBudgetType", + "GetBudgetTypeForResponse", "GetBudgetPropBudgetAlertingType", + "GetBudgetPropBudgetAlertingTypeForResponse", ), ".group_0183": ( "UpdateBudgetType", + "UpdateBudgetTypeForResponse", "UpdateBudgetPropBudgetType", + "UpdateBudgetPropBudgetTypeForResponse", "UpdateBudgetPropBudgetPropBudgetAlertingType", + "UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse", + ), + ".group_0184": ( + "DeleteBudgetType", + "DeleteBudgetTypeForResponse", ), - ".group_0184": ("DeleteBudgetType",), ".group_0185": ( "GetAllCostCentersType", + "GetAllCostCentersTypeForResponse", "GetAllCostCentersPropCostCentersItemsType", + "GetAllCostCentersPropCostCentersItemsTypeForResponse", "GetAllCostCentersPropCostCentersItemsPropResourcesItemsType", + "GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse", ), ".group_0186": ( "GetCostCenterType", + "GetCostCenterTypeForResponse", "GetCostCenterPropResourcesItemsType", + "GetCostCenterPropResourcesItemsTypeForResponse", + ), + ".group_0187": ( + "DeleteCostCenterType", + "DeleteCostCenterTypeForResponse", + ), + ".group_0188": ( + "PackagesBillingUsageType", + "PackagesBillingUsageTypeForResponse", ), - ".group_0187": ("DeleteCostCenterType",), - ".group_0188": ("PackagesBillingUsageType",), ".group_0189": ( "BillingPremiumRequestUsageReportGheType", + "BillingPremiumRequestUsageReportGheTypeForResponse", "BillingPremiumRequestUsageReportGhePropTimePeriodType", + "BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportGhePropCostCenterType", + "BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse", "BillingPremiumRequestUsageReportGhePropUsageItemsItemsType", + "BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse", + ), + ".group_0190": ( + "CombinedBillingUsageType", + "CombinedBillingUsageTypeForResponse", ), - ".group_0190": ("CombinedBillingUsageType",), ".group_0191": ( "BillingUsageReportType", + "BillingUsageReportTypeForResponse", "BillingUsageReportPropUsageItemsItemsType", + "BillingUsageReportPropUsageItemsItemsTypeForResponse", ), ".group_0192": ( "BillingUsageSummaryReportGheType", + "BillingUsageSummaryReportGheTypeForResponse", "BillingUsageSummaryReportGhePropTimePeriodType", + "BillingUsageSummaryReportGhePropTimePeriodTypeForResponse", "BillingUsageSummaryReportGhePropCostCenterType", + "BillingUsageSummaryReportGhePropCostCenterTypeForResponse", "BillingUsageSummaryReportGhePropUsageItemsItemsType", + "BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse", + ), + ".group_0193": ( + "MilestoneType", + "MilestoneTypeForResponse", + ), + ".group_0194": ( + "IssueTypeType", + "IssueTypeTypeForResponse", + ), + ".group_0195": ( + "ReactionRollupType", + "ReactionRollupTypeForResponse", ), - ".group_0193": ("MilestoneType",), - ".group_0194": ("IssueTypeType",), - ".group_0195": ("ReactionRollupType",), ".group_0196": ( "SubIssuesSummaryType", + "SubIssuesSummaryTypeForResponse", "IssueDependenciesSummaryType", + "IssueDependenciesSummaryTypeForResponse", ), ".group_0197": ( "IssueFieldValueType", + "IssueFieldValueTypeForResponse", "IssueFieldValuePropSingleSelectOptionType", + "IssueFieldValuePropSingleSelectOptionTypeForResponse", ), ".group_0198": ( "IssueType", + "IssueTypeForResponse", "IssuePropLabelsItemsOneof1Type", + "IssuePropLabelsItemsOneof1TypeForResponse", "IssuePropPullRequestType", + "IssuePropPullRequestTypeForResponse", + ), + ".group_0199": ( + "IssueCommentType", + "IssueCommentTypeForResponse", ), - ".group_0199": ("IssueCommentType",), ".group_0200": ( "EventPropPayloadType", + "EventPropPayloadTypeForResponse", "EventPropPayloadPropPagesItemsType", + "EventPropPayloadPropPagesItemsTypeForResponse", "EventType", + "EventTypeForResponse", "ActorType", + "ActorTypeForResponse", "EventPropRepoType", + "EventPropRepoTypeForResponse", ), ".group_0201": ( "FeedType", + "FeedTypeForResponse", "FeedPropLinksType", + "FeedPropLinksTypeForResponse", "LinkWithTypeType", + "LinkWithTypeTypeForResponse", ), ".group_0202": ( "BaseGistType", + "BaseGistTypeForResponse", "BaseGistPropFilesType", + "BaseGistPropFilesTypeForResponse", ), ".group_0203": ( "GistHistoryType", + "GistHistoryTypeForResponse", "GistHistoryPropChangeStatusType", + "GistHistoryPropChangeStatusTypeForResponse", "GistSimplePropForkOfType", + "GistSimplePropForkOfTypeForResponse", "GistSimplePropForkOfPropFilesType", + "GistSimplePropForkOfPropFilesTypeForResponse", ), ".group_0204": ( "GistSimpleType", + "GistSimpleTypeForResponse", "GistSimplePropFilesType", + "GistSimplePropFilesTypeForResponse", "GistSimplePropForksItemsType", + "GistSimplePropForksItemsTypeForResponse", "PublicUserType", + "PublicUserTypeForResponse", "PublicUserPropPlanType", + "PublicUserPropPlanTypeForResponse", + ), + ".group_0205": ( + "GistCommentType", + "GistCommentTypeForResponse", ), - ".group_0205": ("GistCommentType",), ".group_0206": ( "GistCommitType", + "GistCommitTypeForResponse", "GistCommitPropChangeStatusType", + "GistCommitPropChangeStatusTypeForResponse", + ), + ".group_0207": ( + "GitignoreTemplateType", + "GitignoreTemplateTypeForResponse", + ), + ".group_0208": ( + "LicenseType", + "LicenseTypeForResponse", + ), + ".group_0209": ( + "MarketplaceListingPlanType", + "MarketplaceListingPlanTypeForResponse", + ), + ".group_0210": ( + "MarketplacePurchaseType", + "MarketplacePurchaseTypeForResponse", ), - ".group_0207": ("GitignoreTemplateType",), - ".group_0208": ("LicenseType",), - ".group_0209": ("MarketplaceListingPlanType",), - ".group_0210": ("MarketplacePurchaseType",), ".group_0211": ( "MarketplacePurchasePropMarketplacePendingChangeType", + "MarketplacePurchasePropMarketplacePendingChangeTypeForResponse", "MarketplacePurchasePropMarketplacePurchaseType", + "MarketplacePurchasePropMarketplacePurchaseTypeForResponse", ), ".group_0212": ( "ApiOverviewType", + "ApiOverviewTypeForResponse", "ApiOverviewPropSshKeyFingerprintsType", + "ApiOverviewPropSshKeyFingerprintsTypeForResponse", "ApiOverviewPropDomainsType", + "ApiOverviewPropDomainsTypeForResponse", "ApiOverviewPropDomainsPropActionsInboundType", + "ApiOverviewPropDomainsPropActionsInboundTypeForResponse", "ApiOverviewPropDomainsPropArtifactAttestationsType", + "ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse", ), ".group_0213": ( "SecurityAndAnalysisType", + "SecurityAndAnalysisTypeForResponse", "SecurityAndAnalysisPropAdvancedSecurityType", + "SecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "SecurityAndAnalysisPropCodeSecurityType", + "SecurityAndAnalysisPropCodeSecurityTypeForResponse", "SecurityAndAnalysisPropDependabotSecurityUpdatesType", + "SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse", "SecurityAndAnalysisPropSecretScanningType", + "SecurityAndAnalysisPropSecretScanningTypeForResponse", "SecurityAndAnalysisPropSecretScanningPushProtectionType", + "SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "SecurityAndAnalysisPropSecretScanningAiDetectionType", + "SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningValidityChecksType", + "SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse", ), ".group_0214": ( "MinimalRepositoryType", + "MinimalRepositoryTypeForResponse", "CodeOfConductType", + "CodeOfConductTypeForResponse", "MinimalRepositoryPropPermissionsType", + "MinimalRepositoryPropPermissionsTypeForResponse", "MinimalRepositoryPropLicenseType", + "MinimalRepositoryPropLicenseTypeForResponse", "MinimalRepositoryPropCustomPropertiesType", + "MinimalRepositoryPropCustomPropertiesTypeForResponse", ), ".group_0215": ( "ThreadType", + "ThreadTypeForResponse", "ThreadPropSubjectType", + "ThreadPropSubjectTypeForResponse", + ), + ".group_0216": ( + "ThreadSubscriptionType", + "ThreadSubscriptionTypeForResponse", + ), + ".group_0217": ( + "OrganizationCustomRepositoryRoleType", + "OrganizationCustomRepositoryRoleTypeForResponse", + ), + ".group_0218": ( + "DependabotRepositoryAccessDetailsType", + "DependabotRepositoryAccessDetailsTypeForResponse", ), - ".group_0216": ("ThreadSubscriptionType",), - ".group_0217": ("OrganizationCustomRepositoryRoleType",), - ".group_0218": ("DependabotRepositoryAccessDetailsType",), ".group_0219": ( "BillingPremiumRequestUsageReportOrgType", + "BillingPremiumRequestUsageReportOrgTypeForResponse", "BillingPremiumRequestUsageReportOrgPropTimePeriodType", + "BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse", ), ".group_0220": ( "BillingUsageSummaryReportOrgType", + "BillingUsageSummaryReportOrgTypeForResponse", "BillingUsageSummaryReportOrgPropTimePeriodType", + "BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse", "BillingUsageSummaryReportOrgPropUsageItemsItemsType", + "BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse", ), ".group_0221": ( "OrganizationFullType", + "OrganizationFullTypeForResponse", "OrganizationFullPropPlanType", + "OrganizationFullPropPlanTypeForResponse", + ), + ".group_0222": ( + "OidcCustomSubType", + "OidcCustomSubTypeForResponse", + ), + ".group_0223": ( + "ActionsOrganizationPermissionsType", + "ActionsOrganizationPermissionsTypeForResponse", + ), + ".group_0224": ( + "SelfHostedRunnersSettingsType", + "SelfHostedRunnersSettingsTypeForResponse", + ), + ".group_0225": ( + "ActionsPublicKeyType", + "ActionsPublicKeyTypeForResponse", ), - ".group_0222": ("OidcCustomSubType",), - ".group_0223": ("ActionsOrganizationPermissionsType",), - ".group_0224": ("SelfHostedRunnersSettingsType",), - ".group_0225": ("ActionsPublicKeyType",), ".group_0226": ( "CampaignSummaryType", + "CampaignSummaryTypeForResponse", "CampaignSummaryPropAlertStatsType", + "CampaignSummaryPropAlertStatsTypeForResponse", + ), + ".group_0227": ( + "CodespaceMachineType", + "CodespaceMachineTypeForResponse", ), - ".group_0227": ("CodespaceMachineType",), ".group_0228": ( "CodespaceType", + "CodespaceTypeForResponse", "CodespacePropGitStatusType", + "CodespacePropGitStatusTypeForResponse", "CodespacePropRuntimeConstraintsType", + "CodespacePropRuntimeConstraintsTypeForResponse", + ), + ".group_0229": ( + "CodespacesPublicKeyType", + "CodespacesPublicKeyTypeForResponse", ), - ".group_0229": ("CodespacesPublicKeyType",), ".group_0230": ( "CopilotOrganizationDetailsType", + "CopilotOrganizationDetailsTypeForResponse", "CopilotOrganizationSeatBreakdownType", + "CopilotOrganizationSeatBreakdownTypeForResponse", + ), + ".group_0231": ( + "CredentialAuthorizationType", + "CredentialAuthorizationTypeForResponse", + ), + ".group_0232": ( + "OrganizationCustomRepositoryRoleCreateSchemaType", + "OrganizationCustomRepositoryRoleCreateSchemaTypeForResponse", + ), + ".group_0233": ( + "OrganizationCustomRepositoryRoleUpdateSchemaType", + "OrganizationCustomRepositoryRoleUpdateSchemaTypeForResponse", + ), + ".group_0234": ( + "DependabotPublicKeyType", + "DependabotPublicKeyTypeForResponse", ), - ".group_0231": ("CredentialAuthorizationType",), - ".group_0232": ("OrganizationCustomRepositoryRoleCreateSchemaType",), - ".group_0233": ("OrganizationCustomRepositoryRoleUpdateSchemaType",), - ".group_0234": ("DependabotPublicKeyType",), ".group_0235": ( "CodeScanningAlertDismissalRequestType", + "CodeScanningAlertDismissalRequestTypeForResponse", "CodeScanningAlertDismissalRequestPropRepositoryType", + "CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse", "CodeScanningAlertDismissalRequestPropOrganizationType", + "CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse", "CodeScanningAlertDismissalRequestPropRequesterType", + "CodeScanningAlertDismissalRequestPropRequesterTypeForResponse", "CodeScanningAlertDismissalRequestPropDataItemsType", + "CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse", "DismissalRequestResponseType", + "DismissalRequestResponseTypeForResponse", "DismissalRequestResponsePropReviewerType", + "DismissalRequestResponsePropReviewerTypeForResponse", ), ".group_0236": ( "SecretScanningDismissalRequestType", + "SecretScanningDismissalRequestTypeForResponse", "SecretScanningDismissalRequestPropRepositoryType", + "SecretScanningDismissalRequestPropRepositoryTypeForResponse", "SecretScanningDismissalRequestPropOrganizationType", + "SecretScanningDismissalRequestPropOrganizationTypeForResponse", "SecretScanningDismissalRequestPropRequesterType", + "SecretScanningDismissalRequestPropRequesterTypeForResponse", "SecretScanningDismissalRequestPropDataItemsType", + "SecretScanningDismissalRequestPropDataItemsTypeForResponse", + ), + ".group_0237": ( + "PackageType", + "PackageTypeForResponse", ), - ".group_0237": ("PackageType",), ".group_0238": ( "ExternalGroupType", + "ExternalGroupTypeForResponse", "ExternalGroupPropTeamsItemsType", + "ExternalGroupPropTeamsItemsTypeForResponse", "ExternalGroupPropMembersItemsType", + "ExternalGroupPropMembersItemsTypeForResponse", ), ".group_0239": ( "ExternalGroupsType", + "ExternalGroupsTypeForResponse", "ExternalGroupsPropGroupsItemsType", + "ExternalGroupsPropGroupsItemsTypeForResponse", + ), + ".group_0240": ( + "OrganizationInvitationType", + "OrganizationInvitationTypeForResponse", + ), + ".group_0241": ( + "RepositoryFineGrainedPermissionType", + "RepositoryFineGrainedPermissionTypeForResponse", ), - ".group_0240": ("OrganizationInvitationType",), - ".group_0241": ("RepositoryFineGrainedPermissionType",), ".group_0242": ( "OrgHookType", + "OrgHookTypeForResponse", "OrgHookPropConfigType", + "OrgHookPropConfigTypeForResponse", + ), + ".group_0243": ( + "ApiInsightsRouteStatsItemsType", + "ApiInsightsRouteStatsItemsTypeForResponse", + ), + ".group_0244": ( + "ApiInsightsSubjectStatsItemsType", + "ApiInsightsSubjectStatsItemsTypeForResponse", + ), + ".group_0245": ( + "ApiInsightsSummaryStatsType", + "ApiInsightsSummaryStatsTypeForResponse", + ), + ".group_0246": ( + "ApiInsightsTimeStatsItemsType", + "ApiInsightsTimeStatsItemsTypeForResponse", + ), + ".group_0247": ( + "ApiInsightsUserStatsItemsType", + "ApiInsightsUserStatsItemsTypeForResponse", + ), + ".group_0248": ( + "InteractionLimitResponseType", + "InteractionLimitResponseTypeForResponse", + ), + ".group_0249": ( + "InteractionLimitType", + "InteractionLimitTypeForResponse", + ), + ".group_0250": ( + "OrganizationCreateIssueTypeType", + "OrganizationCreateIssueTypeTypeForResponse", + ), + ".group_0251": ( + "OrganizationUpdateIssueTypeType", + "OrganizationUpdateIssueTypeTypeForResponse", ), - ".group_0243": ("ApiInsightsRouteStatsItemsType",), - ".group_0244": ("ApiInsightsSubjectStatsItemsType",), - ".group_0245": ("ApiInsightsSummaryStatsType",), - ".group_0246": ("ApiInsightsTimeStatsItemsType",), - ".group_0247": ("ApiInsightsUserStatsItemsType",), - ".group_0248": ("InteractionLimitResponseType",), - ".group_0249": ("InteractionLimitType",), - ".group_0250": ("OrganizationCreateIssueTypeType",), - ".group_0251": ("OrganizationUpdateIssueTypeType",), ".group_0252": ( "OrgMembershipType", + "OrgMembershipTypeForResponse", "OrgMembershipPropPermissionsType", + "OrgMembershipPropPermissionsTypeForResponse", + ), + ".group_0253": ( + "MigrationType", + "MigrationTypeForResponse", + ), + ".group_0254": ( + "OrganizationFineGrainedPermissionType", + "OrganizationFineGrainedPermissionTypeForResponse", ), - ".group_0253": ("MigrationType",), - ".group_0254": ("OrganizationFineGrainedPermissionType",), ".group_0255": ( "OrganizationRoleType", + "OrganizationRoleTypeForResponse", "OrgsOrgOrganizationRolesGetResponse200Type", + "OrgsOrgOrganizationRolesGetResponse200TypeForResponse", + ), + ".group_0256": ( + "OrganizationCustomOrganizationRoleCreateSchemaType", + "OrganizationCustomOrganizationRoleCreateSchemaTypeForResponse", + ), + ".group_0257": ( + "OrganizationCustomOrganizationRoleUpdateSchemaType", + "OrganizationCustomOrganizationRoleUpdateSchemaTypeForResponse", ), - ".group_0256": ("OrganizationCustomOrganizationRoleCreateSchemaType",), - ".group_0257": ("OrganizationCustomOrganizationRoleUpdateSchemaType",), ".group_0258": ( "TeamRoleAssignmentType", + "TeamRoleAssignmentTypeForResponse", "TeamRoleAssignmentPropPermissionsType", + "TeamRoleAssignmentPropPermissionsTypeForResponse", + ), + ".group_0259": ( + "UserRoleAssignmentType", + "UserRoleAssignmentTypeForResponse", ), - ".group_0259": ("UserRoleAssignmentType",), ".group_0260": ( "PackageVersionType", + "PackageVersionTypeForResponse", "PackageVersionPropMetadataType", + "PackageVersionPropMetadataTypeForResponse", "PackageVersionPropMetadataPropContainerType", + "PackageVersionPropMetadataPropContainerTypeForResponse", "PackageVersionPropMetadataPropDockerType", + "PackageVersionPropMetadataPropDockerTypeForResponse", ), ".group_0261": ( "OrganizationProgrammaticAccessGrantRequestType", + "OrganizationProgrammaticAccessGrantRequestTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse", ), ".group_0262": ( "OrganizationProgrammaticAccessGrantType", + "OrganizationProgrammaticAccessGrantTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsType", + "OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse", + ), + ".group_0263": ( + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesType", + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse", + ), + ".group_0264": ( + "ProjectsV2StatusUpdateType", + "ProjectsV2StatusUpdateTypeForResponse", + ), + ".group_0265": ( + "ProjectsV2Type", + "ProjectsV2TypeForResponse", + ), + ".group_0266": ( + "LinkType", + "LinkTypeForResponse", + ), + ".group_0267": ( + "AutoMergeType", + "AutoMergeTypeForResponse", ), - ".group_0263": ("OrgPrivateRegistryConfigurationWithSelectedRepositoriesType",), - ".group_0264": ("ProjectsV2StatusUpdateType",), - ".group_0265": ("ProjectsV2Type",), - ".group_0266": ("LinkType",), - ".group_0267": ("AutoMergeType",), ".group_0268": ( "PullRequestSimpleType", + "PullRequestSimpleTypeForResponse", "PullRequestSimplePropLabelsItemsType", + "PullRequestSimplePropLabelsItemsTypeForResponse", ), ".group_0269": ( "PullRequestSimplePropHeadType", + "PullRequestSimplePropHeadTypeForResponse", "PullRequestSimplePropBaseType", + "PullRequestSimplePropBaseTypeForResponse", + ), + ".group_0270": ( + "PullRequestSimplePropLinksType", + "PullRequestSimplePropLinksTypeForResponse", + ), + ".group_0271": ( + "ProjectsV2DraftIssueType", + "ProjectsV2DraftIssueTypeForResponse", + ), + ".group_0272": ( + "ProjectsV2ItemSimpleType", + "ProjectsV2ItemSimpleTypeForResponse", ), - ".group_0270": ("PullRequestSimplePropLinksType",), - ".group_0271": ("ProjectsV2DraftIssueType",), - ".group_0272": ("ProjectsV2ItemSimpleType",), ".group_0273": ( "ProjectsV2FieldType", + "ProjectsV2FieldTypeForResponse", "ProjectsV2SingleSelectOptionsType", + "ProjectsV2SingleSelectOptionsTypeForResponse", "ProjectsV2SingleSelectOptionsPropNameType", + "ProjectsV2SingleSelectOptionsPropNameTypeForResponse", "ProjectsV2SingleSelectOptionsPropDescriptionType", + "ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse", "ProjectsV2FieldPropConfigurationType", + "ProjectsV2FieldPropConfigurationTypeForResponse", "ProjectsV2IterationSettingsType", + "ProjectsV2IterationSettingsTypeForResponse", "ProjectsV2IterationSettingsPropTitleType", + "ProjectsV2IterationSettingsPropTitleTypeForResponse", ), ".group_0274": ( "ProjectsV2ItemWithContentType", + "ProjectsV2ItemWithContentTypeForResponse", "ProjectsV2ItemWithContentPropContentType", + "ProjectsV2ItemWithContentPropContentTypeForResponse", "ProjectsV2ItemWithContentPropFieldsItemsType", + "ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse", + ), + ".group_0275": ( + "OrgRepoCustomPropertyValuesType", + "OrgRepoCustomPropertyValuesTypeForResponse", + ), + ".group_0276": ( + "CodeOfConductSimpleType", + "CodeOfConductSimpleTypeForResponse", ), - ".group_0275": ("OrgRepoCustomPropertyValuesType",), - ".group_0276": ("CodeOfConductSimpleType",), ".group_0277": ( "FullRepositoryType", + "FullRepositoryTypeForResponse", "FullRepositoryPropPermissionsType", + "FullRepositoryPropPermissionsTypeForResponse", "FullRepositoryPropCustomPropertiesType", + "FullRepositoryPropCustomPropertiesTypeForResponse", + ), + ".group_0278": ( + "RuleSuitesItemsType", + "RuleSuitesItemsTypeForResponse", ), - ".group_0278": ("RuleSuitesItemsType",), ".group_0279": ( "RuleSuiteType", + "RuleSuiteTypeForResponse", "RuleSuitePropRuleEvaluationsItemsType", + "RuleSuitePropRuleEvaluationsItemsTypeForResponse", "RuleSuitePropRuleEvaluationsItemsPropRuleSourceType", + "RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse", + ), + ".group_0280": ( + "RepositoryAdvisoryCreditType", + "RepositoryAdvisoryCreditTypeForResponse", ), - ".group_0280": ("RepositoryAdvisoryCreditType",), ".group_0281": ( "RepositoryAdvisoryType", + "RepositoryAdvisoryTypeForResponse", "RepositoryAdvisoryPropIdentifiersItemsType", + "RepositoryAdvisoryPropIdentifiersItemsTypeForResponse", "RepositoryAdvisoryPropSubmissionType", + "RepositoryAdvisoryPropSubmissionTypeForResponse", "RepositoryAdvisoryPropCvssType", + "RepositoryAdvisoryPropCvssTypeForResponse", "RepositoryAdvisoryPropCwesItemsType", + "RepositoryAdvisoryPropCwesItemsTypeForResponse", "RepositoryAdvisoryPropCreditsItemsType", + "RepositoryAdvisoryPropCreditsItemsTypeForResponse", "RepositoryAdvisoryVulnerabilityType", + "RepositoryAdvisoryVulnerabilityTypeForResponse", "RepositoryAdvisoryVulnerabilityPropPackageType", + "RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse", + ), + ".group_0282": ( + "ImmutableReleasesOrganizationSettingsType", + "ImmutableReleasesOrganizationSettingsTypeForResponse", ), - ".group_0282": ("ImmutableReleasesOrganizationSettingsType",), ".group_0283": ( "GroupMappingType", + "GroupMappingTypeForResponse", "GroupMappingPropGroupsItemsType", + "GroupMappingPropGroupsItemsTypeForResponse", ), ".group_0284": ( "TeamFullType", + "TeamFullTypeForResponse", "TeamOrganizationType", + "TeamOrganizationTypeForResponse", "TeamOrganizationPropPlanType", + "TeamOrganizationPropPlanTypeForResponse", + ), + ".group_0285": ( + "TeamDiscussionType", + "TeamDiscussionTypeForResponse", + ), + ".group_0286": ( + "TeamDiscussionCommentType", + "TeamDiscussionCommentTypeForResponse", + ), + ".group_0287": ( + "ReactionType", + "ReactionTypeForResponse", + ), + ".group_0288": ( + "TeamMembershipType", + "TeamMembershipTypeForResponse", ), - ".group_0285": ("TeamDiscussionType",), - ".group_0286": ("TeamDiscussionCommentType",), - ".group_0287": ("ReactionType",), - ".group_0288": ("TeamMembershipType",), ".group_0289": ( "TeamProjectType", + "TeamProjectTypeForResponse", "TeamProjectPropPermissionsType", + "TeamProjectPropPermissionsTypeForResponse", ), ".group_0290": ( "TeamRepositoryType", + "TeamRepositoryTypeForResponse", "TeamRepositoryPropPermissionsType", + "TeamRepositoryPropPermissionsTypeForResponse", + ), + ".group_0291": ( + "ProjectCardType", + "ProjectCardTypeForResponse", + ), + ".group_0292": ( + "ProjectColumnType", + "ProjectColumnTypeForResponse", + ), + ".group_0293": ( + "ProjectCollaboratorPermissionType", + "ProjectCollaboratorPermissionTypeForResponse", + ), + ".group_0294": ( + "RateLimitType", + "RateLimitTypeForResponse", + ), + ".group_0295": ( + "RateLimitOverviewType", + "RateLimitOverviewTypeForResponse", + ), + ".group_0296": ( + "RateLimitOverviewPropResourcesType", + "RateLimitOverviewPropResourcesTypeForResponse", ), - ".group_0291": ("ProjectCardType",), - ".group_0292": ("ProjectColumnType",), - ".group_0293": ("ProjectCollaboratorPermissionType",), - ".group_0294": ("RateLimitType",), - ".group_0295": ("RateLimitOverviewType",), - ".group_0296": ("RateLimitOverviewPropResourcesType",), ".group_0297": ( "ArtifactType", + "ArtifactTypeForResponse", "ArtifactPropWorkflowRunType", + "ArtifactPropWorkflowRunTypeForResponse", ), ".group_0298": ( "ActionsCacheListType", + "ActionsCacheListTypeForResponse", "ActionsCacheListPropActionsCachesItemsType", + "ActionsCacheListPropActionsCachesItemsTypeForResponse", ), ".group_0299": ( "JobType", + "JobTypeForResponse", "JobPropStepsItemsType", + "JobPropStepsItemsTypeForResponse", + ), + ".group_0300": ( + "OidcCustomSubRepoType", + "OidcCustomSubRepoTypeForResponse", + ), + ".group_0301": ( + "ActionsSecretType", + "ActionsSecretTypeForResponse", + ), + ".group_0302": ( + "ActionsVariableType", + "ActionsVariableTypeForResponse", + ), + ".group_0303": ( + "ActionsRepositoryPermissionsType", + "ActionsRepositoryPermissionsTypeForResponse", + ), + ".group_0304": ( + "ActionsWorkflowAccessToRepositoryType", + "ActionsWorkflowAccessToRepositoryTypeForResponse", ), - ".group_0300": ("OidcCustomSubRepoType",), - ".group_0301": ("ActionsSecretType",), - ".group_0302": ("ActionsVariableType",), - ".group_0303": ("ActionsRepositoryPermissionsType",), - ".group_0304": ("ActionsWorkflowAccessToRepositoryType",), ".group_0305": ( "PullRequestMinimalType", + "PullRequestMinimalTypeForResponse", "PullRequestMinimalPropHeadType", + "PullRequestMinimalPropHeadTypeForResponse", "PullRequestMinimalPropHeadPropRepoType", + "PullRequestMinimalPropHeadPropRepoTypeForResponse", "PullRequestMinimalPropBaseType", + "PullRequestMinimalPropBaseTypeForResponse", "PullRequestMinimalPropBasePropRepoType", + "PullRequestMinimalPropBasePropRepoTypeForResponse", ), ".group_0306": ( "SimpleCommitType", + "SimpleCommitTypeForResponse", "SimpleCommitPropAuthorType", + "SimpleCommitPropAuthorTypeForResponse", "SimpleCommitPropCommitterType", + "SimpleCommitPropCommitterTypeForResponse", ), ".group_0307": ( "WorkflowRunType", + "WorkflowRunTypeForResponse", "ReferencedWorkflowType", + "ReferencedWorkflowTypeForResponse", ), ".group_0308": ( "EnvironmentApprovalsType", + "EnvironmentApprovalsTypeForResponse", "EnvironmentApprovalsPropEnvironmentsItemsType", + "EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse", + ), + ".group_0309": ( + "ReviewCustomGatesCommentRequiredType", + "ReviewCustomGatesCommentRequiredTypeForResponse", + ), + ".group_0310": ( + "ReviewCustomGatesStateRequiredType", + "ReviewCustomGatesStateRequiredTypeForResponse", ), - ".group_0309": ("ReviewCustomGatesCommentRequiredType",), - ".group_0310": ("ReviewCustomGatesStateRequiredType",), ".group_0311": ( "PendingDeploymentPropReviewersItemsType", + "PendingDeploymentPropReviewersItemsTypeForResponse", "PendingDeploymentType", + "PendingDeploymentTypeForResponse", "PendingDeploymentPropEnvironmentType", + "PendingDeploymentPropEnvironmentTypeForResponse", ), ".group_0312": ( "DeploymentType", + "DeploymentTypeForResponse", "DeploymentPropPayloadOneof0Type", + "DeploymentPropPayloadOneof0TypeForResponse", ), ".group_0313": ( "WorkflowRunUsageType", + "WorkflowRunUsageTypeForResponse", "WorkflowRunUsagePropBillableType", + "WorkflowRunUsagePropBillableTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuType", + "WorkflowRunUsagePropBillablePropUbuntuTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropMacosType", + "WorkflowRunUsagePropBillablePropMacosTypeForResponse", "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsType", + "WorkflowRunUsagePropBillablePropWindowsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse", ), ".group_0314": ( "WorkflowUsageType", + "WorkflowUsageTypeForResponse", "WorkflowUsagePropBillableType", + "WorkflowUsagePropBillableTypeForResponse", "WorkflowUsagePropBillablePropUbuntuType", + "WorkflowUsagePropBillablePropUbuntuTypeForResponse", "WorkflowUsagePropBillablePropMacosType", + "WorkflowUsagePropBillablePropMacosTypeForResponse", "WorkflowUsagePropBillablePropWindowsType", + "WorkflowUsagePropBillablePropWindowsTypeForResponse", + ), + ".group_0315": ( + "ActivityType", + "ActivityTypeForResponse", + ), + ".group_0316": ( + "AutolinkType", + "AutolinkTypeForResponse", + ), + ".group_0317": ( + "CheckAutomatedSecurityFixesType", + "CheckAutomatedSecurityFixesTypeForResponse", + ), + ".group_0318": ( + "ProtectedBranchPullRequestReviewType", + "ProtectedBranchPullRequestReviewTypeForResponse", ), - ".group_0315": ("ActivityType",), - ".group_0316": ("AutolinkType",), - ".group_0317": ("CheckAutomatedSecurityFixesType",), - ".group_0318": ("ProtectedBranchPullRequestReviewType",), ".group_0319": ( "ProtectedBranchPullRequestReviewPropDismissalRestrictionsType", + "ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse", "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType", + "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse", ), ".group_0320": ( "BranchRestrictionPolicyType", + "BranchRestrictionPolicyTypeForResponse", "BranchRestrictionPolicyPropUsersItemsType", + "BranchRestrictionPolicyPropUsersItemsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsType", + "BranchRestrictionPolicyPropAppsItemsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropOwnerType", + "BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropPermissionsType", + "BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse", ), ".group_0321": ( "BranchProtectionType", + "BranchProtectionTypeForResponse", "ProtectedBranchAdminEnforcedType", + "ProtectedBranchAdminEnforcedTypeForResponse", "BranchProtectionPropRequiredLinearHistoryType", + "BranchProtectionPropRequiredLinearHistoryTypeForResponse", "BranchProtectionPropAllowForcePushesType", + "BranchProtectionPropAllowForcePushesTypeForResponse", "BranchProtectionPropAllowDeletionsType", + "BranchProtectionPropAllowDeletionsTypeForResponse", "BranchProtectionPropBlockCreationsType", + "BranchProtectionPropBlockCreationsTypeForResponse", "BranchProtectionPropRequiredConversationResolutionType", + "BranchProtectionPropRequiredConversationResolutionTypeForResponse", "BranchProtectionPropRequiredSignaturesType", + "BranchProtectionPropRequiredSignaturesTypeForResponse", "BranchProtectionPropLockBranchType", + "BranchProtectionPropLockBranchTypeForResponse", "BranchProtectionPropAllowForkSyncingType", + "BranchProtectionPropAllowForkSyncingTypeForResponse", "ProtectedBranchRequiredStatusCheckType", + "ProtectedBranchRequiredStatusCheckTypeForResponse", "ProtectedBranchRequiredStatusCheckPropChecksItemsType", + "ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse", ), ".group_0322": ( "ShortBranchType", + "ShortBranchTypeForResponse", "ShortBranchPropCommitType", + "ShortBranchPropCommitTypeForResponse", + ), + ".group_0323": ( + "GitUserType", + "GitUserTypeForResponse", + ), + ".group_0324": ( + "VerificationType", + "VerificationTypeForResponse", + ), + ".group_0325": ( + "DiffEntryType", + "DiffEntryTypeForResponse", ), - ".group_0323": ("GitUserType",), - ".group_0324": ("VerificationType",), - ".group_0325": ("DiffEntryType",), ".group_0326": ( "CommitType", + "CommitTypeForResponse", "EmptyObjectType", + "EmptyObjectTypeForResponse", "CommitPropParentsItemsType", + "CommitPropParentsItemsTypeForResponse", "CommitPropStatsType", + "CommitPropStatsTypeForResponse", ), ".group_0327": ( "CommitPropCommitType", + "CommitPropCommitTypeForResponse", "CommitPropCommitPropTreeType", + "CommitPropCommitPropTreeTypeForResponse", ), ".group_0328": ( "BranchWithProtectionType", + "BranchWithProtectionTypeForResponse", "BranchWithProtectionPropLinksType", + "BranchWithProtectionPropLinksTypeForResponse", ), ".group_0329": ( "ProtectedBranchType", + "ProtectedBranchTypeForResponse", "ProtectedBranchPropRequiredSignaturesType", + "ProtectedBranchPropRequiredSignaturesTypeForResponse", "ProtectedBranchPropEnforceAdminsType", + "ProtectedBranchPropEnforceAdminsTypeForResponse", "ProtectedBranchPropRequiredLinearHistoryType", + "ProtectedBranchPropRequiredLinearHistoryTypeForResponse", "ProtectedBranchPropAllowForcePushesType", + "ProtectedBranchPropAllowForcePushesTypeForResponse", "ProtectedBranchPropAllowDeletionsType", + "ProtectedBranchPropAllowDeletionsTypeForResponse", "ProtectedBranchPropRequiredConversationResolutionType", + "ProtectedBranchPropRequiredConversationResolutionTypeForResponse", "ProtectedBranchPropBlockCreationsType", + "ProtectedBranchPropBlockCreationsTypeForResponse", "ProtectedBranchPropLockBranchType", + "ProtectedBranchPropLockBranchTypeForResponse", "ProtectedBranchPropAllowForkSyncingType", + "ProtectedBranchPropAllowForkSyncingTypeForResponse", "StatusCheckPolicyType", + "StatusCheckPolicyTypeForResponse", "StatusCheckPolicyPropChecksItemsType", + "StatusCheckPolicyPropChecksItemsTypeForResponse", + ), + ".group_0330": ( + "ProtectedBranchPropRequiredPullRequestReviewsType", + "ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse", ), - ".group_0330": ("ProtectedBranchPropRequiredPullRequestReviewsType",), ".group_0331": ( "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", + ), + ".group_0332": ( + "DeploymentSimpleType", + "DeploymentSimpleTypeForResponse", ), - ".group_0332": ("DeploymentSimpleType",), ".group_0333": ( "CheckRunType", + "CheckRunTypeForResponse", "CheckRunPropOutputType", + "CheckRunPropOutputTypeForResponse", "CheckRunPropCheckSuiteType", + "CheckRunPropCheckSuiteTypeForResponse", + ), + ".group_0334": ( + "CheckAnnotationType", + "CheckAnnotationTypeForResponse", ), - ".group_0334": ("CheckAnnotationType",), ".group_0335": ( "CheckSuiteType", + "CheckSuiteTypeForResponse", "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse", ), ".group_0336": ( "CheckSuitePreferenceType", + "CheckSuitePreferenceTypeForResponse", "CheckSuitePreferencePropPreferencesType", + "CheckSuitePreferencePropPreferencesTypeForResponse", "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType", + "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse", + ), + ".group_0337": ( + "CodeScanningAlertItemsType", + "CodeScanningAlertItemsTypeForResponse", ), - ".group_0337": ("CodeScanningAlertItemsType",), ".group_0338": ( "CodeScanningAlertType", + "CodeScanningAlertTypeForResponse", "CodeScanningAlertRuleType", + "CodeScanningAlertRuleTypeForResponse", + ), + ".group_0339": ( + "CodeScanningAutofixType", + "CodeScanningAutofixTypeForResponse", + ), + ".group_0340": ( + "CodeScanningAutofixCommitsType", + "CodeScanningAutofixCommitsTypeForResponse", + ), + ".group_0341": ( + "CodeScanningAutofixCommitsResponseType", + "CodeScanningAutofixCommitsResponseTypeForResponse", + ), + ".group_0342": ( + "CodeScanningAnalysisType", + "CodeScanningAnalysisTypeForResponse", + ), + ".group_0343": ( + "CodeScanningAnalysisDeletionType", + "CodeScanningAnalysisDeletionTypeForResponse", + ), + ".group_0344": ( + "CodeScanningCodeqlDatabaseType", + "CodeScanningCodeqlDatabaseTypeForResponse", + ), + ".group_0345": ( + "CodeScanningVariantAnalysisRepositoryType", + "CodeScanningVariantAnalysisRepositoryTypeForResponse", + ), + ".group_0346": ( + "CodeScanningVariantAnalysisSkippedRepoGroupType", + "CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse", + ), + ".group_0347": ( + "CodeScanningVariantAnalysisType", + "CodeScanningVariantAnalysisTypeForResponse", + ), + ".group_0348": ( + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsType", + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse", ), - ".group_0339": ("CodeScanningAutofixType",), - ".group_0340": ("CodeScanningAutofixCommitsType",), - ".group_0341": ("CodeScanningAutofixCommitsResponseType",), - ".group_0342": ("CodeScanningAnalysisType",), - ".group_0343": ("CodeScanningAnalysisDeletionType",), - ".group_0344": ("CodeScanningCodeqlDatabaseType",), - ".group_0345": ("CodeScanningVariantAnalysisRepositoryType",), - ".group_0346": ("CodeScanningVariantAnalysisSkippedRepoGroupType",), - ".group_0347": ("CodeScanningVariantAnalysisType",), - ".group_0348": ("CodeScanningVariantAnalysisPropScannedRepositoriesItemsType",), ".group_0349": ( "CodeScanningVariantAnalysisPropSkippedRepositoriesType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse", "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse", + ), + ".group_0350": ( + "CodeScanningVariantAnalysisRepoTaskType", + "CodeScanningVariantAnalysisRepoTaskTypeForResponse", + ), + ".group_0351": ( + "CodeScanningDefaultSetupType", + "CodeScanningDefaultSetupTypeForResponse", + ), + ".group_0352": ( + "CodeScanningDefaultSetupUpdateType", + "CodeScanningDefaultSetupUpdateTypeForResponse", + ), + ".group_0353": ( + "CodeScanningDefaultSetupUpdateResponseType", + "CodeScanningDefaultSetupUpdateResponseTypeForResponse", + ), + ".group_0354": ( + "CodeScanningSarifsReceiptType", + "CodeScanningSarifsReceiptTypeForResponse", + ), + ".group_0355": ( + "CodeScanningSarifsStatusType", + "CodeScanningSarifsStatusTypeForResponse", + ), + ".group_0356": ( + "CodeSecurityConfigurationForRepositoryType", + "CodeSecurityConfigurationForRepositoryTypeForResponse", ), - ".group_0350": ("CodeScanningVariantAnalysisRepoTaskType",), - ".group_0351": ("CodeScanningDefaultSetupType",), - ".group_0352": ("CodeScanningDefaultSetupUpdateType",), - ".group_0353": ("CodeScanningDefaultSetupUpdateResponseType",), - ".group_0354": ("CodeScanningSarifsReceiptType",), - ".group_0355": ("CodeScanningSarifsStatusType",), - ".group_0356": ("CodeSecurityConfigurationForRepositoryType",), ".group_0357": ( "CodeownersErrorsType", + "CodeownersErrorsTypeForResponse", "CodeownersErrorsPropErrorsItemsType", + "CodeownersErrorsPropErrorsItemsTypeForResponse", + ), + ".group_0358": ( + "CodespacesPermissionsCheckForDevcontainerType", + "CodespacesPermissionsCheckForDevcontainerTypeForResponse", + ), + ".group_0359": ( + "RepositoryInvitationType", + "RepositoryInvitationTypeForResponse", ), - ".group_0358": ("CodespacesPermissionsCheckForDevcontainerType",), - ".group_0359": ("RepositoryInvitationType",), ".group_0360": ( "RepositoryCollaboratorPermissionType", + "RepositoryCollaboratorPermissionTypeForResponse", "CollaboratorType", + "CollaboratorTypeForResponse", "CollaboratorPropPermissionsType", + "CollaboratorPropPermissionsTypeForResponse", ), ".group_0361": ( "CommitCommentType", + "CommitCommentTypeForResponse", "TimelineCommitCommentedEventType", + "TimelineCommitCommentedEventTypeForResponse", ), ".group_0362": ( "BranchShortType", + "BranchShortTypeForResponse", "BranchShortPropCommitType", + "BranchShortPropCommitTypeForResponse", ), ".group_0363": ( "CombinedCommitStatusType", + "CombinedCommitStatusTypeForResponse", "SimpleCommitStatusType", + "SimpleCommitStatusTypeForResponse", + ), + ".group_0364": ( + "StatusType", + "StatusTypeForResponse", ), - ".group_0364": ("StatusType",), ".group_0365": ( "CommunityProfilePropFilesType", + "CommunityProfilePropFilesTypeForResponse", "CommunityHealthFileType", + "CommunityHealthFileTypeForResponse", "CommunityProfileType", + "CommunityProfileTypeForResponse", + ), + ".group_0366": ( + "CommitComparisonType", + "CommitComparisonTypeForResponse", ), - ".group_0366": ("CommitComparisonType",), ".group_0367": ( "ContentTreeType", + "ContentTreeTypeForResponse", "ContentTreePropLinksType", + "ContentTreePropLinksTypeForResponse", "ContentTreePropEntriesItemsType", + "ContentTreePropEntriesItemsTypeForResponse", "ContentTreePropEntriesItemsPropLinksType", + "ContentTreePropEntriesItemsPropLinksTypeForResponse", ), ".group_0368": ( "ContentDirectoryItemsType", + "ContentDirectoryItemsTypeForResponse", "ContentDirectoryItemsPropLinksType", + "ContentDirectoryItemsPropLinksTypeForResponse", ), ".group_0369": ( "ContentFileType", + "ContentFileTypeForResponse", "ContentFilePropLinksType", + "ContentFilePropLinksTypeForResponse", ), ".group_0370": ( "ContentSymlinkType", + "ContentSymlinkTypeForResponse", "ContentSymlinkPropLinksType", + "ContentSymlinkPropLinksTypeForResponse", ), ".group_0371": ( "ContentSubmoduleType", + "ContentSubmoduleTypeForResponse", "ContentSubmodulePropLinksType", + "ContentSubmodulePropLinksTypeForResponse", ), ".group_0372": ( "FileCommitType", + "FileCommitTypeForResponse", "FileCommitPropContentType", + "FileCommitPropContentTypeForResponse", "FileCommitPropContentPropLinksType", + "FileCommitPropContentPropLinksTypeForResponse", "FileCommitPropCommitType", + "FileCommitPropCommitTypeForResponse", "FileCommitPropCommitPropAuthorType", + "FileCommitPropCommitPropAuthorTypeForResponse", "FileCommitPropCommitPropCommitterType", + "FileCommitPropCommitPropCommitterTypeForResponse", "FileCommitPropCommitPropTreeType", + "FileCommitPropCommitPropTreeTypeForResponse", "FileCommitPropCommitPropParentsItemsType", + "FileCommitPropCommitPropParentsItemsTypeForResponse", "FileCommitPropCommitPropVerificationType", + "FileCommitPropCommitPropVerificationTypeForResponse", ), ".group_0373": ( "RepositoryRuleViolationErrorType", + "RepositoryRuleViolationErrorTypeForResponse", "RepositoryRuleViolationErrorPropMetadataType", + "RepositoryRuleViolationErrorPropMetadataTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse", + ), + ".group_0374": ( + "ContributorType", + "ContributorTypeForResponse", + ), + ".group_0375": ( + "DependabotAlertType", + "DependabotAlertTypeForResponse", + ), + ".group_0376": ( + "DependabotAlertPropDependencyType", + "DependabotAlertPropDependencyTypeForResponse", ), - ".group_0374": ("ContributorType",), - ".group_0375": ("DependabotAlertType",), - ".group_0376": ("DependabotAlertPropDependencyType",), ".group_0377": ( "DependencyGraphDiffItemsType", + "DependencyGraphDiffItemsTypeForResponse", "DependencyGraphDiffItemsPropVulnerabilitiesItemsType", + "DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse", ), ".group_0378": ( "DependencyGraphSpdxSbomType", + "DependencyGraphSpdxSbomTypeForResponse", "DependencyGraphSpdxSbomPropSbomType", + "DependencyGraphSpdxSbomPropSbomTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropCreationInfoType", + "DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType", + "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse", + ), + ".group_0379": ( + "MetadataType", + "MetadataTypeForResponse", + ), + ".group_0380": ( + "DependencyType", + "DependencyTypeForResponse", ), - ".group_0379": ("MetadataType",), - ".group_0380": ("DependencyType",), ".group_0381": ( "ManifestType", + "ManifestTypeForResponse", "ManifestPropFileType", + "ManifestPropFileTypeForResponse", "ManifestPropResolvedType", + "ManifestPropResolvedTypeForResponse", ), ".group_0382": ( "SnapshotType", + "SnapshotTypeForResponse", "SnapshotPropJobType", + "SnapshotPropJobTypeForResponse", "SnapshotPropDetectorType", + "SnapshotPropDetectorTypeForResponse", "SnapshotPropManifestsType", + "SnapshotPropManifestsTypeForResponse", + ), + ".group_0383": ( + "DeploymentStatusType", + "DeploymentStatusTypeForResponse", + ), + ".group_0384": ( + "DeploymentBranchPolicySettingsType", + "DeploymentBranchPolicySettingsTypeForResponse", ), - ".group_0383": ("DeploymentStatusType",), - ".group_0384": ("DeploymentBranchPolicySettingsType",), ".group_0385": ( "EnvironmentType", + "EnvironmentTypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof0Type", + "EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof2Type", + "EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse", "ReposOwnerRepoEnvironmentsGetResponse200Type", + "ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse", + ), + ".group_0386": ( + "EnvironmentPropProtectionRulesItemsAnyof1Type", + "EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse", ), - ".group_0386": ("EnvironmentPropProtectionRulesItemsAnyof1Type",), ".group_0387": ( "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType", + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse", + ), + ".group_0388": ( + "DeploymentBranchPolicyNamePatternWithTypeType", + "DeploymentBranchPolicyNamePatternWithTypeTypeForResponse", + ), + ".group_0389": ( + "DeploymentBranchPolicyNamePatternType", + "DeploymentBranchPolicyNamePatternTypeForResponse", + ), + ".group_0390": ( + "CustomDeploymentRuleAppType", + "CustomDeploymentRuleAppTypeForResponse", ), - ".group_0388": ("DeploymentBranchPolicyNamePatternWithTypeType",), - ".group_0389": ("DeploymentBranchPolicyNamePatternType",), - ".group_0390": ("CustomDeploymentRuleAppType",), ".group_0391": ( "DeploymentProtectionRuleType", + "DeploymentProtectionRuleTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse", + ), + ".group_0392": ( + "ShortBlobType", + "ShortBlobTypeForResponse", + ), + ".group_0393": ( + "BlobType", + "BlobTypeForResponse", ), - ".group_0392": ("ShortBlobType",), - ".group_0393": ("BlobType",), ".group_0394": ( "GitCommitType", + "GitCommitTypeForResponse", "GitCommitPropAuthorType", + "GitCommitPropAuthorTypeForResponse", "GitCommitPropCommitterType", + "GitCommitPropCommitterTypeForResponse", "GitCommitPropTreeType", + "GitCommitPropTreeTypeForResponse", "GitCommitPropParentsItemsType", + "GitCommitPropParentsItemsTypeForResponse", "GitCommitPropVerificationType", + "GitCommitPropVerificationTypeForResponse", ), ".group_0395": ( "GitRefType", + "GitRefTypeForResponse", "GitRefPropObjectType", + "GitRefPropObjectTypeForResponse", ), ".group_0396": ( "GitTagType", + "GitTagTypeForResponse", "GitTagPropTaggerType", + "GitTagPropTaggerTypeForResponse", "GitTagPropObjectType", + "GitTagPropObjectTypeForResponse", ), ".group_0397": ( "GitTreeType", + "GitTreeTypeForResponse", "GitTreePropTreeItemsType", + "GitTreePropTreeItemsTypeForResponse", + ), + ".group_0398": ( + "HookResponseType", + "HookResponseTypeForResponse", + ), + ".group_0399": ( + "HookType", + "HookTypeForResponse", + ), + ".group_0400": ( + "CheckImmutableReleasesType", + "CheckImmutableReleasesTypeForResponse", ), - ".group_0398": ("HookResponseType",), - ".group_0399": ("HookType",), - ".group_0400": ("CheckImmutableReleasesType",), ".group_0401": ( "ImportType", + "ImportTypeForResponse", "ImportPropProjectChoicesItemsType", + "ImportPropProjectChoicesItemsTypeForResponse", + ), + ".group_0402": ( + "PorterAuthorType", + "PorterAuthorTypeForResponse", + ), + ".group_0403": ( + "PorterLargeFileType", + "PorterLargeFileTypeForResponse", ), - ".group_0402": ("PorterAuthorType",), - ".group_0403": ("PorterLargeFileType",), ".group_0404": ( "IssueEventType", + "IssueEventTypeForResponse", "IssueEventLabelType", + "IssueEventLabelTypeForResponse", "IssueEventDismissedReviewType", + "IssueEventDismissedReviewTypeForResponse", "IssueEventMilestoneType", + "IssueEventMilestoneTypeForResponse", "IssueEventProjectCardType", + "IssueEventProjectCardTypeForResponse", "IssueEventRenameType", + "IssueEventRenameTypeForResponse", ), ".group_0405": ( "LabeledIssueEventType", + "LabeledIssueEventTypeForResponse", "LabeledIssueEventPropLabelType", + "LabeledIssueEventPropLabelTypeForResponse", ), ".group_0406": ( "UnlabeledIssueEventType", + "UnlabeledIssueEventTypeForResponse", "UnlabeledIssueEventPropLabelType", + "UnlabeledIssueEventPropLabelTypeForResponse", + ), + ".group_0407": ( + "AssignedIssueEventType", + "AssignedIssueEventTypeForResponse", + ), + ".group_0408": ( + "UnassignedIssueEventType", + "UnassignedIssueEventTypeForResponse", ), - ".group_0407": ("AssignedIssueEventType",), - ".group_0408": ("UnassignedIssueEventType",), ".group_0409": ( "MilestonedIssueEventType", + "MilestonedIssueEventTypeForResponse", "MilestonedIssueEventPropMilestoneType", + "MilestonedIssueEventPropMilestoneTypeForResponse", ), ".group_0410": ( "DemilestonedIssueEventType", + "DemilestonedIssueEventTypeForResponse", "DemilestonedIssueEventPropMilestoneType", + "DemilestonedIssueEventPropMilestoneTypeForResponse", ), ".group_0411": ( "RenamedIssueEventType", + "RenamedIssueEventTypeForResponse", "RenamedIssueEventPropRenameType", + "RenamedIssueEventPropRenameTypeForResponse", + ), + ".group_0412": ( + "ReviewRequestedIssueEventType", + "ReviewRequestedIssueEventTypeForResponse", + ), + ".group_0413": ( + "ReviewRequestRemovedIssueEventType", + "ReviewRequestRemovedIssueEventTypeForResponse", ), - ".group_0412": ("ReviewRequestedIssueEventType",), - ".group_0413": ("ReviewRequestRemovedIssueEventType",), ".group_0414": ( "ReviewDismissedIssueEventType", + "ReviewDismissedIssueEventTypeForResponse", "ReviewDismissedIssueEventPropDismissedReviewType", + "ReviewDismissedIssueEventPropDismissedReviewTypeForResponse", + ), + ".group_0415": ( + "LockedIssueEventType", + "LockedIssueEventTypeForResponse", ), - ".group_0415": ("LockedIssueEventType",), ".group_0416": ( "AddedToProjectIssueEventType", + "AddedToProjectIssueEventTypeForResponse", "AddedToProjectIssueEventPropProjectCardType", + "AddedToProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0417": ( "MovedColumnInProjectIssueEventType", + "MovedColumnInProjectIssueEventTypeForResponse", "MovedColumnInProjectIssueEventPropProjectCardType", + "MovedColumnInProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0418": ( "RemovedFromProjectIssueEventType", + "RemovedFromProjectIssueEventTypeForResponse", "RemovedFromProjectIssueEventPropProjectCardType", + "RemovedFromProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0419": ( "ConvertedNoteToIssueIssueEventType", + "ConvertedNoteToIssueIssueEventTypeForResponse", "ConvertedNoteToIssueIssueEventPropProjectCardType", + "ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse", + ), + ".group_0420": ( + "TimelineCommentEventType", + "TimelineCommentEventTypeForResponse", + ), + ".group_0421": ( + "TimelineCrossReferencedEventType", + "TimelineCrossReferencedEventTypeForResponse", + ), + ".group_0422": ( + "TimelineCrossReferencedEventPropSourceType", + "TimelineCrossReferencedEventPropSourceTypeForResponse", ), - ".group_0420": ("TimelineCommentEventType",), - ".group_0421": ("TimelineCrossReferencedEventType",), - ".group_0422": ("TimelineCrossReferencedEventPropSourceType",), ".group_0423": ( "TimelineCommittedEventType", + "TimelineCommittedEventTypeForResponse", "TimelineCommittedEventPropAuthorType", + "TimelineCommittedEventPropAuthorTypeForResponse", "TimelineCommittedEventPropCommitterType", + "TimelineCommittedEventPropCommitterTypeForResponse", "TimelineCommittedEventPropTreeType", + "TimelineCommittedEventPropTreeTypeForResponse", "TimelineCommittedEventPropParentsItemsType", + "TimelineCommittedEventPropParentsItemsTypeForResponse", "TimelineCommittedEventPropVerificationType", + "TimelineCommittedEventPropVerificationTypeForResponse", ), ".group_0424": ( "TimelineReviewedEventType", + "TimelineReviewedEventTypeForResponse", "TimelineReviewedEventPropLinksType", + "TimelineReviewedEventPropLinksTypeForResponse", "TimelineReviewedEventPropLinksPropHtmlType", + "TimelineReviewedEventPropLinksPropHtmlTypeForResponse", "TimelineReviewedEventPropLinksPropPullRequestType", + "TimelineReviewedEventPropLinksPropPullRequestTypeForResponse", ), ".group_0425": ( "PullRequestReviewCommentType", + "PullRequestReviewCommentTypeForResponse", "PullRequestReviewCommentPropLinksType", + "PullRequestReviewCommentPropLinksTypeForResponse", "PullRequestReviewCommentPropLinksPropSelfType", + "PullRequestReviewCommentPropLinksPropSelfTypeForResponse", "PullRequestReviewCommentPropLinksPropHtmlType", + "PullRequestReviewCommentPropLinksPropHtmlTypeForResponse", "PullRequestReviewCommentPropLinksPropPullRequestType", + "PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse", "TimelineLineCommentedEventType", + "TimelineLineCommentedEventTypeForResponse", + ), + ".group_0426": ( + "TimelineAssignedIssueEventType", + "TimelineAssignedIssueEventTypeForResponse", + ), + ".group_0427": ( + "TimelineUnassignedIssueEventType", + "TimelineUnassignedIssueEventTypeForResponse", + ), + ".group_0428": ( + "StateChangeIssueEventType", + "StateChangeIssueEventTypeForResponse", + ), + ".group_0429": ( + "DeployKeyType", + "DeployKeyTypeForResponse", + ), + ".group_0430": ( + "LanguageType", + "LanguageTypeForResponse", ), - ".group_0426": ("TimelineAssignedIssueEventType",), - ".group_0427": ("TimelineUnassignedIssueEventType",), - ".group_0428": ("StateChangeIssueEventType",), - ".group_0429": ("DeployKeyType",), - ".group_0430": ("LanguageType",), ".group_0431": ( "LicenseContentType", + "LicenseContentTypeForResponse", "LicenseContentPropLinksType", + "LicenseContentPropLinksTypeForResponse", + ), + ".group_0432": ( + "MergedUpstreamType", + "MergedUpstreamTypeForResponse", ), - ".group_0432": ("MergedUpstreamType",), ".group_0433": ( "PageType", + "PageTypeForResponse", "PagesSourceHashType", + "PagesSourceHashTypeForResponse", "PagesHttpsCertificateType", + "PagesHttpsCertificateTypeForResponse", ), ".group_0434": ( "PageBuildType", + "PageBuildTypeForResponse", "PageBuildPropErrorType", + "PageBuildPropErrorTypeForResponse", + ), + ".group_0435": ( + "PageBuildStatusType", + "PageBuildStatusTypeForResponse", + ), + ".group_0436": ( + "PageDeploymentType", + "PageDeploymentTypeForResponse", + ), + ".group_0437": ( + "PagesDeploymentStatusType", + "PagesDeploymentStatusTypeForResponse", ), - ".group_0435": ("PageBuildStatusType",), - ".group_0436": ("PageDeploymentType",), - ".group_0437": ("PagesDeploymentStatusType",), ".group_0438": ( "PagesHealthCheckType", + "PagesHealthCheckTypeForResponse", "PagesHealthCheckPropDomainType", + "PagesHealthCheckPropDomainTypeForResponse", "PagesHealthCheckPropAltDomainType", + "PagesHealthCheckPropAltDomainTypeForResponse", + ), + ".group_0439": ( + "PullRequestType", + "PullRequestTypeForResponse", + ), + ".group_0440": ( + "PullRequestPropLabelsItemsType", + "PullRequestPropLabelsItemsTypeForResponse", ), - ".group_0439": ("PullRequestType",), - ".group_0440": ("PullRequestPropLabelsItemsType",), ".group_0441": ( "PullRequestPropHeadType", + "PullRequestPropHeadTypeForResponse", "PullRequestPropBaseType", + "PullRequestPropBaseTypeForResponse", + ), + ".group_0442": ( + "PullRequestPropLinksType", + "PullRequestPropLinksTypeForResponse", + ), + ".group_0443": ( + "PullRequestMergeResultType", + "PullRequestMergeResultTypeForResponse", + ), + ".group_0444": ( + "PullRequestReviewRequestType", + "PullRequestReviewRequestTypeForResponse", ), - ".group_0442": ("PullRequestPropLinksType",), - ".group_0443": ("PullRequestMergeResultType",), - ".group_0444": ("PullRequestReviewRequestType",), ".group_0445": ( "PullRequestReviewType", + "PullRequestReviewTypeForResponse", "PullRequestReviewPropLinksType", + "PullRequestReviewPropLinksTypeForResponse", "PullRequestReviewPropLinksPropHtmlType", + "PullRequestReviewPropLinksPropHtmlTypeForResponse", "PullRequestReviewPropLinksPropPullRequestType", + "PullRequestReviewPropLinksPropPullRequestTypeForResponse", + ), + ".group_0446": ( + "ReviewCommentType", + "ReviewCommentTypeForResponse", + ), + ".group_0447": ( + "ReviewCommentPropLinksType", + "ReviewCommentPropLinksTypeForResponse", + ), + ".group_0448": ( + "ReleaseAssetType", + "ReleaseAssetTypeForResponse", + ), + ".group_0449": ( + "ReleaseType", + "ReleaseTypeForResponse", + ), + ".group_0450": ( + "ReleaseNotesContentType", + "ReleaseNotesContentTypeForResponse", + ), + ".group_0451": ( + "RepositoryRuleRulesetInfoType", + "RepositoryRuleRulesetInfoTypeForResponse", + ), + ".group_0452": ( + "RepositoryRuleDetailedOneof0Type", + "RepositoryRuleDetailedOneof0TypeForResponse", + ), + ".group_0453": ( + "RepositoryRuleDetailedOneof1Type", + "RepositoryRuleDetailedOneof1TypeForResponse", + ), + ".group_0454": ( + "RepositoryRuleDetailedOneof2Type", + "RepositoryRuleDetailedOneof2TypeForResponse", + ), + ".group_0455": ( + "RepositoryRuleDetailedOneof3Type", + "RepositoryRuleDetailedOneof3TypeForResponse", + ), + ".group_0456": ( + "RepositoryRuleDetailedOneof4Type", + "RepositoryRuleDetailedOneof4TypeForResponse", + ), + ".group_0457": ( + "RepositoryRuleDetailedOneof5Type", + "RepositoryRuleDetailedOneof5TypeForResponse", + ), + ".group_0458": ( + "RepositoryRuleDetailedOneof6Type", + "RepositoryRuleDetailedOneof6TypeForResponse", + ), + ".group_0459": ( + "RepositoryRuleDetailedOneof7Type", + "RepositoryRuleDetailedOneof7TypeForResponse", + ), + ".group_0460": ( + "RepositoryRuleDetailedOneof8Type", + "RepositoryRuleDetailedOneof8TypeForResponse", + ), + ".group_0461": ( + "RepositoryRuleDetailedOneof9Type", + "RepositoryRuleDetailedOneof9TypeForResponse", + ), + ".group_0462": ( + "RepositoryRuleDetailedOneof10Type", + "RepositoryRuleDetailedOneof10TypeForResponse", + ), + ".group_0463": ( + "RepositoryRuleDetailedOneof11Type", + "RepositoryRuleDetailedOneof11TypeForResponse", + ), + ".group_0464": ( + "RepositoryRuleDetailedOneof12Type", + "RepositoryRuleDetailedOneof12TypeForResponse", + ), + ".group_0465": ( + "RepositoryRuleDetailedOneof13Type", + "RepositoryRuleDetailedOneof13TypeForResponse", + ), + ".group_0466": ( + "RepositoryRuleDetailedOneof14Type", + "RepositoryRuleDetailedOneof14TypeForResponse", + ), + ".group_0467": ( + "RepositoryRuleDetailedOneof15Type", + "RepositoryRuleDetailedOneof15TypeForResponse", + ), + ".group_0468": ( + "RepositoryRuleDetailedOneof16Type", + "RepositoryRuleDetailedOneof16TypeForResponse", + ), + ".group_0469": ( + "RepositoryRuleDetailedOneof17Type", + "RepositoryRuleDetailedOneof17TypeForResponse", + ), + ".group_0470": ( + "RepositoryRuleDetailedOneof18Type", + "RepositoryRuleDetailedOneof18TypeForResponse", + ), + ".group_0471": ( + "RepositoryRuleDetailedOneof19Type", + "RepositoryRuleDetailedOneof19TypeForResponse", + ), + ".group_0472": ( + "RepositoryRuleDetailedOneof20Type", + "RepositoryRuleDetailedOneof20TypeForResponse", + ), + ".group_0473": ( + "RepositoryRuleDetailedOneof21Type", + "RepositoryRuleDetailedOneof21TypeForResponse", + ), + ".group_0474": ( + "SecretScanningAlertType", + "SecretScanningAlertTypeForResponse", + ), + ".group_0475": ( + "SecretScanningLocationType", + "SecretScanningLocationTypeForResponse", + ), + ".group_0476": ( + "SecretScanningPushProtectionBypassType", + "SecretScanningPushProtectionBypassTypeForResponse", ), - ".group_0446": ("ReviewCommentType",), - ".group_0447": ("ReviewCommentPropLinksType",), - ".group_0448": ("ReleaseAssetType",), - ".group_0449": ("ReleaseType",), - ".group_0450": ("ReleaseNotesContentType",), - ".group_0451": ("RepositoryRuleRulesetInfoType",), - ".group_0452": ("RepositoryRuleDetailedOneof0Type",), - ".group_0453": ("RepositoryRuleDetailedOneof1Type",), - ".group_0454": ("RepositoryRuleDetailedOneof2Type",), - ".group_0455": ("RepositoryRuleDetailedOneof3Type",), - ".group_0456": ("RepositoryRuleDetailedOneof4Type",), - ".group_0457": ("RepositoryRuleDetailedOneof5Type",), - ".group_0458": ("RepositoryRuleDetailedOneof6Type",), - ".group_0459": ("RepositoryRuleDetailedOneof7Type",), - ".group_0460": ("RepositoryRuleDetailedOneof8Type",), - ".group_0461": ("RepositoryRuleDetailedOneof9Type",), - ".group_0462": ("RepositoryRuleDetailedOneof10Type",), - ".group_0463": ("RepositoryRuleDetailedOneof11Type",), - ".group_0464": ("RepositoryRuleDetailedOneof12Type",), - ".group_0465": ("RepositoryRuleDetailedOneof13Type",), - ".group_0466": ("RepositoryRuleDetailedOneof14Type",), - ".group_0467": ("RepositoryRuleDetailedOneof15Type",), - ".group_0468": ("RepositoryRuleDetailedOneof16Type",), - ".group_0469": ("RepositoryRuleDetailedOneof17Type",), - ".group_0470": ("RepositoryRuleDetailedOneof18Type",), - ".group_0471": ("RepositoryRuleDetailedOneof19Type",), - ".group_0472": ("RepositoryRuleDetailedOneof20Type",), - ".group_0473": ("RepositoryRuleDetailedOneof21Type",), - ".group_0474": ("SecretScanningAlertType",), - ".group_0475": ("SecretScanningLocationType",), - ".group_0476": ("SecretScanningPushProtectionBypassType",), ".group_0477": ( "SecretScanningScanHistoryType", + "SecretScanningScanHistoryTypeForResponse", "SecretScanningScanType", + "SecretScanningScanTypeForResponse", "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse", ), ".group_0478": ( "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse", ), ".group_0479": ( "RepositoryAdvisoryCreateType", + "RepositoryAdvisoryCreateTypeForResponse", "RepositoryAdvisoryCreatePropCreditsItemsType", + "RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0480": ( "PrivateVulnerabilityReportCreateType", + "PrivateVulnerabilityReportCreateTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0481": ( "RepositoryAdvisoryUpdateType", + "RepositoryAdvisoryUpdateTypeForResponse", "RepositoryAdvisoryUpdatePropCreditsItemsType", + "RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse", + ), + ".group_0482": ( + "StargazerType", + "StargazerTypeForResponse", + ), + ".group_0483": ( + "CommitActivityType", + "CommitActivityTypeForResponse", ), - ".group_0482": ("StargazerType",), - ".group_0483": ("CommitActivityType",), ".group_0484": ( "ContributorActivityType", + "ContributorActivityTypeForResponse", "ContributorActivityPropWeeksItemsType", + "ContributorActivityPropWeeksItemsTypeForResponse", + ), + ".group_0485": ( + "ParticipationStatsType", + "ParticipationStatsTypeForResponse", + ), + ".group_0486": ( + "RepositorySubscriptionType", + "RepositorySubscriptionTypeForResponse", ), - ".group_0485": ("ParticipationStatsType",), - ".group_0486": ("RepositorySubscriptionType",), ".group_0487": ( "TagType", + "TagTypeForResponse", "TagPropCommitType", + "TagPropCommitTypeForResponse", + ), + ".group_0488": ( + "TagProtectionType", + "TagProtectionTypeForResponse", + ), + ".group_0489": ( + "TopicType", + "TopicTypeForResponse", + ), + ".group_0490": ( + "TrafficType", + "TrafficTypeForResponse", + ), + ".group_0491": ( + "CloneTrafficType", + "CloneTrafficTypeForResponse", + ), + ".group_0492": ( + "ContentTrafficType", + "ContentTrafficTypeForResponse", + ), + ".group_0493": ( + "ReferrerTrafficType", + "ReferrerTrafficTypeForResponse", + ), + ".group_0494": ( + "ViewTrafficType", + "ViewTrafficTypeForResponse", ), - ".group_0488": ("TagProtectionType",), - ".group_0489": ("TopicType",), - ".group_0490": ("TrafficType",), - ".group_0491": ("CloneTrafficType",), - ".group_0492": ("ContentTrafficType",), - ".group_0493": ("ReferrerTrafficType",), - ".group_0494": ("ViewTrafficType",), ".group_0495": ( "GroupResponseType", + "GroupResponseTypeForResponse", "GroupResponsePropMembersItemsType", + "GroupResponsePropMembersItemsTypeForResponse", + ), + ".group_0496": ( + "MetaType", + "MetaTypeForResponse", ), - ".group_0496": ("MetaType",), ".group_0497": ( "ScimEnterpriseGroupResponseType", + "ScimEnterpriseGroupResponseTypeForResponse", "ScimEnterpriseGroupResponseMergedMembersType", + "ScimEnterpriseGroupResponseMergedMembersTypeForResponse", "ScimEnterpriseGroupListType", + "ScimEnterpriseGroupListTypeForResponse", ), ".group_0498": ( "ScimEnterpriseGroupResponseAllof1Type", + "ScimEnterpriseGroupResponseAllof1TypeForResponse", "ScimEnterpriseGroupResponseAllof1PropMembersItemsType", + "ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse", ), ".group_0499": ( "GroupType", + "GroupTypeForResponse", "GroupPropMembersItemsType", + "GroupPropMembersItemsTypeForResponse", ), ".group_0500": ( "PatchSchemaType", + "PatchSchemaTypeForResponse", "PatchSchemaPropOperationsItemsType", + "PatchSchemaPropOperationsItemsTypeForResponse", ), ".group_0501": ( "UserNameResponseType", + "UserNameResponseTypeForResponse", "UserEmailsResponseItemsType", + "UserEmailsResponseItemsTypeForResponse", + ), + ".group_0502": ( + "UserRoleItemsType", + "UserRoleItemsTypeForResponse", + ), + ".group_0503": ( + "UserResponseType", + "UserResponseTypeForResponse", ), - ".group_0502": ("UserRoleItemsType",), - ".group_0503": ("UserResponseType",), ".group_0504": ( "ScimEnterpriseUserResponseType", + "ScimEnterpriseUserResponseTypeForResponse", "ScimEnterpriseUserListType", + "ScimEnterpriseUserListTypeForResponse", + ), + ".group_0505": ( + "ScimEnterpriseUserResponseAllof1Type", + "ScimEnterpriseUserResponseAllof1TypeForResponse", + ), + ".group_0506": ( + "ScimEnterpriseUserResponseAllof1PropGroupsItemsType", + "ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse", ), - ".group_0505": ("ScimEnterpriseUserResponseAllof1Type",), - ".group_0506": ("ScimEnterpriseUserResponseAllof1PropGroupsItemsType",), ".group_0507": ( "UserType", + "UserTypeForResponse", "UserNameType", + "UserNameTypeForResponse", "UserEmailsItemsType", + "UserEmailsItemsTypeForResponse", ), ".group_0508": ( "ScimUserListType", + "ScimUserListTypeForResponse", "ScimUserType", + "ScimUserTypeForResponse", "ScimUserPropNameType", + "ScimUserPropNameTypeForResponse", "ScimUserPropEmailsItemsType", + "ScimUserPropEmailsItemsTypeForResponse", "ScimUserPropMetaType", + "ScimUserPropMetaTypeForResponse", "ScimUserPropGroupsItemsType", + "ScimUserPropGroupsItemsTypeForResponse", "ScimUserPropRolesItemsType", + "ScimUserPropRolesItemsTypeForResponse", "ScimUserPropOperationsItemsType", + "ScimUserPropOperationsItemsTypeForResponse", "ScimUserPropOperationsItemsPropValueOneof1Type", + "ScimUserPropOperationsItemsPropValueOneof1TypeForResponse", ), ".group_0509": ( "SearchResultTextMatchesItemsType", + "SearchResultTextMatchesItemsTypeForResponse", "SearchResultTextMatchesItemsPropMatchesItemsType", + "SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse", ), ".group_0510": ( "CodeSearchResultItemType", + "CodeSearchResultItemTypeForResponse", "SearchCodeGetResponse200Type", + "SearchCodeGetResponse200TypeForResponse", ), ".group_0511": ( "CommitSearchResultItemType", + "CommitSearchResultItemTypeForResponse", "CommitSearchResultItemPropParentsItemsType", + "CommitSearchResultItemPropParentsItemsTypeForResponse", "SearchCommitsGetResponse200Type", + "SearchCommitsGetResponse200TypeForResponse", ), ".group_0512": ( "CommitSearchResultItemPropCommitType", + "CommitSearchResultItemPropCommitTypeForResponse", "CommitSearchResultItemPropCommitPropAuthorType", + "CommitSearchResultItemPropCommitPropAuthorTypeForResponse", "CommitSearchResultItemPropCommitPropTreeType", + "CommitSearchResultItemPropCommitPropTreeTypeForResponse", ), ".group_0513": ( "IssueSearchResultItemType", + "IssueSearchResultItemTypeForResponse", "IssueSearchResultItemPropLabelsItemsType", + "IssueSearchResultItemPropLabelsItemsTypeForResponse", "IssueSearchResultItemPropPullRequestType", + "IssueSearchResultItemPropPullRequestTypeForResponse", "SearchIssuesGetResponse200Type", + "SearchIssuesGetResponse200TypeForResponse", ), ".group_0514": ( "LabelSearchResultItemType", + "LabelSearchResultItemTypeForResponse", "SearchLabelsGetResponse200Type", + "SearchLabelsGetResponse200TypeForResponse", ), ".group_0515": ( "RepoSearchResultItemType", + "RepoSearchResultItemTypeForResponse", "RepoSearchResultItemPropPermissionsType", + "RepoSearchResultItemPropPermissionsTypeForResponse", "SearchRepositoriesGetResponse200Type", + "SearchRepositoriesGetResponse200TypeForResponse", ), ".group_0516": ( "TopicSearchResultItemType", + "TopicSearchResultItemTypeForResponse", "TopicSearchResultItemPropRelatedItemsType", + "TopicSearchResultItemPropRelatedItemsTypeForResponse", "TopicSearchResultItemPropRelatedItemsPropTopicRelationType", + "TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropAliasesItemsType", + "TopicSearchResultItemPropAliasesItemsTypeForResponse", "TopicSearchResultItemPropAliasesItemsPropTopicRelationType", + "TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse", "SearchTopicsGetResponse200Type", + "SearchTopicsGetResponse200TypeForResponse", ), ".group_0517": ( "UserSearchResultItemType", + "UserSearchResultItemTypeForResponse", "SearchUsersGetResponse200Type", + "SearchUsersGetResponse200TypeForResponse", ), ".group_0518": ( "PrivateUserType", + "PrivateUserTypeForResponse", "PrivateUserPropPlanType", + "PrivateUserPropPlanTypeForResponse", + ), + ".group_0519": ( + "CodespacesUserPublicKeyType", + "CodespacesUserPublicKeyTypeForResponse", + ), + ".group_0520": ( + "CodespaceExportDetailsType", + "CodespaceExportDetailsTypeForResponse", ), - ".group_0519": ("CodespacesUserPublicKeyType",), - ".group_0520": ("CodespaceExportDetailsType",), ".group_0521": ( "CodespaceWithFullRepositoryType", + "CodespaceWithFullRepositoryTypeForResponse", "CodespaceWithFullRepositoryPropGitStatusType", + "CodespaceWithFullRepositoryPropGitStatusTypeForResponse", "CodespaceWithFullRepositoryPropRuntimeConstraintsType", + "CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse", + ), + ".group_0522": ( + "EmailType", + "EmailTypeForResponse", ), - ".group_0522": ("EmailType",), ".group_0523": ( "GpgKeyType", + "GpgKeyTypeForResponse", "GpgKeyPropEmailsItemsType", + "GpgKeyPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsType", + "GpgKeyPropSubkeysItemsTypeForResponse", "GpgKeyPropSubkeysItemsPropEmailsItemsType", + "GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse", + ), + ".group_0524": ( + "KeyType", + "KeyTypeForResponse", ), - ".group_0524": ("KeyType",), ".group_0525": ( "UserMarketplacePurchaseType", + "UserMarketplacePurchaseTypeForResponse", "MarketplaceAccountType", + "MarketplaceAccountTypeForResponse", + ), + ".group_0526": ( + "SocialAccountType", + "SocialAccountTypeForResponse", + ), + ".group_0527": ( + "SshSigningKeyType", + "SshSigningKeyTypeForResponse", + ), + ".group_0528": ( + "StarredRepositoryType", + "StarredRepositoryTypeForResponse", ), - ".group_0526": ("SocialAccountType",), - ".group_0527": ("SshSigningKeyType",), - ".group_0528": ("StarredRepositoryType",), ".group_0529": ( "HovercardType", + "HovercardTypeForResponse", "HovercardPropContextsItemsType", + "HovercardPropContextsItemsTypeForResponse", + ), + ".group_0530": ( + "KeySimpleType", + "KeySimpleTypeForResponse", ), - ".group_0530": ("KeySimpleType",), ".group_0531": ( "BillingPremiumRequestUsageReportUserType", + "BillingPremiumRequestUsageReportUserTypeForResponse", "BillingPremiumRequestUsageReportUserPropTimePeriodType", + "BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportUserPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse", ), ".group_0532": ( "BillingUsageReportUserType", + "BillingUsageReportUserTypeForResponse", "BillingUsageReportUserPropUsageItemsItemsType", + "BillingUsageReportUserPropUsageItemsItemsTypeForResponse", ), ".group_0533": ( "BillingUsageSummaryReportUserType", + "BillingUsageSummaryReportUserTypeForResponse", "BillingUsageSummaryReportUserPropTimePeriodType", + "BillingUsageSummaryReportUserPropTimePeriodTypeForResponse", "BillingUsageSummaryReportUserPropUsageItemsItemsType", + "BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse", + ), + ".group_0534": ( + "EnterpriseWebhooksType", + "EnterpriseWebhooksTypeForResponse", + ), + ".group_0535": ( + "SimpleInstallationType", + "SimpleInstallationTypeForResponse", + ), + ".group_0536": ( + "OrganizationSimpleWebhooksType", + "OrganizationSimpleWebhooksTypeForResponse", ), - ".group_0534": ("EnterpriseWebhooksType",), - ".group_0535": ("SimpleInstallationType",), - ".group_0536": ("OrganizationSimpleWebhooksType",), ".group_0537": ( "RepositoryWebhooksType", + "RepositoryWebhooksTypeForResponse", "RepositoryWebhooksPropPermissionsType", + "RepositoryWebhooksPropPermissionsTypeForResponse", "RepositoryWebhooksPropCustomPropertiesType", + "RepositoryWebhooksPropCustomPropertiesTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryType", + "RepositoryWebhooksPropTemplateRepositoryTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropOwnerType", + "RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropPermissionsType", + "RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse", + ), + ".group_0538": ( + "WebhooksRuleType", + "WebhooksRuleTypeForResponse", + ), + ".group_0539": ( + "ExemptionResponseType", + "ExemptionResponseTypeForResponse", ), - ".group_0538": ("WebhooksRuleType",), - ".group_0539": ("ExemptionResponseType",), ".group_0540": ( "ExemptionRequestType", + "ExemptionRequestTypeForResponse", "ExemptionRequestSecretScanningMetadataType", + "ExemptionRequestSecretScanningMetadataTypeForResponse", "DismissalRequestSecretScanningMetadataType", + "DismissalRequestSecretScanningMetadataTypeForResponse", "DismissalRequestCodeScanningMetadataType", + "DismissalRequestCodeScanningMetadataTypeForResponse", "ExemptionRequestPushRulesetBypassType", + "ExemptionRequestPushRulesetBypassTypeForResponse", "ExemptionRequestPushRulesetBypassPropDataItemsType", + "ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse", "DismissalRequestSecretScanningType", + "DismissalRequestSecretScanningTypeForResponse", "DismissalRequestSecretScanningPropDataItemsType", + "DismissalRequestSecretScanningPropDataItemsTypeForResponse", "DismissalRequestCodeScanningType", + "DismissalRequestCodeScanningTypeForResponse", "DismissalRequestCodeScanningPropDataItemsType", + "DismissalRequestCodeScanningPropDataItemsTypeForResponse", "ExemptionRequestSecretScanningType", + "ExemptionRequestSecretScanningTypeForResponse", "ExemptionRequestSecretScanningPropDataItemsType", + "ExemptionRequestSecretScanningPropDataItemsTypeForResponse", "ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType", + "ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse", + ), + ".group_0541": ( + "SimpleCheckSuiteType", + "SimpleCheckSuiteTypeForResponse", ), - ".group_0541": ("SimpleCheckSuiteType",), ".group_0542": ( "CheckRunWithSimpleCheckSuiteType", + "CheckRunWithSimpleCheckSuiteTypeForResponse", "CheckRunWithSimpleCheckSuitePropOutputType", + "CheckRunWithSimpleCheckSuitePropOutputTypeForResponse", + ), + ".group_0543": ( + "WebhooksDeployKeyType", + "WebhooksDeployKeyTypeForResponse", + ), + ".group_0544": ( + "WebhooksWorkflowType", + "WebhooksWorkflowTypeForResponse", ), - ".group_0543": ("WebhooksDeployKeyType",), - ".group_0544": ("WebhooksWorkflowType",), ".group_0545": ( "WebhooksApproverType", + "WebhooksApproverTypeForResponse", "WebhooksReviewersItemsType", + "WebhooksReviewersItemsTypeForResponse", "WebhooksReviewersItemsPropReviewerType", + "WebhooksReviewersItemsPropReviewerTypeForResponse", + ), + ".group_0546": ( + "WebhooksWorkflowJobRunType", + "WebhooksWorkflowJobRunTypeForResponse", + ), + ".group_0547": ( + "WebhooksUserType", + "WebhooksUserTypeForResponse", ), - ".group_0546": ("WebhooksWorkflowJobRunType",), - ".group_0547": ("WebhooksUserType",), ".group_0548": ( "WebhooksAnswerType", + "WebhooksAnswerTypeForResponse", "WebhooksAnswerPropReactionsType", + "WebhooksAnswerPropReactionsTypeForResponse", "WebhooksAnswerPropUserType", + "WebhooksAnswerPropUserTypeForResponse", ), ".group_0549": ( "DiscussionType", + "DiscussionTypeForResponse", "LabelType", + "LabelTypeForResponse", "DiscussionPropAnswerChosenByType", + "DiscussionPropAnswerChosenByTypeForResponse", "DiscussionPropCategoryType", + "DiscussionPropCategoryTypeForResponse", "DiscussionPropReactionsType", + "DiscussionPropReactionsTypeForResponse", "DiscussionPropUserType", + "DiscussionPropUserTypeForResponse", ), ".group_0550": ( "WebhooksCommentType", + "WebhooksCommentTypeForResponse", "WebhooksCommentPropReactionsType", + "WebhooksCommentPropReactionsTypeForResponse", "WebhooksCommentPropUserType", + "WebhooksCommentPropUserTypeForResponse", + ), + ".group_0551": ( + "WebhooksLabelType", + "WebhooksLabelTypeForResponse", + ), + ".group_0552": ( + "WebhooksRepositoriesItemsType", + "WebhooksRepositoriesItemsTypeForResponse", + ), + ".group_0553": ( + "WebhooksRepositoriesAddedItemsType", + "WebhooksRepositoriesAddedItemsTypeForResponse", ), - ".group_0551": ("WebhooksLabelType",), - ".group_0552": ("WebhooksRepositoriesItemsType",), - ".group_0553": ("WebhooksRepositoriesAddedItemsType",), ".group_0554": ( "WebhooksIssueCommentType", + "WebhooksIssueCommentTypeForResponse", "WebhooksIssueCommentPropReactionsType", + "WebhooksIssueCommentPropReactionsTypeForResponse", "WebhooksIssueCommentPropUserType", + "WebhooksIssueCommentPropUserTypeForResponse", ), ".group_0555": ( "WebhooksChangesType", + "WebhooksChangesTypeForResponse", "WebhooksChangesPropBodyType", + "WebhooksChangesPropBodyTypeForResponse", ), ".group_0556": ( "WebhooksIssueType", + "WebhooksIssueTypeForResponse", "WebhooksIssuePropAssigneeType", + "WebhooksIssuePropAssigneeTypeForResponse", "WebhooksIssuePropAssigneesItemsType", + "WebhooksIssuePropAssigneesItemsTypeForResponse", "WebhooksIssuePropLabelsItemsType", + "WebhooksIssuePropLabelsItemsTypeForResponse", "WebhooksIssuePropMilestoneType", + "WebhooksIssuePropMilestoneTypeForResponse", "WebhooksIssuePropMilestonePropCreatorType", + "WebhooksIssuePropMilestonePropCreatorTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppType", + "WebhooksIssuePropPerformedViaGithubAppTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropOwnerType", + "WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssuePropPullRequestType", + "WebhooksIssuePropPullRequestTypeForResponse", "WebhooksIssuePropReactionsType", + "WebhooksIssuePropReactionsTypeForResponse", "WebhooksIssuePropUserType", + "WebhooksIssuePropUserTypeForResponse", ), ".group_0557": ( "WebhooksMilestoneType", + "WebhooksMilestoneTypeForResponse", "WebhooksMilestonePropCreatorType", + "WebhooksMilestonePropCreatorTypeForResponse", ), ".group_0558": ( "WebhooksIssue2Type", + "WebhooksIssue2TypeForResponse", "WebhooksIssue2PropAssigneeType", + "WebhooksIssue2PropAssigneeTypeForResponse", "WebhooksIssue2PropAssigneesItemsType", + "WebhooksIssue2PropAssigneesItemsTypeForResponse", "WebhooksIssue2PropLabelsItemsType", + "WebhooksIssue2PropLabelsItemsTypeForResponse", "WebhooksIssue2PropMilestoneType", + "WebhooksIssue2PropMilestoneTypeForResponse", "WebhooksIssue2PropMilestonePropCreatorType", + "WebhooksIssue2PropMilestonePropCreatorTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppType", + "WebhooksIssue2PropPerformedViaGithubAppTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropOwnerType", + "WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssue2PropPullRequestType", + "WebhooksIssue2PropPullRequestTypeForResponse", "WebhooksIssue2PropReactionsType", + "WebhooksIssue2PropReactionsTypeForResponse", "WebhooksIssue2PropUserType", + "WebhooksIssue2PropUserTypeForResponse", + ), + ".group_0559": ( + "WebhooksUserMannequinType", + "WebhooksUserMannequinTypeForResponse", ), - ".group_0559": ("WebhooksUserMannequinType",), ".group_0560": ( "WebhooksMarketplacePurchaseType", + "WebhooksMarketplacePurchaseTypeForResponse", "WebhooksMarketplacePurchasePropAccountType", + "WebhooksMarketplacePurchasePropAccountTypeForResponse", "WebhooksMarketplacePurchasePropPlanType", + "WebhooksMarketplacePurchasePropPlanTypeForResponse", ), ".group_0561": ( "WebhooksPreviousMarketplacePurchaseType", + "WebhooksPreviousMarketplacePurchaseTypeForResponse", "WebhooksPreviousMarketplacePurchasePropAccountType", + "WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhooksPreviousMarketplacePurchasePropPlanType", + "WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0562": ( "WebhooksTeamType", + "WebhooksTeamTypeForResponse", "WebhooksTeamPropParentType", + "WebhooksTeamPropParentTypeForResponse", + ), + ".group_0563": ( + "MergeGroupType", + "MergeGroupTypeForResponse", ), - ".group_0563": ("MergeGroupType",), ".group_0564": ( "WebhooksMilestone3Type", + "WebhooksMilestone3TypeForResponse", "WebhooksMilestone3PropCreatorType", + "WebhooksMilestone3PropCreatorTypeForResponse", ), ".group_0565": ( "WebhooksMembershipType", + "WebhooksMembershipTypeForResponse", "WebhooksMembershipPropUserType", + "WebhooksMembershipPropUserTypeForResponse", ), ".group_0566": ( "PersonalAccessTokenRequestType", + "PersonalAccessTokenRequestTypeForResponse", "PersonalAccessTokenRequestPropRepositoriesItemsType", + "PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedType", + "PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedType", + "PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultType", + "PersonalAccessTokenRequestPropPermissionsResultTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOtherType", + "PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse", ), ".group_0567": ( "WebhooksProjectCardType", + "WebhooksProjectCardTypeForResponse", "WebhooksProjectCardPropCreatorType", + "WebhooksProjectCardPropCreatorTypeForResponse", ), ".group_0568": ( "WebhooksProjectType", + "WebhooksProjectTypeForResponse", "WebhooksProjectPropCreatorType", + "WebhooksProjectPropCreatorTypeForResponse", + ), + ".group_0569": ( + "WebhooksProjectColumnType", + "WebhooksProjectColumnTypeForResponse", ), - ".group_0569": ("WebhooksProjectColumnType",), ".group_0570": ( "WebhooksProjectChangesType", + "WebhooksProjectChangesTypeForResponse", "WebhooksProjectChangesPropArchivedAtType", + "WebhooksProjectChangesPropArchivedAtTypeForResponse", + ), + ".group_0571": ( + "ProjectsV2ItemType", + "ProjectsV2ItemTypeForResponse", + ), + ".group_0572": ( + "PullRequestWebhookType", + "PullRequestWebhookTypeForResponse", + ), + ".group_0573": ( + "PullRequestWebhookAllof1Type", + "PullRequestWebhookAllof1TypeForResponse", ), - ".group_0571": ("ProjectsV2ItemType",), - ".group_0572": ("PullRequestWebhookType",), - ".group_0573": ("PullRequestWebhookAllof1Type",), ".group_0574": ( "WebhooksPullRequest5Type", + "WebhooksPullRequest5TypeForResponse", "WebhooksPullRequest5PropAssigneeType", + "WebhooksPullRequest5PropAssigneeTypeForResponse", "WebhooksPullRequest5PropAssigneesItemsType", + "WebhooksPullRequest5PropAssigneesItemsTypeForResponse", "WebhooksPullRequest5PropAutoMergeType", + "WebhooksPullRequest5PropAutoMergeTypeForResponse", "WebhooksPullRequest5PropAutoMergePropEnabledByType", + "WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse", "WebhooksPullRequest5PropLabelsItemsType", + "WebhooksPullRequest5PropLabelsItemsTypeForResponse", "WebhooksPullRequest5PropMergedByType", + "WebhooksPullRequest5PropMergedByTypeForResponse", "WebhooksPullRequest5PropMilestoneType", + "WebhooksPullRequest5PropMilestoneTypeForResponse", "WebhooksPullRequest5PropMilestonePropCreatorType", + "WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse", "WebhooksPullRequest5PropUserType", + "WebhooksPullRequest5PropUserTypeForResponse", "WebhooksPullRequest5PropLinksType", + "WebhooksPullRequest5PropLinksTypeForResponse", "WebhooksPullRequest5PropLinksPropCommentsType", + "WebhooksPullRequest5PropLinksPropCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommitsType", + "WebhooksPullRequest5PropLinksPropCommitsTypeForResponse", "WebhooksPullRequest5PropLinksPropHtmlType", + "WebhooksPullRequest5PropLinksPropHtmlTypeForResponse", "WebhooksPullRequest5PropLinksPropIssueType", + "WebhooksPullRequest5PropLinksPropIssueTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentType", + "WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentsType", + "WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropSelfType", + "WebhooksPullRequest5PropLinksPropSelfTypeForResponse", "WebhooksPullRequest5PropLinksPropStatusesType", + "WebhooksPullRequest5PropLinksPropStatusesTypeForResponse", "WebhooksPullRequest5PropBaseType", + "WebhooksPullRequest5PropBaseTypeForResponse", "WebhooksPullRequest5PropBasePropUserType", + "WebhooksPullRequest5PropBasePropUserTypeForResponse", "WebhooksPullRequest5PropBasePropRepoType", + "WebhooksPullRequest5PropBasePropRepoTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropLicenseType", + "WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropOwnerType", + "WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropPermissionsType", + "WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropHeadType", + "WebhooksPullRequest5PropHeadTypeForResponse", "WebhooksPullRequest5PropHeadPropUserType", + "WebhooksPullRequest5PropHeadPropUserTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoType", + "WebhooksPullRequest5PropHeadPropRepoTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropLicenseType", + "WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropOwnerType", + "WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropPermissionsType", + "WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsType", + "WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsPropParentType", + "WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0575": ( "WebhooksReviewCommentType", + "WebhooksReviewCommentTypeForResponse", "WebhooksReviewCommentPropReactionsType", + "WebhooksReviewCommentPropReactionsTypeForResponse", "WebhooksReviewCommentPropUserType", + "WebhooksReviewCommentPropUserTypeForResponse", "WebhooksReviewCommentPropLinksType", + "WebhooksReviewCommentPropLinksTypeForResponse", "WebhooksReviewCommentPropLinksPropHtmlType", + "WebhooksReviewCommentPropLinksPropHtmlTypeForResponse", "WebhooksReviewCommentPropLinksPropPullRequestType", + "WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse", "WebhooksReviewCommentPropLinksPropSelfType", + "WebhooksReviewCommentPropLinksPropSelfTypeForResponse", ), ".group_0576": ( "WebhooksReviewType", + "WebhooksReviewTypeForResponse", "WebhooksReviewPropUserType", + "WebhooksReviewPropUserTypeForResponse", "WebhooksReviewPropLinksType", + "WebhooksReviewPropLinksTypeForResponse", "WebhooksReviewPropLinksPropHtmlType", + "WebhooksReviewPropLinksPropHtmlTypeForResponse", "WebhooksReviewPropLinksPropPullRequestType", + "WebhooksReviewPropLinksPropPullRequestTypeForResponse", ), ".group_0577": ( "WebhooksReleaseType", + "WebhooksReleaseTypeForResponse", "WebhooksReleasePropAuthorType", + "WebhooksReleasePropAuthorTypeForResponse", "WebhooksReleasePropReactionsType", + "WebhooksReleasePropReactionsTypeForResponse", "WebhooksReleasePropAssetsItemsType", + "WebhooksReleasePropAssetsItemsTypeForResponse", "WebhooksReleasePropAssetsItemsPropUploaderType", + "WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse", ), ".group_0578": ( "WebhooksRelease1Type", + "WebhooksRelease1TypeForResponse", "WebhooksRelease1PropAssetsItemsType", + "WebhooksRelease1PropAssetsItemsTypeForResponse", "WebhooksRelease1PropAssetsItemsPropUploaderType", + "WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse", "WebhooksRelease1PropAuthorType", + "WebhooksRelease1PropAuthorTypeForResponse", "WebhooksRelease1PropReactionsType", + "WebhooksRelease1PropReactionsTypeForResponse", ), ".group_0579": ( "WebhooksAlertType", + "WebhooksAlertTypeForResponse", "WebhooksAlertPropDismisserType", + "WebhooksAlertPropDismisserTypeForResponse", + ), + ".group_0580": ( + "SecretScanningAlertWebhookType", + "SecretScanningAlertWebhookTypeForResponse", ), - ".group_0580": ("SecretScanningAlertWebhookType",), ".group_0581": ( "WebhooksSecurityAdvisoryType", + "WebhooksSecurityAdvisoryTypeForResponse", "WebhooksSecurityAdvisoryPropCvssType", + "WebhooksSecurityAdvisoryPropCvssTypeForResponse", "WebhooksSecurityAdvisoryPropCwesItemsType", + "WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropIdentifiersItemsType", + "WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhooksSecurityAdvisoryPropReferencesItemsType", + "WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0582": ( "WebhooksSponsorshipType", + "WebhooksSponsorshipTypeForResponse", "WebhooksSponsorshipPropMaintainerType", + "WebhooksSponsorshipPropMaintainerTypeForResponse", "WebhooksSponsorshipPropSponsorType", + "WebhooksSponsorshipPropSponsorTypeForResponse", "WebhooksSponsorshipPropSponsorableType", + "WebhooksSponsorshipPropSponsorableTypeForResponse", "WebhooksSponsorshipPropTierType", + "WebhooksSponsorshipPropTierTypeForResponse", ), ".group_0583": ( "WebhooksChanges8Type", + "WebhooksChanges8TypeForResponse", "WebhooksChanges8PropTierType", + "WebhooksChanges8PropTierTypeForResponse", "WebhooksChanges8PropTierPropFromType", + "WebhooksChanges8PropTierPropFromTypeForResponse", ), ".group_0584": ( "WebhooksTeam1Type", + "WebhooksTeam1TypeForResponse", "WebhooksTeam1PropParentType", + "WebhooksTeam1PropParentTypeForResponse", + ), + ".group_0585": ( + "WebhookBranchProtectionConfigurationDisabledType", + "WebhookBranchProtectionConfigurationDisabledTypeForResponse", + ), + ".group_0586": ( + "WebhookBranchProtectionConfigurationEnabledType", + "WebhookBranchProtectionConfigurationEnabledTypeForResponse", + ), + ".group_0587": ( + "WebhookBranchProtectionRuleCreatedType", + "WebhookBranchProtectionRuleCreatedTypeForResponse", + ), + ".group_0588": ( + "WebhookBranchProtectionRuleDeletedType", + "WebhookBranchProtectionRuleDeletedTypeForResponse", ), - ".group_0585": ("WebhookBranchProtectionConfigurationDisabledType",), - ".group_0586": ("WebhookBranchProtectionConfigurationEnabledType",), - ".group_0587": ("WebhookBranchProtectionRuleCreatedType",), - ".group_0588": ("WebhookBranchProtectionRuleDeletedType",), ".group_0589": ( "WebhookBranchProtectionRuleEditedType", + "WebhookBranchProtectionRuleEditedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesType", + "WebhookBranchProtectionRuleEditedPropChangesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType", + "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse", + ), + ".group_0590": ( + "WebhookExemptionRequestCancelledType", + "WebhookExemptionRequestCancelledTypeForResponse", + ), + ".group_0591": ( + "WebhookExemptionRequestCompletedType", + "WebhookExemptionRequestCompletedTypeForResponse", + ), + ".group_0592": ( + "WebhookExemptionRequestCreatedType", + "WebhookExemptionRequestCreatedTypeForResponse", + ), + ".group_0593": ( + "WebhookExemptionRequestResponseDismissedType", + "WebhookExemptionRequestResponseDismissedTypeForResponse", + ), + ".group_0594": ( + "WebhookExemptionRequestResponseSubmittedType", + "WebhookExemptionRequestResponseSubmittedTypeForResponse", + ), + ".group_0595": ( + "WebhookCheckRunCompletedType", + "WebhookCheckRunCompletedTypeForResponse", + ), + ".group_0596": ( + "WebhookCheckRunCompletedFormEncodedType", + "WebhookCheckRunCompletedFormEncodedTypeForResponse", + ), + ".group_0597": ( + "WebhookCheckRunCreatedType", + "WebhookCheckRunCreatedTypeForResponse", + ), + ".group_0598": ( + "WebhookCheckRunCreatedFormEncodedType", + "WebhookCheckRunCreatedFormEncodedTypeForResponse", ), - ".group_0590": ("WebhookExemptionRequestCancelledType",), - ".group_0591": ("WebhookExemptionRequestCompletedType",), - ".group_0592": ("WebhookExemptionRequestCreatedType",), - ".group_0593": ("WebhookExemptionRequestResponseDismissedType",), - ".group_0594": ("WebhookExemptionRequestResponseSubmittedType",), - ".group_0595": ("WebhookCheckRunCompletedType",), - ".group_0596": ("WebhookCheckRunCompletedFormEncodedType",), - ".group_0597": ("WebhookCheckRunCreatedType",), - ".group_0598": ("WebhookCheckRunCreatedFormEncodedType",), ".group_0599": ( "WebhookCheckRunRequestedActionType", + "WebhookCheckRunRequestedActionTypeForResponse", "WebhookCheckRunRequestedActionPropRequestedActionType", + "WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse", + ), + ".group_0600": ( + "WebhookCheckRunRequestedActionFormEncodedType", + "WebhookCheckRunRequestedActionFormEncodedTypeForResponse", + ), + ".group_0601": ( + "WebhookCheckRunRerequestedType", + "WebhookCheckRunRerequestedTypeForResponse", + ), + ".group_0602": ( + "WebhookCheckRunRerequestedFormEncodedType", + "WebhookCheckRunRerequestedFormEncodedTypeForResponse", ), - ".group_0600": ("WebhookCheckRunRequestedActionFormEncodedType",), - ".group_0601": ("WebhookCheckRunRerequestedType",), - ".group_0602": ("WebhookCheckRunRerequestedFormEncodedType",), ".group_0603": ( "WebhookCheckSuiteCompletedType", + "WebhookCheckSuiteCompletedTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuiteType", + "WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0604": ( "WebhookCheckSuiteRequestedType", + "WebhookCheckSuiteRequestedTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuiteType", + "WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0605": ( "WebhookCheckSuiteRerequestedType", + "WebhookCheckSuiteRerequestedTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuiteType", + "WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0606": ( + "WebhookCodeScanningAlertAppearedInBranchType", + "WebhookCodeScanningAlertAppearedInBranchTypeForResponse", ), - ".group_0606": ("WebhookCodeScanningAlertAppearedInBranchType",), ".group_0607": ( "WebhookCodeScanningAlertAppearedInBranchPropAlertType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse", + ), + ".group_0608": ( + "WebhookCodeScanningAlertClosedByUserType", + "WebhookCodeScanningAlertClosedByUserTypeForResponse", ), - ".group_0608": ("WebhookCodeScanningAlertClosedByUserType",), ".group_0609": ( "WebhookCodeScanningAlertClosedByUserPropAlertType", + "WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse", + ), + ".group_0610": ( + "WebhookCodeScanningAlertCreatedType", + "WebhookCodeScanningAlertCreatedTypeForResponse", ), - ".group_0610": ("WebhookCodeScanningAlertCreatedType",), ".group_0611": ( "WebhookCodeScanningAlertCreatedPropAlertType", + "WebhookCodeScanningAlertCreatedPropAlertTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropRuleType", + "WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropToolType", + "WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse", + ), + ".group_0612": ( + "WebhookCodeScanningAlertFixedType", + "WebhookCodeScanningAlertFixedTypeForResponse", ), - ".group_0612": ("WebhookCodeScanningAlertFixedType",), ".group_0613": ( "WebhookCodeScanningAlertFixedPropAlertType", + "WebhookCodeScanningAlertFixedPropAlertTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropRuleType", + "WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropToolType", + "WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse", + ), + ".group_0614": ( + "WebhookCodeScanningAlertReopenedType", + "WebhookCodeScanningAlertReopenedTypeForResponse", ), - ".group_0614": ("WebhookCodeScanningAlertReopenedType",), ".group_0615": ( "WebhookCodeScanningAlertReopenedPropAlertType", + "WebhookCodeScanningAlertReopenedPropAlertTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse", + ), + ".group_0616": ( + "WebhookCodeScanningAlertReopenedByUserType", + "WebhookCodeScanningAlertReopenedByUserTypeForResponse", ), - ".group_0616": ("WebhookCodeScanningAlertReopenedByUserType",), ".group_0617": ( "WebhookCodeScanningAlertReopenedByUserPropAlertType", + "WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse", ), ".group_0618": ( "WebhookCommitCommentCreatedType", + "WebhookCommitCommentCreatedTypeForResponse", "WebhookCommitCommentCreatedPropCommentType", + "WebhookCommitCommentCreatedPropCommentTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropReactionsType", + "WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropUserType", + "WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse", + ), + ".group_0619": ( + "WebhookCreateType", + "WebhookCreateTypeForResponse", + ), + ".group_0620": ( + "WebhookCustomPropertyCreatedType", + "WebhookCustomPropertyCreatedTypeForResponse", ), - ".group_0619": ("WebhookCreateType",), - ".group_0620": ("WebhookCustomPropertyCreatedType",), ".group_0621": ( "WebhookCustomPropertyDeletedType", + "WebhookCustomPropertyDeletedTypeForResponse", "WebhookCustomPropertyDeletedPropDefinitionType", + "WebhookCustomPropertyDeletedPropDefinitionTypeForResponse", + ), + ".group_0622": ( + "WebhookCustomPropertyPromotedToEnterpriseType", + "WebhookCustomPropertyPromotedToEnterpriseTypeForResponse", + ), + ".group_0623": ( + "WebhookCustomPropertyUpdatedType", + "WebhookCustomPropertyUpdatedTypeForResponse", + ), + ".group_0624": ( + "WebhookCustomPropertyValuesUpdatedType", + "WebhookCustomPropertyValuesUpdatedTypeForResponse", + ), + ".group_0625": ( + "WebhookDeleteType", + "WebhookDeleteTypeForResponse", + ), + ".group_0626": ( + "WebhookDependabotAlertAutoDismissedType", + "WebhookDependabotAlertAutoDismissedTypeForResponse", + ), + ".group_0627": ( + "WebhookDependabotAlertAutoReopenedType", + "WebhookDependabotAlertAutoReopenedTypeForResponse", + ), + ".group_0628": ( + "WebhookDependabotAlertCreatedType", + "WebhookDependabotAlertCreatedTypeForResponse", + ), + ".group_0629": ( + "WebhookDependabotAlertDismissedType", + "WebhookDependabotAlertDismissedTypeForResponse", + ), + ".group_0630": ( + "WebhookDependabotAlertFixedType", + "WebhookDependabotAlertFixedTypeForResponse", + ), + ".group_0631": ( + "WebhookDependabotAlertReintroducedType", + "WebhookDependabotAlertReintroducedTypeForResponse", + ), + ".group_0632": ( + "WebhookDependabotAlertReopenedType", + "WebhookDependabotAlertReopenedTypeForResponse", + ), + ".group_0633": ( + "WebhookDeployKeyCreatedType", + "WebhookDeployKeyCreatedTypeForResponse", + ), + ".group_0634": ( + "WebhookDeployKeyDeletedType", + "WebhookDeployKeyDeletedTypeForResponse", ), - ".group_0622": ("WebhookCustomPropertyPromotedToEnterpriseType",), - ".group_0623": ("WebhookCustomPropertyUpdatedType",), - ".group_0624": ("WebhookCustomPropertyValuesUpdatedType",), - ".group_0625": ("WebhookDeleteType",), - ".group_0626": ("WebhookDependabotAlertAutoDismissedType",), - ".group_0627": ("WebhookDependabotAlertAutoReopenedType",), - ".group_0628": ("WebhookDependabotAlertCreatedType",), - ".group_0629": ("WebhookDependabotAlertDismissedType",), - ".group_0630": ("WebhookDependabotAlertFixedType",), - ".group_0631": ("WebhookDependabotAlertReintroducedType",), - ".group_0632": ("WebhookDependabotAlertReopenedType",), - ".group_0633": ("WebhookDeployKeyCreatedType",), - ".group_0634": ("WebhookDeployKeyDeletedType",), ".group_0635": ( "WebhookDeploymentCreatedType", + "WebhookDeploymentCreatedTypeForResponse", "WebhookDeploymentCreatedPropDeploymentType", + "WebhookDeploymentCreatedPropDeploymentTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunType", + "WebhookDeploymentCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0636": ( + "WebhookDeploymentProtectionRuleRequestedType", + "WebhookDeploymentProtectionRuleRequestedTypeForResponse", ), - ".group_0636": ("WebhookDeploymentProtectionRuleRequestedType",), ".group_0637": ( "WebhookDeploymentReviewApprovedType", + "WebhookDeploymentReviewApprovedTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunType", + "WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0638": ( "WebhookDeploymentReviewRejectedType", + "WebhookDeploymentReviewRejectedTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunType", + "WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0639": ( "WebhookDeploymentReviewRequestedType", + "WebhookDeploymentReviewRequestedTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowJobRunType", + "WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsType", + "WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType", + "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunType", + "WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0640": ( "WebhookDeploymentStatusCreatedType", + "WebhookDeploymentStatusCreatedTypeForResponse", "WebhookDeploymentStatusCreatedPropCheckRunType", + "WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentType", + "WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunType", + "WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0641": ( + "WebhookDiscussionAnsweredType", + "WebhookDiscussionAnsweredTypeForResponse", ), - ".group_0641": ("WebhookDiscussionAnsweredType",), ".group_0642": ( "WebhookDiscussionCategoryChangedType", + "WebhookDiscussionCategoryChangedTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesType", + "WebhookDiscussionCategoryChangedPropChangesTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse", + ), + ".group_0643": ( + "WebhookDiscussionClosedType", + "WebhookDiscussionClosedTypeForResponse", + ), + ".group_0644": ( + "WebhookDiscussionCommentCreatedType", + "WebhookDiscussionCommentCreatedTypeForResponse", + ), + ".group_0645": ( + "WebhookDiscussionCommentDeletedType", + "WebhookDiscussionCommentDeletedTypeForResponse", ), - ".group_0643": ("WebhookDiscussionClosedType",), - ".group_0644": ("WebhookDiscussionCommentCreatedType",), - ".group_0645": ("WebhookDiscussionCommentDeletedType",), ".group_0646": ( "WebhookDiscussionCommentEditedType", + "WebhookDiscussionCommentEditedTypeForResponse", "WebhookDiscussionCommentEditedPropChangesType", + "WebhookDiscussionCommentEditedPropChangesTypeForResponse", "WebhookDiscussionCommentEditedPropChangesPropBodyType", + "WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse", + ), + ".group_0647": ( + "WebhookDiscussionCreatedType", + "WebhookDiscussionCreatedTypeForResponse", + ), + ".group_0648": ( + "WebhookDiscussionDeletedType", + "WebhookDiscussionDeletedTypeForResponse", ), - ".group_0647": ("WebhookDiscussionCreatedType",), - ".group_0648": ("WebhookDiscussionDeletedType",), ".group_0649": ( "WebhookDiscussionEditedType", + "WebhookDiscussionEditedTypeForResponse", "WebhookDiscussionEditedPropChangesType", + "WebhookDiscussionEditedPropChangesTypeForResponse", "WebhookDiscussionEditedPropChangesPropBodyType", + "WebhookDiscussionEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionEditedPropChangesPropTitleType", + "WebhookDiscussionEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0650": ( + "WebhookDiscussionLabeledType", + "WebhookDiscussionLabeledTypeForResponse", + ), + ".group_0651": ( + "WebhookDiscussionLockedType", + "WebhookDiscussionLockedTypeForResponse", + ), + ".group_0652": ( + "WebhookDiscussionPinnedType", + "WebhookDiscussionPinnedTypeForResponse", + ), + ".group_0653": ( + "WebhookDiscussionReopenedType", + "WebhookDiscussionReopenedTypeForResponse", + ), + ".group_0654": ( + "WebhookDiscussionTransferredType", + "WebhookDiscussionTransferredTypeForResponse", + ), + ".group_0655": ( + "WebhookDiscussionTransferredPropChangesType", + "WebhookDiscussionTransferredPropChangesTypeForResponse", + ), + ".group_0656": ( + "WebhookDiscussionUnansweredType", + "WebhookDiscussionUnansweredTypeForResponse", + ), + ".group_0657": ( + "WebhookDiscussionUnlabeledType", + "WebhookDiscussionUnlabeledTypeForResponse", + ), + ".group_0658": ( + "WebhookDiscussionUnlockedType", + "WebhookDiscussionUnlockedTypeForResponse", + ), + ".group_0659": ( + "WebhookDiscussionUnpinnedType", + "WebhookDiscussionUnpinnedTypeForResponse", + ), + ".group_0660": ( + "WebhookForkType", + "WebhookForkTypeForResponse", ), - ".group_0650": ("WebhookDiscussionLabeledType",), - ".group_0651": ("WebhookDiscussionLockedType",), - ".group_0652": ("WebhookDiscussionPinnedType",), - ".group_0653": ("WebhookDiscussionReopenedType",), - ".group_0654": ("WebhookDiscussionTransferredType",), - ".group_0655": ("WebhookDiscussionTransferredPropChangesType",), - ".group_0656": ("WebhookDiscussionUnansweredType",), - ".group_0657": ("WebhookDiscussionUnlabeledType",), - ".group_0658": ("WebhookDiscussionUnlockedType",), - ".group_0659": ("WebhookDiscussionUnpinnedType",), - ".group_0660": ("WebhookForkType",), ".group_0661": ( "WebhookForkPropForkeeType", + "WebhookForkPropForkeeTypeForResponse", "WebhookForkPropForkeeMergedLicenseType", + "WebhookForkPropForkeeMergedLicenseTypeForResponse", "WebhookForkPropForkeeMergedOwnerType", + "WebhookForkPropForkeeMergedOwnerTypeForResponse", ), ".group_0662": ( "WebhookForkPropForkeeAllof0Type", + "WebhookForkPropForkeeAllof0TypeForResponse", "WebhookForkPropForkeeAllof0PropLicenseType", + "WebhookForkPropForkeeAllof0PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof0PropOwnerType", + "WebhookForkPropForkeeAllof0PropOwnerTypeForResponse", + ), + ".group_0663": ( + "WebhookForkPropForkeeAllof0PropPermissionsType", + "WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse", ), - ".group_0663": ("WebhookForkPropForkeeAllof0PropPermissionsType",), ".group_0664": ( "WebhookForkPropForkeeAllof1Type", + "WebhookForkPropForkeeAllof1TypeForResponse", "WebhookForkPropForkeeAllof1PropLicenseType", + "WebhookForkPropForkeeAllof1PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof1PropOwnerType", + "WebhookForkPropForkeeAllof1PropOwnerTypeForResponse", + ), + ".group_0665": ( + "WebhookGithubAppAuthorizationRevokedType", + "WebhookGithubAppAuthorizationRevokedTypeForResponse", ), - ".group_0665": ("WebhookGithubAppAuthorizationRevokedType",), ".group_0666": ( "WebhookGollumType", + "WebhookGollumTypeForResponse", "WebhookGollumPropPagesItemsType", + "WebhookGollumPropPagesItemsTypeForResponse", + ), + ".group_0667": ( + "WebhookInstallationCreatedType", + "WebhookInstallationCreatedTypeForResponse", + ), + ".group_0668": ( + "WebhookInstallationDeletedType", + "WebhookInstallationDeletedTypeForResponse", + ), + ".group_0669": ( + "WebhookInstallationNewPermissionsAcceptedType", + "WebhookInstallationNewPermissionsAcceptedTypeForResponse", ), - ".group_0667": ("WebhookInstallationCreatedType",), - ".group_0668": ("WebhookInstallationDeletedType",), - ".group_0669": ("WebhookInstallationNewPermissionsAcceptedType",), ".group_0670": ( "WebhookInstallationRepositoriesAddedType", + "WebhookInstallationRepositoriesAddedTypeForResponse", "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse", ), ".group_0671": ( "WebhookInstallationRepositoriesRemovedType", + "WebhookInstallationRepositoriesRemovedTypeForResponse", "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse", + ), + ".group_0672": ( + "WebhookInstallationSuspendType", + "WebhookInstallationSuspendTypeForResponse", ), - ".group_0672": ("WebhookInstallationSuspendType",), ".group_0673": ( "WebhookInstallationTargetRenamedType", + "WebhookInstallationTargetRenamedTypeForResponse", "WebhookInstallationTargetRenamedPropAccountType", + "WebhookInstallationTargetRenamedPropAccountTypeForResponse", "WebhookInstallationTargetRenamedPropChangesType", + "WebhookInstallationTargetRenamedPropChangesTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropLoginType", + "WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropSlugType", + "WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse", + ), + ".group_0674": ( + "WebhookInstallationUnsuspendType", + "WebhookInstallationUnsuspendTypeForResponse", + ), + ".group_0675": ( + "WebhookIssueCommentCreatedType", + "WebhookIssueCommentCreatedTypeForResponse", ), - ".group_0674": ("WebhookInstallationUnsuspendType",), - ".group_0675": ("WebhookIssueCommentCreatedType",), ".group_0676": ( "WebhookIssueCommentCreatedPropCommentType", + "WebhookIssueCommentCreatedPropCommentTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropReactionsType", + "WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropUserType", + "WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse", ), ".group_0677": ( "WebhookIssueCommentCreatedPropIssueType", + "WebhookIssueCommentCreatedPropIssueTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedAssigneesType", + "WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedReactionsType", + "WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedUserType", + "WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse", ), ".group_0678": ( "WebhookIssueCommentCreatedPropIssueAllof0Type", + "WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse", ), ".group_0679": ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0680": ( "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0681": ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0681": ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType",), ".group_0682": ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0683": ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0684": ( "WebhookIssueCommentCreatedPropIssueAllof1Type", + "WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0685": ( + "WebhookIssueCommentCreatedPropIssueMergedMilestoneType", + "WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0685": ("WebhookIssueCommentCreatedPropIssueMergedMilestoneType",), ".group_0686": ( "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0687": ( + "WebhookIssueCommentDeletedType", + "WebhookIssueCommentDeletedTypeForResponse", ), - ".group_0687": ("WebhookIssueCommentDeletedType",), ".group_0688": ( "WebhookIssueCommentDeletedPropIssueType", + "WebhookIssueCommentDeletedPropIssueTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedAssigneesType", + "WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedReactionsType", + "WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedUserType", + "WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse", ), ".group_0689": ( "WebhookIssueCommentDeletedPropIssueAllof0Type", + "WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse", ), ".group_0690": ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0691": ( "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0692": ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0692": ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType",), ".group_0693": ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0694": ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0695": ( "WebhookIssueCommentDeletedPropIssueAllof1Type", + "WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0696": ( + "WebhookIssueCommentDeletedPropIssueMergedMilestoneType", + "WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0696": ("WebhookIssueCommentDeletedPropIssueMergedMilestoneType",), ".group_0697": ( "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0698": ( + "WebhookIssueCommentEditedType", + "WebhookIssueCommentEditedTypeForResponse", ), - ".group_0698": ("WebhookIssueCommentEditedType",), ".group_0699": ( "WebhookIssueCommentEditedPropIssueType", + "WebhookIssueCommentEditedPropIssueTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedAssigneesType", + "WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedReactionsType", + "WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedUserType", + "WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse", ), ".group_0700": ( "WebhookIssueCommentEditedPropIssueAllof0Type", + "WebhookIssueCommentEditedPropIssueAllof0TypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropUserType", + "WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse", ), ".group_0701": ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0702": ( "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0703": ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0703": ("WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType",), ".group_0704": ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0705": ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0706": ( "WebhookIssueCommentEditedPropIssueAllof1Type", + "WebhookIssueCommentEditedPropIssueAllof1TypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropUserType", + "WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0707": ( + "WebhookIssueCommentEditedPropIssueMergedMilestoneType", + "WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0707": ("WebhookIssueCommentEditedPropIssueMergedMilestoneType",), ".group_0708": ( "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0709": ( + "WebhookIssueDependenciesBlockedByAddedType", + "WebhookIssueDependenciesBlockedByAddedTypeForResponse", + ), + ".group_0710": ( + "WebhookIssueDependenciesBlockedByRemovedType", + "WebhookIssueDependenciesBlockedByRemovedTypeForResponse", + ), + ".group_0711": ( + "WebhookIssueDependenciesBlockingAddedType", + "WebhookIssueDependenciesBlockingAddedTypeForResponse", + ), + ".group_0712": ( + "WebhookIssueDependenciesBlockingRemovedType", + "WebhookIssueDependenciesBlockingRemovedTypeForResponse", + ), + ".group_0713": ( + "WebhookIssuesAssignedType", + "WebhookIssuesAssignedTypeForResponse", + ), + ".group_0714": ( + "WebhookIssuesClosedType", + "WebhookIssuesClosedTypeForResponse", ), - ".group_0709": ("WebhookIssueDependenciesBlockedByAddedType",), - ".group_0710": ("WebhookIssueDependenciesBlockedByRemovedType",), - ".group_0711": ("WebhookIssueDependenciesBlockingAddedType",), - ".group_0712": ("WebhookIssueDependenciesBlockingRemovedType",), - ".group_0713": ("WebhookIssuesAssignedType",), - ".group_0714": ("WebhookIssuesClosedType",), ".group_0715": ( "WebhookIssuesClosedPropIssueType", + "WebhookIssuesClosedPropIssueTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneeType", + "WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneesType", + "WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse", "WebhookIssuesClosedPropIssueMergedLabelsType", + "WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse", "WebhookIssuesClosedPropIssueMergedReactionsType", + "WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse", "WebhookIssuesClosedPropIssueMergedUserType", + "WebhookIssuesClosedPropIssueMergedUserTypeForResponse", ), ".group_0716": ( "WebhookIssuesClosedPropIssueAllof0Type", + "WebhookIssuesClosedPropIssueAllof0TypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropReactionsType", + "WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropUserType", + "WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse", ), ".group_0717": ( "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0718": ( + "WebhookIssuesClosedPropIssueAllof0PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0718": ("WebhookIssuesClosedPropIssueAllof0PropMilestoneType",), ".group_0719": ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0720": ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", + ), + ".group_0721": ( + "WebhookIssuesClosedPropIssueAllof0PropPullRequestType", + "WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse", ), - ".group_0721": ("WebhookIssuesClosedPropIssueAllof0PropPullRequestType",), ".group_0722": ( "WebhookIssuesClosedPropIssueAllof1Type", + "WebhookIssuesClosedPropIssueAllof1TypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropReactionsType", + "WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropUserType", + "WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0723": ( + "WebhookIssuesClosedPropIssueMergedMilestoneType", + "WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse", + ), + ".group_0724": ( + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0725": ( + "WebhookIssuesDeletedType", + "WebhookIssuesDeletedTypeForResponse", ), - ".group_0723": ("WebhookIssuesClosedPropIssueMergedMilestoneType",), - ".group_0724": ("WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType",), - ".group_0725": ("WebhookIssuesDeletedType",), ".group_0726": ( "WebhookIssuesDeletedPropIssueType", + "WebhookIssuesDeletedPropIssueTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneeType", + "WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneesItemsType", + "WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropLabelsItemsType", + "WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestoneType", + "WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropPullRequestType", + "WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDeletedPropIssuePropReactionsType", + "WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropUserType", + "WebhookIssuesDeletedPropIssuePropUserTypeForResponse", + ), + ".group_0727": ( + "WebhookIssuesDemilestonedType", + "WebhookIssuesDemilestonedTypeForResponse", ), - ".group_0727": ("WebhookIssuesDemilestonedType",), ".group_0728": ( "WebhookIssuesDemilestonedPropIssueType", + "WebhookIssuesDemilestonedPropIssueTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneeType", + "WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestoneType", + "WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPullRequestType", + "WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropReactionsType", + "WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropUserType", + "WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse", ), ".group_0729": ( "WebhookIssuesEditedType", + "WebhookIssuesEditedTypeForResponse", "WebhookIssuesEditedPropChangesType", + "WebhookIssuesEditedPropChangesTypeForResponse", "WebhookIssuesEditedPropChangesPropBodyType", + "WebhookIssuesEditedPropChangesPropBodyTypeForResponse", "WebhookIssuesEditedPropChangesPropTitleType", + "WebhookIssuesEditedPropChangesPropTitleTypeForResponse", ), ".group_0730": ( "WebhookIssuesEditedPropIssueType", + "WebhookIssuesEditedPropIssueTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneeType", + "WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneesItemsType", + "WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropLabelsItemsType", + "WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestoneType", + "WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesEditedPropIssuePropPullRequestType", + "WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesEditedPropIssuePropReactionsType", + "WebhookIssuesEditedPropIssuePropReactionsTypeForResponse", "WebhookIssuesEditedPropIssuePropUserType", + "WebhookIssuesEditedPropIssuePropUserTypeForResponse", + ), + ".group_0731": ( + "WebhookIssuesLabeledType", + "WebhookIssuesLabeledTypeForResponse", ), - ".group_0731": ("WebhookIssuesLabeledType",), ".group_0732": ( "WebhookIssuesLabeledPropIssueType", + "WebhookIssuesLabeledPropIssueTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneeType", + "WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneesItemsType", + "WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropLabelsItemsType", + "WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestoneType", + "WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropPullRequestType", + "WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLabeledPropIssuePropReactionsType", + "WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropUserType", + "WebhookIssuesLabeledPropIssuePropUserTypeForResponse", + ), + ".group_0733": ( + "WebhookIssuesLockedType", + "WebhookIssuesLockedTypeForResponse", ), - ".group_0733": ("WebhookIssuesLockedType",), ".group_0734": ( "WebhookIssuesLockedPropIssueType", + "WebhookIssuesLockedPropIssueTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneeType", + "WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneesItemsType", + "WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropLabelsItemsType", + "WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestoneType", + "WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLockedPropIssuePropPullRequestType", + "WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLockedPropIssuePropReactionsType", + "WebhookIssuesLockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesLockedPropIssuePropUserType", + "WebhookIssuesLockedPropIssuePropUserTypeForResponse", + ), + ".group_0735": ( + "WebhookIssuesMilestonedType", + "WebhookIssuesMilestonedTypeForResponse", ), - ".group_0735": ("WebhookIssuesMilestonedType",), ".group_0736": ( "WebhookIssuesMilestonedPropIssueType", + "WebhookIssuesMilestonedPropIssueTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneeType", + "WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestoneType", + "WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPullRequestType", + "WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesMilestonedPropIssuePropReactionsType", + "WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropUserType", + "WebhookIssuesMilestonedPropIssuePropUserTypeForResponse", + ), + ".group_0737": ( + "WebhookIssuesOpenedType", + "WebhookIssuesOpenedTypeForResponse", ), - ".group_0737": ("WebhookIssuesOpenedType",), ".group_0738": ( "WebhookIssuesOpenedPropChangesType", + "WebhookIssuesOpenedPropChangesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse", ), ".group_0739": ( "WebhookIssuesOpenedPropChangesPropOldIssueType", + "WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropUserType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse", ), ".group_0740": ( "WebhookIssuesOpenedPropIssueType", + "WebhookIssuesOpenedPropIssueTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneeType", + "WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestoneType", + "WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropPullRequestType", + "WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropIssuePropReactionsType", + "WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropUserType", + "WebhookIssuesOpenedPropIssuePropUserTypeForResponse", + ), + ".group_0741": ( + "WebhookIssuesPinnedType", + "WebhookIssuesPinnedTypeForResponse", + ), + ".group_0742": ( + "WebhookIssuesReopenedType", + "WebhookIssuesReopenedTypeForResponse", ), - ".group_0741": ("WebhookIssuesPinnedType",), - ".group_0742": ("WebhookIssuesReopenedType",), ".group_0743": ( "WebhookIssuesReopenedPropIssueType", + "WebhookIssuesReopenedPropIssueTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneeType", + "WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneesItemsType", + "WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropLabelsItemsType", + "WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestoneType", + "WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropPullRequestType", + "WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesReopenedPropIssuePropReactionsType", + "WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropUserType", + "WebhookIssuesReopenedPropIssuePropUserTypeForResponse", + ), + ".group_0744": ( + "WebhookIssuesTransferredType", + "WebhookIssuesTransferredTypeForResponse", ), - ".group_0744": ("WebhookIssuesTransferredType",), ".group_0745": ( "WebhookIssuesTransferredPropChangesType", + "WebhookIssuesTransferredPropChangesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse", ), ".group_0746": ( "WebhookIssuesTransferredPropChangesPropNewIssueType", + "WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropUserType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse", + ), + ".group_0747": ( + "WebhookIssuesTypedType", + "WebhookIssuesTypedTypeForResponse", + ), + ".group_0748": ( + "WebhookIssuesUnassignedType", + "WebhookIssuesUnassignedTypeForResponse", + ), + ".group_0749": ( + "WebhookIssuesUnlabeledType", + "WebhookIssuesUnlabeledTypeForResponse", + ), + ".group_0750": ( + "WebhookIssuesUnlockedType", + "WebhookIssuesUnlockedTypeForResponse", ), - ".group_0747": ("WebhookIssuesTypedType",), - ".group_0748": ("WebhookIssuesUnassignedType",), - ".group_0749": ("WebhookIssuesUnlabeledType",), - ".group_0750": ("WebhookIssuesUnlockedType",), ".group_0751": ( "WebhookIssuesUnlockedPropIssueType", + "WebhookIssuesUnlockedPropIssueTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneeType", + "WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneesItemsType", + "WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropLabelsItemsType", + "WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestoneType", + "WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPullRequestType", + "WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesUnlockedPropIssuePropReactionsType", + "WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropUserType", + "WebhookIssuesUnlockedPropIssuePropUserTypeForResponse", + ), + ".group_0752": ( + "WebhookIssuesUnpinnedType", + "WebhookIssuesUnpinnedTypeForResponse", + ), + ".group_0753": ( + "WebhookIssuesUntypedType", + "WebhookIssuesUntypedTypeForResponse", + ), + ".group_0754": ( + "WebhookLabelCreatedType", + "WebhookLabelCreatedTypeForResponse", + ), + ".group_0755": ( + "WebhookLabelDeletedType", + "WebhookLabelDeletedTypeForResponse", ), - ".group_0752": ("WebhookIssuesUnpinnedType",), - ".group_0753": ("WebhookIssuesUntypedType",), - ".group_0754": ("WebhookLabelCreatedType",), - ".group_0755": ("WebhookLabelDeletedType",), ".group_0756": ( "WebhookLabelEditedType", + "WebhookLabelEditedTypeForResponse", "WebhookLabelEditedPropChangesType", + "WebhookLabelEditedPropChangesTypeForResponse", "WebhookLabelEditedPropChangesPropColorType", + "WebhookLabelEditedPropChangesPropColorTypeForResponse", "WebhookLabelEditedPropChangesPropDescriptionType", + "WebhookLabelEditedPropChangesPropDescriptionTypeForResponse", "WebhookLabelEditedPropChangesPropNameType", + "WebhookLabelEditedPropChangesPropNameTypeForResponse", + ), + ".group_0757": ( + "WebhookMarketplacePurchaseCancelledType", + "WebhookMarketplacePurchaseCancelledTypeForResponse", ), - ".group_0757": ("WebhookMarketplacePurchaseCancelledType",), ".group_0758": ( "WebhookMarketplacePurchaseChangedType", + "WebhookMarketplacePurchaseChangedTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0759": ( "WebhookMarketplacePurchasePendingChangeType", + "WebhookMarketplacePurchasePendingChangeTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0760": ( "WebhookMarketplacePurchasePendingChangeCancelledType", + "WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse", + ), + ".group_0761": ( + "WebhookMarketplacePurchasePurchasedType", + "WebhookMarketplacePurchasePurchasedTypeForResponse", ), - ".group_0761": ("WebhookMarketplacePurchasePurchasedType",), ".group_0762": ( "WebhookMemberAddedType", + "WebhookMemberAddedTypeForResponse", "WebhookMemberAddedPropChangesType", + "WebhookMemberAddedPropChangesTypeForResponse", "WebhookMemberAddedPropChangesPropPermissionType", + "WebhookMemberAddedPropChangesPropPermissionTypeForResponse", "WebhookMemberAddedPropChangesPropRoleNameType", + "WebhookMemberAddedPropChangesPropRoleNameTypeForResponse", ), ".group_0763": ( "WebhookMemberEditedType", + "WebhookMemberEditedTypeForResponse", "WebhookMemberEditedPropChangesType", + "WebhookMemberEditedPropChangesTypeForResponse", "WebhookMemberEditedPropChangesPropOldPermissionType", + "WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse", "WebhookMemberEditedPropChangesPropPermissionType", + "WebhookMemberEditedPropChangesPropPermissionTypeForResponse", + ), + ".group_0764": ( + "WebhookMemberRemovedType", + "WebhookMemberRemovedTypeForResponse", ), - ".group_0764": ("WebhookMemberRemovedType",), ".group_0765": ( "WebhookMembershipAddedType", + "WebhookMembershipAddedTypeForResponse", "WebhookMembershipAddedPropSenderType", + "WebhookMembershipAddedPropSenderTypeForResponse", ), ".group_0766": ( "WebhookMembershipRemovedType", + "WebhookMembershipRemovedTypeForResponse", "WebhookMembershipRemovedPropSenderType", + "WebhookMembershipRemovedPropSenderTypeForResponse", + ), + ".group_0767": ( + "WebhookMergeGroupChecksRequestedType", + "WebhookMergeGroupChecksRequestedTypeForResponse", + ), + ".group_0768": ( + "WebhookMergeGroupDestroyedType", + "WebhookMergeGroupDestroyedTypeForResponse", ), - ".group_0767": ("WebhookMergeGroupChecksRequestedType",), - ".group_0768": ("WebhookMergeGroupDestroyedType",), ".group_0769": ( "WebhookMetaDeletedType", + "WebhookMetaDeletedTypeForResponse", "WebhookMetaDeletedPropHookType", + "WebhookMetaDeletedPropHookTypeForResponse", "WebhookMetaDeletedPropHookPropConfigType", + "WebhookMetaDeletedPropHookPropConfigTypeForResponse", + ), + ".group_0770": ( + "WebhookMilestoneClosedType", + "WebhookMilestoneClosedTypeForResponse", + ), + ".group_0771": ( + "WebhookMilestoneCreatedType", + "WebhookMilestoneCreatedTypeForResponse", + ), + ".group_0772": ( + "WebhookMilestoneDeletedType", + "WebhookMilestoneDeletedTypeForResponse", ), - ".group_0770": ("WebhookMilestoneClosedType",), - ".group_0771": ("WebhookMilestoneCreatedType",), - ".group_0772": ("WebhookMilestoneDeletedType",), ".group_0773": ( "WebhookMilestoneEditedType", + "WebhookMilestoneEditedTypeForResponse", "WebhookMilestoneEditedPropChangesType", + "WebhookMilestoneEditedPropChangesTypeForResponse", "WebhookMilestoneEditedPropChangesPropDescriptionType", + "WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse", "WebhookMilestoneEditedPropChangesPropDueOnType", + "WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse", "WebhookMilestoneEditedPropChangesPropTitleType", + "WebhookMilestoneEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0774": ( + "WebhookMilestoneOpenedType", + "WebhookMilestoneOpenedTypeForResponse", + ), + ".group_0775": ( + "WebhookOrgBlockBlockedType", + "WebhookOrgBlockBlockedTypeForResponse", + ), + ".group_0776": ( + "WebhookOrgBlockUnblockedType", + "WebhookOrgBlockUnblockedTypeForResponse", + ), + ".group_0777": ( + "WebhookOrganizationCustomPropertyCreatedType", + "WebhookOrganizationCustomPropertyCreatedTypeForResponse", ), - ".group_0774": ("WebhookMilestoneOpenedType",), - ".group_0775": ("WebhookOrgBlockBlockedType",), - ".group_0776": ("WebhookOrgBlockUnblockedType",), - ".group_0777": ("WebhookOrganizationCustomPropertyCreatedType",), ".group_0778": ( "WebhookOrganizationCustomPropertyDeletedType", + "WebhookOrganizationCustomPropertyDeletedTypeForResponse", "WebhookOrganizationCustomPropertyDeletedPropDefinitionType", + "WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse", + ), + ".group_0779": ( + "WebhookOrganizationCustomPropertyUpdatedType", + "WebhookOrganizationCustomPropertyUpdatedTypeForResponse", + ), + ".group_0780": ( + "WebhookOrganizationCustomPropertyValuesUpdatedType", + "WebhookOrganizationCustomPropertyValuesUpdatedTypeForResponse", + ), + ".group_0781": ( + "WebhookOrganizationDeletedType", + "WebhookOrganizationDeletedTypeForResponse", + ), + ".group_0782": ( + "WebhookOrganizationMemberAddedType", + "WebhookOrganizationMemberAddedTypeForResponse", ), - ".group_0779": ("WebhookOrganizationCustomPropertyUpdatedType",), - ".group_0780": ("WebhookOrganizationCustomPropertyValuesUpdatedType",), - ".group_0781": ("WebhookOrganizationDeletedType",), - ".group_0782": ("WebhookOrganizationMemberAddedType",), ".group_0783": ( "WebhookOrganizationMemberInvitedType", + "WebhookOrganizationMemberInvitedTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationType", + "WebhookOrganizationMemberInvitedPropInvitationTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationPropInviterType", + "WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse", + ), + ".group_0784": ( + "WebhookOrganizationMemberRemovedType", + "WebhookOrganizationMemberRemovedTypeForResponse", ), - ".group_0784": ("WebhookOrganizationMemberRemovedType",), ".group_0785": ( "WebhookOrganizationRenamedType", + "WebhookOrganizationRenamedTypeForResponse", "WebhookOrganizationRenamedPropChangesType", + "WebhookOrganizationRenamedPropChangesTypeForResponse", "WebhookOrganizationRenamedPropChangesPropLoginType", + "WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse", ), ".group_0786": ( "WebhookRubygemsMetadataType", + "WebhookRubygemsMetadataTypeForResponse", "WebhookRubygemsMetadataPropVersionInfoType", + "WebhookRubygemsMetadataPropVersionInfoTypeForResponse", "WebhookRubygemsMetadataPropMetadataType", + "WebhookRubygemsMetadataPropMetadataTypeForResponse", "WebhookRubygemsMetadataPropDependenciesItemsType", + "WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse", + ), + ".group_0787": ( + "WebhookPackagePublishedType", + "WebhookPackagePublishedTypeForResponse", ), - ".group_0787": ("WebhookPackagePublishedType",), ".group_0788": ( "WebhookPackagePublishedPropPackageType", + "WebhookPackagePublishedPropPackageTypeForResponse", "WebhookPackagePublishedPropPackagePropOwnerType", + "WebhookPackagePublishedPropPackagePropOwnerTypeForResponse", "WebhookPackagePublishedPropPackagePropRegistryType", + "WebhookPackagePublishedPropPackagePropRegistryTypeForResponse", ), ".group_0789": ( "WebhookPackagePublishedPropPackagePropPackageVersionType", + "WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0790": ( + "WebhookPackageUpdatedType", + "WebhookPackageUpdatedTypeForResponse", ), - ".group_0790": ("WebhookPackageUpdatedType",), ".group_0791": ( "WebhookPackageUpdatedPropPackageType", + "WebhookPackageUpdatedPropPackageTypeForResponse", "WebhookPackageUpdatedPropPackagePropOwnerType", + "WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse", "WebhookPackageUpdatedPropPackagePropRegistryType", + "WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse", ), ".group_0792": ( "WebhookPackageUpdatedPropPackagePropPackageVersionType", + "WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", ), ".group_0793": ( "WebhookPageBuildType", + "WebhookPageBuildTypeForResponse", "WebhookPageBuildPropBuildType", + "WebhookPageBuildPropBuildTypeForResponse", "WebhookPageBuildPropBuildPropErrorType", + "WebhookPageBuildPropBuildPropErrorTypeForResponse", "WebhookPageBuildPropBuildPropPusherType", + "WebhookPageBuildPropBuildPropPusherTypeForResponse", + ), + ".group_0794": ( + "WebhookPersonalAccessTokenRequestApprovedType", + "WebhookPersonalAccessTokenRequestApprovedTypeForResponse", + ), + ".group_0795": ( + "WebhookPersonalAccessTokenRequestCancelledType", + "WebhookPersonalAccessTokenRequestCancelledTypeForResponse", + ), + ".group_0796": ( + "WebhookPersonalAccessTokenRequestCreatedType", + "WebhookPersonalAccessTokenRequestCreatedTypeForResponse", + ), + ".group_0797": ( + "WebhookPersonalAccessTokenRequestDeniedType", + "WebhookPersonalAccessTokenRequestDeniedTypeForResponse", + ), + ".group_0798": ( + "WebhookPingType", + "WebhookPingTypeForResponse", ), - ".group_0794": ("WebhookPersonalAccessTokenRequestApprovedType",), - ".group_0795": ("WebhookPersonalAccessTokenRequestCancelledType",), - ".group_0796": ("WebhookPersonalAccessTokenRequestCreatedType",), - ".group_0797": ("WebhookPersonalAccessTokenRequestDeniedType",), - ".group_0798": ("WebhookPingType",), ".group_0799": ( "WebhookPingPropHookType", + "WebhookPingPropHookTypeForResponse", "WebhookPingPropHookPropConfigType", + "WebhookPingPropHookPropConfigTypeForResponse", + ), + ".group_0800": ( + "WebhookPingFormEncodedType", + "WebhookPingFormEncodedTypeForResponse", ), - ".group_0800": ("WebhookPingFormEncodedType",), ".group_0801": ( "WebhookProjectCardConvertedType", + "WebhookProjectCardConvertedTypeForResponse", "WebhookProjectCardConvertedPropChangesType", + "WebhookProjectCardConvertedPropChangesTypeForResponse", "WebhookProjectCardConvertedPropChangesPropNoteType", + "WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse", + ), + ".group_0802": ( + "WebhookProjectCardCreatedType", + "WebhookProjectCardCreatedTypeForResponse", ), - ".group_0802": ("WebhookProjectCardCreatedType",), ".group_0803": ( "WebhookProjectCardDeletedType", + "WebhookProjectCardDeletedTypeForResponse", "WebhookProjectCardDeletedPropProjectCardType", + "WebhookProjectCardDeletedPropProjectCardTypeForResponse", "WebhookProjectCardDeletedPropProjectCardPropCreatorType", + "WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse", ), ".group_0804": ( "WebhookProjectCardEditedType", + "WebhookProjectCardEditedTypeForResponse", "WebhookProjectCardEditedPropChangesType", + "WebhookProjectCardEditedPropChangesTypeForResponse", "WebhookProjectCardEditedPropChangesPropNoteType", + "WebhookProjectCardEditedPropChangesPropNoteTypeForResponse", ), ".group_0805": ( "WebhookProjectCardMovedType", + "WebhookProjectCardMovedTypeForResponse", "WebhookProjectCardMovedPropChangesType", + "WebhookProjectCardMovedPropChangesTypeForResponse", "WebhookProjectCardMovedPropChangesPropColumnIdType", + "WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse", "WebhookProjectCardMovedPropProjectCardType", + "WebhookProjectCardMovedPropProjectCardTypeForResponse", "WebhookProjectCardMovedPropProjectCardMergedCreatorType", + "WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse", ), ".group_0806": ( "WebhookProjectCardMovedPropProjectCardAllof0Type", + "WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse", ), ".group_0807": ( "WebhookProjectCardMovedPropProjectCardAllof1Type", + "WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse", + ), + ".group_0808": ( + "WebhookProjectClosedType", + "WebhookProjectClosedTypeForResponse", + ), + ".group_0809": ( + "WebhookProjectColumnCreatedType", + "WebhookProjectColumnCreatedTypeForResponse", + ), + ".group_0810": ( + "WebhookProjectColumnDeletedType", + "WebhookProjectColumnDeletedTypeForResponse", ), - ".group_0808": ("WebhookProjectClosedType",), - ".group_0809": ("WebhookProjectColumnCreatedType",), - ".group_0810": ("WebhookProjectColumnDeletedType",), ".group_0811": ( "WebhookProjectColumnEditedType", + "WebhookProjectColumnEditedTypeForResponse", "WebhookProjectColumnEditedPropChangesType", + "WebhookProjectColumnEditedPropChangesTypeForResponse", "WebhookProjectColumnEditedPropChangesPropNameType", + "WebhookProjectColumnEditedPropChangesPropNameTypeForResponse", + ), + ".group_0812": ( + "WebhookProjectColumnMovedType", + "WebhookProjectColumnMovedTypeForResponse", + ), + ".group_0813": ( + "WebhookProjectCreatedType", + "WebhookProjectCreatedTypeForResponse", + ), + ".group_0814": ( + "WebhookProjectDeletedType", + "WebhookProjectDeletedTypeForResponse", ), - ".group_0812": ("WebhookProjectColumnMovedType",), - ".group_0813": ("WebhookProjectCreatedType",), - ".group_0814": ("WebhookProjectDeletedType",), ".group_0815": ( "WebhookProjectEditedType", + "WebhookProjectEditedTypeForResponse", "WebhookProjectEditedPropChangesType", + "WebhookProjectEditedPropChangesTypeForResponse", "WebhookProjectEditedPropChangesPropBodyType", + "WebhookProjectEditedPropChangesPropBodyTypeForResponse", "WebhookProjectEditedPropChangesPropNameType", + "WebhookProjectEditedPropChangesPropNameTypeForResponse", + ), + ".group_0816": ( + "WebhookProjectReopenedType", + "WebhookProjectReopenedTypeForResponse", + ), + ".group_0817": ( + "WebhookProjectsV2ProjectClosedType", + "WebhookProjectsV2ProjectClosedTypeForResponse", + ), + ".group_0818": ( + "WebhookProjectsV2ProjectCreatedType", + "WebhookProjectsV2ProjectCreatedTypeForResponse", + ), + ".group_0819": ( + "WebhookProjectsV2ProjectDeletedType", + "WebhookProjectsV2ProjectDeletedTypeForResponse", ), - ".group_0816": ("WebhookProjectReopenedType",), - ".group_0817": ("WebhookProjectsV2ProjectClosedType",), - ".group_0818": ("WebhookProjectsV2ProjectCreatedType",), - ".group_0819": ("WebhookProjectsV2ProjectDeletedType",), ".group_0820": ( "WebhookProjectsV2ProjectEditedType", + "WebhookProjectsV2ProjectEditedTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesType", + "WebhookProjectsV2ProjectEditedPropChangesTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropPublicType", + "WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropTitleType", + "WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0821": ( + "WebhookProjectsV2ItemArchivedType", + "WebhookProjectsV2ItemArchivedTypeForResponse", ), - ".group_0821": ("WebhookProjectsV2ItemArchivedType",), ".group_0822": ( "WebhookProjectsV2ItemConvertedType", + "WebhookProjectsV2ItemConvertedTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesType", + "WebhookProjectsV2ItemConvertedPropChangesTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType", + "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse", + ), + ".group_0823": ( + "WebhookProjectsV2ItemCreatedType", + "WebhookProjectsV2ItemCreatedTypeForResponse", + ), + ".group_0824": ( + "WebhookProjectsV2ItemDeletedType", + "WebhookProjectsV2ItemDeletedTypeForResponse", ), - ".group_0823": ("WebhookProjectsV2ItemCreatedType",), - ".group_0824": ("WebhookProjectsV2ItemDeletedType",), ".group_0825": ( "WebhookProjectsV2ItemEditedType", + "WebhookProjectsV2ItemEditedTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0Type", + "WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType", + "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse", "ProjectsV2SingleSelectOptionType", + "ProjectsV2SingleSelectOptionTypeForResponse", "ProjectsV2IterationSettingType", + "ProjectsV2IterationSettingTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1Type", + "WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType", + "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse", ), ".group_0826": ( "WebhookProjectsV2ItemReorderedType", + "WebhookProjectsV2ItemReorderedTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesType", + "WebhookProjectsV2ItemReorderedPropChangesTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType", + "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse", + ), + ".group_0827": ( + "WebhookProjectsV2ItemRestoredType", + "WebhookProjectsV2ItemRestoredTypeForResponse", + ), + ".group_0828": ( + "WebhookProjectsV2ProjectReopenedType", + "WebhookProjectsV2ProjectReopenedTypeForResponse", + ), + ".group_0829": ( + "WebhookProjectsV2StatusUpdateCreatedType", + "WebhookProjectsV2StatusUpdateCreatedTypeForResponse", + ), + ".group_0830": ( + "WebhookProjectsV2StatusUpdateDeletedType", + "WebhookProjectsV2StatusUpdateDeletedTypeForResponse", ), - ".group_0827": ("WebhookProjectsV2ItemRestoredType",), - ".group_0828": ("WebhookProjectsV2ProjectReopenedType",), - ".group_0829": ("WebhookProjectsV2StatusUpdateCreatedType",), - ".group_0830": ("WebhookProjectsV2StatusUpdateDeletedType",), ".group_0831": ( "WebhookProjectsV2StatusUpdateEditedType", + "WebhookProjectsV2StatusUpdateEditedTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesType", + "WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse", + ), + ".group_0832": ( + "WebhookPublicType", + "WebhookPublicTypeForResponse", ), - ".group_0832": ("WebhookPublicType",), ".group_0833": ( "WebhookPullRequestAssignedType", + "WebhookPullRequestAssignedTypeForResponse", "WebhookPullRequestAssignedPropPullRequestType", + "WebhookPullRequestAssignedPropPullRequestTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneeType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMergedByType", + "WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestoneType", + "WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksType", + "WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBaseType", + "WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadType", + "WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0834": ( "WebhookPullRequestAutoMergeDisabledType", + "WebhookPullRequestAutoMergeDisabledTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0835": ( "WebhookPullRequestAutoMergeEnabledType", + "WebhookPullRequestAutoMergeEnabledTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", + ), + ".group_0836": ( + "WebhookPullRequestClosedType", + "WebhookPullRequestClosedTypeForResponse", + ), + ".group_0837": ( + "WebhookPullRequestConvertedToDraftType", + "WebhookPullRequestConvertedToDraftTypeForResponse", + ), + ".group_0838": ( + "WebhookPullRequestDemilestonedType", + "WebhookPullRequestDemilestonedTypeForResponse", ), - ".group_0836": ("WebhookPullRequestClosedType",), - ".group_0837": ("WebhookPullRequestConvertedToDraftType",), - ".group_0838": ("WebhookPullRequestDemilestonedType",), ".group_0839": ( "WebhookPullRequestDequeuedType", + "WebhookPullRequestDequeuedTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestType", + "WebhookPullRequestDequeuedPropPullRequestTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneeType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMergedByType", + "WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestoneType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBaseType", + "WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0840": ( "WebhookPullRequestEditedType", + "WebhookPullRequestEditedTypeForResponse", "WebhookPullRequestEditedPropChangesType", + "WebhookPullRequestEditedPropChangesTypeForResponse", "WebhookPullRequestEditedPropChangesPropBodyType", + "WebhookPullRequestEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestEditedPropChangesPropTitleType", + "WebhookPullRequestEditedPropChangesPropTitleTypeForResponse", "WebhookPullRequestEditedPropChangesPropBaseType", + "WebhookPullRequestEditedPropChangesPropBaseTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropRefType", + "WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropShaType", + "WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse", ), ".group_0841": ( "WebhookPullRequestEnqueuedType", + "WebhookPullRequestEnqueuedTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestType", + "WebhookPullRequestEnqueuedPropPullRequestTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMergedByType", + "WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBaseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0842": ( "WebhookPullRequestLabeledType", + "WebhookPullRequestLabeledTypeForResponse", "WebhookPullRequestLabeledPropPullRequestType", + "WebhookPullRequestLabeledPropPullRequestTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMergedByType", + "WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksType", + "WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBaseType", + "WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadType", + "WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0843": ( "WebhookPullRequestLockedType", + "WebhookPullRequestLockedTypeForResponse", "WebhookPullRequestLockedPropPullRequestType", + "WebhookPullRequestLockedPropPullRequestTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneeType", + "WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMergedByType", + "WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestoneType", + "WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropUserType", + "WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksType", + "WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBaseType", + "WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadType", + "WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", + ), + ".group_0844": ( + "WebhookPullRequestMilestonedType", + "WebhookPullRequestMilestonedTypeForResponse", + ), + ".group_0845": ( + "WebhookPullRequestOpenedType", + "WebhookPullRequestOpenedTypeForResponse", + ), + ".group_0846": ( + "WebhookPullRequestReadyForReviewType", + "WebhookPullRequestReadyForReviewTypeForResponse", + ), + ".group_0847": ( + "WebhookPullRequestReopenedType", + "WebhookPullRequestReopenedTypeForResponse", ), - ".group_0844": ("WebhookPullRequestMilestonedType",), - ".group_0845": ("WebhookPullRequestOpenedType",), - ".group_0846": ("WebhookPullRequestReadyForReviewType",), - ".group_0847": ("WebhookPullRequestReopenedType",), ".group_0848": ( "WebhookPullRequestReviewCommentCreatedType", + "WebhookPullRequestReviewCommentCreatedTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentType", + "WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropUserType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0849": ( "WebhookPullRequestReviewCommentDeletedType", + "WebhookPullRequestReviewCommentDeletedTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0850": ( "WebhookPullRequestReviewCommentEditedType", + "WebhookPullRequestReviewCommentEditedTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestType", + "WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0851": ( "WebhookPullRequestReviewDismissedType", + "WebhookPullRequestReviewDismissedTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewType", + "WebhookPullRequestReviewDismissedPropReviewTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropUserType", + "WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestType", + "WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBaseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0852": ( "WebhookPullRequestReviewEditedType", + "WebhookPullRequestReviewEditedTypeForResponse", "WebhookPullRequestReviewEditedPropChangesType", + "WebhookPullRequestReviewEditedPropChangesTypeForResponse", "WebhookPullRequestReviewEditedPropChangesPropBodyType", + "WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestType", + "WebhookPullRequestReviewEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0853": ( "WebhookPullRequestReviewRequestRemovedOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0854": ( "WebhookPullRequestReviewRequestRemovedOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0855": ( "WebhookPullRequestReviewRequestedOneof0Type", + "WebhookPullRequestReviewRequestedOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0856": ( "WebhookPullRequestReviewRequestedOneof1Type", + "WebhookPullRequestReviewRequestedOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0857": ( "WebhookPullRequestReviewSubmittedType", + "WebhookPullRequestReviewSubmittedTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestType", + "WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0858": ( "WebhookPullRequestReviewThreadResolvedType", + "WebhookPullRequestReviewThreadResolvedTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadType", + "WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", ), ".group_0859": ( "WebhookPullRequestReviewThreadUnresolvedType", + "WebhookPullRequestReviewThreadUnresolvedTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", ), ".group_0860": ( "WebhookPullRequestSynchronizeType", + "WebhookPullRequestSynchronizeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestType", + "WebhookPullRequestSynchronizePropPullRequestTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneeType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMergedByType", + "WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestoneType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBaseType", + "WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0861": ( "WebhookPullRequestUnassignedType", + "WebhookPullRequestUnassignedTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestType", + "WebhookPullRequestUnassignedPropPullRequestTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMergedByType", + "WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBaseType", + "WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0862": ( "WebhookPullRequestUnlabeledType", + "WebhookPullRequestUnlabeledTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestType", + "WebhookPullRequestUnlabeledPropPullRequestTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMergedByType", + "WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBaseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0863": ( "WebhookPullRequestUnlockedType", + "WebhookPullRequestUnlockedTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestType", + "WebhookPullRequestUnlockedPropPullRequestTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMergedByType", + "WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBaseType", + "WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0864": ( "WebhookPushType", + "WebhookPushTypeForResponse", "WebhookPushPropHeadCommitType", + "WebhookPushPropHeadCommitTypeForResponse", "WebhookPushPropHeadCommitPropAuthorType", + "WebhookPushPropHeadCommitPropAuthorTypeForResponse", "WebhookPushPropHeadCommitPropCommitterType", + "WebhookPushPropHeadCommitPropCommitterTypeForResponse", "WebhookPushPropPusherType", + "WebhookPushPropPusherTypeForResponse", "WebhookPushPropCommitsItemsType", + "WebhookPushPropCommitsItemsTypeForResponse", "WebhookPushPropCommitsItemsPropAuthorType", + "WebhookPushPropCommitsItemsPropAuthorTypeForResponse", "WebhookPushPropCommitsItemsPropCommitterType", + "WebhookPushPropCommitsItemsPropCommitterTypeForResponse", "WebhookPushPropRepositoryType", + "WebhookPushPropRepositoryTypeForResponse", "WebhookPushPropRepositoryPropCustomPropertiesType", + "WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookPushPropRepositoryPropLicenseType", + "WebhookPushPropRepositoryPropLicenseTypeForResponse", "WebhookPushPropRepositoryPropOwnerType", + "WebhookPushPropRepositoryPropOwnerTypeForResponse", "WebhookPushPropRepositoryPropPermissionsType", + "WebhookPushPropRepositoryPropPermissionsTypeForResponse", + ), + ".group_0865": ( + "WebhookRegistryPackagePublishedType", + "WebhookRegistryPackagePublishedTypeForResponse", ), - ".group_0865": ("WebhookRegistryPackagePublishedType",), ".group_0866": ( "WebhookRegistryPackagePublishedPropRegistryPackageType", + "WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse", ), ".group_0867": ( "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0868": ( + "WebhookRegistryPackageUpdatedType", + "WebhookRegistryPackageUpdatedTypeForResponse", ), - ".group_0868": ("WebhookRegistryPackageUpdatedType",), ".group_0869": ( "WebhookRegistryPackageUpdatedPropRegistryPackageType", + "WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse", ), ".group_0870": ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0871": ( + "WebhookReleaseCreatedType", + "WebhookReleaseCreatedTypeForResponse", + ), + ".group_0872": ( + "WebhookReleaseDeletedType", + "WebhookReleaseDeletedTypeForResponse", ), - ".group_0871": ("WebhookReleaseCreatedType",), - ".group_0872": ("WebhookReleaseDeletedType",), ".group_0873": ( "WebhookReleaseEditedType", + "WebhookReleaseEditedTypeForResponse", "WebhookReleaseEditedPropChangesType", + "WebhookReleaseEditedPropChangesTypeForResponse", "WebhookReleaseEditedPropChangesPropBodyType", + "WebhookReleaseEditedPropChangesPropBodyTypeForResponse", "WebhookReleaseEditedPropChangesPropNameType", + "WebhookReleaseEditedPropChangesPropNameTypeForResponse", "WebhookReleaseEditedPropChangesPropTagNameType", + "WebhookReleaseEditedPropChangesPropTagNameTypeForResponse", "WebhookReleaseEditedPropChangesPropMakeLatestType", + "WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse", ), ".group_0874": ( "WebhookReleasePrereleasedType", + "WebhookReleasePrereleasedTypeForResponse", "WebhookReleasePrereleasedPropReleaseType", + "WebhookReleasePrereleasedPropReleaseTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAuthorType", + "WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse", "WebhookReleasePrereleasedPropReleasePropReactionsType", + "WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse", + ), + ".group_0875": ( + "WebhookReleasePublishedType", + "WebhookReleasePublishedTypeForResponse", + ), + ".group_0876": ( + "WebhookReleaseReleasedType", + "WebhookReleaseReleasedTypeForResponse", + ), + ".group_0877": ( + "WebhookReleaseUnpublishedType", + "WebhookReleaseUnpublishedTypeForResponse", + ), + ".group_0878": ( + "WebhookRepositoryAdvisoryPublishedType", + "WebhookRepositoryAdvisoryPublishedTypeForResponse", + ), + ".group_0879": ( + "WebhookRepositoryAdvisoryReportedType", + "WebhookRepositoryAdvisoryReportedTypeForResponse", + ), + ".group_0880": ( + "WebhookRepositoryArchivedType", + "WebhookRepositoryArchivedTypeForResponse", + ), + ".group_0881": ( + "WebhookRepositoryCreatedType", + "WebhookRepositoryCreatedTypeForResponse", + ), + ".group_0882": ( + "WebhookRepositoryDeletedType", + "WebhookRepositoryDeletedTypeForResponse", ), - ".group_0875": ("WebhookReleasePublishedType",), - ".group_0876": ("WebhookReleaseReleasedType",), - ".group_0877": ("WebhookReleaseUnpublishedType",), - ".group_0878": ("WebhookRepositoryAdvisoryPublishedType",), - ".group_0879": ("WebhookRepositoryAdvisoryReportedType",), - ".group_0880": ("WebhookRepositoryArchivedType",), - ".group_0881": ("WebhookRepositoryCreatedType",), - ".group_0882": ("WebhookRepositoryDeletedType",), ".group_0883": ( "WebhookRepositoryDispatchSampleType", + "WebhookRepositoryDispatchSampleTypeForResponse", "WebhookRepositoryDispatchSamplePropClientPayloadType", + "WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse", ), ".group_0884": ( "WebhookRepositoryEditedType", + "WebhookRepositoryEditedTypeForResponse", "WebhookRepositoryEditedPropChangesType", + "WebhookRepositoryEditedPropChangesTypeForResponse", "WebhookRepositoryEditedPropChangesPropDefaultBranchType", + "WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse", "WebhookRepositoryEditedPropChangesPropDescriptionType", + "WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse", "WebhookRepositoryEditedPropChangesPropHomepageType", + "WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse", "WebhookRepositoryEditedPropChangesPropTopicsType", + "WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse", + ), + ".group_0885": ( + "WebhookRepositoryImportType", + "WebhookRepositoryImportTypeForResponse", + ), + ".group_0886": ( + "WebhookRepositoryPrivatizedType", + "WebhookRepositoryPrivatizedTypeForResponse", + ), + ".group_0887": ( + "WebhookRepositoryPublicizedType", + "WebhookRepositoryPublicizedTypeForResponse", ), - ".group_0885": ("WebhookRepositoryImportType",), - ".group_0886": ("WebhookRepositoryPrivatizedType",), - ".group_0887": ("WebhookRepositoryPublicizedType",), ".group_0888": ( "WebhookRepositoryRenamedType", + "WebhookRepositoryRenamedTypeForResponse", "WebhookRepositoryRenamedPropChangesType", + "WebhookRepositoryRenamedPropChangesTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryType", + "WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType", + "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse", + ), + ".group_0889": ( + "WebhookRepositoryRulesetCreatedType", + "WebhookRepositoryRulesetCreatedTypeForResponse", + ), + ".group_0890": ( + "WebhookRepositoryRulesetDeletedType", + "WebhookRepositoryRulesetDeletedTypeForResponse", + ), + ".group_0891": ( + "WebhookRepositoryRulesetEditedType", + "WebhookRepositoryRulesetEditedTypeForResponse", ), - ".group_0889": ("WebhookRepositoryRulesetCreatedType",), - ".group_0890": ("WebhookRepositoryRulesetDeletedType",), - ".group_0891": ("WebhookRepositoryRulesetEditedType",), ".group_0892": ( "WebhookRepositoryRulesetEditedPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropNameType", + "WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropEnforcementType", + "WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse", + ), + ".group_0893": ( + "WebhookRepositoryRulesetEditedPropChangesPropConditionsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse", ), - ".group_0893": ("WebhookRepositoryRulesetEditedPropChangesPropConditionsType",), ".group_0894": ( "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse", + ), + ".group_0895": ( + "WebhookRepositoryRulesetEditedPropChangesPropRulesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse", ), - ".group_0895": ("WebhookRepositoryRulesetEditedPropChangesPropRulesType",), ".group_0896": ( "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse", ), ".group_0897": ( "WebhookRepositoryTransferredType", + "WebhookRepositoryTransferredTypeForResponse", "WebhookRepositoryTransferredPropChangesType", + "WebhookRepositoryTransferredPropChangesTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerType", + "WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse", + ), + ".group_0898": ( + "WebhookRepositoryUnarchivedType", + "WebhookRepositoryUnarchivedTypeForResponse", + ), + ".group_0899": ( + "WebhookRepositoryVulnerabilityAlertCreateType", + "WebhookRepositoryVulnerabilityAlertCreateTypeForResponse", ), - ".group_0898": ("WebhookRepositoryUnarchivedType",), - ".group_0899": ("WebhookRepositoryVulnerabilityAlertCreateType",), ".group_0900": ( "WebhookRepositoryVulnerabilityAlertDismissType", + "WebhookRepositoryVulnerabilityAlertDismissTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse", + ), + ".group_0901": ( + "WebhookRepositoryVulnerabilityAlertReopenType", + "WebhookRepositoryVulnerabilityAlertReopenTypeForResponse", ), - ".group_0901": ("WebhookRepositoryVulnerabilityAlertReopenType",), ".group_0902": ( "WebhookRepositoryVulnerabilityAlertResolveType", + "WebhookRepositoryVulnerabilityAlertResolveTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse", + ), + ".group_0903": ( + "WebhookSecretScanningAlertCreatedType", + "WebhookSecretScanningAlertCreatedTypeForResponse", + ), + ".group_0904": ( + "WebhookSecretScanningAlertLocationCreatedType", + "WebhookSecretScanningAlertLocationCreatedTypeForResponse", + ), + ".group_0905": ( + "WebhookSecretScanningAlertLocationCreatedFormEncodedType", + "WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse", + ), + ".group_0906": ( + "WebhookSecretScanningAlertPubliclyLeakedType", + "WebhookSecretScanningAlertPubliclyLeakedTypeForResponse", + ), + ".group_0907": ( + "WebhookSecretScanningAlertReopenedType", + "WebhookSecretScanningAlertReopenedTypeForResponse", + ), + ".group_0908": ( + "WebhookSecretScanningAlertResolvedType", + "WebhookSecretScanningAlertResolvedTypeForResponse", + ), + ".group_0909": ( + "WebhookSecretScanningAlertValidatedType", + "WebhookSecretScanningAlertValidatedTypeForResponse", + ), + ".group_0910": ( + "WebhookSecretScanningScanCompletedType", + "WebhookSecretScanningScanCompletedTypeForResponse", + ), + ".group_0911": ( + "WebhookSecurityAdvisoryPublishedType", + "WebhookSecurityAdvisoryPublishedTypeForResponse", + ), + ".group_0912": ( + "WebhookSecurityAdvisoryUpdatedType", + "WebhookSecurityAdvisoryUpdatedTypeForResponse", + ), + ".group_0913": ( + "WebhookSecurityAdvisoryWithdrawnType", + "WebhookSecurityAdvisoryWithdrawnTypeForResponse", ), - ".group_0903": ("WebhookSecretScanningAlertCreatedType",), - ".group_0904": ("WebhookSecretScanningAlertLocationCreatedType",), - ".group_0905": ("WebhookSecretScanningAlertLocationCreatedFormEncodedType",), - ".group_0906": ("WebhookSecretScanningAlertPubliclyLeakedType",), - ".group_0907": ("WebhookSecretScanningAlertReopenedType",), - ".group_0908": ("WebhookSecretScanningAlertResolvedType",), - ".group_0909": ("WebhookSecretScanningAlertValidatedType",), - ".group_0910": ("WebhookSecretScanningScanCompletedType",), - ".group_0911": ("WebhookSecurityAdvisoryPublishedType",), - ".group_0912": ("WebhookSecurityAdvisoryUpdatedType",), - ".group_0913": ("WebhookSecurityAdvisoryWithdrawnType",), ".group_0914": ( "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", + ), + ".group_0915": ( + "WebhookSecurityAndAnalysisType", + "WebhookSecurityAndAnalysisTypeForResponse", + ), + ".group_0916": ( + "WebhookSecurityAndAnalysisPropChangesType", + "WebhookSecurityAndAnalysisPropChangesTypeForResponse", + ), + ".group_0917": ( + "WebhookSecurityAndAnalysisPropChangesPropFromType", + "WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse", + ), + ".group_0918": ( + "WebhookSponsorshipCancelledType", + "WebhookSponsorshipCancelledTypeForResponse", + ), + ".group_0919": ( + "WebhookSponsorshipCreatedType", + "WebhookSponsorshipCreatedTypeForResponse", ), - ".group_0915": ("WebhookSecurityAndAnalysisType",), - ".group_0916": ("WebhookSecurityAndAnalysisPropChangesType",), - ".group_0917": ("WebhookSecurityAndAnalysisPropChangesPropFromType",), - ".group_0918": ("WebhookSponsorshipCancelledType",), - ".group_0919": ("WebhookSponsorshipCreatedType",), ".group_0920": ( "WebhookSponsorshipEditedType", + "WebhookSponsorshipEditedTypeForResponse", "WebhookSponsorshipEditedPropChangesType", + "WebhookSponsorshipEditedPropChangesTypeForResponse", "WebhookSponsorshipEditedPropChangesPropPrivacyLevelType", + "WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse", + ), + ".group_0921": ( + "WebhookSponsorshipPendingCancellationType", + "WebhookSponsorshipPendingCancellationTypeForResponse", + ), + ".group_0922": ( + "WebhookSponsorshipPendingTierChangeType", + "WebhookSponsorshipPendingTierChangeTypeForResponse", + ), + ".group_0923": ( + "WebhookSponsorshipTierChangedType", + "WebhookSponsorshipTierChangedTypeForResponse", + ), + ".group_0924": ( + "WebhookStarCreatedType", + "WebhookStarCreatedTypeForResponse", + ), + ".group_0925": ( + "WebhookStarDeletedType", + "WebhookStarDeletedTypeForResponse", ), - ".group_0921": ("WebhookSponsorshipPendingCancellationType",), - ".group_0922": ("WebhookSponsorshipPendingTierChangeType",), - ".group_0923": ("WebhookSponsorshipTierChangedType",), - ".group_0924": ("WebhookStarCreatedType",), - ".group_0925": ("WebhookStarDeletedType",), ".group_0926": ( "WebhookStatusType", + "WebhookStatusTypeForResponse", "WebhookStatusPropBranchesItemsType", + "WebhookStatusPropBranchesItemsTypeForResponse", "WebhookStatusPropBranchesItemsPropCommitType", + "WebhookStatusPropBranchesItemsPropCommitTypeForResponse", "WebhookStatusPropCommitType", + "WebhookStatusPropCommitTypeForResponse", "WebhookStatusPropCommitPropAuthorType", + "WebhookStatusPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropParentsItemsType", + "WebhookStatusPropCommitPropParentsItemsTypeForResponse", "WebhookStatusPropCommitPropCommitType", + "WebhookStatusPropCommitPropCommitTypeForResponse", "WebhookStatusPropCommitPropCommitPropAuthorType", + "WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropCommitPropTreeType", + "WebhookStatusPropCommitPropCommitPropTreeTypeForResponse", "WebhookStatusPropCommitPropCommitPropVerificationType", + "WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse", + ), + ".group_0927": ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof0Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse", + ), + ".group_0928": ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof1Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse", + ), + ".group_0929": ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof0Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse", + ), + ".group_0930": ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof1Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse", + ), + ".group_0931": ( + "WebhookSubIssuesParentIssueAddedType", + "WebhookSubIssuesParentIssueAddedTypeForResponse", + ), + ".group_0932": ( + "WebhookSubIssuesParentIssueRemovedType", + "WebhookSubIssuesParentIssueRemovedTypeForResponse", + ), + ".group_0933": ( + "WebhookSubIssuesSubIssueAddedType", + "WebhookSubIssuesSubIssueAddedTypeForResponse", + ), + ".group_0934": ( + "WebhookSubIssuesSubIssueRemovedType", + "WebhookSubIssuesSubIssueRemovedTypeForResponse", + ), + ".group_0935": ( + "WebhookTeamAddType", + "WebhookTeamAddTypeForResponse", ), - ".group_0927": ("WebhookStatusPropCommitPropCommitPropAuthorAllof0Type",), - ".group_0928": ("WebhookStatusPropCommitPropCommitPropAuthorAllof1Type",), - ".group_0929": ("WebhookStatusPropCommitPropCommitPropCommitterAllof0Type",), - ".group_0930": ("WebhookStatusPropCommitPropCommitPropCommitterAllof1Type",), - ".group_0931": ("WebhookSubIssuesParentIssueAddedType",), - ".group_0932": ("WebhookSubIssuesParentIssueRemovedType",), - ".group_0933": ("WebhookSubIssuesSubIssueAddedType",), - ".group_0934": ("WebhookSubIssuesSubIssueRemovedType",), - ".group_0935": ("WebhookTeamAddType",), ".group_0936": ( "WebhookTeamAddedToRepositoryType", + "WebhookTeamAddedToRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryType", + "WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType", + "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType", + "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse", ), ".group_0937": ( "WebhookTeamCreatedType", + "WebhookTeamCreatedTypeForResponse", "WebhookTeamCreatedPropRepositoryType", + "WebhookTeamCreatedPropRepositoryTypeForResponse", "WebhookTeamCreatedPropRepositoryPropCustomPropertiesType", + "WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamCreatedPropRepositoryPropLicenseType", + "WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamCreatedPropRepositoryPropOwnerType", + "WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamCreatedPropRepositoryPropPermissionsType", + "WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse", ), ".group_0938": ( "WebhookTeamDeletedType", + "WebhookTeamDeletedTypeForResponse", "WebhookTeamDeletedPropRepositoryType", + "WebhookTeamDeletedPropRepositoryTypeForResponse", "WebhookTeamDeletedPropRepositoryPropCustomPropertiesType", + "WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamDeletedPropRepositoryPropLicenseType", + "WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamDeletedPropRepositoryPropOwnerType", + "WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamDeletedPropRepositoryPropPermissionsType", + "WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse", ), ".group_0939": ( "WebhookTeamEditedType", + "WebhookTeamEditedTypeForResponse", "WebhookTeamEditedPropRepositoryType", + "WebhookTeamEditedPropRepositoryTypeForResponse", "WebhookTeamEditedPropRepositoryPropCustomPropertiesType", + "WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamEditedPropRepositoryPropLicenseType", + "WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamEditedPropRepositoryPropOwnerType", + "WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamEditedPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesType", + "WebhookTeamEditedPropChangesTypeForResponse", "WebhookTeamEditedPropChangesPropDescriptionType", + "WebhookTeamEditedPropChangesPropDescriptionTypeForResponse", "WebhookTeamEditedPropChangesPropNameType", + "WebhookTeamEditedPropChangesPropNameTypeForResponse", "WebhookTeamEditedPropChangesPropPrivacyType", + "WebhookTeamEditedPropChangesPropPrivacyTypeForResponse", "WebhookTeamEditedPropChangesPropNotificationSettingType", + "WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryType", + "WebhookTeamEditedPropChangesPropRepositoryTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse", ), ".group_0940": ( "WebhookTeamRemovedFromRepositoryType", + "WebhookTeamRemovedFromRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryType", + "WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse", + ), + ".group_0941": ( + "WebhookWatchStartedType", + "WebhookWatchStartedTypeForResponse", ), - ".group_0941": ("WebhookWatchStartedType",), ".group_0942": ( "WebhookWorkflowDispatchType", + "WebhookWorkflowDispatchTypeForResponse", "WebhookWorkflowDispatchPropInputsType", + "WebhookWorkflowDispatchPropInputsTypeForResponse", ), ".group_0943": ( "WebhookWorkflowJobCompletedType", + "WebhookWorkflowJobCompletedTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobType", + "WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse", ), ".group_0944": ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse", ), ".group_0945": ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse", ), ".group_0946": ( "WebhookWorkflowJobInProgressType", + "WebhookWorkflowJobInProgressTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobType", + "WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse", ), ".group_0947": ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse", ), ".group_0948": ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse", ), ".group_0949": ( "WebhookWorkflowJobQueuedType", + "WebhookWorkflowJobQueuedTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobType", + "WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse", ), ".group_0950": ( "WebhookWorkflowJobWaitingType", + "WebhookWorkflowJobWaitingTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobType", + "WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse", ), ".group_0951": ( "WebhookWorkflowRunCompletedType", + "WebhookWorkflowRunCompletedTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunType", + "WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0952": ( "WebhookWorkflowRunInProgressType", + "WebhookWorkflowRunInProgressTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunType", + "WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0953": ( "WebhookWorkflowRunRequestedType", + "WebhookWorkflowRunRequestedTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunType", + "WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0954": ( + "AppManifestsCodeConversionsPostResponse201Type", + "AppManifestsCodeConversionsPostResponse201TypeForResponse", + ), + ".group_0955": ( + "AppManifestsCodeConversionsPostResponse201Allof1Type", + "AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse", + ), + ".group_0956": ( + "AppHookConfigPatchBodyType", + "AppHookConfigPatchBodyTypeForResponse", + ), + ".group_0957": ( + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type", + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse", + ), + ".group_0958": ( + "AppInstallationsInstallationIdAccessTokensPostBodyType", + "AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse", + ), + ".group_0959": ( + "ApplicationsClientIdGrantDeleteBodyType", + "ApplicationsClientIdGrantDeleteBodyTypeForResponse", + ), + ".group_0960": ( + "ApplicationsClientIdTokenPostBodyType", + "ApplicationsClientIdTokenPostBodyTypeForResponse", + ), + ".group_0961": ( + "ApplicationsClientIdTokenDeleteBodyType", + "ApplicationsClientIdTokenDeleteBodyTypeForResponse", + ), + ".group_0962": ( + "ApplicationsClientIdTokenPatchBodyType", + "ApplicationsClientIdTokenPatchBodyTypeForResponse", + ), + ".group_0963": ( + "ApplicationsClientIdTokenScopedPostBodyType", + "ApplicationsClientIdTokenScopedPostBodyTypeForResponse", + ), + ".group_0964": ( + "CredentialsRevokePostBodyType", + "CredentialsRevokePostBodyTypeForResponse", + ), + ".group_0965": ( + "EmojisGetResponse200Type", + "EmojisGetResponse200TypeForResponse", + ), + ".group_0966": ( + "EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse", ), - ".group_0954": ("AppManifestsCodeConversionsPostResponse201Type",), - ".group_0955": ("AppManifestsCodeConversionsPostResponse201Allof1Type",), - ".group_0956": ("AppHookConfigPatchBodyType",), - ".group_0957": ("AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type",), - ".group_0958": ("AppInstallationsInstallationIdAccessTokensPostBodyType",), - ".group_0959": ("ApplicationsClientIdGrantDeleteBodyType",), - ".group_0960": ("ApplicationsClientIdTokenPostBodyType",), - ".group_0961": ("ApplicationsClientIdTokenDeleteBodyType",), - ".group_0962": ("ApplicationsClientIdTokenPatchBodyType",), - ".group_0963": ("ApplicationsClientIdTokenScopedPostBodyType",), - ".group_0964": ("CredentialsRevokePostBodyType",), - ".group_0965": ("EmojisGetResponse200Type",), - ".group_0966": ("EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type",), ".group_0967": ( "EnterprisesEnterpriseActionsHostedRunnersPostBodyType", + "EnterprisesEnterpriseActionsHostedRunnersPostBodyTypeForResponse", "EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType", + "EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse", ), ".group_0968": ( "EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", ), ".group_0969": ( "EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", ), ".group_0970": ( "EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", ), ".group_0971": ( "EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", ), ".group_0972": ( "EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", ), ".group_0973": ( "EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse", ), ".group_0974": ( "EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType", + "EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", + ), + ".group_0975": ( + "EnterprisesEnterpriseActionsPermissionsPutBodyType", + "EnterprisesEnterpriseActionsPermissionsPutBodyTypeForResponse", ), - ".group_0975": ("EnterprisesEnterpriseActionsPermissionsPutBodyType",), ".group_0976": ( "EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type", + "EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse", ), ".group_0977": ( "EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType", + "EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyTypeForResponse", ), ".group_0978": ( "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse", ), ".group_0979": ( "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType", + "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", ), ".group_0980": ( "EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsEnterpriseType", + "RunnerGroupsEnterpriseTypeForResponse", + ), + ".group_0981": ( + "EnterprisesEnterpriseActionsRunnerGroupsPostBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsPostBodyTypeForResponse", ), - ".group_0981": ("EnterprisesEnterpriseActionsRunnerGroupsPostBodyType",), ".group_0982": ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", ), ".group_0983": ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse", ), ".group_0984": ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyTypeForResponse", ), ".group_0985": ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", ), ".group_0986": ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", + ), + ".group_0987": ( + "EnterprisesEnterpriseActionsRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse", ), - ".group_0987": ("EnterprisesEnterpriseActionsRunnersGetResponse200Type",), ".group_0988": ( "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType", + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyTypeForResponse", ), ".group_0989": ( "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type", + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse", ), ".group_0990": ( "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse", ), ".group_0991": ( "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", ), ".group_0992": ( "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", ), ".group_0993": ( "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse", ), ".group_0994": ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyTypeForResponse", ), ".group_0995": ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyTypeForResponse", ), ".group_0996": ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyTypeForResponse", ), ".group_0997": ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyTypeForResponse", + ), + ".group_0998": ( + "EnterprisesEnterpriseAuditLogStreamsPostBodyType", + "EnterprisesEnterpriseAuditLogStreamsPostBodyTypeForResponse", + ), + ".group_0999": ( + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType", + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyTypeForResponse", ), - ".group_0998": ("EnterprisesEnterpriseAuditLogStreamsPostBodyType",), - ".group_0999": ("EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType",), ".group_1000": ( "EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type", + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422TypeForResponse", + ), + ".group_1001": ( + "EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type", + "EnterprisesEnterpriseCodeScanningAlertsGetResponse503TypeForResponse", ), - ".group_1001": ("EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type",), ".group_1002": ( "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", ), ".group_1003": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", ), ".group_1004": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ), ".group_1005": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ), ".group_1006": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", + ), + ".group_1007": ( + "EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType", + "EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyTypeForResponse", + ), + ".group_1008": ( + "EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type", + "EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse", ), - ".group_1007": ("EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType",), - ".group_1008": ("EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type",), ".group_1009": ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyTypeForResponse", ), ".group_1010": ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse", ), ".group_1011": ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyTypeForResponse", ), ".group_1012": ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse", ), ".group_1013": ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202TypeForResponse", ), ".group_1014": ( "EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyTypeForResponse", ), ".group_1015": ( "EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type", + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse", ), ".group_1016": ( "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyTypeForResponse", ), ".group_1017": ( "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type", + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", ), ".group_1018": ( "EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type", + "EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse", ), ".group_1019": ( "EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type", + "EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse", + ), + ".group_1020": ( + "EnterprisesEnterpriseNetworkConfigurationsPostBodyType", + "EnterprisesEnterpriseNetworkConfigurationsPostBodyTypeForResponse", ), - ".group_1020": ("EnterprisesEnterpriseNetworkConfigurationsPostBodyType",), ".group_1021": ( "EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", + ), + ".group_1022": ( + "EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType", + "EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyTypeForResponse", + ), + ".group_1023": ( + "EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType", + "EnterprisesEnterpriseOrgPropertiesValuesPatchBodyTypeForResponse", + ), + ".group_1024": ( + "EnterprisesEnterprisePropertiesSchemaPatchBodyType", + "EnterprisesEnterprisePropertiesSchemaPatchBodyTypeForResponse", + ), + ".group_1025": ( + "EnterprisesEnterpriseRulesetsPostBodyType", + "EnterprisesEnterpriseRulesetsPostBodyTypeForResponse", + ), + ".group_1026": ( + "EnterprisesEnterpriseRulesetsRulesetIdPutBodyType", + "EnterprisesEnterpriseRulesetsRulesetIdPutBodyTypeForResponse", ), - ".group_1022": ("EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType",), - ".group_1023": ("EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType",), - ".group_1024": ("EnterprisesEnterprisePropertiesSchemaPatchBodyType",), - ".group_1025": ("EnterprisesEnterpriseRulesetsPostBodyType",), - ".group_1026": ("EnterprisesEnterpriseRulesetsRulesetIdPutBodyType",), ".group_1027": ( "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyTypeForResponse", "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", ), ".group_1028": ( "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", ), ".group_1029": ( "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType", + "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyTypeForResponse", "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType", + "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse", ), ".group_1030": ( "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType", + "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", + ), + ".group_1031": ( + "EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersPostBodyTypeForResponse", ), - ".group_1031": ("EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType",), ".group_1032": ( "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse", "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsType", + "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse", ), ".group_1033": ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyTypeForResponse", ), ".group_1034": ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyTypeForResponse", ), ".group_1035": ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse", "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse", ), ".group_1036": ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyTypeForResponse", ), ".group_1037": ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse", + ), + ".group_1038": ( + "EnterprisesEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseTeamsPostBodyTypeForResponse", ), - ".group_1038": ("EnterprisesEnterpriseTeamsPostBodyType",), ".group_1039": ( "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse", ), ".group_1040": ( "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse", ), ".group_1041": ( "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse", ), ".group_1042": ( "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse", + ), + ".group_1043": ( + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyType", + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse", ), - ".group_1043": ("EnterprisesEnterpriseTeamsTeamSlugPatchBodyType",), ".group_1044": ( "GistsPostBodyType", + "GistsPostBodyTypeForResponse", "GistsPostBodyPropFilesType", + "GistsPostBodyPropFilesTypeForResponse", ), ".group_1045": ( "GistsGistIdGetResponse403Type", + "GistsGistIdGetResponse403TypeForResponse", "GistsGistIdGetResponse403PropBlockType", + "GistsGistIdGetResponse403PropBlockTypeForResponse", ), ".group_1046": ( "GistsGistIdPatchBodyType", + "GistsGistIdPatchBodyTypeForResponse", "GistsGistIdPatchBodyPropFilesType", + "GistsGistIdPatchBodyPropFilesTypeForResponse", + ), + ".group_1047": ( + "GistsGistIdCommentsPostBodyType", + "GistsGistIdCommentsPostBodyTypeForResponse", + ), + ".group_1048": ( + "GistsGistIdCommentsCommentIdPatchBodyType", + "GistsGistIdCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1049": ( + "GistsGistIdStarGetResponse404Type", + "GistsGistIdStarGetResponse404TypeForResponse", + ), + ".group_1050": ( + "InstallationRepositoriesGetResponse200Type", + "InstallationRepositoriesGetResponse200TypeForResponse", + ), + ".group_1051": ( + "MarkdownPostBodyType", + "MarkdownPostBodyTypeForResponse", + ), + ".group_1052": ( + "NotificationsPutBodyType", + "NotificationsPutBodyTypeForResponse", + ), + ".group_1053": ( + "NotificationsPutResponse202Type", + "NotificationsPutResponse202TypeForResponse", + ), + ".group_1054": ( + "NotificationsThreadsThreadIdSubscriptionPutBodyType", + "NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse", + ), + ".group_1055": ( + "OrganizationsOrganizationIdCustomRolesGetResponse200Type", + "OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse", + ), + ".group_1056": ( + "OrganizationsOrgDependabotRepositoryAccessPatchBodyType", + "OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse", ), - ".group_1047": ("GistsGistIdCommentsPostBodyType",), - ".group_1048": ("GistsGistIdCommentsCommentIdPatchBodyType",), - ".group_1049": ("GistsGistIdStarGetResponse404Type",), - ".group_1050": ("InstallationRepositoriesGetResponse200Type",), - ".group_1051": ("MarkdownPostBodyType",), - ".group_1052": ("NotificationsPutBodyType",), - ".group_1053": ("NotificationsPutResponse202Type",), - ".group_1054": ("NotificationsThreadsThreadIdSubscriptionPutBodyType",), - ".group_1055": ("OrganizationsOrganizationIdCustomRolesGetResponse200Type",), - ".group_1056": ("OrganizationsOrgDependabotRepositoryAccessPatchBodyType",), ".group_1057": ( "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType", + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse", + ), + ".group_1058": ( + "OrganizationsOrgOrgPropertiesValuesPatchBodyType", + "OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse", ), - ".group_1058": ("OrganizationsOrgOrgPropertiesValuesPatchBodyType",), ".group_1059": ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", ), ".group_1060": ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse", + ), + ".group_1061": ( + "OrgsOrgPatchBodyType", + "OrgsOrgPatchBodyTypeForResponse", ), - ".group_1061": ("OrgsOrgPatchBodyType",), ".group_1062": ( "OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type", + "OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse", "ActionsCacheUsageByRepositoryType", + "ActionsCacheUsageByRepositoryTypeForResponse", + ), + ".group_1063": ( + "OrgsOrgActionsHostedRunnersGetResponse200Type", + "OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse", ), - ".group_1063": ("OrgsOrgActionsHostedRunnersGetResponse200Type",), ".group_1064": ( "OrgsOrgActionsHostedRunnersPostBodyType", + "OrgsOrgActionsHostedRunnersPostBodyTypeForResponse", "OrgsOrgActionsHostedRunnersPostBodyPropImageType", + "OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse", + ), + ".group_1065": ( + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", ), - ".group_1065": ("OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type",), ".group_1066": ( "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", ), ".group_1067": ( "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", + ), + ".group_1068": ( + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", + ), + ".group_1069": ( + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type", + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", + ), + ".group_1070": ( + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type", + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse", + ), + ".group_1071": ( + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType", + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", + ), + ".group_1072": ( + "OrgsOrgActionsPermissionsPutBodyType", + "OrgsOrgActionsPermissionsPutBodyTypeForResponse", + ), + ".group_1073": ( + "OrgsOrgActionsPermissionsRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse", + ), + ".group_1074": ( + "OrgsOrgActionsPermissionsRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse", + ), + ".group_1075": ( + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", ), - ".group_1068": ("OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type",), - ".group_1069": ("OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type",), - ".group_1070": ("OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type",), - ".group_1071": ("OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType",), - ".group_1072": ("OrgsOrgActionsPermissionsPutBodyType",), - ".group_1073": ("OrgsOrgActionsPermissionsRepositoriesGetResponse200Type",), - ".group_1074": ("OrgsOrgActionsPermissionsRepositoriesPutBodyType",), - ".group_1075": ("OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType",), ".group_1076": ( "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse", ), ".group_1077": ( "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse", ), ".group_1078": ( "OrgsOrgActionsRunnerGroupsGetResponse200Type", + "OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsOrgType", + "RunnerGroupsOrgTypeForResponse", + ), + ".group_1079": ( + "OrgsOrgActionsRunnerGroupsPostBodyType", + "OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse", + ), + ".group_1080": ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", ), - ".group_1079": ("OrgsOrgActionsRunnerGroupsPostBodyType",), - ".group_1080": ("OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType",), ".group_1081": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse", ), ".group_1082": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse", ), ".group_1083": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse", ), ".group_1084": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", + ), + ".group_1085": ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", + ), + ".group_1086": ( + "OrgsOrgActionsRunnersGetResponse200Type", + "OrgsOrgActionsRunnersGetResponse200TypeForResponse", + ), + ".group_1087": ( + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyType", + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse", + ), + ".group_1088": ( + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", + ), + ".group_1089": ( + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", ), - ".group_1085": ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType",), - ".group_1086": ("OrgsOrgActionsRunnersGetResponse200Type",), - ".group_1087": ("OrgsOrgActionsRunnersGenerateJitconfigPostBodyType",), - ".group_1088": ("OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType",), - ".group_1089": ("OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType",), ".group_1090": ( "OrgsOrgActionsSecretsGetResponse200Type", + "OrgsOrgActionsSecretsGetResponse200TypeForResponse", "OrganizationActionsSecretType", + "OrganizationActionsSecretTypeForResponse", + ), + ".group_1091": ( + "OrgsOrgActionsSecretsSecretNamePutBodyType", + "OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse", ), - ".group_1091": ("OrgsOrgActionsSecretsSecretNamePutBodyType",), ".group_1092": ( "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1093": ( + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse", ), - ".group_1093": ("OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType",), ".group_1094": ( "OrgsOrgActionsVariablesGetResponse200Type", + "OrgsOrgActionsVariablesGetResponse200TypeForResponse", "OrganizationActionsVariableType", + "OrganizationActionsVariableTypeForResponse", + ), + ".group_1095": ( + "OrgsOrgActionsVariablesPostBodyType", + "OrgsOrgActionsVariablesPostBodyTypeForResponse", + ), + ".group_1096": ( + "OrgsOrgActionsVariablesNamePatchBodyType", + "OrgsOrgActionsVariablesNamePatchBodyTypeForResponse", + ), + ".group_1097": ( + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type", + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1098": ( + "OrgsOrgActionsVariablesNameRepositoriesPutBodyType", + "OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse", + ), + ".group_1099": ( + "OrgsOrgArtifactsMetadataStorageRecordPostBodyType", + "OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse", ), - ".group_1095": ("OrgsOrgActionsVariablesPostBodyType",), - ".group_1096": ("OrgsOrgActionsVariablesNamePatchBodyType",), - ".group_1097": ("OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type",), - ".group_1098": ("OrgsOrgActionsVariablesNameRepositoriesPutBodyType",), - ".group_1099": ("OrgsOrgArtifactsMetadataStorageRecordPostBodyType",), ".group_1100": ( "OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse", "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse", ), ".group_1101": ( "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse", "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse", + ), + ".group_1102": ( + "OrgsOrgAttestationsBulkListPostBodyType", + "OrgsOrgAttestationsBulkListPostBodyTypeForResponse", ), - ".group_1102": ("OrgsOrgAttestationsBulkListPostBodyType",), ".group_1103": ( "OrgsOrgAttestationsBulkListPostResponse200Type", + "OrgsOrgAttestationsBulkListPostResponse200TypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType", + "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", + ), + ".group_1104": ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse", + ), + ".group_1105": ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse", + ), + ".group_1106": ( + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsType", + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse", ), - ".group_1104": ("OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type",), - ".group_1105": ("OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type",), - ".group_1106": ("OrgsOrgAttestationsRepositoriesGetResponse200ItemsType",), ".group_1107": ( "OrgsOrgAttestationsSubjectDigestGetResponse200Type", + "OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1108": ( + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType", + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse", + ), + ".group_1109": ( + "OrgsOrgCampaignsPostBodyOneof0Type", + "OrgsOrgCampaignsPostBodyOneof0TypeForResponse", + ), + ".group_1110": ( + "OrgsOrgCampaignsPostBodyOneof1Type", + "OrgsOrgCampaignsPostBodyOneof1TypeForResponse", + ), + ".group_1111": ( + "OrgsOrgCampaignsCampaignNumberPatchBodyType", + "OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse", ), - ".group_1108": ("OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType",), - ".group_1109": ("OrgsOrgCampaignsPostBodyOneof0Type",), - ".group_1110": ("OrgsOrgCampaignsPostBodyOneof1Type",), - ".group_1111": ("OrgsOrgCampaignsCampaignNumberPatchBodyType",), ".group_1112": ( "OrgsOrgCodeSecurityConfigurationsPostBodyType", + "OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", + ), + ".group_1113": ( + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType", + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse", ), - ".group_1113": ("OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType",), ".group_1114": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", ), ".group_1115": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ), ".group_1116": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ), ".group_1117": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", + ), + ".group_1118": ( + "OrgsOrgCodespacesGetResponse200Type", + "OrgsOrgCodespacesGetResponse200TypeForResponse", + ), + ".group_1119": ( + "OrgsOrgCodespacesAccessPutBodyType", + "OrgsOrgCodespacesAccessPutBodyTypeForResponse", + ), + ".group_1120": ( + "OrgsOrgCodespacesAccessSelectedUsersPostBodyType", + "OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse", + ), + ".group_1121": ( + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType", + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse", ), - ".group_1118": ("OrgsOrgCodespacesGetResponse200Type",), - ".group_1119": ("OrgsOrgCodespacesAccessPutBodyType",), - ".group_1120": ("OrgsOrgCodespacesAccessSelectedUsersPostBodyType",), - ".group_1121": ("OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType",), ".group_1122": ( "OrgsOrgCodespacesSecretsGetResponse200Type", + "OrgsOrgCodespacesSecretsGetResponse200TypeForResponse", "CodespacesOrgSecretType", + "CodespacesOrgSecretTypeForResponse", + ), + ".group_1123": ( + "OrgsOrgCodespacesSecretsSecretNamePutBodyType", + "OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse", ), - ".group_1123": ("OrgsOrgCodespacesSecretsSecretNamePutBodyType",), ".group_1124": ( "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1125": ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", + ), + ".group_1126": ( + "OrgsOrgCopilotBillingSeatsGetResponse200Type", + "OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse", + ), + ".group_1127": ( + "OrgsOrgCopilotBillingSelectedTeamsPostBodyType", + "OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse", + ), + ".group_1128": ( + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type", + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse", + ), + ".group_1129": ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType", + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse", + ), + ".group_1130": ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse", + ), + ".group_1131": ( + "OrgsOrgCopilotBillingSelectedUsersPostBodyType", + "OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse", + ), + ".group_1132": ( + "OrgsOrgCopilotBillingSelectedUsersPostResponse201Type", + "OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse", + ), + ".group_1133": ( + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyType", + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse", + ), + ".group_1134": ( + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", + ), + ".group_1135": ( + "OrgsOrgCustomRepositoryRolesGetResponse200Type", + "OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse", ), - ".group_1125": ("OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType",), - ".group_1126": ("OrgsOrgCopilotBillingSeatsGetResponse200Type",), - ".group_1127": ("OrgsOrgCopilotBillingSelectedTeamsPostBodyType",), - ".group_1128": ("OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type",), - ".group_1129": ("OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType",), - ".group_1130": ("OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type",), - ".group_1131": ("OrgsOrgCopilotBillingSelectedUsersPostBodyType",), - ".group_1132": ("OrgsOrgCopilotBillingSelectedUsersPostResponse201Type",), - ".group_1133": ("OrgsOrgCopilotBillingSelectedUsersDeleteBodyType",), - ".group_1134": ("OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type",), - ".group_1135": ("OrgsOrgCustomRepositoryRolesGetResponse200Type",), ".group_1136": ( "OrgsOrgDependabotSecretsGetResponse200Type", + "OrgsOrgDependabotSecretsGetResponse200TypeForResponse", "OrganizationDependabotSecretType", + "OrganizationDependabotSecretTypeForResponse", + ), + ".group_1137": ( + "OrgsOrgDependabotSecretsSecretNamePutBodyType", + "OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse", ), - ".group_1137": ("OrgsOrgDependabotSecretsSecretNamePutBodyType",), ".group_1138": ( "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1139": ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse", ), - ".group_1139": ("OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType",), ".group_1140": ( "OrgsOrgHooksPostBodyType", + "OrgsOrgHooksPostBodyTypeForResponse", "OrgsOrgHooksPostBodyPropConfigType", + "OrgsOrgHooksPostBodyPropConfigTypeForResponse", ), ".group_1141": ( "OrgsOrgHooksHookIdPatchBodyType", + "OrgsOrgHooksHookIdPatchBodyTypeForResponse", "OrgsOrgHooksHookIdPatchBodyPropConfigType", + "OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse", + ), + ".group_1142": ( + "OrgsOrgHooksHookIdConfigPatchBodyType", + "OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse", + ), + ".group_1143": ( + "OrgsOrgInstallationsGetResponse200Type", + "OrgsOrgInstallationsGetResponse200TypeForResponse", + ), + ".group_1144": ( + "OrgsOrgInteractionLimitsGetResponse200Anyof1Type", + "OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_1145": ( + "OrgsOrgInvitationsPostBodyType", + "OrgsOrgInvitationsPostBodyTypeForResponse", + ), + ".group_1146": ( + "OrgsOrgMembersUsernameCodespacesGetResponse200Type", + "OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse", + ), + ".group_1147": ( + "OrgsOrgMembershipsUsernamePutBodyType", + "OrgsOrgMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_1148": ( + "OrgsOrgMigrationsPostBodyType", + "OrgsOrgMigrationsPostBodyTypeForResponse", + ), + ".group_1149": ( + "OrgsOrgOutsideCollaboratorsUsernamePutBodyType", + "OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_1150": ( + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type", + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse", + ), + ".group_1151": ( + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type", + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse", + ), + ".group_1152": ( + "OrgsOrgPersonalAccessTokenRequestsPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse", + ), + ".group_1153": ( + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse", + ), + ".group_1154": ( + "OrgsOrgPersonalAccessTokensPostBodyType", + "OrgsOrgPersonalAccessTokensPostBodyTypeForResponse", + ), + ".group_1155": ( + "OrgsOrgPersonalAccessTokensPatIdPostBodyType", + "OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse", ), - ".group_1142": ("OrgsOrgHooksHookIdConfigPatchBodyType",), - ".group_1143": ("OrgsOrgInstallationsGetResponse200Type",), - ".group_1144": ("OrgsOrgInteractionLimitsGetResponse200Anyof1Type",), - ".group_1145": ("OrgsOrgInvitationsPostBodyType",), - ".group_1146": ("OrgsOrgMembersUsernameCodespacesGetResponse200Type",), - ".group_1147": ("OrgsOrgMembershipsUsernamePutBodyType",), - ".group_1148": ("OrgsOrgMigrationsPostBodyType",), - ".group_1149": ("OrgsOrgOutsideCollaboratorsUsernamePutBodyType",), - ".group_1150": ("OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type",), - ".group_1151": ("OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type",), - ".group_1152": ("OrgsOrgPersonalAccessTokenRequestsPostBodyType",), - ".group_1153": ("OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType",), - ".group_1154": ("OrgsOrgPersonalAccessTokensPostBodyType",), - ".group_1155": ("OrgsOrgPersonalAccessTokensPatIdPostBodyType",), ".group_1156": ( "OrgsOrgPrivateRegistriesGetResponse200Type", + "OrgsOrgPrivateRegistriesGetResponse200TypeForResponse", "OrgPrivateRegistryConfigurationType", + "OrgPrivateRegistryConfigurationTypeForResponse", + ), + ".group_1157": ( + "OrgsOrgPrivateRegistriesPostBodyType", + "OrgsOrgPrivateRegistriesPostBodyTypeForResponse", + ), + ".group_1158": ( + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type", + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse", + ), + ".group_1159": ( + "OrgsOrgPrivateRegistriesSecretNamePatchBodyType", + "OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse", + ), + ".group_1160": ( + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse", + ), + ".group_1161": ( + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse", ), - ".group_1157": ("OrgsOrgPrivateRegistriesPostBodyType",), - ".group_1158": ("OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type",), - ".group_1159": ("OrgsOrgPrivateRegistriesSecretNamePatchBodyType",), - ".group_1160": ("OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType",), - ".group_1161": ("OrgsOrgProjectsV2ProjectNumberItemsPostBodyType",), ".group_1162": ( "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", + ), + ".group_1163": ( + "OrgsOrgPropertiesSchemaPatchBodyType", + "OrgsOrgPropertiesSchemaPatchBodyTypeForResponse", + ), + ".group_1164": ( + "OrgsOrgPropertiesValuesPatchBodyType", + "OrgsOrgPropertiesValuesPatchBodyTypeForResponse", ), - ".group_1163": ("OrgsOrgPropertiesSchemaPatchBodyType",), - ".group_1164": ("OrgsOrgPropertiesValuesPatchBodyType",), ".group_1165": ( "OrgsOrgReposPostBodyType", + "OrgsOrgReposPostBodyTypeForResponse", "OrgsOrgReposPostBodyPropCustomPropertiesType", + "OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse", + ), + ".group_1166": ( + "OrgsOrgRulesetsPostBodyType", + "OrgsOrgRulesetsPostBodyTypeForResponse", + ), + ".group_1167": ( + "OrgsOrgRulesetsRulesetIdPutBodyType", + "OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse", ), - ".group_1166": ("OrgsOrgRulesetsPostBodyType",), - ".group_1167": ("OrgsOrgRulesetsRulesetIdPutBodyType",), ".group_1168": ( "OrgsOrgSecretScanningPatternConfigurationsPatchBodyType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", ), ".group_1169": ( "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type", + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", + ), + ".group_1170": ( + "OrgsOrgSettingsImmutableReleasesPutBodyType", + "OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse", ), - ".group_1170": ("OrgsOrgSettingsImmutableReleasesPutBodyType",), ".group_1171": ( "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type", + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse", + ), + ".group_1172": ( + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType", + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse", + ), + ".group_1173": ( + "OrgsOrgSettingsNetworkConfigurationsGetResponse200Type", + "OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse", + ), + ".group_1174": ( + "OrgsOrgSettingsNetworkConfigurationsPostBodyType", + "OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse", ), - ".group_1172": ("OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType",), - ".group_1173": ("OrgsOrgSettingsNetworkConfigurationsGetResponse200Type",), - ".group_1174": ("OrgsOrgSettingsNetworkConfigurationsPostBodyType",), ".group_1175": ( "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", + ), + ".group_1176": ( + "OrgsOrgTeamsPostBodyType", + "OrgsOrgTeamsPostBodyTypeForResponse", + ), + ".group_1177": ( + "OrgsOrgTeamsTeamSlugPatchBodyType", + "OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse", + ), + ".group_1178": ( + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse", ), - ".group_1176": ("OrgsOrgTeamsPostBodyType",), - ".group_1177": ("OrgsOrgTeamsTeamSlugPatchBodyType",), - ".group_1178": ("OrgsOrgTeamsTeamSlugDiscussionsPostBodyType",), ".group_1179": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse", ), ".group_1180": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", ), ".group_1181": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ), ".group_1182": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ), ".group_1183": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", + ), + ".group_1184": ( + "OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType", + "OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyTypeForResponse", + ), + ".group_1185": ( + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType", + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_1186": ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse", + ), + ".group_1187": ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse", + ), + ".group_1188": ( + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType", + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse", ), - ".group_1184": ("OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType",), - ".group_1185": ("OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType",), - ".group_1186": ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType",), - ".group_1187": ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type",), - ".group_1188": ("OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType",), ".group_1189": ( "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType", + "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyTypeForResponse", "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType", + "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse", + ), + ".group_1190": ( + "OrgsOrgSecurityProductEnablementPostBodyType", + "OrgsOrgSecurityProductEnablementPostBodyTypeForResponse", + ), + ".group_1191": ( + "ProjectsColumnsCardsCardIdDeleteResponse403Type", + "ProjectsColumnsCardsCardIdDeleteResponse403TypeForResponse", + ), + ".group_1192": ( + "ProjectsColumnsCardsCardIdPatchBodyType", + "ProjectsColumnsCardsCardIdPatchBodyTypeForResponse", + ), + ".group_1193": ( + "ProjectsColumnsCardsCardIdMovesPostBodyType", + "ProjectsColumnsCardsCardIdMovesPostBodyTypeForResponse", + ), + ".group_1194": ( + "ProjectsColumnsCardsCardIdMovesPostResponse201Type", + "ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse", ), - ".group_1190": ("OrgsOrgSecurityProductEnablementPostBodyType",), - ".group_1191": ("ProjectsColumnsCardsCardIdDeleteResponse403Type",), - ".group_1192": ("ProjectsColumnsCardsCardIdPatchBodyType",), - ".group_1193": ("ProjectsColumnsCardsCardIdMovesPostBodyType",), - ".group_1194": ("ProjectsColumnsCardsCardIdMovesPostResponse201Type",), ".group_1195": ( "ProjectsColumnsCardsCardIdMovesPostResponse403Type", + "ProjectsColumnsCardsCardIdMovesPostResponse403TypeForResponse", "ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType", + "ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse", ), ".group_1196": ( "ProjectsColumnsCardsCardIdMovesPostResponse503Type", + "ProjectsColumnsCardsCardIdMovesPostResponse503TypeForResponse", "ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType", + "ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse", + ), + ".group_1197": ( + "ProjectsColumnsColumnIdPatchBodyType", + "ProjectsColumnsColumnIdPatchBodyTypeForResponse", + ), + ".group_1198": ( + "ProjectsColumnsColumnIdCardsPostBodyOneof0Type", + "ProjectsColumnsColumnIdCardsPostBodyOneof0TypeForResponse", + ), + ".group_1199": ( + "ProjectsColumnsColumnIdCardsPostBodyOneof1Type", + "ProjectsColumnsColumnIdCardsPostBodyOneof1TypeForResponse", ), - ".group_1197": ("ProjectsColumnsColumnIdPatchBodyType",), - ".group_1198": ("ProjectsColumnsColumnIdCardsPostBodyOneof0Type",), - ".group_1199": ("ProjectsColumnsColumnIdCardsPostBodyOneof1Type",), ".group_1200": ( "ProjectsColumnsColumnIdCardsPostResponse503Type", + "ProjectsColumnsColumnIdCardsPostResponse503TypeForResponse", "ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType", + "ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse", + ), + ".group_1201": ( + "ProjectsColumnsColumnIdMovesPostBodyType", + "ProjectsColumnsColumnIdMovesPostBodyTypeForResponse", + ), + ".group_1202": ( + "ProjectsColumnsColumnIdMovesPostResponse201Type", + "ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse", + ), + ".group_1203": ( + "ProjectsProjectIdCollaboratorsUsernamePutBodyType", + "ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_1204": ( + "ReposOwnerRepoDeleteResponse403Type", + "ReposOwnerRepoDeleteResponse403TypeForResponse", ), - ".group_1201": ("ProjectsColumnsColumnIdMovesPostBodyType",), - ".group_1202": ("ProjectsColumnsColumnIdMovesPostResponse201Type",), - ".group_1203": ("ProjectsProjectIdCollaboratorsUsernamePutBodyType",), - ".group_1204": ("ReposOwnerRepoDeleteResponse403Type",), ".group_1205": ( "ReposOwnerRepoPatchBodyType", + "ReposOwnerRepoPatchBodyTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse", + ), + ".group_1206": ( + "ReposOwnerRepoActionsArtifactsGetResponse200Type", + "ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse", + ), + ".group_1207": ( + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyType", + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse", + ), + ".group_1208": ( + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyType", + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse", + ), + ".group_1209": ( + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type", + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse", ), - ".group_1206": ("ReposOwnerRepoActionsArtifactsGetResponse200Type",), - ".group_1207": ("ReposOwnerRepoActionsJobsJobIdRerunPostBodyType",), - ".group_1208": ("ReposOwnerRepoActionsOidcCustomizationSubPutBodyType",), - ".group_1209": ("ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type",), ".group_1210": ( "ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type", + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse", + ), + ".group_1211": ( + "ReposOwnerRepoActionsPermissionsPutBodyType", + "ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse", + ), + ".group_1212": ( + "ReposOwnerRepoActionsRunnersGetResponse200Type", + "ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse", + ), + ".group_1213": ( + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType", + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse", + ), + ".group_1214": ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", + ), + ".group_1215": ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", + ), + ".group_1216": ( + "ReposOwnerRepoActionsRunsGetResponse200Type", + "ReposOwnerRepoActionsRunsGetResponse200TypeForResponse", + ), + ".group_1217": ( + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse", ), - ".group_1211": ("ReposOwnerRepoActionsPermissionsPutBodyType",), - ".group_1212": ("ReposOwnerRepoActionsRunnersGetResponse200Type",), - ".group_1213": ("ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType",), - ".group_1214": ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType",), - ".group_1215": ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType",), - ".group_1216": ("ReposOwnerRepoActionsRunsGetResponse200Type",), - ".group_1217": ("ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type",), ".group_1218": ( "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse", + ), + ".group_1219": ( + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse", ), - ".group_1219": ("ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type",), ".group_1220": ( "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse", + ), + ".group_1221": ( + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse", + ), + ".group_1222": ( + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse", + ), + ".group_1223": ( + "ReposOwnerRepoActionsSecretsGetResponse200Type", + "ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse", + ), + ".group_1224": ( + "ReposOwnerRepoActionsSecretsSecretNamePutBodyType", + "ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1225": ( + "ReposOwnerRepoActionsVariablesGetResponse200Type", + "ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse", + ), + ".group_1226": ( + "ReposOwnerRepoActionsVariablesPostBodyType", + "ReposOwnerRepoActionsVariablesPostBodyTypeForResponse", + ), + ".group_1227": ( + "ReposOwnerRepoActionsVariablesNamePatchBodyType", + "ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse", ), - ".group_1221": ("ReposOwnerRepoActionsRunsRunIdRerunPostBodyType",), - ".group_1222": ("ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType",), - ".group_1223": ("ReposOwnerRepoActionsSecretsGetResponse200Type",), - ".group_1224": ("ReposOwnerRepoActionsSecretsSecretNamePutBodyType",), - ".group_1225": ("ReposOwnerRepoActionsVariablesGetResponse200Type",), - ".group_1226": ("ReposOwnerRepoActionsVariablesPostBodyType",), - ".group_1227": ("ReposOwnerRepoActionsVariablesNamePatchBodyType",), ".group_1228": ( "ReposOwnerRepoActionsWorkflowsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse", "WorkflowType", + "WorkflowTypeForResponse", ), ".group_1229": ( "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse", "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse", ), ".group_1230": ( "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse", ), ".group_1231": ( "ReposOwnerRepoAttestationsPostBodyType", + "ReposOwnerRepoAttestationsPostBodyTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundleType", + "ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1232": ( + "ReposOwnerRepoAttestationsPostResponse201Type", + "ReposOwnerRepoAttestationsPostResponse201TypeForResponse", ), - ".group_1232": ("ReposOwnerRepoAttestationsPostResponse201Type",), ".group_1233": ( "ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1234": ( + "ReposOwnerRepoAutolinksPostBodyType", + "ReposOwnerRepoAutolinksPostBodyTypeForResponse", ), - ".group_1234": ("ReposOwnerRepoAutolinksPostBodyType",), ".group_1235": ( "ReposOwnerRepoBranchesBranchProtectionPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse", ), ".group_1236": ( "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse", ), ".group_1237": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse", ), ".group_1238": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse", ), ".group_1239": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse", ), ".group_1240": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse", ), ".group_1241": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse", ), ".group_1242": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse", ), ".group_1243": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse", ), ".group_1244": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse", ), ".group_1245": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse", ), ".group_1246": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse", ), ".group_1247": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse", ), ".group_1248": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse", ), ".group_1249": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse", + ), + ".group_1250": ( + "ReposOwnerRepoBranchesBranchRenamePostBodyType", + "ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse", ), - ".group_1250": ("ReposOwnerRepoBranchesBranchRenamePostBodyType",), ".group_1251": ( "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType", + "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyTypeForResponse", ), ".group_1252": ( "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type", + "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse", ), ".group_1253": ( "ReposOwnerRepoCheckRunsPostBodyPropOutputType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse", + ), + ".group_1254": ( + "ReposOwnerRepoCheckRunsPostBodyOneof0Type", + "ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse", + ), + ".group_1255": ( + "ReposOwnerRepoCheckRunsPostBodyOneof1Type", + "ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse", ), - ".group_1254": ("ReposOwnerRepoCheckRunsPostBodyOneof0Type",), - ".group_1255": ("ReposOwnerRepoCheckRunsPostBodyOneof1Type",), ".group_1256": ( "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse", + ), + ".group_1257": ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse", + ), + ".group_1258": ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse", + ), + ".group_1259": ( + "ReposOwnerRepoCheckSuitesPostBodyType", + "ReposOwnerRepoCheckSuitesPostBodyTypeForResponse", ), - ".group_1257": ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type",), - ".group_1258": ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type",), - ".group_1259": ("ReposOwnerRepoCheckSuitesPostBodyType",), ".group_1260": ( "ReposOwnerRepoCheckSuitesPreferencesPatchBodyType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse", "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse", ), ".group_1261": ( "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type", + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse", + ), + ".group_1262": ( + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse", ), - ".group_1262": ("ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType",), ".group_1263": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse", ), ".group_1264": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse", ), ".group_1265": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse", + ), + ".group_1266": ( + "ReposOwnerRepoCodeScanningSarifsPostBodyType", + "ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse", + ), + ".group_1267": ( + "ReposOwnerRepoCodespacesGetResponse200Type", + "ReposOwnerRepoCodespacesGetResponse200TypeForResponse", + ), + ".group_1268": ( + "ReposOwnerRepoCodespacesPostBodyType", + "ReposOwnerRepoCodespacesPostBodyTypeForResponse", ), - ".group_1266": ("ReposOwnerRepoCodeScanningSarifsPostBodyType",), - ".group_1267": ("ReposOwnerRepoCodespacesGetResponse200Type",), - ".group_1268": ("ReposOwnerRepoCodespacesPostBodyType",), ".group_1269": ( "ReposOwnerRepoCodespacesDevcontainersGetResponse200Type", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse", "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse", + ), + ".group_1270": ( + "ReposOwnerRepoCodespacesMachinesGetResponse200Type", + "ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse", ), - ".group_1270": ("ReposOwnerRepoCodespacesMachinesGetResponse200Type",), ".group_1271": ( "ReposOwnerRepoCodespacesNewGetResponse200Type", + "ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse", "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType", + "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse", ), ".group_1272": ( "ReposOwnerRepoCodespacesSecretsGetResponse200Type", + "ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse", "RepoCodespacesSecretType", + "RepoCodespacesSecretTypeForResponse", + ), + ".group_1273": ( + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType", + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1274": ( + "ReposOwnerRepoCollaboratorsUsernamePutBodyType", + "ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_1275": ( + "ReposOwnerRepoCommentsCommentIdPatchBodyType", + "ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1276": ( + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse", + ), + ".group_1277": ( + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyType", + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse", + ), + ".group_1278": ( + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse", ), - ".group_1273": ("ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType",), - ".group_1274": ("ReposOwnerRepoCollaboratorsUsernamePutBodyType",), - ".group_1275": ("ReposOwnerRepoCommentsCommentIdPatchBodyType",), - ".group_1276": ("ReposOwnerRepoCommentsCommentIdReactionsPostBodyType",), - ".group_1277": ("ReposOwnerRepoCommitsCommitShaCommentsPostBodyType",), - ".group_1278": ("ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type",), ".group_1279": ( "ReposOwnerRepoContentsPathPutBodyType", + "ReposOwnerRepoContentsPathPutBodyTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropCommitterType", + "ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropAuthorType", + "ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse", ), ".group_1280": ( "ReposOwnerRepoContentsPathDeleteBodyType", + "ReposOwnerRepoContentsPathDeleteBodyTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropCommitterType", + "ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropAuthorType", + "ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse", + ), + ".group_1281": ( + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse", ), - ".group_1281": ("ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType",), ".group_1282": ( "ReposOwnerRepoDependabotSecretsGetResponse200Type", + "ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse", "DependabotSecretType", + "DependabotSecretTypeForResponse", + ), + ".group_1283": ( + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyType", + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1284": ( + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type", + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse", ), - ".group_1283": ("ReposOwnerRepoDependabotSecretsSecretNamePutBodyType",), - ".group_1284": ("ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type",), ".group_1285": ( "ReposOwnerRepoDeploymentsPostBodyType", + "ReposOwnerRepoDeploymentsPostBodyTypeForResponse", "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type", + "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse", + ), + ".group_1286": ( + "ReposOwnerRepoDeploymentsPostResponse202Type", + "ReposOwnerRepoDeploymentsPostResponse202TypeForResponse", + ), + ".group_1287": ( + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType", + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse", ), - ".group_1286": ("ReposOwnerRepoDeploymentsPostResponse202Type",), - ".group_1287": ("ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType",), ".group_1288": ( "ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType", + "ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyTypeForResponse", ), ".group_1289": ( "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType", + "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyTypeForResponse", ), ".group_1290": ( "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type", + "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse", ), ".group_1291": ( "ReposOwnerRepoDispatchesPostBodyType", + "ReposOwnerRepoDispatchesPostBodyTypeForResponse", "ReposOwnerRepoDispatchesPostBodyPropClientPayloadType", + "ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse", ), ".group_1292": ( "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse", ), ".group_1293": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse", "DeploymentBranchPolicyType", + "DeploymentBranchPolicyTypeForResponse", ), ".group_1294": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse", ), ".group_1295": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse", ), ".group_1296": ( "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse", ), ".group_1297": ( "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse", ), ".group_1298": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse", ), ".group_1299": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse", ), ".group_1300": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse", + ), + ".group_1301": ( + "ReposOwnerRepoForksPostBodyType", + "ReposOwnerRepoForksPostBodyTypeForResponse", + ), + ".group_1302": ( + "ReposOwnerRepoGitBlobsPostBodyType", + "ReposOwnerRepoGitBlobsPostBodyTypeForResponse", ), - ".group_1301": ("ReposOwnerRepoForksPostBodyType",), - ".group_1302": ("ReposOwnerRepoGitBlobsPostBodyType",), ".group_1303": ( "ReposOwnerRepoGitCommitsPostBodyType", + "ReposOwnerRepoGitCommitsPostBodyTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropAuthorType", + "ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropCommitterType", + "ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse", + ), + ".group_1304": ( + "ReposOwnerRepoGitRefsPostBodyType", + "ReposOwnerRepoGitRefsPostBodyTypeForResponse", + ), + ".group_1305": ( + "ReposOwnerRepoGitRefsRefPatchBodyType", + "ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse", ), - ".group_1304": ("ReposOwnerRepoGitRefsPostBodyType",), - ".group_1305": ("ReposOwnerRepoGitRefsRefPatchBodyType",), ".group_1306": ( "ReposOwnerRepoGitTagsPostBodyType", + "ReposOwnerRepoGitTagsPostBodyTypeForResponse", "ReposOwnerRepoGitTagsPostBodyPropTaggerType", + "ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse", ), ".group_1307": ( "ReposOwnerRepoGitTreesPostBodyType", + "ReposOwnerRepoGitTreesPostBodyTypeForResponse", "ReposOwnerRepoGitTreesPostBodyPropTreeItemsType", + "ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse", ), ".group_1308": ( "ReposOwnerRepoHooksPostBodyType", + "ReposOwnerRepoHooksPostBodyTypeForResponse", "ReposOwnerRepoHooksPostBodyPropConfigType", + "ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse", + ), + ".group_1309": ( + "ReposOwnerRepoHooksHookIdPatchBodyType", + "ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse", + ), + ".group_1310": ( + "ReposOwnerRepoHooksHookIdConfigPatchBodyType", + "ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse", + ), + ".group_1311": ( + "ReposOwnerRepoImportPutBodyType", + "ReposOwnerRepoImportPutBodyTypeForResponse", + ), + ".group_1312": ( + "ReposOwnerRepoImportPatchBodyType", + "ReposOwnerRepoImportPatchBodyTypeForResponse", + ), + ".group_1313": ( + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType", + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse", + ), + ".group_1314": ( + "ReposOwnerRepoImportLfsPatchBodyType", + "ReposOwnerRepoImportLfsPatchBodyTypeForResponse", + ), + ".group_1315": ( + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type", + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_1316": ( + "ReposOwnerRepoInvitationsInvitationIdPatchBodyType", + "ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse", ), - ".group_1309": ("ReposOwnerRepoHooksHookIdPatchBodyType",), - ".group_1310": ("ReposOwnerRepoHooksHookIdConfigPatchBodyType",), - ".group_1311": ("ReposOwnerRepoImportPutBodyType",), - ".group_1312": ("ReposOwnerRepoImportPatchBodyType",), - ".group_1313": ("ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType",), - ".group_1314": ("ReposOwnerRepoImportLfsPatchBodyType",), - ".group_1315": ("ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type",), - ".group_1316": ("ReposOwnerRepoInvitationsInvitationIdPatchBodyType",), ".group_1317": ( "ReposOwnerRepoIssuesPostBodyType", + "ReposOwnerRepoIssuesPostBodyTypeForResponse", "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse", + ), + ".group_1318": ( + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1319": ( + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse", ), - ".group_1318": ("ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType",), - ".group_1319": ("ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType",), ".group_1320": ( "ReposOwnerRepoIssuesIssueNumberPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse", "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse", + ), + ".group_1321": ( + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse", + ), + ".group_1322": ( + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse", + ), + ".group_1323": ( + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse", ), - ".group_1321": ("ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType",), - ".group_1322": ("ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType",), - ".group_1323": ("ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType",), ".group_1324": ( "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType", + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse", + ), + ".group_1325": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse", ), - ".group_1325": ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type",), ".group_1326": ( "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse", + ), + ".group_1327": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse", + ), + ".group_1328": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse", ), - ".group_1327": ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType",), - ".group_1328": ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type",), ".group_1329": ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse", ), ".group_1330": ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse", + ), + ".group_1331": ( + "ReposOwnerRepoIssuesIssueNumberLockPutBodyType", + "ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse", + ), + ".group_1332": ( + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse", + ), + ".group_1333": ( + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse", + ), + ".group_1334": ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse", ), - ".group_1331": ("ReposOwnerRepoIssuesIssueNumberLockPutBodyType",), - ".group_1332": ("ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType",), - ".group_1333": ("ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType",), - ".group_1334": ("ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType",), ".group_1335": ( "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse", + ), + ".group_1336": ( + "ReposOwnerRepoKeysPostBodyType", + "ReposOwnerRepoKeysPostBodyTypeForResponse", + ), + ".group_1337": ( + "ReposOwnerRepoLabelsPostBodyType", + "ReposOwnerRepoLabelsPostBodyTypeForResponse", + ), + ".group_1338": ( + "ReposOwnerRepoLabelsNamePatchBodyType", + "ReposOwnerRepoLabelsNamePatchBodyTypeForResponse", + ), + ".group_1339": ( + "ReposOwnerRepoMergeUpstreamPostBodyType", + "ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse", + ), + ".group_1340": ( + "ReposOwnerRepoMergesPostBodyType", + "ReposOwnerRepoMergesPostBodyTypeForResponse", + ), + ".group_1341": ( + "ReposOwnerRepoMilestonesPostBodyType", + "ReposOwnerRepoMilestonesPostBodyTypeForResponse", + ), + ".group_1342": ( + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType", + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse", + ), + ".group_1343": ( + "ReposOwnerRepoNotificationsPutBodyType", + "ReposOwnerRepoNotificationsPutBodyTypeForResponse", + ), + ".group_1344": ( + "ReposOwnerRepoNotificationsPutResponse202Type", + "ReposOwnerRepoNotificationsPutResponse202TypeForResponse", + ), + ".group_1345": ( + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type", + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse", + ), + ".group_1346": ( + "ReposOwnerRepoPagesPutBodyAnyof0Type", + "ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse", + ), + ".group_1347": ( + "ReposOwnerRepoPagesPutBodyAnyof1Type", + "ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse", + ), + ".group_1348": ( + "ReposOwnerRepoPagesPutBodyAnyof2Type", + "ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse", + ), + ".group_1349": ( + "ReposOwnerRepoPagesPutBodyAnyof3Type", + "ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse", + ), + ".group_1350": ( + "ReposOwnerRepoPagesPutBodyAnyof4Type", + "ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse", + ), + ".group_1351": ( + "ReposOwnerRepoPagesPostBodyPropSourceType", + "ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse", + ), + ".group_1352": ( + "ReposOwnerRepoPagesPostBodyAnyof0Type", + "ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse", + ), + ".group_1353": ( + "ReposOwnerRepoPagesPostBodyAnyof1Type", + "ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse", + ), + ".group_1354": ( + "ReposOwnerRepoPagesDeploymentsPostBodyType", + "ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse", ), - ".group_1336": ("ReposOwnerRepoKeysPostBodyType",), - ".group_1337": ("ReposOwnerRepoLabelsPostBodyType",), - ".group_1338": ("ReposOwnerRepoLabelsNamePatchBodyType",), - ".group_1339": ("ReposOwnerRepoMergeUpstreamPostBodyType",), - ".group_1340": ("ReposOwnerRepoMergesPostBodyType",), - ".group_1341": ("ReposOwnerRepoMilestonesPostBodyType",), - ".group_1342": ("ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType",), - ".group_1343": ("ReposOwnerRepoNotificationsPutBodyType",), - ".group_1344": ("ReposOwnerRepoNotificationsPutResponse202Type",), - ".group_1345": ("ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type",), - ".group_1346": ("ReposOwnerRepoPagesPutBodyAnyof0Type",), - ".group_1347": ("ReposOwnerRepoPagesPutBodyAnyof1Type",), - ".group_1348": ("ReposOwnerRepoPagesPutBodyAnyof2Type",), - ".group_1349": ("ReposOwnerRepoPagesPutBodyAnyof3Type",), - ".group_1350": ("ReposOwnerRepoPagesPutBodyAnyof4Type",), - ".group_1351": ("ReposOwnerRepoPagesPostBodyPropSourceType",), - ".group_1352": ("ReposOwnerRepoPagesPostBodyAnyof0Type",), - ".group_1353": ("ReposOwnerRepoPagesPostBodyAnyof1Type",), - ".group_1354": ("ReposOwnerRepoPagesDeploymentsPostBodyType",), ".group_1355": ( "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type", + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse", + ), + ".group_1356": ( + "ReposOwnerRepoPropertiesValuesPatchBodyType", + "ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse", + ), + ".group_1357": ( + "ReposOwnerRepoPullsPostBodyType", + "ReposOwnerRepoPullsPostBodyTypeForResponse", + ), + ".group_1358": ( + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyType", + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1359": ( + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse", + ), + ".group_1360": ( + "ReposOwnerRepoPullsPullNumberPatchBodyType", + "ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse", + ), + ".group_1361": ( + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyType", + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse", + ), + ".group_1362": ( + "ReposOwnerRepoPullsPullNumberCommentsPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse", ), - ".group_1356": ("ReposOwnerRepoPropertiesValuesPatchBodyType",), - ".group_1357": ("ReposOwnerRepoPullsPostBodyType",), - ".group_1358": ("ReposOwnerRepoPullsCommentsCommentIdPatchBodyType",), - ".group_1359": ("ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType",), - ".group_1360": ("ReposOwnerRepoPullsPullNumberPatchBodyType",), - ".group_1361": ("ReposOwnerRepoPullsPullNumberCodespacesPostBodyType",), - ".group_1362": ("ReposOwnerRepoPullsPullNumberCommentsPostBodyType",), ".group_1363": ( "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse", + ), + ".group_1364": ( + "ReposOwnerRepoPullsPullNumberMergePutBodyType", + "ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse", + ), + ".group_1365": ( + "ReposOwnerRepoPullsPullNumberMergePutResponse405Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse", + ), + ".group_1366": ( + "ReposOwnerRepoPullsPullNumberMergePutResponse409Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse", ), - ".group_1364": ("ReposOwnerRepoPullsPullNumberMergePutBodyType",), - ".group_1365": ("ReposOwnerRepoPullsPullNumberMergePutResponse405Type",), - ".group_1366": ("ReposOwnerRepoPullsPullNumberMergePutResponse409Type",), ".group_1367": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse", ), ".group_1368": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse", ), ".group_1369": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType", + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse", ), ".group_1370": ( "ReposOwnerRepoPullsPullNumberReviewsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse", "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse", + ), + ".group_1371": ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse", ), - ".group_1371": ("ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType",), ".group_1372": ( "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse", ), ".group_1373": ( "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse", + ), + ".group_1374": ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse", + ), + ".group_1375": ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse", + ), + ".group_1376": ( + "ReposOwnerRepoReleasesPostBodyType", + "ReposOwnerRepoReleasesPostBodyTypeForResponse", + ), + ".group_1377": ( + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType", + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse", + ), + ".group_1378": ( + "ReposOwnerRepoReleasesGenerateNotesPostBodyType", + "ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse", + ), + ".group_1379": ( + "ReposOwnerRepoReleasesReleaseIdPatchBodyType", + "ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse", + ), + ".group_1380": ( + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType", + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse", + ), + ".group_1381": ( + "ReposOwnerRepoRulesetsPostBodyType", + "ReposOwnerRepoRulesetsPostBodyTypeForResponse", + ), + ".group_1382": ( + "ReposOwnerRepoRulesetsRulesetIdPutBodyType", + "ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse", ), - ".group_1374": ("ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType",), - ".group_1375": ("ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type",), - ".group_1376": ("ReposOwnerRepoReleasesPostBodyType",), - ".group_1377": ("ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType",), - ".group_1378": ("ReposOwnerRepoReleasesGenerateNotesPostBodyType",), - ".group_1379": ("ReposOwnerRepoReleasesReleaseIdPatchBodyType",), - ".group_1380": ("ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType",), - ".group_1381": ("ReposOwnerRepoRulesetsPostBodyType",), - ".group_1382": ("ReposOwnerRepoRulesetsRulesetIdPutBodyType",), ".group_1383": ( "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type", + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse", ), ".group_1384": ( "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType", + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse", + ), + ".group_1385": ( + "ReposOwnerRepoStatusesShaPostBodyType", + "ReposOwnerRepoStatusesShaPostBodyTypeForResponse", + ), + ".group_1386": ( + "ReposOwnerRepoSubscriptionPutBodyType", + "ReposOwnerRepoSubscriptionPutBodyTypeForResponse", + ), + ".group_1387": ( + "ReposOwnerRepoTagsProtectionPostBodyType", + "ReposOwnerRepoTagsProtectionPostBodyTypeForResponse", + ), + ".group_1388": ( + "ReposOwnerRepoTopicsPutBodyType", + "ReposOwnerRepoTopicsPutBodyTypeForResponse", + ), + ".group_1389": ( + "ReposOwnerRepoTransferPostBodyType", + "ReposOwnerRepoTransferPostBodyTypeForResponse", + ), + ".group_1390": ( + "ReposTemplateOwnerTemplateRepoGeneratePostBodyType", + "ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse", ), - ".group_1385": ("ReposOwnerRepoStatusesShaPostBodyType",), - ".group_1386": ("ReposOwnerRepoSubscriptionPutBodyType",), - ".group_1387": ("ReposOwnerRepoTagsProtectionPostBodyType",), - ".group_1388": ("ReposOwnerRepoTopicsPutBodyType",), - ".group_1389": ("ReposOwnerRepoTransferPostBodyType",), - ".group_1390": ("ReposTemplateOwnerTemplateRepoGeneratePostBodyType",), ".group_1391": ( "ScimV2OrganizationsOrgUsersPostBodyType", + "ScimV2OrganizationsOrgUsersPostBodyTypeForResponse", "ScimV2OrganizationsOrgUsersPostBodyPropNameType", + "ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse", "ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType", + "ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse", ), ".group_1392": ( "ScimV2OrganizationsOrgUsersScimUserIdPutBodyType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse", ), ".group_1393": ( "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0Type", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse", + ), + ".group_1394": ( + "TeamsTeamIdPatchBodyType", + "TeamsTeamIdPatchBodyTypeForResponse", + ), + ".group_1395": ( + "TeamsTeamIdDiscussionsPostBodyType", + "TeamsTeamIdDiscussionsPostBodyTypeForResponse", + ), + ".group_1396": ( + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse", + ), + ".group_1397": ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", ), - ".group_1394": ("TeamsTeamIdPatchBodyType",), - ".group_1395": ("TeamsTeamIdDiscussionsPostBodyType",), - ".group_1396": ("TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType",), - ".group_1397": ("TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType",), ".group_1398": ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ), ".group_1399": ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", + ), + ".group_1400": ( + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", + ), + ".group_1401": ( + "TeamsTeamIdMembershipsUsernamePutBodyType", + "TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_1402": ( + "TeamsTeamIdProjectsProjectIdPutBodyType", + "TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse", + ), + ".group_1403": ( + "TeamsTeamIdProjectsProjectIdPutResponse403Type", + "TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse", + ), + ".group_1404": ( + "TeamsTeamIdReposOwnerRepoPutBodyType", + "TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse", ), - ".group_1400": ("TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType",), - ".group_1401": ("TeamsTeamIdMembershipsUsernamePutBodyType",), - ".group_1402": ("TeamsTeamIdProjectsProjectIdPutBodyType",), - ".group_1403": ("TeamsTeamIdProjectsProjectIdPutResponse403Type",), - ".group_1404": ("TeamsTeamIdReposOwnerRepoPutBodyType",), ".group_1405": ( "TeamsTeamIdTeamSyncGroupMappingsPatchBodyType", + "TeamsTeamIdTeamSyncGroupMappingsPatchBodyTypeForResponse", "TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType", + "TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse", + ), + ".group_1406": ( + "UserPatchBodyType", + "UserPatchBodyTypeForResponse", + ), + ".group_1407": ( + "UserCodespacesGetResponse200Type", + "UserCodespacesGetResponse200TypeForResponse", + ), + ".group_1408": ( + "UserCodespacesPostBodyOneof0Type", + "UserCodespacesPostBodyOneof0TypeForResponse", ), - ".group_1406": ("UserPatchBodyType",), - ".group_1407": ("UserCodespacesGetResponse200Type",), - ".group_1408": ("UserCodespacesPostBodyOneof0Type",), ".group_1409": ( "UserCodespacesPostBodyOneof1Type", + "UserCodespacesPostBodyOneof1TypeForResponse", "UserCodespacesPostBodyOneof1PropPullRequestType", + "UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse", ), ".group_1410": ( "UserCodespacesSecretsGetResponse200Type", + "UserCodespacesSecretsGetResponse200TypeForResponse", "CodespacesSecretType", + "CodespacesSecretTypeForResponse", + ), + ".group_1411": ( + "UserCodespacesSecretsSecretNamePutBodyType", + "UserCodespacesSecretsSecretNamePutBodyTypeForResponse", ), - ".group_1411": ("UserCodespacesSecretsSecretNamePutBodyType",), ".group_1412": ( "UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1413": ( + "UserCodespacesSecretsSecretNameRepositoriesPutBodyType", + "UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", + ), + ".group_1414": ( + "UserCodespacesCodespaceNamePatchBodyType", + "UserCodespacesCodespaceNamePatchBodyTypeForResponse", + ), + ".group_1415": ( + "UserCodespacesCodespaceNameMachinesGetResponse200Type", + "UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse", + ), + ".group_1416": ( + "UserCodespacesCodespaceNamePublishPostBodyType", + "UserCodespacesCodespaceNamePublishPostBodyTypeForResponse", + ), + ".group_1417": ( + "UserEmailVisibilityPatchBodyType", + "UserEmailVisibilityPatchBodyTypeForResponse", + ), + ".group_1418": ( + "UserEmailsPostBodyOneof0Type", + "UserEmailsPostBodyOneof0TypeForResponse", + ), + ".group_1419": ( + "UserEmailsDeleteBodyOneof0Type", + "UserEmailsDeleteBodyOneof0TypeForResponse", + ), + ".group_1420": ( + "UserGpgKeysPostBodyType", + "UserGpgKeysPostBodyTypeForResponse", + ), + ".group_1421": ( + "UserInstallationsGetResponse200Type", + "UserInstallationsGetResponse200TypeForResponse", ), - ".group_1413": ("UserCodespacesSecretsSecretNameRepositoriesPutBodyType",), - ".group_1414": ("UserCodespacesCodespaceNamePatchBodyType",), - ".group_1415": ("UserCodespacesCodespaceNameMachinesGetResponse200Type",), - ".group_1416": ("UserCodespacesCodespaceNamePublishPostBodyType",), - ".group_1417": ("UserEmailVisibilityPatchBodyType",), - ".group_1418": ("UserEmailsPostBodyOneof0Type",), - ".group_1419": ("UserEmailsDeleteBodyOneof0Type",), - ".group_1420": ("UserGpgKeysPostBodyType",), - ".group_1421": ("UserInstallationsGetResponse200Type",), ".group_1422": ( "UserInstallationsInstallationIdRepositoriesGetResponse200Type", + "UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse", + ), + ".group_1423": ( + "UserInteractionLimitsGetResponse200Anyof1Type", + "UserInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_1424": ( + "UserKeysPostBodyType", + "UserKeysPostBodyTypeForResponse", + ), + ".group_1425": ( + "UserMembershipsOrgsOrgPatchBodyType", + "UserMembershipsOrgsOrgPatchBodyTypeForResponse", + ), + ".group_1426": ( + "UserMigrationsPostBodyType", + "UserMigrationsPostBodyTypeForResponse", + ), + ".group_1427": ( + "UserReposPostBodyType", + "UserReposPostBodyTypeForResponse", + ), + ".group_1428": ( + "UserSocialAccountsPostBodyType", + "UserSocialAccountsPostBodyTypeForResponse", + ), + ".group_1429": ( + "UserSocialAccountsDeleteBodyType", + "UserSocialAccountsDeleteBodyTypeForResponse", + ), + ".group_1430": ( + "UserSshSigningKeysPostBodyType", + "UserSshSigningKeysPostBodyTypeForResponse", + ), + ".group_1431": ( + "UsersUsernameAttestationsBulkListPostBodyType", + "UsersUsernameAttestationsBulkListPostBodyTypeForResponse", ), - ".group_1423": ("UserInteractionLimitsGetResponse200Anyof1Type",), - ".group_1424": ("UserKeysPostBodyType",), - ".group_1425": ("UserMembershipsOrgsOrgPatchBodyType",), - ".group_1426": ("UserMigrationsPostBodyType",), - ".group_1427": ("UserReposPostBodyType",), - ".group_1428": ("UserSocialAccountsPostBodyType",), - ".group_1429": ("UserSocialAccountsDeleteBodyType",), - ".group_1430": ("UserSshSigningKeysPostBodyType",), - ".group_1431": ("UsersUsernameAttestationsBulkListPostBodyType",), ".group_1432": ( "UsersUsernameAttestationsBulkListPostResponse200Type", + "UsersUsernameAttestationsBulkListPostResponse200TypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType", + "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", + ), + ".group_1433": ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse", + ), + ".group_1434": ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse", ), - ".group_1433": ("UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type",), - ".group_1434": ("UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type",), ".group_1435": ( "UsersUsernameAttestationsSubjectDigestGetResponse200Type", + "UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1436": ( + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse", ), - ".group_1436": ("UsersUsernameProjectsV2ProjectNumberItemsPostBodyType",), ".group_1437": ( "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", ), } diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0000.py b/githubkit/versions/ghec_v2022_11_28/types/group_0000.py index 10bf040fe..df6e52859 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0000.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0000.py @@ -50,4 +50,45 @@ class RootType(TypedDict): user_search_url: str -__all__ = ("RootType",) +class RootTypeForResponse(TypedDict): + """Root""" + + current_user_url: str + current_user_authorizations_html_url: str + authorizations_url: str + code_search_url: str + commit_search_url: str + emails_url: str + emojis_url: str + events_url: str + feeds_url: str + followers_url: str + following_url: str + gists_url: str + hub_url: NotRequired[str] + issue_search_url: str + issues_url: str + keys_url: str + label_search_url: str + notifications_url: str + organization_url: str + organization_repositories_url: str + organization_teams_url: str + public_gists_url: str + rate_limit_url: str + repository_url: str + repository_search_url: str + current_user_repositories_url: str + starred_url: str + starred_gists_url: str + topic_search_url: NotRequired[str] + user_url: str + user_organizations_url: str + user_repositories_url: str + user_search_url: str + + +__all__ = ( + "RootType", + "RootTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0001.py b/githubkit/versions/ghec_v2022_11_28/types/group_0001.py index 7fe8ed44e..d6d242f11 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0001.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0001.py @@ -20,6 +20,13 @@ class CvssSeveritiesType(TypedDict): cvss_v4: NotRequired[Union[CvssSeveritiesPropCvssV4Type, None]] +class CvssSeveritiesTypeForResponse(TypedDict): + """CvssSeverities""" + + cvss_v3: NotRequired[Union[CvssSeveritiesPropCvssV3TypeForResponse, None]] + cvss_v4: NotRequired[Union[CvssSeveritiesPropCvssV4TypeForResponse, None]] + + class CvssSeveritiesPropCvssV3Type(TypedDict): """CvssSeveritiesPropCvssV3""" @@ -27,6 +34,13 @@ class CvssSeveritiesPropCvssV3Type(TypedDict): score: Union[float, None] +class CvssSeveritiesPropCvssV3TypeForResponse(TypedDict): + """CvssSeveritiesPropCvssV3""" + + vector_string: Union[str, None] + score: Union[float, None] + + class CvssSeveritiesPropCvssV4Type(TypedDict): """CvssSeveritiesPropCvssV4""" @@ -34,8 +48,18 @@ class CvssSeveritiesPropCvssV4Type(TypedDict): score: Union[float, None] +class CvssSeveritiesPropCvssV4TypeForResponse(TypedDict): + """CvssSeveritiesPropCvssV4""" + + vector_string: Union[str, None] + score: Union[float, None] + + __all__ = ( "CvssSeveritiesPropCvssV3Type", + "CvssSeveritiesPropCvssV3TypeForResponse", "CvssSeveritiesPropCvssV4Type", + "CvssSeveritiesPropCvssV4TypeForResponse", "CvssSeveritiesType", + "CvssSeveritiesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0002.py b/githubkit/versions/ghec_v2022_11_28/types/group_0002.py index a5bd8643f..cd9228a02 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0002.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0002.py @@ -23,4 +23,18 @@ class SecurityAdvisoryEpssType(TypedDict): percentile: NotRequired[float] -__all__ = ("SecurityAdvisoryEpssType",) +class SecurityAdvisoryEpssTypeForResponse(TypedDict): + """SecurityAdvisoryEpss + + The EPSS scores as calculated by the [Exploit Prediction Scoring + System](https://www.first.org/epss). + """ + + percentage: NotRequired[float] + percentile: NotRequired[float] + + +__all__ = ( + "SecurityAdvisoryEpssType", + "SecurityAdvisoryEpssTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0003.py b/githubkit/versions/ghec_v2022_11_28/types/group_0003.py index fa76723f3..9bff5ea1a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0003.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0003.py @@ -43,4 +43,37 @@ class SimpleUserType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("SimpleUserType",) +class SimpleUserTypeForResponse(TypedDict): + """Simple User + + A GitHub user. + """ + + name: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + starred_at: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "SimpleUserType", + "SimpleUserTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0004.py b/githubkit/versions/ghec_v2022_11_28/types/group_0004.py index 35cc5758c..b6918ba87 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0004.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0004.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0002 import SecurityAdvisoryEpssType -from .group_0005 import GlobalAdvisoryPropCreditsItemsType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0002 import SecurityAdvisoryEpssType, SecurityAdvisoryEpssTypeForResponse +from .group_0005 import ( + GlobalAdvisoryPropCreditsItemsType, + GlobalAdvisoryPropCreditsItemsTypeForResponse, +) class GlobalAdvisoryType(TypedDict): @@ -49,6 +52,37 @@ class GlobalAdvisoryType(TypedDict): credits_: Union[list[GlobalAdvisoryPropCreditsItemsType], None] +class GlobalAdvisoryTypeForResponse(TypedDict): + """GlobalAdvisory + + A GitHub Security Advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + url: str + html_url: str + repository_advisory_url: Union[str, None] + summary: str + description: Union[str, None] + type: Literal["reviewed", "unreviewed", "malware"] + severity: Literal["critical", "high", "medium", "low", "unknown"] + source_code_location: Union[str, None] + identifiers: Union[list[GlobalAdvisoryPropIdentifiersItemsTypeForResponse], None] + references: Union[list[str], None] + published_at: str + updated_at: str + github_reviewed_at: Union[str, None] + nvd_published_at: Union[str, None] + withdrawn_at: Union[str, None] + vulnerabilities: Union[list[VulnerabilityTypeForResponse], None] + cvss: Union[GlobalAdvisoryPropCvssTypeForResponse, None] + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + epss: NotRequired[Union[SecurityAdvisoryEpssTypeForResponse, None]] + cwes: Union[list[GlobalAdvisoryPropCwesItemsTypeForResponse], None] + credits_: Union[list[GlobalAdvisoryPropCreditsItemsTypeForResponse], None] + + class GlobalAdvisoryPropIdentifiersItemsType(TypedDict): """GlobalAdvisoryPropIdentifiersItems""" @@ -56,6 +90,13 @@ class GlobalAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class GlobalAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropIdentifiersItems""" + + type: Literal["CVE", "GHSA"] + value: str + + class GlobalAdvisoryPropCvssType(TypedDict): """GlobalAdvisoryPropCvss""" @@ -63,6 +104,13 @@ class GlobalAdvisoryPropCvssType(TypedDict): score: Union[float, None] +class GlobalAdvisoryPropCvssTypeForResponse(TypedDict): + """GlobalAdvisoryPropCvss""" + + vector_string: Union[str, None] + score: Union[float, None] + + class GlobalAdvisoryPropCwesItemsType(TypedDict): """GlobalAdvisoryPropCwesItems""" @@ -70,6 +118,13 @@ class GlobalAdvisoryPropCwesItemsType(TypedDict): name: str +class GlobalAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class VulnerabilityType(TypedDict): """Vulnerability @@ -83,6 +138,19 @@ class VulnerabilityType(TypedDict): vulnerable_functions: Union[list[str], None] +class VulnerabilityTypeForResponse(TypedDict): + """Vulnerability + + A vulnerability describing the product and its affected versions within a GitHub + Security Advisory. + """ + + package: Union[VulnerabilityPropPackageTypeForResponse, None] + vulnerable_version_range: Union[str, None] + first_patched_version: Union[str, None] + vulnerable_functions: Union[list[str], None] + + class VulnerabilityPropPackageType(TypedDict): """VulnerabilityPropPackage @@ -107,11 +175,41 @@ class VulnerabilityPropPackageType(TypedDict): name: Union[str, None] +class VulnerabilityPropPackageTypeForResponse(TypedDict): + """VulnerabilityPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: Union[str, None] + + __all__ = ( "GlobalAdvisoryPropCvssType", + "GlobalAdvisoryPropCvssTypeForResponse", "GlobalAdvisoryPropCwesItemsType", + "GlobalAdvisoryPropCwesItemsTypeForResponse", "GlobalAdvisoryPropIdentifiersItemsType", + "GlobalAdvisoryPropIdentifiersItemsTypeForResponse", "GlobalAdvisoryType", + "GlobalAdvisoryTypeForResponse", "VulnerabilityPropPackageType", + "VulnerabilityPropPackageTypeForResponse", "VulnerabilityType", + "VulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0005.py b/githubkit/versions/ghec_v2022_11_28/types/group_0005.py index 62d7ca39e..a5a3daaf5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0005.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0005.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GlobalAdvisoryPropCreditsItemsType(TypedDict): @@ -33,4 +33,25 @@ class GlobalAdvisoryPropCreditsItemsType(TypedDict): ] -__all__ = ("GlobalAdvisoryPropCreditsItemsType",) +class GlobalAdvisoryPropCreditsItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropCreditsItems""" + + user: SimpleUserTypeForResponse + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + +__all__ = ( + "GlobalAdvisoryPropCreditsItemsType", + "GlobalAdvisoryPropCreditsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0006.py b/githubkit/versions/ghec_v2022_11_28/types/group_0006.py index ec1143694..9724d9d09 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0006.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0006.py @@ -24,4 +24,19 @@ class BasicErrorType(TypedDict): status: NotRequired[str] -__all__ = ("BasicErrorType",) +class BasicErrorTypeForResponse(TypedDict): + """Basic Error + + Basic Error + """ + + message: NotRequired[str] + documentation_url: NotRequired[str] + url: NotRequired[str] + status: NotRequired[str] + + +__all__ = ( + "BasicErrorType", + "BasicErrorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0007.py b/githubkit/versions/ghec_v2022_11_28/types/group_0007.py index 890be8381..df11b770c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0007.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0007.py @@ -23,4 +23,18 @@ class ValidationErrorSimpleType(TypedDict): errors: NotRequired[list[str]] -__all__ = ("ValidationErrorSimpleType",) +class ValidationErrorSimpleTypeForResponse(TypedDict): + """Validation Error Simple + + Validation Error Simple + """ + + message: str + documentation_url: str + errors: NotRequired[list[str]] + + +__all__ = ( + "ValidationErrorSimpleType", + "ValidationErrorSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0008.py b/githubkit/versions/ghec_v2022_11_28/types/group_0008.py index 74d77a415..fef5891d9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0008.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0008.py @@ -32,4 +32,25 @@ class EnterpriseType(TypedDict): avatar_url: str -__all__ = ("EnterpriseType",) +class EnterpriseTypeForResponse(TypedDict): + """Enterprise + + An enterprise on GitHub. + """ + + description: NotRequired[Union[str, None]] + html_url: str + website_url: NotRequired[Union[str, None]] + id: int + node_id: str + name: str + slug: str + created_at: Union[str, None] + updated_at: Union[str, None] + avatar_url: str + + +__all__ = ( + "EnterpriseType", + "EnterpriseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0009.py b/githubkit/versions/ghec_v2022_11_28/types/group_0009.py index 83a5da25b..f2e36a2a9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0009.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0009.py @@ -28,4 +28,23 @@ class IntegrationPropPermissionsType(TypedDict): deployments: NotRequired[str] -__all__ = ("IntegrationPropPermissionsType",) +class IntegrationPropPermissionsTypeForResponse(TypedDict): + """IntegrationPropPermissions + + The set of permissions for the GitHub app + + Examples: + {'issues': 'read', 'deployments': 'write'} + """ + + issues: NotRequired[str] + checks: NotRequired[str] + metadata: NotRequired[str] + contents: NotRequired[str] + deployments: NotRequired[str] + + +__all__ = ( + "IntegrationPropPermissionsType", + "IntegrationPropPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0010.py b/githubkit/versions/ghec_v2022_11_28/types/group_0010.py index cd45ad29f..748858629 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0010.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0010.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0009 import IntegrationPropPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0009 import ( + IntegrationPropPermissionsType, + IntegrationPropPermissionsTypeForResponse, +) class IntegrationType(TypedDict): @@ -43,4 +46,32 @@ class actors within GitHub. installations_count: NotRequired[int] -__all__ = ("IntegrationType",) +class IntegrationTypeForResponse(TypedDict): + """GitHub app + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + id: int + slug: NotRequired[str] + node_id: str + client_id: NotRequired[str] + owner: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + name: str + description: Union[str, None] + external_url: str + html_url: str + created_at: str + updated_at: str + permissions: IntegrationPropPermissionsTypeForResponse + events: list[str] + installations_count: NotRequired[int] + + +__all__ = ( + "IntegrationType", + "IntegrationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0011.py b/githubkit/versions/ghec_v2022_11_28/types/group_0011.py index c8636cd86..fd4079767 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0011.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0011.py @@ -25,4 +25,19 @@ class WebhookConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("WebhookConfigType",) +class WebhookConfigTypeForResponse(TypedDict): + """Webhook Configuration + + Configuration object of the webhook + """ + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "WebhookConfigType", + "WebhookConfigTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0012.py b/githubkit/versions/ghec_v2022_11_28/types/group_0012.py index 2cf7ba998..a13c3fbc3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0012.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0012.py @@ -34,4 +34,27 @@ class HookDeliveryItemType(TypedDict): throttled_at: NotRequired[Union[datetime, None]] -__all__ = ("HookDeliveryItemType",) +class HookDeliveryItemTypeForResponse(TypedDict): + """Simple webhook delivery + + Delivery made by a webhook, without request and response information. + """ + + id: int + guid: str + delivered_at: str + redelivery: bool + duration: float + status: str + status_code: int + event: str + action: Union[str, None] + installation_id: Union[int, None] + repository_id: Union[int, None] + throttled_at: NotRequired[Union[str, None]] + + +__all__ = ( + "HookDeliveryItemType", + "HookDeliveryItemTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0013.py b/githubkit/versions/ghec_v2022_11_28/types/group_0013.py index ea6a587cb..3ba9cf4c4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0013.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0013.py @@ -27,4 +27,21 @@ class ScimErrorType(TypedDict): schemas: NotRequired[list[str]] -__all__ = ("ScimErrorType",) +class ScimErrorTypeForResponse(TypedDict): + """Scim Error + + Scim Error + """ + + message: NotRequired[Union[str, None]] + documentation_url: NotRequired[Union[str, None]] + detail: NotRequired[Union[str, None]] + status: NotRequired[int] + scim_type: NotRequired[Union[str, None]] + schemas: NotRequired[list[str]] + + +__all__ = ( + "ScimErrorType", + "ScimErrorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0014.py b/githubkit/versions/ghec_v2022_11_28/types/group_0014.py index 8253b3fd6..5dca7785a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0014.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0014.py @@ -24,6 +24,17 @@ class ValidationErrorType(TypedDict): errors: NotRequired[list[ValidationErrorPropErrorsItemsType]] +class ValidationErrorTypeForResponse(TypedDict): + """Validation Error + + Validation Error + """ + + message: str + documentation_url: str + errors: NotRequired[list[ValidationErrorPropErrorsItemsTypeForResponse]] + + class ValidationErrorPropErrorsItemsType(TypedDict): """ValidationErrorPropErrorsItems""" @@ -35,7 +46,20 @@ class ValidationErrorPropErrorsItemsType(TypedDict): value: NotRequired[Union[str, None, int, None, list[str], None]] +class ValidationErrorPropErrorsItemsTypeForResponse(TypedDict): + """ValidationErrorPropErrorsItems""" + + resource: NotRequired[str] + field: NotRequired[str] + message: NotRequired[str] + code: str + index: NotRequired[int] + value: NotRequired[Union[str, None, int, None, list[str], None]] + + __all__ = ( "ValidationErrorPropErrorsItemsType", + "ValidationErrorPropErrorsItemsTypeForResponse", "ValidationErrorType", + "ValidationErrorTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0015.py b/githubkit/versions/ghec_v2022_11_28/types/group_0015.py index 1dd24facf..b3c14684e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0015.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0015.py @@ -37,6 +37,29 @@ class HookDeliveryType(TypedDict): response: HookDeliveryPropResponseType +class HookDeliveryTypeForResponse(TypedDict): + """Webhook delivery + + Delivery made by a webhook. + """ + + id: int + guid: str + delivered_at: str + redelivery: bool + duration: float + status: str + status_code: int + event: str + action: Union[str, None] + installation_id: Union[int, None] + repository_id: Union[int, None] + throttled_at: NotRequired[Union[str, None]] + url: NotRequired[str] + request: HookDeliveryPropRequestTypeForResponse + response: HookDeliveryPropResponseTypeForResponse + + class HookDeliveryPropRequestType(TypedDict): """HookDeliveryPropRequest""" @@ -44,6 +67,13 @@ class HookDeliveryPropRequestType(TypedDict): payload: Union[HookDeliveryPropRequestPropPayloadType, None] +class HookDeliveryPropRequestTypeForResponse(TypedDict): + """HookDeliveryPropRequest""" + + headers: Union[HookDeliveryPropRequestPropHeadersTypeForResponse, None] + payload: Union[HookDeliveryPropRequestPropPayloadTypeForResponse, None] + + HookDeliveryPropRequestPropHeadersType: TypeAlias = dict[str, Any] """HookDeliveryPropRequestPropHeaders @@ -51,6 +81,13 @@ class HookDeliveryPropRequestType(TypedDict): """ +HookDeliveryPropRequestPropHeadersTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropRequestPropHeaders + +The request headers sent with the webhook delivery. +""" + + HookDeliveryPropRequestPropPayloadType: TypeAlias = dict[str, Any] """HookDeliveryPropRequestPropPayload @@ -58,6 +95,13 @@ class HookDeliveryPropRequestType(TypedDict): """ +HookDeliveryPropRequestPropPayloadTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropRequestPropPayload + +The webhook payload. +""" + + class HookDeliveryPropResponseType(TypedDict): """HookDeliveryPropResponse""" @@ -65,6 +109,13 @@ class HookDeliveryPropResponseType(TypedDict): payload: Union[str, None] +class HookDeliveryPropResponseTypeForResponse(TypedDict): + """HookDeliveryPropResponse""" + + headers: Union[HookDeliveryPropResponsePropHeadersTypeForResponse, None] + payload: Union[str, None] + + HookDeliveryPropResponsePropHeadersType: TypeAlias = dict[str, Any] """HookDeliveryPropResponsePropHeaders @@ -72,11 +123,24 @@ class HookDeliveryPropResponseType(TypedDict): """ +HookDeliveryPropResponsePropHeadersTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropResponsePropHeaders + +The response headers received when the delivery was made. +""" + + __all__ = ( "HookDeliveryPropRequestPropHeadersType", + "HookDeliveryPropRequestPropHeadersTypeForResponse", "HookDeliveryPropRequestPropPayloadType", + "HookDeliveryPropRequestPropPayloadTypeForResponse", "HookDeliveryPropRequestType", + "HookDeliveryPropRequestTypeForResponse", "HookDeliveryPropResponsePropHeadersType", + "HookDeliveryPropResponsePropHeadersTypeForResponse", "HookDeliveryPropResponseType", + "HookDeliveryPropResponseTypeForResponse", "HookDeliveryType", + "HookDeliveryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0016.py b/githubkit/versions/ghec_v2022_11_28/types/group_0016.py index 9183c8375..d64ba3e17 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0016.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0016.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse class IntegrationInstallationRequestType(TypedDict): @@ -30,4 +30,20 @@ class IntegrationInstallationRequestType(TypedDict): created_at: datetime -__all__ = ("IntegrationInstallationRequestType",) +class IntegrationInstallationRequestTypeForResponse(TypedDict): + """Integration Installation Request + + Request to install an integration on a target + """ + + id: int + node_id: NotRequired[str] + account: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + requester: SimpleUserTypeForResponse + created_at: str + + +__all__ = ( + "IntegrationInstallationRequestType", + "IntegrationInstallationRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0017.py b/githubkit/versions/ghec_v2022_11_28/types/group_0017.py index 55ec4a0c6..d55169bfb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0017.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0017.py @@ -81,4 +81,75 @@ class AppPermissionsType(TypedDict): ] -__all__ = ("AppPermissionsType",) +class AppPermissionsTypeForResponse(TypedDict): + """App Permissions + + The permissions granted to the user access token. + + Examples: + {'contents': 'read', 'issues': 'read', 'deployments': 'write', 'single_file': + 'read'} + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + codespaces: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + dependabot_secrets: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_custom_properties: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["write"]] + custom_properties_for_organizations: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_custom_roles: NotRequired[Literal["read", "write"]] + organization_custom_org_roles: NotRequired[Literal["read", "write"]] + organization_custom_properties: NotRequired[Literal["read", "write", "admin"]] + organization_copilot_seat_management: NotRequired[Literal["write", "read"]] + organization_announcement_banners: NotRequired[Literal["read", "write"]] + organization_events: NotRequired[Literal["read"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_personal_access_tokens: NotRequired[Literal["read", "write"]] + organization_personal_access_token_requests: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + email_addresses: NotRequired[Literal["read", "write"]] + followers: NotRequired[Literal["read", "write"]] + git_ssh_keys: NotRequired[Literal["read", "write"]] + gpg_keys: NotRequired[Literal["read", "write"]] + interaction_limits: NotRequired[Literal["read", "write"]] + profile: NotRequired[Literal["write"]] + starring: NotRequired[Literal["read", "write"]] + enterprise_custom_properties_for_organizations: NotRequired[ + Literal["read", "write", "admin"] + ] + enterprise_organization_installations: NotRequired[Literal["read", "write"]] + enterprise_organization_installation_repositories: NotRequired[ + Literal["read", "write"] + ] + + +__all__ = ( + "AppPermissionsType", + "AppPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0018.py b/githubkit/versions/ghec_v2022_11_28/types/group_0018.py index b46fe1974..a9a78a643 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0018.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0018.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0017 import AppPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class InstallationType(TypedDict): @@ -47,4 +47,36 @@ class InstallationType(TypedDict): contact_email: NotRequired[Union[str, None]] -__all__ = ("InstallationType",) +class InstallationTypeForResponse(TypedDict): + """Installation + + Installation + """ + + id: int + account: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse, None] + repository_selection: Literal["all", "selected"] + access_tokens_url: str + repositories_url: str + html_url: str + app_id: int + client_id: NotRequired[str] + target_id: int + target_type: str + permissions: AppPermissionsTypeForResponse + events: list[str] + created_at: str + updated_at: str + single_file_name: Union[str, None] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + app_slug: str + suspended_by: Union[None, SimpleUserTypeForResponse] + suspended_at: Union[str, None] + contact_email: NotRequired[Union[str, None]] + + +__all__ = ( + "InstallationType", + "InstallationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0019.py b/githubkit/versions/ghec_v2022_11_28/types/group_0019.py index b20c6fa41..ddc9533bf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0019.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0019.py @@ -27,4 +27,21 @@ class LicenseSimpleType(TypedDict): html_url: NotRequired[str] -__all__ = ("LicenseSimpleType",) +class LicenseSimpleTypeForResponse(TypedDict): + """License Simple + + License Simple + """ + + key: str + name: str + url: Union[str, None] + spdx_id: Union[str, None] + node_id: str + html_url: NotRequired[str] + + +__all__ = ( + "LicenseSimpleType", + "LicenseSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0020.py b/githubkit/versions/ghec_v2022_11_28/types/group_0020.py index 9d10c4127..4922b3448 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0020.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0020.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class RepositoryType(TypedDict): @@ -123,6 +123,114 @@ class RepositoryType(TypedDict): code_search_index_status: NotRequired[RepositoryPropCodeSearchIndexStatusType] +class RepositoryTypeForResponse(TypedDict): + """Repository + + A repository on GitHub. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + forks: int + permissions: NotRequired[RepositoryPropPermissionsTypeForResponse] + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + open_issues: int + watchers: int + master_branch: NotRequired[str] + starred_at: NotRequired[str] + anonymous_access_enabled: NotRequired[bool] + code_search_index_status: NotRequired[ + RepositoryPropCodeSearchIndexStatusTypeForResponse + ] + + class RepositoryPropPermissionsType(TypedDict): """RepositoryPropPermissions""" @@ -133,6 +241,16 @@ class RepositoryPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class RepositoryPropPermissionsTypeForResponse(TypedDict): + """RepositoryPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + class RepositoryPropCodeSearchIndexStatusType(TypedDict): """RepositoryPropCodeSearchIndexStatus @@ -143,8 +261,21 @@ class RepositoryPropCodeSearchIndexStatusType(TypedDict): lexical_commit_sha: NotRequired[str] +class RepositoryPropCodeSearchIndexStatusTypeForResponse(TypedDict): + """RepositoryPropCodeSearchIndexStatus + + The status of the code search index for this repository + """ + + lexical_search_ok: NotRequired[bool] + lexical_commit_sha: NotRequired[str] + + __all__ = ( "RepositoryPropCodeSearchIndexStatusType", + "RepositoryPropCodeSearchIndexStatusTypeForResponse", "RepositoryPropPermissionsType", + "RepositoryPropPermissionsTypeForResponse", "RepositoryType", + "RepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0021.py b/githubkit/versions/ghec_v2022_11_28/types/group_0021.py index 40c0f24a1..2c90f6621 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0021.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0021.py @@ -12,8 +12,8 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType -from .group_0020 import RepositoryType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class InstallationTokenType(TypedDict): @@ -32,4 +32,23 @@ class InstallationTokenType(TypedDict): single_file_paths: NotRequired[list[str]] -__all__ = ("InstallationTokenType",) +class InstallationTokenTypeForResponse(TypedDict): + """Installation Token + + Authentication token for a GitHub App installed on a user, org, or enterprise. + """ + + token: str + expires_at: str + permissions: NotRequired[AppPermissionsTypeForResponse] + repository_selection: NotRequired[Literal["all", "selected"]] + repositories: NotRequired[list[RepositoryTypeForResponse]] + single_file: NotRequired[str] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + + +__all__ = ( + "InstallationTokenType", + "InstallationTokenTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0022.py b/githubkit/versions/ghec_v2022_11_28/types/group_0022.py index 316ee04db..af8f5a860 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0022.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0022.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0017 import AppPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class ScopedInstallationType(TypedDict): @@ -28,4 +28,19 @@ class ScopedInstallationType(TypedDict): account: SimpleUserType -__all__ = ("ScopedInstallationType",) +class ScopedInstallationTypeForResponse(TypedDict): + """Scoped Installation""" + + permissions: AppPermissionsTypeForResponse + repository_selection: Literal["all", "selected"] + single_file_name: Union[str, None] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + repositories_url: str + account: SimpleUserTypeForResponse + + +__all__ = ( + "ScopedInstallationType", + "ScopedInstallationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0023.py b/githubkit/versions/ghec_v2022_11_28/types/group_0023.py index 2f6e85407..402147f86 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0023.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0023.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0022 import ScopedInstallationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0022 import ScopedInstallationType, ScopedInstallationTypeForResponse class AuthorizationType(TypedDict): @@ -40,6 +40,29 @@ class AuthorizationType(TypedDict): expires_at: Union[datetime, None] +class AuthorizationTypeForResponse(TypedDict): + """Authorization + + The authorization for an OAuth app, GitHub App, or a Personal Access Token. + """ + + id: int + url: str + scopes: Union[list[str], None] + token: str + token_last_eight: Union[str, None] + hashed_token: Union[str, None] + app: AuthorizationPropAppTypeForResponse + note: Union[str, None] + note_url: Union[str, None] + updated_at: str + created_at: str + fingerprint: Union[str, None] + user: NotRequired[Union[None, SimpleUserTypeForResponse]] + installation: NotRequired[Union[None, ScopedInstallationTypeForResponse]] + expires_at: Union[str, None] + + class AuthorizationPropAppType(TypedDict): """AuthorizationPropApp""" @@ -48,7 +71,17 @@ class AuthorizationPropAppType(TypedDict): url: str +class AuthorizationPropAppTypeForResponse(TypedDict): + """AuthorizationPropApp""" + + client_id: str + name: str + url: str + + __all__ = ( "AuthorizationPropAppType", + "AuthorizationPropAppTypeForResponse", "AuthorizationType", + "AuthorizationTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0024.py b/githubkit/versions/ghec_v2022_11_28/types/group_0024.py index 92dae5f1f..84127eb0f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0024.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0024.py @@ -26,4 +26,21 @@ class SimpleClassroomRepositoryType(TypedDict): default_branch: str -__all__ = ("SimpleClassroomRepositoryType",) +class SimpleClassroomRepositoryTypeForResponse(TypedDict): + """Simple Classroom Repository + + A GitHub repository view for Classroom + """ + + id: int + full_name: str + html_url: str + node_id: str + private: bool + default_branch: str + + +__all__ = ( + "SimpleClassroomRepositoryType", + "SimpleClassroomRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0025.py b/githubkit/versions/ghec_v2022_11_28/types/group_0025.py index 90777e817..43060983c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0025.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0025.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0024 import SimpleClassroomRepositoryType +from .group_0024 import ( + SimpleClassroomRepositoryType, + SimpleClassroomRepositoryTypeForResponse, +) class ClassroomAssignmentType(TypedDict): @@ -43,6 +46,33 @@ class ClassroomAssignmentType(TypedDict): classroom: ClassroomType +class ClassroomAssignmentTypeForResponse(TypedDict): + """Classroom Assignment + + A GitHub Classroom assignment + """ + + id: int + public_repo: bool + title: str + type: Literal["individual", "group"] + invite_link: str + invitations_enabled: bool + slug: str + students_are_repo_admins: bool + feedback_pull_requests_enabled: bool + max_teams: Union[int, None] + max_members: Union[int, None] + editor: str + accepted: int + submitted: int + passing: int + language: str + deadline: Union[str, None] + starter_code_repository: SimpleClassroomRepositoryTypeForResponse + classroom: ClassroomTypeForResponse + + class ClassroomType(TypedDict): """Classroom @@ -56,6 +86,19 @@ class ClassroomType(TypedDict): url: str +class ClassroomTypeForResponse(TypedDict): + """Classroom + + A GitHub Classroom classroom + """ + + id: int + name: str + archived: bool + organization: SimpleClassroomOrganizationTypeForResponse + url: str + + class SimpleClassroomOrganizationType(TypedDict): """Organization Simple for Classroom @@ -70,8 +113,25 @@ class SimpleClassroomOrganizationType(TypedDict): avatar_url: str +class SimpleClassroomOrganizationTypeForResponse(TypedDict): + """Organization Simple for Classroom + + A GitHub organization. + """ + + id: int + login: str + node_id: str + html_url: str + name: Union[str, None] + avatar_url: str + + __all__ = ( "ClassroomAssignmentType", + "ClassroomAssignmentTypeForResponse", "ClassroomType", + "ClassroomTypeForResponse", "SimpleClassroomOrganizationType", + "SimpleClassroomOrganizationTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0026.py b/githubkit/versions/ghec_v2022_11_28/types/group_0026.py index c3d2e7494..f43839e5e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0026.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0026.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0024 import SimpleClassroomRepositoryType +from .group_0024 import ( + SimpleClassroomRepositoryType, + SimpleClassroomRepositoryTypeForResponse, +) class ClassroomAcceptedAssignmentType(TypedDict): @@ -32,6 +35,22 @@ class ClassroomAcceptedAssignmentType(TypedDict): assignment: SimpleClassroomAssignmentType +class ClassroomAcceptedAssignmentTypeForResponse(TypedDict): + """Classroom Accepted Assignment + + A GitHub Classroom accepted assignment + """ + + id: int + submitted: bool + passing: bool + commit_count: int + grade: str + students: list[SimpleClassroomUserTypeForResponse] + repository: SimpleClassroomRepositoryTypeForResponse + assignment: SimpleClassroomAssignmentTypeForResponse + + class SimpleClassroomUserType(TypedDict): """Simple Classroom User @@ -44,6 +63,18 @@ class SimpleClassroomUserType(TypedDict): html_url: str +class SimpleClassroomUserTypeForResponse(TypedDict): + """Simple Classroom User + + A GitHub user simplified for Classroom. + """ + + id: int + login: str + avatar_url: str + html_url: str + + class SimpleClassroomAssignmentType(TypedDict): """Simple Classroom Assignment @@ -70,6 +101,32 @@ class SimpleClassroomAssignmentType(TypedDict): classroom: SimpleClassroomType +class SimpleClassroomAssignmentTypeForResponse(TypedDict): + """Simple Classroom Assignment + + A GitHub Classroom assignment + """ + + id: int + public_repo: bool + title: str + type: Literal["individual", "group"] + invite_link: str + invitations_enabled: bool + slug: str + students_are_repo_admins: bool + feedback_pull_requests_enabled: bool + max_teams: NotRequired[Union[int, None]] + max_members: NotRequired[Union[int, None]] + editor: Union[str, None] + accepted: int + submitted: NotRequired[int] + passing: int + language: Union[str, None] + deadline: Union[str, None] + classroom: SimpleClassroomTypeForResponse + + class SimpleClassroomType(TypedDict): """Simple Classroom @@ -82,9 +139,25 @@ class SimpleClassroomType(TypedDict): url: str +class SimpleClassroomTypeForResponse(TypedDict): + """Simple Classroom + + A GitHub Classroom classroom + """ + + id: int + name: str + archived: bool + url: str + + __all__ = ( "ClassroomAcceptedAssignmentType", + "ClassroomAcceptedAssignmentTypeForResponse", "SimpleClassroomAssignmentType", + "SimpleClassroomAssignmentTypeForResponse", "SimpleClassroomType", + "SimpleClassroomTypeForResponse", "SimpleClassroomUserType", + "SimpleClassroomUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0027.py b/githubkit/versions/ghec_v2022_11_28/types/group_0027.py index 2099f3a61..b37b883e9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0027.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0027.py @@ -31,4 +31,26 @@ class ClassroomAssignmentGradeType(TypedDict): group_name: NotRequired[str] -__all__ = ("ClassroomAssignmentGradeType",) +class ClassroomAssignmentGradeTypeForResponse(TypedDict): + """Classroom Assignment Grade + + Grade for a student or groups GitHub Classroom assignment + """ + + assignment_name: str + assignment_url: str + starter_code_url: str + github_username: str + roster_identifier: str + student_repository_name: str + student_repository_url: str + submission_timestamp: str + points_awarded: int + points_available: int + group_name: NotRequired[str] + + +__all__ = ( + "ClassroomAssignmentGradeType", + "ClassroomAssignmentGradeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0028.py b/githubkit/versions/ghec_v2022_11_28/types/group_0028.py index a5f5f6b6d..dad46d820 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0028.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0028.py @@ -28,6 +28,21 @@ class ServerStatisticsItemsType(TypedDict): packages_stats: NotRequired[ServerStatisticsPackagesType] +class ServerStatisticsItemsTypeForResponse(TypedDict): + """ServerStatisticsItems""" + + server_id: NotRequired[str] + collection_date: NotRequired[str] + schema_version: NotRequired[str] + ghes_version: NotRequired[str] + host_name: NotRequired[str] + github_connect: NotRequired[ServerStatisticsItemsPropGithubConnectTypeForResponse] + ghe_stats: NotRequired[ServerStatisticsItemsPropGheStatsTypeForResponse] + dormant_users: NotRequired[ServerStatisticsItemsPropDormantUsersTypeForResponse] + actions_stats: NotRequired[ServerStatisticsActionsTypeForResponse] + packages_stats: NotRequired[ServerStatisticsPackagesTypeForResponse] + + class ServerStatisticsActionsType(TypedDict): """ServerStatisticsActions @@ -39,12 +54,29 @@ class ServerStatisticsActionsType(TypedDict): percentage_of_repos_using_actions: NotRequired[str] +class ServerStatisticsActionsTypeForResponse(TypedDict): + """ServerStatisticsActions + + Actions metrics that are included in the Server Statistics payload/export from + GHES + """ + + number_of_repos_using_actions: NotRequired[int] + percentage_of_repos_using_actions: NotRequired[str] + + class ServerStatisticsItemsPropGithubConnectType(TypedDict): """ServerStatisticsItemsPropGithubConnect""" features_enabled: NotRequired[list[str]] +class ServerStatisticsItemsPropGithubConnectTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGithubConnect""" + + features_enabled: NotRequired[list[str]] + + class ServerStatisticsItemsPropDormantUsersType(TypedDict): """ServerStatisticsItemsPropDormantUsers""" @@ -52,6 +84,13 @@ class ServerStatisticsItemsPropDormantUsersType(TypedDict): dormancy_threshold: NotRequired[str] +class ServerStatisticsItemsPropDormantUsersTypeForResponse(TypedDict): + """ServerStatisticsItemsPropDormantUsers""" + + total_dormant_users: NotRequired[int] + dormancy_threshold: NotRequired[str] + + class ServerStatisticsPackagesType(TypedDict): """ServerStatisticsPackages @@ -64,6 +103,20 @@ class ServerStatisticsPackagesType(TypedDict): ecosystems: NotRequired[list[ServerStatisticsPackagesPropEcosystemsItemsType]] +class ServerStatisticsPackagesTypeForResponse(TypedDict): + """ServerStatisticsPackages + + Packages metrics that are included in the Server Statistics payload/export from + GHES + """ + + registry_enabled: NotRequired[bool] + registry_v2_enabled: NotRequired[bool] + ecosystems: NotRequired[ + list[ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse] + ] + + class ServerStatisticsPackagesPropEcosystemsItemsType(TypedDict): """ServerStatisticsPackagesPropEcosystemsItems""" @@ -83,6 +136,25 @@ class ServerStatisticsPackagesPropEcosystemsItemsType(TypedDict): daily_create_count: NotRequired[int] +class ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse(TypedDict): + """ServerStatisticsPackagesPropEcosystemsItems""" + + name: NotRequired[ + Literal["npm", "maven", "docker", "nuget", "rubygems", "containers"] + ] + enabled: NotRequired[Literal["TRUE", "FALSE", "READONLY"]] + published_packages_count: NotRequired[int] + private_packages_count: NotRequired[int] + public_packages_count: NotRequired[int] + internal_packages_count: NotRequired[int] + user_packages_count: NotRequired[int] + organization_packages_count: NotRequired[int] + daily_download_count: NotRequired[int] + daily_update_count: NotRequired[int] + daily_delete_count: NotRequired[int] + daily_create_count: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsType(TypedDict): """ServerStatisticsItemsPropGheStats""" @@ -98,6 +170,23 @@ class ServerStatisticsItemsPropGheStatsType(TypedDict): users: NotRequired[ServerStatisticsItemsPropGheStatsPropUsersType] +class ServerStatisticsItemsPropGheStatsTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStats""" + + comments: NotRequired[ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse] + gists: NotRequired[ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse] + hooks: NotRequired[ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse] + issues: NotRequired[ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse] + milestones: NotRequired[ + ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse + ] + orgs: NotRequired[ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse] + pages: NotRequired[ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse] + pulls: NotRequired[ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse] + repos: NotRequired[ServerStatisticsItemsPropGheStatsPropReposTypeForResponse] + users: NotRequired[ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse] + + class ServerStatisticsItemsPropGheStatsPropCommentsType(TypedDict): """ServerStatisticsItemsPropGheStatsPropComments""" @@ -107,6 +196,15 @@ class ServerStatisticsItemsPropGheStatsPropCommentsType(TypedDict): total_pull_request_comments: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropComments""" + + total_commit_comments: NotRequired[int] + total_gist_comments: NotRequired[int] + total_issue_comments: NotRequired[int] + total_pull_request_comments: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropGistsType(TypedDict): """ServerStatisticsItemsPropGheStatsPropGists""" @@ -115,6 +213,14 @@ class ServerStatisticsItemsPropGheStatsPropGistsType(TypedDict): public_gists: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropGists""" + + total_gists: NotRequired[int] + private_gists: NotRequired[int] + public_gists: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropHooksType(TypedDict): """ServerStatisticsItemsPropGheStatsPropHooks""" @@ -123,6 +229,14 @@ class ServerStatisticsItemsPropGheStatsPropHooksType(TypedDict): inactive_hooks: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropHooks""" + + total_hooks: NotRequired[int] + active_hooks: NotRequired[int] + inactive_hooks: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropIssuesType(TypedDict): """ServerStatisticsItemsPropGheStatsPropIssues""" @@ -131,6 +245,14 @@ class ServerStatisticsItemsPropGheStatsPropIssuesType(TypedDict): closed_issues: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropIssues""" + + total_issues: NotRequired[int] + open_issues: NotRequired[int] + closed_issues: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropMilestonesType(TypedDict): """ServerStatisticsItemsPropGheStatsPropMilestones""" @@ -139,6 +261,14 @@ class ServerStatisticsItemsPropGheStatsPropMilestonesType(TypedDict): closed_milestones: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropMilestones""" + + total_milestones: NotRequired[int] + open_milestones: NotRequired[int] + closed_milestones: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropOrgsType(TypedDict): """ServerStatisticsItemsPropGheStatsPropOrgs""" @@ -148,12 +278,27 @@ class ServerStatisticsItemsPropGheStatsPropOrgsType(TypedDict): total_team_members: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropOrgs""" + + total_orgs: NotRequired[int] + disabled_orgs: NotRequired[int] + total_teams: NotRequired[int] + total_team_members: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropPagesType(TypedDict): """ServerStatisticsItemsPropGheStatsPropPages""" total_pages: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropPages""" + + total_pages: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropPullsType(TypedDict): """ServerStatisticsItemsPropGheStatsPropPulls""" @@ -163,6 +308,15 @@ class ServerStatisticsItemsPropGheStatsPropPullsType(TypedDict): unmergeable_pulls: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropPulls""" + + total_pulls: NotRequired[int] + merged_pulls: NotRequired[int] + mergeable_pulls: NotRequired[int] + unmergeable_pulls: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropReposType(TypedDict): """ServerStatisticsItemsPropGheStatsPropRepos""" @@ -174,6 +328,17 @@ class ServerStatisticsItemsPropGheStatsPropReposType(TypedDict): total_wikis: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropReposTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropRepos""" + + total_repos: NotRequired[int] + root_repos: NotRequired[int] + fork_repos: NotRequired[int] + org_repos: NotRequired[int] + total_pushes: NotRequired[int] + total_wikis: NotRequired[int] + + class ServerStatisticsItemsPropGheStatsPropUsersType(TypedDict): """ServerStatisticsItemsPropGheStatsPropUsers""" @@ -182,22 +347,47 @@ class ServerStatisticsItemsPropGheStatsPropUsersType(TypedDict): suspended_users: NotRequired[int] +class ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse(TypedDict): + """ServerStatisticsItemsPropGheStatsPropUsers""" + + total_users: NotRequired[int] + admin_users: NotRequired[int] + suspended_users: NotRequired[int] + + __all__ = ( "ServerStatisticsActionsType", + "ServerStatisticsActionsTypeForResponse", "ServerStatisticsItemsPropDormantUsersType", + "ServerStatisticsItemsPropDormantUsersTypeForResponse", "ServerStatisticsItemsPropGheStatsPropCommentsType", + "ServerStatisticsItemsPropGheStatsPropCommentsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropGistsType", + "ServerStatisticsItemsPropGheStatsPropGistsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropHooksType", + "ServerStatisticsItemsPropGheStatsPropHooksTypeForResponse", "ServerStatisticsItemsPropGheStatsPropIssuesType", + "ServerStatisticsItemsPropGheStatsPropIssuesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropMilestonesType", + "ServerStatisticsItemsPropGheStatsPropMilestonesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropOrgsType", + "ServerStatisticsItemsPropGheStatsPropOrgsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropPagesType", + "ServerStatisticsItemsPropGheStatsPropPagesTypeForResponse", "ServerStatisticsItemsPropGheStatsPropPullsType", + "ServerStatisticsItemsPropGheStatsPropPullsTypeForResponse", "ServerStatisticsItemsPropGheStatsPropReposType", + "ServerStatisticsItemsPropGheStatsPropReposTypeForResponse", "ServerStatisticsItemsPropGheStatsPropUsersType", + "ServerStatisticsItemsPropGheStatsPropUsersTypeForResponse", "ServerStatisticsItemsPropGheStatsType", + "ServerStatisticsItemsPropGheStatsTypeForResponse", "ServerStatisticsItemsPropGithubConnectType", + "ServerStatisticsItemsPropGithubConnectTypeForResponse", "ServerStatisticsItemsType", + "ServerStatisticsItemsTypeForResponse", "ServerStatisticsPackagesPropEcosystemsItemsType", + "ServerStatisticsPackagesPropEcosystemsItemsTypeForResponse", "ServerStatisticsPackagesType", + "ServerStatisticsPackagesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0029.py b/githubkit/versions/ghec_v2022_11_28/types/group_0029.py index 1a6c81c93..55e79f95a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0029.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0029.py @@ -23,4 +23,18 @@ class EnterpriseAccessRestrictionsType(TypedDict): header_value: str -__all__ = ("EnterpriseAccessRestrictionsType",) +class EnterpriseAccessRestrictionsTypeForResponse(TypedDict): + """Enterprise Access Restrictions + + Information about the enterprise access restrictions proxy header. + """ + + message: str + header_name: str + header_value: str + + +__all__ = ( + "EnterpriseAccessRestrictionsType", + "EnterpriseAccessRestrictionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0030.py b/githubkit/versions/ghec_v2022_11_28/types/group_0030.py index a41742c81..2267d907e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0030.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0030.py @@ -19,4 +19,14 @@ class ActionsCacheUsageOrgEnterpriseType(TypedDict): total_active_caches_size_in_bytes: int -__all__ = ("ActionsCacheUsageOrgEnterpriseType",) +class ActionsCacheUsageOrgEnterpriseTypeForResponse(TypedDict): + """ActionsCacheUsageOrgEnterprise""" + + total_active_caches_count: int + total_active_caches_size_in_bytes: int + + +__all__ = ( + "ActionsCacheUsageOrgEnterpriseType", + "ActionsCacheUsageOrgEnterpriseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0031.py b/githubkit/versions/ghec_v2022_11_28/types/group_0031.py index a22762330..050357ac8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0031.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0031.py @@ -24,4 +24,19 @@ class ActionsHostedRunnerMachineSpecType(TypedDict): storage_gb: int -__all__ = ("ActionsHostedRunnerMachineSpecType",) +class ActionsHostedRunnerMachineSpecTypeForResponse(TypedDict): + """Github-owned VM details. + + Provides details of a particular machine spec. + """ + + id: str + cpu_cores: int + memory_gb: int + storage_gb: int + + +__all__ = ( + "ActionsHostedRunnerMachineSpecType", + "ActionsHostedRunnerMachineSpecTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0032.py b/githubkit/versions/ghec_v2022_11_28/types/group_0032.py index d3ca99431..4d49f785f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0032.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0032.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0031 import ActionsHostedRunnerMachineSpecType +from .group_0031 import ( + ActionsHostedRunnerMachineSpecType, + ActionsHostedRunnerMachineSpecTypeForResponse, +) class ActionsHostedRunnerType(TypedDict): @@ -36,6 +39,26 @@ class ActionsHostedRunnerType(TypedDict): image_gen: NotRequired[bool] +class ActionsHostedRunnerTypeForResponse(TypedDict): + """GitHub-hosted hosted runner + + A Github-hosted hosted runner. + """ + + id: int + name: str + runner_group_id: NotRequired[int] + image_details: Union[None, ActionsHostedRunnerPoolImageTypeForResponse] + machine_size_details: ActionsHostedRunnerMachineSpecTypeForResponse + status: Literal["Ready", "Provisioning", "Shutdown", "Deleting", "Stuck"] + platform: str + maximum_runners: NotRequired[int] + public_ip_enabled: bool + public_ips: NotRequired[list[PublicIpTypeForResponse]] + last_active_on: NotRequired[Union[str, None]] + image_gen: NotRequired[bool] + + class ActionsHostedRunnerPoolImageType(TypedDict): """GitHub-hosted runner image details. @@ -49,6 +72,19 @@ class ActionsHostedRunnerPoolImageType(TypedDict): version: NotRequired[str] +class ActionsHostedRunnerPoolImageTypeForResponse(TypedDict): + """GitHub-hosted runner image details. + + Provides details of a hosted runner image + """ + + id: str + size_gb: int + display_name: str + source: Literal["github", "partner", "custom"] + version: NotRequired[str] + + class PublicIpType(TypedDict): """Public IP for a GitHub-hosted larger runners. @@ -60,8 +96,22 @@ class PublicIpType(TypedDict): length: NotRequired[int] +class PublicIpTypeForResponse(TypedDict): + """Public IP for a GitHub-hosted larger runners. + + Provides details of Public IP for a GitHub-hosted larger runners + """ + + enabled: NotRequired[bool] + prefix: NotRequired[str] + length: NotRequired[int] + + __all__ = ( "ActionsHostedRunnerPoolImageType", + "ActionsHostedRunnerPoolImageTypeForResponse", "ActionsHostedRunnerType", + "ActionsHostedRunnerTypeForResponse", "PublicIpType", + "PublicIpTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0033.py b/githubkit/versions/ghec_v2022_11_28/types/group_0033.py index 3cbc4b728..60428e7b5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0033.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0033.py @@ -28,4 +28,23 @@ class ActionsHostedRunnerCustomImageType(TypedDict): state: str -__all__ = ("ActionsHostedRunnerCustomImageType",) +class ActionsHostedRunnerCustomImageTypeForResponse(TypedDict): + """GitHub-hosted runner custom image details + + Provides details of a custom runner image + """ + + id: int + platform: str + total_versions_size: int + name: str + source: str + versions_count: int + latest_version: str + state: str + + +__all__ = ( + "ActionsHostedRunnerCustomImageType", + "ActionsHostedRunnerCustomImageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0034.py b/githubkit/versions/ghec_v2022_11_28/types/group_0034.py index e866e6053..d553e78c9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0034.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0034.py @@ -25,4 +25,20 @@ class ActionsHostedRunnerCustomImageVersionType(TypedDict): state_details: str -__all__ = ("ActionsHostedRunnerCustomImageVersionType",) +class ActionsHostedRunnerCustomImageVersionTypeForResponse(TypedDict): + """GitHub-hosted runner custom image version details. + + Provides details of a hosted runner custom image version + """ + + version: str + state: str + size_gb: int + created_on: str + state_details: str + + +__all__ = ( + "ActionsHostedRunnerCustomImageVersionType", + "ActionsHostedRunnerCustomImageVersionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0035.py b/githubkit/versions/ghec_v2022_11_28/types/group_0035.py index a356719fb..45375d8d8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0035.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0035.py @@ -26,4 +26,20 @@ class ActionsHostedRunnerCuratedImageType(TypedDict): source: Literal["github", "partner", "custom"] -__all__ = ("ActionsHostedRunnerCuratedImageType",) +class ActionsHostedRunnerCuratedImageTypeForResponse(TypedDict): + """GitHub-hosted runner image details. + + Provides details of a hosted runner image + """ + + id: str + platform: str + size_gb: int + display_name: str + source: Literal["github", "partner", "custom"] + + +__all__ = ( + "ActionsHostedRunnerCuratedImageType", + "ActionsHostedRunnerCuratedImageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0036.py b/githubkit/versions/ghec_v2022_11_28/types/group_0036.py index 7fbef21bb..2db5948ca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0036.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0036.py @@ -18,6 +18,12 @@ class ActionsHostedRunnerLimitsType(TypedDict): public_ips: ActionsHostedRunnerLimitsPropPublicIpsType +class ActionsHostedRunnerLimitsTypeForResponse(TypedDict): + """ActionsHostedRunnerLimits""" + + public_ips: ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse + + class ActionsHostedRunnerLimitsPropPublicIpsType(TypedDict): """Static public IP Limits for GitHub-hosted Hosted Runners. @@ -28,7 +34,19 @@ class ActionsHostedRunnerLimitsPropPublicIpsType(TypedDict): current_usage: int +class ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse(TypedDict): + """Static public IP Limits for GitHub-hosted Hosted Runners. + + Provides details of static public IP limits for GitHub-hosted Hosted Runners + """ + + maximum: int + current_usage: int + + __all__ = ( "ActionsHostedRunnerLimitsPropPublicIpsType", + "ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse", "ActionsHostedRunnerLimitsType", + "ActionsHostedRunnerLimitsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0037.py b/githubkit/versions/ghec_v2022_11_28/types/group_0037.py index 7ce502a64..6cc912d81 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0037.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0037.py @@ -18,4 +18,13 @@ class ActionsOidcCustomIssuerPolicyForEnterpriseType(TypedDict): include_enterprise_slug: NotRequired[bool] -__all__ = ("ActionsOidcCustomIssuerPolicyForEnterpriseType",) +class ActionsOidcCustomIssuerPolicyForEnterpriseTypeForResponse(TypedDict): + """ActionsOidcCustomIssuerPolicyForEnterprise""" + + include_enterprise_slug: NotRequired[bool] + + +__all__ = ( + "ActionsOidcCustomIssuerPolicyForEnterpriseType", + "ActionsOidcCustomIssuerPolicyForEnterpriseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0038.py b/githubkit/versions/ghec_v2022_11_28/types/group_0038.py index 4f4f4e7f7..2eea3498c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0038.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0038.py @@ -23,4 +23,17 @@ class ActionsEnterprisePermissionsType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ActionsEnterprisePermissionsType",) +class ActionsEnterprisePermissionsTypeForResponse(TypedDict): + """ActionsEnterprisePermissions""" + + enabled_organizations: Literal["all", "none", "selected"] + selected_organizations_url: NotRequired[str] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + selected_actions_url: NotRequired[str] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ActionsEnterprisePermissionsType", + "ActionsEnterprisePermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0039.py b/githubkit/versions/ghec_v2022_11_28/types/group_0039.py index 031b906b4..e46bf99ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0039.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0039.py @@ -19,4 +19,14 @@ class ActionsArtifactAndLogRetentionResponseType(TypedDict): maximum_allowed_days: int -__all__ = ("ActionsArtifactAndLogRetentionResponseType",) +class ActionsArtifactAndLogRetentionResponseTypeForResponse(TypedDict): + """ActionsArtifactAndLogRetentionResponse""" + + days: int + maximum_allowed_days: int + + +__all__ = ( + "ActionsArtifactAndLogRetentionResponseType", + "ActionsArtifactAndLogRetentionResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0040.py b/githubkit/versions/ghec_v2022_11_28/types/group_0040.py index a0586bfe4..b040068b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0040.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0040.py @@ -18,4 +18,13 @@ class ActionsArtifactAndLogRetentionType(TypedDict): days: int -__all__ = ("ActionsArtifactAndLogRetentionType",) +class ActionsArtifactAndLogRetentionTypeForResponse(TypedDict): + """ActionsArtifactAndLogRetention""" + + days: int + + +__all__ = ( + "ActionsArtifactAndLogRetentionType", + "ActionsArtifactAndLogRetentionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0041.py b/githubkit/versions/ghec_v2022_11_28/types/group_0041.py index 7f4d586b8..8544502a7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0041.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0041.py @@ -23,4 +23,17 @@ class ActionsForkPrContributorApprovalType(TypedDict): ] -__all__ = ("ActionsForkPrContributorApprovalType",) +class ActionsForkPrContributorApprovalTypeForResponse(TypedDict): + """ActionsForkPrContributorApproval""" + + approval_policy: Literal[ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors", + ] + + +__all__ = ( + "ActionsForkPrContributorApprovalType", + "ActionsForkPrContributorApprovalTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0042.py b/githubkit/versions/ghec_v2022_11_28/types/group_0042.py index ad4c02b75..231f9bbc2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0042.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0042.py @@ -21,4 +21,16 @@ class ActionsForkPrWorkflowsPrivateReposType(TypedDict): require_approval_for_fork_pr_workflows: bool -__all__ = ("ActionsForkPrWorkflowsPrivateReposType",) +class ActionsForkPrWorkflowsPrivateReposTypeForResponse(TypedDict): + """ActionsForkPrWorkflowsPrivateRepos""" + + run_workflows_from_fork_pull_requests: bool + send_write_tokens_to_workflows: bool + send_secrets_and_variables: bool + require_approval_for_fork_pr_workflows: bool + + +__all__ = ( + "ActionsForkPrWorkflowsPrivateReposType", + "ActionsForkPrWorkflowsPrivateReposTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0043.py b/githubkit/versions/ghec_v2022_11_28/types/group_0043.py index 89ae511cb..4cfdd0a68 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0043.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0043.py @@ -21,4 +21,16 @@ class ActionsForkPrWorkflowsPrivateReposRequestType(TypedDict): require_approval_for_fork_pr_workflows: NotRequired[bool] -__all__ = ("ActionsForkPrWorkflowsPrivateReposRequestType",) +class ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse(TypedDict): + """ActionsForkPrWorkflowsPrivateReposRequest""" + + run_workflows_from_fork_pull_requests: bool + send_write_tokens_to_workflows: NotRequired[bool] + send_secrets_and_variables: NotRequired[bool] + require_approval_for_fork_pr_workflows: NotRequired[bool] + + +__all__ = ( + "ActionsForkPrWorkflowsPrivateReposRequestType", + "ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0044.py b/githubkit/versions/ghec_v2022_11_28/types/group_0044.py index 4b96a4953..a2015d193 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0044.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0044.py @@ -33,4 +33,27 @@ class OrganizationSimpleType(TypedDict): description: Union[str, None] -__all__ = ("OrganizationSimpleType",) +class OrganizationSimpleTypeForResponse(TypedDict): + """Organization Simple + + A GitHub organization. + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + + +__all__ = ( + "OrganizationSimpleType", + "OrganizationSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0045.py b/githubkit/versions/ghec_v2022_11_28/types/group_0045.py index 7abe76199..faba8086e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0045.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0045.py @@ -20,4 +20,15 @@ class SelectedActionsType(TypedDict): patterns_allowed: NotRequired[list[str]] -__all__ = ("SelectedActionsType",) +class SelectedActionsTypeForResponse(TypedDict): + """SelectedActions""" + + github_owned_allowed: NotRequired[bool] + verified_allowed: NotRequired[bool] + patterns_allowed: NotRequired[list[str]] + + +__all__ = ( + "SelectedActionsType", + "SelectedActionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0046.py b/githubkit/versions/ghec_v2022_11_28/types/group_0046.py index 87512f917..4a46bcf5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0046.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0046.py @@ -20,4 +20,14 @@ class ActionsGetDefaultWorkflowPermissionsType(TypedDict): can_approve_pull_request_reviews: bool -__all__ = ("ActionsGetDefaultWorkflowPermissionsType",) +class ActionsGetDefaultWorkflowPermissionsTypeForResponse(TypedDict): + """ActionsGetDefaultWorkflowPermissions""" + + default_workflow_permissions: Literal["read", "write"] + can_approve_pull_request_reviews: bool + + +__all__ = ( + "ActionsGetDefaultWorkflowPermissionsType", + "ActionsGetDefaultWorkflowPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0047.py b/githubkit/versions/ghec_v2022_11_28/types/group_0047.py index 0e0c798a4..768855370 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0047.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0047.py @@ -20,4 +20,14 @@ class ActionsSetDefaultWorkflowPermissionsType(TypedDict): can_approve_pull_request_reviews: NotRequired[bool] -__all__ = ("ActionsSetDefaultWorkflowPermissionsType",) +class ActionsSetDefaultWorkflowPermissionsTypeForResponse(TypedDict): + """ActionsSetDefaultWorkflowPermissions""" + + default_workflow_permissions: NotRequired[Literal["read", "write"]] + can_approve_pull_request_reviews: NotRequired[bool] + + +__all__ = ( + "ActionsSetDefaultWorkflowPermissionsType", + "ActionsSetDefaultWorkflowPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0048.py b/githubkit/versions/ghec_v2022_11_28/types/group_0048.py index aab282720..493400957 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0048.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0048.py @@ -24,4 +24,18 @@ class RunnerLabelType(TypedDict): type: NotRequired[Literal["read-only", "custom"]] -__all__ = ("RunnerLabelType",) +class RunnerLabelTypeForResponse(TypedDict): + """Self hosted runner label + + A label for a self hosted runner + """ + + id: NotRequired[int] + name: str + type: NotRequired[Literal["read-only", "custom"]] + + +__all__ = ( + "RunnerLabelType", + "RunnerLabelTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0049.py b/githubkit/versions/ghec_v2022_11_28/types/group_0049.py index ab27abb41..c555e384e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0049.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0049.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0048 import RunnerLabelType +from .group_0048 import RunnerLabelType, RunnerLabelTypeForResponse class RunnerType(TypedDict): @@ -30,4 +30,23 @@ class RunnerType(TypedDict): ephemeral: NotRequired[bool] -__all__ = ("RunnerType",) +class RunnerTypeForResponse(TypedDict): + """Self hosted runners + + A self hosted runner + """ + + id: int + runner_group_id: NotRequired[int] + name: str + os: str + status: str + busy: bool + labels: list[RunnerLabelTypeForResponse] + ephemeral: NotRequired[bool] + + +__all__ = ( + "RunnerType", + "RunnerTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0050.py b/githubkit/versions/ghec_v2022_11_28/types/group_0050.py index c8ef6e908..18d5627d7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0050.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0050.py @@ -26,4 +26,21 @@ class RunnerApplicationType(TypedDict): sha256_checksum: NotRequired[str] -__all__ = ("RunnerApplicationType",) +class RunnerApplicationTypeForResponse(TypedDict): + """Runner Application + + Runner Application + """ + + os: str + architecture: str + download_url: str + filename: str + temp_download_token: NotRequired[str] + sha256_checksum: NotRequired[str] + + +__all__ = ( + "RunnerApplicationType", + "RunnerApplicationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0051.py b/githubkit/versions/ghec_v2022_11_28/types/group_0051.py index b1d20d9db..692402933 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0051.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0051.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class AuthenticationTokenType(TypedDict): @@ -30,6 +30,20 @@ class AuthenticationTokenType(TypedDict): repository_selection: NotRequired[Literal["all", "selected"]] +class AuthenticationTokenTypeForResponse(TypedDict): + """Authentication Token + + Authentication Token + """ + + token: str + expires_at: str + permissions: NotRequired[AuthenticationTokenPropPermissionsTypeForResponse] + repositories: NotRequired[list[RepositoryTypeForResponse]] + single_file: NotRequired[Union[str, None]] + repository_selection: NotRequired[Literal["all", "selected"]] + + class AuthenticationTokenPropPermissionsType(TypedDict): """AuthenticationTokenPropPermissions @@ -38,7 +52,17 @@ class AuthenticationTokenPropPermissionsType(TypedDict): """ +class AuthenticationTokenPropPermissionsTypeForResponse(TypedDict): + """AuthenticationTokenPropPermissions + + Examples: + {'issues': 'read', 'deployments': 'write'} + """ + + __all__ = ( "AuthenticationTokenPropPermissionsType", + "AuthenticationTokenPropPermissionsTypeForResponse", "AuthenticationTokenType", + "AuthenticationTokenTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0052.py b/githubkit/versions/ghec_v2022_11_28/types/group_0052.py index c672f9618..5d42184cf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0052.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0052.py @@ -25,4 +25,18 @@ class AnnouncementBannerType(TypedDict): user_dismissible: Union[bool, None] -__all__ = ("AnnouncementBannerType",) +class AnnouncementBannerTypeForResponse(TypedDict): + """Announcement Banner + + Announcement at either the repository, organization, or enterprise level + """ + + announcement: Union[str, None] + expires_at: Union[str, None] + user_dismissible: Union[bool, None] + + +__all__ = ( + "AnnouncementBannerType", + "AnnouncementBannerTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0053.py b/githubkit/versions/ghec_v2022_11_28/types/group_0053.py index 264ce81bc..83f21971c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0053.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0053.py @@ -25,4 +25,18 @@ class AnnouncementType(TypedDict): user_dismissible: NotRequired[Union[bool, None]] -__all__ = ("AnnouncementType",) +class AnnouncementTypeForResponse(TypedDict): + """Enterprise Announcement + + Enterprise global announcement + """ + + announcement: Union[str, None] + expires_at: NotRequired[Union[str, None]] + user_dismissible: NotRequired[Union[bool, None]] + + +__all__ = ( + "AnnouncementType", + "AnnouncementTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0054.py b/githubkit/versions/ghec_v2022_11_28/types/group_0054.py index 48189cf1c..1156609eb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0054.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0054.py @@ -23,4 +23,18 @@ class InstallableOrganizationType(TypedDict): accessible_repositories_url: NotRequired[str] -__all__ = ("InstallableOrganizationType",) +class InstallableOrganizationTypeForResponse(TypedDict): + """Installable Organization + + A GitHub organization on which a GitHub App can be installed. + """ + + id: int + login: str + accessible_repositories_url: NotRequired[str] + + +__all__ = ( + "InstallableOrganizationType", + "InstallableOrganizationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0055.py b/githubkit/versions/ghec_v2022_11_28/types/group_0055.py index b89aa4ef9..2e4a43f57 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0055.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0055.py @@ -23,4 +23,18 @@ class AccessibleRepositoryType(TypedDict): full_name: str -__all__ = ("AccessibleRepositoryType",) +class AccessibleRepositoryTypeForResponse(TypedDict): + """Accessible Repository + + A repository that may be made accessible to a GitHub App. + """ + + id: int + name: str + full_name: str + + +__all__ = ( + "AccessibleRepositoryType", + "AccessibleRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0056.py b/githubkit/versions/ghec_v2022_11_28/types/group_0056.py index 71522e946..3c87f0bcd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0056.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0056.py @@ -13,7 +13,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class EnterpriseOrganizationInstallationType(TypedDict): @@ -33,4 +33,24 @@ class EnterpriseOrganizationInstallationType(TypedDict): updated_at: datetime -__all__ = ("EnterpriseOrganizationInstallationType",) +class EnterpriseOrganizationInstallationTypeForResponse(TypedDict): + """Enterprise Organization Installation + + A GitHub App Installation on an enterprise-owned organization + """ + + id: int + app_slug: NotRequired[str] + client_id: str + repository_selection: Literal["all", "selected"] + repositories_url: str + permissions: AppPermissionsTypeForResponse + events: NotRequired[list[str]] + created_at: str + updated_at: str + + +__all__ = ( + "EnterpriseOrganizationInstallationType", + "EnterpriseOrganizationInstallationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0057.py b/githubkit/versions/ghec_v2022_11_28/types/group_0057.py index 680fad4a9..1e1903afb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0057.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0057.py @@ -61,39 +61,121 @@ class AuditLogEventType(TypedDict): visibility: NotRequired[str] +class AuditLogEventTypeForResponse(TypedDict): + """AuditLogEvent""" + + timestamp: NotRequired[int] + action: NotRequired[str] + active: NotRequired[bool] + active_was: NotRequired[bool] + actor: NotRequired[str] + actor_id: NotRequired[int] + actor_location: NotRequired[AuditLogEventPropActorLocationTypeForResponse] + data: NotRequired[AuditLogEventPropDataTypeForResponse] + org_id: NotRequired[int] + user_id: NotRequired[int] + business_id: NotRequired[int] + blocked_user: NotRequired[str] + business: NotRequired[str] + config: NotRequired[list[AuditLogEventPropConfigItemsTypeForResponse]] + config_was: NotRequired[list[AuditLogEventPropConfigWasItemsTypeForResponse]] + content_type: NotRequired[str] + operation_type: NotRequired[str] + created_at: NotRequired[int] + deploy_key_fingerprint: NotRequired[str] + document_id: NotRequired[str] + emoji: NotRequired[str] + events: NotRequired[list[AuditLogEventPropEventsItemsTypeForResponse]] + events_were: NotRequired[list[AuditLogEventPropEventsWereItemsTypeForResponse]] + explanation: NotRequired[str] + fingerprint: NotRequired[str] + hook_id: NotRequired[int] + limited_availability: NotRequired[bool] + message: NotRequired[str] + name: NotRequired[str] + old_user: NotRequired[str] + openssh_public_key: NotRequired[str] + org: NotRequired[str] + previous_visibility: NotRequired[str] + read_only: NotRequired[bool] + repo: NotRequired[str] + repository: NotRequired[str] + repository_public: NotRequired[bool] + target_login: NotRequired[str] + team: NotRequired[str] + transport_protocol: NotRequired[int] + transport_protocol_name: NotRequired[str] + user: NotRequired[str] + visibility: NotRequired[str] + + class AuditLogEventPropActorLocationType(TypedDict): """AuditLogEventPropActorLocation""" country_name: NotRequired[str] +class AuditLogEventPropActorLocationTypeForResponse(TypedDict): + """AuditLogEventPropActorLocation""" + + country_name: NotRequired[str] + + AuditLogEventPropDataType: TypeAlias = dict[str, Any] """AuditLogEventPropData """ +AuditLogEventPropDataTypeForResponse: TypeAlias = dict[str, Any] +"""AuditLogEventPropData +""" + + class AuditLogEventPropConfigItemsType(TypedDict): """AuditLogEventPropConfigItems""" +class AuditLogEventPropConfigItemsTypeForResponse(TypedDict): + """AuditLogEventPropConfigItems""" + + class AuditLogEventPropConfigWasItemsType(TypedDict): """AuditLogEventPropConfigWasItems""" +class AuditLogEventPropConfigWasItemsTypeForResponse(TypedDict): + """AuditLogEventPropConfigWasItems""" + + class AuditLogEventPropEventsItemsType(TypedDict): """AuditLogEventPropEventsItems""" +class AuditLogEventPropEventsItemsTypeForResponse(TypedDict): + """AuditLogEventPropEventsItems""" + + class AuditLogEventPropEventsWereItemsType(TypedDict): """AuditLogEventPropEventsWereItems""" +class AuditLogEventPropEventsWereItemsTypeForResponse(TypedDict): + """AuditLogEventPropEventsWereItems""" + + __all__ = ( "AuditLogEventPropActorLocationType", + "AuditLogEventPropActorLocationTypeForResponse", "AuditLogEventPropConfigItemsType", + "AuditLogEventPropConfigItemsTypeForResponse", "AuditLogEventPropConfigWasItemsType", + "AuditLogEventPropConfigWasItemsTypeForResponse", "AuditLogEventPropDataType", + "AuditLogEventPropDataTypeForResponse", "AuditLogEventPropEventsItemsType", + "AuditLogEventPropEventsItemsTypeForResponse", "AuditLogEventPropEventsWereItemsType", + "AuditLogEventPropEventsWereItemsTypeForResponse", "AuditLogEventType", + "AuditLogEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0058.py b/githubkit/versions/ghec_v2022_11_28/types/group_0058.py index 0c2cffcc8..abf591f6c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0058.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0058.py @@ -22,4 +22,17 @@ class AuditLogStreamKeyType(TypedDict): key: str -__all__ = ("AuditLogStreamKeyType",) +class AuditLogStreamKeyTypeForResponse(TypedDict): + """stream-key + + Audit Log Streaming Public Key + """ + + key_id: str + key: str + + +__all__ = ( + "AuditLogStreamKeyType", + "AuditLogStreamKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0059.py b/githubkit/versions/ghec_v2022_11_28/types/group_0059.py index 2b6915e63..cb45e3572 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0059.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0059.py @@ -26,4 +26,19 @@ class GetAuditLogStreamConfigsItemsType(TypedDict): paused_at: NotRequired[Union[datetime, None]] -__all__ = ("GetAuditLogStreamConfigsItemsType",) +class GetAuditLogStreamConfigsItemsTypeForResponse(TypedDict): + """GetAuditLogStreamConfigsItems""" + + id: NotRequired[int] + stream_type: NotRequired[str] + stream_details: NotRequired[str] + enabled: NotRequired[bool] + created_at: NotRequired[str] + updated_at: NotRequired[str] + paused_at: NotRequired[Union[str, None]] + + +__all__ = ( + "GetAuditLogStreamConfigsItemsType", + "GetAuditLogStreamConfigsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0060.py b/githubkit/versions/ghec_v2022_11_28/types/group_0060.py index 315b4d2f9..55f72c8ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0060.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0060.py @@ -24,6 +24,17 @@ class AzureBlobConfigType(TypedDict): container: str +class AzureBlobConfigTypeForResponse(TypedDict): + """AzureBlobConfig + + Azure Blob Config for audit log streaming configuration. + """ + + key_id: str + encrypted_sas_url: str + container: str + + class AzureHubConfigType(TypedDict): """AzureHubConfig @@ -35,6 +46,17 @@ class AzureHubConfigType(TypedDict): key_id: str +class AzureHubConfigTypeForResponse(TypedDict): + """AzureHubConfig + + Azure Event Hubs Config for audit log streaming configuration. + """ + + name: str + encrypted_connstring: str + key_id: str + + class AmazonS3AccessKeysConfigType(TypedDict): """AmazonS3AccessKeysConfig @@ -49,6 +71,20 @@ class AmazonS3AccessKeysConfigType(TypedDict): encrypted_access_key_id: str +class AmazonS3AccessKeysConfigTypeForResponse(TypedDict): + """AmazonS3AccessKeysConfig + + Amazon S3 Access Keys Config for audit log streaming configuration. + """ + + bucket: str + region: str + key_id: str + authentication_type: Literal["access_keys"] + encrypted_secret_key: str + encrypted_access_key_id: str + + class HecConfigType(TypedDict): """HecConfig @@ -63,6 +99,20 @@ class HecConfigType(TypedDict): ssl_verify: bool +class HecConfigTypeForResponse(TypedDict): + """HecConfig + + Hec Config for Audit Log Stream Configuration + """ + + domain: str + port: int + key_id: str + encrypted_token: str + path: str + ssl_verify: bool + + class DatadogConfigType(TypedDict): """DatadogConfig @@ -74,10 +124,26 @@ class DatadogConfigType(TypedDict): key_id: str +class DatadogConfigTypeForResponse(TypedDict): + """DatadogConfig + + Datadog Config for audit log streaming configuration. + """ + + encrypted_token: str + site: Literal["US", "US3", "US5", "EU1", "US1-FED", "AP1"] + key_id: str + + __all__ = ( "AmazonS3AccessKeysConfigType", + "AmazonS3AccessKeysConfigTypeForResponse", "AzureBlobConfigType", + "AzureBlobConfigTypeForResponse", "AzureHubConfigType", + "AzureHubConfigTypeForResponse", "DatadogConfigType", + "DatadogConfigTypeForResponse", "HecConfigType", + "HecConfigTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0061.py b/githubkit/versions/ghec_v2022_11_28/types/group_0061.py index 32193aa1a..7ebf65157 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0061.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0061.py @@ -26,6 +26,19 @@ class AmazonS3OidcConfigType(TypedDict): arn_role: str +class AmazonS3OidcConfigTypeForResponse(TypedDict): + """AmazonS3OIDCConfig + + Amazon S3 OIDC Config for audit log streaming configuration. + """ + + bucket: str + region: str + key_id: str + authentication_type: Literal["oidc"] + arn_role: str + + class SplunkConfigType(TypedDict): """SplunkConfig @@ -39,7 +52,22 @@ class SplunkConfigType(TypedDict): ssl_verify: bool +class SplunkConfigTypeForResponse(TypedDict): + """SplunkConfig + + Splunk Config for Audit Log Stream Configuration + """ + + domain: str + port: int + key_id: str + encrypted_token: str + ssl_verify: bool + + __all__ = ( "AmazonS3OidcConfigType", + "AmazonS3OidcConfigTypeForResponse", "SplunkConfigType", + "SplunkConfigTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0062.py b/githubkit/versions/ghec_v2022_11_28/types/group_0062.py index 2cf2b442a..fa7556d23 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0062.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0062.py @@ -23,4 +23,18 @@ class GoogleCloudConfigType(TypedDict): encrypted_json_credentials: str -__all__ = ("GoogleCloudConfigType",) +class GoogleCloudConfigTypeForResponse(TypedDict): + """GoogleCloudConfig + + Google Cloud Config for audit log streaming configuration. + """ + + bucket: str + key_id: str + encrypted_json_credentials: str + + +__all__ = ( + "GoogleCloudConfigType", + "GoogleCloudConfigTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0063.py b/githubkit/versions/ghec_v2022_11_28/types/group_0063.py index a34fe54b2..723361157 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0063.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0063.py @@ -29,4 +29,22 @@ class GetAuditLogStreamConfigType(TypedDict): paused_at: NotRequired[Union[datetime, None]] -__all__ = ("GetAuditLogStreamConfigType",) +class GetAuditLogStreamConfigTypeForResponse(TypedDict): + """Get an audit log streaming configuration + + Get an audit log streaming configuration for an enterprise. + """ + + id: int + stream_type: str + stream_details: str + enabled: bool + created_at: str + updated_at: str + paused_at: NotRequired[Union[str, None]] + + +__all__ = ( + "GetAuditLogStreamConfigType", + "GetAuditLogStreamConfigTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0064.py b/githubkit/versions/ghec_v2022_11_28/types/group_0064.py index db6beb1f8..79fcb1a0a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0064.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0064.py @@ -26,6 +26,18 @@ class BypassResponseType(TypedDict): created_at: NotRequired[datetime] +class BypassResponseTypeForResponse(TypedDict): + """Bypass response + + A response made by a delegated bypasser to a bypass request. + """ + + id: NotRequired[int] + reviewer: NotRequired[BypassResponsePropReviewerTypeForResponse] + status: NotRequired[Literal["approved", "denied", "dismissed"]] + created_at: NotRequired[str] + + class BypassResponsePropReviewerType(TypedDict): """BypassResponsePropReviewer @@ -36,7 +48,19 @@ class BypassResponsePropReviewerType(TypedDict): actor_name: NotRequired[str] +class BypassResponsePropReviewerTypeForResponse(TypedDict): + """BypassResponsePropReviewer + + The user who reviewed the bypass request. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + __all__ = ( "BypassResponsePropReviewerType", + "BypassResponsePropReviewerTypeForResponse", "BypassResponseType", + "BypassResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0065.py b/githubkit/versions/ghec_v2022_11_28/types/group_0065.py index 2c92139e8..059c8dadb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0065.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0065.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0064 import BypassResponseType +from .group_0064 import BypassResponseType, BypassResponseTypeForResponse class PushRuleBypassRequestType(TypedDict): @@ -51,6 +51,43 @@ class PushRuleBypassRequestType(TypedDict): html_url: NotRequired[str] +class PushRuleBypassRequestTypeForResponse(TypedDict): + """Push rule bypass request + + A bypass request made by a user asking to be exempted from a push rule in this + repository. + """ + + id: NotRequired[int] + number: NotRequired[int] + repository: NotRequired[PushRuleBypassRequestPropRepositoryTypeForResponse] + organization: NotRequired[PushRuleBypassRequestPropOrganizationTypeForResponse] + requester: NotRequired[PushRuleBypassRequestPropRequesterTypeForResponse] + request_type: NotRequired[str] + data: NotRequired[ + Union[list[PushRuleBypassRequestPropDataItemsTypeForResponse], None] + ] + resource_identifier: NotRequired[str] + status: NotRequired[ + Literal[ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "deleted", + "open", + ] + ] + requester_comment: NotRequired[Union[str, None]] + expires_at: NotRequired[str] + created_at: NotRequired[str] + responses: NotRequired[Union[list[BypassResponseTypeForResponse], None]] + url: NotRequired[str] + html_url: NotRequired[str] + + class PushRuleBypassRequestPropRepositoryType(TypedDict): """PushRuleBypassRequestPropRepository @@ -62,6 +99,17 @@ class PushRuleBypassRequestPropRepositoryType(TypedDict): full_name: NotRequired[Union[str, None]] +class PushRuleBypassRequestPropRepositoryTypeForResponse(TypedDict): + """PushRuleBypassRequestPropRepository + + The repository the bypass request is for. + """ + + id: NotRequired[Union[int, None]] + name: NotRequired[Union[str, None]] + full_name: NotRequired[Union[str, None]] + + class PushRuleBypassRequestPropOrganizationType(TypedDict): """PushRuleBypassRequestPropOrganization @@ -72,6 +120,16 @@ class PushRuleBypassRequestPropOrganizationType(TypedDict): name: NotRequired[Union[str, None]] +class PushRuleBypassRequestPropOrganizationTypeForResponse(TypedDict): + """PushRuleBypassRequestPropOrganization + + The organization associated with the repository the bypass request is for. + """ + + id: NotRequired[Union[int, None]] + name: NotRequired[Union[str, None]] + + class PushRuleBypassRequestPropRequesterType(TypedDict): """PushRuleBypassRequestPropRequester @@ -82,6 +140,16 @@ class PushRuleBypassRequestPropRequesterType(TypedDict): actor_name: NotRequired[str] +class PushRuleBypassRequestPropRequesterTypeForResponse(TypedDict): + """PushRuleBypassRequestPropRequester + + The user who requested the bypass. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + class PushRuleBypassRequestPropDataItemsType(TypedDict): """PushRuleBypassRequestPropDataItems""" @@ -91,10 +159,24 @@ class PushRuleBypassRequestPropDataItemsType(TypedDict): rule_type: NotRequired[str] +class PushRuleBypassRequestPropDataItemsTypeForResponse(TypedDict): + """PushRuleBypassRequestPropDataItems""" + + ruleset_id: NotRequired[int] + ruleset_name: NotRequired[str] + total_violations: NotRequired[int] + rule_type: NotRequired[str] + + __all__ = ( "PushRuleBypassRequestPropDataItemsType", + "PushRuleBypassRequestPropDataItemsTypeForResponse", "PushRuleBypassRequestPropOrganizationType", + "PushRuleBypassRequestPropOrganizationTypeForResponse", "PushRuleBypassRequestPropRepositoryType", + "PushRuleBypassRequestPropRepositoryTypeForResponse", "PushRuleBypassRequestPropRequesterType", + "PushRuleBypassRequestPropRequesterTypeForResponse", "PushRuleBypassRequestType", + "PushRuleBypassRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0066.py b/githubkit/versions/ghec_v2022_11_28/types/group_0066.py index 277243298..3c3614012 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0066.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0066.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0064 import BypassResponseType +from .group_0064 import BypassResponseType, BypassResponseTypeForResponse class SecretScanningBypassRequestType(TypedDict): @@ -44,6 +44,38 @@ class SecretScanningBypassRequestType(TypedDict): html_url: NotRequired[str] +class SecretScanningBypassRequestTypeForResponse(TypedDict): + """Secret scanning bypass request + + A bypass request made by a user asking to be exempted from push protection in + this repository. + """ + + id: NotRequired[int] + number: NotRequired[int] + repository: NotRequired[SecretScanningBypassRequestPropRepositoryTypeForResponse] + organization: NotRequired[ + SecretScanningBypassRequestPropOrganizationTypeForResponse + ] + requester: NotRequired[SecretScanningBypassRequestPropRequesterTypeForResponse] + request_type: NotRequired[str] + data: NotRequired[ + Union[list[SecretScanningBypassRequestPropDataItemsTypeForResponse], None] + ] + resource_identifier: NotRequired[str] + status: NotRequired[ + Literal[ + "pending", "denied", "approved", "cancelled", "completed", "expired", "open" + ] + ] + requester_comment: NotRequired[Union[str, None]] + expires_at: NotRequired[str] + created_at: NotRequired[str] + responses: NotRequired[Union[list[BypassResponseTypeForResponse], None]] + url: NotRequired[str] + html_url: NotRequired[str] + + class SecretScanningBypassRequestPropRepositoryType(TypedDict): """SecretScanningBypassRequestPropRepository @@ -55,6 +87,17 @@ class SecretScanningBypassRequestPropRepositoryType(TypedDict): full_name: NotRequired[str] +class SecretScanningBypassRequestPropRepositoryTypeForResponse(TypedDict): + """SecretScanningBypassRequestPropRepository + + The repository the bypass request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + full_name: NotRequired[str] + + class SecretScanningBypassRequestPropOrganizationType(TypedDict): """SecretScanningBypassRequestPropOrganization @@ -65,6 +108,16 @@ class SecretScanningBypassRequestPropOrganizationType(TypedDict): name: NotRequired[str] +class SecretScanningBypassRequestPropOrganizationTypeForResponse(TypedDict): + """SecretScanningBypassRequestPropOrganization + + The organization associated with the repository the bypass request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + + class SecretScanningBypassRequestPropRequesterType(TypedDict): """SecretScanningBypassRequestPropRequester @@ -75,6 +128,16 @@ class SecretScanningBypassRequestPropRequesterType(TypedDict): actor_name: NotRequired[str] +class SecretScanningBypassRequestPropRequesterTypeForResponse(TypedDict): + """SecretScanningBypassRequestPropRequester + + The user who requested the bypass. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + class SecretScanningBypassRequestPropDataItemsType(TypedDict): """SecretScanningBypassRequestPropDataItems""" @@ -84,10 +147,24 @@ class SecretScanningBypassRequestPropDataItemsType(TypedDict): branch: NotRequired[str] +class SecretScanningBypassRequestPropDataItemsTypeForResponse(TypedDict): + """SecretScanningBypassRequestPropDataItems""" + + secret_type: NotRequired[str] + bypass_reason: NotRequired[Literal["used_in_tests", "false_positive", "fix_later"]] + path: NotRequired[str] + branch: NotRequired[str] + + __all__ = ( "SecretScanningBypassRequestPropDataItemsType", + "SecretScanningBypassRequestPropDataItemsTypeForResponse", "SecretScanningBypassRequestPropOrganizationType", + "SecretScanningBypassRequestPropOrganizationTypeForResponse", "SecretScanningBypassRequestPropRepositoryType", + "SecretScanningBypassRequestPropRepositoryTypeForResponse", "SecretScanningBypassRequestPropRequesterType", + "SecretScanningBypassRequestPropRequesterTypeForResponse", "SecretScanningBypassRequestType", + "SecretScanningBypassRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0067.py b/githubkit/versions/ghec_v2022_11_28/types/group_0067.py index 3319f338b..f27385edc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0067.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0067.py @@ -29,4 +29,23 @@ class CodeScanningAlertRuleSummaryType(TypedDict): help_uri: NotRequired[Union[str, None]] -__all__ = ("CodeScanningAlertRuleSummaryType",) +class CodeScanningAlertRuleSummaryTypeForResponse(TypedDict): + """CodeScanningAlertRuleSummary""" + + id: NotRequired[Union[str, None]] + name: NotRequired[str] + severity: NotRequired[Union[None, Literal["none", "note", "warning", "error"]]] + security_severity_level: NotRequired[ + Union[None, Literal["low", "medium", "high", "critical"]] + ] + description: NotRequired[str] + full_description: NotRequired[str] + tags: NotRequired[Union[list[str], None]] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningAlertRuleSummaryType", + "CodeScanningAlertRuleSummaryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0068.py b/githubkit/versions/ghec_v2022_11_28/types/group_0068.py index 33e4a93fd..de8832db1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0068.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0068.py @@ -21,4 +21,15 @@ class CodeScanningAnalysisToolType(TypedDict): guid: NotRequired[Union[str, None]] -__all__ = ("CodeScanningAnalysisToolType",) +class CodeScanningAnalysisToolTypeForResponse(TypedDict): + """CodeScanningAnalysisTool""" + + name: NotRequired[str] + version: NotRequired[Union[str, None]] + guid: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningAnalysisToolType", + "CodeScanningAnalysisToolTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0069.py b/githubkit/versions/ghec_v2022_11_28/types/group_0069.py index d84b22102..1fc2fcc2d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0069.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0069.py @@ -34,6 +34,27 @@ class CodeScanningAlertInstanceType(TypedDict): ] +class CodeScanningAlertInstanceTypeForResponse(TypedDict): + """CodeScanningAlertInstance""" + + ref: NotRequired[str] + analysis_key: NotRequired[str] + environment: NotRequired[str] + category: NotRequired[str] + state: NotRequired[Union[None, Literal["open", "dismissed", "fixed"]]] + commit_sha: NotRequired[str] + message: NotRequired[CodeScanningAlertInstancePropMessageTypeForResponse] + location: NotRequired[CodeScanningAlertLocationTypeForResponse] + html_url: NotRequired[str] + classifications: NotRequired[ + list[ + Union[ + None, Literal["source", "generated", "test", "library", "documentation"] + ] + ] + ] + + class CodeScanningAlertLocationType(TypedDict): """CodeScanningAlertLocation @@ -47,14 +68,36 @@ class CodeScanningAlertLocationType(TypedDict): end_column: NotRequired[int] +class CodeScanningAlertLocationTypeForResponse(TypedDict): + """CodeScanningAlertLocation + + Describe a region within a file for the alert. + """ + + path: NotRequired[str] + start_line: NotRequired[int] + end_line: NotRequired[int] + start_column: NotRequired[int] + end_column: NotRequired[int] + + class CodeScanningAlertInstancePropMessageType(TypedDict): """CodeScanningAlertInstancePropMessage""" text: NotRequired[str] +class CodeScanningAlertInstancePropMessageTypeForResponse(TypedDict): + """CodeScanningAlertInstancePropMessage""" + + text: NotRequired[str] + + __all__ = ( "CodeScanningAlertInstancePropMessageType", + "CodeScanningAlertInstancePropMessageTypeForResponse", "CodeScanningAlertInstanceType", + "CodeScanningAlertInstanceTypeForResponse", "CodeScanningAlertLocationType", + "CodeScanningAlertLocationTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0070.py b/githubkit/versions/ghec_v2022_11_28/types/group_0070.py index 2df06fbc7..cebff373e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0070.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0070.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class SimpleRepositoryType(TypedDict): @@ -69,4 +69,61 @@ class SimpleRepositoryType(TypedDict): hooks_url: str -__all__ = ("SimpleRepositoryType",) +class SimpleRepositoryTypeForResponse(TypedDict): + """Simple Repository + + A GitHub repository. + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + hooks_url: str + + +__all__ = ( + "SimpleRepositoryType", + "SimpleRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0071.py b/githubkit/versions/ghec_v2022_11_28/types/group_0071.py index 130cdad0d..e8968a63c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0071.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0071.py @@ -13,11 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0067 import CodeScanningAlertRuleSummaryType -from .group_0068 import CodeScanningAnalysisToolType -from .group_0069 import CodeScanningAlertInstanceType -from .group_0070 import SimpleRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0067 import ( + CodeScanningAlertRuleSummaryType, + CodeScanningAlertRuleSummaryTypeForResponse, +) +from .group_0068 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0069 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class CodeScanningOrganizationAlertItemsType(TypedDict): @@ -45,4 +54,32 @@ class CodeScanningOrganizationAlertItemsType(TypedDict): assignees: NotRequired[list[SimpleUserType]] -__all__ = ("CodeScanningOrganizationAlertItemsType",) +class CodeScanningOrganizationAlertItemsTypeForResponse(TypedDict): + """CodeScanningOrganizationAlertItems""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleSummaryTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + repository: SimpleRepositoryTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + +__all__ = ( + "CodeScanningOrganizationAlertItemsType", + "CodeScanningOrganizationAlertItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0072.py b/githubkit/versions/ghec_v2022_11_28/types/group_0072.py index 036d4d245..84464ef92 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0072.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0072.py @@ -78,6 +78,73 @@ class CodeSecurityConfigurationType(TypedDict): updated_at: NotRequired[datetime] +class CodeSecurityConfigurationTypeForResponse(TypedDict): + """CodeSecurityConfiguration + + A code security configuration + """ + + id: NotRequired[int] + name: NotRequired[str] + target_type: NotRequired[Literal["global", "organization", "enterprise"]] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[ + Union[CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse, None] + ] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[ + CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse, + None, + ] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -89,6 +156,17 @@ class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType( labeled_runners: NotRequired[bool] +class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class CodeSecurityConfigurationPropCodeScanningOptionsType(TypedDict): """CodeSecurityConfigurationPropCodeScanningOptions @@ -98,6 +176,15 @@ class CodeSecurityConfigurationPropCodeScanningOptionsType(TypedDict): allow_advanced: NotRequired[Union[bool, None]] +class CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse(TypedDict): + """CodeSecurityConfigurationPropCodeScanningOptions + + Feature options for code scanning + """ + + allow_advanced: NotRequired[Union[bool, None]] + + class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType(TypedDict): """CodeSecurityConfigurationPropCodeScanningDefaultSetupOptions @@ -108,6 +195,18 @@ class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType(TypedDict runner_label: NotRequired[Union[str, None]] +class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropCodeScanningDefaultSetupOptions + + Feature options for code scanning default setup + """ + + runner_type: NotRequired[Union[None, Literal["standard", "labeled", "not_set"]]] + runner_label: NotRequired[Union[str, None]] + + class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType(TypedDict): """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptions @@ -121,6 +220,21 @@ class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType(Type ] +class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptions + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -132,11 +246,28 @@ class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropRevie reviewer_type: Literal["TEAM", "ROLE"] +class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersIt + ems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType", + "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningOptionsType", + "CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse", "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType", + "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse", "CodeSecurityConfigurationType", + "CodeSecurityConfigurationTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0073.py b/githubkit/versions/ghec_v2022_11_28/types/group_0073.py index be5ad4363..2a70bee33 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0073.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0073.py @@ -22,4 +22,16 @@ class CodeScanningOptionsType(TypedDict): allow_advanced: NotRequired[Union[bool, None]] -__all__ = ("CodeScanningOptionsType",) +class CodeScanningOptionsTypeForResponse(TypedDict): + """CodeScanningOptions + + Security Configuration feature options for code scanning + """ + + allow_advanced: NotRequired[Union[bool, None]] + + +__all__ = ( + "CodeScanningOptionsType", + "CodeScanningOptionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0074.py b/githubkit/versions/ghec_v2022_11_28/types/group_0074.py index 73c7a68ac..068b22e50 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0074.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0074.py @@ -23,4 +23,17 @@ class CodeScanningDefaultSetupOptionsType(TypedDict): runner_label: NotRequired[Union[str, None]] -__all__ = ("CodeScanningDefaultSetupOptionsType",) +class CodeScanningDefaultSetupOptionsTypeForResponse(TypedDict): + """CodeScanningDefaultSetupOptions + + Feature options for code scanning default setup + """ + + runner_type: NotRequired[Literal["standard", "labeled", "not_set"]] + runner_label: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningDefaultSetupOptionsType", + "CodeScanningDefaultSetupOptionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0075.py b/githubkit/versions/ghec_v2022_11_28/types/group_0075.py index fbac48fc7..18666864d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0075.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0075.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0072 import CodeSecurityConfigurationType +from .group_0072 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class CodeSecurityDefaultConfigurationsItemsType(TypedDict): @@ -22,4 +25,14 @@ class CodeSecurityDefaultConfigurationsItemsType(TypedDict): configuration: NotRequired[CodeSecurityConfigurationType] -__all__ = ("CodeSecurityDefaultConfigurationsItemsType",) +class CodeSecurityDefaultConfigurationsItemsTypeForResponse(TypedDict): + """CodeSecurityDefaultConfigurationsItems""" + + default_for_new_repos: NotRequired[Literal["public", "private_and_internal", "all"]] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + +__all__ = ( + "CodeSecurityDefaultConfigurationsItemsType", + "CodeSecurityDefaultConfigurationsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0076.py b/githubkit/versions/ghec_v2022_11_28/types/group_0076.py index d3300bce0..43f159775 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0076.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0076.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0070 import SimpleRepositoryType +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class CodeSecurityConfigurationRepositoriesType(TypedDict): @@ -36,4 +36,28 @@ class CodeSecurityConfigurationRepositoriesType(TypedDict): repository: NotRequired[SimpleRepositoryType] -__all__ = ("CodeSecurityConfigurationRepositoriesType",) +class CodeSecurityConfigurationRepositoriesTypeForResponse(TypedDict): + """CodeSecurityConfigurationRepositories + + Repositories associated with a code security configuration and attachment status + """ + + status: NotRequired[ + Literal[ + "attached", + "attaching", + "detached", + "removed", + "enforced", + "failed", + "updating", + "removed_by_enterprise", + ] + ] + repository: NotRequired[SimpleRepositoryTypeForResponse] + + +__all__ = ( + "CodeSecurityConfigurationRepositoriesType", + "CodeSecurityConfigurationRepositoriesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0077.py b/githubkit/versions/ghec_v2022_11_28/types/group_0077.py index e74a5649f..9e120195a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0077.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0077.py @@ -28,4 +28,22 @@ class EnterpriseSecurityAnalysisSettingsType(TypedDict): secret_scanning_validity_checks_enabled: NotRequired[bool] -__all__ = ("EnterpriseSecurityAnalysisSettingsType",) +class EnterpriseSecurityAnalysisSettingsTypeForResponse(TypedDict): + """Enterprise Security Analysis Settings""" + + advanced_security_enabled_for_new_repositories: bool + advanced_security_enabled_for_new_user_namespace_repositories: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: bool + secret_scanning_enabled_for_new_repositories: bool + secret_scanning_push_protection_enabled_for_new_repositories: bool + secret_scanning_push_protection_custom_link: NotRequired[Union[str, None]] + secret_scanning_non_provider_patterns_enabled_for_new_repositories: NotRequired[ + bool + ] + secret_scanning_validity_checks_enabled: NotRequired[bool] + + +__all__ = ( + "EnterpriseSecurityAnalysisSettingsType", + "EnterpriseSecurityAnalysisSettingsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0078.py b/githubkit/versions/ghec_v2022_11_28/types/group_0078.py index 8192fa267..42ac3a4e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0078.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0078.py @@ -24,6 +24,17 @@ class GetConsumedLicensesType(TypedDict): users: NotRequired[list[GetConsumedLicensesPropUsersItemsType]] +class GetConsumedLicensesTypeForResponse(TypedDict): + """Enterprise Consumed Licenses + + A breakdown of the licenses consumed by an enterprise. + """ + + total_seats_consumed: NotRequired[int] + total_seats_purchased: NotRequired[int] + users: NotRequired[list[GetConsumedLicensesPropUsersItemsTypeForResponse]] + + class GetConsumedLicensesPropUsersItemsType(TypedDict): """GetConsumedLicensesPropUsersItems""" @@ -47,7 +58,32 @@ class GetConsumedLicensesPropUsersItemsType(TypedDict): total_user_accounts: NotRequired[int] +class GetConsumedLicensesPropUsersItemsTypeForResponse(TypedDict): + """GetConsumedLicensesPropUsersItems""" + + github_com_login: NotRequired[str] + github_com_name: NotRequired[Union[str, None]] + enterprise_server_user_ids: NotRequired[list[str]] + github_com_user: NotRequired[bool] + enterprise_server_user: NotRequired[Union[bool, None]] + visual_studio_subscription_user: NotRequired[bool] + license_type: NotRequired[str] + github_com_profile: NotRequired[Union[str, None]] + github_com_member_roles: NotRequired[list[str]] + github_com_enterprise_roles: NotRequired[list[str]] + github_com_verified_domain_emails: NotRequired[list[str]] + github_com_saml_name_id: NotRequired[Union[str, None]] + github_com_orgs_with_pending_invites: NotRequired[list[str]] + github_com_two_factor_auth: NotRequired[Union[bool, None]] + enterprise_server_emails: NotRequired[list[str]] + visual_studio_license_status: NotRequired[Union[str, None]] + visual_studio_subscription_email: NotRequired[Union[str, None]] + total_user_accounts: NotRequired[int] + + __all__ = ( "GetConsumedLicensesPropUsersItemsType", + "GetConsumedLicensesPropUsersItemsTypeForResponse", "GetConsumedLicensesType", + "GetConsumedLicensesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0079.py b/githubkit/versions/ghec_v2022_11_28/types/group_0079.py index bbe3151b5..7da21e755 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0079.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0079.py @@ -37,4 +37,31 @@ class TeamSimpleType(TypedDict): enterprise_id: NotRequired[int] -__all__ = ("TeamSimpleType",) +class TeamSimpleTypeForResponse(TypedDict): + """Team Simple + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + url: str + members_url: str + name: str + description: Union[str, None] + permission: str + privacy: NotRequired[str] + notification_setting: NotRequired[str] + html_url: str + repositories_url: str + slug: str + ldap_dn: NotRequired[str] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + +__all__ = ( + "TeamSimpleType", + "TeamSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0080.py b/githubkit/versions/ghec_v2022_11_28/types/group_0080.py index 549fd5f26..f9315b697 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0080.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0080.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0079 import TeamSimpleType +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse class TeamType(TypedDict): @@ -40,6 +40,31 @@ class TeamType(TypedDict): parent: Union[None, TeamSimpleType] +class TeamTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[str] + notification_setting: NotRequired[str] + permission: str + permissions: NotRequired[TeamPropPermissionsTypeForResponse] + url: str + html_url: str + members_url: str + repositories_url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + parent: Union[None, TeamSimpleTypeForResponse] + + class TeamPropPermissionsType(TypedDict): """TeamPropPermissions""" @@ -50,7 +75,19 @@ class TeamPropPermissionsType(TypedDict): admin: bool +class TeamPropPermissionsTypeForResponse(TypedDict): + """TeamPropPermissions""" + + pull: bool + triage: bool + push: bool + maintain: bool + admin: bool + + __all__ = ( "TeamPropPermissionsType", + "TeamPropPermissionsTypeForResponse", "TeamType", + "TeamTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0081.py b/githubkit/versions/ghec_v2022_11_28/types/group_0081.py index 7f82850f7..dc6bd7160 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0081.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0081.py @@ -35,4 +35,28 @@ class EnterpriseTeamType(TypedDict): updated_at: datetime -__all__ = ("EnterpriseTeamType",) +class EnterpriseTeamTypeForResponse(TypedDict): + """Enterprise Team + + Group of enterprise owners and/or members + """ + + id: int + name: str + description: NotRequired[str] + slug: str + url: str + sync_to_organizations: NotRequired[str] + organization_selection_type: NotRequired[str] + group_id: Union[str, None] + group_name: NotRequired[Union[str, None]] + html_url: str + members_url: str + created_at: str + updated_at: str + + +__all__ = ( + "EnterpriseTeamType", + "EnterpriseTeamTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0082.py b/githubkit/versions/ghec_v2022_11_28/types/group_0082.py index 279d5cb5c..676f7ae72 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0082.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0082.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0044 import OrganizationSimpleType -from .group_0080 import TeamType -from .group_0081 import EnterpriseTeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0044 import OrganizationSimpleType, OrganizationSimpleTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse +from .group_0081 import EnterpriseTeamType, EnterpriseTeamTypeForResponse class CopilotSeatDetailsType(TypedDict): @@ -38,4 +38,28 @@ class CopilotSeatDetailsType(TypedDict): plan_type: NotRequired[Literal["business", "enterprise", "unknown"]] -__all__ = ("CopilotSeatDetailsType",) +class CopilotSeatDetailsTypeForResponse(TypedDict): + """Copilot Business Seat Detail + + Information about a Copilot Business seat assignment for a user, team, or + organization. + """ + + assignee: NotRequired[Union[None, SimpleUserTypeForResponse]] + organization: NotRequired[Union[None, OrganizationSimpleTypeForResponse]] + assigning_team: NotRequired[ + Union[TeamTypeForResponse, EnterpriseTeamTypeForResponse, None] + ] + pending_cancellation_date: NotRequired[Union[str, None]] + last_activity_at: NotRequired[Union[str, None]] + last_activity_editor: NotRequired[Union[str, None]] + last_authenticated_at: NotRequired[Union[str, None]] + created_at: str + updated_at: NotRequired[str] + plan_type: NotRequired[Literal["business", "enterprise", "unknown"]] + + +__all__ = ( + "CopilotSeatDetailsType", + "CopilotSeatDetailsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0083.py b/githubkit/versions/ghec_v2022_11_28/types/group_0083.py index c28ab10cb..f3b94c38d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0083.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0083.py @@ -33,6 +33,25 @@ class CopilotUsageMetricsDayType(TypedDict): ] +class CopilotUsageMetricsDayTypeForResponse(TypedDict): + """Copilot Usage Metrics + + Copilot usage metrics for a given day. + """ + + date: str + total_active_users: NotRequired[int] + total_engaged_users: NotRequired[int] + copilot_ide_code_completions: NotRequired[ + Union[CopilotIdeCodeCompletionsTypeForResponse, None] + ] + copilot_ide_chat: NotRequired[Union[CopilotIdeChatTypeForResponse, None]] + copilot_dotcom_chat: NotRequired[Union[CopilotDotcomChatTypeForResponse, None]] + copilot_dotcom_pull_requests: NotRequired[ + Union[CopilotDotcomPullRequestsTypeForResponse, None] + ] + + class CopilotDotcomChatType(TypedDict): """CopilotDotcomChat @@ -43,6 +62,16 @@ class CopilotDotcomChatType(TypedDict): models: NotRequired[list[CopilotDotcomChatPropModelsItemsType]] +class CopilotDotcomChatTypeForResponse(TypedDict): + """CopilotDotcomChat + + Usage metrics for Copilot Chat in GitHub.com + """ + + total_engaged_users: NotRequired[int] + models: NotRequired[list[CopilotDotcomChatPropModelsItemsTypeForResponse]] + + class CopilotDotcomChatPropModelsItemsType(TypedDict): """CopilotDotcomChatPropModelsItems""" @@ -53,6 +82,16 @@ class CopilotDotcomChatPropModelsItemsType(TypedDict): total_chats: NotRequired[int] +class CopilotDotcomChatPropModelsItemsTypeForResponse(TypedDict): + """CopilotDotcomChatPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + total_chats: NotRequired[int] + + class CopilotIdeChatType(TypedDict): """CopilotIdeChat @@ -63,6 +102,16 @@ class CopilotIdeChatType(TypedDict): editors: NotRequired[list[CopilotIdeChatPropEditorsItemsType]] +class CopilotIdeChatTypeForResponse(TypedDict): + """CopilotIdeChat + + Usage metrics for Copilot Chat in the IDE. + """ + + total_engaged_users: NotRequired[int] + editors: NotRequired[list[CopilotIdeChatPropEditorsItemsTypeForResponse]] + + class CopilotIdeChatPropEditorsItemsType(TypedDict): """CopilotIdeChatPropEditorsItems @@ -74,6 +123,19 @@ class CopilotIdeChatPropEditorsItemsType(TypedDict): models: NotRequired[list[CopilotIdeChatPropEditorsItemsPropModelsItemsType]] +class CopilotIdeChatPropEditorsItemsTypeForResponse(TypedDict): + """CopilotIdeChatPropEditorsItems + + Copilot Chat metrics, for active editors. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse] + ] + + class CopilotIdeChatPropEditorsItemsPropModelsItemsType(TypedDict): """CopilotIdeChatPropEditorsItemsPropModelsItems""" @@ -86,6 +148,18 @@ class CopilotIdeChatPropEditorsItemsPropModelsItemsType(TypedDict): total_chat_copy_events: NotRequired[int] +class CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse(TypedDict): + """CopilotIdeChatPropEditorsItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + total_chats: NotRequired[int] + total_chat_insertion_events: NotRequired[int] + total_chat_copy_events: NotRequired[int] + + class CopilotDotcomPullRequestsType(TypedDict): """CopilotDotcomPullRequests @@ -96,6 +170,18 @@ class CopilotDotcomPullRequestsType(TypedDict): repositories: NotRequired[list[CopilotDotcomPullRequestsPropRepositoriesItemsType]] +class CopilotDotcomPullRequestsTypeForResponse(TypedDict): + """CopilotDotcomPullRequests + + Usage metrics for Copilot for pull requests. + """ + + total_engaged_users: NotRequired[int] + repositories: NotRequired[ + list[CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse] + ] + + class CopilotDotcomPullRequestsPropRepositoriesItemsType(TypedDict): """CopilotDotcomPullRequestsPropRepositoriesItems""" @@ -106,6 +192,18 @@ class CopilotDotcomPullRequestsPropRepositoriesItemsType(TypedDict): ] +class CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse(TypedDict): + """CopilotDotcomPullRequestsPropRepositoriesItems""" + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[ + CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse + ] + ] + + class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType(TypedDict): """CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItems""" @@ -116,6 +214,18 @@ class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType(TypedDic total_engaged_users: NotRequired[int] +class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse( + TypedDict +): + """CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_pr_summaries_created: NotRequired[int] + total_engaged_users: NotRequired[int] + + class CopilotIdeCodeCompletionsType(TypedDict): """CopilotIdeCodeCompletions @@ -127,6 +237,19 @@ class CopilotIdeCodeCompletionsType(TypedDict): editors: NotRequired[list[CopilotIdeCodeCompletionsPropEditorsItemsType]] +class CopilotIdeCodeCompletionsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletions + + Usage metrics for Copilot editor code completions in the IDE. + """ + + total_engaged_users: NotRequired[int] + languages: NotRequired[ + list[CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse] + ] + editors: NotRequired[list[CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse]] + + class CopilotIdeCodeCompletionsPropLanguagesItemsType(TypedDict): """CopilotIdeCodeCompletionsPropLanguagesItems @@ -138,6 +261,17 @@ class CopilotIdeCodeCompletionsPropLanguagesItemsType(TypedDict): total_engaged_users: NotRequired[int] +class CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletionsPropLanguagesItems + + Usage metrics for a given language for the given editor for Copilot code + completions. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + + class CopilotIdeCodeCompletionsPropEditorsItemsType(TypedDict): """CopilotIdeCodeCompletionsPropEditorsItems @@ -151,6 +285,19 @@ class CopilotIdeCodeCompletionsPropEditorsItemsType(TypedDict): ] +class CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletionsPropEditorsItems + + Copilot code completion metrics for active editors. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse] + ] + + class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType(TypedDict): """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItems""" @@ -165,6 +312,22 @@ class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType(TypedDict): ] +class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse( + TypedDict +): + """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + languages: NotRequired[ + list[ + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse + ] + ] + + class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType( TypedDict ): @@ -182,19 +345,50 @@ class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItems total_code_lines_accepted: NotRequired[int] +class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse( + TypedDict +): + """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItems + + Usage metrics for a given language for the given editor for Copilot code + completions. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + total_code_suggestions: NotRequired[int] + total_code_acceptances: NotRequired[int] + total_code_lines_suggested: NotRequired[int] + total_code_lines_accepted: NotRequired[int] + + __all__ = ( "CopilotDotcomChatPropModelsItemsType", + "CopilotDotcomChatPropModelsItemsTypeForResponse", "CopilotDotcomChatType", + "CopilotDotcomChatTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse", "CopilotDotcomPullRequestsType", + "CopilotDotcomPullRequestsTypeForResponse", "CopilotIdeChatPropEditorsItemsPropModelsItemsType", + "CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeChatPropEditorsItemsType", + "CopilotIdeChatPropEditorsItemsTypeForResponse", "CopilotIdeChatType", + "CopilotIdeChatTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsType", + "CopilotIdeCodeCompletionsTypeForResponse", "CopilotUsageMetricsDayType", + "CopilotUsageMetricsDayTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0084.py b/githubkit/versions/ghec_v2022_11_28/types/group_0084.py index 6221a6811..97a453c7f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0084.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0084.py @@ -24,4 +24,18 @@ class CopilotUsageMetrics1DayReportType(TypedDict): report_day: date -__all__ = ("CopilotUsageMetrics1DayReportType",) +class CopilotUsageMetrics1DayReportTypeForResponse(TypedDict): + """Copilot Metrics 1 Day Report + + Links to download the Copilot usage metrics report for an enterprise for a + specific day. + """ + + download_links: list[str] + report_day: str + + +__all__ = ( + "CopilotUsageMetrics1DayReportType", + "CopilotUsageMetrics1DayReportTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0085.py b/githubkit/versions/ghec_v2022_11_28/types/group_0085.py index 94094a105..693c18d1f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0085.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0085.py @@ -24,4 +24,18 @@ class CopilotUsageMetrics28DayReportType(TypedDict): report_end_day: date -__all__ = ("CopilotUsageMetrics28DayReportType",) +class CopilotUsageMetrics28DayReportTypeForResponse(TypedDict): + """Copilot Metrics 28 Day Report + + Links to download the latest Copilot usage metrics report for an enterprise. + """ + + download_links: list[str] + report_start_day: str + report_end_day: str + + +__all__ = ( + "CopilotUsageMetrics28DayReportType", + "CopilotUsageMetrics28DayReportTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0086.py b/githubkit/versions/ghec_v2022_11_28/types/group_0086.py index 9ef70e81a..0fcaebd5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0086.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0086.py @@ -22,4 +22,17 @@ class DependabotAlertPackageType(TypedDict): name: str -__all__ = ("DependabotAlertPackageType",) +class DependabotAlertPackageTypeForResponse(TypedDict): + """DependabotAlertPackage + + Details for the vulnerable package. + """ + + ecosystem: str + name: str + + +__all__ = ( + "DependabotAlertPackageType", + "DependabotAlertPackageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0087.py b/githubkit/versions/ghec_v2022_11_28/types/group_0087.py index 8f3b22a1f..f0e9af449 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0087.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0087.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0086 import DependabotAlertPackageType +from .group_0086 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertSecurityVulnerabilityType(TypedDict): @@ -29,6 +32,20 @@ class DependabotAlertSecurityVulnerabilityType(TypedDict): ] +class DependabotAlertSecurityVulnerabilityTypeForResponse(TypedDict): + """DependabotAlertSecurityVulnerability + + Details pertaining to one vulnerable version range for the advisory. + """ + + package: DependabotAlertPackageTypeForResponse + severity: Literal["low", "medium", "high", "critical"] + vulnerable_version_range: str + first_patched_version: Union[ + DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse, None + ] + + class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType(TypedDict): """DependabotAlertSecurityVulnerabilityPropFirstPatchedVersion @@ -38,7 +55,20 @@ class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType(TypedDict) identifier: str +class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """DependabotAlertSecurityVulnerabilityPropFirstPatchedVersion + + Details pertaining to the package version that patches this vulnerability. + """ + + identifier: str + + __all__ = ( "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType", + "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse", "DependabotAlertSecurityVulnerabilityType", + "DependabotAlertSecurityVulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0088.py b/githubkit/versions/ghec_v2022_11_28/types/group_0088.py index c232c5fd7..17651925a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0088.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0088.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0002 import SecurityAdvisoryEpssType -from .group_0087 import DependabotAlertSecurityVulnerabilityType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0002 import SecurityAdvisoryEpssType, SecurityAdvisoryEpssTypeForResponse +from .group_0087 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) class DependabotAlertSecurityAdvisoryType(TypedDict): @@ -41,6 +44,31 @@ class DependabotAlertSecurityAdvisoryType(TypedDict): withdrawn_at: Union[datetime, None] +class DependabotAlertSecurityAdvisoryTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisory + + Details for the GitHub Security Advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + summary: str + description: str + vulnerabilities: list[DependabotAlertSecurityVulnerabilityTypeForResponse] + severity: Literal["low", "medium", "high", "critical"] + cvss: DependabotAlertSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + epss: NotRequired[Union[SecurityAdvisoryEpssTypeForResponse, None]] + cwes: list[DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse] + identifiers: list[ + DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse + ] + references: list[DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse] + published_at: str + updated_at: str + withdrawn_at: Union[str, None] + + class DependabotAlertSecurityAdvisoryPropCvssType(TypedDict): """DependabotAlertSecurityAdvisoryPropCvss @@ -51,6 +79,16 @@ class DependabotAlertSecurityAdvisoryPropCvssType(TypedDict): vector_string: Union[str, None] +class DependabotAlertSecurityAdvisoryPropCvssTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropCvss + + Details for the advisory pertaining to the Common Vulnerability Scoring System. + """ + + score: float + vector_string: Union[str, None] + + class DependabotAlertSecurityAdvisoryPropCwesItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropCwesItems @@ -61,6 +99,16 @@ class DependabotAlertSecurityAdvisoryPropCwesItemsType(TypedDict): name: str +class DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropCwesItems + + A CWE weakness assigned to the advisory. + """ + + cwe_id: str + name: str + + class DependabotAlertSecurityAdvisoryPropIdentifiersItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropIdentifiersItems @@ -71,6 +119,16 @@ class DependabotAlertSecurityAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropIdentifiersItems + + An advisory identifier. + """ + + type: Literal["CVE", "GHSA"] + value: str + + class DependabotAlertSecurityAdvisoryPropReferencesItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropReferencesItems @@ -80,10 +138,24 @@ class DependabotAlertSecurityAdvisoryPropReferencesItemsType(TypedDict): url: str +class DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropReferencesItems + + A link to additional advisory information. + """ + + url: str + + __all__ = ( "DependabotAlertSecurityAdvisoryPropCvssType", + "DependabotAlertSecurityAdvisoryPropCvssTypeForResponse", "DependabotAlertSecurityAdvisoryPropCwesItemsType", + "DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropIdentifiersItemsType", + "DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropReferencesItemsType", + "DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryType", + "DependabotAlertSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0089.py b/githubkit/versions/ghec_v2022_11_28/types/group_0089.py index 2f109c1cc..d9f1c34d8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0089.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0089.py @@ -13,11 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0070 import SimpleRepositoryType -from .group_0087 import DependabotAlertSecurityVulnerabilityType -from .group_0088 import DependabotAlertSecurityAdvisoryType -from .group_0090 import DependabotAlertWithRepositoryPropDependencyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse +from .group_0087 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) +from .group_0088 import ( + DependabotAlertSecurityAdvisoryType, + DependabotAlertSecurityAdvisoryTypeForResponse, +) +from .group_0090 import ( + DependabotAlertWithRepositoryPropDependencyType, + DependabotAlertWithRepositoryPropDependencyTypeForResponse, +) class DependabotAlertWithRepositoryType(TypedDict): @@ -49,4 +58,36 @@ class DependabotAlertWithRepositoryType(TypedDict): repository: SimpleRepositoryType -__all__ = ("DependabotAlertWithRepositoryType",) +class DependabotAlertWithRepositoryTypeForResponse(TypedDict): + """DependabotAlertWithRepository + + A Dependabot alert. + """ + + number: int + state: Literal["auto_dismissed", "dismissed", "fixed", "open"] + dependency: DependabotAlertWithRepositoryPropDependencyTypeForResponse + security_advisory: DependabotAlertSecurityAdvisoryTypeForResponse + security_vulnerability: DependabotAlertSecurityVulnerabilityTypeForResponse + url: str + html_url: str + created_at: str + updated_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_reason: Union[ + None, + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ], + ] + dismissed_comment: Union[str, None] + fixed_at: Union[str, None] + auto_dismissed_at: NotRequired[Union[str, None]] + repository: SimpleRepositoryTypeForResponse + + +__all__ = ( + "DependabotAlertWithRepositoryType", + "DependabotAlertWithRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0090.py b/githubkit/versions/ghec_v2022_11_28/types/group_0090.py index 329789418..b13f0f8a7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0090.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0090.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0086 import DependabotAlertPackageType +from .group_0086 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertWithRepositoryPropDependencyType(TypedDict): @@ -29,4 +32,21 @@ class DependabotAlertWithRepositoryPropDependencyType(TypedDict): ] -__all__ = ("DependabotAlertWithRepositoryPropDependencyType",) +class DependabotAlertWithRepositoryPropDependencyTypeForResponse(TypedDict): + """DependabotAlertWithRepositoryPropDependency + + Details for the vulnerable dependency. + """ + + package: NotRequired[DependabotAlertPackageTypeForResponse] + manifest_path: NotRequired[str] + scope: NotRequired[Union[None, Literal["development", "runtime"]]] + relationship: NotRequired[ + Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]] + ] + + +__all__ = ( + "DependabotAlertWithRepositoryPropDependencyType", + "DependabotAlertWithRepositoryPropDependencyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0091.py b/githubkit/versions/ghec_v2022_11_28/types/group_0091.py index 4f7bd74ba..4b470ce60 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0091.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0091.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0008 import EnterpriseType +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse class EnterpriseRoleType(TypedDict): @@ -32,6 +32,22 @@ class EnterpriseRoleType(TypedDict): updated_at: datetime +class EnterpriseRoleTypeForResponse(TypedDict): + """Enterprise Role + + Enterprise custom roles + """ + + id: int + name: str + description: NotRequired[Union[str, None]] + source: NotRequired[Union[None, Literal["Enterprise", "Predefined"]]] + permissions: list[str] + enterprise: Union[None, EnterpriseTypeForResponse] + created_at: str + updated_at: str + + class EnterprisesEnterpriseEnterpriseRolesGetResponse200Type(TypedDict): """EnterprisesEnterpriseEnterpriseRolesGetResponse200""" @@ -39,7 +55,16 @@ class EnterprisesEnterpriseEnterpriseRolesGetResponse200Type(TypedDict): roles: NotRequired[list[EnterpriseRoleType]] +class EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse(TypedDict): + """EnterprisesEnterpriseEnterpriseRolesGetResponse200""" + + total_count: NotRequired[int] + roles: NotRequired[list[EnterpriseRoleTypeForResponse]] + + __all__ = ( "EnterpriseRoleType", + "EnterpriseRoleTypeForResponse", "EnterprisesEnterpriseEnterpriseRolesGetResponse200Type", + "EnterprisesEnterpriseEnterpriseRolesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0092.py b/githubkit/versions/ghec_v2022_11_28/types/group_0092.py index 6ef0ca2f4..001a70dbc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0092.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0092.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0081 import EnterpriseTeamType +from .group_0081 import EnterpriseTeamType, EnterpriseTeamTypeForResponse class EnterpriseUserRoleAssignmentType(TypedDict): @@ -47,4 +47,39 @@ class EnterpriseUserRoleAssignmentType(TypedDict): inherited_from: NotRequired[list[EnterpriseTeamType]] -__all__ = ("EnterpriseUserRoleAssignmentType",) +class EnterpriseUserRoleAssignmentTypeForResponse(TypedDict): + """An Enterprise Role Assignment for a User + + The Relationship a User has with a role in an enterprise context. + """ + + name: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + starred_at: NotRequired[str] + user_view_type: NotRequired[str] + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + inherited_from: NotRequired[list[EnterpriseTeamTypeForResponse]] + + +__all__ = ( + "EnterpriseUserRoleAssignmentType", + "EnterpriseUserRoleAssignmentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0093.py b/githubkit/versions/ghec_v2022_11_28/types/group_0093.py index 1f6c818af..21dcc0d53 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0093.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0093.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0081 import EnterpriseTeamType +from .group_0081 import EnterpriseTeamType, EnterpriseTeamTypeForResponse class EnterpriseUserRoleAssignmentAllof1Type(TypedDict): @@ -22,4 +22,14 @@ class EnterpriseUserRoleAssignmentAllof1Type(TypedDict): inherited_from: NotRequired[list[EnterpriseTeamType]] -__all__ = ("EnterpriseUserRoleAssignmentAllof1Type",) +class EnterpriseUserRoleAssignmentAllof1TypeForResponse(TypedDict): + """EnterpriseUserRoleAssignmentAllof1""" + + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + inherited_from: NotRequired[list[EnterpriseTeamTypeForResponse]] + + +__all__ = ( + "EnterpriseUserRoleAssignmentAllof1Type", + "EnterpriseUserRoleAssignmentAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0094.py b/githubkit/versions/ghec_v2022_11_28/types/group_0094.py index 252ea9e23..87bca343c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0094.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0094.py @@ -23,6 +23,17 @@ class GetLicenseSyncStatusType(TypedDict): ] +class GetLicenseSyncStatusTypeForResponse(TypedDict): + """License Sync Status + + Information about the status of a license sync job for an enterprise. + """ + + server_instances: NotRequired[ + list[GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse] + ] + + class GetLicenseSyncStatusPropServerInstancesItemsType(TypedDict): """GetLicenseSyncStatusPropServerInstancesItems""" @@ -31,6 +42,16 @@ class GetLicenseSyncStatusPropServerInstancesItemsType(TypedDict): last_sync: NotRequired[GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType] +class GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse(TypedDict): + """GetLicenseSyncStatusPropServerInstancesItems""" + + server_id: NotRequired[str] + hostname: NotRequired[str] + last_sync: NotRequired[ + GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse + ] + + class GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType(TypedDict): """GetLicenseSyncStatusPropServerInstancesItemsPropLastSync""" @@ -39,8 +60,21 @@ class GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType(TypedDict): error: NotRequired[str] +class GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse( + TypedDict +): + """GetLicenseSyncStatusPropServerInstancesItemsPropLastSync""" + + date: NotRequired[str] + status: NotRequired[str] + error: NotRequired[str] + + __all__ = ( "GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncType", + "GetLicenseSyncStatusPropServerInstancesItemsPropLastSyncTypeForResponse", "GetLicenseSyncStatusPropServerInstancesItemsType", + "GetLicenseSyncStatusPropServerInstancesItemsTypeForResponse", "GetLicenseSyncStatusType", + "GetLicenseSyncStatusTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0095.py b/githubkit/versions/ghec_v2022_11_28/types/group_0095.py index 2355032fb..88a3cb554 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0095.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0095.py @@ -27,4 +27,20 @@ class NetworkConfigurationType(TypedDict): created_on: Union[datetime, None] -__all__ = ("NetworkConfigurationType",) +class NetworkConfigurationTypeForResponse(TypedDict): + """Hosted compute network configuration + + A hosted compute network configuration. + """ + + id: str + name: str + compute_service: NotRequired[Literal["none", "actions", "codespaces"]] + network_settings_ids: NotRequired[list[str]] + created_on: Union[str, None] + + +__all__ = ( + "NetworkConfigurationType", + "NetworkConfigurationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0096.py b/githubkit/versions/ghec_v2022_11_28/types/group_0096.py index c2fd7df78..75d6f683b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0096.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0096.py @@ -25,4 +25,20 @@ class NetworkSettingsType(TypedDict): region: str -__all__ = ("NetworkSettingsType",) +class NetworkSettingsTypeForResponse(TypedDict): + """Hosted compute network settings resource + + A hosted compute network settings resource. + """ + + id: str + network_configuration_id: NotRequired[str] + name: str + subnet_id: str + region: str + + +__all__ = ( + "NetworkSettingsType", + "NetworkSettingsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0097.py b/githubkit/versions/ghec_v2022_11_28/types/group_0097.py index 3a750185d..135dfdd07 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0097.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0097.py @@ -28,4 +28,22 @@ class CustomPropertyBaseType(TypedDict): allowed_values: NotRequired[Union[list[str], None]] -__all__ = ("CustomPropertyBaseType",) +class CustomPropertyBaseTypeForResponse(TypedDict): + """CustomPropertyBase""" + + property_name: NotRequired[str] + url: NotRequired[str] + source_type: NotRequired[Literal["organization", "enterprise"]] + value_type: NotRequired[ + Literal["string", "single_select", "multi_select", "true_false"] + ] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + + +__all__ = ( + "CustomPropertyBaseType", + "CustomPropertyBaseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0098.py b/githubkit/versions/ghec_v2022_11_28/types/group_0098.py index f533315b2..c08e08647 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0098.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0098.py @@ -34,4 +34,28 @@ class OrganizationCustomPropertyType(TypedDict): ] -__all__ = ("OrganizationCustomPropertyType",) +class OrganizationCustomPropertyTypeForResponse(TypedDict): + """Custom Property for Organization + + Custom property defined for an organization + """ + + property_name: NotRequired[str] + url: NotRequired[str] + source_type: NotRequired[Literal["organization", "enterprise"]] + value_type: NotRequired[ + Literal["string", "single_select", "multi_select", "true_false"] + ] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["enterprise_actors", "enterprise_and_org_actors"]] + ] + + +__all__ = ( + "OrganizationCustomPropertyType", + "OrganizationCustomPropertyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0099.py b/githubkit/versions/ghec_v2022_11_28/types/group_0099.py index 1ddd39d55..b4a5735c6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0099.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0099.py @@ -21,4 +21,15 @@ class OrganizationCustomPropertyAllof1Type(TypedDict): ] -__all__ = ("OrganizationCustomPropertyAllof1Type",) +class OrganizationCustomPropertyAllof1TypeForResponse(TypedDict): + """OrganizationCustomPropertyAllof1""" + + values_editable_by: NotRequired[ + Union[None, Literal["enterprise_actors", "enterprise_and_org_actors"]] + ] + + +__all__ = ( + "OrganizationCustomPropertyAllof1Type", + "OrganizationCustomPropertyAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0100.py b/githubkit/versions/ghec_v2022_11_28/types/group_0100.py index 34097efd6..cbda1c3bd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0100.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0100.py @@ -30,4 +30,24 @@ class OrganizationCustomPropertyPayloadType(TypedDict): ] -__all__ = ("OrganizationCustomPropertyPayloadType",) +class OrganizationCustomPropertyPayloadTypeForResponse(TypedDict): + """Organization Custom Property Payload + + Payload for creating or updating an organization custom property definition on + an enterprise. + """ + + value_type: Literal["string", "single_select", "multi_select", "true_false"] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["enterprise_actors", "enterprise_and_org_actors"]] + ] + + +__all__ = ( + "OrganizationCustomPropertyPayloadType", + "OrganizationCustomPropertyPayloadTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0101.py b/githubkit/versions/ghec_v2022_11_28/types/group_0101.py index c3784542a..1cb15f5ee 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0101.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0101.py @@ -23,4 +23,17 @@ class CustomPropertyValueType(TypedDict): value: Union[str, list[str], None] -__all__ = ("CustomPropertyValueType",) +class CustomPropertyValueTypeForResponse(TypedDict): + """Custom Property Value + + Custom property name and associated value + """ + + property_name: str + value: Union[str, list[str], None] + + +__all__ = ( + "CustomPropertyValueType", + "CustomPropertyValueTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0102.py b/githubkit/versions/ghec_v2022_11_28/types/group_0102.py index 598b4fc32..16d88d0e5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0102.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0102.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class CustomPropertiesForOrgsGetEnterprisePropertyValuesType(TypedDict): @@ -25,4 +25,18 @@ class CustomPropertiesForOrgsGetEnterprisePropertyValuesType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("CustomPropertiesForOrgsGetEnterprisePropertyValuesType",) +class CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse(TypedDict): + """Enterprise Organization Custom Property Values + + List of custom property values for an organization + """ + + organization_id: int + organization_login: str + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "CustomPropertiesForOrgsGetEnterprisePropertyValuesType", + "CustomPropertiesForOrgsGetEnterprisePropertyValuesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0103.py b/githubkit/versions/ghec_v2022_11_28/types/group_0103.py index 0ddc5174c..c9022c041 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0103.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0103.py @@ -32,4 +32,26 @@ class CustomPropertyType(TypedDict): ] -__all__ = ("CustomPropertyType",) +class CustomPropertyTypeForResponse(TypedDict): + """Organization Custom Property + + Custom property defined on an organization + """ + + property_name: str + url: NotRequired[str] + source_type: NotRequired[Literal["organization", "enterprise"]] + value_type: Literal["string", "single_select", "multi_select", "true_false"] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["org_actors", "org_and_repo_actors"]] + ] + + +__all__ = ( + "CustomPropertyType", + "CustomPropertyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0104.py b/githubkit/versions/ghec_v2022_11_28/types/group_0104.py index 1a1a48cd7..35ee57768 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0104.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0104.py @@ -29,4 +29,23 @@ class CustomPropertySetPayloadType(TypedDict): ] -__all__ = ("CustomPropertySetPayloadType",) +class CustomPropertySetPayloadTypeForResponse(TypedDict): + """Custom Property Set Payload + + Custom property set payload + """ + + value_type: Literal["string", "single_select", "multi_select", "true_false"] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["org_actors", "org_and_repo_actors"]] + ] + + +__all__ = ( + "CustomPropertySetPayloadType", + "CustomPropertySetPayloadTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0105.py b/githubkit/versions/ghec_v2022_11_28/types/group_0105.py index 8c5cf4d1f..64e9805ca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0105.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0105.py @@ -31,4 +31,25 @@ class RepositoryRulesetBypassActorType(TypedDict): bypass_mode: NotRequired[Literal["always", "pull_request", "exempt"]] -__all__ = ("RepositoryRulesetBypassActorType",) +class RepositoryRulesetBypassActorTypeForResponse(TypedDict): + """Repository Ruleset Bypass Actor + + An actor that can bypass rules in a ruleset + """ + + actor_id: NotRequired[Union[int, None]] + actor_type: Literal[ + "Integration", + "OrganizationAdmin", + "RepositoryRole", + "Team", + "DeployKey", + "EnterpriseOwner", + ] + bypass_mode: NotRequired[Literal["always", "pull_request", "exempt"]] + + +__all__ = ( + "RepositoryRulesetBypassActorType", + "RepositoryRulesetBypassActorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0106.py b/githubkit/versions/ghec_v2022_11_28/types/group_0106.py index c033b0462..ee88459dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0106.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0106.py @@ -13,6 +13,7 @@ from .group_0107 import ( EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType, + EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse, ) @@ -27,4 +28,16 @@ class EnterpriseRulesetConditionsOrganizationNameTargetType(TypedDict): ) -__all__ = ("EnterpriseRulesetConditionsOrganizationNameTargetType",) +class EnterpriseRulesetConditionsOrganizationNameTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for organization names + + Parameters for an organization name condition + """ + + organization_name: EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse + + +__all__ = ( + "EnterpriseRulesetConditionsOrganizationNameTargetType", + "EnterpriseRulesetConditionsOrganizationNameTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0107.py b/githubkit/versions/ghec_v2022_11_28/types/group_0107.py index ea24713c8..2b7ba42b5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0107.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0107.py @@ -21,4 +21,16 @@ class EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType( exclude: NotRequired[list[str]] -__all__ = ("EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType",) +class EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse( + TypedDict +): + """EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationName""" + + include: NotRequired[list[str]] + exclude: NotRequired[list[str]] + + +__all__ = ( + "EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType", + "EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0108.py b/githubkit/versions/ghec_v2022_11_28/types/group_0108.py index f6f69e9fd..6629404fd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0108.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0108.py @@ -13,6 +13,7 @@ from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, ) @@ -27,4 +28,18 @@ class RepositoryRulesetConditionsRepositoryNameTargetType(TypedDict): ) -__all__ = ("RepositoryRulesetConditionsRepositoryNameTargetType",) +class RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository names + + Parameters for a repository name condition + """ + + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryNameTargetType", + "RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0109.py b/githubkit/versions/ghec_v2022_11_28/types/group_0109.py index f2a6b8a4a..8c2a0c538 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0109.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0109.py @@ -20,4 +20,17 @@ class RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType(Type protected: NotRequired[bool] -__all__ = ("RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType",) +class RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryName""" + + include: NotRequired[list[str]] + exclude: NotRequired[list[str]] + protected: NotRequired[bool] + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType", + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0110.py b/githubkit/versions/ghec_v2022_11_28/types/group_0110.py index bbdc4bb22..e6751d01c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0110.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0110.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0111 import RepositoryRulesetConditionsPropRefNameType +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) class RepositoryRulesetConditionsType(TypedDict): @@ -23,4 +26,16 @@ class RepositoryRulesetConditionsType(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("RepositoryRulesetConditionsType",) +class RepositoryRulesetConditionsTypeForResponse(TypedDict): + """Repository ruleset conditions for ref names + + Parameters for a repository ruleset ref name condition + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "RepositoryRulesetConditionsType", + "RepositoryRulesetConditionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0111.py b/githubkit/versions/ghec_v2022_11_28/types/group_0111.py index bf8990574..d4f5a2977 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0111.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0111.py @@ -19,4 +19,14 @@ class RepositoryRulesetConditionsPropRefNameType(TypedDict): exclude: NotRequired[list[str]] -__all__ = ("RepositoryRulesetConditionsPropRefNameType",) +class RepositoryRulesetConditionsPropRefNameTypeForResponse(TypedDict): + """RepositoryRulesetConditionsPropRefName""" + + include: NotRequired[list[str]] + exclude: NotRequired[list[str]] + + +__all__ = ( + "RepositoryRulesetConditionsPropRefNameType", + "RepositoryRulesetConditionsPropRefNameTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0112.py b/githubkit/versions/ghec_v2022_11_28/types/group_0112.py index aa3da454d..aaead2c5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0112.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0112.py @@ -13,6 +13,7 @@ from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) @@ -27,4 +28,16 @@ class RepositoryRulesetConditionsRepositoryPropertyTargetType(TypedDict): ) -__all__ = ("RepositoryRulesetConditionsRepositoryPropertyTargetType",) +class RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository properties + + Parameters for a repository property condition + """ + + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryPropertyTargetType", + "RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0113.py b/githubkit/versions/ghec_v2022_11_28/types/group_0113.py index 57df7a1f1..3f23749ac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0113.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0113.py @@ -22,6 +22,19 @@ class RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyT exclude: NotRequired[list[RepositoryRulesetConditionsRepositoryPropertySpecType]] +class RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryProperty""" + + include: NotRequired[ + list[RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse] + ] + exclude: NotRequired[ + list[RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse] + ] + + class RepositoryRulesetConditionsRepositoryPropertySpecType(TypedDict): """Repository ruleset property targeting definition @@ -33,7 +46,20 @@ class RepositoryRulesetConditionsRepositoryPropertySpecType(TypedDict): source: NotRequired[Literal["custom", "system"]] +class RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse(TypedDict): + """Repository ruleset property targeting definition + + Parameters for a targeting a repository property + """ + + name: str + property_values: list[str] + source: NotRequired[Literal["custom", "system"]] + + __all__ = ( "RepositoryRulesetConditionsRepositoryPropertySpecType", + "RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse", "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType", + "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0114.py b/githubkit/versions/ghec_v2022_11_28/types/group_0114.py index 1b6352018..5a25a4695 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0114.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0114.py @@ -13,6 +13,7 @@ from .group_0115 import ( EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType, + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse, ) @@ -27,4 +28,18 @@ class EnterpriseRulesetConditionsOrganizationIdTargetType(TypedDict): ) -__all__ = ("EnterpriseRulesetConditionsOrganizationIdTargetType",) +class EnterpriseRulesetConditionsOrganizationIdTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for organization IDs + + Parameters for an organization ID condition + """ + + organization_id: ( + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse + ) + + +__all__ = ( + "EnterpriseRulesetConditionsOrganizationIdTargetType", + "EnterpriseRulesetConditionsOrganizationIdTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0115.py b/githubkit/versions/ghec_v2022_11_28/types/group_0115.py index 4e45a959a..f0fea441b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0115.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0115.py @@ -18,4 +18,15 @@ class EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType(Type organization_ids: NotRequired[list[int]] -__all__ = ("EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType",) +class EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse( + TypedDict +): + """EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationId""" + + organization_ids: NotRequired[list[int]] + + +__all__ = ( + "EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType", + "EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0116.py b/githubkit/versions/ghec_v2022_11_28/types/group_0116.py index 76ea8ab23..197197140 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0116.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0116.py @@ -13,6 +13,7 @@ from .group_0117 import ( EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType, + EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse, ) @@ -25,4 +26,16 @@ class EnterpriseRulesetConditionsOrganizationPropertyTargetType(TypedDict): organization_property: EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType -__all__ = ("EnterpriseRulesetConditionsOrganizationPropertyTargetType",) +class EnterpriseRulesetConditionsOrganizationPropertyTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for organization properties + + Parameters for a organization property condition + """ + + organization_property: EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse + + +__all__ = ( + "EnterpriseRulesetConditionsOrganizationPropertyTargetType", + "EnterpriseRulesetConditionsOrganizationPropertyTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0117.py b/githubkit/versions/ghec_v2022_11_28/types/group_0117.py index 807932264..4488010fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0117.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0117.py @@ -21,6 +21,19 @@ class EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPrope exclude: NotRequired[list[EnterpriseRulesetConditionsOrganizationPropertySpecType]] +class EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse( + TypedDict +): + """EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationProperty""" + + include: NotRequired[ + list[EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse] + ] + exclude: NotRequired[ + list[EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse] + ] + + class EnterpriseRulesetConditionsOrganizationPropertySpecType(TypedDict): """Repository ruleset property targeting definition @@ -31,7 +44,19 @@ class EnterpriseRulesetConditionsOrganizationPropertySpecType(TypedDict): property_values: list[str] +class EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse(TypedDict): + """Repository ruleset property targeting definition + + Parameters for a targeting a organization property + """ + + name: str + property_values: list[str] + + __all__ = ( "EnterpriseRulesetConditionsOrganizationPropertySpecType", + "EnterpriseRulesetConditionsOrganizationPropertySpecTypeForResponse", "EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType", + "EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0118.py b/githubkit/versions/ghec_v2022_11_28/types/group_0118.py index a3d07091c..ffebc2c6e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0118.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0118.py @@ -13,11 +13,16 @@ from .group_0107 import ( EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType, + EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse, ) from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, +) +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, ) -from .group_0111 import RepositoryRulesetConditionsPropRefNameType class EnterpriseRulesetConditionsOneof0Type(TypedDict): @@ -35,4 +40,20 @@ class EnterpriseRulesetConditionsOneof0Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof0Type",) +class EnterpriseRulesetConditionsOneof0TypeForResponse(TypedDict): + """organization_name_and_repository_name + + Conditions to target organizations by name and all repositories + """ + + organization_name: EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof0Type", + "EnterpriseRulesetConditionsOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0119.py b/githubkit/versions/ghec_v2022_11_28/types/group_0119.py index f9432b5ef..94e5750fa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0119.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0119.py @@ -13,10 +13,15 @@ from .group_0107 import ( EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameType, + EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse, +) +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, ) -from .group_0111 import RepositoryRulesetConditionsPropRefNameType from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) @@ -35,4 +40,18 @@ class EnterpriseRulesetConditionsOneof1Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof1Type",) +class EnterpriseRulesetConditionsOneof1TypeForResponse(TypedDict): + """organization_name_and_repository_property + + Conditions to target organizations by name and repositories by property + """ + + organization_name: EnterpriseRulesetConditionsOrganizationNameTargetPropOrganizationNameTypeForResponse + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof1Type", + "EnterpriseRulesetConditionsOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0120.py b/githubkit/versions/ghec_v2022_11_28/types/group_0120.py index 5361a23e2..e1b1febd8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0120.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0120.py @@ -13,10 +13,15 @@ from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, +) +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, ) -from .group_0111 import RepositoryRulesetConditionsPropRefNameType from .group_0115 import ( EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType, + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse, ) @@ -35,4 +40,22 @@ class EnterpriseRulesetConditionsOneof2Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof2Type",) +class EnterpriseRulesetConditionsOneof2TypeForResponse(TypedDict): + """organization_id_and_repository_name + + Conditions to target organizations by id and all repositories + """ + + organization_id: ( + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse + ) + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof2Type", + "EnterpriseRulesetConditionsOneof2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0121.py b/githubkit/versions/ghec_v2022_11_28/types/group_0121.py index fcadaafab..2118a77c6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0121.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0121.py @@ -11,12 +11,17 @@ from typing_extensions import NotRequired, TypedDict -from .group_0111 import RepositoryRulesetConditionsPropRefNameType +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) from .group_0115 import ( EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdType, + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse, ) @@ -35,4 +40,20 @@ class EnterpriseRulesetConditionsOneof3Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof3Type",) +class EnterpriseRulesetConditionsOneof3TypeForResponse(TypedDict): + """organization_id_and_repository_property + + Conditions to target organization by id and repositories by property + """ + + organization_id: ( + EnterpriseRulesetConditionsOrganizationIdTargetPropOrganizationIdTypeForResponse + ) + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof3Type", + "EnterpriseRulesetConditionsOneof3TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0122.py b/githubkit/versions/ghec_v2022_11_28/types/group_0122.py index efa047a44..53a1d52d9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0122.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0122.py @@ -13,10 +13,15 @@ from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, +) +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, ) -from .group_0111 import RepositoryRulesetConditionsPropRefNameType from .group_0117 import ( EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType, + EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse, ) @@ -33,4 +38,20 @@ class EnterpriseRulesetConditionsOneof4Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof4Type",) +class EnterpriseRulesetConditionsOneof4TypeForResponse(TypedDict): + """organization_property_and_repository_name + + Conditions to target organizations by property and all repositories + """ + + organization_property: EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof4Type", + "EnterpriseRulesetConditionsOneof4TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0123.py b/githubkit/versions/ghec_v2022_11_28/types/group_0123.py index d173086d0..4b2770631 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0123.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0123.py @@ -11,12 +11,17 @@ from typing_extensions import NotRequired, TypedDict -from .group_0111 import RepositoryRulesetConditionsPropRefNameType +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) from .group_0117 import ( EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyType, + EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse, ) @@ -33,4 +38,18 @@ class EnterpriseRulesetConditionsOneof5Type(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("EnterpriseRulesetConditionsOneof5Type",) +class EnterpriseRulesetConditionsOneof5TypeForResponse(TypedDict): + """organization_property_and_repository_property + + Conditions to target organizations by property and repositories by property + """ + + organization_property: EnterpriseRulesetConditionsOrganizationPropertyTargetPropOrganizationPropertyTypeForResponse + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "EnterpriseRulesetConditionsOneof5Type", + "EnterpriseRulesetConditionsOneof5TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0124.py b/githubkit/versions/ghec_v2022_11_28/types/group_0124.py index 31548ad70..10ba63e37 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0124.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0124.py @@ -22,6 +22,15 @@ class RepositoryRuleCreationType(TypedDict): type: Literal["creation"] +class RepositoryRuleCreationTypeForResponse(TypedDict): + """creation + + Only allow users with bypass permission to create matching refs. + """ + + type: Literal["creation"] + + class RepositoryRuleDeletionType(TypedDict): """deletion @@ -31,6 +40,15 @@ class RepositoryRuleDeletionType(TypedDict): type: Literal["deletion"] +class RepositoryRuleDeletionTypeForResponse(TypedDict): + """deletion + + Only allow users with bypass permissions to delete matching refs. + """ + + type: Literal["deletion"] + + class RepositoryRuleRequiredSignaturesType(TypedDict): """required_signatures @@ -40,6 +58,15 @@ class RepositoryRuleRequiredSignaturesType(TypedDict): type: Literal["required_signatures"] +class RepositoryRuleRequiredSignaturesTypeForResponse(TypedDict): + """required_signatures + + Commits pushed to matching refs must have verified signatures. + """ + + type: Literal["required_signatures"] + + class RepositoryRuleNonFastForwardType(TypedDict): """non_fast_forward @@ -49,9 +76,22 @@ class RepositoryRuleNonFastForwardType(TypedDict): type: Literal["non_fast_forward"] +class RepositoryRuleNonFastForwardTypeForResponse(TypedDict): + """non_fast_forward + + Prevent users with push access from force pushing to refs. + """ + + type: Literal["non_fast_forward"] + + __all__ = ( "RepositoryRuleCreationType", + "RepositoryRuleCreationTypeForResponse", "RepositoryRuleDeletionType", + "RepositoryRuleDeletionTypeForResponse", "RepositoryRuleNonFastForwardType", + "RepositoryRuleNonFastForwardTypeForResponse", "RepositoryRuleRequiredSignaturesType", + "RepositoryRuleRequiredSignaturesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0125.py b/githubkit/versions/ghec_v2022_11_28/types/group_0125.py index 68ebf9e3c..013d3bb75 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0125.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0125.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0126 import RepositoryRuleUpdatePropParametersType +from .group_0126 import ( + RepositoryRuleUpdatePropParametersType, + RepositoryRuleUpdatePropParametersTypeForResponse, +) class RepositoryRuleUpdateType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleUpdateType(TypedDict): parameters: NotRequired[RepositoryRuleUpdatePropParametersType] -__all__ = ("RepositoryRuleUpdateType",) +class RepositoryRuleUpdateTypeForResponse(TypedDict): + """update + + Only allow users with bypass permission to update matching refs. + """ + + type: Literal["update"] + parameters: NotRequired[RepositoryRuleUpdatePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleUpdateType", + "RepositoryRuleUpdateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0126.py b/githubkit/versions/ghec_v2022_11_28/types/group_0126.py index 4de519b89..f042260d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0126.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0126.py @@ -18,4 +18,13 @@ class RepositoryRuleUpdatePropParametersType(TypedDict): update_allows_fetch_and_merge: bool -__all__ = ("RepositoryRuleUpdatePropParametersType",) +class RepositoryRuleUpdatePropParametersTypeForResponse(TypedDict): + """RepositoryRuleUpdatePropParameters""" + + update_allows_fetch_and_merge: bool + + +__all__ = ( + "RepositoryRuleUpdatePropParametersType", + "RepositoryRuleUpdatePropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0127.py b/githubkit/versions/ghec_v2022_11_28/types/group_0127.py index c531884ff..36307f784 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0127.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0127.py @@ -22,4 +22,16 @@ class RepositoryRuleRequiredLinearHistoryType(TypedDict): type: Literal["required_linear_history"] -__all__ = ("RepositoryRuleRequiredLinearHistoryType",) +class RepositoryRuleRequiredLinearHistoryTypeForResponse(TypedDict): + """required_linear_history + + Prevent merge commits from being pushed to matching refs. + """ + + type: Literal["required_linear_history"] + + +__all__ = ( + "RepositoryRuleRequiredLinearHistoryType", + "RepositoryRuleRequiredLinearHistoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0128.py b/githubkit/versions/ghec_v2022_11_28/types/group_0128.py index c1121ea91..ac8b5f9e7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0128.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0128.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0129 import RepositoryRuleRequiredDeploymentsPropParametersType +from .group_0129 import ( + RepositoryRuleRequiredDeploymentsPropParametersType, + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, +) class RepositoryRuleRequiredDeploymentsType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleRequiredDeploymentsType(TypedDict): parameters: NotRequired[RepositoryRuleRequiredDeploymentsPropParametersType] -__all__ = ("RepositoryRuleRequiredDeploymentsType",) +class RepositoryRuleRequiredDeploymentsTypeForResponse(TypedDict): + """required_deployments + + Choose which environments must be successfully deployed to before refs can be + pushed into a ref that matches this rule. + """ + + type: Literal["required_deployments"] + parameters: NotRequired[ + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleRequiredDeploymentsType", + "RepositoryRuleRequiredDeploymentsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0129.py b/githubkit/versions/ghec_v2022_11_28/types/group_0129.py index ef0c8d1d9..b4d560ae2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0129.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0129.py @@ -18,4 +18,13 @@ class RepositoryRuleRequiredDeploymentsPropParametersType(TypedDict): required_deployment_environments: list[str] -__all__ = ("RepositoryRuleRequiredDeploymentsPropParametersType",) +class RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse(TypedDict): + """RepositoryRuleRequiredDeploymentsPropParameters""" + + required_deployment_environments: list[str] + + +__all__ = ( + "RepositoryRuleRequiredDeploymentsPropParametersType", + "RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0130.py b/githubkit/versions/ghec_v2022_11_28/types/group_0130.py index beedb5329..c0a46e2ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0130.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0130.py @@ -25,6 +25,18 @@ class RepositoryRuleParamsRequiredReviewerConfigurationType(TypedDict): reviewer: RepositoryRuleParamsReviewerType +class RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse(TypedDict): + """RequiredReviewerConfiguration + + A reviewing team, and file patterns describing which files they must approve + changes to. + """ + + file_patterns: list[str] + minimum_approvals: int + reviewer: RepositoryRuleParamsReviewerTypeForResponse + + class RepositoryRuleParamsReviewerType(TypedDict): """Reviewer @@ -35,7 +47,19 @@ class RepositoryRuleParamsReviewerType(TypedDict): type: Literal["Team"] +class RepositoryRuleParamsReviewerTypeForResponse(TypedDict): + """Reviewer + + A required reviewing team + """ + + id: int + type: Literal["Team"] + + __all__ = ( "RepositoryRuleParamsRequiredReviewerConfigurationType", + "RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse", "RepositoryRuleParamsReviewerType", + "RepositoryRuleParamsReviewerTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0131.py b/githubkit/versions/ghec_v2022_11_28/types/group_0131.py index 3dbc8786a..4c8528e4c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0131.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0131.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0132 import RepositoryRulePullRequestPropParametersType +from .group_0132 import ( + RepositoryRulePullRequestPropParametersType, + RepositoryRulePullRequestPropParametersTypeForResponse, +) class RepositoryRulePullRequestType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRulePullRequestType(TypedDict): parameters: NotRequired[RepositoryRulePullRequestPropParametersType] -__all__ = ("RepositoryRulePullRequestType",) +class RepositoryRulePullRequestTypeForResponse(TypedDict): + """pull_request + + Require all commits be made to a non-target branch and submitted via a pull + request before they can be merged. + """ + + type: Literal["pull_request"] + parameters: NotRequired[RepositoryRulePullRequestPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRulePullRequestType", + "RepositoryRulePullRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0132.py b/githubkit/versions/ghec_v2022_11_28/types/group_0132.py index 1543217d1..94d35749a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0132.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0132.py @@ -25,4 +25,19 @@ class RepositoryRulePullRequestPropParametersType(TypedDict): required_review_thread_resolution: bool -__all__ = ("RepositoryRulePullRequestPropParametersType",) +class RepositoryRulePullRequestPropParametersTypeForResponse(TypedDict): + """RepositoryRulePullRequestPropParameters""" + + allowed_merge_methods: NotRequired[list[Literal["merge", "squash", "rebase"]]] + automatic_copilot_code_review_enabled: NotRequired[bool] + dismiss_stale_reviews_on_push: bool + require_code_owner_review: bool + require_last_push_approval: bool + required_approving_review_count: int + required_review_thread_resolution: bool + + +__all__ = ( + "RepositoryRulePullRequestPropParametersType", + "RepositoryRulePullRequestPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0133.py b/githubkit/versions/ghec_v2022_11_28/types/group_0133.py index 1f54444cf..90a235fd0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0133.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0133.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0134 import RepositoryRuleRequiredStatusChecksPropParametersType +from .group_0134 import ( + RepositoryRuleRequiredStatusChecksPropParametersType, + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, +) class RepositoryRuleRequiredStatusChecksType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleRequiredStatusChecksType(TypedDict): parameters: NotRequired[RepositoryRuleRequiredStatusChecksPropParametersType] -__all__ = ("RepositoryRuleRequiredStatusChecksType",) +class RepositoryRuleRequiredStatusChecksTypeForResponse(TypedDict): + """required_status_checks + + Choose which status checks must pass before the ref is updated. When enabled, + commits must first be pushed to another ref where the checks pass. + """ + + type: Literal["required_status_checks"] + parameters: NotRequired[ + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleRequiredStatusChecksType", + "RepositoryRuleRequiredStatusChecksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0134.py b/githubkit/versions/ghec_v2022_11_28/types/group_0134.py index 82ebfc8c9..bd61533eb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0134.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0134.py @@ -20,6 +20,16 @@ class RepositoryRuleRequiredStatusChecksPropParametersType(TypedDict): strict_required_status_checks_policy: bool +class RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse(TypedDict): + """RepositoryRuleRequiredStatusChecksPropParameters""" + + do_not_enforce_on_create: NotRequired[bool] + required_status_checks: list[ + RepositoryRuleParamsStatusCheckConfigurationTypeForResponse + ] + strict_required_status_checks_policy: bool + + class RepositoryRuleParamsStatusCheckConfigurationType(TypedDict): """StatusCheckConfiguration @@ -30,7 +40,19 @@ class RepositoryRuleParamsStatusCheckConfigurationType(TypedDict): integration_id: NotRequired[int] +class RepositoryRuleParamsStatusCheckConfigurationTypeForResponse(TypedDict): + """StatusCheckConfiguration + + Required status check + """ + + context: str + integration_id: NotRequired[int] + + __all__ = ( "RepositoryRuleParamsStatusCheckConfigurationType", + "RepositoryRuleParamsStatusCheckConfigurationTypeForResponse", "RepositoryRuleRequiredStatusChecksPropParametersType", + "RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0135.py b/githubkit/versions/ghec_v2022_11_28/types/group_0135.py index 29e653706..1d58fe0e4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0135.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0135.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0136 import RepositoryRuleCommitMessagePatternPropParametersType +from .group_0136 import ( + RepositoryRuleCommitMessagePatternPropParametersType, + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, +) class RepositoryRuleCommitMessagePatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitMessagePatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitMessagePatternPropParametersType] -__all__ = ("RepositoryRuleCommitMessagePatternType",) +class RepositoryRuleCommitMessagePatternTypeForResponse(TypedDict): + """commit_message_pattern + + Parameters to be used for the commit_message_pattern rule + """ + + type: Literal["commit_message_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitMessagePatternType", + "RepositoryRuleCommitMessagePatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0136.py b/githubkit/versions/ghec_v2022_11_28/types/group_0136.py index b6fc6932b..4851b9255 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0136.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0136.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitMessagePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitMessagePatternPropParametersType",) +class RepositoryRuleCommitMessagePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitMessagePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitMessagePatternPropParametersType", + "RepositoryRuleCommitMessagePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0137.py b/githubkit/versions/ghec_v2022_11_28/types/group_0137.py index 5652f3e91..2459859fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0137.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0137.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0138 import RepositoryRuleCommitAuthorEmailPatternPropParametersType +from .group_0138 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersType, + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleCommitAuthorEmailPatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitAuthorEmailPatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitAuthorEmailPatternPropParametersType] -__all__ = ("RepositoryRuleCommitAuthorEmailPatternType",) +class RepositoryRuleCommitAuthorEmailPatternTypeForResponse(TypedDict): + """commit_author_email_pattern + + Parameters to be used for the commit_author_email_pattern rule + """ + + type: Literal["commit_author_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitAuthorEmailPatternType", + "RepositoryRuleCommitAuthorEmailPatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0138.py b/githubkit/versions/ghec_v2022_11_28/types/group_0138.py index d6712bb18..9fe432230 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0138.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0138.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitAuthorEmailPatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitAuthorEmailPatternPropParametersType",) +class RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitAuthorEmailPatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitAuthorEmailPatternPropParametersType", + "RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0139.py b/githubkit/versions/ghec_v2022_11_28/types/group_0139.py index e1024ab35..3aca67eee 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0139.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0139.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0140 import RepositoryRuleCommitterEmailPatternPropParametersType +from .group_0140 import ( + RepositoryRuleCommitterEmailPatternPropParametersType, + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleCommitterEmailPatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitterEmailPatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitterEmailPatternPropParametersType] -__all__ = ("RepositoryRuleCommitterEmailPatternType",) +class RepositoryRuleCommitterEmailPatternTypeForResponse(TypedDict): + """committer_email_pattern + + Parameters to be used for the committer_email_pattern rule + """ + + type: Literal["committer_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitterEmailPatternType", + "RepositoryRuleCommitterEmailPatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0140.py b/githubkit/versions/ghec_v2022_11_28/types/group_0140.py index a6567de4b..f0cfdf7b8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0140.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0140.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitterEmailPatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitterEmailPatternPropParametersType",) +class RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitterEmailPatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitterEmailPatternPropParametersType", + "RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0141.py b/githubkit/versions/ghec_v2022_11_28/types/group_0141.py index 471e9cc0a..64522b551 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0141.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0141.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0142 import RepositoryRuleBranchNamePatternPropParametersType +from .group_0142 import ( + RepositoryRuleBranchNamePatternPropParametersType, + RepositoryRuleBranchNamePatternPropParametersTypeForResponse, +) class RepositoryRuleBranchNamePatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleBranchNamePatternType(TypedDict): parameters: NotRequired[RepositoryRuleBranchNamePatternPropParametersType] -__all__ = ("RepositoryRuleBranchNamePatternType",) +class RepositoryRuleBranchNamePatternTypeForResponse(TypedDict): + """branch_name_pattern + + Parameters to be used for the branch_name_pattern rule + """ + + type: Literal["branch_name_pattern"] + parameters: NotRequired[ + RepositoryRuleBranchNamePatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleBranchNamePatternType", + "RepositoryRuleBranchNamePatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0142.py b/githubkit/versions/ghec_v2022_11_28/types/group_0142.py index da29fc42d..a35a08bed 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0142.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0142.py @@ -22,4 +22,16 @@ class RepositoryRuleBranchNamePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleBranchNamePatternPropParametersType",) +class RepositoryRuleBranchNamePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleBranchNamePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleBranchNamePatternPropParametersType", + "RepositoryRuleBranchNamePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0143.py b/githubkit/versions/ghec_v2022_11_28/types/group_0143.py index a67333a8d..7a4e3dbde 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0143.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0143.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0144 import RepositoryRuleTagNamePatternPropParametersType +from .group_0144 import ( + RepositoryRuleTagNamePatternPropParametersType, + RepositoryRuleTagNamePatternPropParametersTypeForResponse, +) class RepositoryRuleTagNamePatternType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleTagNamePatternType(TypedDict): parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersType] -__all__ = ("RepositoryRuleTagNamePatternType",) +class RepositoryRuleTagNamePatternTypeForResponse(TypedDict): + """tag_name_pattern + + Parameters to be used for the tag_name_pattern rule + """ + + type: Literal["tag_name_pattern"] + parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleTagNamePatternType", + "RepositoryRuleTagNamePatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0144.py b/githubkit/versions/ghec_v2022_11_28/types/group_0144.py index cbfa3546b..fee26c80d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0144.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0144.py @@ -22,4 +22,16 @@ class RepositoryRuleTagNamePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleTagNamePatternPropParametersType",) +class RepositoryRuleTagNamePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleTagNamePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleTagNamePatternPropParametersType", + "RepositoryRuleTagNamePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0145.py b/githubkit/versions/ghec_v2022_11_28/types/group_0145.py index b6e9843f3..71c796f47 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0145.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0145.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0146 import RepositoryRuleFilePathRestrictionPropParametersType +from .group_0146 import ( + RepositoryRuleFilePathRestrictionPropParametersType, + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, +) class RepositoryRuleFilePathRestrictionType(TypedDict): @@ -27,4 +30,21 @@ class RepositoryRuleFilePathRestrictionType(TypedDict): parameters: NotRequired[RepositoryRuleFilePathRestrictionPropParametersType] -__all__ = ("RepositoryRuleFilePathRestrictionType",) +class RepositoryRuleFilePathRestrictionTypeForResponse(TypedDict): + """file_path_restriction + + Prevent commits that include changes in specified file and folder paths from + being pushed to the commit graph. This includes absolute paths that contain file + names. + """ + + type: Literal["file_path_restriction"] + parameters: NotRequired[ + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleFilePathRestrictionType", + "RepositoryRuleFilePathRestrictionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0146.py b/githubkit/versions/ghec_v2022_11_28/types/group_0146.py index 7e198ed48..ac5fb5660 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0146.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0146.py @@ -18,4 +18,13 @@ class RepositoryRuleFilePathRestrictionPropParametersType(TypedDict): restricted_file_paths: list[str] -__all__ = ("RepositoryRuleFilePathRestrictionPropParametersType",) +class RepositoryRuleFilePathRestrictionPropParametersTypeForResponse(TypedDict): + """RepositoryRuleFilePathRestrictionPropParameters""" + + restricted_file_paths: list[str] + + +__all__ = ( + "RepositoryRuleFilePathRestrictionPropParametersType", + "RepositoryRuleFilePathRestrictionPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0147.py b/githubkit/versions/ghec_v2022_11_28/types/group_0147.py index 22d1b7a64..095dc458d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0147.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0147.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0148 import RepositoryRuleMaxFilePathLengthPropParametersType +from .group_0148 import ( + RepositoryRuleMaxFilePathLengthPropParametersType, + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, +) class RepositoryRuleMaxFilePathLengthType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleMaxFilePathLengthType(TypedDict): parameters: NotRequired[RepositoryRuleMaxFilePathLengthPropParametersType] -__all__ = ("RepositoryRuleMaxFilePathLengthType",) +class RepositoryRuleMaxFilePathLengthTypeForResponse(TypedDict): + """max_file_path_length + + Prevent commits that include file paths that exceed the specified character + limit from being pushed to the commit graph. + """ + + type: Literal["max_file_path_length"] + parameters: NotRequired[ + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleMaxFilePathLengthType", + "RepositoryRuleMaxFilePathLengthTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0148.py b/githubkit/versions/ghec_v2022_11_28/types/group_0148.py index 7f4773214..d497c4a45 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0148.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0148.py @@ -18,4 +18,13 @@ class RepositoryRuleMaxFilePathLengthPropParametersType(TypedDict): max_file_path_length: int -__all__ = ("RepositoryRuleMaxFilePathLengthPropParametersType",) +class RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse(TypedDict): + """RepositoryRuleMaxFilePathLengthPropParameters""" + + max_file_path_length: int + + +__all__ = ( + "RepositoryRuleMaxFilePathLengthPropParametersType", + "RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0149.py b/githubkit/versions/ghec_v2022_11_28/types/group_0149.py index c95777c5f..6916f87e5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0149.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0149.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0150 import RepositoryRuleFileExtensionRestrictionPropParametersType +from .group_0150 import ( + RepositoryRuleFileExtensionRestrictionPropParametersType, + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, +) class RepositoryRuleFileExtensionRestrictionType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleFileExtensionRestrictionType(TypedDict): parameters: NotRequired[RepositoryRuleFileExtensionRestrictionPropParametersType] -__all__ = ("RepositoryRuleFileExtensionRestrictionType",) +class RepositoryRuleFileExtensionRestrictionTypeForResponse(TypedDict): + """file_extension_restriction + + Prevent commits that include files with specified file extensions from being + pushed to the commit graph. + """ + + type: Literal["file_extension_restriction"] + parameters: NotRequired[ + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleFileExtensionRestrictionType", + "RepositoryRuleFileExtensionRestrictionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0150.py b/githubkit/versions/ghec_v2022_11_28/types/group_0150.py index e8886bc56..32d651207 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0150.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0150.py @@ -18,4 +18,13 @@ class RepositoryRuleFileExtensionRestrictionPropParametersType(TypedDict): restricted_file_extensions: list[str] -__all__ = ("RepositoryRuleFileExtensionRestrictionPropParametersType",) +class RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse(TypedDict): + """RepositoryRuleFileExtensionRestrictionPropParameters""" + + restricted_file_extensions: list[str] + + +__all__ = ( + "RepositoryRuleFileExtensionRestrictionPropParametersType", + "RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0151.py b/githubkit/versions/ghec_v2022_11_28/types/group_0151.py index 71c8f2317..8c0ea484e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0151.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0151.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0152 import RepositoryRuleMaxFileSizePropParametersType +from .group_0152 import ( + RepositoryRuleMaxFileSizePropParametersType, + RepositoryRuleMaxFileSizePropParametersTypeForResponse, +) class RepositoryRuleMaxFileSizeType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRuleMaxFileSizeType(TypedDict): parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersType] -__all__ = ("RepositoryRuleMaxFileSizeType",) +class RepositoryRuleMaxFileSizeTypeForResponse(TypedDict): + """max_file_size + + Prevent commits with individual files that exceed the specified limit from being + pushed to the commit graph. + """ + + type: Literal["max_file_size"] + parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleMaxFileSizeType", + "RepositoryRuleMaxFileSizeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0152.py b/githubkit/versions/ghec_v2022_11_28/types/group_0152.py index f3b12569b..54d3562e7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0152.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0152.py @@ -18,4 +18,13 @@ class RepositoryRuleMaxFileSizePropParametersType(TypedDict): max_file_size: int -__all__ = ("RepositoryRuleMaxFileSizePropParametersType",) +class RepositoryRuleMaxFileSizePropParametersTypeForResponse(TypedDict): + """RepositoryRuleMaxFileSizePropParameters""" + + max_file_size: int + + +__all__ = ( + "RepositoryRuleMaxFileSizePropParametersType", + "RepositoryRuleMaxFileSizePropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0153.py b/githubkit/versions/ghec_v2022_11_28/types/group_0153.py index 7464769b7..eeb7d533b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0153.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0153.py @@ -22,4 +22,17 @@ class RepositoryRuleParamsRestrictedCommitsType(TypedDict): reason: NotRequired[str] -__all__ = ("RepositoryRuleParamsRestrictedCommitsType",) +class RepositoryRuleParamsRestrictedCommitsTypeForResponse(TypedDict): + """RestrictedCommits + + Restricted commit + """ + + oid: str + reason: NotRequired[str] + + +__all__ = ( + "RepositoryRuleParamsRestrictedCommitsType", + "RepositoryRuleParamsRestrictedCommitsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0154.py b/githubkit/versions/ghec_v2022_11_28/types/group_0154.py index 9a205391f..3741b20d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0154.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0154.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0155 import RepositoryRuleWorkflowsPropParametersType +from .group_0155 import ( + RepositoryRuleWorkflowsPropParametersType, + RepositoryRuleWorkflowsPropParametersTypeForResponse, +) class RepositoryRuleWorkflowsType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRuleWorkflowsType(TypedDict): parameters: NotRequired[RepositoryRuleWorkflowsPropParametersType] -__all__ = ("RepositoryRuleWorkflowsType",) +class RepositoryRuleWorkflowsTypeForResponse(TypedDict): + """workflows + + Require all changes made to a targeted branch to pass the specified workflows + before they can be merged. + """ + + type: Literal["workflows"] + parameters: NotRequired[RepositoryRuleWorkflowsPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleWorkflowsType", + "RepositoryRuleWorkflowsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0155.py b/githubkit/versions/ghec_v2022_11_28/types/group_0155.py index c26b4894e..f924f64c2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0155.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0155.py @@ -19,6 +19,13 @@ class RepositoryRuleWorkflowsPropParametersType(TypedDict): workflows: list[RepositoryRuleParamsWorkflowFileReferenceType] +class RepositoryRuleWorkflowsPropParametersTypeForResponse(TypedDict): + """RepositoryRuleWorkflowsPropParameters""" + + do_not_enforce_on_create: NotRequired[bool] + workflows: list[RepositoryRuleParamsWorkflowFileReferenceTypeForResponse] + + class RepositoryRuleParamsWorkflowFileReferenceType(TypedDict): """WorkflowFileReference @@ -31,7 +38,21 @@ class RepositoryRuleParamsWorkflowFileReferenceType(TypedDict): sha: NotRequired[str] +class RepositoryRuleParamsWorkflowFileReferenceTypeForResponse(TypedDict): + """WorkflowFileReference + + A workflow that must run for this rule to pass + """ + + path: str + ref: NotRequired[str] + repository_id: int + sha: NotRequired[str] + + __all__ = ( "RepositoryRuleParamsWorkflowFileReferenceType", + "RepositoryRuleParamsWorkflowFileReferenceTypeForResponse", "RepositoryRuleWorkflowsPropParametersType", + "RepositoryRuleWorkflowsPropParametersTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0156.py b/githubkit/versions/ghec_v2022_11_28/types/group_0156.py index d6c87934f..a5e4646f6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0156.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0156.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0157 import RepositoryRuleCodeScanningPropParametersType +from .group_0157 import ( + RepositoryRuleCodeScanningPropParametersType, + RepositoryRuleCodeScanningPropParametersTypeForResponse, +) class RepositoryRuleCodeScanningType(TypedDict): @@ -27,4 +30,19 @@ class RepositoryRuleCodeScanningType(TypedDict): parameters: NotRequired[RepositoryRuleCodeScanningPropParametersType] -__all__ = ("RepositoryRuleCodeScanningType",) +class RepositoryRuleCodeScanningTypeForResponse(TypedDict): + """code_scanning + + Choose which tools must provide code scanning results before the reference is + updated. When configured, code scanning must be enabled and have results for + both the commit and the reference being updated. + """ + + type: Literal["code_scanning"] + parameters: NotRequired[RepositoryRuleCodeScanningPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleCodeScanningType", + "RepositoryRuleCodeScanningTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0157.py b/githubkit/versions/ghec_v2022_11_28/types/group_0157.py index 0ce3aaee0..d014010cf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0157.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0157.py @@ -19,6 +19,12 @@ class RepositoryRuleCodeScanningPropParametersType(TypedDict): code_scanning_tools: list[RepositoryRuleParamsCodeScanningToolType] +class RepositoryRuleCodeScanningPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCodeScanningPropParameters""" + + code_scanning_tools: list[RepositoryRuleParamsCodeScanningToolTypeForResponse] + + class RepositoryRuleParamsCodeScanningToolType(TypedDict): """CodeScanningTool @@ -32,7 +38,22 @@ class RepositoryRuleParamsCodeScanningToolType(TypedDict): tool: str +class RepositoryRuleParamsCodeScanningToolTypeForResponse(TypedDict): + """CodeScanningTool + + A tool that must provide code scanning results for this rule to pass. + """ + + alerts_threshold: Literal["none", "errors", "errors_and_warnings", "all"] + security_alerts_threshold: Literal[ + "none", "critical", "high_or_higher", "medium_or_higher", "all" + ] + tool: str + + __all__ = ( "RepositoryRuleCodeScanningPropParametersType", + "RepositoryRuleCodeScanningPropParametersTypeForResponse", "RepositoryRuleParamsCodeScanningToolType", + "RepositoryRuleParamsCodeScanningToolTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0158.py b/githubkit/versions/ghec_v2022_11_28/types/group_0158.py index 90d037d08..9f39bf2d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0158.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0158.py @@ -13,6 +13,7 @@ from .group_0159 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, ) @@ -25,4 +26,18 @@ class RepositoryRulesetConditionsRepositoryIdTargetType(TypedDict): repository_id: RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType -__all__ = ("RepositoryRulesetConditionsRepositoryIdTargetType",) +class RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository IDs + + Parameters for a repository ID condition + """ + + repository_id: ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse + ) + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryIdTargetType", + "RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0159.py b/githubkit/versions/ghec_v2022_11_28/types/group_0159.py index ab014ee2b..327729263 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0159.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0159.py @@ -18,4 +18,15 @@ class RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType(TypedDic repository_ids: NotRequired[list[int]] -__all__ = ("RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType",) +class RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryId""" + + repository_ids: NotRequired[list[int]] + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType", + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0160.py b/githubkit/versions/ghec_v2022_11_28/types/group_0160.py index 5f621628e..86b598c1a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0160.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0160.py @@ -13,8 +13,12 @@ from .group_0109 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, +) +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, ) -from .group_0111 import RepositoryRulesetConditionsPropRefNameType class OrgRulesetConditionsOneof0Type(TypedDict): @@ -29,4 +33,19 @@ class OrgRulesetConditionsOneof0Type(TypedDict): ) -__all__ = ("OrgRulesetConditionsOneof0Type",) +class OrgRulesetConditionsOneof0TypeForResponse(TypedDict): + """repository_name_and_ref_name + + Conditions to target repositories by name and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + + +__all__ = ( + "OrgRulesetConditionsOneof0Type", + "OrgRulesetConditionsOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0161.py b/githubkit/versions/ghec_v2022_11_28/types/group_0161.py index a575bdbda..336e72851 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0161.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0161.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0111 import RepositoryRulesetConditionsPropRefNameType +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0159 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, ) @@ -27,4 +31,19 @@ class OrgRulesetConditionsOneof1Type(TypedDict): repository_id: RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType -__all__ = ("OrgRulesetConditionsOneof1Type",) +class OrgRulesetConditionsOneof1TypeForResponse(TypedDict): + """repository_id_and_ref_name + + Conditions to target repositories by id and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_id: ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse + ) + + +__all__ = ( + "OrgRulesetConditionsOneof1Type", + "OrgRulesetConditionsOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0162.py b/githubkit/versions/ghec_v2022_11_28/types/group_0162.py index a91955c5e..ab08c7e22 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0162.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0162.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0111 import RepositoryRulesetConditionsPropRefNameType +from .group_0111 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0113 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) @@ -29,4 +33,17 @@ class OrgRulesetConditionsOneof2Type(TypedDict): ) -__all__ = ("OrgRulesetConditionsOneof2Type",) +class OrgRulesetConditionsOneof2TypeForResponse(TypedDict): + """repository_property_and_ref_name + + Conditions to target repositories by property and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + + +__all__ = ( + "OrgRulesetConditionsOneof2Type", + "OrgRulesetConditionsOneof2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0163.py b/githubkit/versions/ghec_v2022_11_28/types/group_0163.py index b2be7e16e..a7d407d40 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0163.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0163.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0164 import RepositoryRuleMergeQueuePropParametersType +from .group_0164 import ( + RepositoryRuleMergeQueuePropParametersType, + RepositoryRuleMergeQueuePropParametersTypeForResponse, +) class RepositoryRuleMergeQueueType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleMergeQueueType(TypedDict): parameters: NotRequired[RepositoryRuleMergeQueuePropParametersType] -__all__ = ("RepositoryRuleMergeQueueType",) +class RepositoryRuleMergeQueueTypeForResponse(TypedDict): + """merge_queue + + Merges must be performed via a merge queue. + """ + + type: Literal["merge_queue"] + parameters: NotRequired[RepositoryRuleMergeQueuePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleMergeQueueType", + "RepositoryRuleMergeQueueTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0164.py b/githubkit/versions/ghec_v2022_11_28/types/group_0164.py index 4d32d8491..2af5f1a51 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0164.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0164.py @@ -25,4 +25,19 @@ class RepositoryRuleMergeQueuePropParametersType(TypedDict): min_entries_to_merge_wait_minutes: int -__all__ = ("RepositoryRuleMergeQueuePropParametersType",) +class RepositoryRuleMergeQueuePropParametersTypeForResponse(TypedDict): + """RepositoryRuleMergeQueuePropParameters""" + + check_response_timeout_minutes: int + grouping_strategy: Literal["ALLGREEN", "HEADGREEN"] + max_entries_to_build: int + max_entries_to_merge: int + merge_method: Literal["MERGE", "SQUASH", "REBASE"] + min_entries_to_merge: int + min_entries_to_merge_wait_minutes: int + + +__all__ = ( + "RepositoryRuleMergeQueuePropParametersType", + "RepositoryRuleMergeQueuePropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0165.py b/githubkit/versions/ghec_v2022_11_28/types/group_0165.py index afe66d2d4..365db3ef0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0165.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0165.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0166 import RepositoryRuleCopilotCodeReviewPropParametersType +from .group_0166 import ( + RepositoryRuleCopilotCodeReviewPropParametersType, + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, +) class RepositoryRuleCopilotCodeReviewType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleCopilotCodeReviewType(TypedDict): parameters: NotRequired[RepositoryRuleCopilotCodeReviewPropParametersType] -__all__ = ("RepositoryRuleCopilotCodeReviewType",) +class RepositoryRuleCopilotCodeReviewTypeForResponse(TypedDict): + """copilot_code_review + + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review. + """ + + type: Literal["copilot_code_review"] + parameters: NotRequired[ + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCopilotCodeReviewType", + "RepositoryRuleCopilotCodeReviewTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0166.py b/githubkit/versions/ghec_v2022_11_28/types/group_0166.py index 277d85a4a..671116d8b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0166.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0166.py @@ -19,4 +19,14 @@ class RepositoryRuleCopilotCodeReviewPropParametersType(TypedDict): review_on_push: NotRequired[bool] -__all__ = ("RepositoryRuleCopilotCodeReviewPropParametersType",) +class RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCopilotCodeReviewPropParameters""" + + review_draft_pull_requests: NotRequired[bool] + review_on_push: NotRequired[bool] + + +__all__ = ( + "RepositoryRuleCopilotCodeReviewPropParametersType", + "RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0167.py b/githubkit/versions/ghec_v2022_11_28/types/group_0167.py index 418be6f22..1d5a0f6c9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0167.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0167.py @@ -13,35 +13,105 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType -from .group_0110 import RepositoryRulesetConditionsType +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0110 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0160 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0161 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0162 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, +) +from .group_0163 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0165 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0160 import OrgRulesetConditionsOneof0Type -from .group_0161 import OrgRulesetConditionsOneof1Type -from .group_0162 import OrgRulesetConditionsOneof2Type -from .group_0163 import RepositoryRuleMergeQueueType -from .group_0165 import RepositoryRuleCopilotCodeReviewType class RepositoryRulesetType(TypedDict): @@ -103,6 +173,65 @@ class RepositoryRulesetType(TypedDict): updated_at: NotRequired[datetime] +class RepositoryRulesetTypeForResponse(TypedDict): + """Repository ruleset + + A set of rules to apply when specified conditions are met. + """ + + id: int + name: str + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + source_type: NotRequired[Literal["Repository", "Organization", "Enterprise"]] + source: str + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + current_user_can_bypass: NotRequired[ + Literal["always", "pull_requests_only", "never", "exempt"] + ] + node_id: NotRequired[str] + links: NotRequired[RepositoryRulesetPropLinksTypeForResponse] + conditions: NotRequired[ + Union[ + RepositoryRulesetConditionsTypeForResponse, + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + None, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class RepositoryRulesetPropLinksType(TypedDict): """RepositoryRulesetPropLinks""" @@ -110,21 +239,44 @@ class RepositoryRulesetPropLinksType(TypedDict): html: NotRequired[Union[RepositoryRulesetPropLinksPropHtmlType, None]] +class RepositoryRulesetPropLinksTypeForResponse(TypedDict): + """RepositoryRulesetPropLinks""" + + self_: NotRequired[RepositoryRulesetPropLinksPropSelfTypeForResponse] + html: NotRequired[Union[RepositoryRulesetPropLinksPropHtmlTypeForResponse, None]] + + class RepositoryRulesetPropLinksPropSelfType(TypedDict): """RepositoryRulesetPropLinksPropSelf""" href: NotRequired[str] +class RepositoryRulesetPropLinksPropSelfTypeForResponse(TypedDict): + """RepositoryRulesetPropLinksPropSelf""" + + href: NotRequired[str] + + class RepositoryRulesetPropLinksPropHtmlType(TypedDict): """RepositoryRulesetPropLinksPropHtml""" href: NotRequired[str] +class RepositoryRulesetPropLinksPropHtmlTypeForResponse(TypedDict): + """RepositoryRulesetPropLinksPropHtml""" + + href: NotRequired[str] + + __all__ = ( "RepositoryRulesetPropLinksPropHtmlType", + "RepositoryRulesetPropLinksPropHtmlTypeForResponse", "RepositoryRulesetPropLinksPropSelfType", + "RepositoryRulesetPropLinksPropSelfTypeForResponse", "RepositoryRulesetPropLinksType", + "RepositoryRulesetPropLinksTypeForResponse", "RepositoryRulesetType", + "RepositoryRulesetTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0168.py b/githubkit/versions/ghec_v2022_11_28/types/group_0168.py index ebb99e871..de8f814f8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0168.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0168.py @@ -12,7 +12,10 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0169 import RulesetVersionPropActorType +from .group_0169 import ( + RulesetVersionPropActorType, + RulesetVersionPropActorTypeForResponse, +) class RulesetVersionType(TypedDict): @@ -26,4 +29,18 @@ class RulesetVersionType(TypedDict): updated_at: datetime -__all__ = ("RulesetVersionType",) +class RulesetVersionTypeForResponse(TypedDict): + """Ruleset version + + The historical version of a ruleset + """ + + version_id: int + actor: RulesetVersionPropActorTypeForResponse + updated_at: str + + +__all__ = ( + "RulesetVersionType", + "RulesetVersionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0169.py b/githubkit/versions/ghec_v2022_11_28/types/group_0169.py index 8966c1c93..d0bd0c60a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0169.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0169.py @@ -22,4 +22,17 @@ class RulesetVersionPropActorType(TypedDict): type: NotRequired[str] -__all__ = ("RulesetVersionPropActorType",) +class RulesetVersionPropActorTypeForResponse(TypedDict): + """RulesetVersionPropActor + + The actor who updated the ruleset + """ + + id: NotRequired[int] + type: NotRequired[str] + + +__all__ = ( + "RulesetVersionPropActorType", + "RulesetVersionPropActorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0170.py b/githubkit/versions/ghec_v2022_11_28/types/group_0170.py index 9cba2c591..4684fc4e3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0170.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0170.py @@ -12,8 +12,14 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0169 import RulesetVersionPropActorType -from .group_0172 import RulesetVersionWithStateAllof1PropStateType +from .group_0169 import ( + RulesetVersionPropActorType, + RulesetVersionPropActorTypeForResponse, +) +from .group_0172 import ( + RulesetVersionWithStateAllof1PropStateType, + RulesetVersionWithStateAllof1PropStateTypeForResponse, +) class RulesetVersionWithStateType(TypedDict): @@ -25,4 +31,16 @@ class RulesetVersionWithStateType(TypedDict): state: RulesetVersionWithStateAllof1PropStateType -__all__ = ("RulesetVersionWithStateType",) +class RulesetVersionWithStateTypeForResponse(TypedDict): + """RulesetVersionWithState""" + + version_id: int + actor: RulesetVersionPropActorTypeForResponse + updated_at: str + state: RulesetVersionWithStateAllof1PropStateTypeForResponse + + +__all__ = ( + "RulesetVersionWithStateType", + "RulesetVersionWithStateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0171.py b/githubkit/versions/ghec_v2022_11_28/types/group_0171.py index f9b6b8fc3..1f7f2d3ec 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0171.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0171.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0172 import RulesetVersionWithStateAllof1PropStateType +from .group_0172 import ( + RulesetVersionWithStateAllof1PropStateType, + RulesetVersionWithStateAllof1PropStateTypeForResponse, +) class RulesetVersionWithStateAllof1Type(TypedDict): @@ -20,4 +23,13 @@ class RulesetVersionWithStateAllof1Type(TypedDict): state: RulesetVersionWithStateAllof1PropStateType -__all__ = ("RulesetVersionWithStateAllof1Type",) +class RulesetVersionWithStateAllof1TypeForResponse(TypedDict): + """RulesetVersionWithStateAllof1""" + + state: RulesetVersionWithStateAllof1PropStateTypeForResponse + + +__all__ = ( + "RulesetVersionWithStateAllof1Type", + "RulesetVersionWithStateAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0172.py b/githubkit/versions/ghec_v2022_11_28/types/group_0172.py index c09a8e009..448738c0c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0172.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0172.py @@ -19,4 +19,14 @@ class RulesetVersionWithStateAllof1PropStateType(TypedDict): """ -__all__ = ("RulesetVersionWithStateAllof1PropStateType",) +class RulesetVersionWithStateAllof1PropStateTypeForResponse(TypedDict): + """RulesetVersionWithStateAllof1PropState + + The state of the ruleset version + """ + + +__all__ = ( + "RulesetVersionWithStateAllof1PropStateType", + "RulesetVersionWithStateAllof1PropStateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0173.py b/githubkit/versions/ghec_v2022_11_28/types/group_0173.py index b50ccb144..9b713bf16 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0173.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0173.py @@ -30,6 +30,24 @@ class SecretScanningLocationCommitType(TypedDict): commit_url: str +class SecretScanningLocationCommitTypeForResponse(TypedDict): + """SecretScanningLocationCommit + + Represents a 'commit' secret scanning location type. This location type shows + that a secret was detected inside a commit to a repository. + """ + + path: str + start_line: float + end_line: float + start_column: float + end_column: float + blob_sha: str + blob_url: str + commit_sha: str + commit_url: str + + class SecretScanningLocationWikiCommitType(TypedDict): """SecretScanningLocationWikiCommit @@ -48,6 +66,24 @@ class SecretScanningLocationWikiCommitType(TypedDict): commit_url: str +class SecretScanningLocationWikiCommitTypeForResponse(TypedDict): + """SecretScanningLocationWikiCommit + + Represents a 'wiki_commit' secret scanning location type. This location type + shows that a secret was detected inside a commit to a repository wiki. + """ + + path: str + start_line: float + end_line: float + start_column: float + end_column: float + blob_sha: str + page_url: str + commit_sha: str + commit_url: str + + class SecretScanningLocationIssueBodyType(TypedDict): """SecretScanningLocationIssueBody @@ -58,6 +94,16 @@ class SecretScanningLocationIssueBodyType(TypedDict): issue_body_url: str +class SecretScanningLocationIssueBodyTypeForResponse(TypedDict): + """SecretScanningLocationIssueBody + + Represents an 'issue_body' secret scanning location type. This location type + shows that a secret was detected in the body of an issue. + """ + + issue_body_url: str + + class SecretScanningLocationDiscussionTitleType(TypedDict): """SecretScanningLocationDiscussionTitle @@ -68,6 +114,16 @@ class SecretScanningLocationDiscussionTitleType(TypedDict): discussion_title_url: str +class SecretScanningLocationDiscussionTitleTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionTitle + + Represents a 'discussion_title' secret scanning location type. This location + type shows that a secret was detected in the title of a discussion. + """ + + discussion_title_url: str + + class SecretScanningLocationDiscussionCommentType(TypedDict): """SecretScanningLocationDiscussionComment @@ -78,6 +134,16 @@ class SecretScanningLocationDiscussionCommentType(TypedDict): discussion_comment_url: str +class SecretScanningLocationDiscussionCommentTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionComment + + Represents a 'discussion_comment' secret scanning location type. This location + type shows that a secret was detected in a comment on a discussion. + """ + + discussion_comment_url: str + + class SecretScanningLocationPullRequestBodyType(TypedDict): """SecretScanningLocationPullRequestBody @@ -88,6 +154,16 @@ class SecretScanningLocationPullRequestBodyType(TypedDict): pull_request_body_url: str +class SecretScanningLocationPullRequestBodyTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestBody + + Represents a 'pull_request_body' secret scanning location type. This location + type shows that a secret was detected in the body of a pull request. + """ + + pull_request_body_url: str + + class SecretScanningLocationPullRequestReviewType(TypedDict): """SecretScanningLocationPullRequestReview @@ -98,12 +174,29 @@ class SecretScanningLocationPullRequestReviewType(TypedDict): pull_request_review_url: str +class SecretScanningLocationPullRequestReviewTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestReview + + Represents a 'pull_request_review' secret scanning location type. This location + type shows that a secret was detected in a review on a pull request. + """ + + pull_request_review_url: str + + __all__ = ( "SecretScanningLocationCommitType", + "SecretScanningLocationCommitTypeForResponse", "SecretScanningLocationDiscussionCommentType", + "SecretScanningLocationDiscussionCommentTypeForResponse", "SecretScanningLocationDiscussionTitleType", + "SecretScanningLocationDiscussionTitleTypeForResponse", "SecretScanningLocationIssueBodyType", + "SecretScanningLocationIssueBodyTypeForResponse", "SecretScanningLocationPullRequestBodyType", + "SecretScanningLocationPullRequestBodyTypeForResponse", "SecretScanningLocationPullRequestReviewType", + "SecretScanningLocationPullRequestReviewTypeForResponse", "SecretScanningLocationWikiCommitType", + "SecretScanningLocationWikiCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0174.py b/githubkit/versions/ghec_v2022_11_28/types/group_0174.py index f78b830c8..86aefd319 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0174.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0174.py @@ -22,6 +22,16 @@ class SecretScanningLocationIssueTitleType(TypedDict): issue_title_url: str +class SecretScanningLocationIssueTitleTypeForResponse(TypedDict): + """SecretScanningLocationIssueTitle + + Represents an 'issue_title' secret scanning location type. This location type + shows that a secret was detected in the title of an issue. + """ + + issue_title_url: str + + class SecretScanningLocationIssueCommentType(TypedDict): """SecretScanningLocationIssueComment @@ -32,6 +42,16 @@ class SecretScanningLocationIssueCommentType(TypedDict): issue_comment_url: str +class SecretScanningLocationIssueCommentTypeForResponse(TypedDict): + """SecretScanningLocationIssueComment + + Represents an 'issue_comment' secret scanning location type. This location type + shows that a secret was detected in a comment on an issue. + """ + + issue_comment_url: str + + class SecretScanningLocationPullRequestTitleType(TypedDict): """SecretScanningLocationPullRequestTitle @@ -42,6 +62,16 @@ class SecretScanningLocationPullRequestTitleType(TypedDict): pull_request_title_url: str +class SecretScanningLocationPullRequestTitleTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestTitle + + Represents a 'pull_request_title' secret scanning location type. This location + type shows that a secret was detected in the title of a pull request. + """ + + pull_request_title_url: str + + class SecretScanningLocationPullRequestReviewCommentType(TypedDict): """SecretScanningLocationPullRequestReviewComment @@ -53,9 +83,24 @@ class SecretScanningLocationPullRequestReviewCommentType(TypedDict): pull_request_review_comment_url: str +class SecretScanningLocationPullRequestReviewCommentTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestReviewComment + + Represents a 'pull_request_review_comment' secret scanning location type. This + location type shows that a secret was detected in a review comment on a pull + request. + """ + + pull_request_review_comment_url: str + + __all__ = ( "SecretScanningLocationIssueCommentType", + "SecretScanningLocationIssueCommentTypeForResponse", "SecretScanningLocationIssueTitleType", + "SecretScanningLocationIssueTitleTypeForResponse", "SecretScanningLocationPullRequestReviewCommentType", + "SecretScanningLocationPullRequestReviewCommentTypeForResponse", "SecretScanningLocationPullRequestTitleType", + "SecretScanningLocationPullRequestTitleTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0175.py b/githubkit/versions/ghec_v2022_11_28/types/group_0175.py index fad48635c..5ec587b8f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0175.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0175.py @@ -22,6 +22,16 @@ class SecretScanningLocationDiscussionBodyType(TypedDict): discussion_body_url: str +class SecretScanningLocationDiscussionBodyTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionBody + + Represents a 'discussion_body' secret scanning location type. This location type + shows that a secret was detected in the body of a discussion. + """ + + discussion_body_url: str + + class SecretScanningLocationPullRequestCommentType(TypedDict): """SecretScanningLocationPullRequestComment @@ -32,7 +42,19 @@ class SecretScanningLocationPullRequestCommentType(TypedDict): pull_request_comment_url: str +class SecretScanningLocationPullRequestCommentTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestComment + + Represents a 'pull_request_comment' secret scanning location type. This location + type shows that a secret was detected in a comment on a pull request. + """ + + pull_request_comment_url: str + + __all__ = ( "SecretScanningLocationDiscussionBodyType", + "SecretScanningLocationDiscussionBodyTypeForResponse", "SecretScanningLocationPullRequestCommentType", + "SecretScanningLocationPullRequestCommentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0176.py b/githubkit/versions/ghec_v2022_11_28/types/group_0176.py index 7f14aa229..5f4d41439 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0176.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0176.py @@ -13,26 +13,39 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0070 import SimpleRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse from .group_0173 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0174 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0175 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -89,4 +102,62 @@ class OrganizationSecretScanningAlertType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("OrganizationSecretScanningAlertType",) +class OrganizationSecretScanningAlertTypeForResponse(TypedDict): + """OrganizationSecretScanningAlert""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + state: NotRequired[Literal["open", "resolved"]] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + secret: NotRequired[str] + repository: NotRequired[SimpleRepositoryTypeForResponse] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + resolution_comment: NotRequired[Union[str, None]] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + is_base64_encoded: NotRequired[Union[bool, None]] + first_location_detected: NotRequired[ + Union[ + None, + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + has_more_locations: NotRequired[bool] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "OrganizationSecretScanningAlertType", + "OrganizationSecretScanningAlertTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0177.py b/githubkit/versions/ghec_v2022_11_28/types/group_0177.py index d4af021d9..13c680ba4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0177.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0177.py @@ -25,6 +25,22 @@ class SecretScanningPatternConfigurationType(TypedDict): custom_pattern_overrides: NotRequired[list[SecretScanningPatternOverrideType]] +class SecretScanningPatternConfigurationTypeForResponse(TypedDict): + """Secret scanning pattern configuration + + A collection of secret scanning patterns and their settings related to push + protection. + """ + + pattern_config_version: NotRequired[Union[str, None]] + provider_pattern_overrides: NotRequired[ + list[SecretScanningPatternOverrideTypeForResponse] + ] + custom_pattern_overrides: NotRequired[ + list[SecretScanningPatternOverrideTypeForResponse] + ] + + class SecretScanningPatternOverrideType(TypedDict): """SecretScanningPatternOverride""" @@ -44,7 +60,28 @@ class SecretScanningPatternOverrideType(TypedDict): setting: NotRequired[Literal["not-set", "disabled", "enabled"]] +class SecretScanningPatternOverrideTypeForResponse(TypedDict): + """SecretScanningPatternOverride""" + + token_type: NotRequired[str] + custom_pattern_version: NotRequired[Union[str, None]] + slug: NotRequired[str] + display_name: NotRequired[str] + alert_total: NotRequired[int] + alert_total_percentage: NotRequired[int] + false_positives: NotRequired[int] + false_positive_rate: NotRequired[int] + bypass_rate: NotRequired[int] + default_setting: NotRequired[Literal["disabled", "enabled"]] + enterprise_setting: NotRequired[ + Union[None, Literal["not-set", "disabled", "enabled"]] + ] + setting: NotRequired[Literal["not-set", "disabled", "enabled"]] + + __all__ = ( "SecretScanningPatternConfigurationType", + "SecretScanningPatternConfigurationTypeForResponse", "SecretScanningPatternOverrideType", + "SecretScanningPatternOverrideTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0178.py b/githubkit/versions/ghec_v2022_11_28/types/group_0178.py index fb14d5d5d..9a82a577a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0178.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0178.py @@ -21,6 +21,15 @@ class ActionsBillingUsageType(TypedDict): minutes_used_breakdown: ActionsBillingUsagePropMinutesUsedBreakdownType +class ActionsBillingUsageTypeForResponse(TypedDict): + """ActionsBillingUsage""" + + total_minutes_used: int + total_paid_minutes_used: int + included_minutes: int + minutes_used_breakdown: ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse + + class ActionsBillingUsagePropMinutesUsedBreakdownType(TypedDict): """ActionsBillingUsagePropMinutesUsedBreakdown""" @@ -41,7 +50,29 @@ class ActionsBillingUsagePropMinutesUsedBreakdownType(TypedDict): total: NotRequired[int] +class ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse(TypedDict): + """ActionsBillingUsagePropMinutesUsedBreakdown""" + + ubuntu: NotRequired[int] + macos: NotRequired[int] + windows: NotRequired[int] + ubuntu_4_core: NotRequired[int] + ubuntu_8_core: NotRequired[int] + ubuntu_16_core: NotRequired[int] + ubuntu_32_core: NotRequired[int] + ubuntu_64_core: NotRequired[int] + windows_4_core: NotRequired[int] + windows_8_core: NotRequired[int] + windows_16_core: NotRequired[int] + windows_32_core: NotRequired[int] + windows_64_core: NotRequired[int] + macos_12_core: NotRequired[int] + total: NotRequired[int] + + __all__ = ( "ActionsBillingUsagePropMinutesUsedBreakdownType", + "ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse", "ActionsBillingUsageType", + "ActionsBillingUsageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0179.py b/githubkit/versions/ghec_v2022_11_28/types/group_0179.py index 481d2d694..1f387d868 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0179.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0179.py @@ -22,6 +22,16 @@ class AdvancedSecurityActiveCommittersType(TypedDict): repositories: list[AdvancedSecurityActiveCommittersRepositoryType] +class AdvancedSecurityActiveCommittersTypeForResponse(TypedDict): + """AdvancedSecurityActiveCommitters""" + + total_advanced_security_committers: NotRequired[int] + total_count: NotRequired[int] + maximum_advanced_security_committers: NotRequired[int] + purchased_advanced_security_committers: NotRequired[int] + repositories: list[AdvancedSecurityActiveCommittersRepositoryTypeForResponse] + + class AdvancedSecurityActiveCommittersRepositoryType(TypedDict): """AdvancedSecurityActiveCommittersRepository""" @@ -32,6 +42,16 @@ class AdvancedSecurityActiveCommittersRepositoryType(TypedDict): ] +class AdvancedSecurityActiveCommittersRepositoryTypeForResponse(TypedDict): + """AdvancedSecurityActiveCommittersRepository""" + + name: str + advanced_security_committers: int + advanced_security_committers_breakdown: list[ + AdvancedSecurityActiveCommittersUserTypeForResponse + ] + + class AdvancedSecurityActiveCommittersUserType(TypedDict): """AdvancedSecurityActiveCommittersUser""" @@ -40,8 +60,19 @@ class AdvancedSecurityActiveCommittersUserType(TypedDict): last_pushed_email: str +class AdvancedSecurityActiveCommittersUserTypeForResponse(TypedDict): + """AdvancedSecurityActiveCommittersUser""" + + user_login: str + last_pushed_date: str + last_pushed_email: str + + __all__ = ( "AdvancedSecurityActiveCommittersRepositoryType", + "AdvancedSecurityActiveCommittersRepositoryTypeForResponse", "AdvancedSecurityActiveCommittersType", + "AdvancedSecurityActiveCommittersTypeForResponse", "AdvancedSecurityActiveCommittersUserType", + "AdvancedSecurityActiveCommittersUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0180.py b/githubkit/versions/ghec_v2022_11_28/types/group_0180.py index a679abc07..eb0bc91f7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0180.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0180.py @@ -19,6 +19,12 @@ class GetAllBudgetsType(TypedDict): budgets: list[BudgetType] +class GetAllBudgetsTypeForResponse(TypedDict): + """GetAllBudgets""" + + budgets: list[BudgetTypeForResponse] + + class BudgetType(TypedDict): """Budget""" @@ -32,6 +38,19 @@ class BudgetType(TypedDict): budget_alerting: BudgetPropBudgetAlertingType +class BudgetTypeForResponse(TypedDict): + """Budget""" + + id: str + budget_type: Literal["SkuPricing", "ProductPricing"] + budget_amount: int + prevent_further_usage: bool + budget_scope: str + budget_entity_name: NotRequired[str] + budget_product_sku: str + budget_alerting: BudgetPropBudgetAlertingTypeForResponse + + class BudgetPropBudgetAlertingType(TypedDict): """BudgetPropBudgetAlerting""" @@ -39,8 +58,18 @@ class BudgetPropBudgetAlertingType(TypedDict): alert_recipients: list[str] +class BudgetPropBudgetAlertingTypeForResponse(TypedDict): + """BudgetPropBudgetAlerting""" + + will_alert: bool + alert_recipients: list[str] + + __all__ = ( "BudgetPropBudgetAlertingType", + "BudgetPropBudgetAlertingTypeForResponse", "BudgetType", + "BudgetTypeForResponse", "GetAllBudgetsType", + "GetAllBudgetsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0181.py b/githubkit/versions/ghec_v2022_11_28/types/group_0181.py index a49c5dc66..9f6142cb8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0181.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0181.py @@ -20,6 +20,13 @@ class CreateBudgetType(TypedDict): budget: CreateBudgetPropBudgetType +class CreateBudgetTypeForResponse(TypedDict): + """CreateBudget""" + + message: str + budget: CreateBudgetPropBudgetTypeForResponse + + class CreateBudgetPropBudgetType(TypedDict): """CreateBudgetPropBudget""" @@ -35,6 +42,23 @@ class CreateBudgetPropBudgetType(TypedDict): budget_alerting: NotRequired[CreateBudgetPropBudgetPropBudgetAlertingType] +class CreateBudgetPropBudgetTypeForResponse(TypedDict): + """CreateBudgetPropBudget""" + + id: NotRequired[str] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_amount: NotRequired[float] + prevent_further_usage: NotRequired[bool] + budget_product_sku: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_alerting: NotRequired[ + CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse + ] + + class CreateBudgetPropBudgetPropBudgetAlertingType(TypedDict): """CreateBudgetPropBudgetPropBudgetAlerting""" @@ -42,8 +66,18 @@ class CreateBudgetPropBudgetPropBudgetAlertingType(TypedDict): alert_recipients: NotRequired[list[str]] +class CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse(TypedDict): + """CreateBudgetPropBudgetPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "CreateBudgetPropBudgetPropBudgetAlertingType", + "CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse", "CreateBudgetPropBudgetType", + "CreateBudgetPropBudgetTypeForResponse", "CreateBudgetType", + "CreateBudgetTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0182.py b/githubkit/versions/ghec_v2022_11_28/types/group_0182.py index 013a4d546..ffc35112c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0182.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0182.py @@ -26,6 +26,19 @@ class GetBudgetType(TypedDict): budget_alerting: GetBudgetPropBudgetAlertingType +class GetBudgetTypeForResponse(TypedDict): + """GetBudget""" + + id: str + budget_scope: Literal["enterprise", "organization", "repository", "cost_center"] + budget_entity_name: str + budget_amount: int + prevent_further_usage: bool + budget_product_sku: str + budget_type: Literal["ProductPricing", "SkuPricing"] + budget_alerting: GetBudgetPropBudgetAlertingTypeForResponse + + class GetBudgetPropBudgetAlertingType(TypedDict): """GetBudgetPropBudgetAlerting""" @@ -33,7 +46,16 @@ class GetBudgetPropBudgetAlertingType(TypedDict): alert_recipients: NotRequired[list[str]] +class GetBudgetPropBudgetAlertingTypeForResponse(TypedDict): + """GetBudgetPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "GetBudgetPropBudgetAlertingType", + "GetBudgetPropBudgetAlertingTypeForResponse", "GetBudgetType", + "GetBudgetTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0183.py b/githubkit/versions/ghec_v2022_11_28/types/group_0183.py index a37185a0c..00557e630 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0183.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0183.py @@ -20,6 +20,13 @@ class UpdateBudgetType(TypedDict): budget: UpdateBudgetPropBudgetType +class UpdateBudgetTypeForResponse(TypedDict): + """UpdateBudget""" + + message: str + budget: UpdateBudgetPropBudgetTypeForResponse + + class UpdateBudgetPropBudgetType(TypedDict): """UpdateBudgetPropBudget""" @@ -35,6 +42,23 @@ class UpdateBudgetPropBudgetType(TypedDict): budget_alerting: NotRequired[UpdateBudgetPropBudgetPropBudgetAlertingType] +class UpdateBudgetPropBudgetTypeForResponse(TypedDict): + """UpdateBudgetPropBudget""" + + id: NotRequired[str] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_amount: NotRequired[float] + prevent_further_usage: NotRequired[bool] + budget_product_sku: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_alerting: NotRequired[ + UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse + ] + + class UpdateBudgetPropBudgetPropBudgetAlertingType(TypedDict): """UpdateBudgetPropBudgetPropBudgetAlerting""" @@ -42,8 +66,18 @@ class UpdateBudgetPropBudgetPropBudgetAlertingType(TypedDict): alert_recipients: NotRequired[list[str]] +class UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse(TypedDict): + """UpdateBudgetPropBudgetPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "UpdateBudgetPropBudgetPropBudgetAlertingType", + "UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse", "UpdateBudgetPropBudgetType", + "UpdateBudgetPropBudgetTypeForResponse", "UpdateBudgetType", + "UpdateBudgetTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0184.py b/githubkit/versions/ghec_v2022_11_28/types/group_0184.py index b5cdf5093..c8c782148 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0184.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0184.py @@ -19,4 +19,14 @@ class DeleteBudgetType(TypedDict): id: str -__all__ = ("DeleteBudgetType",) +class DeleteBudgetTypeForResponse(TypedDict): + """DeleteBudget""" + + message: str + id: str + + +__all__ = ( + "DeleteBudgetType", + "DeleteBudgetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0185.py b/githubkit/versions/ghec_v2022_11_28/types/group_0185.py index bfa550238..5e6189dcb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0185.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0185.py @@ -19,6 +19,14 @@ class GetAllCostCentersType(TypedDict): cost_centers: NotRequired[list[GetAllCostCentersPropCostCentersItemsType]] +class GetAllCostCentersTypeForResponse(TypedDict): + """GetAllCostCenters""" + + cost_centers: NotRequired[ + list[GetAllCostCentersPropCostCentersItemsTypeForResponse] + ] + + class GetAllCostCentersPropCostCentersItemsType(TypedDict): """GetAllCostCentersPropCostCentersItems""" @@ -29,6 +37,18 @@ class GetAllCostCentersPropCostCentersItemsType(TypedDict): resources: list[GetAllCostCentersPropCostCentersItemsPropResourcesItemsType] +class GetAllCostCentersPropCostCentersItemsTypeForResponse(TypedDict): + """GetAllCostCentersPropCostCentersItems""" + + id: str + name: str + state: NotRequired[Literal["active", "deleted"]] + azure_subscription: NotRequired[Union[str, None]] + resources: list[ + GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse + ] + + class GetAllCostCentersPropCostCentersItemsPropResourcesItemsType(TypedDict): """GetAllCostCentersPropCostCentersItemsPropResourcesItems""" @@ -36,8 +56,18 @@ class GetAllCostCentersPropCostCentersItemsPropResourcesItemsType(TypedDict): name: str +class GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse(TypedDict): + """GetAllCostCentersPropCostCentersItemsPropResourcesItems""" + + type: str + name: str + + __all__ = ( "GetAllCostCentersPropCostCentersItemsPropResourcesItemsType", + "GetAllCostCentersPropCostCentersItemsPropResourcesItemsTypeForResponse", "GetAllCostCentersPropCostCentersItemsType", + "GetAllCostCentersPropCostCentersItemsTypeForResponse", "GetAllCostCentersType", + "GetAllCostCentersTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0186.py b/githubkit/versions/ghec_v2022_11_28/types/group_0186.py index e5ac008f3..fbdc92f86 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0186.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0186.py @@ -23,6 +23,16 @@ class GetCostCenterType(TypedDict): resources: list[GetCostCenterPropResourcesItemsType] +class GetCostCenterTypeForResponse(TypedDict): + """GetCostCenter""" + + id: str + name: str + azure_subscription: NotRequired[Union[str, None]] + state: NotRequired[Literal["active", "deleted"]] + resources: list[GetCostCenterPropResourcesItemsTypeForResponse] + + class GetCostCenterPropResourcesItemsType(TypedDict): """GetCostCenterPropResourcesItems""" @@ -30,7 +40,16 @@ class GetCostCenterPropResourcesItemsType(TypedDict): name: str +class GetCostCenterPropResourcesItemsTypeForResponse(TypedDict): + """GetCostCenterPropResourcesItems""" + + type: str + name: str + + __all__ = ( "GetCostCenterPropResourcesItemsType", + "GetCostCenterPropResourcesItemsTypeForResponse", "GetCostCenterType", + "GetCostCenterTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0187.py b/githubkit/versions/ghec_v2022_11_28/types/group_0187.py index 7a0099d4f..eaeb621f8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0187.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0187.py @@ -22,4 +22,16 @@ class DeleteCostCenterType(TypedDict): cost_center_state: Literal["CostCenterArchived"] -__all__ = ("DeleteCostCenterType",) +class DeleteCostCenterTypeForResponse(TypedDict): + """DeleteCostCenter""" + + message: str + id: str + name: str + cost_center_state: Literal["CostCenterArchived"] + + +__all__ = ( + "DeleteCostCenterType", + "DeleteCostCenterTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0188.py b/githubkit/versions/ghec_v2022_11_28/types/group_0188.py index cac22c41a..4de2348c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0188.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0188.py @@ -20,4 +20,15 @@ class PackagesBillingUsageType(TypedDict): included_gigabytes_bandwidth: int -__all__ = ("PackagesBillingUsageType",) +class PackagesBillingUsageTypeForResponse(TypedDict): + """PackagesBillingUsage""" + + total_gigabytes_bandwidth_used: int + total_paid_gigabytes_bandwidth_used: int + included_gigabytes_bandwidth: int + + +__all__ = ( + "PackagesBillingUsageType", + "PackagesBillingUsageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0189.py b/githubkit/versions/ghec_v2022_11_28/types/group_0189.py index f92704dbc..5b03f12bd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0189.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0189.py @@ -25,6 +25,23 @@ class BillingPremiumRequestUsageReportGheType(TypedDict): usage_items: list[BillingPremiumRequestUsageReportGhePropUsageItemsItemsType] +class BillingPremiumRequestUsageReportGheTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportGhe""" + + time_period: BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse + enterprise: str + user: NotRequired[str] + organization: NotRequired[str] + product: NotRequired[str] + model: NotRequired[str] + cost_center: NotRequired[ + BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse + ] + usage_items: list[ + BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse + ] + + class BillingPremiumRequestUsageReportGhePropTimePeriodType(TypedDict): """BillingPremiumRequestUsageReportGhePropTimePeriod""" @@ -33,6 +50,14 @@ class BillingPremiumRequestUsageReportGhePropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportGhePropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingPremiumRequestUsageReportGhePropCostCenterType(TypedDict): """BillingPremiumRequestUsageReportGhePropCostCenter""" @@ -40,6 +65,13 @@ class BillingPremiumRequestUsageReportGhePropCostCenterType(TypedDict): name: str +class BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportGhePropCostCenter""" + + id: str + name: str + + class BillingPremiumRequestUsageReportGhePropUsageItemsItemsType(TypedDict): """BillingPremiumRequestUsageReportGhePropUsageItemsItems""" @@ -56,9 +88,29 @@ class BillingPremiumRequestUsageReportGhePropUsageItemsItemsType(TypedDict): net_amount: float +class BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportGhePropUsageItemsItems""" + + product: str + sku: str + model: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingPremiumRequestUsageReportGhePropCostCenterType", + "BillingPremiumRequestUsageReportGhePropCostCenterTypeForResponse", "BillingPremiumRequestUsageReportGhePropTimePeriodType", + "BillingPremiumRequestUsageReportGhePropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportGhePropUsageItemsItemsType", + "BillingPremiumRequestUsageReportGhePropUsageItemsItemsTypeForResponse", "BillingPremiumRequestUsageReportGheType", + "BillingPremiumRequestUsageReportGheTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0190.py b/githubkit/versions/ghec_v2022_11_28/types/group_0190.py index 15a19a09d..65e50ceca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0190.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0190.py @@ -20,4 +20,15 @@ class CombinedBillingUsageType(TypedDict): estimated_storage_for_month: int -__all__ = ("CombinedBillingUsageType",) +class CombinedBillingUsageTypeForResponse(TypedDict): + """CombinedBillingUsage""" + + days_left_in_billing_cycle: int + estimated_paid_storage_for_month: int + estimated_storage_for_month: int + + +__all__ = ( + "CombinedBillingUsageType", + "CombinedBillingUsageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0191.py b/githubkit/versions/ghec_v2022_11_28/types/group_0191.py index 8b794ad2d..c647e6f93 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0191.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0191.py @@ -18,6 +18,12 @@ class BillingUsageReportType(TypedDict): usage_items: NotRequired[list[BillingUsageReportPropUsageItemsItemsType]] +class BillingUsageReportTypeForResponse(TypedDict): + """BillingUsageReport""" + + usage_items: NotRequired[list[BillingUsageReportPropUsageItemsItemsTypeForResponse]] + + class BillingUsageReportPropUsageItemsItemsType(TypedDict): """BillingUsageReportPropUsageItemsItems""" @@ -34,7 +40,25 @@ class BillingUsageReportPropUsageItemsItemsType(TypedDict): repository_name: NotRequired[str] +class BillingUsageReportPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageReportPropUsageItemsItems""" + + date: str + product: str + sku: str + quantity: int + unit_type: str + price_per_unit: float + gross_amount: float + discount_amount: float + net_amount: float + organization_name: str + repository_name: NotRequired[str] + + __all__ = ( "BillingUsageReportPropUsageItemsItemsType", + "BillingUsageReportPropUsageItemsItemsTypeForResponse", "BillingUsageReportType", + "BillingUsageReportTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0192.py b/githubkit/versions/ghec_v2022_11_28/types/group_0192.py index c5a385930..efd36b212 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0192.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0192.py @@ -25,6 +25,19 @@ class BillingUsageSummaryReportGheType(TypedDict): usage_items: list[BillingUsageSummaryReportGhePropUsageItemsItemsType] +class BillingUsageSummaryReportGheTypeForResponse(TypedDict): + """BillingUsageSummaryReportGhe""" + + time_period: BillingUsageSummaryReportGhePropTimePeriodTypeForResponse + enterprise: str + organization: NotRequired[str] + repository: NotRequired[str] + product: NotRequired[str] + sku: NotRequired[str] + cost_center: NotRequired[BillingUsageSummaryReportGhePropCostCenterTypeForResponse] + usage_items: list[BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse] + + class BillingUsageSummaryReportGhePropTimePeriodType(TypedDict): """BillingUsageSummaryReportGhePropTimePeriod""" @@ -33,6 +46,14 @@ class BillingUsageSummaryReportGhePropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingUsageSummaryReportGhePropTimePeriodTypeForResponse(TypedDict): + """BillingUsageSummaryReportGhePropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingUsageSummaryReportGhePropCostCenterType(TypedDict): """BillingUsageSummaryReportGhePropCostCenter""" @@ -40,6 +61,13 @@ class BillingUsageSummaryReportGhePropCostCenterType(TypedDict): name: str +class BillingUsageSummaryReportGhePropCostCenterTypeForResponse(TypedDict): + """BillingUsageSummaryReportGhePropCostCenter""" + + id: str + name: str + + class BillingUsageSummaryReportGhePropUsageItemsItemsType(TypedDict): """BillingUsageSummaryReportGhePropUsageItemsItems""" @@ -55,9 +83,28 @@ class BillingUsageSummaryReportGhePropUsageItemsItemsType(TypedDict): net_amount: float +class BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageSummaryReportGhePropUsageItemsItems""" + + product: str + sku: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingUsageSummaryReportGhePropCostCenterType", + "BillingUsageSummaryReportGhePropCostCenterTypeForResponse", "BillingUsageSummaryReportGhePropTimePeriodType", + "BillingUsageSummaryReportGhePropTimePeriodTypeForResponse", "BillingUsageSummaryReportGhePropUsageItemsItemsType", + "BillingUsageSummaryReportGhePropUsageItemsItemsTypeForResponse", "BillingUsageSummaryReportGheType", + "BillingUsageSummaryReportGheTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0193.py b/githubkit/versions/ghec_v2022_11_28/types/group_0193.py index 1bd13ab39..b3d055da1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0193.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0193.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class MilestoneType(TypedDict): @@ -40,4 +40,31 @@ class MilestoneType(TypedDict): due_on: Union[datetime, None] -__all__ = ("MilestoneType",) +class MilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + url: str + html_url: str + labels_url: str + id: int + node_id: str + number: int + state: Literal["open", "closed"] + title: str + description: Union[str, None] + creator: Union[None, SimpleUserTypeForResponse] + open_issues: int + closed_issues: int + created_at: str + updated_at: str + closed_at: Union[str, None] + due_on: Union[str, None] + + +__all__ = ( + "MilestoneType", + "MilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0194.py b/githubkit/versions/ghec_v2022_11_28/types/group_0194.py index a99164b42..b566fc29f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0194.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0194.py @@ -37,4 +37,30 @@ class IssueTypeType(TypedDict): is_enabled: NotRequired[bool] -__all__ = ("IssueTypeType",) +class IssueTypeTypeForResponse(TypedDict): + """Issue Type + + The type of issue. + """ + + id: int + node_id: str + name: str + description: Union[str, None] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + created_at: NotRequired[str] + updated_at: NotRequired[str] + is_enabled: NotRequired[bool] + + +__all__ = ( + "IssueTypeType", + "IssueTypeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0195.py b/githubkit/versions/ghec_v2022_11_28/types/group_0195.py index 8a6080a74..2e499e880 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0195.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0195.py @@ -27,4 +27,22 @@ class ReactionRollupType(TypedDict): rocket: int -__all__ = ("ReactionRollupType",) +class ReactionRollupTypeForResponse(TypedDict): + """Reaction Rollup""" + + url: str + total_count: int + plus_one: int + minus_one: int + laugh: int + confused: int + heart: int + hooray: int + eyes: int + rocket: int + + +__all__ = ( + "ReactionRollupType", + "ReactionRollupTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0196.py b/githubkit/versions/ghec_v2022_11_28/types/group_0196.py index c8984be4b..b8ed40d6f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0196.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0196.py @@ -20,6 +20,14 @@ class SubIssuesSummaryType(TypedDict): percent_completed: int +class SubIssuesSummaryTypeForResponse(TypedDict): + """Sub-issues Summary""" + + total: int + completed: int + percent_completed: int + + class IssueDependenciesSummaryType(TypedDict): """Issue Dependencies Summary""" @@ -29,7 +37,18 @@ class IssueDependenciesSummaryType(TypedDict): total_blocking: int +class IssueDependenciesSummaryTypeForResponse(TypedDict): + """Issue Dependencies Summary""" + + blocked_by: int + blocking: int + total_blocked_by: int + total_blocking: int + + __all__ = ( "IssueDependenciesSummaryType", + "IssueDependenciesSummaryTypeForResponse", "SubIssuesSummaryType", + "SubIssuesSummaryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0197.py b/githubkit/versions/ghec_v2022_11_28/types/group_0197.py index f71398f82..e1a4c8338 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0197.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0197.py @@ -28,6 +28,21 @@ class IssueFieldValueType(TypedDict): ] +class IssueFieldValueTypeForResponse(TypedDict): + """Issue Field Value + + A value assigned to an issue field + """ + + issue_field_id: int + node_id: str + data_type: Literal["text", "single_select", "number", "date"] + value: Union[str, float, int, None] + single_select_option: NotRequired[ + Union[IssueFieldValuePropSingleSelectOptionTypeForResponse, None] + ] + + class IssueFieldValuePropSingleSelectOptionType(TypedDict): """IssueFieldValuePropSingleSelectOption @@ -39,7 +54,20 @@ class IssueFieldValuePropSingleSelectOptionType(TypedDict): color: str +class IssueFieldValuePropSingleSelectOptionTypeForResponse(TypedDict): + """IssueFieldValuePropSingleSelectOption + + Details about the selected option (only present for single_select fields) + """ + + id: int + name: str + color: str + + __all__ = ( "IssueFieldValuePropSingleSelectOptionType", + "IssueFieldValuePropSingleSelectOptionTypeForResponse", "IssueFieldValueType", + "IssueFieldValueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0198.py b/githubkit/versions/ghec_v2022_11_28/types/group_0198.py index 71044fb6e..5bef2819a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0198.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0198.py @@ -13,14 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0020 import RepositoryType -from .group_0193 import MilestoneType -from .group_0194 import IssueTypeType -from .group_0195 import ReactionRollupType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class IssueType(TypedDict): @@ -84,6 +89,67 @@ class IssueType(TypedDict): issue_field_values: NotRequired[list[IssueFieldValueType]] +class IssueTypeForResponse(TypedDict): + """Issue + + Issues are a great way to keep track of tasks, enhancements, and bugs for your + projects. + """ + + id: int + node_id: str + url: str + repository_url: str + labels_url: str + comments_url: str + events_url: str + html_url: str + number: int + state: str + state_reason: NotRequired[ + Union[None, Literal["completed", "reopened", "not_planned", "duplicate"]] + ] + title: str + body: NotRequired[Union[str, None]] + user: Union[None, SimpleUserTypeForResponse] + labels: list[Union[str, IssuePropLabelsItemsOneof1TypeForResponse]] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + milestone: Union[None, MilestoneTypeForResponse] + locked: bool + active_lock_reason: NotRequired[Union[str, None]] + comments: int + pull_request: NotRequired[IssuePropPullRequestTypeForResponse] + closed_at: Union[str, None] + created_at: str + updated_at: str + draft: NotRequired[bool] + closed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + repository: NotRequired[RepositoryTypeForResponse] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + reactions: NotRequired[ReactionRollupTypeForResponse] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + parent_issue_url: NotRequired[Union[str, None]] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + + class IssuePropLabelsItemsOneof1Type(TypedDict): """IssuePropLabelsItemsOneof1""" @@ -96,6 +162,18 @@ class IssuePropLabelsItemsOneof1Type(TypedDict): default: NotRequired[bool] +class IssuePropLabelsItemsOneof1TypeForResponse(TypedDict): + """IssuePropLabelsItemsOneof1""" + + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + default: NotRequired[bool] + + class IssuePropPullRequestType(TypedDict): """IssuePropPullRequest""" @@ -106,8 +184,21 @@ class IssuePropPullRequestType(TypedDict): url: Union[str, None] +class IssuePropPullRequestTypeForResponse(TypedDict): + """IssuePropPullRequest""" + + merged_at: NotRequired[Union[str, None]] + diff_url: Union[str, None] + html_url: Union[str, None] + patch_url: Union[str, None] + url: Union[str, None] + + __all__ = ( "IssuePropLabelsItemsOneof1Type", + "IssuePropLabelsItemsOneof1TypeForResponse", "IssuePropPullRequestType", + "IssuePropPullRequestTypeForResponse", "IssueType", + "IssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0199.py b/githubkit/versions/ghec_v2022_11_28/types/group_0199.py index 7e9d9d22e..d1c0af7b6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0199.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0199.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class IssueCommentType(TypedDict): @@ -49,4 +49,38 @@ class IssueCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("IssueCommentType",) +class IssueCommentTypeForResponse(TypedDict): + """Issue Comment + + Comments provide a way for people to collaborate on an issue. + """ + + id: int + node_id: str + url: str + body: NotRequired[str] + body_text: NotRequired[str] + body_html: NotRequired[str] + html_url: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + issue_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "IssueCommentType", + "IssueCommentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0200.py b/githubkit/versions/ghec_v2022_11_28/types/group_0200.py index 2a32b5469..fd900a3f5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0200.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0200.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0198 import IssueType -from .group_0199 import IssueCommentType +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0199 import IssueCommentType, IssueCommentTypeForResponse class EventPropPayloadType(TypedDict): @@ -26,6 +26,15 @@ class EventPropPayloadType(TypedDict): pages: NotRequired[list[EventPropPayloadPropPagesItemsType]] +class EventPropPayloadTypeForResponse(TypedDict): + """EventPropPayload""" + + action: NotRequired[str] + issue: NotRequired[IssueTypeForResponse] + comment: NotRequired[IssueCommentTypeForResponse] + pages: NotRequired[list[EventPropPayloadPropPagesItemsTypeForResponse]] + + class EventPropPayloadPropPagesItemsType(TypedDict): """EventPropPayloadPropPagesItems""" @@ -37,6 +46,17 @@ class EventPropPayloadPropPagesItemsType(TypedDict): html_url: NotRequired[str] +class EventPropPayloadPropPagesItemsTypeForResponse(TypedDict): + """EventPropPayloadPropPagesItems""" + + page_name: NotRequired[str] + title: NotRequired[str] + summary: NotRequired[Union[str, None]] + action: NotRequired[str] + sha: NotRequired[str] + html_url: NotRequired[str] + + class EventType(TypedDict): """Event @@ -53,6 +73,22 @@ class EventType(TypedDict): created_at: Union[datetime, None] +class EventTypeForResponse(TypedDict): + """Event + + Event + """ + + id: str + type: Union[str, None] + actor: ActorTypeForResponse + repo: EventPropRepoTypeForResponse + org: NotRequired[ActorTypeForResponse] + payload: EventPropPayloadTypeForResponse + public: bool + created_at: Union[str, None] + + class ActorType(TypedDict): """Actor @@ -67,6 +103,20 @@ class ActorType(TypedDict): avatar_url: str +class ActorTypeForResponse(TypedDict): + """Actor + + Actor + """ + + id: int + login: str + display_login: NotRequired[str] + gravatar_id: Union[str, None] + url: str + avatar_url: str + + class EventPropRepoType(TypedDict): """EventPropRepo""" @@ -75,10 +125,23 @@ class EventPropRepoType(TypedDict): url: str +class EventPropRepoTypeForResponse(TypedDict): + """EventPropRepo""" + + id: int + name: str + url: str + + __all__ = ( "ActorType", + "ActorTypeForResponse", "EventPropPayloadPropPagesItemsType", + "EventPropPayloadPropPagesItemsTypeForResponse", "EventPropPayloadType", + "EventPropPayloadTypeForResponse", "EventPropRepoType", + "EventPropRepoTypeForResponse", "EventType", + "EventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0201.py b/githubkit/versions/ghec_v2022_11_28/types/group_0201.py index b0afe5713..88552acf9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0201.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0201.py @@ -31,6 +31,25 @@ class FeedType(TypedDict): links: FeedPropLinksType +class FeedTypeForResponse(TypedDict): + """Feed + + Feed + """ + + timeline_url: str + user_url: str + current_user_public_url: NotRequired[str] + current_user_url: NotRequired[str] + current_user_actor_url: NotRequired[str] + current_user_organization_url: NotRequired[str] + current_user_organization_urls: NotRequired[list[str]] + security_advisories_url: NotRequired[str] + repository_discussions_url: NotRequired[str] + repository_discussions_category_url: NotRequired[str] + links: FeedPropLinksTypeForResponse + + class FeedPropLinksType(TypedDict): """FeedPropLinks""" @@ -46,6 +65,21 @@ class FeedPropLinksType(TypedDict): repository_discussions_category: NotRequired[LinkWithTypeType] +class FeedPropLinksTypeForResponse(TypedDict): + """FeedPropLinks""" + + timeline: LinkWithTypeTypeForResponse + user: LinkWithTypeTypeForResponse + security_advisories: NotRequired[LinkWithTypeTypeForResponse] + current_user: NotRequired[LinkWithTypeTypeForResponse] + current_user_public: NotRequired[LinkWithTypeTypeForResponse] + current_user_actor: NotRequired[LinkWithTypeTypeForResponse] + current_user_organization: NotRequired[LinkWithTypeTypeForResponse] + current_user_organizations: NotRequired[list[LinkWithTypeTypeForResponse]] + repository_discussions: NotRequired[LinkWithTypeTypeForResponse] + repository_discussions_category: NotRequired[LinkWithTypeTypeForResponse] + + class LinkWithTypeType(TypedDict): """Link With Type @@ -56,8 +90,21 @@ class LinkWithTypeType(TypedDict): type: str +class LinkWithTypeTypeForResponse(TypedDict): + """Link With Type + + Hypermedia Link with Type + """ + + href: str + type: str + + __all__ = ( "FeedPropLinksType", + "FeedPropLinksTypeForResponse", "FeedType", + "FeedTypeForResponse", "LinkWithTypeType", + "LinkWithTypeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0202.py b/githubkit/versions/ghec_v2022_11_28/types/group_0202.py index 0b66a8534..3e511826e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0202.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0202.py @@ -13,7 +13,7 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class BaseGistType(TypedDict): @@ -45,12 +45,48 @@ class BaseGistType(TypedDict): history: NotRequired[list[Any]] +class BaseGistTypeForResponse(TypedDict): + """Base Gist + + Base Gist + """ + + url: str + forks_url: str + commits_url: str + id: str + node_id: str + git_pull_url: str + git_push_url: str + html_url: str + files: BaseGistPropFilesTypeForResponse + public: bool + created_at: str + updated_at: str + description: Union[str, None] + comments: int + comments_enabled: NotRequired[bool] + user: Union[None, SimpleUserTypeForResponse] + comments_url: str + owner: NotRequired[SimpleUserTypeForResponse] + truncated: NotRequired[bool] + forks: NotRequired[list[Any]] + history: NotRequired[list[Any]] + + BaseGistPropFilesType: TypeAlias = dict[str, Any] """BaseGistPropFiles """ +BaseGistPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""BaseGistPropFiles +""" + + __all__ = ( "BaseGistPropFilesType", + "BaseGistPropFilesTypeForResponse", "BaseGistType", + "BaseGistTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0203.py b/githubkit/versions/ghec_v2022_11_28/types/group_0203.py index 7969063ff..58d0fce26 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0203.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0203.py @@ -13,7 +13,7 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistHistoryType(TypedDict): @@ -29,6 +29,19 @@ class GistHistoryType(TypedDict): url: NotRequired[str] +class GistHistoryTypeForResponse(TypedDict): + """Gist History + + Gist History + """ + + user: NotRequired[Union[None, SimpleUserTypeForResponse]] + version: NotRequired[str] + committed_at: NotRequired[str] + change_status: NotRequired[GistHistoryPropChangeStatusTypeForResponse] + url: NotRequired[str] + + class GistHistoryPropChangeStatusType(TypedDict): """GistHistoryPropChangeStatus""" @@ -37,6 +50,14 @@ class GistHistoryPropChangeStatusType(TypedDict): deletions: NotRequired[int] +class GistHistoryPropChangeStatusTypeForResponse(TypedDict): + """GistHistoryPropChangeStatus""" + + total: NotRequired[int] + additions: NotRequired[int] + deletions: NotRequired[int] + + class GistSimplePropForkOfType(TypedDict): """Gist @@ -66,14 +87,52 @@ class GistSimplePropForkOfType(TypedDict): history: NotRequired[list[Any]] +class GistSimplePropForkOfTypeForResponse(TypedDict): + """Gist + + Gist + """ + + url: str + forks_url: str + commits_url: str + id: str + node_id: str + git_pull_url: str + git_push_url: str + html_url: str + files: GistSimplePropForkOfPropFilesTypeForResponse + public: bool + created_at: str + updated_at: str + description: Union[str, None] + comments: int + comments_enabled: NotRequired[bool] + user: Union[None, SimpleUserTypeForResponse] + comments_url: str + owner: NotRequired[Union[None, SimpleUserTypeForResponse]] + truncated: NotRequired[bool] + forks: NotRequired[list[Any]] + history: NotRequired[list[Any]] + + GistSimplePropForkOfPropFilesType: TypeAlias = dict[str, Any] """GistSimplePropForkOfPropFiles """ +GistSimplePropForkOfPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistSimplePropForkOfPropFiles +""" + + __all__ = ( "GistHistoryPropChangeStatusType", + "GistHistoryPropChangeStatusTypeForResponse", "GistHistoryType", + "GistHistoryTypeForResponse", "GistSimplePropForkOfPropFilesType", + "GistSimplePropForkOfPropFilesTypeForResponse", "GistSimplePropForkOfType", + "GistSimplePropForkOfTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0204.py b/githubkit/versions/ghec_v2022_11_28/types/group_0204.py index 961d6601d..f2f05aa3c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0204.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0204.py @@ -13,8 +13,13 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0203 import GistHistoryType, GistSimplePropForkOfType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0203 import ( + GistHistoryType, + GistHistoryTypeForResponse, + GistSimplePropForkOfType, + GistSimplePropForkOfTypeForResponse, +) class GistSimpleType(TypedDict): @@ -47,11 +52,46 @@ class GistSimpleType(TypedDict): truncated: NotRequired[bool] +class GistSimpleTypeForResponse(TypedDict): + """Gist Simple + + Gist Simple + """ + + forks: NotRequired[Union[list[GistSimplePropForksItemsTypeForResponse], None]] + history: NotRequired[Union[list[GistHistoryTypeForResponse], None]] + fork_of: NotRequired[Union[GistSimplePropForkOfTypeForResponse, None]] + url: NotRequired[str] + forks_url: NotRequired[str] + commits_url: NotRequired[str] + id: NotRequired[str] + node_id: NotRequired[str] + git_pull_url: NotRequired[str] + git_push_url: NotRequired[str] + html_url: NotRequired[str] + files: NotRequired[GistSimplePropFilesTypeForResponse] + public: NotRequired[bool] + created_at: NotRequired[str] + updated_at: NotRequired[str] + description: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_enabled: NotRequired[bool] + user: NotRequired[Union[str, None]] + comments_url: NotRequired[str] + owner: NotRequired[SimpleUserTypeForResponse] + truncated: NotRequired[bool] + + GistSimplePropFilesType: TypeAlias = dict[str, Any] """GistSimplePropFiles """ +GistSimplePropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistSimplePropFiles +""" + + class GistSimplePropForksItemsType(TypedDict): """GistSimplePropForksItems""" @@ -62,6 +102,16 @@ class GistSimplePropForksItemsType(TypedDict): updated_at: NotRequired[datetime] +class GistSimplePropForksItemsTypeForResponse(TypedDict): + """GistSimplePropForksItems""" + + id: NotRequired[str] + url: NotRequired[str] + user: NotRequired[PublicUserTypeForResponse] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class PublicUserType(TypedDict): """Public User @@ -110,6 +160,54 @@ class PublicUserType(TypedDict): collaborators: NotRequired[int] +class PublicUserTypeForResponse(TypedDict): + """Public User + + Public User + """ + + login: str + id: int + user_view_type: NotRequired[str] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + name: Union[str, None] + company: Union[str, None] + blog: Union[str, None] + location: Union[str, None] + email: Union[str, None] + notification_email: NotRequired[Union[str, None]] + hireable: Union[bool, None] + bio: Union[str, None] + twitter_username: NotRequired[Union[str, None]] + public_repos: int + public_gists: int + followers: int + following: int + created_at: str + updated_at: str + plan: NotRequired[PublicUserPropPlanTypeForResponse] + private_gists: NotRequired[int] + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + disk_usage: NotRequired[int] + collaborators: NotRequired[int] + + class PublicUserPropPlanType(TypedDict): """PublicUserPropPlan""" @@ -119,10 +217,24 @@ class PublicUserPropPlanType(TypedDict): private_repos: int +class PublicUserPropPlanTypeForResponse(TypedDict): + """PublicUserPropPlan""" + + collaborators: int + name: str + space: int + private_repos: int + + __all__ = ( "GistSimplePropFilesType", + "GistSimplePropFilesTypeForResponse", "GistSimplePropForksItemsType", + "GistSimplePropForksItemsTypeForResponse", "GistSimpleType", + "GistSimpleTypeForResponse", "PublicUserPropPlanType", + "PublicUserPropPlanTypeForResponse", "PublicUserType", + "PublicUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0205.py b/githubkit/versions/ghec_v2022_11_28/types/group_0205.py index d69692063..227e4a7a4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0205.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0205.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistCommentType(TypedDict): @@ -41,4 +41,32 @@ class GistCommentType(TypedDict): ] -__all__ = ("GistCommentType",) +class GistCommentTypeForResponse(TypedDict): + """Gist Comment + + A comment made to a gist. + """ + + id: int + node_id: str + url: str + body: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + +__all__ = ( + "GistCommentType", + "GistCommentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0206.py b/githubkit/versions/ghec_v2022_11_28/types/group_0206.py index a6cb34469..bcc093282 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0206.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0206.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistCommitType(TypedDict): @@ -29,6 +29,19 @@ class GistCommitType(TypedDict): committed_at: datetime +class GistCommitTypeForResponse(TypedDict): + """Gist Commit + + Gist Commit + """ + + url: str + version: str + user: Union[None, SimpleUserTypeForResponse] + change_status: GistCommitPropChangeStatusTypeForResponse + committed_at: str + + class GistCommitPropChangeStatusType(TypedDict): """GistCommitPropChangeStatus""" @@ -37,7 +50,17 @@ class GistCommitPropChangeStatusType(TypedDict): deletions: NotRequired[int] +class GistCommitPropChangeStatusTypeForResponse(TypedDict): + """GistCommitPropChangeStatus""" + + total: NotRequired[int] + additions: NotRequired[int] + deletions: NotRequired[int] + + __all__ = ( "GistCommitPropChangeStatusType", + "GistCommitPropChangeStatusTypeForResponse", "GistCommitType", + "GistCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0207.py b/githubkit/versions/ghec_v2022_11_28/types/group_0207.py index 69bf98302..7324b50f9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0207.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0207.py @@ -22,4 +22,17 @@ class GitignoreTemplateType(TypedDict): source: str -__all__ = ("GitignoreTemplateType",) +class GitignoreTemplateTypeForResponse(TypedDict): + """Gitignore Template + + Gitignore Template + """ + + name: str + source: str + + +__all__ = ( + "GitignoreTemplateType", + "GitignoreTemplateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0208.py b/githubkit/versions/ghec_v2022_11_28/types/group_0208.py index f471d8c73..d41fe6345 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0208.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0208.py @@ -34,4 +34,28 @@ class LicenseType(TypedDict): featured: bool -__all__ = ("LicenseType",) +class LicenseTypeForResponse(TypedDict): + """License + + License + """ + + key: str + name: str + spdx_id: Union[str, None] + url: Union[str, None] + node_id: str + html_url: str + description: str + implementation: str + permissions: list[str] + conditions: list[str] + limitations: list[str] + body: str + featured: bool + + +__all__ = ( + "LicenseType", + "LicenseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0209.py b/githubkit/versions/ghec_v2022_11_28/types/group_0209.py index 59d9a8af7..36cb44b01 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0209.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0209.py @@ -34,4 +34,28 @@ class MarketplaceListingPlanType(TypedDict): bullets: list[str] -__all__ = ("MarketplaceListingPlanType",) +class MarketplaceListingPlanTypeForResponse(TypedDict): + """Marketplace Listing Plan + + Marketplace Listing Plan + """ + + url: str + accounts_url: str + id: int + number: int + name: str + description: str + monthly_price_in_cents: int + yearly_price_in_cents: int + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + has_free_trial: bool + unit_name: Union[str, None] + state: str + bullets: list[str] + + +__all__ = ( + "MarketplaceListingPlanType", + "MarketplaceListingPlanTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0210.py b/githubkit/versions/ghec_v2022_11_28/types/group_0210.py index 30fe1f51a..2b60f1cfc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0210.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0210.py @@ -14,7 +14,9 @@ from .group_0211 import ( MarketplacePurchasePropMarketplacePendingChangeType, + MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, MarketplacePurchasePropMarketplacePurchaseType, + MarketplacePurchasePropMarketplacePurchaseTypeForResponse, ) @@ -36,4 +38,25 @@ class MarketplacePurchaseType(TypedDict): marketplace_purchase: MarketplacePurchasePropMarketplacePurchaseType -__all__ = ("MarketplacePurchaseType",) +class MarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase + + Marketplace Purchase + """ + + url: str + type: str + id: int + login: str + organization_billing_email: NotRequired[str] + email: NotRequired[Union[str, None]] + marketplace_pending_change: NotRequired[ + Union[MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, None] + ] + marketplace_purchase: MarketplacePurchasePropMarketplacePurchaseTypeForResponse + + +__all__ = ( + "MarketplacePurchaseType", + "MarketplacePurchaseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0211.py b/githubkit/versions/ghec_v2022_11_28/types/group_0211.py index f9d498b9f..c13e1c903 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0211.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0211.py @@ -12,7 +12,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0209 import MarketplaceListingPlanType +from .group_0209 import ( + MarketplaceListingPlanType, + MarketplaceListingPlanTypeForResponse, +) class MarketplacePurchasePropMarketplacePendingChangeType(TypedDict): @@ -25,6 +28,16 @@ class MarketplacePurchasePropMarketplacePendingChangeType(TypedDict): plan: NotRequired[MarketplaceListingPlanType] +class MarketplacePurchasePropMarketplacePendingChangeTypeForResponse(TypedDict): + """MarketplacePurchasePropMarketplacePendingChange""" + + is_installed: NotRequired[bool] + effective_date: NotRequired[str] + unit_count: NotRequired[Union[int, None]] + id: NotRequired[int] + plan: NotRequired[MarketplaceListingPlanTypeForResponse] + + class MarketplacePurchasePropMarketplacePurchaseType(TypedDict): """MarketplacePurchasePropMarketplacePurchase""" @@ -38,7 +51,22 @@ class MarketplacePurchasePropMarketplacePurchaseType(TypedDict): plan: NotRequired[MarketplaceListingPlanType] +class MarketplacePurchasePropMarketplacePurchaseTypeForResponse(TypedDict): + """MarketplacePurchasePropMarketplacePurchase""" + + billing_cycle: NotRequired[str] + next_billing_date: NotRequired[Union[str, None]] + is_installed: NotRequired[bool] + unit_count: NotRequired[Union[int, None]] + on_free_trial: NotRequired[bool] + free_trial_ends_on: NotRequired[Union[str, None]] + updated_at: NotRequired[str] + plan: NotRequired[MarketplaceListingPlanTypeForResponse] + + __all__ = ( "MarketplacePurchasePropMarketplacePendingChangeType", + "MarketplacePurchasePropMarketplacePendingChangeTypeForResponse", "MarketplacePurchasePropMarketplacePurchaseType", + "MarketplacePurchasePropMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0212.py b/githubkit/versions/ghec_v2022_11_28/types/group_0212.py index d0e33aad3..a6503d3f8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0212.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0212.py @@ -37,6 +37,31 @@ class ApiOverviewType(TypedDict): domains: NotRequired[ApiOverviewPropDomainsType] +class ApiOverviewTypeForResponse(TypedDict): + """Api Overview + + Api Overview + """ + + verifiable_password_authentication: bool + ssh_key_fingerprints: NotRequired[ApiOverviewPropSshKeyFingerprintsTypeForResponse] + ssh_keys: NotRequired[list[str]] + hooks: NotRequired[list[str]] + github_enterprise_importer: NotRequired[list[str]] + web: NotRequired[list[str]] + api: NotRequired[list[str]] + git: NotRequired[list[str]] + packages: NotRequired[list[str]] + pages: NotRequired[list[str]] + importer: NotRequired[list[str]] + actions: NotRequired[list[str]] + actions_macos: NotRequired[list[str]] + codespaces: NotRequired[list[str]] + dependabot: NotRequired[list[str]] + copilot: NotRequired[list[str]] + domains: NotRequired[ApiOverviewPropDomainsTypeForResponse] + + class ApiOverviewPropSshKeyFingerprintsType(TypedDict): """ApiOverviewPropSshKeyFingerprints""" @@ -46,6 +71,15 @@ class ApiOverviewPropSshKeyFingerprintsType(TypedDict): sha256_ed25519: NotRequired[str] +class ApiOverviewPropSshKeyFingerprintsTypeForResponse(TypedDict): + """ApiOverviewPropSshKeyFingerprints""" + + sha256_rsa: NotRequired[str] + sha256_dsa: NotRequired[str] + sha256_ecdsa: NotRequired[str] + sha256_ed25519: NotRequired[str] + + class ApiOverviewPropDomainsType(TypedDict): """ApiOverviewPropDomains""" @@ -60,6 +94,22 @@ class ApiOverviewPropDomainsType(TypedDict): ] +class ApiOverviewPropDomainsTypeForResponse(TypedDict): + """ApiOverviewPropDomains""" + + website: NotRequired[list[str]] + codespaces: NotRequired[list[str]] + copilot: NotRequired[list[str]] + packages: NotRequired[list[str]] + actions: NotRequired[list[str]] + actions_inbound: NotRequired[ + ApiOverviewPropDomainsPropActionsInboundTypeForResponse + ] + artifact_attestations: NotRequired[ + ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse + ] + + class ApiOverviewPropDomainsPropActionsInboundType(TypedDict): """ApiOverviewPropDomainsPropActionsInbound""" @@ -67,6 +117,13 @@ class ApiOverviewPropDomainsPropActionsInboundType(TypedDict): wildcard_domains: NotRequired[list[str]] +class ApiOverviewPropDomainsPropActionsInboundTypeForResponse(TypedDict): + """ApiOverviewPropDomainsPropActionsInbound""" + + full_domains: NotRequired[list[str]] + wildcard_domains: NotRequired[list[str]] + + class ApiOverviewPropDomainsPropArtifactAttestationsType(TypedDict): """ApiOverviewPropDomainsPropArtifactAttestations""" @@ -74,10 +131,22 @@ class ApiOverviewPropDomainsPropArtifactAttestationsType(TypedDict): services: NotRequired[list[str]] +class ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse(TypedDict): + """ApiOverviewPropDomainsPropArtifactAttestations""" + + trust_domain: NotRequired[str] + services: NotRequired[list[str]] + + __all__ = ( "ApiOverviewPropDomainsPropActionsInboundType", + "ApiOverviewPropDomainsPropActionsInboundTypeForResponse", "ApiOverviewPropDomainsPropArtifactAttestationsType", + "ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse", "ApiOverviewPropDomainsType", + "ApiOverviewPropDomainsTypeForResponse", "ApiOverviewPropSshKeyFingerprintsType", + "ApiOverviewPropSshKeyFingerprintsTypeForResponse", "ApiOverviewType", + "ApiOverviewTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0213.py b/githubkit/versions/ghec_v2022_11_28/types/group_0213.py index eac5505a5..011a6f24b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0213.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0213.py @@ -36,6 +36,31 @@ class SecurityAndAnalysisType(TypedDict): ] +class SecurityAndAnalysisTypeForResponse(TypedDict): + """SecurityAndAnalysis""" + + advanced_security: NotRequired[ + SecurityAndAnalysisPropAdvancedSecurityTypeForResponse + ] + code_security: NotRequired[SecurityAndAnalysisPropCodeSecurityTypeForResponse] + dependabot_security_updates: NotRequired[ + SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse + ] + secret_scanning: NotRequired[SecurityAndAnalysisPropSecretScanningTypeForResponse] + secret_scanning_push_protection: NotRequired[ + SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse + ] + secret_scanning_non_provider_patterns: NotRequired[ + SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse + ] + secret_scanning_ai_detection: NotRequired[ + SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse + ] + + class SecurityAndAnalysisPropAdvancedSecurityType(TypedDict): """SecurityAndAnalysisPropAdvancedSecurity @@ -48,12 +73,30 @@ class SecurityAndAnalysisPropAdvancedSecurityType(TypedDict): status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropAdvancedSecurityTypeForResponse(TypedDict): + """SecurityAndAnalysisPropAdvancedSecurity + + Enable or disable GitHub Advanced Security for the repository. + + For standalone Code Scanning or Secret Protection products, this parameter + cannot be used. + """ + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropCodeSecurityType(TypedDict): """SecurityAndAnalysisPropCodeSecurity""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropCodeSecurityTypeForResponse(TypedDict): + """SecurityAndAnalysisPropCodeSecurity""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropDependabotSecurityUpdatesType(TypedDict): """SecurityAndAnalysisPropDependabotSecurityUpdates @@ -63,44 +106,94 @@ class SecurityAndAnalysisPropDependabotSecurityUpdatesType(TypedDict): status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse(TypedDict): + """SecurityAndAnalysisPropDependabotSecurityUpdates + + Enable or disable Dependabot security updates for the repository. + """ + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningType(TypedDict): """SecurityAndAnalysisPropSecretScanning""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanning""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningPushProtectionType(TypedDict): """SecurityAndAnalysisPropSecretScanningPushProtection""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanningPushProtection""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningNonProviderPatternsType(TypedDict): """SecurityAndAnalysisPropSecretScanningNonProviderPatterns""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse( + TypedDict +): + """SecurityAndAnalysisPropSecretScanningNonProviderPatterns""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningAiDetectionType(TypedDict): """SecurityAndAnalysisPropSecretScanningAiDetection""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanningAiDetection""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningValidityChecksType(TypedDict): """SecurityAndAnalysisPropSecretScanningValidityChecks""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanningValidityChecks""" + + status: NotRequired[Literal["enabled", "disabled"]] + + __all__ = ( "SecurityAndAnalysisPropAdvancedSecurityType", + "SecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "SecurityAndAnalysisPropCodeSecurityType", + "SecurityAndAnalysisPropCodeSecurityTypeForResponse", "SecurityAndAnalysisPropDependabotSecurityUpdatesType", + "SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse", "SecurityAndAnalysisPropSecretScanningAiDetectionType", + "SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "SecurityAndAnalysisPropSecretScanningPushProtectionType", + "SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningType", + "SecurityAndAnalysisPropSecretScanningTypeForResponse", "SecurityAndAnalysisPropSecretScanningValidityChecksType", + "SecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse", "SecurityAndAnalysisType", + "SecurityAndAnalysisTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0214.py b/githubkit/versions/ghec_v2022_11_28/types/group_0214.py index ceb9bb769..25fc08971 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0214.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0214.py @@ -13,8 +13,8 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0213 import SecurityAndAnalysisType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0213 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse class MinimalRepositoryType(TypedDict): @@ -113,6 +113,102 @@ class MinimalRepositoryType(TypedDict): custom_properties: NotRequired[MinimalRepositoryPropCustomPropertiesType] +class MinimalRepositoryTypeForResponse(TypedDict): + """Minimal Repository + + Minimal Repository + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: NotRequired[str] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: NotRequired[str] + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: NotRequired[str] + mirror_url: NotRequired[Union[str, None]] + hooks_url: str + svn_url: NotRequired[str] + homepage: NotRequired[Union[str, None]] + language: NotRequired[Union[str, None]] + forks_count: NotRequired[int] + stargazers_count: NotRequired[int] + watchers_count: NotRequired[int] + size: NotRequired[int] + default_branch: NotRequired[str] + open_issues_count: NotRequired[int] + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_pages: NotRequired[bool] + has_downloads: NotRequired[bool] + has_discussions: NotRequired[bool] + archived: NotRequired[bool] + disabled: NotRequired[bool] + visibility: NotRequired[str] + pushed_at: NotRequired[Union[str, None]] + created_at: NotRequired[Union[str, None]] + updated_at: NotRequired[Union[str, None]] + permissions: NotRequired[MinimalRepositoryPropPermissionsTypeForResponse] + role_name: NotRequired[str] + temp_clone_token: NotRequired[Union[str, None]] + delete_branch_on_merge: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + code_of_conduct: NotRequired[CodeOfConductTypeForResponse] + license_: NotRequired[Union[MinimalRepositoryPropLicenseTypeForResponse, None]] + forks: NotRequired[int] + open_issues: NotRequired[int] + watchers: NotRequired[int] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + custom_properties: NotRequired[MinimalRepositoryPropCustomPropertiesTypeForResponse] + + class CodeOfConductType(TypedDict): """Code Of Conduct @@ -126,6 +222,19 @@ class CodeOfConductType(TypedDict): html_url: Union[str, None] +class CodeOfConductTypeForResponse(TypedDict): + """Code Of Conduct + + Code Of Conduct + """ + + key: str + name: str + url: str + body: NotRequired[str] + html_url: Union[str, None] + + class MinimalRepositoryPropPermissionsType(TypedDict): """MinimalRepositoryPropPermissions""" @@ -136,6 +245,16 @@ class MinimalRepositoryPropPermissionsType(TypedDict): pull: NotRequired[bool] +class MinimalRepositoryPropPermissionsTypeForResponse(TypedDict): + """MinimalRepositoryPropPermissions""" + + admin: NotRequired[bool] + maintain: NotRequired[bool] + push: NotRequired[bool] + triage: NotRequired[bool] + pull: NotRequired[bool] + + class MinimalRepositoryPropLicenseType(TypedDict): """MinimalRepositoryPropLicense""" @@ -146,6 +265,16 @@ class MinimalRepositoryPropLicenseType(TypedDict): node_id: NotRequired[str] +class MinimalRepositoryPropLicenseTypeForResponse(TypedDict): + """MinimalRepositoryPropLicense""" + + key: NotRequired[str] + name: NotRequired[str] + spdx_id: NotRequired[str] + url: NotRequired[str] + node_id: NotRequired[str] + + MinimalRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """MinimalRepositoryPropCustomProperties @@ -155,10 +284,24 @@ class MinimalRepositoryPropLicenseType(TypedDict): """ +MinimalRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""MinimalRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + __all__ = ( "CodeOfConductType", + "CodeOfConductTypeForResponse", "MinimalRepositoryPropCustomPropertiesType", + "MinimalRepositoryPropCustomPropertiesTypeForResponse", "MinimalRepositoryPropLicenseType", + "MinimalRepositoryPropLicenseTypeForResponse", "MinimalRepositoryPropPermissionsType", + "MinimalRepositoryPropPermissionsTypeForResponse", "MinimalRepositoryType", + "MinimalRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0215.py b/githubkit/versions/ghec_v2022_11_28/types/group_0215.py index 18fa71945..f2671319b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0215.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0215.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class ThreadType(TypedDict): @@ -32,6 +32,23 @@ class ThreadType(TypedDict): subscription_url: str +class ThreadTypeForResponse(TypedDict): + """Thread + + Thread + """ + + id: str + repository: MinimalRepositoryTypeForResponse + subject: ThreadPropSubjectTypeForResponse + reason: str + unread: bool + updated_at: str + last_read_at: Union[str, None] + url: str + subscription_url: str + + class ThreadPropSubjectType(TypedDict): """ThreadPropSubject""" @@ -41,7 +58,18 @@ class ThreadPropSubjectType(TypedDict): type: str +class ThreadPropSubjectTypeForResponse(TypedDict): + """ThreadPropSubject""" + + title: str + url: str + latest_comment_url: str + type: str + + __all__ = ( "ThreadPropSubjectType", + "ThreadPropSubjectTypeForResponse", "ThreadType", + "ThreadTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0216.py b/githubkit/versions/ghec_v2022_11_28/types/group_0216.py index f0966921a..def71ab31 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0216.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0216.py @@ -29,4 +29,22 @@ class ThreadSubscriptionType(TypedDict): repository_url: NotRequired[str] -__all__ = ("ThreadSubscriptionType",) +class ThreadSubscriptionTypeForResponse(TypedDict): + """Thread Subscription + + Thread Subscription + """ + + subscribed: bool + ignored: bool + reason: Union[str, None] + created_at: Union[str, None] + url: str + thread_url: NotRequired[str] + repository_url: NotRequired[str] + + +__all__ = ( + "ThreadSubscriptionType", + "ThreadSubscriptionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0217.py b/githubkit/versions/ghec_v2022_11_28/types/group_0217.py index 7ed63b48e..ae5bb1b68 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0217.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0217.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationCustomRepositoryRoleType(TypedDict): @@ -32,4 +32,23 @@ class OrganizationCustomRepositoryRoleType(TypedDict): updated_at: datetime -__all__ = ("OrganizationCustomRepositoryRoleType",) +class OrganizationCustomRepositoryRoleTypeForResponse(TypedDict): + """Organization Custom Repository Role + + Custom repository roles created by organization owners + """ + + id: int + name: str + description: NotRequired[Union[str, None]] + base_role: Literal["read", "triage", "write", "maintain"] + permissions: list[str] + organization: SimpleUserTypeForResponse + created_at: str + updated_at: str + + +__all__ = ( + "OrganizationCustomRepositoryRoleType", + "OrganizationCustomRepositoryRoleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0218.py b/githubkit/versions/ghec_v2022_11_28/types/group_0218.py index dc8b8b833..9a1b61845 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0218.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0218.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0070 import SimpleRepositoryType +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class DependabotRepositoryAccessDetailsType(TypedDict): @@ -26,4 +26,20 @@ class DependabotRepositoryAccessDetailsType(TypedDict): accessible_repositories: NotRequired[list[Union[None, SimpleRepositoryType]]] -__all__ = ("DependabotRepositoryAccessDetailsType",) +class DependabotRepositoryAccessDetailsTypeForResponse(TypedDict): + """Dependabot Repository Access Details + + Information about repositories that Dependabot is able to access in an + organization + """ + + default_level: NotRequired[Union[None, Literal["public", "internal"]]] + accessible_repositories: NotRequired[ + list[Union[None, SimpleRepositoryTypeForResponse]] + ] + + +__all__ = ( + "DependabotRepositoryAccessDetailsType", + "DependabotRepositoryAccessDetailsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0219.py b/githubkit/versions/ghec_v2022_11_28/types/group_0219.py index 4dd041659..7fb21b36d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0219.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0219.py @@ -23,6 +23,19 @@ class BillingPremiumRequestUsageReportOrgType(TypedDict): usage_items: list[BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType] +class BillingPremiumRequestUsageReportOrgTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrg""" + + time_period: BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse + organization: str + user: NotRequired[str] + product: NotRequired[str] + model: NotRequired[str] + usage_items: list[ + BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse + ] + + class BillingPremiumRequestUsageReportOrgPropTimePeriodType(TypedDict): """BillingPremiumRequestUsageReportOrgPropTimePeriod""" @@ -31,6 +44,14 @@ class BillingPremiumRequestUsageReportOrgPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrgPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType(TypedDict): """BillingPremiumRequestUsageReportOrgPropUsageItemsItems""" @@ -47,8 +68,27 @@ class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrgPropUsageItemsItems""" + + product: str + sku: str + model: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingPremiumRequestUsageReportOrgPropTimePeriodType", + "BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse", "BillingPremiumRequestUsageReportOrgType", + "BillingPremiumRequestUsageReportOrgTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0220.py b/githubkit/versions/ghec_v2022_11_28/types/group_0220.py index 95bc8ca11..dd654f7de 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0220.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0220.py @@ -23,6 +23,17 @@ class BillingUsageSummaryReportOrgType(TypedDict): usage_items: list[BillingUsageSummaryReportOrgPropUsageItemsItemsType] +class BillingUsageSummaryReportOrgTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrg""" + + time_period: BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse + organization: str + repository: NotRequired[str] + product: NotRequired[str] + sku: NotRequired[str] + usage_items: list[BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse] + + class BillingUsageSummaryReportOrgPropTimePeriodType(TypedDict): """BillingUsageSummaryReportOrgPropTimePeriod""" @@ -31,6 +42,14 @@ class BillingUsageSummaryReportOrgPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrgPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingUsageSummaryReportOrgPropUsageItemsItemsType(TypedDict): """BillingUsageSummaryReportOrgPropUsageItemsItems""" @@ -46,8 +65,26 @@ class BillingUsageSummaryReportOrgPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrgPropUsageItemsItems""" + + product: str + sku: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingUsageSummaryReportOrgPropTimePeriodType", + "BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse", "BillingUsageSummaryReportOrgPropUsageItemsItemsType", + "BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse", "BillingUsageSummaryReportOrgType", + "BillingUsageSummaryReportOrgTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0221.py b/githubkit/versions/ghec_v2022_11_28/types/group_0221.py index 18d7defaa..9bc9b7be1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0221.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0221.py @@ -98,6 +98,90 @@ class OrganizationFullType(TypedDict): deploy_keys_enabled_for_repositories: NotRequired[bool] +class OrganizationFullTypeForResponse(TypedDict): + """Organization Full + + Prevents users in the organization from using insecure methods of two-factor + authentication to fulfill a two-factor requirement. + Removes non-compliant outside collaborators from the organization and its + repositories. + + GitHub currently defines SMS as an insecure method of two-factor authentication. + + If your users are managed by the enterprise this policy will not affect them. + The first admin account of the enterprise will still be affected. + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + name: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + blog: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + twitter_username: NotRequired[Union[str, None]] + is_verified: NotRequired[bool] + has_organization_projects: bool + has_repository_projects: bool + public_repos: int + public_gists: int + followers: int + following: int + html_url: str + type: str + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + private_gists: NotRequired[Union[int, None]] + disk_usage: NotRequired[Union[int, None]] + collaborators: NotRequired[Union[int, None]] + billing_email: NotRequired[Union[str, None]] + plan: NotRequired[OrganizationFullPropPlanTypeForResponse] + default_repository_permission: NotRequired[Union[str, None]] + default_repository_branch: NotRequired[Union[str, None]] + members_can_create_repositories: NotRequired[Union[bool, None]] + two_factor_requirement_enabled: NotRequired[Union[bool, None]] + members_allowed_repository_creation_type: NotRequired[str] + members_can_create_public_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_delete_repositories: NotRequired[bool] + members_can_change_repo_visibility: NotRequired[bool] + members_can_invite_outside_collaborators: NotRequired[bool] + members_can_delete_issues: NotRequired[bool] + display_commenter_full_name_setting_enabled: NotRequired[bool] + readers_can_create_discussions: NotRequired[bool] + members_can_create_teams: NotRequired[bool] + members_can_view_dependency_insights: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[Union[bool, None]] + web_commit_signoff_required: NotRequired[bool] + advanced_security_enabled_for_new_repositories: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: NotRequired[bool] + dependabot_security_updates_enabled_for_new_repositories: NotRequired[bool] + dependency_graph_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_custom_link_enabled: NotRequired[bool] + secret_scanning_push_protection_custom_link: NotRequired[Union[str, None]] + secret_scanning_validity_checks_enabled: NotRequired[bool] + created_at: str + updated_at: str + archived_at: Union[str, None] + deploy_keys_enabled_for_repositories: NotRequired[bool] + + class OrganizationFullPropPlanType(TypedDict): """OrganizationFullPropPlan""" @@ -108,7 +192,19 @@ class OrganizationFullPropPlanType(TypedDict): seats: NotRequired[int] +class OrganizationFullPropPlanTypeForResponse(TypedDict): + """OrganizationFullPropPlan""" + + name: str + space: int + private_repos: int + filled_seats: NotRequired[int] + seats: NotRequired[int] + + __all__ = ( "OrganizationFullPropPlanType", + "OrganizationFullPropPlanTypeForResponse", "OrganizationFullType", + "OrganizationFullTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0222.py b/githubkit/versions/ghec_v2022_11_28/types/group_0222.py index f8ed08e06..d0c4fa7ed 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0222.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0222.py @@ -21,4 +21,16 @@ class OidcCustomSubType(TypedDict): include_claim_keys: list[str] -__all__ = ("OidcCustomSubType",) +class OidcCustomSubTypeForResponse(TypedDict): + """Actions OIDC Subject customization + + Actions OIDC Subject customization + """ + + include_claim_keys: list[str] + + +__all__ = ( + "OidcCustomSubType", + "OidcCustomSubTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0223.py b/githubkit/versions/ghec_v2022_11_28/types/group_0223.py index 8bab57723..365354ac4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0223.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0223.py @@ -23,4 +23,17 @@ class ActionsOrganizationPermissionsType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ActionsOrganizationPermissionsType",) +class ActionsOrganizationPermissionsTypeForResponse(TypedDict): + """ActionsOrganizationPermissions""" + + enabled_repositories: Literal["all", "none", "selected"] + selected_repositories_url: NotRequired[str] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + selected_actions_url: NotRequired[str] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ActionsOrganizationPermissionsType", + "ActionsOrganizationPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0224.py b/githubkit/versions/ghec_v2022_11_28/types/group_0224.py index 76c9f193a..238ed0b7b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0224.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0224.py @@ -20,4 +20,14 @@ class SelfHostedRunnersSettingsType(TypedDict): selected_repositories_url: NotRequired[str] -__all__ = ("SelfHostedRunnersSettingsType",) +class SelfHostedRunnersSettingsTypeForResponse(TypedDict): + """SelfHostedRunnersSettings""" + + enabled_repositories: Literal["all", "selected", "none"] + selected_repositories_url: NotRequired[str] + + +__all__ = ( + "SelfHostedRunnersSettingsType", + "SelfHostedRunnersSettingsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0225.py b/githubkit/versions/ghec_v2022_11_28/types/group_0225.py index f67033a97..b1aa2f916 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0225.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0225.py @@ -26,4 +26,21 @@ class ActionsPublicKeyType(TypedDict): created_at: NotRequired[str] -__all__ = ("ActionsPublicKeyType",) +class ActionsPublicKeyTypeForResponse(TypedDict): + """ActionsPublicKey + + The public key used for setting Actions Secrets. + """ + + key_id: str + key: str + id: NotRequired[int] + url: NotRequired[str] + title: NotRequired[str] + created_at: NotRequired[str] + + +__all__ = ( + "ActionsPublicKeyType", + "ActionsPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0226.py b/githubkit/versions/ghec_v2022_11_28/types/group_0226.py index ea757ac75..b87b9fe07 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0226.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0226.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class CampaignSummaryType(TypedDict): @@ -38,6 +38,27 @@ class CampaignSummaryType(TypedDict): alert_stats: NotRequired[CampaignSummaryPropAlertStatsType] +class CampaignSummaryTypeForResponse(TypedDict): + """Campaign summary + + The campaign metadata and alert stats. + """ + + number: int + created_at: str + updated_at: str + name: NotRequired[str] + description: str + managers: list[SimpleUserTypeForResponse] + team_managers: NotRequired[list[TeamTypeForResponse]] + published_at: NotRequired[str] + ends_at: str + closed_at: NotRequired[Union[str, None]] + state: Literal["open", "closed"] + contact_link: Union[str, None] + alert_stats: NotRequired[CampaignSummaryPropAlertStatsTypeForResponse] + + class CampaignSummaryPropAlertStatsType(TypedDict): """CampaignSummaryPropAlertStats""" @@ -46,7 +67,17 @@ class CampaignSummaryPropAlertStatsType(TypedDict): in_progress_count: int +class CampaignSummaryPropAlertStatsTypeForResponse(TypedDict): + """CampaignSummaryPropAlertStats""" + + open_count: int + closed_count: int + in_progress_count: int + + __all__ = ( "CampaignSummaryPropAlertStatsType", + "CampaignSummaryPropAlertStatsTypeForResponse", "CampaignSummaryType", + "CampaignSummaryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0227.py b/githubkit/versions/ghec_v2022_11_28/types/group_0227.py index febb2d4f6..cc9230324 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0227.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0227.py @@ -28,4 +28,22 @@ class CodespaceMachineType(TypedDict): prebuild_availability: Union[None, Literal["none", "ready", "in_progress"]] -__all__ = ("CodespaceMachineType",) +class CodespaceMachineTypeForResponse(TypedDict): + """Codespace machine + + A description of the machine powering a codespace. + """ + + name: str + display_name: str + operating_system: str + storage_in_bytes: int + memory_in_bytes: int + cpus: int + prebuild_availability: Union[None, Literal["none", "ready", "in_progress"]] + + +__all__ = ( + "CodespaceMachineType", + "CodespaceMachineTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0228.py b/githubkit/versions/ghec_v2022_11_28/types/group_0228.py index 5da79b65a..0f03cf5f9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0228.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0228.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0214 import MinimalRepositoryType -from .group_0227 import CodespaceMachineType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0227 import CodespaceMachineType, CodespaceMachineTypeForResponse class CodespaceType(TypedDict): @@ -76,6 +76,64 @@ class CodespaceType(TypedDict): last_known_stop_notice: NotRequired[Union[str, None]] +class CodespaceTypeForResponse(TypedDict): + """Codespace + + A codespace. + """ + + id: int + name: str + display_name: NotRequired[Union[str, None]] + environment_id: Union[str, None] + owner: SimpleUserTypeForResponse + billable_owner: SimpleUserTypeForResponse + repository: MinimalRepositoryTypeForResponse + machine: Union[None, CodespaceMachineTypeForResponse] + devcontainer_path: NotRequired[Union[str, None]] + prebuild: Union[bool, None] + created_at: str + updated_at: str + last_used_at: str + state: Literal[ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding", + ] + url: str + git_status: CodespacePropGitStatusTypeForResponse + location: Literal["EastUs", "SouthEastAsia", "WestEurope", "WestUs2"] + idle_timeout_minutes: Union[int, None] + web_url: str + machines_url: str + start_url: str + stop_url: str + publish_url: NotRequired[Union[str, None]] + pulls_url: Union[str, None] + recent_folders: list[str] + runtime_constraints: NotRequired[CodespacePropRuntimeConstraintsTypeForResponse] + pending_operation: NotRequired[Union[bool, None]] + pending_operation_disabled_reason: NotRequired[Union[str, None]] + idle_timeout_notice: NotRequired[Union[str, None]] + retention_period_minutes: NotRequired[Union[int, None]] + retention_expires_at: NotRequired[Union[str, None]] + last_known_stop_notice: NotRequired[Union[str, None]] + + class CodespacePropGitStatusType(TypedDict): """CodespacePropGitStatus @@ -89,14 +147,36 @@ class CodespacePropGitStatusType(TypedDict): ref: NotRequired[str] +class CodespacePropGitStatusTypeForResponse(TypedDict): + """CodespacePropGitStatus + + Details about the codespace's git repository. + """ + + ahead: NotRequired[int] + behind: NotRequired[int] + has_unpushed_changes: NotRequired[bool] + has_uncommitted_changes: NotRequired[bool] + ref: NotRequired[str] + + class CodespacePropRuntimeConstraintsType(TypedDict): """CodespacePropRuntimeConstraints""" allowed_port_privacy_settings: NotRequired[Union[list[str], None]] +class CodespacePropRuntimeConstraintsTypeForResponse(TypedDict): + """CodespacePropRuntimeConstraints""" + + allowed_port_privacy_settings: NotRequired[Union[list[str], None]] + + __all__ = ( "CodespacePropGitStatusType", + "CodespacePropGitStatusTypeForResponse", "CodespacePropRuntimeConstraintsType", + "CodespacePropRuntimeConstraintsTypeForResponse", "CodespaceType", + "CodespaceTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0229.py b/githubkit/versions/ghec_v2022_11_28/types/group_0229.py index 3f68d2a84..50f181c4a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0229.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0229.py @@ -26,4 +26,21 @@ class CodespacesPublicKeyType(TypedDict): created_at: NotRequired[str] -__all__ = ("CodespacesPublicKeyType",) +class CodespacesPublicKeyTypeForResponse(TypedDict): + """CodespacesPublicKey + + The public key used for setting Codespaces secrets. + """ + + key_id: str + key: str + id: NotRequired[int] + url: NotRequired[str] + title: NotRequired[str] + created_at: NotRequired[str] + + +__all__ = ( + "CodespacesPublicKeyType", + "CodespacesPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0230.py b/githubkit/versions/ghec_v2022_11_28/types/group_0230.py index 3446a1559..0e6503879 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0230.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0230.py @@ -31,6 +31,24 @@ class CopilotOrganizationDetailsType(TypedDict): plan_type: NotRequired[Literal["business", "enterprise"]] +class CopilotOrganizationDetailsTypeForResponse(TypedDict): + """Copilot Organization Details + + Information about the seat breakdown and policies set for an organization with a + Copilot Business or Copilot Enterprise subscription. + """ + + seat_breakdown: CopilotOrganizationSeatBreakdownTypeForResponse + public_code_suggestions: Literal["allow", "block", "unconfigured"] + ide_chat: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + platform_chat: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + cli: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + seat_management_setting: Literal[ + "assign_all", "assign_selected", "disabled", "unconfigured" + ] + plan_type: NotRequired[Literal["business", "enterprise"]] + + class CopilotOrganizationSeatBreakdownType(TypedDict): """Copilot Seat Breakdown @@ -45,7 +63,23 @@ class CopilotOrganizationSeatBreakdownType(TypedDict): inactive_this_cycle: NotRequired[int] +class CopilotOrganizationSeatBreakdownTypeForResponse(TypedDict): + """Copilot Seat Breakdown + + The breakdown of Copilot Business seats for the organization. + """ + + total: NotRequired[int] + added_this_cycle: NotRequired[int] + pending_cancellation: NotRequired[int] + pending_invitation: NotRequired[int] + active_this_cycle: NotRequired[int] + inactive_this_cycle: NotRequired[int] + + __all__ = ( "CopilotOrganizationDetailsType", + "CopilotOrganizationDetailsTypeForResponse", "CopilotOrganizationSeatBreakdownType", + "CopilotOrganizationSeatBreakdownTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0231.py b/githubkit/versions/ghec_v2022_11_28/types/group_0231.py index 3bc77b79e..fcadc87de 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0231.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0231.py @@ -34,4 +34,27 @@ class CredentialAuthorizationType(TypedDict): authorized_credential_expires_at: NotRequired[Union[datetime, None]] -__all__ = ("CredentialAuthorizationType",) +class CredentialAuthorizationTypeForResponse(TypedDict): + """Credential Authorization + + Credential Authorization + """ + + login: str + credential_id: int + credential_type: str + token_last_eight: NotRequired[str] + credential_authorized_at: str + scopes: NotRequired[list[str]] + fingerprint: NotRequired[str] + credential_accessed_at: Union[str, None] + authorized_credential_id: Union[int, None] + authorized_credential_title: NotRequired[Union[str, None]] + authorized_credential_note: NotRequired[Union[str, None]] + authorized_credential_expires_at: NotRequired[Union[str, None]] + + +__all__ = ( + "CredentialAuthorizationType", + "CredentialAuthorizationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0232.py b/githubkit/versions/ghec_v2022_11_28/types/group_0232.py index a553134b2..c9665f257 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0232.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0232.py @@ -22,4 +22,16 @@ class OrganizationCustomRepositoryRoleCreateSchemaType(TypedDict): permissions: list[str] -__all__ = ("OrganizationCustomRepositoryRoleCreateSchemaType",) +class OrganizationCustomRepositoryRoleCreateSchemaTypeForResponse(TypedDict): + """OrganizationCustomRepositoryRoleCreateSchema""" + + name: str + description: NotRequired[Union[str, None]] + base_role: Literal["read", "triage", "write", "maintain"] + permissions: list[str] + + +__all__ = ( + "OrganizationCustomRepositoryRoleCreateSchemaType", + "OrganizationCustomRepositoryRoleCreateSchemaTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0233.py b/githubkit/versions/ghec_v2022_11_28/types/group_0233.py index 2e4c217fa..1d4afa161 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0233.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0233.py @@ -22,4 +22,16 @@ class OrganizationCustomRepositoryRoleUpdateSchemaType(TypedDict): permissions: NotRequired[list[str]] -__all__ = ("OrganizationCustomRepositoryRoleUpdateSchemaType",) +class OrganizationCustomRepositoryRoleUpdateSchemaTypeForResponse(TypedDict): + """OrganizationCustomRepositoryRoleUpdateSchema""" + + name: NotRequired[str] + description: NotRequired[Union[str, None]] + base_role: NotRequired[Literal["read", "triage", "write", "maintain"]] + permissions: NotRequired[list[str]] + + +__all__ = ( + "OrganizationCustomRepositoryRoleUpdateSchemaType", + "OrganizationCustomRepositoryRoleUpdateSchemaTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0234.py b/githubkit/versions/ghec_v2022_11_28/types/group_0234.py index fb3981a7a..f80f5f668 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0234.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0234.py @@ -22,4 +22,17 @@ class DependabotPublicKeyType(TypedDict): key: str -__all__ = ("DependabotPublicKeyType",) +class DependabotPublicKeyTypeForResponse(TypedDict): + """DependabotPublicKey + + The public key used for setting Dependabot Secrets. + """ + + key_id: str + key: str + + +__all__ = ( + "DependabotPublicKeyType", + "DependabotPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0235.py b/githubkit/versions/ghec_v2022_11_28/types/group_0235.py index 31f7beec4..a9edebe21 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0235.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0235.py @@ -39,6 +39,37 @@ class CodeScanningAlertDismissalRequestType(TypedDict): html_url: NotRequired[str] +class CodeScanningAlertDismissalRequestTypeForResponse(TypedDict): + """Code scanning alert dismissal request + + Alert dismisal request made by a user asking to dismiss a code scanning alert. + """ + + id: NotRequired[int] + number: NotRequired[int] + repository: NotRequired[ + CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse + ] + organization: NotRequired[ + CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse + ] + requester: NotRequired[ + CodeScanningAlertDismissalRequestPropRequesterTypeForResponse + ] + request_type: NotRequired[str] + data: NotRequired[ + Union[list[CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse], None] + ] + resource_identifier: NotRequired[str] + status: NotRequired[Literal["pending", "denied", "approved", "expired"]] + requester_comment: NotRequired[Union[str, None]] + expires_at: NotRequired[str] + created_at: NotRequired[str] + responses: NotRequired[Union[list[DismissalRequestResponseTypeForResponse], None]] + url: NotRequired[str] + html_url: NotRequired[str] + + class CodeScanningAlertDismissalRequestPropRepositoryType(TypedDict): """CodeScanningAlertDismissalRequestPropRepository @@ -50,6 +81,17 @@ class CodeScanningAlertDismissalRequestPropRepositoryType(TypedDict): full_name: NotRequired[str] +class CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse(TypedDict): + """CodeScanningAlertDismissalRequestPropRepository + + The repository the dismissal request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + full_name: NotRequired[str] + + class CodeScanningAlertDismissalRequestPropOrganizationType(TypedDict): """CodeScanningAlertDismissalRequestPropOrganization @@ -60,6 +102,16 @@ class CodeScanningAlertDismissalRequestPropOrganizationType(TypedDict): name: NotRequired[str] +class CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse(TypedDict): + """CodeScanningAlertDismissalRequestPropOrganization + + The organization associated with the repository the dismissal request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + + class CodeScanningAlertDismissalRequestPropRequesterType(TypedDict): """CodeScanningAlertDismissalRequestPropRequester @@ -70,6 +122,16 @@ class CodeScanningAlertDismissalRequestPropRequesterType(TypedDict): actor_name: NotRequired[str] +class CodeScanningAlertDismissalRequestPropRequesterTypeForResponse(TypedDict): + """CodeScanningAlertDismissalRequestPropRequester + + The user who requested the dismissal request. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + class CodeScanningAlertDismissalRequestPropDataItemsType(TypedDict): """CodeScanningAlertDismissalRequestPropDataItems""" @@ -78,6 +140,14 @@ class CodeScanningAlertDismissalRequestPropDataItemsType(TypedDict): pr_review_thread_id: NotRequired[str] +class CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse(TypedDict): + """CodeScanningAlertDismissalRequestPropDataItems""" + + reason: NotRequired[str] + alert_number: NotRequired[str] + pr_review_thread_id: NotRequired[str] + + class DismissalRequestResponseType(TypedDict): """Dismissal request response @@ -91,6 +161,19 @@ class DismissalRequestResponseType(TypedDict): created_at: NotRequired[datetime] +class DismissalRequestResponseTypeForResponse(TypedDict): + """Dismissal request response + + A response made by a requester to dismiss the request. + """ + + id: NotRequired[int] + reviewer: NotRequired[DismissalRequestResponsePropReviewerTypeForResponse] + message: NotRequired[Union[str, None]] + status: NotRequired[Literal["approved", "denied", "dismissed"]] + created_at: NotRequired[str] + + class DismissalRequestResponsePropReviewerType(TypedDict): """DismissalRequestResponsePropReviewer @@ -101,12 +184,29 @@ class DismissalRequestResponsePropReviewerType(TypedDict): actor_name: NotRequired[str] +class DismissalRequestResponsePropReviewerTypeForResponse(TypedDict): + """DismissalRequestResponsePropReviewer + + The user who reviewed the dismissal request. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + __all__ = ( "CodeScanningAlertDismissalRequestPropDataItemsType", + "CodeScanningAlertDismissalRequestPropDataItemsTypeForResponse", "CodeScanningAlertDismissalRequestPropOrganizationType", + "CodeScanningAlertDismissalRequestPropOrganizationTypeForResponse", "CodeScanningAlertDismissalRequestPropRepositoryType", + "CodeScanningAlertDismissalRequestPropRepositoryTypeForResponse", "CodeScanningAlertDismissalRequestPropRequesterType", + "CodeScanningAlertDismissalRequestPropRequesterTypeForResponse", "CodeScanningAlertDismissalRequestType", + "CodeScanningAlertDismissalRequestTypeForResponse", "DismissalRequestResponsePropReviewerType", + "DismissalRequestResponsePropReviewerTypeForResponse", "DismissalRequestResponseType", + "DismissalRequestResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0236.py b/githubkit/versions/ghec_v2022_11_28/types/group_0236.py index da6aba6bd..7542a0309 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0236.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0236.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0064 import BypassResponseType +from .group_0064 import BypassResponseType, BypassResponseTypeForResponse class SecretScanningDismissalRequestType(TypedDict): @@ -44,6 +44,36 @@ class SecretScanningDismissalRequestType(TypedDict): html_url: NotRequired[str] +class SecretScanningDismissalRequestTypeForResponse(TypedDict): + """Secret scanning alert dismissal request + + A dismissal request made by a user asking to close a secret scanning alert in + this repository. + """ + + id: NotRequired[int] + number: NotRequired[int] + repository: NotRequired[SecretScanningDismissalRequestPropRepositoryTypeForResponse] + organization: NotRequired[ + SecretScanningDismissalRequestPropOrganizationTypeForResponse + ] + requester: NotRequired[SecretScanningDismissalRequestPropRequesterTypeForResponse] + request_type: NotRequired[str] + data: NotRequired[ + Union[list[SecretScanningDismissalRequestPropDataItemsTypeForResponse], None] + ] + resource_identifier: NotRequired[str] + status: NotRequired[ + Literal["pending", "denied", "approved", "cancelled", "expired"] + ] + requester_comment: NotRequired[Union[str, None]] + expires_at: NotRequired[str] + created_at: NotRequired[str] + responses: NotRequired[Union[list[BypassResponseTypeForResponse], None]] + url: NotRequired[str] + html_url: NotRequired[str] + + class SecretScanningDismissalRequestPropRepositoryType(TypedDict): """SecretScanningDismissalRequestPropRepository @@ -55,6 +85,17 @@ class SecretScanningDismissalRequestPropRepositoryType(TypedDict): full_name: NotRequired[str] +class SecretScanningDismissalRequestPropRepositoryTypeForResponse(TypedDict): + """SecretScanningDismissalRequestPropRepository + + The repository the dismissal request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + full_name: NotRequired[str] + + class SecretScanningDismissalRequestPropOrganizationType(TypedDict): """SecretScanningDismissalRequestPropOrganization @@ -65,6 +106,16 @@ class SecretScanningDismissalRequestPropOrganizationType(TypedDict): name: NotRequired[str] +class SecretScanningDismissalRequestPropOrganizationTypeForResponse(TypedDict): + """SecretScanningDismissalRequestPropOrganization + + The organization associated with the repository the dismissal request is for. + """ + + id: NotRequired[int] + name: NotRequired[str] + + class SecretScanningDismissalRequestPropRequesterType(TypedDict): """SecretScanningDismissalRequestPropRequester @@ -75,6 +126,16 @@ class SecretScanningDismissalRequestPropRequesterType(TypedDict): actor_name: NotRequired[str] +class SecretScanningDismissalRequestPropRequesterTypeForResponse(TypedDict): + """SecretScanningDismissalRequestPropRequester + + The user who requested the dismissal. + """ + + actor_id: NotRequired[int] + actor_name: NotRequired[str] + + class SecretScanningDismissalRequestPropDataItemsType(TypedDict): """SecretScanningDismissalRequestPropDataItems""" @@ -83,10 +144,23 @@ class SecretScanningDismissalRequestPropDataItemsType(TypedDict): reason: NotRequired[Literal["fixed_later", "false_positive", "tests", "revoked"]] +class SecretScanningDismissalRequestPropDataItemsTypeForResponse(TypedDict): + """SecretScanningDismissalRequestPropDataItems""" + + secret_type: NotRequired[str] + alert_number: NotRequired[str] + reason: NotRequired[Literal["fixed_later", "false_positive", "tests", "revoked"]] + + __all__ = ( "SecretScanningDismissalRequestPropDataItemsType", + "SecretScanningDismissalRequestPropDataItemsTypeForResponse", "SecretScanningDismissalRequestPropOrganizationType", + "SecretScanningDismissalRequestPropOrganizationTypeForResponse", "SecretScanningDismissalRequestPropRepositoryType", + "SecretScanningDismissalRequestPropRepositoryTypeForResponse", "SecretScanningDismissalRequestPropRequesterType", + "SecretScanningDismissalRequestPropRequesterTypeForResponse", "SecretScanningDismissalRequestType", + "SecretScanningDismissalRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0237.py b/githubkit/versions/ghec_v2022_11_28/types/group_0237.py index ad3d4cf2d..44b1094ff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0237.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0237.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0214 import MinimalRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class PackageType(TypedDict): @@ -36,4 +36,26 @@ class PackageType(TypedDict): updated_at: datetime -__all__ = ("PackageType",) +class PackageTypeForResponse(TypedDict): + """Package + + A software package + """ + + id: int + name: str + package_type: Literal["npm", "maven", "rubygems", "docker", "nuget", "container"] + url: str + html_url: str + version_count: int + visibility: Literal["private", "public"] + owner: NotRequired[Union[None, SimpleUserTypeForResponse]] + repository: NotRequired[Union[None, MinimalRepositoryTypeForResponse]] + created_at: str + updated_at: str + + +__all__ = ( + "PackageType", + "PackageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0238.py b/githubkit/versions/ghec_v2022_11_28/types/group_0238.py index cc9b10e07..205f480dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0238.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0238.py @@ -25,6 +25,19 @@ class ExternalGroupType(TypedDict): members: list[ExternalGroupPropMembersItemsType] +class ExternalGroupTypeForResponse(TypedDict): + """ExternalGroup + + Information about an external group's usage and its members + """ + + group_id: int + group_name: str + updated_at: NotRequired[str] + teams: list[ExternalGroupPropTeamsItemsTypeForResponse] + members: list[ExternalGroupPropMembersItemsTypeForResponse] + + class ExternalGroupPropTeamsItemsType(TypedDict): """ExternalGroupPropTeamsItems""" @@ -32,6 +45,13 @@ class ExternalGroupPropTeamsItemsType(TypedDict): team_name: str +class ExternalGroupPropTeamsItemsTypeForResponse(TypedDict): + """ExternalGroupPropTeamsItems""" + + team_id: int + team_name: str + + class ExternalGroupPropMembersItemsType(TypedDict): """ExternalGroupPropMembersItems""" @@ -41,8 +61,20 @@ class ExternalGroupPropMembersItemsType(TypedDict): member_email: str +class ExternalGroupPropMembersItemsTypeForResponse(TypedDict): + """ExternalGroupPropMembersItems""" + + member_id: int + member_login: str + member_name: str + member_email: str + + __all__ = ( "ExternalGroupPropMembersItemsType", + "ExternalGroupPropMembersItemsTypeForResponse", "ExternalGroupPropTeamsItemsType", + "ExternalGroupPropTeamsItemsTypeForResponse", "ExternalGroupType", + "ExternalGroupTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0239.py b/githubkit/versions/ghec_v2022_11_28/types/group_0239.py index 31dfd9dfc..f45b10ca7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0239.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0239.py @@ -21,6 +21,15 @@ class ExternalGroupsType(TypedDict): groups: NotRequired[list[ExternalGroupsPropGroupsItemsType]] +class ExternalGroupsTypeForResponse(TypedDict): + """ExternalGroups + + A list of external groups available to be connected to a team + """ + + groups: NotRequired[list[ExternalGroupsPropGroupsItemsTypeForResponse]] + + class ExternalGroupsPropGroupsItemsType(TypedDict): """ExternalGroupsPropGroupsItems""" @@ -29,7 +38,17 @@ class ExternalGroupsPropGroupsItemsType(TypedDict): updated_at: str +class ExternalGroupsPropGroupsItemsTypeForResponse(TypedDict): + """ExternalGroupsPropGroupsItems""" + + group_id: int + group_name: str + updated_at: str + + __all__ = ( "ExternalGroupsPropGroupsItemsType", + "ExternalGroupsPropGroupsItemsTypeForResponse", "ExternalGroupsType", + "ExternalGroupsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0240.py b/githubkit/versions/ghec_v2022_11_28/types/group_0240.py index 23c54a38b..23e9def92 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0240.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0240.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationInvitationType(TypedDict): @@ -35,4 +35,27 @@ class OrganizationInvitationType(TypedDict): invitation_source: NotRequired[str] -__all__ = ("OrganizationInvitationType",) +class OrganizationInvitationTypeForResponse(TypedDict): + """Organization Invitation + + Organization Invitation + """ + + id: int + login: Union[str, None] + email: Union[str, None] + role: str + created_at: str + failed_at: NotRequired[Union[str, None]] + failed_reason: NotRequired[Union[str, None]] + inviter: SimpleUserTypeForResponse + team_count: int + node_id: str + invitation_teams_url: str + invitation_source: NotRequired[str] + + +__all__ = ( + "OrganizationInvitationType", + "OrganizationInvitationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0241.py b/githubkit/versions/ghec_v2022_11_28/types/group_0241.py index 1613d4046..704678df5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0241.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0241.py @@ -22,4 +22,17 @@ class RepositoryFineGrainedPermissionType(TypedDict): description: str -__all__ = ("RepositoryFineGrainedPermissionType",) +class RepositoryFineGrainedPermissionTypeForResponse(TypedDict): + """Repository Fine-Grained Permission + + A fine-grained permission that protects repository resources. + """ + + name: str + description: str + + +__all__ = ( + "RepositoryFineGrainedPermissionType", + "RepositoryFineGrainedPermissionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0242.py b/githubkit/versions/ghec_v2022_11_28/types/group_0242.py index dd28f2299..7eab465b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0242.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0242.py @@ -32,6 +32,25 @@ class OrgHookType(TypedDict): type: str +class OrgHookTypeForResponse(TypedDict): + """Org Hook + + Org Hook + """ + + id: int + url: str + ping_url: str + deliveries_url: NotRequired[str] + name: str + events: list[str] + active: bool + config: OrgHookPropConfigTypeForResponse + updated_at: str + created_at: str + type: str + + class OrgHookPropConfigType(TypedDict): """OrgHookPropConfig""" @@ -41,7 +60,18 @@ class OrgHookPropConfigType(TypedDict): secret: NotRequired[str] +class OrgHookPropConfigTypeForResponse(TypedDict): + """OrgHookPropConfig""" + + url: NotRequired[str] + insecure_ssl: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + + __all__ = ( "OrgHookPropConfigType", + "OrgHookPropConfigTypeForResponse", "OrgHookType", + "OrgHookTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0243.py b/githubkit/versions/ghec_v2022_11_28/types/group_0243.py index eecf40a48..ca7774665 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0243.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0243.py @@ -24,4 +24,18 @@ class ApiInsightsRouteStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsRouteStatsItemsType",) +class ApiInsightsRouteStatsItemsTypeForResponse(TypedDict): + """ApiInsightsRouteStatsItems""" + + http_method: NotRequired[str] + api_route: NotRequired[str] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsRouteStatsItemsType", + "ApiInsightsRouteStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0244.py b/githubkit/versions/ghec_v2022_11_28/types/group_0244.py index a652aaeff..d9c709819 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0244.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0244.py @@ -25,4 +25,19 @@ class ApiInsightsSubjectStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsSubjectStatsItemsType",) +class ApiInsightsSubjectStatsItemsTypeForResponse(TypedDict): + """ApiInsightsSubjectStatsItems""" + + subject_type: NotRequired[str] + subject_name: NotRequired[str] + subject_id: NotRequired[int] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsSubjectStatsItemsType", + "ApiInsightsSubjectStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0245.py b/githubkit/versions/ghec_v2022_11_28/types/group_0245.py index efa213a4a..1d3e54f21 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0245.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0245.py @@ -22,4 +22,17 @@ class ApiInsightsSummaryStatsType(TypedDict): rate_limited_request_count: NotRequired[int] -__all__ = ("ApiInsightsSummaryStatsType",) +class ApiInsightsSummaryStatsTypeForResponse(TypedDict): + """Summary Stats + + API Insights usage summary stats for an organization + """ + + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + + +__all__ = ( + "ApiInsightsSummaryStatsType", + "ApiInsightsSummaryStatsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0246.py b/githubkit/versions/ghec_v2022_11_28/types/group_0246.py index b1ac3a080..bf342a601 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0246.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0246.py @@ -20,4 +20,15 @@ class ApiInsightsTimeStatsItemsType(TypedDict): rate_limited_request_count: NotRequired[int] -__all__ = ("ApiInsightsTimeStatsItemsType",) +class ApiInsightsTimeStatsItemsTypeForResponse(TypedDict): + """ApiInsightsTimeStatsItems""" + + timestamp: NotRequired[str] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + + +__all__ = ( + "ApiInsightsTimeStatsItemsType", + "ApiInsightsTimeStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0247.py b/githubkit/versions/ghec_v2022_11_28/types/group_0247.py index 810ca5b00..699578f3f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0247.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0247.py @@ -27,4 +27,21 @@ class ApiInsightsUserStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsUserStatsItemsType",) +class ApiInsightsUserStatsItemsTypeForResponse(TypedDict): + """ApiInsightsUserStatsItems""" + + actor_type: NotRequired[str] + actor_name: NotRequired[str] + actor_id: NotRequired[int] + integration_id: NotRequired[Union[int, None]] + oauth_application_id: NotRequired[Union[int, None]] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsUserStatsItemsType", + "ApiInsightsUserStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0248.py b/githubkit/versions/ghec_v2022_11_28/types/group_0248.py index 86b7b0b1e..9a14ec8dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0248.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0248.py @@ -25,4 +25,18 @@ class InteractionLimitResponseType(TypedDict): expires_at: datetime -__all__ = ("InteractionLimitResponseType",) +class InteractionLimitResponseTypeForResponse(TypedDict): + """Interaction Limits + + Interaction limit settings. + """ + + limit: Literal["existing_users", "contributors_only", "collaborators_only"] + origin: str + expires_at: str + + +__all__ = ( + "InteractionLimitResponseType", + "InteractionLimitResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0249.py b/githubkit/versions/ghec_v2022_11_28/types/group_0249.py index 7711ae8ae..591ee5e84 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0249.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0249.py @@ -25,4 +25,19 @@ class InteractionLimitType(TypedDict): ] -__all__ = ("InteractionLimitType",) +class InteractionLimitTypeForResponse(TypedDict): + """Interaction Restrictions + + Limit interactions to a specific type of user for a specified duration + """ + + limit: Literal["existing_users", "contributors_only", "collaborators_only"] + expiry: NotRequired[ + Literal["one_day", "three_days", "one_week", "one_month", "six_months"] + ] + + +__all__ = ( + "InteractionLimitType", + "InteractionLimitTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0250.py b/githubkit/versions/ghec_v2022_11_28/types/group_0250.py index 2d5d28056..8e7c8568f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0250.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0250.py @@ -29,4 +29,23 @@ class OrganizationCreateIssueTypeType(TypedDict): ] -__all__ = ("OrganizationCreateIssueTypeType",) +class OrganizationCreateIssueTypeTypeForResponse(TypedDict): + """OrganizationCreateIssueType""" + + name: str + is_enabled: bool + description: NotRequired[Union[str, None]] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + + +__all__ = ( + "OrganizationCreateIssueTypeType", + "OrganizationCreateIssueTypeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0251.py b/githubkit/versions/ghec_v2022_11_28/types/group_0251.py index e6f7b909d..ed6efd6b8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0251.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0251.py @@ -29,4 +29,23 @@ class OrganizationUpdateIssueTypeType(TypedDict): ] -__all__ = ("OrganizationUpdateIssueTypeType",) +class OrganizationUpdateIssueTypeTypeForResponse(TypedDict): + """OrganizationUpdateIssueType""" + + name: str + is_enabled: bool + description: NotRequired[Union[str, None]] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + + +__all__ = ( + "OrganizationUpdateIssueTypeType", + "OrganizationUpdateIssueTypeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0252.py b/githubkit/versions/ghec_v2022_11_28/types/group_0252.py index a79752ae4..e251bce1b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0252.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0252.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0044 import OrganizationSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0044 import OrganizationSimpleType, OrganizationSimpleTypeForResponse class OrgMembershipType(TypedDict): @@ -33,13 +33,38 @@ class OrgMembershipType(TypedDict): permissions: NotRequired[OrgMembershipPropPermissionsType] +class OrgMembershipTypeForResponse(TypedDict): + """Org Membership + + Org Membership + """ + + url: str + state: Literal["active", "pending"] + role: Literal["admin", "member", "billing_manager"] + direct_membership: NotRequired[bool] + enterprise_teams_providing_indirect_membership: NotRequired[list[str]] + organization_url: str + organization: OrganizationSimpleTypeForResponse + user: Union[None, SimpleUserTypeForResponse] + permissions: NotRequired[OrgMembershipPropPermissionsTypeForResponse] + + class OrgMembershipPropPermissionsType(TypedDict): """OrgMembershipPropPermissions""" can_create_repository: bool +class OrgMembershipPropPermissionsTypeForResponse(TypedDict): + """OrgMembershipPropPermissions""" + + can_create_repository: bool + + __all__ = ( "OrgMembershipPropPermissionsType", + "OrgMembershipPropPermissionsTypeForResponse", "OrgMembershipType", + "OrgMembershipTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0253.py b/githubkit/versions/ghec_v2022_11_28/types/group_0253.py index b0bdc2624..219003f35 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0253.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0253.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class MigrationType(TypedDict): @@ -43,4 +43,33 @@ class MigrationType(TypedDict): exclude: NotRequired[list[str]] -__all__ = ("MigrationType",) +class MigrationTypeForResponse(TypedDict): + """Migration + + A migration. + """ + + id: int + owner: Union[None, SimpleUserTypeForResponse] + guid: str + state: str + lock_repositories: bool + exclude_metadata: bool + exclude_git_data: bool + exclude_attachments: bool + exclude_releases: bool + exclude_owner_projects: bool + org_metadata_only: bool + repositories: list[RepositoryTypeForResponse] + url: str + created_at: str + updated_at: str + node_id: str + archive_url: NotRequired[str] + exclude: NotRequired[list[str]] + + +__all__ = ( + "MigrationType", + "MigrationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0254.py b/githubkit/versions/ghec_v2022_11_28/types/group_0254.py index 0c71e9bd1..dc6d3cd95 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0254.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0254.py @@ -22,4 +22,17 @@ class OrganizationFineGrainedPermissionType(TypedDict): description: str -__all__ = ("OrganizationFineGrainedPermissionType",) +class OrganizationFineGrainedPermissionTypeForResponse(TypedDict): + """Organization Fine-Grained Permission + + A fine-grained permission that protects organization resources. + """ + + name: str + description: str + + +__all__ = ( + "OrganizationFineGrainedPermissionType", + "OrganizationFineGrainedPermissionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0255.py b/githubkit/versions/ghec_v2022_11_28/types/group_0255.py index fb3b706a0..df3f4a4cb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0255.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0255.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationRoleType(TypedDict): @@ -37,6 +37,27 @@ class OrganizationRoleType(TypedDict): updated_at: datetime +class OrganizationRoleTypeForResponse(TypedDict): + """Organization Role + + Organization roles + """ + + id: int + name: str + description: NotRequired[Union[str, None]] + base_role: NotRequired[ + Union[None, Literal["read", "triage", "write", "maintain", "admin"]] + ] + source: NotRequired[ + Union[None, Literal["Organization", "Enterprise", "Predefined"]] + ] + permissions: list[str] + organization: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + + class OrgsOrgOrganizationRolesGetResponse200Type(TypedDict): """OrgsOrgOrganizationRolesGetResponse200""" @@ -44,7 +65,16 @@ class OrgsOrgOrganizationRolesGetResponse200Type(TypedDict): roles: NotRequired[list[OrganizationRoleType]] +class OrgsOrgOrganizationRolesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgOrganizationRolesGetResponse200""" + + total_count: NotRequired[int] + roles: NotRequired[list[OrganizationRoleTypeForResponse]] + + __all__ = ( "OrganizationRoleType", + "OrganizationRoleTypeForResponse", "OrgsOrgOrganizationRolesGetResponse200Type", + "OrgsOrgOrganizationRolesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0256.py b/githubkit/versions/ghec_v2022_11_28/types/group_0256.py index c9e591941..8d168e51b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0256.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0256.py @@ -22,4 +22,16 @@ class OrganizationCustomOrganizationRoleCreateSchemaType(TypedDict): base_role: NotRequired[Literal["read", "triage", "write", "maintain", "admin"]] -__all__ = ("OrganizationCustomOrganizationRoleCreateSchemaType",) +class OrganizationCustomOrganizationRoleCreateSchemaTypeForResponse(TypedDict): + """OrganizationCustomOrganizationRoleCreateSchema""" + + name: str + description: NotRequired[str] + permissions: list[str] + base_role: NotRequired[Literal["read", "triage", "write", "maintain", "admin"]] + + +__all__ = ( + "OrganizationCustomOrganizationRoleCreateSchemaType", + "OrganizationCustomOrganizationRoleCreateSchemaTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0257.py b/githubkit/versions/ghec_v2022_11_28/types/group_0257.py index e77a4f03f..87cf92d9c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0257.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0257.py @@ -24,4 +24,18 @@ class OrganizationCustomOrganizationRoleUpdateSchemaType(TypedDict): ] -__all__ = ("OrganizationCustomOrganizationRoleUpdateSchemaType",) +class OrganizationCustomOrganizationRoleUpdateSchemaTypeForResponse(TypedDict): + """OrganizationCustomOrganizationRoleUpdateSchema""" + + name: NotRequired[str] + description: NotRequired[str] + permissions: NotRequired[list[str]] + base_role: NotRequired[ + Literal["none", "read", "triage", "write", "maintain", "admin"] + ] + + +__all__ = ( + "OrganizationCustomOrganizationRoleUpdateSchemaType", + "OrganizationCustomOrganizationRoleUpdateSchemaTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0258.py b/githubkit/versions/ghec_v2022_11_28/types/group_0258.py index 5fd1c0d39..8d05d6446 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0258.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0258.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0079 import TeamSimpleType +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse class TeamRoleAssignmentType(TypedDict): @@ -41,6 +41,32 @@ class TeamRoleAssignmentType(TypedDict): enterprise_id: NotRequired[int] +class TeamRoleAssignmentTypeForResponse(TypedDict): + """A Role Assignment for a Team + + The Relationship a Team has with a role. + """ + + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + id: int + node_id: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[str] + notification_setting: NotRequired[str] + permission: str + permissions: NotRequired[TeamRoleAssignmentPropPermissionsTypeForResponse] + url: str + html_url: str + members_url: str + repositories_url: str + parent: Union[None, TeamSimpleTypeForResponse] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class TeamRoleAssignmentPropPermissionsType(TypedDict): """TeamRoleAssignmentPropPermissions""" @@ -51,7 +77,19 @@ class TeamRoleAssignmentPropPermissionsType(TypedDict): admin: bool +class TeamRoleAssignmentPropPermissionsTypeForResponse(TypedDict): + """TeamRoleAssignmentPropPermissions""" + + pull: bool + triage: bool + push: bool + maintain: bool + admin: bool + + __all__ = ( "TeamRoleAssignmentPropPermissionsType", + "TeamRoleAssignmentPropPermissionsTypeForResponse", "TeamRoleAssignmentType", + "TeamRoleAssignmentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0259.py b/githubkit/versions/ghec_v2022_11_28/types/group_0259.py index 0af0532a8..c87a765f9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0259.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0259.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0079 import TeamSimpleType +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse class UserRoleAssignmentType(TypedDict): @@ -47,4 +47,39 @@ class UserRoleAssignmentType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("UserRoleAssignmentType",) +class UserRoleAssignmentTypeForResponse(TypedDict): + """A Role Assignment for a User + + The Relationship a User has with a role. + """ + + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + inherited_from: NotRequired[list[TeamSimpleTypeForResponse]] + name: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + starred_at: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "UserRoleAssignmentType", + "UserRoleAssignmentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0260.py b/githubkit/versions/ghec_v2022_11_28/types/group_0260.py index 9b4b7ff6c..0dc4d2679 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0260.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0260.py @@ -33,6 +33,25 @@ class PackageVersionType(TypedDict): metadata: NotRequired[PackageVersionPropMetadataType] +class PackageVersionTypeForResponse(TypedDict): + """Package Version + + A version of a software package + """ + + id: int + name: str + url: str + package_html_url: str + html_url: NotRequired[str] + license_: NotRequired[str] + description: NotRequired[str] + created_at: str + updated_at: str + deleted_at: NotRequired[str] + metadata: NotRequired[PackageVersionPropMetadataTypeForResponse] + + class PackageVersionPropMetadataType(TypedDict): """Package Version Metadata""" @@ -41,21 +60,45 @@ class PackageVersionPropMetadataType(TypedDict): docker: NotRequired[PackageVersionPropMetadataPropDockerType] +class PackageVersionPropMetadataTypeForResponse(TypedDict): + """Package Version Metadata""" + + package_type: Literal["npm", "maven", "rubygems", "docker", "nuget", "container"] + container: NotRequired[PackageVersionPropMetadataPropContainerTypeForResponse] + docker: NotRequired[PackageVersionPropMetadataPropDockerTypeForResponse] + + class PackageVersionPropMetadataPropContainerType(TypedDict): """Container Metadata""" tags: list[str] +class PackageVersionPropMetadataPropContainerTypeForResponse(TypedDict): + """Container Metadata""" + + tags: list[str] + + class PackageVersionPropMetadataPropDockerType(TypedDict): """Docker Metadata""" tag: NotRequired[list[str]] +class PackageVersionPropMetadataPropDockerTypeForResponse(TypedDict): + """Docker Metadata""" + + tag: NotRequired[list[str]] + + __all__ = ( "PackageVersionPropMetadataPropContainerType", + "PackageVersionPropMetadataPropContainerTypeForResponse", "PackageVersionPropMetadataPropDockerType", + "PackageVersionPropMetadataPropDockerTypeForResponse", "PackageVersionPropMetadataType", + "PackageVersionPropMetadataTypeForResponse", "PackageVersionType", + "PackageVersionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0261.py b/githubkit/versions/ghec_v2022_11_28/types/group_0261.py index 4979cd78c..29a12bc49 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0261.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0261.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationProgrammaticAccessGrantRequestType(TypedDict): @@ -36,6 +36,29 @@ class OrganizationProgrammaticAccessGrantRequestType(TypedDict): token_last_used_at: Union[str, None] +class OrganizationProgrammaticAccessGrantRequestTypeForResponse(TypedDict): + """Simple Organization Programmatic Access Grant Request + + Minimal representation of an organization programmatic access grant request for + enumerations + """ + + id: int + reason: Union[str, None] + owner: SimpleUserTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repositories_url: str + permissions: ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse + ) + created_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """OrganizationProgrammaticAccessGrantRequestPropPermissions @@ -53,6 +76,25 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): ] +class OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse( + TypedDict +): + """OrganizationProgrammaticAccessGrantRequestPropPermissions + + Permissions requested, categorized by type of permission. + """ + + organization: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse + ] + repository: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse + ] + other: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse + ] + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -60,6 +102,13 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganization +""" + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -67,6 +116,13 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepository +""" + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType: TypeAlias = ( dict[str, Any] ) @@ -74,10 +130,22 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOther +""" + + __all__ = ( "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantRequestType", + "OrganizationProgrammaticAccessGrantRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0262.py b/githubkit/versions/ghec_v2022_11_28/types/group_0262.py index 54bd740d2..115577983 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0262.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0262.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationProgrammaticAccessGrantType(TypedDict): @@ -35,6 +35,26 @@ class OrganizationProgrammaticAccessGrantType(TypedDict): token_last_used_at: Union[str, None] +class OrganizationProgrammaticAccessGrantTypeForResponse(TypedDict): + """Organization Programmatic Access Grant + + Minimal representation of an organization programmatic access grant for + enumerations + """ + + id: int + owner: SimpleUserTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repositories_url: str + permissions: OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse + access_granted_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """OrganizationProgrammaticAccessGrantPropPermissions @@ -50,6 +70,23 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): other: NotRequired[OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType] +class OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse(TypedDict): + """OrganizationProgrammaticAccessGrantPropPermissions + + Permissions requested, categorized by type of permission. + """ + + organization: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse + ] + repository: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse + ] + other: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse + ] + + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType: TypeAlias = ( dict[str, Any] ) @@ -57,6 +94,13 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropOrganization +""" + + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -64,6 +108,13 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropRepository +""" + + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType: TypeAlias = dict[ str, Any ] @@ -71,10 +122,22 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropOther +""" + + __all__ = ( "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsType", + "OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantType", + "OrganizationProgrammaticAccessGrantTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0263.py b/githubkit/versions/ghec_v2022_11_28/types/group_0263.py index 9451eb722..570f2e452 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0263.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0263.py @@ -47,4 +47,40 @@ class OrgPrivateRegistryConfigurationWithSelectedRepositoriesType(TypedDict): updated_at: datetime -__all__ = ("OrgPrivateRegistryConfigurationWithSelectedRepositoriesType",) +class OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse(TypedDict): + """Organization private registry + + Private registry configuration for an organization + """ + + name: str + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: NotRequired[str] + username: NotRequired[str] + replaces_base: NotRequired[bool] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + created_at: str + updated_at: str + + +__all__ = ( + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesType", + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0264.py b/githubkit/versions/ghec_v2022_11_28/types/group_0264.py index 07d3ae203..0972300ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0264.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0264.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2StatusUpdateType(TypedDict): @@ -36,4 +36,27 @@ class ProjectsV2StatusUpdateType(TypedDict): body: NotRequired[Union[str, None]] -__all__ = ("ProjectsV2StatusUpdateType",) +class ProjectsV2StatusUpdateTypeForResponse(TypedDict): + """Projects v2 Status Update + + An status update belonging to a project + """ + + id: float + node_id: str + project_node_id: NotRequired[str] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + status: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + start_date: NotRequired[str] + target_date: NotRequired[str] + body: NotRequired[Union[str, None]] + + +__all__ = ( + "ProjectsV2StatusUpdateType", + "ProjectsV2StatusUpdateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0265.py b/githubkit/versions/ghec_v2022_11_28/types/group_0265.py index 56a7bae29..21a6d3524 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0265.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0265.py @@ -13,8 +13,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0264 import ProjectsV2StatusUpdateType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0264 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) class ProjectsV2Type(TypedDict): @@ -42,4 +45,34 @@ class ProjectsV2Type(TypedDict): is_template: NotRequired[bool] -__all__ = ("ProjectsV2Type",) +class ProjectsV2TypeForResponse(TypedDict): + """Projects v2 Project + + A projects v2 project + """ + + id: float + node_id: str + owner: SimpleUserTypeForResponse + creator: SimpleUserTypeForResponse + title: str + description: Union[str, None] + public: bool + closed_at: Union[str, None] + created_at: str + updated_at: str + number: int + short_description: Union[str, None] + deleted_at: Union[str, None] + deleted_by: Union[None, SimpleUserTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + latest_status_update: NotRequired[ + Union[None, ProjectsV2StatusUpdateTypeForResponse] + ] + is_template: NotRequired[bool] + + +__all__ = ( + "ProjectsV2Type", + "ProjectsV2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0266.py b/githubkit/versions/ghec_v2022_11_28/types/group_0266.py index 064aa0ae7..69d548083 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0266.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0266.py @@ -21,4 +21,16 @@ class LinkType(TypedDict): href: str -__all__ = ("LinkType",) +class LinkTypeForResponse(TypedDict): + """Link + + Hypermedia Link + """ + + href: str + + +__all__ = ( + "LinkType", + "LinkTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0267.py b/githubkit/versions/ghec_v2022_11_28/types/group_0267.py index ac1473211..26c18b081 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0267.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0267.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class AutoMergeType(TypedDict): @@ -27,4 +27,19 @@ class AutoMergeType(TypedDict): commit_message: Union[str, None] -__all__ = ("AutoMergeType",) +class AutoMergeTypeForResponse(TypedDict): + """Auto merge + + The status of auto merging a pull request. + """ + + enabled_by: SimpleUserTypeForResponse + merge_method: Literal["merge", "squash", "rebase"] + commit_title: Union[str, None] + commit_message: Union[str, None] + + +__all__ = ( + "AutoMergeType", + "AutoMergeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0268.py b/githubkit/versions/ghec_v2022_11_28/types/group_0268.py index 4f21b2c9e..74b2f8cdd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0268.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0268.py @@ -13,12 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0080 import TeamType -from .group_0193 import MilestoneType -from .group_0267 import AutoMergeType -from .group_0269 import PullRequestSimplePropBaseType, PullRequestSimplePropHeadType -from .group_0270 import PullRequestSimplePropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0267 import AutoMergeType, AutoMergeTypeForResponse +from .group_0269 import ( + PullRequestSimplePropBaseType, + PullRequestSimplePropBaseTypeForResponse, + PullRequestSimplePropHeadType, + PullRequestSimplePropHeadTypeForResponse, +) +from .group_0270 import ( + PullRequestSimplePropLinksType, + PullRequestSimplePropLinksTypeForResponse, +) class PullRequestSimpleType(TypedDict): @@ -74,6 +82,59 @@ class PullRequestSimpleType(TypedDict): draft: NotRequired[bool] +class PullRequestSimpleTypeForResponse(TypedDict): + """Pull Request Simple + + Pull Request Simple + """ + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: str + locked: bool + title: str + user: Union[None, SimpleUserTypeForResponse] + body: Union[str, None] + labels: list[PullRequestSimplePropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamTypeForResponse], None]] + head: PullRequestSimplePropHeadTypeForResponse + base: PullRequestSimplePropBaseTypeForResponse + links: PullRequestSimplePropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + + class PullRequestSimplePropLabelsItemsType(TypedDict): """PullRequestSimplePropLabelsItems""" @@ -86,7 +147,21 @@ class PullRequestSimplePropLabelsItemsType(TypedDict): default: bool +class PullRequestSimplePropLabelsItemsTypeForResponse(TypedDict): + """PullRequestSimplePropLabelsItems""" + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + __all__ = ( "PullRequestSimplePropLabelsItemsType", + "PullRequestSimplePropLabelsItemsTypeForResponse", "PullRequestSimpleType", + "PullRequestSimpleTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0269.py b/githubkit/versions/ghec_v2022_11_28/types/group_0269.py index 1c03aef11..334e6008b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0269.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0269.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class PullRequestSimplePropHeadType(TypedDict): @@ -26,6 +26,16 @@ class PullRequestSimplePropHeadType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestSimplePropHeadTypeForResponse(TypedDict): + """PullRequestSimplePropHead""" + + label: Union[str, None] + ref: str + repo: Union[None, RepositoryTypeForResponse] + sha: str + user: Union[None, SimpleUserTypeForResponse] + + class PullRequestSimplePropBaseType(TypedDict): """PullRequestSimplePropBase""" @@ -36,7 +46,19 @@ class PullRequestSimplePropBaseType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestSimplePropBaseTypeForResponse(TypedDict): + """PullRequestSimplePropBase""" + + label: str + ref: str + repo: RepositoryTypeForResponse + sha: str + user: Union[None, SimpleUserTypeForResponse] + + __all__ = ( "PullRequestSimplePropBaseType", + "PullRequestSimplePropBaseTypeForResponse", "PullRequestSimplePropHeadType", + "PullRequestSimplePropHeadTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0270.py b/githubkit/versions/ghec_v2022_11_28/types/group_0270.py index 7d99b4362..8ad5e01b5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0270.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0270.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0266 import LinkType +from .group_0266 import LinkType, LinkTypeForResponse class PullRequestSimplePropLinksType(TypedDict): @@ -27,4 +27,20 @@ class PullRequestSimplePropLinksType(TypedDict): self_: LinkType -__all__ = ("PullRequestSimplePropLinksType",) +class PullRequestSimplePropLinksTypeForResponse(TypedDict): + """PullRequestSimplePropLinks""" + + comments: LinkTypeForResponse + commits: LinkTypeForResponse + statuses: LinkTypeForResponse + html: LinkTypeForResponse + issue: LinkTypeForResponse + review_comments: LinkTypeForResponse + review_comment: LinkTypeForResponse + self_: LinkTypeForResponse + + +__all__ = ( + "PullRequestSimplePropLinksType", + "PullRequestSimplePropLinksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0271.py b/githubkit/versions/ghec_v2022_11_28/types/group_0271.py index 5ae5d7051..8bf1cc426 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0271.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0271.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2DraftIssueType(TypedDict): @@ -31,4 +31,22 @@ class ProjectsV2DraftIssueType(TypedDict): updated_at: datetime -__all__ = ("ProjectsV2DraftIssueType",) +class ProjectsV2DraftIssueTypeForResponse(TypedDict): + """Draft Issue + + A draft issue in a project + """ + + id: float + node_id: str + title: str + body: NotRequired[Union[str, None]] + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + + +__all__ = ( + "ProjectsV2DraftIssueType", + "ProjectsV2DraftIssueTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0272.py b/githubkit/versions/ghec_v2022_11_28/types/group_0272.py index 10a1add31..a8ed249f3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0272.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0272.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0198 import IssueType -from .group_0268 import PullRequestSimpleType -from .group_0271 import ProjectsV2DraftIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0268 import PullRequestSimpleType, PullRequestSimpleTypeForResponse +from .group_0271 import ProjectsV2DraftIssueType, ProjectsV2DraftIssueTypeForResponse class ProjectsV2ItemSimpleType(TypedDict): @@ -39,4 +39,31 @@ class ProjectsV2ItemSimpleType(TypedDict): item_url: NotRequired[str] -__all__ = ("ProjectsV2ItemSimpleType",) +class ProjectsV2ItemSimpleTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + content: NotRequired[ + Union[ + IssueTypeForResponse, + PullRequestSimpleTypeForResponse, + ProjectsV2DraftIssueTypeForResponse, + ] + ] + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + project_url: NotRequired[str] + item_url: NotRequired[str] + + +__all__ = ( + "ProjectsV2ItemSimpleType", + "ProjectsV2ItemSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0273.py b/githubkit/versions/ghec_v2022_11_28/types/group_0273.py index 5df5af230..c8746ed25 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0273.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0273.py @@ -47,6 +47,39 @@ class ProjectsV2FieldType(TypedDict): updated_at: datetime +class ProjectsV2FieldTypeForResponse(TypedDict): + """Projects v2 Field + + A field inside a projects v2 project + """ + + id: int + node_id: NotRequired[str] + project_url: str + name: str + data_type: Literal[ + "assignees", + "linked_pull_requests", + "reviewers", + "labels", + "milestone", + "repository", + "title", + "text", + "single_select", + "number", + "date", + "iteration", + "issue_type", + "parent_issue", + "sub_issues_progress", + ] + options: NotRequired[list[ProjectsV2SingleSelectOptionsTypeForResponse]] + configuration: NotRequired[ProjectsV2FieldPropConfigurationTypeForResponse] + created_at: str + updated_at: str + + class ProjectsV2SingleSelectOptionsType(TypedDict): """Projects v2 Single Select Option @@ -59,6 +92,18 @@ class ProjectsV2SingleSelectOptionsType(TypedDict): color: str +class ProjectsV2SingleSelectOptionsTypeForResponse(TypedDict): + """Projects v2 Single Select Option + + An option for a single select field + """ + + id: str + name: ProjectsV2SingleSelectOptionsPropNameTypeForResponse + description: ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse + color: str + + class ProjectsV2SingleSelectOptionsPropNameType(TypedDict): """ProjectsV2SingleSelectOptionsPropName @@ -69,6 +114,16 @@ class ProjectsV2SingleSelectOptionsPropNameType(TypedDict): html: str +class ProjectsV2SingleSelectOptionsPropNameTypeForResponse(TypedDict): + """ProjectsV2SingleSelectOptionsPropName + + The display name of the option, in raw text and HTML formats. + """ + + raw: str + html: str + + class ProjectsV2SingleSelectOptionsPropDescriptionType(TypedDict): """ProjectsV2SingleSelectOptionsPropDescription @@ -79,6 +134,16 @@ class ProjectsV2SingleSelectOptionsPropDescriptionType(TypedDict): html: str +class ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse(TypedDict): + """ProjectsV2SingleSelectOptionsPropDescription + + The description of the option, in raw text and HTML formats. + """ + + raw: str + html: str + + class ProjectsV2FieldPropConfigurationType(TypedDict): """ProjectsV2FieldPropConfiguration @@ -90,6 +155,17 @@ class ProjectsV2FieldPropConfigurationType(TypedDict): iterations: NotRequired[list[ProjectsV2IterationSettingsType]] +class ProjectsV2FieldPropConfigurationTypeForResponse(TypedDict): + """ProjectsV2FieldPropConfiguration + + Configuration for iteration fields. + """ + + start_day: NotRequired[int] + duration: NotRequired[int] + iterations: NotRequired[list[ProjectsV2IterationSettingsTypeForResponse]] + + class ProjectsV2IterationSettingsType(TypedDict): """Projects v2 Iteration Setting @@ -103,6 +179,19 @@ class ProjectsV2IterationSettingsType(TypedDict): completed: bool +class ProjectsV2IterationSettingsTypeForResponse(TypedDict): + """Projects v2 Iteration Setting + + An iteration setting for an iteration field + """ + + id: str + start_date: str + duration: int + title: ProjectsV2IterationSettingsPropTitleTypeForResponse + completed: bool + + class ProjectsV2IterationSettingsPropTitleType(TypedDict): """ProjectsV2IterationSettingsPropTitle @@ -113,12 +202,29 @@ class ProjectsV2IterationSettingsPropTitleType(TypedDict): html: str +class ProjectsV2IterationSettingsPropTitleTypeForResponse(TypedDict): + """ProjectsV2IterationSettingsPropTitle + + The iteration title, in raw text and HTML formats. + """ + + raw: str + html: str + + __all__ = ( "ProjectsV2FieldPropConfigurationType", + "ProjectsV2FieldPropConfigurationTypeForResponse", "ProjectsV2FieldType", + "ProjectsV2FieldTypeForResponse", "ProjectsV2IterationSettingsPropTitleType", + "ProjectsV2IterationSettingsPropTitleTypeForResponse", "ProjectsV2IterationSettingsType", + "ProjectsV2IterationSettingsTypeForResponse", "ProjectsV2SingleSelectOptionsPropDescriptionType", + "ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse", "ProjectsV2SingleSelectOptionsPropNameType", + "ProjectsV2SingleSelectOptionsPropNameTypeForResponse", "ProjectsV2SingleSelectOptionsType", + "ProjectsV2SingleSelectOptionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0274.py b/githubkit/versions/ghec_v2022_11_28/types/group_0274.py index e06d042fa..fa985a732 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0274.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0274.py @@ -13,7 +13,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2ItemWithContentType(TypedDict): @@ -35,6 +35,27 @@ class ProjectsV2ItemWithContentType(TypedDict): fields: NotRequired[list[ProjectsV2ItemWithContentPropFieldsItemsType]] +class ProjectsV2ItemWithContentTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + project_url: NotRequired[str] + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + content: NotRequired[ + Union[ProjectsV2ItemWithContentPropContentTypeForResponse, None] + ] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + item_url: NotRequired[Union[str, None]] + fields: NotRequired[list[ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse]] + + ProjectsV2ItemWithContentPropContentType: TypeAlias = dict[str, Any] """ProjectsV2ItemWithContentPropContent @@ -42,13 +63,28 @@ class ProjectsV2ItemWithContentType(TypedDict): """ +ProjectsV2ItemWithContentPropContentTypeForResponse: TypeAlias = dict[str, Any] +"""ProjectsV2ItemWithContentPropContent + +The content of the item, which varies by content type. +""" + + ProjectsV2ItemWithContentPropFieldsItemsType: TypeAlias = dict[str, Any] """ProjectsV2ItemWithContentPropFieldsItems """ +ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse: TypeAlias = dict[str, Any] +"""ProjectsV2ItemWithContentPropFieldsItems +""" + + __all__ = ( "ProjectsV2ItemWithContentPropContentType", + "ProjectsV2ItemWithContentPropContentTypeForResponse", "ProjectsV2ItemWithContentPropFieldsItemsType", + "ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse", "ProjectsV2ItemWithContentType", + "ProjectsV2ItemWithContentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0275.py b/githubkit/versions/ghec_v2022_11_28/types/group_0275.py index 4bfefbc08..926f16d7c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0275.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0275.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrgRepoCustomPropertyValuesType(TypedDict): @@ -26,4 +26,19 @@ class OrgRepoCustomPropertyValuesType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrgRepoCustomPropertyValuesType",) +class OrgRepoCustomPropertyValuesTypeForResponse(TypedDict): + """Organization Repository Custom Property Values + + List of custom property values for a repository + """ + + repository_id: int + repository_name: str + repository_full_name: str + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrgRepoCustomPropertyValuesType", + "OrgRepoCustomPropertyValuesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0276.py b/githubkit/versions/ghec_v2022_11_28/types/group_0276.py index cac6eb986..7bcbc6e43 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0276.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0276.py @@ -25,4 +25,19 @@ class CodeOfConductSimpleType(TypedDict): html_url: Union[str, None] -__all__ = ("CodeOfConductSimpleType",) +class CodeOfConductSimpleTypeForResponse(TypedDict): + """Code Of Conduct Simple + + Code of Conduct Simple + """ + + url: str + key: str + name: str + html_url: Union[str, None] + + +__all__ = ( + "CodeOfConductSimpleType", + "CodeOfConductSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0277.py b/githubkit/versions/ghec_v2022_11_28/types/group_0277.py index 3625f3f7e..bf504727d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0277.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0277.py @@ -13,11 +13,11 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType -from .group_0020 import RepositoryType -from .group_0213 import SecurityAndAnalysisType -from .group_0276 import CodeOfConductSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0213 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse +from .group_0276 import CodeOfConductSimpleType, CodeOfConductSimpleTypeForResponse class FullRepositoryType(TypedDict): @@ -133,6 +133,119 @@ class FullRepositoryType(TypedDict): custom_properties: NotRequired[FullRepositoryPropCustomPropertiesType] +class FullRepositoryTypeForResponse(TypedDict): + """Full Repository + + Full Repository + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: NotRequired[bool] + has_discussions: bool + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: str + created_at: str + updated_at: str + permissions: NotRequired[FullRepositoryPropPermissionsTypeForResponse] + allow_rebase_merge: NotRequired[bool] + template_repository: NotRequired[Union[None, RepositoryTypeForResponse]] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: int + network_count: int + license_: Union[None, LicenseSimpleTypeForResponse] + organization: NotRequired[Union[None, SimpleUserTypeForResponse]] + parent: NotRequired[RepositoryTypeForResponse] + source: NotRequired[RepositoryTypeForResponse] + forks: int + master_branch: NotRequired[str] + open_issues: int + watchers: int + anonymous_access_enabled: NotRequired[bool] + code_of_conduct: NotRequired[CodeOfConductSimpleTypeForResponse] + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + custom_properties: NotRequired[FullRepositoryPropCustomPropertiesTypeForResponse] + + class FullRepositoryPropPermissionsType(TypedDict): """FullRepositoryPropPermissions""" @@ -143,6 +256,16 @@ class FullRepositoryPropPermissionsType(TypedDict): pull: bool +class FullRepositoryPropPermissionsTypeForResponse(TypedDict): + """FullRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + push: bool + triage: NotRequired[bool] + pull: bool + + FullRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """FullRepositoryPropCustomProperties @@ -152,8 +275,20 @@ class FullRepositoryPropPermissionsType(TypedDict): """ +FullRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""FullRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + __all__ = ( "FullRepositoryPropCustomPropertiesType", + "FullRepositoryPropCustomPropertiesTypeForResponse", "FullRepositoryPropPermissionsType", + "FullRepositoryPropPermissionsTypeForResponse", "FullRepositoryType", + "FullRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0278.py b/githubkit/versions/ghec_v2022_11_28/types/group_0278.py index 74f027a0f..1eb3453a6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0278.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0278.py @@ -30,4 +30,23 @@ class RuleSuitesItemsType(TypedDict): evaluation_result: NotRequired[Literal["pass", "fail", "bypass"]] -__all__ = ("RuleSuitesItemsType",) +class RuleSuitesItemsTypeForResponse(TypedDict): + """RuleSuitesItems""" + + id: NotRequired[int] + actor_id: NotRequired[int] + actor_name: NotRequired[str] + before_sha: NotRequired[str] + after_sha: NotRequired[str] + ref: NotRequired[str] + repository_id: NotRequired[int] + repository_name: NotRequired[str] + pushed_at: NotRequired[str] + result: NotRequired[Literal["pass", "fail", "bypass"]] + evaluation_result: NotRequired[Literal["pass", "fail", "bypass"]] + + +__all__ = ( + "RuleSuitesItemsType", + "RuleSuitesItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0279.py b/githubkit/versions/ghec_v2022_11_28/types/group_0279.py index edb6fa30e..c8c11df8f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0279.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0279.py @@ -34,6 +34,28 @@ class RuleSuiteType(TypedDict): rule_evaluations: NotRequired[list[RuleSuitePropRuleEvaluationsItemsType]] +class RuleSuiteTypeForResponse(TypedDict): + """Rule Suite + + Response + """ + + id: NotRequired[int] + actor_id: NotRequired[Union[int, None]] + actor_name: NotRequired[Union[str, None]] + before_sha: NotRequired[str] + after_sha: NotRequired[str] + ref: NotRequired[str] + repository_id: NotRequired[int] + repository_name: NotRequired[str] + pushed_at: NotRequired[str] + result: NotRequired[Literal["pass", "fail", "bypass"]] + evaluation_result: NotRequired[Union[None, Literal["pass", "fail", "bypass"]]] + rule_evaluations: NotRequired[ + list[RuleSuitePropRuleEvaluationsItemsTypeForResponse] + ] + + class RuleSuitePropRuleEvaluationsItemsType(TypedDict): """RuleSuitePropRuleEvaluationsItems""" @@ -44,6 +66,18 @@ class RuleSuitePropRuleEvaluationsItemsType(TypedDict): details: NotRequired[Union[str, None]] +class RuleSuitePropRuleEvaluationsItemsTypeForResponse(TypedDict): + """RuleSuitePropRuleEvaluationsItems""" + + rule_source: NotRequired[ + RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse + ] + enforcement: NotRequired[Literal["active", "evaluate", "deleted ruleset"]] + result: NotRequired[Literal["pass", "fail"]] + rule_type: NotRequired[str] + details: NotRequired[Union[str, None]] + + class RuleSuitePropRuleEvaluationsItemsPropRuleSourceType(TypedDict): """RuleSuitePropRuleEvaluationsItemsPropRuleSource""" @@ -52,8 +86,19 @@ class RuleSuitePropRuleEvaluationsItemsPropRuleSourceType(TypedDict): name: NotRequired[Union[str, None]] +class RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse(TypedDict): + """RuleSuitePropRuleEvaluationsItemsPropRuleSource""" + + type: NotRequired[str] + id: NotRequired[Union[int, None]] + name: NotRequired[Union[str, None]] + + __all__ = ( "RuleSuitePropRuleEvaluationsItemsPropRuleSourceType", + "RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse", "RuleSuitePropRuleEvaluationsItemsType", + "RuleSuitePropRuleEvaluationsItemsTypeForResponse", "RuleSuiteType", + "RuleSuiteTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0280.py b/githubkit/versions/ghec_v2022_11_28/types/group_0280.py index ef2fcae57..f0255c698 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0280.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0280.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class RepositoryAdvisoryCreditType(TypedDict): @@ -37,4 +37,29 @@ class RepositoryAdvisoryCreditType(TypedDict): state: Literal["accepted", "declined", "pending"] -__all__ = ("RepositoryAdvisoryCreditType",) +class RepositoryAdvisoryCreditTypeForResponse(TypedDict): + """RepositoryAdvisoryCredit + + A credit given to a user for a repository security advisory. + """ + + user: SimpleUserTypeForResponse + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + state: Literal["accepted", "declined", "pending"] + + +__all__ = ( + "RepositoryAdvisoryCreditType", + "RepositoryAdvisoryCreditTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0281.py b/githubkit/versions/ghec_v2022_11_28/types/group_0281.py index 61434d325..e22930bdb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0281.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0281.py @@ -13,10 +13,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0003 import SimpleUserType -from .group_0080 import TeamType -from .group_0280 import RepositoryAdvisoryCreditType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse +from .group_0280 import ( + RepositoryAdvisoryCreditType, + RepositoryAdvisoryCreditTypeForResponse, +) class RepositoryAdvisoryType(TypedDict): @@ -54,6 +57,41 @@ class RepositoryAdvisoryType(TypedDict): private_fork: None +class RepositoryAdvisoryTypeForResponse(TypedDict): + """RepositoryAdvisory + + A repository security advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + url: str + html_url: str + summary: str + description: Union[str, None] + severity: Union[None, Literal["critical", "high", "medium", "low"]] + author: None + publisher: None + identifiers: list[RepositoryAdvisoryPropIdentifiersItemsTypeForResponse] + state: Literal["published", "closed", "withdrawn", "draft", "triage"] + created_at: Union[str, None] + updated_at: Union[str, None] + published_at: Union[str, None] + closed_at: Union[str, None] + withdrawn_at: Union[str, None] + submission: Union[RepositoryAdvisoryPropSubmissionTypeForResponse, None] + vulnerabilities: Union[list[RepositoryAdvisoryVulnerabilityTypeForResponse], None] + cvss: Union[RepositoryAdvisoryPropCvssTypeForResponse, None] + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: Union[list[RepositoryAdvisoryPropCwesItemsTypeForResponse], None] + cwe_ids: Union[list[str], None] + credits_: Union[list[RepositoryAdvisoryPropCreditsItemsTypeForResponse], None] + credits_detailed: Union[list[RepositoryAdvisoryCreditTypeForResponse], None] + collaborating_users: Union[list[SimpleUserTypeForResponse], None] + collaborating_teams: Union[list[TeamTypeForResponse], None] + private_fork: None + + class RepositoryAdvisoryPropIdentifiersItemsType(TypedDict): """RepositoryAdvisoryPropIdentifiersItems""" @@ -61,12 +99,25 @@ class RepositoryAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class RepositoryAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropIdentifiersItems""" + + type: Literal["CVE", "GHSA"] + value: str + + class RepositoryAdvisoryPropSubmissionType(TypedDict): """RepositoryAdvisoryPropSubmission""" accepted: bool +class RepositoryAdvisoryPropSubmissionTypeForResponse(TypedDict): + """RepositoryAdvisoryPropSubmission""" + + accepted: bool + + class RepositoryAdvisoryPropCvssType(TypedDict): """RepositoryAdvisoryPropCvss""" @@ -74,6 +125,13 @@ class RepositoryAdvisoryPropCvssType(TypedDict): score: Union[float, None] +class RepositoryAdvisoryPropCvssTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCvss""" + + vector_string: Union[str, None] + score: Union[float, None] + + class RepositoryAdvisoryPropCwesItemsType(TypedDict): """RepositoryAdvisoryPropCwesItems""" @@ -81,6 +139,13 @@ class RepositoryAdvisoryPropCwesItemsType(TypedDict): name: str +class RepositoryAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class RepositoryAdvisoryPropCreditsItemsType(TypedDict): """RepositoryAdvisoryPropCreditsItems""" @@ -101,6 +166,26 @@ class RepositoryAdvisoryPropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryPropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCreditsItems""" + + login: NotRequired[str] + type: NotRequired[ + Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + ] + + class RepositoryAdvisoryVulnerabilityType(TypedDict): """RepositoryAdvisoryVulnerability @@ -114,6 +199,19 @@ class RepositoryAdvisoryVulnerabilityType(TypedDict): vulnerable_functions: Union[list[str], None] +class RepositoryAdvisoryVulnerabilityTypeForResponse(TypedDict): + """RepositoryAdvisoryVulnerability + + A product affected by the vulnerability detailed in a repository security + advisory. + """ + + package: Union[RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse, None] + vulnerable_version_range: Union[str, None] + patched_versions: Union[str, None] + vulnerable_functions: Union[list[str], None] + + class RepositoryAdvisoryVulnerabilityPropPackageType(TypedDict): """RepositoryAdvisoryVulnerabilityPropPackage @@ -138,13 +236,45 @@ class RepositoryAdvisoryVulnerabilityPropPackageType(TypedDict): name: Union[str, None] +class RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse(TypedDict): + """RepositoryAdvisoryVulnerabilityPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: Union[str, None] + + __all__ = ( "RepositoryAdvisoryPropCreditsItemsType", + "RepositoryAdvisoryPropCreditsItemsTypeForResponse", "RepositoryAdvisoryPropCvssType", + "RepositoryAdvisoryPropCvssTypeForResponse", "RepositoryAdvisoryPropCwesItemsType", + "RepositoryAdvisoryPropCwesItemsTypeForResponse", "RepositoryAdvisoryPropIdentifiersItemsType", + "RepositoryAdvisoryPropIdentifiersItemsTypeForResponse", "RepositoryAdvisoryPropSubmissionType", + "RepositoryAdvisoryPropSubmissionTypeForResponse", "RepositoryAdvisoryType", + "RepositoryAdvisoryTypeForResponse", "RepositoryAdvisoryVulnerabilityPropPackageType", + "RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse", "RepositoryAdvisoryVulnerabilityType", + "RepositoryAdvisoryVulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0282.py b/githubkit/versions/ghec_v2022_11_28/types/group_0282.py index 0d85582aa..0885d5026 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0282.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0282.py @@ -23,4 +23,17 @@ class ImmutableReleasesOrganizationSettingsType(TypedDict): selected_repositories_url: NotRequired[str] -__all__ = ("ImmutableReleasesOrganizationSettingsType",) +class ImmutableReleasesOrganizationSettingsTypeForResponse(TypedDict): + """Check immutable releases organization settings + + Check immutable releases settings for an organization. + """ + + enforced_repositories: Literal["all", "none", "selected"] + selected_repositories_url: NotRequired[str] + + +__all__ = ( + "ImmutableReleasesOrganizationSettingsType", + "ImmutableReleasesOrganizationSettingsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0283.py b/githubkit/versions/ghec_v2022_11_28/types/group_0283.py index dcb7aa8bd..aefc31ae9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0283.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0283.py @@ -22,6 +22,15 @@ class GroupMappingType(TypedDict): groups: NotRequired[list[GroupMappingPropGroupsItemsType]] +class GroupMappingTypeForResponse(TypedDict): + """GroupMapping + + External Groups to be mapped to a team for membership + """ + + groups: NotRequired[list[GroupMappingPropGroupsItemsTypeForResponse]] + + class GroupMappingPropGroupsItemsType(TypedDict): """GroupMappingPropGroupsItems""" @@ -32,7 +41,19 @@ class GroupMappingPropGroupsItemsType(TypedDict): synced_at: NotRequired[Union[str, None]] +class GroupMappingPropGroupsItemsTypeForResponse(TypedDict): + """GroupMappingPropGroupsItems""" + + group_id: str + group_name: str + group_description: str + status: NotRequired[str] + synced_at: NotRequired[Union[str, None]] + + __all__ = ( "GroupMappingPropGroupsItemsType", + "GroupMappingPropGroupsItemsTypeForResponse", "GroupMappingType", + "GroupMappingTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0284.py b/githubkit/versions/ghec_v2022_11_28/types/group_0284.py index 393e83e4b..97f2ed1b1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0284.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0284.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0079 import TeamSimpleType +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse class TeamFullType(TypedDict): @@ -48,6 +48,38 @@ class TeamFullType(TypedDict): enterprise_id: NotRequired[int] +class TeamFullTypeForResponse(TypedDict): + """Full Team + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + url: str + html_url: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[Literal["closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: str + members_url: str + repositories_url: str + parent: NotRequired[Union[None, TeamSimpleTypeForResponse]] + members_count: int + repos_count: int + created_at: str + updated_at: str + organization: TeamOrganizationTypeForResponse + ldap_dn: NotRequired[str] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class TeamOrganizationType(TypedDict): """Team Organization @@ -105,6 +137,63 @@ class TeamOrganizationType(TypedDict): archived_at: Union[datetime, None] +class TeamOrganizationTypeForResponse(TypedDict): + """Team Organization + + Team Organization + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + name: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + blog: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + twitter_username: NotRequired[Union[str, None]] + is_verified: NotRequired[bool] + has_organization_projects: bool + has_repository_projects: bool + public_repos: int + public_gists: int + followers: int + following: int + html_url: str + created_at: str + type: str + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + private_gists: NotRequired[Union[int, None]] + disk_usage: NotRequired[Union[int, None]] + collaborators: NotRequired[Union[int, None]] + billing_email: NotRequired[Union[str, None]] + plan: NotRequired[TeamOrganizationPropPlanTypeForResponse] + default_repository_permission: NotRequired[Union[str, None]] + members_can_create_repositories: NotRequired[Union[bool, None]] + two_factor_requirement_enabled: NotRequired[Union[bool, None]] + members_allowed_repository_creation_type: NotRequired[str] + members_can_create_public_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[Union[bool, None]] + web_commit_signoff_required: NotRequired[bool] + updated_at: str + archived_at: Union[str, None] + + class TeamOrganizationPropPlanType(TypedDict): """TeamOrganizationPropPlan""" @@ -115,8 +204,21 @@ class TeamOrganizationPropPlanType(TypedDict): seats: NotRequired[int] +class TeamOrganizationPropPlanTypeForResponse(TypedDict): + """TeamOrganizationPropPlan""" + + name: str + space: int + private_repos: int + filled_seats: NotRequired[int] + seats: NotRequired[int] + + __all__ = ( "TeamFullType", + "TeamFullTypeForResponse", "TeamOrganizationPropPlanType", + "TeamOrganizationPropPlanTypeForResponse", "TeamOrganizationType", + "TeamOrganizationTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0285.py b/githubkit/versions/ghec_v2022_11_28/types/group_0285.py index 46222459f..41e34d95a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0285.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0285.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class TeamDiscussionType(TypedDict): @@ -44,4 +44,34 @@ class TeamDiscussionType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TeamDiscussionType",) +class TeamDiscussionTypeForResponse(TypedDict): + """Team Discussion + + A team discussion is a persistent record of a free-form conversation within a + team. + """ + + author: Union[None, SimpleUserTypeForResponse] + body: str + body_html: str + body_version: str + comments_count: int + comments_url: str + created_at: str + last_edited_at: Union[str, None] + html_url: str + node_id: str + number: int + pinned: bool + private: bool + team_url: str + title: str + updated_at: str + url: str + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TeamDiscussionType", + "TeamDiscussionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0286.py b/githubkit/versions/ghec_v2022_11_28/types/group_0286.py index b0bc8d1af..795007963 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0286.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0286.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class TeamDiscussionCommentType(TypedDict): @@ -38,4 +38,28 @@ class TeamDiscussionCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TeamDiscussionCommentType",) +class TeamDiscussionCommentTypeForResponse(TypedDict): + """Team Discussion Comment + + A reply to a discussion within a team. + """ + + author: Union[None, SimpleUserTypeForResponse] + body: str + body_html: str + body_version: str + created_at: str + last_edited_at: Union[str, None] + discussion_url: str + html_url: str + node_id: str + number: int + updated_at: str + url: str + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TeamDiscussionCommentType", + "TeamDiscussionCommentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0287.py b/githubkit/versions/ghec_v2022_11_28/types/group_0287.py index 29fb93bc6..a31e74260 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0287.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0287.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReactionType(TypedDict): @@ -32,4 +32,23 @@ class ReactionType(TypedDict): created_at: datetime -__all__ = ("ReactionType",) +class ReactionTypeForResponse(TypedDict): + """Reaction + + Reactions to conversations provide a way to help people express their feelings + more simply and effectively. + """ + + id: int + node_id: str + user: Union[None, SimpleUserTypeForResponse] + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + created_at: str + + +__all__ = ( + "ReactionType", + "ReactionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0288.py b/githubkit/versions/ghec_v2022_11_28/types/group_0288.py index 201ca0a17..02228d2b0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0288.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0288.py @@ -24,4 +24,18 @@ class TeamMembershipType(TypedDict): state: Literal["active", "pending"] -__all__ = ("TeamMembershipType",) +class TeamMembershipTypeForResponse(TypedDict): + """Team Membership + + Team Membership + """ + + url: str + role: Literal["member", "maintainer"] + state: Literal["active", "pending"] + + +__all__ = ( + "TeamMembershipType", + "TeamMembershipTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0289.py b/githubkit/versions/ghec_v2022_11_28/types/group_0289.py index eac617342..33b9de68c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0289.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0289.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class TeamProjectType(TypedDict): @@ -39,6 +39,30 @@ class TeamProjectType(TypedDict): permissions: TeamProjectPropPermissionsType +class TeamProjectTypeForResponse(TypedDict): + """Team Project + + A team's access to a project. + """ + + owner_url: str + url: str + html_url: str + columns_url: str + id: int + node_id: str + name: str + body: Union[str, None] + number: int + state: str + creator: SimpleUserTypeForResponse + created_at: str + updated_at: str + organization_permission: NotRequired[str] + private: NotRequired[bool] + permissions: TeamProjectPropPermissionsTypeForResponse + + class TeamProjectPropPermissionsType(TypedDict): """TeamProjectPropPermissions""" @@ -47,7 +71,17 @@ class TeamProjectPropPermissionsType(TypedDict): admin: bool +class TeamProjectPropPermissionsTypeForResponse(TypedDict): + """TeamProjectPropPermissions""" + + read: bool + write: bool + admin: bool + + __all__ = ( "TeamProjectPropPermissionsType", + "TeamProjectPropPermissionsTypeForResponse", "TeamProjectType", + "TeamProjectTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0290.py b/githubkit/versions/ghec_v2022_11_28/types/group_0290.py index d648ae260..4432454bb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0290.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0290.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class TeamRepositoryType(TypedDict): @@ -114,6 +114,103 @@ class TeamRepositoryType(TypedDict): master_branch: NotRequired[str] +class TeamRepositoryTypeForResponse(TypedDict): + """Team Repository + + A team's access to a repository. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + forks: int + permissions: NotRequired[TeamRepositoryPropPermissionsTypeForResponse] + role_name: NotRequired[str] + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + open_issues: int + watchers: int + master_branch: NotRequired[str] + + class TeamRepositoryPropPermissionsType(TypedDict): """TeamRepositoryPropPermissions""" @@ -124,7 +221,19 @@ class TeamRepositoryPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class TeamRepositoryPropPermissionsTypeForResponse(TypedDict): + """TeamRepositoryPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + __all__ = ( "TeamRepositoryPropPermissionsType", + "TeamRepositoryPropPermissionsTypeForResponse", "TeamRepositoryType", + "TeamRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0291.py b/githubkit/versions/ghec_v2022_11_28/types/group_0291.py index fdc7baddd..e739fc5c7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0291.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0291.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectCardType(TypedDict): @@ -37,4 +37,28 @@ class ProjectCardType(TypedDict): project_url: str -__all__ = ("ProjectCardType",) +class ProjectCardTypeForResponse(TypedDict): + """Project Card + + Project cards represent a scope of work. + """ + + url: str + id: int + node_id: str + note: Union[str, None] + creator: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived: NotRequired[bool] + column_name: NotRequired[str] + project_id: NotRequired[str] + column_url: str + content_url: NotRequired[str] + project_url: str + + +__all__ = ( + "ProjectCardType", + "ProjectCardTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0292.py b/githubkit/versions/ghec_v2022_11_28/types/group_0292.py index d23a9ab67..e578a2cf1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0292.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0292.py @@ -29,4 +29,23 @@ class ProjectColumnType(TypedDict): updated_at: datetime -__all__ = ("ProjectColumnType",) +class ProjectColumnTypeForResponse(TypedDict): + """Project Column + + Project columns contain cards of work. + """ + + url: str + project_url: str + cards_url: str + id: int + node_id: str + name: str + created_at: str + updated_at: str + + +__all__ = ( + "ProjectColumnType", + "ProjectColumnTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0293.py b/githubkit/versions/ghec_v2022_11_28/types/group_0293.py index 45af07517..61203d657 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0293.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0293.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectCollaboratorPermissionType(TypedDict): @@ -25,4 +25,17 @@ class ProjectCollaboratorPermissionType(TypedDict): user: Union[None, SimpleUserType] -__all__ = ("ProjectCollaboratorPermissionType",) +class ProjectCollaboratorPermissionTypeForResponse(TypedDict): + """Project Collaborator Permission + + Project Collaborator Permission + """ + + permission: str + user: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ProjectCollaboratorPermissionType", + "ProjectCollaboratorPermissionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0294.py b/githubkit/versions/ghec_v2022_11_28/types/group_0294.py index 7564a62f1..afd56aa3d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0294.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0294.py @@ -21,4 +21,16 @@ class RateLimitType(TypedDict): used: int -__all__ = ("RateLimitType",) +class RateLimitTypeForResponse(TypedDict): + """Rate Limit""" + + limit: int + remaining: int + reset: int + used: int + + +__all__ = ( + "RateLimitType", + "RateLimitTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0295.py b/githubkit/versions/ghec_v2022_11_28/types/group_0295.py index ec396e6fc..1cf393805 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0295.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0295.py @@ -11,8 +11,11 @@ from typing_extensions import TypedDict -from .group_0294 import RateLimitType -from .group_0296 import RateLimitOverviewPropResourcesType +from .group_0294 import RateLimitType, RateLimitTypeForResponse +from .group_0296 import ( + RateLimitOverviewPropResourcesType, + RateLimitOverviewPropResourcesTypeForResponse, +) class RateLimitOverviewType(TypedDict): @@ -25,4 +28,17 @@ class RateLimitOverviewType(TypedDict): rate: RateLimitType -__all__ = ("RateLimitOverviewType",) +class RateLimitOverviewTypeForResponse(TypedDict): + """Rate Limit Overview + + Rate Limit Overview + """ + + resources: RateLimitOverviewPropResourcesTypeForResponse + rate: RateLimitTypeForResponse + + +__all__ = ( + "RateLimitOverviewType", + "RateLimitOverviewTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0296.py b/githubkit/versions/ghec_v2022_11_28/types/group_0296.py index 7098e8510..938d00a20 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0296.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0296.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0294 import RateLimitType +from .group_0294 import RateLimitType, RateLimitTypeForResponse class RateLimitOverviewPropResourcesType(TypedDict): @@ -31,4 +31,24 @@ class RateLimitOverviewPropResourcesType(TypedDict): code_scanning_autofix: NotRequired[RateLimitType] -__all__ = ("RateLimitOverviewPropResourcesType",) +class RateLimitOverviewPropResourcesTypeForResponse(TypedDict): + """RateLimitOverviewPropResources""" + + core: RateLimitTypeForResponse + graphql: NotRequired[RateLimitTypeForResponse] + search: RateLimitTypeForResponse + code_search: NotRequired[RateLimitTypeForResponse] + source_import: NotRequired[RateLimitTypeForResponse] + integration_manifest: NotRequired[RateLimitTypeForResponse] + code_scanning_upload: NotRequired[RateLimitTypeForResponse] + actions_runner_registration: NotRequired[RateLimitTypeForResponse] + scim: NotRequired[RateLimitTypeForResponse] + dependency_snapshots: NotRequired[RateLimitTypeForResponse] + dependency_sbom: NotRequired[RateLimitTypeForResponse] + code_scanning_autofix: NotRequired[RateLimitTypeForResponse] + + +__all__ = ( + "RateLimitOverviewPropResourcesType", + "RateLimitOverviewPropResourcesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0297.py b/githubkit/versions/ghec_v2022_11_28/types/group_0297.py index 02e909e24..0e7289a26 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0297.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0297.py @@ -34,6 +34,26 @@ class ArtifactType(TypedDict): workflow_run: NotRequired[Union[ArtifactPropWorkflowRunType, None]] +class ArtifactTypeForResponse(TypedDict): + """Artifact + + An artifact + """ + + id: int + node_id: str + name: str + size_in_bytes: int + url: str + archive_download_url: str + expired: bool + created_at: Union[str, None] + expires_at: Union[str, None] + updated_at: Union[str, None] + digest: NotRequired[Union[str, None]] + workflow_run: NotRequired[Union[ArtifactPropWorkflowRunTypeForResponse, None]] + + class ArtifactPropWorkflowRunType(TypedDict): """ArtifactPropWorkflowRun""" @@ -44,7 +64,19 @@ class ArtifactPropWorkflowRunType(TypedDict): head_sha: NotRequired[str] +class ArtifactPropWorkflowRunTypeForResponse(TypedDict): + """ArtifactPropWorkflowRun""" + + id: NotRequired[int] + repository_id: NotRequired[int] + head_repository_id: NotRequired[int] + head_branch: NotRequired[str] + head_sha: NotRequired[str] + + __all__ = ( "ArtifactPropWorkflowRunType", + "ArtifactPropWorkflowRunTypeForResponse", "ArtifactType", + "ArtifactTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0298.py b/githubkit/versions/ghec_v2022_11_28/types/group_0298.py index 88facf6b2..13dae0b83 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0298.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0298.py @@ -23,6 +23,16 @@ class ActionsCacheListType(TypedDict): actions_caches: list[ActionsCacheListPropActionsCachesItemsType] +class ActionsCacheListTypeForResponse(TypedDict): + """Repository actions caches + + Repository actions caches + """ + + total_count: int + actions_caches: list[ActionsCacheListPropActionsCachesItemsTypeForResponse] + + class ActionsCacheListPropActionsCachesItemsType(TypedDict): """ActionsCacheListPropActionsCachesItems""" @@ -35,7 +45,21 @@ class ActionsCacheListPropActionsCachesItemsType(TypedDict): size_in_bytes: NotRequired[int] +class ActionsCacheListPropActionsCachesItemsTypeForResponse(TypedDict): + """ActionsCacheListPropActionsCachesItems""" + + id: NotRequired[int] + ref: NotRequired[str] + key: NotRequired[str] + version: NotRequired[str] + last_accessed_at: NotRequired[str] + created_at: NotRequired[str] + size_in_bytes: NotRequired[int] + + __all__ = ( "ActionsCacheListPropActionsCachesItemsType", + "ActionsCacheListPropActionsCachesItemsTypeForResponse", "ActionsCacheListType", + "ActionsCacheListTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0299.py b/githubkit/versions/ghec_v2022_11_28/types/group_0299.py index 1d359461a..3ce0d17c2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0299.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0299.py @@ -58,6 +58,50 @@ class JobType(TypedDict): head_branch: Union[str, None] +class JobTypeForResponse(TypedDict): + """Job + + Information of a job execution in a workflow run + """ + + id: int + run_id: int + run_url: str + run_attempt: NotRequired[int] + node_id: str + head_sha: str + url: str + html_url: Union[str, None] + status: Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + created_at: str + started_at: str + completed_at: Union[str, None] + name: str + steps: NotRequired[list[JobPropStepsItemsTypeForResponse]] + check_run_url: str + labels: list[str] + runner_id: Union[int, None] + runner_name: Union[str, None] + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + workflow_name: Union[str, None] + head_branch: Union[str, None] + + class JobPropStepsItemsType(TypedDict): """JobPropStepsItems""" @@ -69,7 +113,20 @@ class JobPropStepsItemsType(TypedDict): completed_at: NotRequired[Union[datetime, None]] +class JobPropStepsItemsTypeForResponse(TypedDict): + """JobPropStepsItems""" + + status: Literal["queued", "in_progress", "completed"] + conclusion: Union[str, None] + name: str + number: int + started_at: NotRequired[Union[str, None]] + completed_at: NotRequired[Union[str, None]] + + __all__ = ( "JobPropStepsItemsType", + "JobPropStepsItemsTypeForResponse", "JobType", + "JobTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0300.py b/githubkit/versions/ghec_v2022_11_28/types/group_0300.py index faacb2b0b..359ba2f41 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0300.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0300.py @@ -22,4 +22,17 @@ class OidcCustomSubRepoType(TypedDict): include_claim_keys: NotRequired[list[str]] -__all__ = ("OidcCustomSubRepoType",) +class OidcCustomSubRepoTypeForResponse(TypedDict): + """Actions OIDC subject customization for a repository + + Actions OIDC subject customization for a repository + """ + + use_default: bool + include_claim_keys: NotRequired[list[str]] + + +__all__ = ( + "OidcCustomSubRepoType", + "OidcCustomSubRepoTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0301.py b/githubkit/versions/ghec_v2022_11_28/types/group_0301.py index 7d6ae5032..55e0f9a29 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0301.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0301.py @@ -24,4 +24,18 @@ class ActionsSecretType(TypedDict): updated_at: datetime -__all__ = ("ActionsSecretType",) +class ActionsSecretTypeForResponse(TypedDict): + """Actions Secret + + Set secrets for GitHub Actions. + """ + + name: str + created_at: str + updated_at: str + + +__all__ = ( + "ActionsSecretType", + "ActionsSecretTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0302.py b/githubkit/versions/ghec_v2022_11_28/types/group_0302.py index eb13c7e2f..78084ce7d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0302.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0302.py @@ -22,4 +22,16 @@ class ActionsVariableType(TypedDict): updated_at: datetime -__all__ = ("ActionsVariableType",) +class ActionsVariableTypeForResponse(TypedDict): + """Actions Variable""" + + name: str + value: str + created_at: str + updated_at: str + + +__all__ = ( + "ActionsVariableType", + "ActionsVariableTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0303.py b/githubkit/versions/ghec_v2022_11_28/types/group_0303.py index 1d9f783e3..29301e5c2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0303.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0303.py @@ -22,4 +22,16 @@ class ActionsRepositoryPermissionsType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ActionsRepositoryPermissionsType",) +class ActionsRepositoryPermissionsTypeForResponse(TypedDict): + """ActionsRepositoryPermissions""" + + enabled: bool + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + selected_actions_url: NotRequired[str] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ActionsRepositoryPermissionsType", + "ActionsRepositoryPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0304.py b/githubkit/versions/ghec_v2022_11_28/types/group_0304.py index d7d171918..6440763b3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0304.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0304.py @@ -19,4 +19,13 @@ class ActionsWorkflowAccessToRepositoryType(TypedDict): access_level: Literal["none", "user", "organization", "enterprise"] -__all__ = ("ActionsWorkflowAccessToRepositoryType",) +class ActionsWorkflowAccessToRepositoryTypeForResponse(TypedDict): + """ActionsWorkflowAccessToRepository""" + + access_level: Literal["none", "user", "organization", "enterprise"] + + +__all__ = ( + "ActionsWorkflowAccessToRepositoryType", + "ActionsWorkflowAccessToRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0305.py b/githubkit/versions/ghec_v2022_11_28/types/group_0305.py index 7879ad294..d2f33fbe7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0305.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0305.py @@ -22,6 +22,16 @@ class PullRequestMinimalType(TypedDict): base: PullRequestMinimalPropBaseType +class PullRequestMinimalTypeForResponse(TypedDict): + """Pull Request Minimal""" + + id: int + number: int + url: str + head: PullRequestMinimalPropHeadTypeForResponse + base: PullRequestMinimalPropBaseTypeForResponse + + class PullRequestMinimalPropHeadType(TypedDict): """PullRequestMinimalPropHead""" @@ -30,6 +40,14 @@ class PullRequestMinimalPropHeadType(TypedDict): repo: PullRequestMinimalPropHeadPropRepoType +class PullRequestMinimalPropHeadTypeForResponse(TypedDict): + """PullRequestMinimalPropHead""" + + ref: str + sha: str + repo: PullRequestMinimalPropHeadPropRepoTypeForResponse + + class PullRequestMinimalPropHeadPropRepoType(TypedDict): """PullRequestMinimalPropHeadPropRepo""" @@ -38,6 +56,14 @@ class PullRequestMinimalPropHeadPropRepoType(TypedDict): name: str +class PullRequestMinimalPropHeadPropRepoTypeForResponse(TypedDict): + """PullRequestMinimalPropHeadPropRepo""" + + id: int + url: str + name: str + + class PullRequestMinimalPropBaseType(TypedDict): """PullRequestMinimalPropBase""" @@ -46,6 +72,14 @@ class PullRequestMinimalPropBaseType(TypedDict): repo: PullRequestMinimalPropBasePropRepoType +class PullRequestMinimalPropBaseTypeForResponse(TypedDict): + """PullRequestMinimalPropBase""" + + ref: str + sha: str + repo: PullRequestMinimalPropBasePropRepoTypeForResponse + + class PullRequestMinimalPropBasePropRepoType(TypedDict): """PullRequestMinimalPropBasePropRepo""" @@ -54,10 +88,23 @@ class PullRequestMinimalPropBasePropRepoType(TypedDict): name: str +class PullRequestMinimalPropBasePropRepoTypeForResponse(TypedDict): + """PullRequestMinimalPropBasePropRepo""" + + id: int + url: str + name: str + + __all__ = ( "PullRequestMinimalPropBasePropRepoType", + "PullRequestMinimalPropBasePropRepoTypeForResponse", "PullRequestMinimalPropBaseType", + "PullRequestMinimalPropBaseTypeForResponse", "PullRequestMinimalPropHeadPropRepoType", + "PullRequestMinimalPropHeadPropRepoTypeForResponse", "PullRequestMinimalPropHeadType", + "PullRequestMinimalPropHeadTypeForResponse", "PullRequestMinimalType", + "PullRequestMinimalTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0306.py b/githubkit/versions/ghec_v2022_11_28/types/group_0306.py index d8e989649..e0559e288 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0306.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0306.py @@ -28,6 +28,20 @@ class SimpleCommitType(TypedDict): committer: Union[SimpleCommitPropCommitterType, None] +class SimpleCommitTypeForResponse(TypedDict): + """Simple Commit + + A commit. + """ + + id: str + tree_id: str + message: str + timestamp: str + author: Union[SimpleCommitPropAuthorTypeForResponse, None] + committer: Union[SimpleCommitPropCommitterTypeForResponse, None] + + class SimpleCommitPropAuthorType(TypedDict): """SimpleCommitPropAuthor @@ -38,6 +52,16 @@ class SimpleCommitPropAuthorType(TypedDict): email: str +class SimpleCommitPropAuthorTypeForResponse(TypedDict): + """SimpleCommitPropAuthor + + Information about the Git author + """ + + name: str + email: str + + class SimpleCommitPropCommitterType(TypedDict): """SimpleCommitPropCommitter @@ -48,8 +72,21 @@ class SimpleCommitPropCommitterType(TypedDict): email: str +class SimpleCommitPropCommitterTypeForResponse(TypedDict): + """SimpleCommitPropCommitter + + Information about the Git committer + """ + + name: str + email: str + + __all__ = ( "SimpleCommitPropAuthorType", + "SimpleCommitPropAuthorTypeForResponse", "SimpleCommitPropCommitterType", + "SimpleCommitPropCommitterTypeForResponse", "SimpleCommitType", + "SimpleCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0307.py b/githubkit/versions/ghec_v2022_11_28/types/group_0307.py index 95ac64c07..ecfbe5d70 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0307.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0307.py @@ -13,10 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0214 import MinimalRepositoryType -from .group_0305 import PullRequestMinimalType -from .group_0306 import SimpleCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0305 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0306 import SimpleCommitType, SimpleCommitTypeForResponse class WorkflowRunType(TypedDict): @@ -63,6 +63,52 @@ class WorkflowRunType(TypedDict): display_title: str +class WorkflowRunTypeForResponse(TypedDict): + """Workflow Run + + An invocation of a workflow + """ + + id: int + name: NotRequired[Union[str, None]] + node_id: str + check_suite_id: NotRequired[int] + check_suite_node_id: NotRequired[str] + head_branch: Union[str, None] + head_sha: str + path: str + run_number: int + run_attempt: NotRequired[int] + referenced_workflows: NotRequired[ + Union[list[ReferencedWorkflowTypeForResponse], None] + ] + event: str + status: Union[str, None] + conclusion: Union[str, None] + workflow_id: int + url: str + html_url: str + pull_requests: Union[list[PullRequestMinimalTypeForResponse], None] + created_at: str + updated_at: str + actor: NotRequired[SimpleUserTypeForResponse] + triggering_actor: NotRequired[SimpleUserTypeForResponse] + run_started_at: NotRequired[str] + jobs_url: str + logs_url: str + check_suite_url: str + artifacts_url: str + cancel_url: str + rerun_url: str + previous_attempt_url: NotRequired[Union[str, None]] + workflow_url: str + head_commit: Union[None, SimpleCommitTypeForResponse] + repository: MinimalRepositoryTypeForResponse + head_repository: MinimalRepositoryTypeForResponse + head_repository_id: NotRequired[int] + display_title: str + + class ReferencedWorkflowType(TypedDict): """Referenced workflow @@ -74,7 +120,20 @@ class ReferencedWorkflowType(TypedDict): ref: NotRequired[str] +class ReferencedWorkflowTypeForResponse(TypedDict): + """Referenced workflow + + A workflow referenced/reused by the initial caller workflow + """ + + path: str + sha: str + ref: NotRequired[str] + + __all__ = ( "ReferencedWorkflowType", + "ReferencedWorkflowTypeForResponse", "WorkflowRunType", + "WorkflowRunTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0308.py b/githubkit/versions/ghec_v2022_11_28/types/group_0308.py index 8003cc5ba..dd3d38ed5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0308.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0308.py @@ -13,7 +13,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class EnvironmentApprovalsType(TypedDict): @@ -28,6 +28,18 @@ class EnvironmentApprovalsType(TypedDict): comment: str +class EnvironmentApprovalsTypeForResponse(TypedDict): + """Environment Approval + + An entry in the reviews log for environment deployments + """ + + environments: list[EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse] + state: Literal["approved", "rejected", "pending"] + user: SimpleUserTypeForResponse + comment: str + + class EnvironmentApprovalsPropEnvironmentsItemsType(TypedDict): """EnvironmentApprovalsPropEnvironmentsItems""" @@ -40,7 +52,21 @@ class EnvironmentApprovalsPropEnvironmentsItemsType(TypedDict): updated_at: NotRequired[datetime] +class EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse(TypedDict): + """EnvironmentApprovalsPropEnvironmentsItems""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "EnvironmentApprovalsPropEnvironmentsItemsType", + "EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse", "EnvironmentApprovalsType", + "EnvironmentApprovalsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0309.py b/githubkit/versions/ghec_v2022_11_28/types/group_0309.py index 909bb75c8..0b9c455c3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0309.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0309.py @@ -19,4 +19,14 @@ class ReviewCustomGatesCommentRequiredType(TypedDict): comment: str -__all__ = ("ReviewCustomGatesCommentRequiredType",) +class ReviewCustomGatesCommentRequiredTypeForResponse(TypedDict): + """ReviewCustomGatesCommentRequired""" + + environment_name: str + comment: str + + +__all__ = ( + "ReviewCustomGatesCommentRequiredType", + "ReviewCustomGatesCommentRequiredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0310.py b/githubkit/versions/ghec_v2022_11_28/types/group_0310.py index 75b0bb6f6..17064ebe2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0310.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0310.py @@ -21,4 +21,15 @@ class ReviewCustomGatesStateRequiredType(TypedDict): comment: NotRequired[str] -__all__ = ("ReviewCustomGatesStateRequiredType",) +class ReviewCustomGatesStateRequiredTypeForResponse(TypedDict): + """ReviewCustomGatesStateRequired""" + + environment_name: str + state: Literal["approved", "rejected"] + comment: NotRequired[str] + + +__all__ = ( + "ReviewCustomGatesStateRequiredType", + "ReviewCustomGatesStateRequiredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0311.py b/githubkit/versions/ghec_v2022_11_28/types/group_0311.py index f9c1eb2a7..94a7625f1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0311.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0311.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class PendingDeploymentPropReviewersItemsType(TypedDict): @@ -24,6 +24,13 @@ class PendingDeploymentPropReviewersItemsType(TypedDict): reviewer: NotRequired[Union[SimpleUserType, TeamType]] +class PendingDeploymentPropReviewersItemsTypeForResponse(TypedDict): + """PendingDeploymentPropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + reviewer: NotRequired[Union[SimpleUserTypeForResponse, TeamTypeForResponse]] + + class PendingDeploymentType(TypedDict): """Pending Deployment @@ -37,6 +44,19 @@ class PendingDeploymentType(TypedDict): reviewers: list[PendingDeploymentPropReviewersItemsType] +class PendingDeploymentTypeForResponse(TypedDict): + """Pending Deployment + + Details of a deployment that is waiting for protection rules to pass + """ + + environment: PendingDeploymentPropEnvironmentTypeForResponse + wait_timer: int + wait_timer_started_at: Union[str, None] + current_user_can_approve: bool + reviewers: list[PendingDeploymentPropReviewersItemsTypeForResponse] + + class PendingDeploymentPropEnvironmentType(TypedDict): """PendingDeploymentPropEnvironment""" @@ -47,8 +67,21 @@ class PendingDeploymentPropEnvironmentType(TypedDict): html_url: NotRequired[str] +class PendingDeploymentPropEnvironmentTypeForResponse(TypedDict): + """PendingDeploymentPropEnvironment""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + + __all__ = ( "PendingDeploymentPropEnvironmentType", + "PendingDeploymentPropEnvironmentTypeForResponse", "PendingDeploymentPropReviewersItemsType", + "PendingDeploymentPropReviewersItemsTypeForResponse", "PendingDeploymentType", + "PendingDeploymentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0312.py b/githubkit/versions/ghec_v2022_11_28/types/group_0312.py index 92437789e..c7eb919e7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0312.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0312.py @@ -13,8 +13,8 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentType(TypedDict): @@ -43,12 +43,45 @@ class DeploymentType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] +class DeploymentTypeForResponse(TypedDict): + """Deployment + + A request for a specific ref(branch,sha,tag) to be deployed + """ + + url: str + id: int + node_id: str + sha: str + ref: str + task: str + payload: Union[DeploymentPropPayloadOneof0TypeForResponse, str] + original_environment: NotRequired[str] + environment: str + description: Union[str, None] + creator: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + statuses_url: str + repository_url: str + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + DeploymentPropPayloadOneof0Type: TypeAlias = dict[str, Any] """DeploymentPropPayloadOneof0 """ +DeploymentPropPayloadOneof0TypeForResponse: TypeAlias = dict[str, Any] +"""DeploymentPropPayloadOneof0 +""" + + __all__ = ( "DeploymentPropPayloadOneof0Type", + "DeploymentPropPayloadOneof0TypeForResponse", "DeploymentType", + "DeploymentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0313.py b/githubkit/versions/ghec_v2022_11_28/types/group_0313.py index f9d6d4cf5..076dff29c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0313.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0313.py @@ -22,6 +22,16 @@ class WorkflowRunUsageType(TypedDict): run_duration_ms: NotRequired[int] +class WorkflowRunUsageTypeForResponse(TypedDict): + """Workflow Run Usage + + Workflow Run Usage + """ + + billable: WorkflowRunUsagePropBillableTypeForResponse + run_duration_ms: NotRequired[int] + + class WorkflowRunUsagePropBillableType(TypedDict): """WorkflowRunUsagePropBillable""" @@ -30,6 +40,14 @@ class WorkflowRunUsagePropBillableType(TypedDict): windows: NotRequired[WorkflowRunUsagePropBillablePropWindowsType] +class WorkflowRunUsagePropBillableTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillable""" + + ubuntu: NotRequired[WorkflowRunUsagePropBillablePropUbuntuTypeForResponse] + macos: NotRequired[WorkflowRunUsagePropBillablePropMacosTypeForResponse] + windows: NotRequired[WorkflowRunUsagePropBillablePropWindowsTypeForResponse] + + class WorkflowRunUsagePropBillablePropUbuntuType(TypedDict): """WorkflowRunUsagePropBillablePropUbuntu""" @@ -40,6 +58,16 @@ class WorkflowRunUsagePropBillablePropUbuntuType(TypedDict): ] +class WorkflowRunUsagePropBillablePropUbuntuTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropUbuntu""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItems""" @@ -47,6 +75,13 @@ class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItems""" + + job_id: int + duration_ms: int + + class WorkflowRunUsagePropBillablePropMacosType(TypedDict): """WorkflowRunUsagePropBillablePropMacos""" @@ -57,6 +92,16 @@ class WorkflowRunUsagePropBillablePropMacosType(TypedDict): ] +class WorkflowRunUsagePropBillablePropMacosTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropMacos""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropMacosPropJobRunsItems""" @@ -64,6 +109,13 @@ class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropMacosPropJobRunsItems""" + + job_id: int + duration_ms: int + + class WorkflowRunUsagePropBillablePropWindowsType(TypedDict): """WorkflowRunUsagePropBillablePropWindows""" @@ -74,6 +126,16 @@ class WorkflowRunUsagePropBillablePropWindowsType(TypedDict): ] +class WorkflowRunUsagePropBillablePropWindowsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropWindows""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropWindowsPropJobRunsItems""" @@ -81,13 +143,28 @@ class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropWindowsPropJobRunsItems""" + + job_id: int + duration_ms: int + + __all__ = ( "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropMacosType", + "WorkflowRunUsagePropBillablePropMacosTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuType", + "WorkflowRunUsagePropBillablePropUbuntuTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsType", + "WorkflowRunUsagePropBillablePropWindowsTypeForResponse", "WorkflowRunUsagePropBillableType", + "WorkflowRunUsagePropBillableTypeForResponse", "WorkflowRunUsageType", + "WorkflowRunUsageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0314.py b/githubkit/versions/ghec_v2022_11_28/types/group_0314.py index 6cefd47bb..2f737251d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0314.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0314.py @@ -21,6 +21,15 @@ class WorkflowUsageType(TypedDict): billable: WorkflowUsagePropBillableType +class WorkflowUsageTypeForResponse(TypedDict): + """Workflow Usage + + Workflow Usage + """ + + billable: WorkflowUsagePropBillableTypeForResponse + + class WorkflowUsagePropBillableType(TypedDict): """WorkflowUsagePropBillable""" @@ -29,28 +38,59 @@ class WorkflowUsagePropBillableType(TypedDict): windows: NotRequired[WorkflowUsagePropBillablePropWindowsType] +class WorkflowUsagePropBillableTypeForResponse(TypedDict): + """WorkflowUsagePropBillable""" + + ubuntu: NotRequired[WorkflowUsagePropBillablePropUbuntuTypeForResponse] + macos: NotRequired[WorkflowUsagePropBillablePropMacosTypeForResponse] + windows: NotRequired[WorkflowUsagePropBillablePropWindowsTypeForResponse] + + class WorkflowUsagePropBillablePropUbuntuType(TypedDict): """WorkflowUsagePropBillablePropUbuntu""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropUbuntuTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropUbuntu""" + + total_ms: NotRequired[int] + + class WorkflowUsagePropBillablePropMacosType(TypedDict): """WorkflowUsagePropBillablePropMacos""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropMacosTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropMacos""" + + total_ms: NotRequired[int] + + class WorkflowUsagePropBillablePropWindowsType(TypedDict): """WorkflowUsagePropBillablePropWindows""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropWindowsTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropWindows""" + + total_ms: NotRequired[int] + + __all__ = ( "WorkflowUsagePropBillablePropMacosType", + "WorkflowUsagePropBillablePropMacosTypeForResponse", "WorkflowUsagePropBillablePropUbuntuType", + "WorkflowUsagePropBillablePropUbuntuTypeForResponse", "WorkflowUsagePropBillablePropWindowsType", + "WorkflowUsagePropBillablePropWindowsTypeForResponse", "WorkflowUsagePropBillableType", + "WorkflowUsagePropBillableTypeForResponse", "WorkflowUsageType", + "WorkflowUsageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0315.py b/githubkit/versions/ghec_v2022_11_28/types/group_0315.py index 1deac10b0..bb7ff45ff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0315.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0315.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ActivityType(TypedDict): @@ -39,4 +39,30 @@ class ActivityType(TypedDict): actor: Union[None, SimpleUserType] -__all__ = ("ActivityType",) +class ActivityTypeForResponse(TypedDict): + """Activity + + Activity + """ + + id: int + node_id: str + before: str + after: str + ref: str + timestamp: str + activity_type: Literal[ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge", + ] + actor: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ActivityType", + "ActivityTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0316.py b/githubkit/versions/ghec_v2022_11_28/types/group_0316.py index 6d502f85a..685ada3ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0316.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0316.py @@ -27,4 +27,20 @@ class AutolinkType(TypedDict): updated_at: NotRequired[Union[datetime, None]] -__all__ = ("AutolinkType",) +class AutolinkTypeForResponse(TypedDict): + """Autolink reference + + An autolink reference. + """ + + id: int + key_prefix: str + url_template: str + is_alphanumeric: bool + updated_at: NotRequired[Union[str, None]] + + +__all__ = ( + "AutolinkType", + "AutolinkTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0317.py b/githubkit/versions/ghec_v2022_11_28/types/group_0317.py index deb29de44..83e8fb03c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0317.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0317.py @@ -22,4 +22,17 @@ class CheckAutomatedSecurityFixesType(TypedDict): paused: bool -__all__ = ("CheckAutomatedSecurityFixesType",) +class CheckAutomatedSecurityFixesTypeForResponse(TypedDict): + """Check Dependabot security updates + + Check Dependabot security updates + """ + + enabled: bool + paused: bool + + +__all__ = ( + "CheckAutomatedSecurityFixesType", + "CheckAutomatedSecurityFixesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0318.py b/githubkit/versions/ghec_v2022_11_28/types/group_0318.py index 46fc2751b..fbc16e427 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0318.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0318.py @@ -13,7 +13,9 @@ from .group_0319 import ( ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType, + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse, ProtectedBranchPullRequestReviewPropDismissalRestrictionsType, + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse, ) @@ -36,4 +38,26 @@ class ProtectedBranchPullRequestReviewType(TypedDict): require_last_push_approval: NotRequired[bool] -__all__ = ("ProtectedBranchPullRequestReviewType",) +class ProtectedBranchPullRequestReviewTypeForResponse(TypedDict): + """Protected Branch Pull Request Review + + Protected Branch Pull Request Review + """ + + url: NotRequired[str] + dismissal_restrictions: NotRequired[ + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse + ] + bypass_pull_request_allowances: NotRequired[ + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse + ] + dismiss_stale_reviews: bool + require_code_owner_reviews: bool + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + + +__all__ = ( + "ProtectedBranchPullRequestReviewType", + "ProtectedBranchPullRequestReviewTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0319.py b/githubkit/versions/ghec_v2022_11_28/types/group_0319.py index 8df6652ce..aa4d74707 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0319.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0319.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class ProtectedBranchPullRequestReviewPropDismissalRestrictionsType(TypedDict): @@ -28,6 +28,19 @@ class ProtectedBranchPullRequestReviewPropDismissalRestrictionsType(TypedDict): teams_url: NotRequired[str] +class ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ProtectedBranchPullRequestReviewPropDismissalRestrictions""" + + users: NotRequired[list[SimpleUserTypeForResponse]] + teams: NotRequired[list[TeamTypeForResponse]] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + url: NotRequired[str] + users_url: NotRequired[str] + teams_url: NotRequired[str] + + class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType(TypedDict): """ProtectedBranchPullRequestReviewPropBypassPullRequestAllowances @@ -39,7 +52,22 @@ class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType(TypedD apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ProtectedBranchPullRequestReviewPropBypassPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[SimpleUserTypeForResponse]] + teams: NotRequired[list[TeamTypeForResponse]] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + __all__ = ( "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType", + "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse", "ProtectedBranchPullRequestReviewPropDismissalRestrictionsType", + "ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0320.py b/githubkit/versions/ghec_v2022_11_28/types/group_0320.py index fafc27ca0..12f2ca065 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0320.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0320.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0080 import TeamType +from .group_0080 import TeamType, TeamTypeForResponse class BranchRestrictionPolicyType(TypedDict): @@ -29,6 +29,21 @@ class BranchRestrictionPolicyType(TypedDict): apps: list[BranchRestrictionPolicyPropAppsItemsType] +class BranchRestrictionPolicyTypeForResponse(TypedDict): + """Branch Restriction Policy + + Branch Restriction Policy + """ + + url: str + users_url: str + teams_url: str + apps_url: str + users: list[BranchRestrictionPolicyPropUsersItemsTypeForResponse] + teams: list[TeamTypeForResponse] + apps: list[BranchRestrictionPolicyPropAppsItemsTypeForResponse] + + class BranchRestrictionPolicyPropUsersItemsType(TypedDict): """BranchRestrictionPolicyPropUsersItems""" @@ -53,6 +68,30 @@ class BranchRestrictionPolicyPropUsersItemsType(TypedDict): user_view_type: NotRequired[str] +class BranchRestrictionPolicyPropUsersItemsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropUsersItems""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + user_view_type: NotRequired[str] + + class BranchRestrictionPolicyPropAppsItemsType(TypedDict): """BranchRestrictionPolicyPropAppsItems""" @@ -71,6 +110,26 @@ class BranchRestrictionPolicyPropAppsItemsType(TypedDict): events: NotRequired[list[str]] +class BranchRestrictionPolicyPropAppsItemsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItems""" + + id: NotRequired[int] + slug: NotRequired[str] + node_id: NotRequired[str] + owner: NotRequired[BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse] + name: NotRequired[str] + client_id: NotRequired[str] + description: NotRequired[str] + external_url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + permissions: NotRequired[ + BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse + ] + events: NotRequired[list[str]] + + class BranchRestrictionPolicyPropAppsItemsPropOwnerType(TypedDict): """BranchRestrictionPolicyPropAppsItemsPropOwner""" @@ -100,6 +159,35 @@ class BranchRestrictionPolicyPropAppsItemsPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItemsPropOwner""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + hooks_url: NotRequired[str] + issues_url: NotRequired[str] + members_url: NotRequired[str] + public_members_url: NotRequired[str] + avatar_url: NotRequired[str] + description: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + user_view_type: NotRequired[str] + + class BranchRestrictionPolicyPropAppsItemsPropPermissionsType(TypedDict): """BranchRestrictionPolicyPropAppsItemsPropPermissions""" @@ -109,10 +197,24 @@ class BranchRestrictionPolicyPropAppsItemsPropPermissionsType(TypedDict): single_file: NotRequired[str] +class BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItemsPropPermissions""" + + metadata: NotRequired[str] + contents: NotRequired[str] + issues: NotRequired[str] + single_file: NotRequired[str] + + __all__ = ( "BranchRestrictionPolicyPropAppsItemsPropOwnerType", + "BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropPermissionsType", + "BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsType", + "BranchRestrictionPolicyPropAppsItemsTypeForResponse", "BranchRestrictionPolicyPropUsersItemsType", + "BranchRestrictionPolicyPropUsersItemsTypeForResponse", "BranchRestrictionPolicyType", + "BranchRestrictionPolicyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0321.py b/githubkit/versions/ghec_v2022_11_28/types/group_0321.py index d8dc476be..763824ffb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0321.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0321.py @@ -12,8 +12,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0318 import ProtectedBranchPullRequestReviewType -from .group_0320 import BranchRestrictionPolicyType +from .group_0318 import ( + ProtectedBranchPullRequestReviewType, + ProtectedBranchPullRequestReviewTypeForResponse, +) +from .group_0320 import ( + BranchRestrictionPolicyType, + BranchRestrictionPolicyTypeForResponse, +) class BranchProtectionType(TypedDict): @@ -42,6 +48,40 @@ class BranchProtectionType(TypedDict): allow_fork_syncing: NotRequired[BranchProtectionPropAllowForkSyncingType] +class BranchProtectionTypeForResponse(TypedDict): + """Branch Protection + + Branch Protection + """ + + url: NotRequired[str] + enabled: NotRequired[bool] + required_status_checks: NotRequired[ + ProtectedBranchRequiredStatusCheckTypeForResponse + ] + enforce_admins: NotRequired[ProtectedBranchAdminEnforcedTypeForResponse] + required_pull_request_reviews: NotRequired[ + ProtectedBranchPullRequestReviewTypeForResponse + ] + restrictions: NotRequired[BranchRestrictionPolicyTypeForResponse] + required_linear_history: NotRequired[ + BranchProtectionPropRequiredLinearHistoryTypeForResponse + ] + allow_force_pushes: NotRequired[BranchProtectionPropAllowForcePushesTypeForResponse] + allow_deletions: NotRequired[BranchProtectionPropAllowDeletionsTypeForResponse] + block_creations: NotRequired[BranchProtectionPropBlockCreationsTypeForResponse] + required_conversation_resolution: NotRequired[ + BranchProtectionPropRequiredConversationResolutionTypeForResponse + ] + name: NotRequired[str] + protection_url: NotRequired[str] + required_signatures: NotRequired[ + BranchProtectionPropRequiredSignaturesTypeForResponse + ] + lock_branch: NotRequired[BranchProtectionPropLockBranchTypeForResponse] + allow_fork_syncing: NotRequired[BranchProtectionPropAllowForkSyncingTypeForResponse] + + class ProtectedBranchAdminEnforcedType(TypedDict): """Protected Branch Admin Enforced @@ -52,36 +92,76 @@ class ProtectedBranchAdminEnforcedType(TypedDict): enabled: bool +class ProtectedBranchAdminEnforcedTypeForResponse(TypedDict): + """Protected Branch Admin Enforced + + Protected Branch Admin Enforced + """ + + url: str + enabled: bool + + class BranchProtectionPropRequiredLinearHistoryType(TypedDict): """BranchProtectionPropRequiredLinearHistory""" enabled: NotRequired[bool] +class BranchProtectionPropRequiredLinearHistoryTypeForResponse(TypedDict): + """BranchProtectionPropRequiredLinearHistory""" + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowForcePushesType(TypedDict): """BranchProtectionPropAllowForcePushes""" enabled: NotRequired[bool] +class BranchProtectionPropAllowForcePushesTypeForResponse(TypedDict): + """BranchProtectionPropAllowForcePushes""" + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowDeletionsType(TypedDict): """BranchProtectionPropAllowDeletions""" enabled: NotRequired[bool] +class BranchProtectionPropAllowDeletionsTypeForResponse(TypedDict): + """BranchProtectionPropAllowDeletions""" + + enabled: NotRequired[bool] + + class BranchProtectionPropBlockCreationsType(TypedDict): """BranchProtectionPropBlockCreations""" enabled: NotRequired[bool] +class BranchProtectionPropBlockCreationsTypeForResponse(TypedDict): + """BranchProtectionPropBlockCreations""" + + enabled: NotRequired[bool] + + class BranchProtectionPropRequiredConversationResolutionType(TypedDict): """BranchProtectionPropRequiredConversationResolution""" enabled: NotRequired[bool] +class BranchProtectionPropRequiredConversationResolutionTypeForResponse(TypedDict): + """BranchProtectionPropRequiredConversationResolution""" + + enabled: NotRequired[bool] + + class BranchProtectionPropRequiredSignaturesType(TypedDict): """BranchProtectionPropRequiredSignatures""" @@ -89,6 +169,13 @@ class BranchProtectionPropRequiredSignaturesType(TypedDict): enabled: bool +class BranchProtectionPropRequiredSignaturesTypeForResponse(TypedDict): + """BranchProtectionPropRequiredSignatures""" + + url: str + enabled: bool + + class BranchProtectionPropLockBranchType(TypedDict): """BranchProtectionPropLockBranch @@ -99,6 +186,16 @@ class BranchProtectionPropLockBranchType(TypedDict): enabled: NotRequired[bool] +class BranchProtectionPropLockBranchTypeForResponse(TypedDict): + """BranchProtectionPropLockBranch + + Whether to set the branch as read-only. If this is true, users will not be able + to push to the branch. + """ + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowForkSyncingType(TypedDict): """BranchProtectionPropAllowForkSyncing @@ -109,6 +206,16 @@ class BranchProtectionPropAllowForkSyncingType(TypedDict): enabled: NotRequired[bool] +class BranchProtectionPropAllowForkSyncingTypeForResponse(TypedDict): + """BranchProtectionPropAllowForkSyncing + + Whether users can pull changes from upstream when the branch is locked. Set to + `true` to allow fork syncing. Set to `false` to prevent fork syncing. + """ + + enabled: NotRequired[bool] + + class ProtectedBranchRequiredStatusCheckType(TypedDict): """Protected Branch Required Status Check @@ -123,6 +230,20 @@ class ProtectedBranchRequiredStatusCheckType(TypedDict): strict: NotRequired[bool] +class ProtectedBranchRequiredStatusCheckTypeForResponse(TypedDict): + """Protected Branch Required Status Check + + Protected Branch Required Status Check + """ + + url: NotRequired[str] + enforcement_level: NotRequired[str] + contexts: list[str] + checks: list[ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse] + contexts_url: NotRequired[str] + strict: NotRequired[bool] + + class ProtectedBranchRequiredStatusCheckPropChecksItemsType(TypedDict): """ProtectedBranchRequiredStatusCheckPropChecksItems""" @@ -130,17 +251,36 @@ class ProtectedBranchRequiredStatusCheckPropChecksItemsType(TypedDict): app_id: Union[int, None] +class ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse(TypedDict): + """ProtectedBranchRequiredStatusCheckPropChecksItems""" + + context: str + app_id: Union[int, None] + + __all__ = ( "BranchProtectionPropAllowDeletionsType", + "BranchProtectionPropAllowDeletionsTypeForResponse", "BranchProtectionPropAllowForcePushesType", + "BranchProtectionPropAllowForcePushesTypeForResponse", "BranchProtectionPropAllowForkSyncingType", + "BranchProtectionPropAllowForkSyncingTypeForResponse", "BranchProtectionPropBlockCreationsType", + "BranchProtectionPropBlockCreationsTypeForResponse", "BranchProtectionPropLockBranchType", + "BranchProtectionPropLockBranchTypeForResponse", "BranchProtectionPropRequiredConversationResolutionType", + "BranchProtectionPropRequiredConversationResolutionTypeForResponse", "BranchProtectionPropRequiredLinearHistoryType", + "BranchProtectionPropRequiredLinearHistoryTypeForResponse", "BranchProtectionPropRequiredSignaturesType", + "BranchProtectionPropRequiredSignaturesTypeForResponse", "BranchProtectionType", + "BranchProtectionTypeForResponse", "ProtectedBranchAdminEnforcedType", + "ProtectedBranchAdminEnforcedTypeForResponse", "ProtectedBranchRequiredStatusCheckPropChecksItemsType", + "ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse", "ProtectedBranchRequiredStatusCheckType", + "ProtectedBranchRequiredStatusCheckTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0322.py b/githubkit/versions/ghec_v2022_11_28/types/group_0322.py index c72d28791..07edaf3ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0322.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0322.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0321 import BranchProtectionType +from .group_0321 import BranchProtectionType, BranchProtectionTypeForResponse class ShortBranchType(TypedDict): @@ -27,6 +27,19 @@ class ShortBranchType(TypedDict): protection_url: NotRequired[str] +class ShortBranchTypeForResponse(TypedDict): + """Short Branch + + Short Branch + """ + + name: str + commit: ShortBranchPropCommitTypeForResponse + protected: bool + protection: NotRequired[BranchProtectionTypeForResponse] + protection_url: NotRequired[str] + + class ShortBranchPropCommitType(TypedDict): """ShortBranchPropCommit""" @@ -34,7 +47,16 @@ class ShortBranchPropCommitType(TypedDict): url: str +class ShortBranchPropCommitTypeForResponse(TypedDict): + """ShortBranchPropCommit""" + + sha: str + url: str + + __all__ = ( "ShortBranchPropCommitType", + "ShortBranchPropCommitTypeForResponse", "ShortBranchType", + "ShortBranchTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0323.py b/githubkit/versions/ghec_v2022_11_28/types/group_0323.py index 7c317075a..0598dd769 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0323.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0323.py @@ -24,4 +24,18 @@ class GitUserType(TypedDict): date: NotRequired[datetime] -__all__ = ("GitUserType",) +class GitUserTypeForResponse(TypedDict): + """Git User + + Metaproperties for Git author/committer information. + """ + + name: NotRequired[str] + email: NotRequired[str] + date: NotRequired[str] + + +__all__ = ( + "GitUserType", + "GitUserTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0324.py b/githubkit/versions/ghec_v2022_11_28/types/group_0324.py index fb5244f00..108dc5404 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0324.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0324.py @@ -23,4 +23,17 @@ class VerificationType(TypedDict): verified_at: NotRequired[Union[str, None]] -__all__ = ("VerificationType",) +class VerificationTypeForResponse(TypedDict): + """Verification""" + + verified: bool + reason: str + payload: Union[str, None] + signature: Union[str, None] + verified_at: NotRequired[Union[str, None]] + + +__all__ = ( + "VerificationType", + "VerificationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0325.py b/githubkit/versions/ghec_v2022_11_28/types/group_0325.py index bb2e4713b..85c1e7f38 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0325.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0325.py @@ -34,4 +34,28 @@ class DiffEntryType(TypedDict): previous_filename: NotRequired[str] -__all__ = ("DiffEntryType",) +class DiffEntryTypeForResponse(TypedDict): + """Diff Entry + + Diff Entry + """ + + sha: Union[str, None] + filename: str + status: Literal[ + "added", "removed", "modified", "renamed", "copied", "changed", "unchanged" + ] + additions: int + deletions: int + changes: int + blob_url: Union[str, None] + raw_url: Union[str, None] + contents_url: str + patch: NotRequired[str] + previous_filename: NotRequired[str] + + +__all__ = ( + "DiffEntryType", + "DiffEntryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0326.py b/githubkit/versions/ghec_v2022_11_28/types/group_0326.py index 1d6e66410..31bc92720 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0326.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0326.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0325 import DiffEntryType -from .group_0327 import CommitPropCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0325 import DiffEntryType, DiffEntryTypeForResponse +from .group_0327 import CommitPropCommitType, CommitPropCommitTypeForResponse class CommitType(TypedDict): @@ -36,6 +36,25 @@ class CommitType(TypedDict): files: NotRequired[list[DiffEntryType]] +class CommitTypeForResponse(TypedDict): + """Commit + + Commit + """ + + url: str + sha: str + node_id: str + html_url: str + comments_url: str + commit: CommitPropCommitTypeForResponse + author: Union[SimpleUserTypeForResponse, EmptyObjectTypeForResponse, None] + committer: Union[SimpleUserTypeForResponse, EmptyObjectTypeForResponse, None] + parents: list[CommitPropParentsItemsTypeForResponse] + stats: NotRequired[CommitPropStatsTypeForResponse] + files: NotRequired[list[DiffEntryTypeForResponse]] + + class EmptyObjectType(TypedDict): """Empty Object @@ -43,6 +62,13 @@ class EmptyObjectType(TypedDict): """ +class EmptyObjectTypeForResponse(TypedDict): + """Empty Object + + An object without any properties. + """ + + class CommitPropParentsItemsType(TypedDict): """CommitPropParentsItems""" @@ -51,6 +77,14 @@ class CommitPropParentsItemsType(TypedDict): html_url: NotRequired[str] +class CommitPropParentsItemsTypeForResponse(TypedDict): + """CommitPropParentsItems""" + + sha: str + url: str + html_url: NotRequired[str] + + class CommitPropStatsType(TypedDict): """CommitPropStats""" @@ -59,9 +93,21 @@ class CommitPropStatsType(TypedDict): total: NotRequired[int] +class CommitPropStatsTypeForResponse(TypedDict): + """CommitPropStats""" + + additions: NotRequired[int] + deletions: NotRequired[int] + total: NotRequired[int] + + __all__ = ( "CommitPropParentsItemsType", + "CommitPropParentsItemsTypeForResponse", "CommitPropStatsType", + "CommitPropStatsTypeForResponse", "CommitType", + "CommitTypeForResponse", "EmptyObjectType", + "EmptyObjectTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0327.py b/githubkit/versions/ghec_v2022_11_28/types/group_0327.py index 8518528f4..0182579db 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0327.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0327.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0323 import GitUserType -from .group_0324 import VerificationType +from .group_0323 import GitUserType, GitUserTypeForResponse +from .group_0324 import VerificationType, VerificationTypeForResponse class CommitPropCommitType(TypedDict): @@ -28,6 +28,18 @@ class CommitPropCommitType(TypedDict): verification: NotRequired[VerificationType] +class CommitPropCommitTypeForResponse(TypedDict): + """CommitPropCommit""" + + url: str + author: Union[None, GitUserTypeForResponse] + committer: Union[None, GitUserTypeForResponse] + message: str + comment_count: int + tree: CommitPropCommitPropTreeTypeForResponse + verification: NotRequired[VerificationTypeForResponse] + + class CommitPropCommitPropTreeType(TypedDict): """CommitPropCommitPropTree""" @@ -35,7 +47,16 @@ class CommitPropCommitPropTreeType(TypedDict): url: str +class CommitPropCommitPropTreeTypeForResponse(TypedDict): + """CommitPropCommitPropTree""" + + sha: str + url: str + + __all__ = ( "CommitPropCommitPropTreeType", + "CommitPropCommitPropTreeTypeForResponse", "CommitPropCommitType", + "CommitPropCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0328.py b/githubkit/versions/ghec_v2022_11_28/types/group_0328.py index 080db8746..69be6144b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0328.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0328.py @@ -11,8 +11,8 @@ from typing_extensions import NotRequired, TypedDict -from .group_0321 import BranchProtectionType -from .group_0326 import CommitType +from .group_0321 import BranchProtectionType, BranchProtectionTypeForResponse +from .group_0326 import CommitType, CommitTypeForResponse class BranchWithProtectionType(TypedDict): @@ -31,6 +31,22 @@ class BranchWithProtectionType(TypedDict): required_approving_review_count: NotRequired[int] +class BranchWithProtectionTypeForResponse(TypedDict): + """Branch With Protection + + Branch With Protection + """ + + name: str + commit: CommitTypeForResponse + links: BranchWithProtectionPropLinksTypeForResponse + protected: bool + protection: BranchProtectionTypeForResponse + protection_url: str + pattern: NotRequired[str] + required_approving_review_count: NotRequired[int] + + class BranchWithProtectionPropLinksType(TypedDict): """BranchWithProtectionPropLinks""" @@ -38,7 +54,16 @@ class BranchWithProtectionPropLinksType(TypedDict): self_: str +class BranchWithProtectionPropLinksTypeForResponse(TypedDict): + """BranchWithProtectionPropLinks""" + + html: str + self_: str + + __all__ = ( "BranchWithProtectionPropLinksType", + "BranchWithProtectionPropLinksTypeForResponse", "BranchWithProtectionType", + "BranchWithProtectionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0329.py b/githubkit/versions/ghec_v2022_11_28/types/group_0329.py index 0a617c763..1fcfee2b5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0329.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0329.py @@ -12,8 +12,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0320 import BranchRestrictionPolicyType -from .group_0330 import ProtectedBranchPropRequiredPullRequestReviewsType +from .group_0320 import ( + BranchRestrictionPolicyType, + BranchRestrictionPolicyTypeForResponse, +) +from .group_0330 import ( + ProtectedBranchPropRequiredPullRequestReviewsType, + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse, +) class ProtectedBranchType(TypedDict): @@ -41,6 +47,35 @@ class ProtectedBranchType(TypedDict): allow_fork_syncing: NotRequired[ProtectedBranchPropAllowForkSyncingType] +class ProtectedBranchTypeForResponse(TypedDict): + """Protected Branch + + Branch protections protect branches + """ + + url: str + required_status_checks: NotRequired[StatusCheckPolicyTypeForResponse] + required_pull_request_reviews: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse + ] + required_signatures: NotRequired[ + ProtectedBranchPropRequiredSignaturesTypeForResponse + ] + enforce_admins: NotRequired[ProtectedBranchPropEnforceAdminsTypeForResponse] + required_linear_history: NotRequired[ + ProtectedBranchPropRequiredLinearHistoryTypeForResponse + ] + allow_force_pushes: NotRequired[ProtectedBranchPropAllowForcePushesTypeForResponse] + allow_deletions: NotRequired[ProtectedBranchPropAllowDeletionsTypeForResponse] + restrictions: NotRequired[BranchRestrictionPolicyTypeForResponse] + required_conversation_resolution: NotRequired[ + ProtectedBranchPropRequiredConversationResolutionTypeForResponse + ] + block_creations: NotRequired[ProtectedBranchPropBlockCreationsTypeForResponse] + lock_branch: NotRequired[ProtectedBranchPropLockBranchTypeForResponse] + allow_fork_syncing: NotRequired[ProtectedBranchPropAllowForkSyncingTypeForResponse] + + class ProtectedBranchPropRequiredSignaturesType(TypedDict): """ProtectedBranchPropRequiredSignatures""" @@ -48,6 +83,13 @@ class ProtectedBranchPropRequiredSignaturesType(TypedDict): enabled: bool +class ProtectedBranchPropRequiredSignaturesTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredSignatures""" + + url: str + enabled: bool + + class ProtectedBranchPropEnforceAdminsType(TypedDict): """ProtectedBranchPropEnforceAdmins""" @@ -55,36 +97,73 @@ class ProtectedBranchPropEnforceAdminsType(TypedDict): enabled: bool +class ProtectedBranchPropEnforceAdminsTypeForResponse(TypedDict): + """ProtectedBranchPropEnforceAdmins""" + + url: str + enabled: bool + + class ProtectedBranchPropRequiredLinearHistoryType(TypedDict): """ProtectedBranchPropRequiredLinearHistory""" enabled: bool +class ProtectedBranchPropRequiredLinearHistoryTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredLinearHistory""" + + enabled: bool + + class ProtectedBranchPropAllowForcePushesType(TypedDict): """ProtectedBranchPropAllowForcePushes""" enabled: bool +class ProtectedBranchPropAllowForcePushesTypeForResponse(TypedDict): + """ProtectedBranchPropAllowForcePushes""" + + enabled: bool + + class ProtectedBranchPropAllowDeletionsType(TypedDict): """ProtectedBranchPropAllowDeletions""" enabled: bool +class ProtectedBranchPropAllowDeletionsTypeForResponse(TypedDict): + """ProtectedBranchPropAllowDeletions""" + + enabled: bool + + class ProtectedBranchPropRequiredConversationResolutionType(TypedDict): """ProtectedBranchPropRequiredConversationResolution""" enabled: NotRequired[bool] +class ProtectedBranchPropRequiredConversationResolutionTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredConversationResolution""" + + enabled: NotRequired[bool] + + class ProtectedBranchPropBlockCreationsType(TypedDict): """ProtectedBranchPropBlockCreations""" enabled: bool +class ProtectedBranchPropBlockCreationsTypeForResponse(TypedDict): + """ProtectedBranchPropBlockCreations""" + + enabled: bool + + class ProtectedBranchPropLockBranchType(TypedDict): """ProtectedBranchPropLockBranch @@ -95,6 +174,16 @@ class ProtectedBranchPropLockBranchType(TypedDict): enabled: NotRequired[bool] +class ProtectedBranchPropLockBranchTypeForResponse(TypedDict): + """ProtectedBranchPropLockBranch + + Whether to set the branch as read-only. If this is true, users will not be able + to push to the branch. + """ + + enabled: NotRequired[bool] + + class ProtectedBranchPropAllowForkSyncingType(TypedDict): """ProtectedBranchPropAllowForkSyncing @@ -105,6 +194,16 @@ class ProtectedBranchPropAllowForkSyncingType(TypedDict): enabled: NotRequired[bool] +class ProtectedBranchPropAllowForkSyncingTypeForResponse(TypedDict): + """ProtectedBranchPropAllowForkSyncing + + Whether users can pull changes from upstream when the branch is locked. Set to + `true` to allow fork syncing. Set to `false` to prevent fork syncing. + """ + + enabled: NotRequired[bool] + + class StatusCheckPolicyType(TypedDict): """Status Check Policy @@ -118,6 +217,19 @@ class StatusCheckPolicyType(TypedDict): contexts_url: str +class StatusCheckPolicyTypeForResponse(TypedDict): + """Status Check Policy + + Status Check Policy + """ + + url: str + strict: bool + contexts: list[str] + checks: list[StatusCheckPolicyPropChecksItemsTypeForResponse] + contexts_url: str + + class StatusCheckPolicyPropChecksItemsType(TypedDict): """StatusCheckPolicyPropChecksItems""" @@ -125,17 +237,36 @@ class StatusCheckPolicyPropChecksItemsType(TypedDict): app_id: Union[int, None] +class StatusCheckPolicyPropChecksItemsTypeForResponse(TypedDict): + """StatusCheckPolicyPropChecksItems""" + + context: str + app_id: Union[int, None] + + __all__ = ( "ProtectedBranchPropAllowDeletionsType", + "ProtectedBranchPropAllowDeletionsTypeForResponse", "ProtectedBranchPropAllowForcePushesType", + "ProtectedBranchPropAllowForcePushesTypeForResponse", "ProtectedBranchPropAllowForkSyncingType", + "ProtectedBranchPropAllowForkSyncingTypeForResponse", "ProtectedBranchPropBlockCreationsType", + "ProtectedBranchPropBlockCreationsTypeForResponse", "ProtectedBranchPropEnforceAdminsType", + "ProtectedBranchPropEnforceAdminsTypeForResponse", "ProtectedBranchPropLockBranchType", + "ProtectedBranchPropLockBranchTypeForResponse", "ProtectedBranchPropRequiredConversationResolutionType", + "ProtectedBranchPropRequiredConversationResolutionTypeForResponse", "ProtectedBranchPropRequiredLinearHistoryType", + "ProtectedBranchPropRequiredLinearHistoryTypeForResponse", "ProtectedBranchPropRequiredSignaturesType", + "ProtectedBranchPropRequiredSignaturesTypeForResponse", "ProtectedBranchType", + "ProtectedBranchTypeForResponse", "StatusCheckPolicyPropChecksItemsType", + "StatusCheckPolicyPropChecksItemsTypeForResponse", "StatusCheckPolicyType", + "StatusCheckPolicyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0330.py b/githubkit/versions/ghec_v2022_11_28/types/group_0330.py index 1df965ada..17e3da1b7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0330.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0330.py @@ -13,7 +13,9 @@ from .group_0331 import ( ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType, + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, ) @@ -33,4 +35,23 @@ class ProtectedBranchPropRequiredPullRequestReviewsType(TypedDict): ] -__all__ = ("ProtectedBranchPropRequiredPullRequestReviewsType",) +class ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredPullRequestReviews""" + + url: str + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + dismissal_restrictions: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse + ] + bypass_pull_request_allowances: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse + ] + + +__all__ = ( + "ProtectedBranchPropRequiredPullRequestReviewsType", + "ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0331.py b/githubkit/versions/ghec_v2022_11_28/types/group_0331.py index a4a6ff585..deff6bb25 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0331.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0331.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType( @@ -30,6 +30,19 @@ class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictions""" + + url: str + users_url: str + teams_url: str + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType( TypedDict ): @@ -40,7 +53,19 @@ class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowanc apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowances""" + + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + __all__ = ( "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0332.py b/githubkit/versions/ghec_v2022_11_28/types/group_0332.py index daf967d0f..cbc6d7368 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0332.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0332.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentSimpleType(TypedDict): @@ -39,4 +39,30 @@ class DeploymentSimpleType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] -__all__ = ("DeploymentSimpleType",) +class DeploymentSimpleTypeForResponse(TypedDict): + """Deployment + + A deployment created as the result of an Actions check run from a workflow that + references an environment + """ + + url: str + id: int + node_id: str + task: str + original_environment: NotRequired[str] + environment: str + description: Union[str, None] + created_at: str + updated_at: str + statuses_url: str + repository_url: str + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + +__all__ = ( + "DeploymentSimpleType", + "DeploymentSimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0333.py b/githubkit/versions/ghec_v2022_11_28/types/group_0333.py index c0d4b5c7c..9915d9532 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0333.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0333.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0305 import PullRequestMinimalType -from .group_0332 import DeploymentSimpleType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0305 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0332 import DeploymentSimpleType, DeploymentSimpleTypeForResponse class CheckRunType(TypedDict): @@ -56,6 +56,44 @@ class CheckRunType(TypedDict): deployment: NotRequired[DeploymentSimpleType] +class CheckRunTypeForResponse(TypedDict): + """CheckRun + + A check performed on the code of a given code change + """ + + id: int + head_sha: str + node_id: str + external_id: Union[str, None] + url: str + html_url: Union[str, None] + details_url: Union[str, None] + status: Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + started_at: Union[str, None] + completed_at: Union[str, None] + output: CheckRunPropOutputTypeForResponse + name: str + check_suite: Union[CheckRunPropCheckSuiteTypeForResponse, None] + app: Union[None, IntegrationTypeForResponse, None] + pull_requests: list[PullRequestMinimalTypeForResponse] + deployment: NotRequired[DeploymentSimpleTypeForResponse] + + class CheckRunPropOutputType(TypedDict): """CheckRunPropOutput""" @@ -66,14 +104,33 @@ class CheckRunPropOutputType(TypedDict): annotations_url: str +class CheckRunPropOutputTypeForResponse(TypedDict): + """CheckRunPropOutput""" + + title: Union[str, None] + summary: Union[str, None] + text: Union[str, None] + annotations_count: int + annotations_url: str + + class CheckRunPropCheckSuiteType(TypedDict): """CheckRunPropCheckSuite""" id: int +class CheckRunPropCheckSuiteTypeForResponse(TypedDict): + """CheckRunPropCheckSuite""" + + id: int + + __all__ = ( "CheckRunPropCheckSuiteType", + "CheckRunPropCheckSuiteTypeForResponse", "CheckRunPropOutputType", + "CheckRunPropOutputTypeForResponse", "CheckRunType", + "CheckRunTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0334.py b/githubkit/versions/ghec_v2022_11_28/types/group_0334.py index 82fbb570d..ce4efb376 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0334.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0334.py @@ -31,4 +31,25 @@ class CheckAnnotationType(TypedDict): blob_href: str -__all__ = ("CheckAnnotationType",) +class CheckAnnotationTypeForResponse(TypedDict): + """Check Annotation + + Check Annotation + """ + + path: str + start_line: int + end_line: int + start_column: Union[int, None] + end_column: Union[int, None] + annotation_level: Union[str, None] + title: Union[str, None] + message: Union[str, None] + raw_details: Union[str, None] + blob_href: str + + +__all__ = ( + "CheckAnnotationType", + "CheckAnnotationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0335.py b/githubkit/versions/ghec_v2022_11_28/types/group_0335.py index f3eb19742..758ecf36a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0335.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0335.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0214 import MinimalRepositoryType -from .group_0305 import PullRequestMinimalType -from .group_0306 import SimpleCommitType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0305 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0306 import SimpleCommitType, SimpleCommitTypeForResponse class CheckSuiteType(TypedDict): @@ -64,6 +64,51 @@ class CheckSuiteType(TypedDict): runs_rerequestable: NotRequired[bool] +class CheckSuiteTypeForResponse(TypedDict): + """CheckSuite + + A suite of checks performed on the code of a given code change + """ + + id: int + node_id: str + head_branch: Union[str, None] + head_sha: str + status: Union[ + None, + Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ], + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "startup_failure", + "stale", + ], + ] + url: Union[str, None] + before: Union[str, None] + after: Union[str, None] + pull_requests: Union[list[PullRequestMinimalTypeForResponse], None] + app: Union[None, IntegrationTypeForResponse, None] + repository: MinimalRepositoryTypeForResponse + created_at: Union[str, None] + updated_at: Union[str, None] + head_commit: SimpleCommitTypeForResponse + latest_check_runs_count: int + check_runs_url: str + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + + class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type(TypedDict): """ReposOwnerRepoCommitsRefCheckSuitesGetResponse200""" @@ -71,7 +116,16 @@ class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type(TypedDict): check_suites: list[CheckSuiteType] +class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCommitsRefCheckSuitesGetResponse200""" + + total_count: int + check_suites: list[CheckSuiteTypeForResponse] + + __all__ = ( "CheckSuiteType", + "CheckSuiteTypeForResponse", "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0336.py b/githubkit/versions/ghec_v2022_11_28/types/group_0336.py index 5e0a676e1..e5e4e441a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0336.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0336.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class CheckSuitePreferenceType(TypedDict): @@ -24,6 +24,16 @@ class CheckSuitePreferenceType(TypedDict): repository: MinimalRepositoryType +class CheckSuitePreferenceTypeForResponse(TypedDict): + """Check Suite Preference + + Check suite configuration preferences for a repository. + """ + + preferences: CheckSuitePreferencePropPreferencesTypeForResponse + repository: MinimalRepositoryTypeForResponse + + class CheckSuitePreferencePropPreferencesType(TypedDict): """CheckSuitePreferencePropPreferences""" @@ -32,6 +42,16 @@ class CheckSuitePreferencePropPreferencesType(TypedDict): ] +class CheckSuitePreferencePropPreferencesTypeForResponse(TypedDict): + """CheckSuitePreferencePropPreferences""" + + auto_trigger_checks: NotRequired[ + list[ + CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse + ] + ] + + class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType(TypedDict): """CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItems""" @@ -39,8 +59,20 @@ class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType(TypedDic setting: bool +class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse( + TypedDict +): + """CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItems""" + + app_id: int + setting: bool + + __all__ = ( "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType", + "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse", "CheckSuitePreferencePropPreferencesType", + "CheckSuitePreferencePropPreferencesTypeForResponse", "CheckSuitePreferenceType", + "CheckSuitePreferenceTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0337.py b/githubkit/versions/ghec_v2022_11_28/types/group_0337.py index 5decbd46c..3b9e82296 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0337.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0337.py @@ -13,10 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0067 import CodeScanningAlertRuleSummaryType -from .group_0068 import CodeScanningAnalysisToolType -from .group_0069 import CodeScanningAlertInstanceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0067 import ( + CodeScanningAlertRuleSummaryType, + CodeScanningAlertRuleSummaryTypeForResponse, +) +from .group_0068 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0069 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) class CodeScanningAlertItemsType(TypedDict): @@ -43,4 +52,31 @@ class CodeScanningAlertItemsType(TypedDict): assignees: NotRequired[list[SimpleUserType]] -__all__ = ("CodeScanningAlertItemsType",) +class CodeScanningAlertItemsTypeForResponse(TypedDict): + """CodeScanningAlertItems""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleSummaryTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + +__all__ = ( + "CodeScanningAlertItemsType", + "CodeScanningAlertItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0338.py b/githubkit/versions/ghec_v2022_11_28/types/group_0338.py index 1d50c847b..d654316e5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0338.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0338.py @@ -13,9 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0068 import CodeScanningAnalysisToolType -from .group_0069 import CodeScanningAlertInstanceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0068 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0069 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) class CodeScanningAlertType(TypedDict): @@ -42,6 +48,30 @@ class CodeScanningAlertType(TypedDict): assignees: NotRequired[list[SimpleUserType]] +class CodeScanningAlertTypeForResponse(TypedDict): + """CodeScanningAlert""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + class CodeScanningAlertRuleType(TypedDict): """CodeScanningAlertRule""" @@ -58,7 +88,25 @@ class CodeScanningAlertRuleType(TypedDict): help_uri: NotRequired[Union[str, None]] +class CodeScanningAlertRuleTypeForResponse(TypedDict): + """CodeScanningAlertRule""" + + id: NotRequired[Union[str, None]] + name: NotRequired[str] + severity: NotRequired[Union[None, Literal["none", "note", "warning", "error"]]] + security_severity_level: NotRequired[ + Union[None, Literal["low", "medium", "high", "critical"]] + ] + description: NotRequired[str] + full_description: NotRequired[str] + tags: NotRequired[Union[list[str], None]] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + + __all__ = ( "CodeScanningAlertRuleType", + "CodeScanningAlertRuleTypeForResponse", "CodeScanningAlertType", + "CodeScanningAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0339.py b/githubkit/versions/ghec_v2022_11_28/types/group_0339.py index 1a155e137..8c4a49f75 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0339.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0339.py @@ -22,4 +22,15 @@ class CodeScanningAutofixType(TypedDict): started_at: datetime -__all__ = ("CodeScanningAutofixType",) +class CodeScanningAutofixTypeForResponse(TypedDict): + """CodeScanningAutofix""" + + status: Literal["pending", "error", "success", "outdated"] + description: Union[str, None] + started_at: str + + +__all__ = ( + "CodeScanningAutofixType", + "CodeScanningAutofixTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0340.py b/githubkit/versions/ghec_v2022_11_28/types/group_0340.py index 8ec0e8374..46ce99ac2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0340.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0340.py @@ -22,4 +22,17 @@ class CodeScanningAutofixCommitsType(TypedDict): message: NotRequired[str] -__all__ = ("CodeScanningAutofixCommitsType",) +class CodeScanningAutofixCommitsTypeForResponse(TypedDict): + """CodeScanningAutofixCommits + + Commit an autofix for a code scanning alert + """ + + target_ref: NotRequired[str] + message: NotRequired[str] + + +__all__ = ( + "CodeScanningAutofixCommitsType", + "CodeScanningAutofixCommitsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0341.py b/githubkit/versions/ghec_v2022_11_28/types/group_0341.py index 2cbf6f579..2e19ebe82 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0341.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0341.py @@ -19,4 +19,14 @@ class CodeScanningAutofixCommitsResponseType(TypedDict): sha: NotRequired[str] -__all__ = ("CodeScanningAutofixCommitsResponseType",) +class CodeScanningAutofixCommitsResponseTypeForResponse(TypedDict): + """CodeScanningAutofixCommitsResponse""" + + target_ref: NotRequired[str] + sha: NotRequired[str] + + +__all__ = ( + "CodeScanningAutofixCommitsResponseType", + "CodeScanningAutofixCommitsResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0342.py b/githubkit/versions/ghec_v2022_11_28/types/group_0342.py index f2b8ac04b..28cc64a6b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0342.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0342.py @@ -12,7 +12,10 @@ from datetime import datetime from typing_extensions import NotRequired, TypedDict -from .group_0068 import CodeScanningAnalysisToolType +from .group_0068 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) class CodeScanningAnalysisType(TypedDict): @@ -35,4 +38,27 @@ class CodeScanningAnalysisType(TypedDict): warning: str -__all__ = ("CodeScanningAnalysisType",) +class CodeScanningAnalysisTypeForResponse(TypedDict): + """CodeScanningAnalysis""" + + ref: str + commit_sha: str + analysis_key: str + environment: str + category: NotRequired[str] + error: str + created_at: str + results_count: int + rules_count: int + id: int + url: str + sarif_id: str + tool: CodeScanningAnalysisToolTypeForResponse + deletable: bool + warning: str + + +__all__ = ( + "CodeScanningAnalysisType", + "CodeScanningAnalysisTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0343.py b/githubkit/versions/ghec_v2022_11_28/types/group_0343.py index a217f8af1..8a776d3d3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0343.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0343.py @@ -23,4 +23,17 @@ class CodeScanningAnalysisDeletionType(TypedDict): confirm_delete_url: Union[str, None] -__all__ = ("CodeScanningAnalysisDeletionType",) +class CodeScanningAnalysisDeletionTypeForResponse(TypedDict): + """Analysis deletion + + Successful deletion of a code scanning analysis + """ + + next_analysis_url: Union[str, None] + confirm_delete_url: Union[str, None] + + +__all__ = ( + "CodeScanningAnalysisDeletionType", + "CodeScanningAnalysisDeletionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0344.py b/githubkit/versions/ghec_v2022_11_28/types/group_0344.py index 279371ebd..504749b63 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0344.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0344.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class CodeScanningCodeqlDatabaseType(TypedDict): @@ -34,4 +34,25 @@ class CodeScanningCodeqlDatabaseType(TypedDict): commit_oid: NotRequired[Union[str, None]] -__all__ = ("CodeScanningCodeqlDatabaseType",) +class CodeScanningCodeqlDatabaseTypeForResponse(TypedDict): + """CodeQL Database + + A CodeQL database. + """ + + id: int + name: str + language: str + uploader: SimpleUserTypeForResponse + content_type: str + size: int + created_at: str + updated_at: str + url: str + commit_oid: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningCodeqlDatabaseType", + "CodeScanningCodeqlDatabaseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0345.py b/githubkit/versions/ghec_v2022_11_28/types/group_0345.py index 86f33d140..2d4c3db9c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0345.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0345.py @@ -28,4 +28,21 @@ class CodeScanningVariantAnalysisRepositoryType(TypedDict): updated_at: Union[datetime, None] -__all__ = ("CodeScanningVariantAnalysisRepositoryType",) +class CodeScanningVariantAnalysisRepositoryTypeForResponse(TypedDict): + """Repository Identifier + + Repository Identifier + """ + + id: int + name: str + full_name: str + private: bool + stargazers_count: int + updated_at: Union[str, None] + + +__all__ = ( + "CodeScanningVariantAnalysisRepositoryType", + "CodeScanningVariantAnalysisRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0346.py b/githubkit/versions/ghec_v2022_11_28/types/group_0346.py index beccf53ae..8cf62f80a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0346.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0346.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0345 import CodeScanningVariantAnalysisRepositoryType +from .group_0345 import ( + CodeScanningVariantAnalysisRepositoryType, + CodeScanningVariantAnalysisRepositoryTypeForResponse, +) class CodeScanningVariantAnalysisSkippedRepoGroupType(TypedDict): @@ -21,4 +24,14 @@ class CodeScanningVariantAnalysisSkippedRepoGroupType(TypedDict): repositories: list[CodeScanningVariantAnalysisRepositoryType] -__all__ = ("CodeScanningVariantAnalysisSkippedRepoGroupType",) +class CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisSkippedRepoGroup""" + + repository_count: int + repositories: list[CodeScanningVariantAnalysisRepositoryTypeForResponse] + + +__all__ = ( + "CodeScanningVariantAnalysisSkippedRepoGroupType", + "CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0347.py b/githubkit/versions/ghec_v2022_11_28/types/group_0347.py index 89f38ad03..3274bcfdb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0347.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0347.py @@ -13,10 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0070 import SimpleRepositoryType -from .group_0348 import CodeScanningVariantAnalysisPropScannedRepositoriesItemsType -from .group_0349 import CodeScanningVariantAnalysisPropSkippedRepositoriesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse +from .group_0348 import ( + CodeScanningVariantAnalysisPropScannedRepositoriesItemsType, + CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse, +) +from .group_0349 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesType, + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse, +) class CodeScanningVariantAnalysisType(TypedDict): @@ -48,4 +54,36 @@ class CodeScanningVariantAnalysisType(TypedDict): ] -__all__ = ("CodeScanningVariantAnalysisType",) +class CodeScanningVariantAnalysisTypeForResponse(TypedDict): + """Variant Analysis + + A run of a CodeQL query against one or more repositories. + """ + + id: int + controller_repo: SimpleRepositoryTypeForResponse + actor: SimpleUserTypeForResponse + query_language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack_url: str + created_at: NotRequired[str] + updated_at: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + status: Literal["in_progress", "succeeded", "failed", "cancelled"] + actions_workflow_run_id: NotRequired[int] + failure_reason: NotRequired[ + Literal["no_repos_queried", "actions_workflow_run_failed", "internal_error"] + ] + scanned_repositories: NotRequired[ + list[CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse] + ] + skipped_repositories: NotRequired[ + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse + ] + + +__all__ = ( + "CodeScanningVariantAnalysisType", + "CodeScanningVariantAnalysisTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0348.py b/githubkit/versions/ghec_v2022_11_28/types/group_0348.py index c05da2478..c22d30e1f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0348.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0348.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0345 import CodeScanningVariantAnalysisRepositoryType +from .group_0345 import ( + CodeScanningVariantAnalysisRepositoryType, + CodeScanningVariantAnalysisRepositoryTypeForResponse, +) class CodeScanningVariantAnalysisPropScannedRepositoriesItemsType(TypedDict): @@ -27,4 +30,19 @@ class CodeScanningVariantAnalysisPropScannedRepositoriesItemsType(TypedDict): failure_message: NotRequired[str] -__all__ = ("CodeScanningVariantAnalysisPropScannedRepositoriesItemsType",) +class CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisPropScannedRepositoriesItems""" + + repository: CodeScanningVariantAnalysisRepositoryTypeForResponse + analysis_status: Literal[ + "pending", "in_progress", "succeeded", "failed", "canceled", "timed_out" + ] + result_count: NotRequired[int] + artifact_size_in_bytes: NotRequired[int] + failure_message: NotRequired[str] + + +__all__ = ( + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsType", + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0349.py b/githubkit/versions/ghec_v2022_11_28/types/group_0349.py index 00a206eaf..e83c1dd2f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0349.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0349.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0346 import CodeScanningVariantAnalysisSkippedRepoGroupType +from .group_0346 import ( + CodeScanningVariantAnalysisSkippedRepoGroupType, + CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse, +) class CodeScanningVariantAnalysisPropSkippedRepositoriesType(TypedDict): @@ -29,6 +32,19 @@ class CodeScanningVariantAnalysisPropSkippedRepositoriesType(TypedDict): over_limit_repos: CodeScanningVariantAnalysisSkippedRepoGroupType +class CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisPropSkippedRepositories + + Information about repositories that were skipped from processing. This + information is only available to the user that initiated the variant analysis. + """ + + access_mismatch_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + not_found_repos: CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse + no_codeql_db_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + over_limit_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + + class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType( TypedDict ): @@ -38,7 +54,18 @@ class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType( repository_full_names: list[str] +class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse( + TypedDict +): + """CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundRepos""" + + repository_count: int + repository_full_names: list[str] + + __all__ = ( "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse", "CodeScanningVariantAnalysisPropSkippedRepositoriesType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0350.py b/githubkit/versions/ghec_v2022_11_28/types/group_0350.py index 12b544033..4d0228edf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0350.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0350.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0070 import SimpleRepositoryType +from .group_0070 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class CodeScanningVariantAnalysisRepoTaskType(TypedDict): @@ -30,4 +30,22 @@ class CodeScanningVariantAnalysisRepoTaskType(TypedDict): artifact_url: NotRequired[str] -__all__ = ("CodeScanningVariantAnalysisRepoTaskType",) +class CodeScanningVariantAnalysisRepoTaskTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisRepoTask""" + + repository: SimpleRepositoryTypeForResponse + analysis_status: Literal[ + "pending", "in_progress", "succeeded", "failed", "canceled", "timed_out" + ] + artifact_size_in_bytes: NotRequired[int] + result_count: NotRequired[int] + failure_message: NotRequired[str] + database_commit_sha: NotRequired[str] + source_location_prefix: NotRequired[str] + artifact_url: NotRequired[str] + + +__all__ = ( + "CodeScanningVariantAnalysisRepoTaskType", + "CodeScanningVariantAnalysisRepoTaskTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0351.py b/githubkit/versions/ghec_v2022_11_28/types/group_0351.py index 481da9df9..af3d776d2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0351.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0351.py @@ -46,4 +46,39 @@ class CodeScanningDefaultSetupType(TypedDict): schedule: NotRequired[Union[None, Literal["weekly"]]] -__all__ = ("CodeScanningDefaultSetupType",) +class CodeScanningDefaultSetupTypeForResponse(TypedDict): + """CodeScanningDefaultSetup + + Configuration for code scanning default setup. + """ + + state: NotRequired[Literal["configured", "not-configured"]] + languages: NotRequired[ + list[ + Literal[ + "actions", + "c-cpp", + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "javascript", + "python", + "ruby", + "typescript", + "swift", + ] + ] + ] + runner_type: NotRequired[Union[None, Literal["standard", "labeled"]]] + runner_label: NotRequired[Union[str, None]] + query_suite: NotRequired[Literal["default", "extended"]] + threat_model: NotRequired[Literal["remote", "remote_and_local"]] + updated_at: NotRequired[Union[str, None]] + schedule: NotRequired[Union[None, Literal["weekly"]]] + + +__all__ = ( + "CodeScanningDefaultSetupType", + "CodeScanningDefaultSetupTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0352.py b/githubkit/versions/ghec_v2022_11_28/types/group_0352.py index 69c76e214..1ae68a456 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0352.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0352.py @@ -41,4 +41,35 @@ class CodeScanningDefaultSetupUpdateType(TypedDict): ] -__all__ = ("CodeScanningDefaultSetupUpdateType",) +class CodeScanningDefaultSetupUpdateTypeForResponse(TypedDict): + """CodeScanningDefaultSetupUpdate + + Configuration for code scanning default setup. + """ + + state: NotRequired[Literal["configured", "not-configured"]] + runner_type: NotRequired[Literal["standard", "labeled"]] + runner_label: NotRequired[Union[str, None]] + query_suite: NotRequired[Literal["default", "extended"]] + threat_model: NotRequired[Literal["remote", "remote_and_local"]] + languages: NotRequired[ + list[ + Literal[ + "actions", + "c-cpp", + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "swift", + ] + ] + ] + + +__all__ = ( + "CodeScanningDefaultSetupUpdateType", + "CodeScanningDefaultSetupUpdateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0353.py b/githubkit/versions/ghec_v2022_11_28/types/group_0353.py index f363fa4b1..30b4353a1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0353.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0353.py @@ -24,4 +24,19 @@ class CodeScanningDefaultSetupUpdateResponseType(TypedDict): run_url: NotRequired[str] -__all__ = ("CodeScanningDefaultSetupUpdateResponseType",) +class CodeScanningDefaultSetupUpdateResponseTypeForResponse(TypedDict): + """CodeScanningDefaultSetupUpdateResponse + + You can use `run_url` to track the status of the run. This includes a property + status and conclusion. + You should not rely on this always being an actions workflow run object. + """ + + run_id: NotRequired[int] + run_url: NotRequired[str] + + +__all__ = ( + "CodeScanningDefaultSetupUpdateResponseType", + "CodeScanningDefaultSetupUpdateResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0354.py b/githubkit/versions/ghec_v2022_11_28/types/group_0354.py index 5a45d64e1..c6e50774f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0354.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0354.py @@ -19,4 +19,14 @@ class CodeScanningSarifsReceiptType(TypedDict): url: NotRequired[str] -__all__ = ("CodeScanningSarifsReceiptType",) +class CodeScanningSarifsReceiptTypeForResponse(TypedDict): + """CodeScanningSarifsReceipt""" + + id: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "CodeScanningSarifsReceiptType", + "CodeScanningSarifsReceiptTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0355.py b/githubkit/versions/ghec_v2022_11_28/types/group_0355.py index 3b46d219b..cc934dac1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0355.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0355.py @@ -21,4 +21,15 @@ class CodeScanningSarifsStatusType(TypedDict): errors: NotRequired[Union[list[str], None]] -__all__ = ("CodeScanningSarifsStatusType",) +class CodeScanningSarifsStatusTypeForResponse(TypedDict): + """CodeScanningSarifsStatus""" + + processing_status: NotRequired[Literal["pending", "complete", "failed"]] + analyses_url: NotRequired[Union[str, None]] + errors: NotRequired[Union[list[str], None]] + + +__all__ = ( + "CodeScanningSarifsStatusType", + "CodeScanningSarifsStatusTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0356.py b/githubkit/versions/ghec_v2022_11_28/types/group_0356.py index 0c793e649..2cc33debc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0356.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0356.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0072 import CodeSecurityConfigurationType +from .group_0072 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class CodeSecurityConfigurationForRepositoryType(TypedDict): @@ -36,4 +39,28 @@ class CodeSecurityConfigurationForRepositoryType(TypedDict): configuration: NotRequired[CodeSecurityConfigurationType] -__all__ = ("CodeSecurityConfigurationForRepositoryType",) +class CodeSecurityConfigurationForRepositoryTypeForResponse(TypedDict): + """CodeSecurityConfigurationForRepository + + Code security configuration associated with a repository and attachment status + """ + + status: NotRequired[ + Literal[ + "attached", + "attaching", + "detached", + "removed", + "enforced", + "failed", + "updating", + "removed_by_enterprise", + ] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + +__all__ = ( + "CodeSecurityConfigurationForRepositoryType", + "CodeSecurityConfigurationForRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0357.py b/githubkit/versions/ghec_v2022_11_28/types/group_0357.py index 4480d357f..3c8155c34 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0357.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0357.py @@ -22,6 +22,15 @@ class CodeownersErrorsType(TypedDict): errors: list[CodeownersErrorsPropErrorsItemsType] +class CodeownersErrorsTypeForResponse(TypedDict): + """CODEOWNERS errors + + A list of errors found in a repo's CODEOWNERS file + """ + + errors: list[CodeownersErrorsPropErrorsItemsTypeForResponse] + + class CodeownersErrorsPropErrorsItemsType(TypedDict): """CodeownersErrorsPropErrorsItems""" @@ -34,7 +43,21 @@ class CodeownersErrorsPropErrorsItemsType(TypedDict): path: str +class CodeownersErrorsPropErrorsItemsTypeForResponse(TypedDict): + """CodeownersErrorsPropErrorsItems""" + + line: int + column: int + source: NotRequired[str] + kind: str + suggestion: NotRequired[Union[str, None]] + message: str + path: str + + __all__ = ( "CodeownersErrorsPropErrorsItemsType", + "CodeownersErrorsPropErrorsItemsTypeForResponse", "CodeownersErrorsType", + "CodeownersErrorsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0358.py b/githubkit/versions/ghec_v2022_11_28/types/group_0358.py index e1c93e03b..b96bf3aef 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0358.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0358.py @@ -21,4 +21,16 @@ class CodespacesPermissionsCheckForDevcontainerType(TypedDict): accepted: bool -__all__ = ("CodespacesPermissionsCheckForDevcontainerType",) +class CodespacesPermissionsCheckForDevcontainerTypeForResponse(TypedDict): + """Codespaces Permissions Check + + Permission check result for a given devcontainer config. + """ + + accepted: bool + + +__all__ = ( + "CodespacesPermissionsCheckForDevcontainerType", + "CodespacesPermissionsCheckForDevcontainerTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0359.py b/githubkit/versions/ghec_v2022_11_28/types/group_0359.py index 9783ae083..a6f29e0f5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0359.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0359.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0214 import MinimalRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class RepositoryInvitationType(TypedDict): @@ -35,4 +35,25 @@ class RepositoryInvitationType(TypedDict): node_id: str -__all__ = ("RepositoryInvitationType",) +class RepositoryInvitationTypeForResponse(TypedDict): + """Repository Invitation + + Repository invitations let you manage who you collaborate with. + """ + + id: int + repository: MinimalRepositoryTypeForResponse + invitee: Union[None, SimpleUserTypeForResponse] + inviter: Union[None, SimpleUserTypeForResponse] + permissions: Literal["read", "write", "admin", "triage", "maintain"] + created_at: str + expired: NotRequired[bool] + url: str + html_url: str + node_id: str + + +__all__ = ( + "RepositoryInvitationType", + "RepositoryInvitationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0360.py b/githubkit/versions/ghec_v2022_11_28/types/group_0360.py index 10af54a9e..5c3ce38e7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0360.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0360.py @@ -24,6 +24,17 @@ class RepositoryCollaboratorPermissionType(TypedDict): user: Union[None, CollaboratorType] +class RepositoryCollaboratorPermissionTypeForResponse(TypedDict): + """Repository Collaborator Permission + + Repository Collaborator Permission + """ + + permission: str + role_name: str + user: Union[None, CollaboratorTypeForResponse] + + class CollaboratorType(TypedDict): """Collaborator @@ -55,6 +66,37 @@ class CollaboratorType(TypedDict): user_view_type: NotRequired[str] +class CollaboratorTypeForResponse(TypedDict): + """Collaborator + + Collaborator + """ + + login: str + id: int + email: NotRequired[Union[str, None]] + name: NotRequired[Union[str, None]] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + permissions: NotRequired[CollaboratorPropPermissionsTypeForResponse] + role_name: str + user_view_type: NotRequired[str] + + class CollaboratorPropPermissionsType(TypedDict): """CollaboratorPropPermissions""" @@ -65,8 +107,21 @@ class CollaboratorPropPermissionsType(TypedDict): admin: bool +class CollaboratorPropPermissionsTypeForResponse(TypedDict): + """CollaboratorPropPermissions""" + + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + admin: bool + + __all__ = ( "CollaboratorPropPermissionsType", + "CollaboratorPropPermissionsTypeForResponse", "CollaboratorType", + "CollaboratorTypeForResponse", "RepositoryCollaboratorPermissionType", + "RepositoryCollaboratorPermissionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0361.py b/githubkit/versions/ghec_v2022_11_28/types/group_0361.py index 2fd166a62..92f85227a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0361.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0361.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class CommitCommentType(TypedDict): @@ -48,6 +48,37 @@ class CommitCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] +class CommitCommentTypeForResponse(TypedDict): + """Commit Comment + + Commit Comment + """ + + html_url: str + url: str + id: int + node_id: str + body: str + path: Union[str, None] + position: Union[int, None] + line: Union[int, None] + commit_id: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + reactions: NotRequired[ReactionRollupTypeForResponse] + + class TimelineCommitCommentedEventType(TypedDict): """Timeline Commit Commented Event @@ -60,7 +91,21 @@ class TimelineCommitCommentedEventType(TypedDict): comments: NotRequired[list[CommitCommentType]] +class TimelineCommitCommentedEventTypeForResponse(TypedDict): + """Timeline Commit Commented Event + + Timeline Commit Commented Event + """ + + event: NotRequired[Literal["commit_commented"]] + node_id: NotRequired[str] + commit_id: NotRequired[str] + comments: NotRequired[list[CommitCommentTypeForResponse]] + + __all__ = ( "CommitCommentType", + "CommitCommentTypeForResponse", "TimelineCommitCommentedEventType", + "TimelineCommitCommentedEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0362.py b/githubkit/versions/ghec_v2022_11_28/types/group_0362.py index 997250710..5ae708d0d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0362.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0362.py @@ -23,6 +23,17 @@ class BranchShortType(TypedDict): protected: bool +class BranchShortTypeForResponse(TypedDict): + """Branch Short + + Branch Short + """ + + name: str + commit: BranchShortPropCommitTypeForResponse + protected: bool + + class BranchShortPropCommitType(TypedDict): """BranchShortPropCommit""" @@ -30,7 +41,16 @@ class BranchShortPropCommitType(TypedDict): url: str +class BranchShortPropCommitTypeForResponse(TypedDict): + """BranchShortPropCommit""" + + sha: str + url: str + + __all__ = ( "BranchShortPropCommitType", + "BranchShortPropCommitTypeForResponse", "BranchShortType", + "BranchShortTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0363.py b/githubkit/versions/ghec_v2022_11_28/types/group_0363.py index 025e46642..390111afa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0363.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0363.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class CombinedCommitStatusType(TypedDict): @@ -31,6 +31,21 @@ class CombinedCommitStatusType(TypedDict): url: str +class CombinedCommitStatusTypeForResponse(TypedDict): + """Combined Commit Status + + Combined Commit Status + """ + + state: str + statuses: list[SimpleCommitStatusTypeForResponse] + sha: str + total_count: int + repository: MinimalRepositoryTypeForResponse + commit_url: str + url: str + + class SimpleCommitStatusType(TypedDict): """Simple Commit Status""" @@ -47,7 +62,25 @@ class SimpleCommitStatusType(TypedDict): updated_at: datetime +class SimpleCommitStatusTypeForResponse(TypedDict): + """Simple Commit Status""" + + description: Union[str, None] + id: int + node_id: str + state: str + context: str + target_url: Union[str, None] + required: NotRequired[Union[bool, None]] + avatar_url: Union[str, None] + url: str + created_at: str + updated_at: str + + __all__ = ( "CombinedCommitStatusType", + "CombinedCommitStatusTypeForResponse", "SimpleCommitStatusType", + "SimpleCommitStatusTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0364.py b/githubkit/versions/ghec_v2022_11_28/types/group_0364.py index 13b770a02..df386b9a2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0364.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0364.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class StatusType(TypedDict): @@ -34,4 +34,26 @@ class StatusType(TypedDict): creator: Union[None, SimpleUserType] -__all__ = ("StatusType",) +class StatusTypeForResponse(TypedDict): + """Status + + The status of a commit. + """ + + url: str + avatar_url: Union[str, None] + id: int + node_id: str + state: str + description: Union[str, None] + target_url: Union[str, None] + context: str + created_at: str + updated_at: str + creator: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "StatusType", + "StatusTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0365.py b/githubkit/versions/ghec_v2022_11_28/types/group_0365.py index 04f8cbfda..2965c90ea 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0365.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0365.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0019 import LicenseSimpleType -from .group_0276 import CodeOfConductSimpleType +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0276 import CodeOfConductSimpleType, CodeOfConductSimpleTypeForResponse class CommunityProfilePropFilesType(TypedDict): @@ -29,6 +29,18 @@ class CommunityProfilePropFilesType(TypedDict): pull_request_template: Union[None, CommunityHealthFileType] +class CommunityProfilePropFilesTypeForResponse(TypedDict): + """CommunityProfilePropFiles""" + + code_of_conduct: Union[None, CodeOfConductSimpleTypeForResponse] + code_of_conduct_file: Union[None, CommunityHealthFileTypeForResponse] + license_: Union[None, LicenseSimpleTypeForResponse] + contributing: Union[None, CommunityHealthFileTypeForResponse] + readme: Union[None, CommunityHealthFileTypeForResponse] + issue_template: Union[None, CommunityHealthFileTypeForResponse] + pull_request_template: Union[None, CommunityHealthFileTypeForResponse] + + class CommunityHealthFileType(TypedDict): """Community Health File""" @@ -36,6 +48,13 @@ class CommunityHealthFileType(TypedDict): html_url: str +class CommunityHealthFileTypeForResponse(TypedDict): + """Community Health File""" + + url: str + html_url: str + + class CommunityProfileType(TypedDict): """Community Profile @@ -50,8 +69,25 @@ class CommunityProfileType(TypedDict): content_reports_enabled: NotRequired[bool] +class CommunityProfileTypeForResponse(TypedDict): + """Community Profile + + Community Profile + """ + + health_percentage: int + description: Union[str, None] + documentation: Union[str, None] + files: CommunityProfilePropFilesTypeForResponse + updated_at: Union[str, None] + content_reports_enabled: NotRequired[bool] + + __all__ = ( "CommunityHealthFileType", + "CommunityHealthFileTypeForResponse", "CommunityProfilePropFilesType", + "CommunityProfilePropFilesTypeForResponse", "CommunityProfileType", + "CommunityProfileTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0366.py b/githubkit/versions/ghec_v2022_11_28/types/group_0366.py index b2e9361c2..91dabc559 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0366.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0366.py @@ -12,8 +12,8 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0325 import DiffEntryType -from .group_0326 import CommitType +from .group_0325 import DiffEntryType, DiffEntryTypeForResponse +from .group_0326 import CommitType, CommitTypeForResponse class CommitComparisonType(TypedDict): @@ -37,4 +37,28 @@ class CommitComparisonType(TypedDict): files: NotRequired[list[DiffEntryType]] -__all__ = ("CommitComparisonType",) +class CommitComparisonTypeForResponse(TypedDict): + """Commit Comparison + + Commit Comparison + """ + + url: str + html_url: str + permalink_url: str + diff_url: str + patch_url: str + base_commit: CommitTypeForResponse + merge_base_commit: CommitTypeForResponse + status: Literal["diverged", "ahead", "behind", "identical"] + ahead_by: int + behind_by: int + total_commits: int + commits: list[CommitTypeForResponse] + files: NotRequired[list[DiffEntryTypeForResponse]] + + +__all__ = ( + "CommitComparisonType", + "CommitComparisonTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0367.py b/githubkit/versions/ghec_v2022_11_28/types/group_0367.py index 3c6f67fc5..bf0b7abd9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0367.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0367.py @@ -34,6 +34,27 @@ class ContentTreeType(TypedDict): links: ContentTreePropLinksType +class ContentTreeTypeForResponse(TypedDict): + """Content Tree + + Content Tree + """ + + type: str + size: int + name: str + path: str + sha: str + content: NotRequired[str] + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + entries: NotRequired[list[ContentTreePropEntriesItemsTypeForResponse]] + encoding: NotRequired[str] + links: ContentTreePropLinksTypeForResponse + + class ContentTreePropLinksType(TypedDict): """ContentTreePropLinks""" @@ -42,6 +63,14 @@ class ContentTreePropLinksType(TypedDict): self_: str +class ContentTreePropLinksTypeForResponse(TypedDict): + """ContentTreePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + class ContentTreePropEntriesItemsType(TypedDict): """ContentTreePropEntriesItems""" @@ -57,6 +86,21 @@ class ContentTreePropEntriesItemsType(TypedDict): links: ContentTreePropEntriesItemsPropLinksType +class ContentTreePropEntriesItemsTypeForResponse(TypedDict): + """ContentTreePropEntriesItems""" + + type: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentTreePropEntriesItemsPropLinksTypeForResponse + + class ContentTreePropEntriesItemsPropLinksType(TypedDict): """ContentTreePropEntriesItemsPropLinks""" @@ -65,9 +109,21 @@ class ContentTreePropEntriesItemsPropLinksType(TypedDict): self_: str +class ContentTreePropEntriesItemsPropLinksTypeForResponse(TypedDict): + """ContentTreePropEntriesItemsPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentTreePropEntriesItemsPropLinksType", + "ContentTreePropEntriesItemsPropLinksTypeForResponse", "ContentTreePropEntriesItemsType", + "ContentTreePropEntriesItemsTypeForResponse", "ContentTreePropLinksType", + "ContentTreePropLinksTypeForResponse", "ContentTreeType", + "ContentTreeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0368.py b/githubkit/versions/ghec_v2022_11_28/types/group_0368.py index 74ee6a6e4..ea9b509d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0368.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0368.py @@ -29,6 +29,22 @@ class ContentDirectoryItemsType(TypedDict): links: ContentDirectoryItemsPropLinksType +class ContentDirectoryItemsTypeForResponse(TypedDict): + """ContentDirectoryItems""" + + type: Literal["dir", "file", "submodule", "symlink"] + size: int + name: str + path: str + content: NotRequired[str] + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentDirectoryItemsPropLinksTypeForResponse + + class ContentDirectoryItemsPropLinksType(TypedDict): """ContentDirectoryItemsPropLinks""" @@ -37,7 +53,17 @@ class ContentDirectoryItemsPropLinksType(TypedDict): self_: str +class ContentDirectoryItemsPropLinksTypeForResponse(TypedDict): + """ContentDirectoryItemsPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentDirectoryItemsPropLinksType", + "ContentDirectoryItemsPropLinksTypeForResponse", "ContentDirectoryItemsType", + "ContentDirectoryItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0369.py b/githubkit/versions/ghec_v2022_11_28/types/group_0369.py index 2ad4b4ca8..2a27a3f40 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0369.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0369.py @@ -35,6 +35,28 @@ class ContentFileType(TypedDict): submodule_git_url: NotRequired[str] +class ContentFileTypeForResponse(TypedDict): + """Content File + + Content File + """ + + type: Literal["file"] + encoding: str + size: int + name: str + path: str + content: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentFilePropLinksTypeForResponse + target: NotRequired[str] + submodule_git_url: NotRequired[str] + + class ContentFilePropLinksType(TypedDict): """ContentFilePropLinks""" @@ -43,7 +65,17 @@ class ContentFilePropLinksType(TypedDict): self_: str +class ContentFilePropLinksTypeForResponse(TypedDict): + """ContentFilePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentFilePropLinksType", + "ContentFilePropLinksTypeForResponse", "ContentFileType", + "ContentFileTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0370.py b/githubkit/versions/ghec_v2022_11_28/types/group_0370.py index 0998eda68..e4a1233b4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0370.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0370.py @@ -32,6 +32,25 @@ class ContentSymlinkType(TypedDict): links: ContentSymlinkPropLinksType +class ContentSymlinkTypeForResponse(TypedDict): + """Symlink Content + + An object describing a symlink + """ + + type: Literal["symlink"] + target: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentSymlinkPropLinksTypeForResponse + + class ContentSymlinkPropLinksType(TypedDict): """ContentSymlinkPropLinks""" @@ -40,7 +59,17 @@ class ContentSymlinkPropLinksType(TypedDict): self_: str +class ContentSymlinkPropLinksTypeForResponse(TypedDict): + """ContentSymlinkPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentSymlinkPropLinksType", + "ContentSymlinkPropLinksTypeForResponse", "ContentSymlinkType", + "ContentSymlinkTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0371.py b/githubkit/versions/ghec_v2022_11_28/types/group_0371.py index b80d6984e..a84cd03f9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0371.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0371.py @@ -32,6 +32,25 @@ class ContentSubmoduleType(TypedDict): links: ContentSubmodulePropLinksType +class ContentSubmoduleTypeForResponse(TypedDict): + """Submodule Content + + An object describing a submodule + """ + + type: Literal["submodule"] + submodule_git_url: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentSubmodulePropLinksTypeForResponse + + class ContentSubmodulePropLinksType(TypedDict): """ContentSubmodulePropLinks""" @@ -40,7 +59,17 @@ class ContentSubmodulePropLinksType(TypedDict): self_: str +class ContentSubmodulePropLinksTypeForResponse(TypedDict): + """ContentSubmodulePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentSubmodulePropLinksType", + "ContentSubmodulePropLinksTypeForResponse", "ContentSubmoduleType", + "ContentSubmoduleTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0372.py b/githubkit/versions/ghec_v2022_11_28/types/group_0372.py index 78a4cf43d..77decba34 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0372.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0372.py @@ -23,6 +23,16 @@ class FileCommitType(TypedDict): commit: FileCommitPropCommitType +class FileCommitTypeForResponse(TypedDict): + """File Commit + + File Commit + """ + + content: Union[FileCommitPropContentTypeForResponse, None] + commit: FileCommitPropCommitTypeForResponse + + class FileCommitPropContentType(TypedDict): """FileCommitPropContent""" @@ -38,6 +48,21 @@ class FileCommitPropContentType(TypedDict): links: NotRequired[FileCommitPropContentPropLinksType] +class FileCommitPropContentTypeForResponse(TypedDict): + """FileCommitPropContent""" + + name: NotRequired[str] + path: NotRequired[str] + sha: NotRequired[str] + size: NotRequired[int] + url: NotRequired[str] + html_url: NotRequired[str] + git_url: NotRequired[str] + download_url: NotRequired[str] + type: NotRequired[str] + links: NotRequired[FileCommitPropContentPropLinksTypeForResponse] + + class FileCommitPropContentPropLinksType(TypedDict): """FileCommitPropContentPropLinks""" @@ -46,6 +71,14 @@ class FileCommitPropContentPropLinksType(TypedDict): html: NotRequired[str] +class FileCommitPropContentPropLinksTypeForResponse(TypedDict): + """FileCommitPropContentPropLinks""" + + self_: NotRequired[str] + git: NotRequired[str] + html: NotRequired[str] + + class FileCommitPropCommitType(TypedDict): """FileCommitPropCommit""" @@ -61,6 +94,21 @@ class FileCommitPropCommitType(TypedDict): verification: NotRequired[FileCommitPropCommitPropVerificationType] +class FileCommitPropCommitTypeForResponse(TypedDict): + """FileCommitPropCommit""" + + sha: NotRequired[str] + node_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + author: NotRequired[FileCommitPropCommitPropAuthorTypeForResponse] + committer: NotRequired[FileCommitPropCommitPropCommitterTypeForResponse] + message: NotRequired[str] + tree: NotRequired[FileCommitPropCommitPropTreeTypeForResponse] + parents: NotRequired[list[FileCommitPropCommitPropParentsItemsTypeForResponse]] + verification: NotRequired[FileCommitPropCommitPropVerificationTypeForResponse] + + class FileCommitPropCommitPropAuthorType(TypedDict): """FileCommitPropCommitPropAuthor""" @@ -69,6 +117,14 @@ class FileCommitPropCommitPropAuthorType(TypedDict): email: NotRequired[str] +class FileCommitPropCommitPropAuthorTypeForResponse(TypedDict): + """FileCommitPropCommitPropAuthor""" + + date: NotRequired[str] + name: NotRequired[str] + email: NotRequired[str] + + class FileCommitPropCommitPropCommitterType(TypedDict): """FileCommitPropCommitPropCommitter""" @@ -77,6 +133,14 @@ class FileCommitPropCommitPropCommitterType(TypedDict): email: NotRequired[str] +class FileCommitPropCommitPropCommitterTypeForResponse(TypedDict): + """FileCommitPropCommitPropCommitter""" + + date: NotRequired[str] + name: NotRequired[str] + email: NotRequired[str] + + class FileCommitPropCommitPropTreeType(TypedDict): """FileCommitPropCommitPropTree""" @@ -84,6 +148,13 @@ class FileCommitPropCommitPropTreeType(TypedDict): sha: NotRequired[str] +class FileCommitPropCommitPropTreeTypeForResponse(TypedDict): + """FileCommitPropCommitPropTree""" + + url: NotRequired[str] + sha: NotRequired[str] + + class FileCommitPropCommitPropParentsItemsType(TypedDict): """FileCommitPropCommitPropParentsItems""" @@ -92,6 +163,14 @@ class FileCommitPropCommitPropParentsItemsType(TypedDict): sha: NotRequired[str] +class FileCommitPropCommitPropParentsItemsTypeForResponse(TypedDict): + """FileCommitPropCommitPropParentsItems""" + + url: NotRequired[str] + html_url: NotRequired[str] + sha: NotRequired[str] + + class FileCommitPropCommitPropVerificationType(TypedDict): """FileCommitPropCommitPropVerification""" @@ -102,14 +181,33 @@ class FileCommitPropCommitPropVerificationType(TypedDict): verified_at: NotRequired[Union[str, None]] +class FileCommitPropCommitPropVerificationTypeForResponse(TypedDict): + """FileCommitPropCommitPropVerification""" + + verified: NotRequired[bool] + reason: NotRequired[str] + signature: NotRequired[Union[str, None]] + payload: NotRequired[Union[str, None]] + verified_at: NotRequired[Union[str, None]] + + __all__ = ( "FileCommitPropCommitPropAuthorType", + "FileCommitPropCommitPropAuthorTypeForResponse", "FileCommitPropCommitPropCommitterType", + "FileCommitPropCommitPropCommitterTypeForResponse", "FileCommitPropCommitPropParentsItemsType", + "FileCommitPropCommitPropParentsItemsTypeForResponse", "FileCommitPropCommitPropTreeType", + "FileCommitPropCommitPropTreeTypeForResponse", "FileCommitPropCommitPropVerificationType", + "FileCommitPropCommitPropVerificationTypeForResponse", "FileCommitPropCommitType", + "FileCommitPropCommitTypeForResponse", "FileCommitPropContentPropLinksType", + "FileCommitPropContentPropLinksTypeForResponse", "FileCommitPropContentType", + "FileCommitPropContentTypeForResponse", "FileCommitType", + "FileCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0373.py b/githubkit/versions/ghec_v2022_11_28/types/group_0373.py index 82a56dc68..373a635a2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0373.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0373.py @@ -24,6 +24,18 @@ class RepositoryRuleViolationErrorType(TypedDict): metadata: NotRequired[RepositoryRuleViolationErrorPropMetadataType] +class RepositoryRuleViolationErrorTypeForResponse(TypedDict): + """RepositoryRuleViolationError + + Repository rule violation was detected + """ + + message: NotRequired[str] + documentation_url: NotRequired[str] + status: NotRequired[str] + metadata: NotRequired[RepositoryRuleViolationErrorPropMetadataTypeForResponse] + + class RepositoryRuleViolationErrorPropMetadataType(TypedDict): """RepositoryRuleViolationErrorPropMetadata""" @@ -32,6 +44,14 @@ class RepositoryRuleViolationErrorPropMetadataType(TypedDict): ] +class RepositoryRuleViolationErrorPropMetadataTypeForResponse(TypedDict): + """RepositoryRuleViolationErrorPropMetadata""" + + secret_scanning: NotRequired[ + RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse + ] + + class RepositoryRuleViolationErrorPropMetadataPropSecretScanningType(TypedDict): """RepositoryRuleViolationErrorPropMetadataPropSecretScanning""" @@ -42,6 +62,18 @@ class RepositoryRuleViolationErrorPropMetadataPropSecretScanningType(TypedDict): ] +class RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse( + TypedDict +): + """RepositoryRuleViolationErrorPropMetadataPropSecretScanning""" + + bypass_placeholders: NotRequired[ + list[ + RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse + ] + ] + + class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType( TypedDict ): @@ -53,9 +85,24 @@ class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceh token_type: NotRequired[str] +class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse( + TypedDict +): + """RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholders + Items + """ + + placeholder_id: NotRequired[str] + token_type: NotRequired[str] + + __all__ = ( "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse", "RepositoryRuleViolationErrorPropMetadataType", + "RepositoryRuleViolationErrorPropMetadataTypeForResponse", "RepositoryRuleViolationErrorType", + "RepositoryRuleViolationErrorTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0374.py b/githubkit/versions/ghec_v2022_11_28/types/group_0374.py index 0bcf70515..62a70d559 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0374.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0374.py @@ -43,4 +43,37 @@ class ContributorType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("ContributorType",) +class ContributorTypeForResponse(TypedDict): + """Contributor + + Contributor + """ + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[Union[str, None]] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: str + site_admin: NotRequired[bool] + contributions: int + email: NotRequired[str] + name: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "ContributorType", + "ContributorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0375.py b/githubkit/versions/ghec_v2022_11_28/types/group_0375.py index 7a35cd087..fde66192d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0375.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0375.py @@ -13,10 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0087 import DependabotAlertSecurityVulnerabilityType -from .group_0088 import DependabotAlertSecurityAdvisoryType -from .group_0376 import DependabotAlertPropDependencyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0087 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) +from .group_0088 import ( + DependabotAlertSecurityAdvisoryType, + DependabotAlertSecurityAdvisoryTypeForResponse, +) +from .group_0376 import ( + DependabotAlertPropDependencyType, + DependabotAlertPropDependencyTypeForResponse, +) class DependabotAlertType(TypedDict): @@ -47,4 +56,35 @@ class DependabotAlertType(TypedDict): auto_dismissed_at: NotRequired[Union[datetime, None]] -__all__ = ("DependabotAlertType",) +class DependabotAlertTypeForResponse(TypedDict): + """DependabotAlert + + A Dependabot alert. + """ + + number: int + state: Literal["auto_dismissed", "dismissed", "fixed", "open"] + dependency: DependabotAlertPropDependencyTypeForResponse + security_advisory: DependabotAlertSecurityAdvisoryTypeForResponse + security_vulnerability: DependabotAlertSecurityVulnerabilityTypeForResponse + url: str + html_url: str + created_at: str + updated_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_reason: Union[ + None, + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ], + ] + dismissed_comment: Union[str, None] + fixed_at: Union[str, None] + auto_dismissed_at: NotRequired[Union[str, None]] + + +__all__ = ( + "DependabotAlertType", + "DependabotAlertTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0376.py b/githubkit/versions/ghec_v2022_11_28/types/group_0376.py index 8a86cfe82..8b9fe1aa2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0376.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0376.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0086 import DependabotAlertPackageType +from .group_0086 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertPropDependencyType(TypedDict): @@ -27,4 +30,19 @@ class DependabotAlertPropDependencyType(TypedDict): relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]] -__all__ = ("DependabotAlertPropDependencyType",) +class DependabotAlertPropDependencyTypeForResponse(TypedDict): + """DependabotAlertPropDependency + + Details for the vulnerable dependency. + """ + + package: NotRequired[DependabotAlertPackageTypeForResponse] + manifest_path: NotRequired[str] + scope: NotRequired[Union[None, Literal["development", "runtime"]]] + relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]] + + +__all__ = ( + "DependabotAlertPropDependencyType", + "DependabotAlertPropDependencyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0377.py b/githubkit/versions/ghec_v2022_11_28/types/group_0377.py index b061be26e..1ee682e6a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0377.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0377.py @@ -28,6 +28,23 @@ class DependencyGraphDiffItemsType(TypedDict): scope: Literal["unknown", "runtime", "development"] +class DependencyGraphDiffItemsTypeForResponse(TypedDict): + """DependencyGraphDiffItems""" + + change_type: Literal["added", "removed"] + manifest: str + ecosystem: str + name: str + version: str + package_url: Union[str, None] + license_: Union[str, None] + source_repository_url: Union[str, None] + vulnerabilities: list[ + DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse + ] + scope: Literal["unknown", "runtime", "development"] + + class DependencyGraphDiffItemsPropVulnerabilitiesItemsType(TypedDict): """DependencyGraphDiffItemsPropVulnerabilitiesItems""" @@ -37,7 +54,18 @@ class DependencyGraphDiffItemsPropVulnerabilitiesItemsType(TypedDict): advisory_url: str +class DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse(TypedDict): + """DependencyGraphDiffItemsPropVulnerabilitiesItems""" + + severity: str + advisory_ghsa_id: str + advisory_summary: str + advisory_url: str + + __all__ = ( "DependencyGraphDiffItemsPropVulnerabilitiesItemsType", + "DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse", "DependencyGraphDiffItemsType", + "DependencyGraphDiffItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0378.py b/githubkit/versions/ghec_v2022_11_28/types/group_0378.py index 489a3ce99..e1acc6201 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0378.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0378.py @@ -21,6 +21,15 @@ class DependencyGraphSpdxSbomType(TypedDict): sbom: DependencyGraphSpdxSbomPropSbomType +class DependencyGraphSpdxSbomTypeForResponse(TypedDict): + """Dependency Graph SPDX SBOM + + A schema for the SPDX JSON format returned by the Dependency Graph. + """ + + sbom: DependencyGraphSpdxSbomPropSbomTypeForResponse + + class DependencyGraphSpdxSbomPropSbomType(TypedDict): """DependencyGraphSpdxSbomPropSbom""" @@ -37,6 +46,22 @@ class DependencyGraphSpdxSbomPropSbomType(TypedDict): ] +class DependencyGraphSpdxSbomPropSbomTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbom""" + + spdxid: str + spdx_version: str + comment: NotRequired[str] + creation_info: DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse + name: str + data_license: str + document_namespace: str + packages: list[DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse] + relationships: NotRequired[ + list[DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse] + ] + + class DependencyGraphSpdxSbomPropSbomPropCreationInfoType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropCreationInfo""" @@ -44,6 +69,13 @@ class DependencyGraphSpdxSbomPropSbomPropCreationInfoType(TypedDict): creators: list[str] +class DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropCreationInfo""" + + created: str + creators: list[str] + + class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropRelationshipsItems""" @@ -52,6 +84,14 @@ class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType(TypedDict): related_spdx_element: NotRequired[str] +class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropRelationshipsItems""" + + relationship_type: NotRequired[str] + spdx_element_id: NotRequired[str] + related_spdx_element: NotRequired[str] + + class DependencyGraphSpdxSbomPropSbomPropPackagesItemsType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropPackagesItems""" @@ -69,6 +109,25 @@ class DependencyGraphSpdxSbomPropSbomPropPackagesItemsType(TypedDict): ] +class DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropPackagesItems""" + + spdxid: NotRequired[str] + name: NotRequired[str] + version_info: NotRequired[str] + download_location: NotRequired[str] + files_analyzed: NotRequired[bool] + license_concluded: NotRequired[str] + license_declared: NotRequired[str] + supplier: NotRequired[str] + copyright_text: NotRequired[str] + external_refs: NotRequired[ + list[ + DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse + ] + ] + + class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType( TypedDict ): @@ -79,11 +138,27 @@ class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType( reference_type: str +class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse( + TypedDict +): + """DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItems""" + + reference_category: str + reference_locator: str + reference_type: str + + __all__ = ( "DependencyGraphSpdxSbomPropSbomPropCreationInfoType", + "DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType", + "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomType", + "DependencyGraphSpdxSbomPropSbomTypeForResponse", "DependencyGraphSpdxSbomType", + "DependencyGraphSpdxSbomTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0379.py b/githubkit/versions/ghec_v2022_11_28/types/group_0379.py index 75968e9b1..d1f9dc602 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0379.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0379.py @@ -20,4 +20,15 @@ """ -__all__ = ("MetadataType",) +MetadataTypeForResponse: TypeAlias = dict[str, Any] +"""metadata + +User-defined metadata to store domain-specific information limited to 8 keys +with scalar values. +""" + + +__all__ = ( + "MetadataType", + "MetadataTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0380.py b/githubkit/versions/ghec_v2022_11_28/types/group_0380.py index d9b8d2be7..5ce39ea00 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0380.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0380.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0379 import MetadataType +from .group_0379 import MetadataType, MetadataTypeForResponse class DependencyType(TypedDict): @@ -25,4 +25,17 @@ class DependencyType(TypedDict): dependencies: NotRequired[list[str]] -__all__ = ("DependencyType",) +class DependencyTypeForResponse(TypedDict): + """Dependency""" + + package_url: NotRequired[str] + metadata: NotRequired[MetadataTypeForResponse] + relationship: NotRequired[Literal["direct", "indirect"]] + scope: NotRequired[Literal["runtime", "development"]] + dependencies: NotRequired[list[str]] + + +__all__ = ( + "DependencyType", + "DependencyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0381.py b/githubkit/versions/ghec_v2022_11_28/types/group_0381.py index 80ff6f6e5..2d4a81f68 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0381.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0381.py @@ -12,7 +12,7 @@ from typing import Any from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0379 import MetadataType +from .group_0379 import MetadataType, MetadataTypeForResponse class ManifestType(TypedDict): @@ -24,12 +24,27 @@ class ManifestType(TypedDict): resolved: NotRequired[ManifestPropResolvedType] +class ManifestTypeForResponse(TypedDict): + """Manifest""" + + name: str + file: NotRequired[ManifestPropFileTypeForResponse] + metadata: NotRequired[MetadataTypeForResponse] + resolved: NotRequired[ManifestPropResolvedTypeForResponse] + + class ManifestPropFileType(TypedDict): """ManifestPropFile""" source_location: NotRequired[str] +class ManifestPropFileTypeForResponse(TypedDict): + """ManifestPropFile""" + + source_location: NotRequired[str] + + ManifestPropResolvedType: TypeAlias = dict[str, Any] """ManifestPropResolved @@ -37,8 +52,18 @@ class ManifestPropFileType(TypedDict): """ +ManifestPropResolvedTypeForResponse: TypeAlias = dict[str, Any] +"""ManifestPropResolved + +A collection of resolved package dependencies. +""" + + __all__ = ( "ManifestPropFileType", + "ManifestPropFileTypeForResponse", "ManifestPropResolvedType", + "ManifestPropResolvedTypeForResponse", "ManifestType", + "ManifestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0382.py b/githubkit/versions/ghec_v2022_11_28/types/group_0382.py index 1d2445b5c..a6f97e920 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0382.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0382.py @@ -13,7 +13,7 @@ from typing import Any from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0379 import MetadataType +from .group_0379 import MetadataType, MetadataTypeForResponse class SnapshotType(TypedDict): @@ -32,6 +32,22 @@ class SnapshotType(TypedDict): scanned: datetime +class SnapshotTypeForResponse(TypedDict): + """snapshot + + Create a new snapshot of a repository's dependencies. + """ + + version: int + job: SnapshotPropJobTypeForResponse + sha: str + ref: str + detector: SnapshotPropDetectorTypeForResponse + metadata: NotRequired[MetadataTypeForResponse] + manifests: NotRequired[SnapshotPropManifestsTypeForResponse] + scanned: str + + class SnapshotPropJobType(TypedDict): """SnapshotPropJob""" @@ -40,6 +56,14 @@ class SnapshotPropJobType(TypedDict): html_url: NotRequired[str] +class SnapshotPropJobTypeForResponse(TypedDict): + """SnapshotPropJob""" + + id: str + correlator: str + html_url: NotRequired[str] + + class SnapshotPropDetectorType(TypedDict): """SnapshotPropDetector @@ -51,6 +75,17 @@ class SnapshotPropDetectorType(TypedDict): url: str +class SnapshotPropDetectorTypeForResponse(TypedDict): + """SnapshotPropDetector + + A description of the detector used. + """ + + name: str + version: str + url: str + + SnapshotPropManifestsType: TypeAlias = dict[str, Any] """SnapshotPropManifests @@ -59,9 +94,21 @@ class SnapshotPropDetectorType(TypedDict): """ +SnapshotPropManifestsTypeForResponse: TypeAlias = dict[str, Any] +"""SnapshotPropManifests + +A collection of package manifests, which are a collection of related +dependencies declared in a file or representing a logical group of dependencies. +""" + + __all__ = ( "SnapshotPropDetectorType", + "SnapshotPropDetectorTypeForResponse", "SnapshotPropJobType", + "SnapshotPropJobTypeForResponse", "SnapshotPropManifestsType", + "SnapshotPropManifestsTypeForResponse", "SnapshotType", + "SnapshotTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0383.py b/githubkit/versions/ghec_v2022_11_28/types/group_0383.py index 8e3d71848..36ce73b7d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0383.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0383.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentStatusType(TypedDict): @@ -42,4 +42,32 @@ class DeploymentStatusType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] -__all__ = ("DeploymentStatusType",) +class DeploymentStatusTypeForResponse(TypedDict): + """Deployment Status + + The status of a deployment. + """ + + url: str + id: int + node_id: str + state: Literal[ + "error", "failure", "inactive", "pending", "success", "queued", "in_progress" + ] + creator: Union[None, SimpleUserTypeForResponse] + description: str + environment: NotRequired[str] + target_url: str + created_at: str + updated_at: str + deployment_url: str + repository_url: str + environment_url: NotRequired[str] + log_url: NotRequired[str] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + +__all__ = ( + "DeploymentStatusType", + "DeploymentStatusTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0384.py b/githubkit/versions/ghec_v2022_11_28/types/group_0384.py index 2b9241c94..54de31ad8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0384.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0384.py @@ -23,4 +23,18 @@ class DeploymentBranchPolicySettingsType(TypedDict): custom_branch_policies: bool -__all__ = ("DeploymentBranchPolicySettingsType",) +class DeploymentBranchPolicySettingsTypeForResponse(TypedDict): + """DeploymentBranchPolicySettings + + The type of deployment branch policy for this environment. To allow all branches + to deploy, set to `null`. + """ + + protected_branches: bool + custom_branch_policies: bool + + +__all__ = ( + "DeploymentBranchPolicySettingsType", + "DeploymentBranchPolicySettingsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0385.py b/githubkit/versions/ghec_v2022_11_28/types/group_0385.py index 8ec662756..bd33098e2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0385.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0385.py @@ -13,8 +13,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0384 import DeploymentBranchPolicySettingsType -from .group_0386 import EnvironmentPropProtectionRulesItemsAnyof1Type +from .group_0384 import ( + DeploymentBranchPolicySettingsType, + DeploymentBranchPolicySettingsTypeForResponse, +) +from .group_0386 import ( + EnvironmentPropProtectionRulesItemsAnyof1Type, + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, +) class EnvironmentType(TypedDict): @@ -44,6 +50,33 @@ class EnvironmentType(TypedDict): ] +class EnvironmentTypeForResponse(TypedDict): + """Environment + + Details of a deployment environment + """ + + id: int + node_id: str + name: str + url: str + html_url: str + created_at: str + updated_at: str + protection_rules: NotRequired[ + list[ + Union[ + EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse, + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, + EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse, + ] + ] + ] + deployment_branch_policy: NotRequired[ + Union[DeploymentBranchPolicySettingsTypeForResponse, None] + ] + + class EnvironmentPropProtectionRulesItemsAnyof0Type(TypedDict): """EnvironmentPropProtectionRulesItemsAnyof0""" @@ -53,6 +86,15 @@ class EnvironmentPropProtectionRulesItemsAnyof0Type(TypedDict): wait_timer: NotRequired[int] +class EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof0""" + + id: int + node_id: str + type: str + wait_timer: NotRequired[int] + + class EnvironmentPropProtectionRulesItemsAnyof2Type(TypedDict): """EnvironmentPropProtectionRulesItemsAnyof2""" @@ -61,6 +103,14 @@ class EnvironmentPropProtectionRulesItemsAnyof2Type(TypedDict): type: str +class EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof2""" + + id: int + node_id: str + type: str + + class ReposOwnerRepoEnvironmentsGetResponse200Type(TypedDict): """ReposOwnerRepoEnvironmentsGetResponse200""" @@ -68,9 +118,20 @@ class ReposOwnerRepoEnvironmentsGetResponse200Type(TypedDict): environments: NotRequired[list[EnvironmentType]] +class ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoEnvironmentsGetResponse200""" + + total_count: NotRequired[int] + environments: NotRequired[list[EnvironmentTypeForResponse]] + + __all__ = ( "EnvironmentPropProtectionRulesItemsAnyof0Type", + "EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof2Type", + "EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse", "EnvironmentType", + "EnvironmentTypeForResponse", "ReposOwnerRepoEnvironmentsGetResponse200Type", + "ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0386.py b/githubkit/versions/ghec_v2022_11_28/types/group_0386.py index 2ca3596b3..b893679ec 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0386.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0386.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0387 import EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType +from .group_0387 import ( + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType, + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse, +) class EnvironmentPropProtectionRulesItemsAnyof1Type(TypedDict): @@ -26,4 +29,19 @@ class EnvironmentPropProtectionRulesItemsAnyof1Type(TypedDict): ] -__all__ = ("EnvironmentPropProtectionRulesItemsAnyof1Type",) +class EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof1""" + + id: int + node_id: str + prevent_self_review: NotRequired[bool] + type: str + reviewers: NotRequired[ + list[EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse] + ] + + +__all__ = ( + "EnvironmentPropProtectionRulesItemsAnyof1Type", + "EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0387.py b/githubkit/versions/ghec_v2022_11_28/types/group_0387.py index 4fe37e596..718df7864 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0387.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0387.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType(TypedDict): @@ -23,4 +23,16 @@ class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType(TypedDict) reviewer: NotRequired[Union[SimpleUserType, TeamType]] -__all__ = ("EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType",) +class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse( + TypedDict +): + """EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + reviewer: NotRequired[Union[SimpleUserTypeForResponse, TeamTypeForResponse]] + + +__all__ = ( + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType", + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0388.py b/githubkit/versions/ghec_v2022_11_28/types/group_0388.py index 35c7c1f2a..67cd2f438 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0388.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0388.py @@ -20,4 +20,14 @@ class DeploymentBranchPolicyNamePatternWithTypeType(TypedDict): type: NotRequired[Literal["branch", "tag"]] -__all__ = ("DeploymentBranchPolicyNamePatternWithTypeType",) +class DeploymentBranchPolicyNamePatternWithTypeTypeForResponse(TypedDict): + """Deployment branch and tag policy name pattern""" + + name: str + type: NotRequired[Literal["branch", "tag"]] + + +__all__ = ( + "DeploymentBranchPolicyNamePatternWithTypeType", + "DeploymentBranchPolicyNamePatternWithTypeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0389.py b/githubkit/versions/ghec_v2022_11_28/types/group_0389.py index 784015c57..75b5ca7a8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0389.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0389.py @@ -18,4 +18,13 @@ class DeploymentBranchPolicyNamePatternType(TypedDict): name: str -__all__ = ("DeploymentBranchPolicyNamePatternType",) +class DeploymentBranchPolicyNamePatternTypeForResponse(TypedDict): + """Deployment branch policy name pattern""" + + name: str + + +__all__ = ( + "DeploymentBranchPolicyNamePatternType", + "DeploymentBranchPolicyNamePatternTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0390.py b/githubkit/versions/ghec_v2022_11_28/types/group_0390.py index 55685e749..3ea9b15f6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0390.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0390.py @@ -24,4 +24,19 @@ class CustomDeploymentRuleAppType(TypedDict): node_id: str -__all__ = ("CustomDeploymentRuleAppType",) +class CustomDeploymentRuleAppTypeForResponse(TypedDict): + """Custom deployment protection rule app + + A GitHub App that is providing a custom deployment protection rule. + """ + + id: int + slug: str + integration_url: str + node_id: str + + +__all__ = ( + "CustomDeploymentRuleAppType", + "CustomDeploymentRuleAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0391.py b/githubkit/versions/ghec_v2022_11_28/types/group_0391.py index 9d2c0e2d5..ff08e3c69 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0391.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0391.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0390 import CustomDeploymentRuleAppType +from .group_0390 import ( + CustomDeploymentRuleAppType, + CustomDeploymentRuleAppTypeForResponse, +) class DeploymentProtectionRuleType(TypedDict): @@ -26,6 +29,18 @@ class DeploymentProtectionRuleType(TypedDict): app: CustomDeploymentRuleAppType +class DeploymentProtectionRuleTypeForResponse(TypedDict): + """Deployment protection rule + + Deployment protection rule + """ + + id: int + node_id: str + enabled: bool + app: CustomDeploymentRuleAppTypeForResponse + + class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type( TypedDict ): @@ -39,7 +54,24 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetRespo custom_deployment_protection_rules: NotRequired[list[DeploymentProtectionRuleType]] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200 + + Examples: + {'$ref': '#/components/examples/deployment-protection-rules'} + """ + + total_count: NotRequired[int] + custom_deployment_protection_rules: NotRequired[ + list[DeploymentProtectionRuleTypeForResponse] + ] + + __all__ = ( "DeploymentProtectionRuleType", + "DeploymentProtectionRuleTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0392.py b/githubkit/versions/ghec_v2022_11_28/types/group_0392.py index deb8a4c9a..1c523ddac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0392.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0392.py @@ -22,4 +22,17 @@ class ShortBlobType(TypedDict): sha: str -__all__ = ("ShortBlobType",) +class ShortBlobTypeForResponse(TypedDict): + """Short Blob + + Short Blob + """ + + url: str + sha: str + + +__all__ = ( + "ShortBlobType", + "ShortBlobTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0393.py b/githubkit/versions/ghec_v2022_11_28/types/group_0393.py index 7145ff7f3..0989ffc02 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0393.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0393.py @@ -28,4 +28,22 @@ class BlobType(TypedDict): highlighted_content: NotRequired[str] -__all__ = ("BlobType",) +class BlobTypeForResponse(TypedDict): + """Blob + + Blob + """ + + content: str + encoding: str + url: str + sha: str + size: Union[int, None] + node_id: str + highlighted_content: NotRequired[str] + + +__all__ = ( + "BlobType", + "BlobTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0394.py b/githubkit/versions/ghec_v2022_11_28/types/group_0394.py index cb7d784df..1cfd3649e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0394.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0394.py @@ -32,6 +32,24 @@ class GitCommitType(TypedDict): html_url: str +class GitCommitTypeForResponse(TypedDict): + """Git Commit + + Low-level Git commit operations within a repository + """ + + sha: str + node_id: str + url: str + author: GitCommitPropAuthorTypeForResponse + committer: GitCommitPropCommitterTypeForResponse + message: str + tree: GitCommitPropTreeTypeForResponse + parents: list[GitCommitPropParentsItemsTypeForResponse] + verification: GitCommitPropVerificationTypeForResponse + html_url: str + + class GitCommitPropAuthorType(TypedDict): """GitCommitPropAuthor @@ -43,6 +61,17 @@ class GitCommitPropAuthorType(TypedDict): name: str +class GitCommitPropAuthorTypeForResponse(TypedDict): + """GitCommitPropAuthor + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class GitCommitPropCommitterType(TypedDict): """GitCommitPropCommitter @@ -54,6 +83,17 @@ class GitCommitPropCommitterType(TypedDict): name: str +class GitCommitPropCommitterTypeForResponse(TypedDict): + """GitCommitPropCommitter + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class GitCommitPropTreeType(TypedDict): """GitCommitPropTree""" @@ -61,6 +101,13 @@ class GitCommitPropTreeType(TypedDict): url: str +class GitCommitPropTreeTypeForResponse(TypedDict): + """GitCommitPropTree""" + + sha: str + url: str + + class GitCommitPropParentsItemsType(TypedDict): """GitCommitPropParentsItems""" @@ -69,6 +116,14 @@ class GitCommitPropParentsItemsType(TypedDict): html_url: str +class GitCommitPropParentsItemsTypeForResponse(TypedDict): + """GitCommitPropParentsItems""" + + sha: str + url: str + html_url: str + + class GitCommitPropVerificationType(TypedDict): """GitCommitPropVerification""" @@ -79,11 +134,27 @@ class GitCommitPropVerificationType(TypedDict): verified_at: Union[str, None] +class GitCommitPropVerificationTypeForResponse(TypedDict): + """GitCommitPropVerification""" + + verified: bool + reason: str + signature: Union[str, None] + payload: Union[str, None] + verified_at: Union[str, None] + + __all__ = ( "GitCommitPropAuthorType", + "GitCommitPropAuthorTypeForResponse", "GitCommitPropCommitterType", + "GitCommitPropCommitterTypeForResponse", "GitCommitPropParentsItemsType", + "GitCommitPropParentsItemsTypeForResponse", "GitCommitPropTreeType", + "GitCommitPropTreeTypeForResponse", "GitCommitPropVerificationType", + "GitCommitPropVerificationTypeForResponse", "GitCommitType", + "GitCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0395.py b/githubkit/versions/ghec_v2022_11_28/types/group_0395.py index 5f8d78e7c..287f452af 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0395.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0395.py @@ -24,6 +24,18 @@ class GitRefType(TypedDict): object_: GitRefPropObjectType +class GitRefTypeForResponse(TypedDict): + """Git Reference + + Git references within a repository + """ + + ref: str + node_id: str + url: str + object_: GitRefPropObjectTypeForResponse + + class GitRefPropObjectType(TypedDict): """GitRefPropObject""" @@ -32,7 +44,17 @@ class GitRefPropObjectType(TypedDict): url: str +class GitRefPropObjectTypeForResponse(TypedDict): + """GitRefPropObject""" + + type: str + sha: str + url: str + + __all__ = ( "GitRefPropObjectType", + "GitRefPropObjectTypeForResponse", "GitRefType", + "GitRefTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0396.py b/githubkit/versions/ghec_v2022_11_28/types/group_0396.py index aa367d44b..bc7eeaf09 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0396.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0396.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0324 import VerificationType +from .group_0324 import VerificationType, VerificationTypeForResponse class GitTagType(TypedDict): @@ -30,6 +30,22 @@ class GitTagType(TypedDict): verification: NotRequired[VerificationType] +class GitTagTypeForResponse(TypedDict): + """Git Tag + + Metadata for a Git tag + """ + + node_id: str + tag: str + sha: str + url: str + message: str + tagger: GitTagPropTaggerTypeForResponse + object_: GitTagPropObjectTypeForResponse + verification: NotRequired[VerificationTypeForResponse] + + class GitTagPropTaggerType(TypedDict): """GitTagPropTagger""" @@ -38,6 +54,14 @@ class GitTagPropTaggerType(TypedDict): name: str +class GitTagPropTaggerTypeForResponse(TypedDict): + """GitTagPropTagger""" + + date: str + email: str + name: str + + class GitTagPropObjectType(TypedDict): """GitTagPropObject""" @@ -46,8 +70,19 @@ class GitTagPropObjectType(TypedDict): url: str +class GitTagPropObjectTypeForResponse(TypedDict): + """GitTagPropObject""" + + sha: str + type: str + url: str + + __all__ = ( "GitTagPropObjectType", + "GitTagPropObjectTypeForResponse", "GitTagPropTaggerType", + "GitTagPropTaggerTypeForResponse", "GitTagType", + "GitTagTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0397.py b/githubkit/versions/ghec_v2022_11_28/types/group_0397.py index 6559266ff..4369e728a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0397.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0397.py @@ -24,6 +24,18 @@ class GitTreeType(TypedDict): tree: list[GitTreePropTreeItemsType] +class GitTreeTypeForResponse(TypedDict): + """Git Tree + + The hierarchy between files in a Git repository. + """ + + sha: str + url: NotRequired[str] + truncated: bool + tree: list[GitTreePropTreeItemsTypeForResponse] + + class GitTreePropTreeItemsType(TypedDict): """GitTreePropTreeItems""" @@ -35,7 +47,20 @@ class GitTreePropTreeItemsType(TypedDict): url: NotRequired[str] +class GitTreePropTreeItemsTypeForResponse(TypedDict): + """GitTreePropTreeItems""" + + path: str + mode: str + type: str + sha: str + size: NotRequired[int] + url: NotRequired[str] + + __all__ = ( "GitTreePropTreeItemsType", + "GitTreePropTreeItemsTypeForResponse", "GitTreeType", + "GitTreeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0398.py b/githubkit/versions/ghec_v2022_11_28/types/group_0398.py index 2763aab9e..d20a17de3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0398.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0398.py @@ -21,4 +21,15 @@ class HookResponseType(TypedDict): message: Union[str, None] -__all__ = ("HookResponseType",) +class HookResponseTypeForResponse(TypedDict): + """Hook Response""" + + code: Union[int, None] + status: Union[str, None] + message: Union[str, None] + + +__all__ = ( + "HookResponseType", + "HookResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0399.py b/githubkit/versions/ghec_v2022_11_28/types/group_0399.py index 2e01843e4..600987136 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0399.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0399.py @@ -12,8 +12,8 @@ from datetime import datetime from typing_extensions import NotRequired, TypedDict -from .group_0011 import WebhookConfigType -from .group_0398 import HookResponseType +from .group_0011 import WebhookConfigType, WebhookConfigTypeForResponse +from .group_0398 import HookResponseType, HookResponseTypeForResponse class HookType(TypedDict): @@ -37,4 +37,28 @@ class HookType(TypedDict): last_response: HookResponseType -__all__ = ("HookType",) +class HookTypeForResponse(TypedDict): + """Webhook + + Webhooks for repositories. + """ + + type: str + id: int + name: str + active: bool + events: list[str] + config: WebhookConfigTypeForResponse + updated_at: str + created_at: str + url: str + test_url: str + ping_url: str + deliveries_url: NotRequired[str] + last_response: HookResponseTypeForResponse + + +__all__ = ( + "HookType", + "HookTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0400.py b/githubkit/versions/ghec_v2022_11_28/types/group_0400.py index cb5cfcdb8..24f0adc71 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0400.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0400.py @@ -22,4 +22,17 @@ class CheckImmutableReleasesType(TypedDict): enforced_by_owner: bool -__all__ = ("CheckImmutableReleasesType",) +class CheckImmutableReleasesTypeForResponse(TypedDict): + """Check immutable releases + + Check immutable releases + """ + + enabled: bool + enforced_by_owner: bool + + +__all__ = ( + "CheckImmutableReleasesType", + "CheckImmutableReleasesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0401.py b/githubkit/versions/ghec_v2022_11_28/types/group_0401.py index 991490339..08d2a0399 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0401.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0401.py @@ -61,6 +61,54 @@ class ImportType(TypedDict): svn_root: NotRequired[str] +class ImportTypeForResponse(TypedDict): + """Import + + A repository import from an external source. + """ + + vcs: Union[str, None] + use_lfs: NotRequired[bool] + vcs_url: str + svc_root: NotRequired[str] + tfvc_project: NotRequired[str] + status: Literal[ + "auth", + "error", + "none", + "detecting", + "choose", + "auth_failed", + "importing", + "mapping", + "waiting_to_push", + "pushing", + "complete", + "setup", + "unknown", + "detection_found_multiple", + "detection_found_nothing", + "detection_needs_auth", + ] + status_text: NotRequired[Union[str, None]] + failed_step: NotRequired[Union[str, None]] + error_message: NotRequired[Union[str, None]] + import_percent: NotRequired[Union[int, None]] + commit_count: NotRequired[Union[int, None]] + push_percent: NotRequired[Union[int, None]] + has_large_files: NotRequired[bool] + large_files_size: NotRequired[int] + large_files_count: NotRequired[int] + project_choices: NotRequired[list[ImportPropProjectChoicesItemsTypeForResponse]] + message: NotRequired[str] + authors_count: NotRequired[Union[int, None]] + url: str + html_url: str + authors_url: str + repository_url: str + svn_root: NotRequired[str] + + class ImportPropProjectChoicesItemsType(TypedDict): """ImportPropProjectChoicesItems""" @@ -69,7 +117,17 @@ class ImportPropProjectChoicesItemsType(TypedDict): human_name: NotRequired[str] +class ImportPropProjectChoicesItemsTypeForResponse(TypedDict): + """ImportPropProjectChoicesItems""" + + vcs: NotRequired[str] + tfvc_project: NotRequired[str] + human_name: NotRequired[str] + + __all__ = ( "ImportPropProjectChoicesItemsType", + "ImportPropProjectChoicesItemsTypeForResponse", "ImportType", + "ImportTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0402.py b/githubkit/versions/ghec_v2022_11_28/types/group_0402.py index a760ba55a..b4a2eb302 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0402.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0402.py @@ -27,4 +27,22 @@ class PorterAuthorType(TypedDict): import_url: str -__all__ = ("PorterAuthorType",) +class PorterAuthorTypeForResponse(TypedDict): + """Porter Author + + Porter Author + """ + + id: int + remote_id: str + remote_name: str + email: str + name: str + url: str + import_url: str + + +__all__ = ( + "PorterAuthorType", + "PorterAuthorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0403.py b/githubkit/versions/ghec_v2022_11_28/types/group_0403.py index ae1425148..6347f6a59 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0403.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0403.py @@ -24,4 +24,19 @@ class PorterLargeFileType(TypedDict): size: int -__all__ = ("PorterLargeFileType",) +class PorterLargeFileTypeForResponse(TypedDict): + """Porter Large File + + Porter Large File + """ + + ref_name: str + path: str + oid: str + size: int + + +__all__ = ( + "PorterLargeFileType", + "PorterLargeFileTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0404.py b/githubkit/versions/ghec_v2022_11_28/types/group_0404.py index a4f1d2d50..3313190f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0404.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0404.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0080 import TeamType -from .group_0198 import IssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse class IssueEventType(TypedDict): @@ -60,6 +60,47 @@ class IssueEventType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] +class IssueEventTypeForResponse(TypedDict): + """Issue Event + + Issue Event + """ + + id: int + node_id: str + url: str + actor: Union[None, SimpleUserTypeForResponse] + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + issue: NotRequired[Union[None, IssueTypeForResponse]] + label: NotRequired[IssueEventLabelTypeForResponse] + assignee: NotRequired[Union[None, SimpleUserTypeForResponse]] + assigner: NotRequired[Union[None, SimpleUserTypeForResponse]] + review_requester: NotRequired[Union[None, SimpleUserTypeForResponse]] + requested_reviewer: NotRequired[Union[None, SimpleUserTypeForResponse]] + requested_team: NotRequired[TeamTypeForResponse] + dismissed_review: NotRequired[IssueEventDismissedReviewTypeForResponse] + milestone: NotRequired[IssueEventMilestoneTypeForResponse] + project_card: NotRequired[IssueEventProjectCardTypeForResponse] + rename: NotRequired[IssueEventRenameTypeForResponse] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + lock_reason: NotRequired[Union[str, None]] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + class IssueEventLabelType(TypedDict): """Issue Event Label @@ -70,6 +111,16 @@ class IssueEventLabelType(TypedDict): color: Union[str, None] +class IssueEventLabelTypeForResponse(TypedDict): + """Issue Event Label + + Issue Event Label + """ + + name: Union[str, None] + color: Union[str, None] + + class IssueEventDismissedReviewType(TypedDict): """Issue Event Dismissed Review""" @@ -79,6 +130,15 @@ class IssueEventDismissedReviewType(TypedDict): dismissal_commit_id: NotRequired[Union[str, None]] +class IssueEventDismissedReviewTypeForResponse(TypedDict): + """Issue Event Dismissed Review""" + + state: str + review_id: int + dismissal_message: Union[str, None] + dismissal_commit_id: NotRequired[Union[str, None]] + + class IssueEventMilestoneType(TypedDict): """Issue Event Milestone @@ -88,6 +148,15 @@ class IssueEventMilestoneType(TypedDict): title: str +class IssueEventMilestoneTypeForResponse(TypedDict): + """Issue Event Milestone + + Issue Event Milestone + """ + + title: str + + class IssueEventProjectCardType(TypedDict): """Issue Event Project Card @@ -102,6 +171,20 @@ class IssueEventProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class IssueEventProjectCardTypeForResponse(TypedDict): + """Issue Event Project Card + + Issue Event Project Card + """ + + url: str + id: int + project_url: str + project_id: int + column_name: str + previous_column_name: NotRequired[str] + + class IssueEventRenameType(TypedDict): """Issue Event Rename @@ -112,11 +195,27 @@ class IssueEventRenameType(TypedDict): to: str +class IssueEventRenameTypeForResponse(TypedDict): + """Issue Event Rename + + Issue Event Rename + """ + + from_: str + to: str + + __all__ = ( "IssueEventDismissedReviewType", + "IssueEventDismissedReviewTypeForResponse", "IssueEventLabelType", + "IssueEventLabelTypeForResponse", "IssueEventMilestoneType", + "IssueEventMilestoneTypeForResponse", "IssueEventProjectCardType", + "IssueEventProjectCardTypeForResponse", "IssueEventRenameType", + "IssueEventRenameTypeForResponse", "IssueEventType", + "IssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0405.py b/githubkit/versions/ghec_v2022_11_28/types/group_0405.py index e030b2d8c..5b9522f97 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0405.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0405.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class LabeledIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class LabeledIssueEventType(TypedDict): label: LabeledIssueEventPropLabelType +class LabeledIssueEventTypeForResponse(TypedDict): + """Labeled Issue Event + + Labeled Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["labeled"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + label: LabeledIssueEventPropLabelTypeForResponse + + class LabeledIssueEventPropLabelType(TypedDict): """LabeledIssueEventPropLabel""" @@ -41,7 +59,16 @@ class LabeledIssueEventPropLabelType(TypedDict): color: str +class LabeledIssueEventPropLabelTypeForResponse(TypedDict): + """LabeledIssueEventPropLabel""" + + name: str + color: str + + __all__ = ( "LabeledIssueEventPropLabelType", + "LabeledIssueEventPropLabelTypeForResponse", "LabeledIssueEventType", + "LabeledIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0406.py b/githubkit/versions/ghec_v2022_11_28/types/group_0406.py index 94fd5f2f1..607ed755a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0406.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0406.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class UnlabeledIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class UnlabeledIssueEventType(TypedDict): label: UnlabeledIssueEventPropLabelType +class UnlabeledIssueEventTypeForResponse(TypedDict): + """Unlabeled Issue Event + + Unlabeled Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["unlabeled"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + label: UnlabeledIssueEventPropLabelTypeForResponse + + class UnlabeledIssueEventPropLabelType(TypedDict): """UnlabeledIssueEventPropLabel""" @@ -41,7 +59,16 @@ class UnlabeledIssueEventPropLabelType(TypedDict): color: str +class UnlabeledIssueEventPropLabelTypeForResponse(TypedDict): + """UnlabeledIssueEventPropLabel""" + + name: str + color: str + + __all__ = ( "UnlabeledIssueEventPropLabelType", + "UnlabeledIssueEventPropLabelTypeForResponse", "UnlabeledIssueEventType", + "UnlabeledIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0407.py b/githubkit/versions/ghec_v2022_11_28/types/group_0407.py index 735f4766c..77fd56c49 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0407.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0407.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class AssignedIssueEventType(TypedDict): @@ -35,4 +35,26 @@ class AssignedIssueEventType(TypedDict): assigner: SimpleUserType -__all__ = ("AssignedIssueEventType",) +class AssignedIssueEventTypeForResponse(TypedDict): + """Assigned Issue Event + + Assigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + assigner: SimpleUserTypeForResponse + + +__all__ = ( + "AssignedIssueEventType", + "AssignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0408.py b/githubkit/versions/ghec_v2022_11_28/types/group_0408.py index cee4c2513..9f3572b6a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0408.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0408.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class UnassignedIssueEventType(TypedDict): @@ -35,4 +35,26 @@ class UnassignedIssueEventType(TypedDict): assigner: SimpleUserType -__all__ = ("UnassignedIssueEventType",) +class UnassignedIssueEventTypeForResponse(TypedDict): + """Unassigned Issue Event + + Unassigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + assigner: SimpleUserTypeForResponse + + +__all__ = ( + "UnassignedIssueEventType", + "UnassignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0409.py b/githubkit/versions/ghec_v2022_11_28/types/group_0409.py index 2b6b9a914..1a28663c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0409.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0409.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class MilestonedIssueEventType(TypedDict): @@ -34,13 +34,39 @@ class MilestonedIssueEventType(TypedDict): milestone: MilestonedIssueEventPropMilestoneType +class MilestonedIssueEventTypeForResponse(TypedDict): + """Milestoned Issue Event + + Milestoned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["milestoned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + milestone: MilestonedIssueEventPropMilestoneTypeForResponse + + class MilestonedIssueEventPropMilestoneType(TypedDict): """MilestonedIssueEventPropMilestone""" title: str +class MilestonedIssueEventPropMilestoneTypeForResponse(TypedDict): + """MilestonedIssueEventPropMilestone""" + + title: str + + __all__ = ( "MilestonedIssueEventPropMilestoneType", + "MilestonedIssueEventPropMilestoneTypeForResponse", "MilestonedIssueEventType", + "MilestonedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0410.py b/githubkit/versions/ghec_v2022_11_28/types/group_0410.py index dfaf3aff4..60ccecc3f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0410.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0410.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DemilestonedIssueEventType(TypedDict): @@ -34,13 +34,39 @@ class DemilestonedIssueEventType(TypedDict): milestone: DemilestonedIssueEventPropMilestoneType +class DemilestonedIssueEventTypeForResponse(TypedDict): + """Demilestoned Issue Event + + Demilestoned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["demilestoned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + milestone: DemilestonedIssueEventPropMilestoneTypeForResponse + + class DemilestonedIssueEventPropMilestoneType(TypedDict): """DemilestonedIssueEventPropMilestone""" title: str +class DemilestonedIssueEventPropMilestoneTypeForResponse(TypedDict): + """DemilestonedIssueEventPropMilestone""" + + title: str + + __all__ = ( "DemilestonedIssueEventPropMilestoneType", + "DemilestonedIssueEventPropMilestoneTypeForResponse", "DemilestonedIssueEventType", + "DemilestonedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0411.py b/githubkit/versions/ghec_v2022_11_28/types/group_0411.py index 6d9cdf5e9..94b63e682 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0411.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0411.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class RenamedIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class RenamedIssueEventType(TypedDict): rename: RenamedIssueEventPropRenameType +class RenamedIssueEventTypeForResponse(TypedDict): + """Renamed Issue Event + + Renamed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["renamed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + rename: RenamedIssueEventPropRenameTypeForResponse + + class RenamedIssueEventPropRenameType(TypedDict): """RenamedIssueEventPropRename""" @@ -41,7 +59,16 @@ class RenamedIssueEventPropRenameType(TypedDict): to: str +class RenamedIssueEventPropRenameTypeForResponse(TypedDict): + """RenamedIssueEventPropRename""" + + from_: str + to: str + + __all__ = ( "RenamedIssueEventPropRenameType", + "RenamedIssueEventPropRenameTypeForResponse", "RenamedIssueEventType", + "RenamedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0412.py b/githubkit/versions/ghec_v2022_11_28/types/group_0412.py index ca73c221d..ed75e7793 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0412.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0412.py @@ -12,9 +12,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class ReviewRequestedIssueEventType(TypedDict): @@ -37,4 +37,27 @@ class ReviewRequestedIssueEventType(TypedDict): requested_reviewer: NotRequired[SimpleUserType] -__all__ = ("ReviewRequestedIssueEventType",) +class ReviewRequestedIssueEventTypeForResponse(TypedDict): + """Review Requested Issue Event + + Review Requested Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_requested"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + review_requester: SimpleUserTypeForResponse + requested_team: NotRequired[TeamTypeForResponse] + requested_reviewer: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "ReviewRequestedIssueEventType", + "ReviewRequestedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0413.py b/githubkit/versions/ghec_v2022_11_28/types/group_0413.py index 3dd712dab..3a0b6a55e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0413.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0413.py @@ -12,9 +12,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class ReviewRequestRemovedIssueEventType(TypedDict): @@ -37,4 +37,27 @@ class ReviewRequestRemovedIssueEventType(TypedDict): requested_reviewer: NotRequired[SimpleUserType] -__all__ = ("ReviewRequestRemovedIssueEventType",) +class ReviewRequestRemovedIssueEventTypeForResponse(TypedDict): + """Review Request Removed Issue Event + + Review Request Removed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_request_removed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + review_requester: SimpleUserTypeForResponse + requested_team: NotRequired[TeamTypeForResponse] + requested_reviewer: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "ReviewRequestRemovedIssueEventType", + "ReviewRequestRemovedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0414.py b/githubkit/versions/ghec_v2022_11_28/types/group_0414.py index 160c5a57c..60e83087f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0414.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0414.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class ReviewDismissedIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class ReviewDismissedIssueEventType(TypedDict): dismissed_review: ReviewDismissedIssueEventPropDismissedReviewType +class ReviewDismissedIssueEventTypeForResponse(TypedDict): + """Review Dismissed Issue Event + + Review Dismissed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_dismissed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + dismissed_review: ReviewDismissedIssueEventPropDismissedReviewTypeForResponse + + class ReviewDismissedIssueEventPropDismissedReviewType(TypedDict): """ReviewDismissedIssueEventPropDismissedReview""" @@ -43,7 +61,18 @@ class ReviewDismissedIssueEventPropDismissedReviewType(TypedDict): dismissal_commit_id: NotRequired[str] +class ReviewDismissedIssueEventPropDismissedReviewTypeForResponse(TypedDict): + """ReviewDismissedIssueEventPropDismissedReview""" + + state: str + review_id: int + dismissal_message: Union[str, None] + dismissal_commit_id: NotRequired[str] + + __all__ = ( "ReviewDismissedIssueEventPropDismissedReviewType", + "ReviewDismissedIssueEventPropDismissedReviewTypeForResponse", "ReviewDismissedIssueEventType", + "ReviewDismissedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0415.py b/githubkit/versions/ghec_v2022_11_28/types/group_0415.py index 1c8f2b944..b64f7e558 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0415.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0415.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class LockedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class LockedIssueEventType(TypedDict): lock_reason: Union[str, None] -__all__ = ("LockedIssueEventType",) +class LockedIssueEventTypeForResponse(TypedDict): + """Locked Issue Event + + Locked Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["locked"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + lock_reason: Union[str, None] + + +__all__ = ( + "LockedIssueEventType", + "LockedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0416.py b/githubkit/versions/ghec_v2022_11_28/types/group_0416.py index c1191415d..1a7ae0170 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0416.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0416.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class AddedToProjectIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class AddedToProjectIssueEventType(TypedDict): project_card: NotRequired[AddedToProjectIssueEventPropProjectCardType] +class AddedToProjectIssueEventTypeForResponse(TypedDict): + """Added to Project Issue Event + + Added to Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["added_to_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[AddedToProjectIssueEventPropProjectCardTypeForResponse] + + class AddedToProjectIssueEventPropProjectCardType(TypedDict): """AddedToProjectIssueEventPropProjectCard""" @@ -45,7 +63,20 @@ class AddedToProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class AddedToProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """AddedToProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "AddedToProjectIssueEventPropProjectCardType", + "AddedToProjectIssueEventPropProjectCardTypeForResponse", "AddedToProjectIssueEventType", + "AddedToProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0417.py b/githubkit/versions/ghec_v2022_11_28/types/group_0417.py index c8c8ecbcf..1e0cd3854 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0417.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0417.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class MovedColumnInProjectIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class MovedColumnInProjectIssueEventType(TypedDict): project_card: NotRequired[MovedColumnInProjectIssueEventPropProjectCardType] +class MovedColumnInProjectIssueEventTypeForResponse(TypedDict): + """Moved Column in Project Issue Event + + Moved Column in Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["moved_columns_in_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[ + MovedColumnInProjectIssueEventPropProjectCardTypeForResponse + ] + + class MovedColumnInProjectIssueEventPropProjectCardType(TypedDict): """MovedColumnInProjectIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class MovedColumnInProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class MovedColumnInProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """MovedColumnInProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "MovedColumnInProjectIssueEventPropProjectCardType", + "MovedColumnInProjectIssueEventPropProjectCardTypeForResponse", "MovedColumnInProjectIssueEventType", + "MovedColumnInProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0418.py b/githubkit/versions/ghec_v2022_11_28/types/group_0418.py index 8616df3d4..d713e771b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0418.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0418.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class RemovedFromProjectIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class RemovedFromProjectIssueEventType(TypedDict): project_card: NotRequired[RemovedFromProjectIssueEventPropProjectCardType] +class RemovedFromProjectIssueEventTypeForResponse(TypedDict): + """Removed from Project Issue Event + + Removed from Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["removed_from_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[ + RemovedFromProjectIssueEventPropProjectCardTypeForResponse + ] + + class RemovedFromProjectIssueEventPropProjectCardType(TypedDict): """RemovedFromProjectIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class RemovedFromProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class RemovedFromProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """RemovedFromProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "RemovedFromProjectIssueEventPropProjectCardType", + "RemovedFromProjectIssueEventPropProjectCardTypeForResponse", "RemovedFromProjectIssueEventType", + "RemovedFromProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0419.py b/githubkit/versions/ghec_v2022_11_28/types/group_0419.py index 03ad239c9..61a3acfa7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0419.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0419.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class ConvertedNoteToIssueIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class ConvertedNoteToIssueIssueEventType(TypedDict): project_card: NotRequired[ConvertedNoteToIssueIssueEventPropProjectCardType] +class ConvertedNoteToIssueIssueEventTypeForResponse(TypedDict): + """Converted Note to Issue Issue Event + + Converted Note to Issue Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["converted_note_to_issue"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + project_card: NotRequired[ + ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse + ] + + class ConvertedNoteToIssueIssueEventPropProjectCardType(TypedDict): """ConvertedNoteToIssueIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class ConvertedNoteToIssueIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse(TypedDict): + """ConvertedNoteToIssueIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "ConvertedNoteToIssueIssueEventPropProjectCardType", + "ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse", "ConvertedNoteToIssueIssueEventType", + "ConvertedNoteToIssueIssueEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0420.py b/githubkit/versions/ghec_v2022_11_28/types/group_0420.py index 8de649799..16f1827ce 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0420.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0420.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class TimelineCommentEventType(TypedDict): @@ -51,4 +51,40 @@ class TimelineCommentEventType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TimelineCommentEventType",) +class TimelineCommentEventTypeForResponse(TypedDict): + """Timeline Comment Event + + Timeline Comment Event + """ + + event: Literal["commented"] + actor: SimpleUserTypeForResponse + id: int + node_id: str + url: str + body: NotRequired[str] + body_text: NotRequired[str] + body_html: NotRequired[str] + html_url: str + user: SimpleUserTypeForResponse + created_at: str + updated_at: str + issue_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TimelineCommentEventType", + "TimelineCommentEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0421.py b/githubkit/versions/ghec_v2022_11_28/types/group_0421.py index 1e667e2fe..4e8825b5b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0421.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0421.py @@ -13,8 +13,11 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0422 import TimelineCrossReferencedEventPropSourceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0422 import ( + TimelineCrossReferencedEventPropSourceType, + TimelineCrossReferencedEventPropSourceTypeForResponse, +) class TimelineCrossReferencedEventType(TypedDict): @@ -30,4 +33,20 @@ class TimelineCrossReferencedEventType(TypedDict): source: TimelineCrossReferencedEventPropSourceType -__all__ = ("TimelineCrossReferencedEventType",) +class TimelineCrossReferencedEventTypeForResponse(TypedDict): + """Timeline Cross Referenced Event + + Timeline Cross Referenced Event + """ + + event: Literal["cross-referenced"] + actor: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + source: TimelineCrossReferencedEventPropSourceTypeForResponse + + +__all__ = ( + "TimelineCrossReferencedEventType", + "TimelineCrossReferencedEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0422.py b/githubkit/versions/ghec_v2022_11_28/types/group_0422.py index b1afe621c..3f596f068 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0422.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0422.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0198 import IssueType +from .group_0198 import IssueType, IssueTypeForResponse class TimelineCrossReferencedEventPropSourceType(TypedDict): @@ -21,4 +21,14 @@ class TimelineCrossReferencedEventPropSourceType(TypedDict): issue: NotRequired[IssueType] -__all__ = ("TimelineCrossReferencedEventPropSourceType",) +class TimelineCrossReferencedEventPropSourceTypeForResponse(TypedDict): + """TimelineCrossReferencedEventPropSource""" + + type: NotRequired[str] + issue: NotRequired[IssueTypeForResponse] + + +__all__ = ( + "TimelineCrossReferencedEventPropSourceType", + "TimelineCrossReferencedEventPropSourceTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0423.py b/githubkit/versions/ghec_v2022_11_28/types/group_0423.py index 11c95229f..f3b550a71 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0423.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0423.py @@ -33,6 +33,25 @@ class TimelineCommittedEventType(TypedDict): html_url: str +class TimelineCommittedEventTypeForResponse(TypedDict): + """Timeline Committed Event + + Timeline Committed Event + """ + + event: NotRequired[Literal["committed"]] + sha: str + node_id: str + url: str + author: TimelineCommittedEventPropAuthorTypeForResponse + committer: TimelineCommittedEventPropCommitterTypeForResponse + message: str + tree: TimelineCommittedEventPropTreeTypeForResponse + parents: list[TimelineCommittedEventPropParentsItemsTypeForResponse] + verification: TimelineCommittedEventPropVerificationTypeForResponse + html_url: str + + class TimelineCommittedEventPropAuthorType(TypedDict): """TimelineCommittedEventPropAuthor @@ -44,6 +63,17 @@ class TimelineCommittedEventPropAuthorType(TypedDict): name: str +class TimelineCommittedEventPropAuthorTypeForResponse(TypedDict): + """TimelineCommittedEventPropAuthor + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class TimelineCommittedEventPropCommitterType(TypedDict): """TimelineCommittedEventPropCommitter @@ -55,6 +85,17 @@ class TimelineCommittedEventPropCommitterType(TypedDict): name: str +class TimelineCommittedEventPropCommitterTypeForResponse(TypedDict): + """TimelineCommittedEventPropCommitter + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class TimelineCommittedEventPropTreeType(TypedDict): """TimelineCommittedEventPropTree""" @@ -62,6 +103,13 @@ class TimelineCommittedEventPropTreeType(TypedDict): url: str +class TimelineCommittedEventPropTreeTypeForResponse(TypedDict): + """TimelineCommittedEventPropTree""" + + sha: str + url: str + + class TimelineCommittedEventPropParentsItemsType(TypedDict): """TimelineCommittedEventPropParentsItems""" @@ -70,6 +118,14 @@ class TimelineCommittedEventPropParentsItemsType(TypedDict): html_url: str +class TimelineCommittedEventPropParentsItemsTypeForResponse(TypedDict): + """TimelineCommittedEventPropParentsItems""" + + sha: str + url: str + html_url: str + + class TimelineCommittedEventPropVerificationType(TypedDict): """TimelineCommittedEventPropVerification""" @@ -80,11 +136,27 @@ class TimelineCommittedEventPropVerificationType(TypedDict): verified_at: Union[str, None] +class TimelineCommittedEventPropVerificationTypeForResponse(TypedDict): + """TimelineCommittedEventPropVerification""" + + verified: bool + reason: str + signature: Union[str, None] + payload: Union[str, None] + verified_at: Union[str, None] + + __all__ = ( "TimelineCommittedEventPropAuthorType", + "TimelineCommittedEventPropAuthorTypeForResponse", "TimelineCommittedEventPropCommitterType", + "TimelineCommittedEventPropCommitterTypeForResponse", "TimelineCommittedEventPropParentsItemsType", + "TimelineCommittedEventPropParentsItemsTypeForResponse", "TimelineCommittedEventPropTreeType", + "TimelineCommittedEventPropTreeTypeForResponse", "TimelineCommittedEventPropVerificationType", + "TimelineCommittedEventPropVerificationTypeForResponse", "TimelineCommittedEventType", + "TimelineCommittedEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0424.py b/githubkit/versions/ghec_v2022_11_28/types/group_0424.py index 55111041f..cc142ae3f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0424.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0424.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class TimelineReviewedEventType(TypedDict): @@ -48,6 +48,38 @@ class TimelineReviewedEventType(TypedDict): ] +class TimelineReviewedEventTypeForResponse(TypedDict): + """Timeline Reviewed Event + + Timeline Reviewed Event + """ + + event: Literal["reviewed"] + id: int + node_id: str + user: SimpleUserTypeForResponse + body: Union[str, None] + state: str + html_url: str + pull_request_url: str + links: TimelineReviewedEventPropLinksTypeForResponse + submitted_at: NotRequired[str] + updated_at: NotRequired[Union[str, None]] + commit_id: str + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + class TimelineReviewedEventPropLinksType(TypedDict): """TimelineReviewedEventPropLinks""" @@ -55,21 +87,44 @@ class TimelineReviewedEventPropLinksType(TypedDict): pull_request: TimelineReviewedEventPropLinksPropPullRequestType +class TimelineReviewedEventPropLinksTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinks""" + + html: TimelineReviewedEventPropLinksPropHtmlTypeForResponse + pull_request: TimelineReviewedEventPropLinksPropPullRequestTypeForResponse + + class TimelineReviewedEventPropLinksPropHtmlType(TypedDict): """TimelineReviewedEventPropLinksPropHtml""" href: str +class TimelineReviewedEventPropLinksPropHtmlTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinksPropHtml""" + + href: str + + class TimelineReviewedEventPropLinksPropPullRequestType(TypedDict): """TimelineReviewedEventPropLinksPropPullRequest""" href: str +class TimelineReviewedEventPropLinksPropPullRequestTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinksPropPullRequest""" + + href: str + + __all__ = ( "TimelineReviewedEventPropLinksPropHtmlType", + "TimelineReviewedEventPropLinksPropHtmlTypeForResponse", "TimelineReviewedEventPropLinksPropPullRequestType", + "TimelineReviewedEventPropLinksPropPullRequestTypeForResponse", "TimelineReviewedEventPropLinksType", + "TimelineReviewedEventPropLinksTypeForResponse", "TimelineReviewedEventType", + "TimelineReviewedEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0425.py b/githubkit/versions/ghec_v2022_11_28/types/group_0425.py index 318756099..1e0123d57 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0425.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0425.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse class PullRequestReviewCommentType(TypedDict): @@ -64,6 +64,53 @@ class PullRequestReviewCommentType(TypedDict): body_text: NotRequired[str] +class PullRequestReviewCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + Pull Request Review Comments are comments on a portion of the Pull Request's + diff. + """ + + url: str + pull_request_review_id: Union[int, None] + id: int + node_id: str + diff_hunk: str + path: str + position: NotRequired[int] + original_position: NotRequired[int] + commit_id: str + original_commit_id: str + in_reply_to_id: NotRequired[int] + user: SimpleUserTypeForResponse + body: str + created_at: str + updated_at: str + html_url: str + pull_request_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + links: PullRequestReviewCommentPropLinksTypeForResponse + start_line: NotRequired[Union[int, None]] + original_start_line: NotRequired[Union[int, None]] + start_side: NotRequired[Union[None, Literal["LEFT", "RIGHT"]]] + line: NotRequired[int] + original_line: NotRequired[int] + side: NotRequired[Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + reactions: NotRequired[ReactionRollupTypeForResponse] + body_html: NotRequired[str] + body_text: NotRequired[str] + + class PullRequestReviewCommentPropLinksType(TypedDict): """PullRequestReviewCommentPropLinks""" @@ -72,24 +119,50 @@ class PullRequestReviewCommentPropLinksType(TypedDict): pull_request: PullRequestReviewCommentPropLinksPropPullRequestType +class PullRequestReviewCommentPropLinksTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinks""" + + self_: PullRequestReviewCommentPropLinksPropSelfTypeForResponse + html: PullRequestReviewCommentPropLinksPropHtmlTypeForResponse + pull_request: PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse + + class PullRequestReviewCommentPropLinksPropSelfType(TypedDict): """PullRequestReviewCommentPropLinksPropSelf""" href: str +class PullRequestReviewCommentPropLinksPropSelfTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropSelf""" + + href: str + + class PullRequestReviewCommentPropLinksPropHtmlType(TypedDict): """PullRequestReviewCommentPropLinksPropHtml""" href: str +class PullRequestReviewCommentPropLinksPropHtmlTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropHtml""" + + href: str + + class PullRequestReviewCommentPropLinksPropPullRequestType(TypedDict): """PullRequestReviewCommentPropLinksPropPullRequest""" href: str +class PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropPullRequest""" + + href: str + + class TimelineLineCommentedEventType(TypedDict): """Timeline Line Commented Event @@ -101,11 +174,28 @@ class TimelineLineCommentedEventType(TypedDict): comments: NotRequired[list[PullRequestReviewCommentType]] +class TimelineLineCommentedEventTypeForResponse(TypedDict): + """Timeline Line Commented Event + + Timeline Line Commented Event + """ + + event: NotRequired[Literal["line_commented"]] + node_id: NotRequired[str] + comments: NotRequired[list[PullRequestReviewCommentTypeForResponse]] + + __all__ = ( "PullRequestReviewCommentPropLinksPropHtmlType", + "PullRequestReviewCommentPropLinksPropHtmlTypeForResponse", "PullRequestReviewCommentPropLinksPropPullRequestType", + "PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse", "PullRequestReviewCommentPropLinksPropSelfType", + "PullRequestReviewCommentPropLinksPropSelfTypeForResponse", "PullRequestReviewCommentPropLinksType", + "PullRequestReviewCommentPropLinksTypeForResponse", "PullRequestReviewCommentType", + "PullRequestReviewCommentTypeForResponse", "TimelineLineCommentedEventType", + "TimelineLineCommentedEventTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0426.py b/githubkit/versions/ghec_v2022_11_28/types/group_0426.py index 3baa7987b..cdf3fbdf4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0426.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0426.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class TimelineAssignedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class TimelineAssignedIssueEventType(TypedDict): assignee: SimpleUserType -__all__ = ("TimelineAssignedIssueEventType",) +class TimelineAssignedIssueEventTypeForResponse(TypedDict): + """Timeline Assigned Issue Event + + Timeline Assigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["assigned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + + +__all__ = ( + "TimelineAssignedIssueEventType", + "TimelineAssignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0427.py b/githubkit/versions/ghec_v2022_11_28/types/group_0427.py index 7d37c3f07..d35d38d15 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0427.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0427.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class TimelineUnassignedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class TimelineUnassignedIssueEventType(TypedDict): assignee: SimpleUserType -__all__ = ("TimelineUnassignedIssueEventType",) +class TimelineUnassignedIssueEventTypeForResponse(TypedDict): + """Timeline Unassigned Issue Event + + Timeline Unassigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["unassigned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + + +__all__ = ( + "TimelineUnassignedIssueEventType", + "TimelineUnassignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0428.py b/githubkit/versions/ghec_v2022_11_28/types/group_0428.py index 4978c8454..8cd6db3e2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0428.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0428.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class StateChangeIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class StateChangeIssueEventType(TypedDict): state_reason: NotRequired[Union[str, None]] -__all__ = ("StateChangeIssueEventType",) +class StateChangeIssueEventTypeForResponse(TypedDict): + """State Change Issue Event + + State Change Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + state_reason: NotRequired[Union[str, None]] + + +__all__ = ( + "StateChangeIssueEventType", + "StateChangeIssueEventTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0429.py b/githubkit/versions/ghec_v2022_11_28/types/group_0429.py index 0060c4ef9..14e2d98ac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0429.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0429.py @@ -32,4 +32,25 @@ class DeployKeyType(TypedDict): enabled: NotRequired[bool] -__all__ = ("DeployKeyType",) +class DeployKeyTypeForResponse(TypedDict): + """Deploy Key + + An SSH key granting access to a single repository. + """ + + id: int + key: str + url: str + title: str + verified: bool + created_at: str + read_only: bool + added_by: NotRequired[Union[str, None]] + last_used: NotRequired[Union[str, None]] + enabled: NotRequired[bool] + + +__all__ = ( + "DeployKeyType", + "DeployKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0430.py b/githubkit/versions/ghec_v2022_11_28/types/group_0430.py index bc5f5cd8b..8bb9406cd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0430.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0430.py @@ -19,4 +19,14 @@ """ -__all__ = ("LanguageType",) +LanguageTypeForResponse: TypeAlias = dict[str, Any] +"""Language + +Language +""" + + +__all__ = ( + "LanguageType", + "LanguageTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0431.py b/githubkit/versions/ghec_v2022_11_28/types/group_0431.py index 2913097c9..dbf3f388b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0431.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0431.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0019 import LicenseSimpleType +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class LicenseContentType(TypedDict): @@ -36,6 +36,27 @@ class LicenseContentType(TypedDict): license_: Union[None, LicenseSimpleType] +class LicenseContentTypeForResponse(TypedDict): + """License Content + + License Content + """ + + name: str + path: str + sha: str + size: int + url: str + html_url: Union[str, None] + git_url: Union[str, None] + download_url: Union[str, None] + type: str + content: str + encoding: str + links: LicenseContentPropLinksTypeForResponse + license_: Union[None, LicenseSimpleTypeForResponse] + + class LicenseContentPropLinksType(TypedDict): """LicenseContentPropLinks""" @@ -44,7 +65,17 @@ class LicenseContentPropLinksType(TypedDict): self_: str +class LicenseContentPropLinksTypeForResponse(TypedDict): + """LicenseContentPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "LicenseContentPropLinksType", + "LicenseContentPropLinksTypeForResponse", "LicenseContentType", + "LicenseContentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0432.py b/githubkit/versions/ghec_v2022_11_28/types/group_0432.py index ef4f49c12..3bdeef2e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0432.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0432.py @@ -24,4 +24,18 @@ class MergedUpstreamType(TypedDict): base_branch: NotRequired[str] -__all__ = ("MergedUpstreamType",) +class MergedUpstreamTypeForResponse(TypedDict): + """Merged upstream + + Results of a successful merge upstream request + """ + + message: NotRequired[str] + merge_type: NotRequired[Literal["merge", "fast-forward", "none"]] + base_branch: NotRequired[str] + + +__all__ = ( + "MergedUpstreamType", + "MergedUpstreamTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0433.py b/githubkit/versions/ghec_v2022_11_28/types/group_0433.py index 121c3bad8..0597c81e0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0433.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0433.py @@ -36,6 +36,28 @@ class PageType(TypedDict): https_enforced: NotRequired[bool] +class PageTypeForResponse(TypedDict): + """GitHub Pages + + The configuration for GitHub Pages for a repository. + """ + + url: str + status: Union[None, Literal["built", "building", "errored"]] + cname: Union[str, None] + protected_domain_state: NotRequired[ + Union[None, Literal["pending", "verified", "unverified"]] + ] + pending_domain_unverified_at: NotRequired[Union[str, None]] + custom_404: bool + html_url: NotRequired[str] + build_type: NotRequired[Union[None, Literal["legacy", "workflow"]]] + source: NotRequired[PagesSourceHashTypeForResponse] + public: bool + https_certificate: NotRequired[PagesHttpsCertificateTypeForResponse] + https_enforced: NotRequired[bool] + + class PagesSourceHashType(TypedDict): """Pages Source Hash""" @@ -43,6 +65,13 @@ class PagesSourceHashType(TypedDict): path: str +class PagesSourceHashTypeForResponse(TypedDict): + """Pages Source Hash""" + + branch: str + path: str + + class PagesHttpsCertificateType(TypedDict): """Pages Https Certificate""" @@ -65,8 +94,33 @@ class PagesHttpsCertificateType(TypedDict): expires_at: NotRequired[date] +class PagesHttpsCertificateTypeForResponse(TypedDict): + """Pages Https Certificate""" + + state: Literal[ + "new", + "authorization_created", + "authorization_pending", + "authorized", + "authorization_revoked", + "issued", + "uploaded", + "approved", + "errored", + "bad_authz", + "destroy_pending", + "dns_changed", + ] + description: str + domains: list[str] + expires_at: NotRequired[str] + + __all__ = ( "PageType", + "PageTypeForResponse", "PagesHttpsCertificateType", + "PagesHttpsCertificateTypeForResponse", "PagesSourceHashType", + "PagesSourceHashTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0434.py b/githubkit/versions/ghec_v2022_11_28/types/group_0434.py index 83899a24e..26ea75b67 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0434.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0434.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PageBuildType(TypedDict): @@ -32,13 +32,37 @@ class PageBuildType(TypedDict): updated_at: datetime +class PageBuildTypeForResponse(TypedDict): + """Page Build + + Page Build + """ + + url: str + status: str + error: PageBuildPropErrorTypeForResponse + pusher: Union[None, SimpleUserTypeForResponse] + commit: str + duration: int + created_at: str + updated_at: str + + class PageBuildPropErrorType(TypedDict): """PageBuildPropError""" message: Union[str, None] +class PageBuildPropErrorTypeForResponse(TypedDict): + """PageBuildPropError""" + + message: Union[str, None] + + __all__ = ( "PageBuildPropErrorType", + "PageBuildPropErrorTypeForResponse", "PageBuildType", + "PageBuildTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0435.py b/githubkit/versions/ghec_v2022_11_28/types/group_0435.py index d7001e4a1..ecb029506 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0435.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0435.py @@ -22,4 +22,17 @@ class PageBuildStatusType(TypedDict): status: str -__all__ = ("PageBuildStatusType",) +class PageBuildStatusTypeForResponse(TypedDict): + """Page Build Status + + Page Build Status + """ + + url: str + status: str + + +__all__ = ( + "PageBuildStatusType", + "PageBuildStatusTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0436.py b/githubkit/versions/ghec_v2022_11_28/types/group_0436.py index d3e0b1eca..cb128734b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0436.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0436.py @@ -25,4 +25,19 @@ class PageDeploymentType(TypedDict): preview_url: NotRequired[str] -__all__ = ("PageDeploymentType",) +class PageDeploymentTypeForResponse(TypedDict): + """GitHub Pages + + The GitHub Pages deployment status. + """ + + id: Union[int, str] + status_url: str + page_url: str + preview_url: NotRequired[str] + + +__all__ = ( + "PageDeploymentType", + "PageDeploymentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0437.py b/githubkit/versions/ghec_v2022_11_28/types/group_0437.py index 2bf2ddbc1..838dae067 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0437.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0437.py @@ -33,4 +33,27 @@ class PagesDeploymentStatusType(TypedDict): ] -__all__ = ("PagesDeploymentStatusType",) +class PagesDeploymentStatusTypeForResponse(TypedDict): + """GitHub Pages deployment status""" + + status: NotRequired[ + Literal[ + "deployment_in_progress", + "syncing_files", + "finished_file_sync", + "updating_pages", + "purging_cdn", + "deployment_cancelled", + "deployment_failed", + "deployment_content_failed", + "deployment_attempt_error", + "deployment_lost", + "succeed", + ] + ] + + +__all__ = ( + "PagesDeploymentStatusType", + "PagesDeploymentStatusTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0438.py b/githubkit/versions/ghec_v2022_11_28/types/group_0438.py index 5546e6ba9..2b300413d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0438.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0438.py @@ -23,6 +23,16 @@ class PagesHealthCheckType(TypedDict): alt_domain: NotRequired[Union[PagesHealthCheckPropAltDomainType, None]] +class PagesHealthCheckTypeForResponse(TypedDict): + """Pages Health Check Status + + Pages Health Check Status + """ + + domain: NotRequired[PagesHealthCheckPropDomainTypeForResponse] + alt_domain: NotRequired[Union[PagesHealthCheckPropAltDomainTypeForResponse, None]] + + class PagesHealthCheckPropDomainType(TypedDict): """PagesHealthCheckPropDomain""" @@ -56,6 +66,39 @@ class PagesHealthCheckPropDomainType(TypedDict): caa_error: NotRequired[Union[str, None]] +class PagesHealthCheckPropDomainTypeForResponse(TypedDict): + """PagesHealthCheckPropDomain""" + + host: NotRequired[str] + uri: NotRequired[str] + nameservers: NotRequired[str] + dns_resolves: NotRequired[bool] + is_proxied: NotRequired[Union[bool, None]] + is_cloudflare_ip: NotRequired[Union[bool, None]] + is_fastly_ip: NotRequired[Union[bool, None]] + is_old_ip_address: NotRequired[Union[bool, None]] + is_a_record: NotRequired[Union[bool, None]] + has_cname_record: NotRequired[Union[bool, None]] + has_mx_records_present: NotRequired[Union[bool, None]] + is_valid_domain: NotRequired[bool] + is_apex_domain: NotRequired[bool] + should_be_a_record: NotRequired[Union[bool, None]] + is_cname_to_github_user_domain: NotRequired[Union[bool, None]] + is_cname_to_pages_dot_github_dot_com: NotRequired[Union[bool, None]] + is_cname_to_fastly: NotRequired[Union[bool, None]] + is_pointed_to_github_pages_ip: NotRequired[Union[bool, None]] + is_non_github_pages_ip_present: NotRequired[Union[bool, None]] + is_pages_domain: NotRequired[bool] + is_served_by_pages: NotRequired[Union[bool, None]] + is_valid: NotRequired[bool] + reason: NotRequired[Union[str, None]] + responds_to_https: NotRequired[bool] + enforces_https: NotRequired[bool] + https_error: NotRequired[Union[str, None]] + is_https_eligible: NotRequired[Union[bool, None]] + caa_error: NotRequired[Union[str, None]] + + class PagesHealthCheckPropAltDomainType(TypedDict): """PagesHealthCheckPropAltDomain""" @@ -89,8 +132,44 @@ class PagesHealthCheckPropAltDomainType(TypedDict): caa_error: NotRequired[Union[str, None]] +class PagesHealthCheckPropAltDomainTypeForResponse(TypedDict): + """PagesHealthCheckPropAltDomain""" + + host: NotRequired[str] + uri: NotRequired[str] + nameservers: NotRequired[str] + dns_resolves: NotRequired[bool] + is_proxied: NotRequired[Union[bool, None]] + is_cloudflare_ip: NotRequired[Union[bool, None]] + is_fastly_ip: NotRequired[Union[bool, None]] + is_old_ip_address: NotRequired[Union[bool, None]] + is_a_record: NotRequired[Union[bool, None]] + has_cname_record: NotRequired[Union[bool, None]] + has_mx_records_present: NotRequired[Union[bool, None]] + is_valid_domain: NotRequired[bool] + is_apex_domain: NotRequired[bool] + should_be_a_record: NotRequired[Union[bool, None]] + is_cname_to_github_user_domain: NotRequired[Union[bool, None]] + is_cname_to_pages_dot_github_dot_com: NotRequired[Union[bool, None]] + is_cname_to_fastly: NotRequired[Union[bool, None]] + is_pointed_to_github_pages_ip: NotRequired[Union[bool, None]] + is_non_github_pages_ip_present: NotRequired[Union[bool, None]] + is_pages_domain: NotRequired[bool] + is_served_by_pages: NotRequired[Union[bool, None]] + is_valid: NotRequired[bool] + reason: NotRequired[Union[str, None]] + responds_to_https: NotRequired[bool] + enforces_https: NotRequired[bool] + https_error: NotRequired[Union[str, None]] + is_https_eligible: NotRequired[Union[bool, None]] + caa_error: NotRequired[Union[str, None]] + + __all__ = ( "PagesHealthCheckPropAltDomainType", + "PagesHealthCheckPropAltDomainTypeForResponse", "PagesHealthCheckPropDomainType", + "PagesHealthCheckPropDomainTypeForResponse", "PagesHealthCheckType", + "PagesHealthCheckTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0439.py b/githubkit/versions/ghec_v2022_11_28/types/group_0439.py index efe665849..1d9aaa589 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0439.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0439.py @@ -13,13 +13,21 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0079 import TeamSimpleType -from .group_0193 import MilestoneType -from .group_0267 import AutoMergeType -from .group_0440 import PullRequestPropLabelsItemsType -from .group_0441 import PullRequestPropBaseType, PullRequestPropHeadType -from .group_0442 import PullRequestPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0267 import AutoMergeType, AutoMergeTypeForResponse +from .group_0440 import ( + PullRequestPropLabelsItemsType, + PullRequestPropLabelsItemsTypeForResponse, +) +from .group_0441 import ( + PullRequestPropBaseType, + PullRequestPropBaseTypeForResponse, + PullRequestPropHeadType, + PullRequestPropHeadTypeForResponse, +) +from .group_0442 import PullRequestPropLinksType, PullRequestPropLinksTypeForResponse class PullRequestType(TypedDict): @@ -90,4 +98,75 @@ class PullRequestType(TypedDict): changed_files: int -__all__ = ("PullRequestType",) +class PullRequestTypeForResponse(TypedDict): + """Pull Request + + Pull requests let you tell others about changes you've pushed to a repository on + GitHub. Once a pull request is sent, interested parties can review the set of + changes, discuss potential modifications, and even push follow-up commits if + necessary. + """ + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: Literal["open", "closed"] + locked: bool + title: str + user: SimpleUserTypeForResponse + body: Union[str, None] + labels: list[PullRequestPropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamSimpleTypeForResponse], None]] + head: PullRequestPropHeadTypeForResponse + base: PullRequestPropBaseTypeForResponse + links: PullRequestPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + merged: bool + mergeable: Union[bool, None] + rebaseable: NotRequired[Union[bool, None]] + mergeable_state: str + merged_by: Union[None, SimpleUserTypeForResponse] + comments: int + review_comments: int + maintainer_can_modify: bool + commits: int + additions: int + deletions: int + changed_files: int + + +__all__ = ( + "PullRequestType", + "PullRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0440.py b/githubkit/versions/ghec_v2022_11_28/types/group_0440.py index 8c969ec82..1c8276385 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0440.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0440.py @@ -25,4 +25,19 @@ class PullRequestPropLabelsItemsType(TypedDict): default: bool -__all__ = ("PullRequestPropLabelsItemsType",) +class PullRequestPropLabelsItemsTypeForResponse(TypedDict): + """PullRequestPropLabelsItems""" + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + +__all__ = ( + "PullRequestPropLabelsItemsType", + "PullRequestPropLabelsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0441.py b/githubkit/versions/ghec_v2022_11_28/types/group_0441.py index cd3535f15..a550dd849 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0441.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0441.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class PullRequestPropHeadType(TypedDict): @@ -26,6 +26,16 @@ class PullRequestPropHeadType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestPropHeadTypeForResponse(TypedDict): + """PullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[None, RepositoryTypeForResponse] + sha: str + user: Union[None, SimpleUserTypeForResponse] + + class PullRequestPropBaseType(TypedDict): """PullRequestPropBase""" @@ -36,7 +46,19 @@ class PullRequestPropBaseType(TypedDict): user: SimpleUserType +class PullRequestPropBaseTypeForResponse(TypedDict): + """PullRequestPropBase""" + + label: str + ref: str + repo: RepositoryTypeForResponse + sha: str + user: SimpleUserTypeForResponse + + __all__ = ( "PullRequestPropBaseType", + "PullRequestPropBaseTypeForResponse", "PullRequestPropHeadType", + "PullRequestPropHeadTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0442.py b/githubkit/versions/ghec_v2022_11_28/types/group_0442.py index 58769539e..cc7f993d7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0442.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0442.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0266 import LinkType +from .group_0266 import LinkType, LinkTypeForResponse class PullRequestPropLinksType(TypedDict): @@ -27,4 +27,20 @@ class PullRequestPropLinksType(TypedDict): self_: LinkType -__all__ = ("PullRequestPropLinksType",) +class PullRequestPropLinksTypeForResponse(TypedDict): + """PullRequestPropLinks""" + + comments: LinkTypeForResponse + commits: LinkTypeForResponse + statuses: LinkTypeForResponse + html: LinkTypeForResponse + issue: LinkTypeForResponse + review_comments: LinkTypeForResponse + review_comment: LinkTypeForResponse + self_: LinkTypeForResponse + + +__all__ = ( + "PullRequestPropLinksType", + "PullRequestPropLinksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0443.py b/githubkit/versions/ghec_v2022_11_28/types/group_0443.py index 211278b38..a5b59ccff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0443.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0443.py @@ -23,4 +23,18 @@ class PullRequestMergeResultType(TypedDict): message: str -__all__ = ("PullRequestMergeResultType",) +class PullRequestMergeResultTypeForResponse(TypedDict): + """Pull Request Merge Result + + Pull Request Merge Result + """ + + sha: str + merged: bool + message: str + + +__all__ = ( + "PullRequestMergeResultType", + "PullRequestMergeResultTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0444.py b/githubkit/versions/ghec_v2022_11_28/types/group_0444.py index c9d40b188..fbde6349a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0444.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0444.py @@ -11,8 +11,8 @@ from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0080 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0080 import TeamType, TeamTypeForResponse class PullRequestReviewRequestType(TypedDict): @@ -25,4 +25,17 @@ class PullRequestReviewRequestType(TypedDict): teams: list[TeamType] -__all__ = ("PullRequestReviewRequestType",) +class PullRequestReviewRequestTypeForResponse(TypedDict): + """Pull Request Review Request + + Pull Request Review Request + """ + + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + + +__all__ = ( + "PullRequestReviewRequestType", + "PullRequestReviewRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0445.py b/githubkit/versions/ghec_v2022_11_28/types/group_0445.py index d7cb39fb2..d7e583d90 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0445.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0445.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PullRequestReviewType(TypedDict): @@ -46,6 +46,36 @@ class PullRequestReviewType(TypedDict): ] +class PullRequestReviewTypeForResponse(TypedDict): + """Pull Request Review + + Pull Request Reviews are reviews on pull requests. + """ + + id: int + node_id: str + user: Union[None, SimpleUserTypeForResponse] + body: str + state: str + html_url: str + pull_request_url: str + links: PullRequestReviewPropLinksTypeForResponse + submitted_at: NotRequired[str] + commit_id: Union[str, None] + body_html: NotRequired[str] + body_text: NotRequired[str] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + class PullRequestReviewPropLinksType(TypedDict): """PullRequestReviewPropLinks""" @@ -53,21 +83,44 @@ class PullRequestReviewPropLinksType(TypedDict): pull_request: PullRequestReviewPropLinksPropPullRequestType +class PullRequestReviewPropLinksTypeForResponse(TypedDict): + """PullRequestReviewPropLinks""" + + html: PullRequestReviewPropLinksPropHtmlTypeForResponse + pull_request: PullRequestReviewPropLinksPropPullRequestTypeForResponse + + class PullRequestReviewPropLinksPropHtmlType(TypedDict): """PullRequestReviewPropLinksPropHtml""" href: str +class PullRequestReviewPropLinksPropHtmlTypeForResponse(TypedDict): + """PullRequestReviewPropLinksPropHtml""" + + href: str + + class PullRequestReviewPropLinksPropPullRequestType(TypedDict): """PullRequestReviewPropLinksPropPullRequest""" href: str +class PullRequestReviewPropLinksPropPullRequestTypeForResponse(TypedDict): + """PullRequestReviewPropLinksPropPullRequest""" + + href: str + + __all__ = ( "PullRequestReviewPropLinksPropHtmlType", + "PullRequestReviewPropLinksPropHtmlTypeForResponse", "PullRequestReviewPropLinksPropPullRequestType", + "PullRequestReviewPropLinksPropPullRequestTypeForResponse", "PullRequestReviewPropLinksType", + "PullRequestReviewPropLinksTypeForResponse", "PullRequestReviewType", + "PullRequestReviewTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0446.py b/githubkit/versions/ghec_v2022_11_28/types/group_0446.py index 9b7ab3820..a6374f567 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0446.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0446.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType -from .group_0447 import ReviewCommentPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0447 import ( + ReviewCommentPropLinksType, + ReviewCommentPropLinksTypeForResponse, +) class ReviewCommentType(TypedDict): @@ -64,4 +67,53 @@ class ReviewCommentType(TypedDict): subject_type: NotRequired[Literal["line", "file"]] -__all__ = ("ReviewCommentType",) +class ReviewCommentTypeForResponse(TypedDict): + """Legacy Review Comment + + Legacy Review Comment + """ + + url: str + pull_request_review_id: Union[int, None] + id: int + node_id: str + diff_hunk: str + path: str + position: Union[int, None] + original_position: int + commit_id: str + original_commit_id: str + in_reply_to_id: NotRequired[int] + user: Union[None, SimpleUserTypeForResponse] + body: str + created_at: str + updated_at: str + html_url: str + pull_request_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + links: ReviewCommentPropLinksTypeForResponse + body_text: NotRequired[str] + body_html: NotRequired[str] + reactions: NotRequired[ReactionRollupTypeForResponse] + side: NotRequired[Literal["LEFT", "RIGHT"]] + start_side: NotRequired[Union[None, Literal["LEFT", "RIGHT"]]] + line: NotRequired[int] + original_line: NotRequired[int] + start_line: NotRequired[Union[int, None]] + original_start_line: NotRequired[Union[int, None]] + subject_type: NotRequired[Literal["line", "file"]] + + +__all__ = ( + "ReviewCommentType", + "ReviewCommentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0447.py b/githubkit/versions/ghec_v2022_11_28/types/group_0447.py index e3f2c3440..2fa8a7917 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0447.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0447.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0266 import LinkType +from .group_0266 import LinkType, LinkTypeForResponse class ReviewCommentPropLinksType(TypedDict): @@ -22,4 +22,15 @@ class ReviewCommentPropLinksType(TypedDict): pull_request: LinkType -__all__ = ("ReviewCommentPropLinksType",) +class ReviewCommentPropLinksTypeForResponse(TypedDict): + """ReviewCommentPropLinks""" + + self_: LinkTypeForResponse + html: LinkTypeForResponse + pull_request: LinkTypeForResponse + + +__all__ = ( + "ReviewCommentPropLinksType", + "ReviewCommentPropLinksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0448.py b/githubkit/versions/ghec_v2022_11_28/types/group_0448.py index ed9a33bfd..197e0c557 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0448.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0448.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReleaseAssetType(TypedDict): @@ -38,4 +38,29 @@ class ReleaseAssetType(TypedDict): uploader: Union[None, SimpleUserType] -__all__ = ("ReleaseAssetType",) +class ReleaseAssetTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + url: str + browser_download_url: str + id: int + node_id: str + name: str + label: Union[str, None] + state: Literal["uploaded", "open"] + content_type: str + size: int + digest: Union[str, None] + download_count: int + created_at: str + updated_at: str + uploader: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ReleaseAssetType", + "ReleaseAssetTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0449.py b/githubkit/versions/ghec_v2022_11_28/types/group_0449.py index 6fdad3e70..468eae4ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0449.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0449.py @@ -13,9 +13,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import ReactionRollupType -from .group_0448 import ReleaseAssetType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0448 import ReleaseAssetType, ReleaseAssetTypeForResponse class ReleaseType(TypedDict): @@ -51,4 +51,40 @@ class ReleaseType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("ReleaseType",) +class ReleaseTypeForResponse(TypedDict): + """Release + + A release. + """ + + url: str + html_url: str + assets_url: str + upload_url: str + tarball_url: Union[str, None] + zipball_url: Union[str, None] + id: int + node_id: str + tag_name: str + target_commitish: str + name: Union[str, None] + body: NotRequired[Union[str, None]] + draft: bool + prerelease: bool + immutable: NotRequired[bool] + created_at: str + published_at: Union[str, None] + updated_at: NotRequired[Union[str, None]] + author: SimpleUserTypeForResponse + assets: list[ReleaseAssetTypeForResponse] + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + mentions_count: NotRequired[int] + discussion_url: NotRequired[str] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "ReleaseType", + "ReleaseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0450.py b/githubkit/versions/ghec_v2022_11_28/types/group_0450.py index 8cbfbc707..459ec0df1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0450.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0450.py @@ -22,4 +22,17 @@ class ReleaseNotesContentType(TypedDict): body: str -__all__ = ("ReleaseNotesContentType",) +class ReleaseNotesContentTypeForResponse(TypedDict): + """Generated Release Notes Content + + Generated name and body describing a release + """ + + name: str + body: str + + +__all__ = ( + "ReleaseNotesContentType", + "ReleaseNotesContentTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0451.py b/githubkit/versions/ghec_v2022_11_28/types/group_0451.py index a7e58a24b..b92beceb4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0451.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0451.py @@ -25,4 +25,19 @@ class RepositoryRuleRulesetInfoType(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleRulesetInfoType",) +class RepositoryRuleRulesetInfoTypeForResponse(TypedDict): + """repository ruleset data for rule + + User-defined metadata to store domain-specific information limited to 8 keys + with scalar values. + """ + + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleRulesetInfoType", + "RepositoryRuleRulesetInfoTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0452.py b/githubkit/versions/ghec_v2022_11_28/types/group_0452.py index 0f564cd7d..88c1c5062 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0452.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0452.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof0Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof0Type",) +class RepositoryRuleDetailedOneof0TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof0""" + + type: Literal["creation"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof0Type", + "RepositoryRuleDetailedOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0453.py b/githubkit/versions/ghec_v2022_11_28/types/group_0453.py index b79690fd9..5eedb8c63 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0453.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0453.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0126 import RepositoryRuleUpdatePropParametersType +from .group_0126 import ( + RepositoryRuleUpdatePropParametersType, + RepositoryRuleUpdatePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof1Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof1Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof1Type",) +class RepositoryRuleDetailedOneof1TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof1""" + + type: Literal["update"] + parameters: NotRequired[RepositoryRuleUpdatePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof1Type", + "RepositoryRuleDetailedOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0454.py b/githubkit/versions/ghec_v2022_11_28/types/group_0454.py index 273dd677c..72b43d87a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0454.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0454.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof2Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof2Type",) +class RepositoryRuleDetailedOneof2TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof2""" + + type: Literal["deletion"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof2Type", + "RepositoryRuleDetailedOneof2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0455.py b/githubkit/versions/ghec_v2022_11_28/types/group_0455.py index 8886199f4..c20ed6308 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0455.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0455.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof3Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof3Type",) +class RepositoryRuleDetailedOneof3TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof3""" + + type: Literal["required_linear_history"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof3Type", + "RepositoryRuleDetailedOneof3TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0456.py b/githubkit/versions/ghec_v2022_11_28/types/group_0456.py index 4c73148ee..8fb572cad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0456.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0456.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0164 import RepositoryRuleMergeQueuePropParametersType +from .group_0164 import ( + RepositoryRuleMergeQueuePropParametersType, + RepositoryRuleMergeQueuePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof4Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof4Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof4Type",) +class RepositoryRuleDetailedOneof4TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof4""" + + type: Literal["merge_queue"] + parameters: NotRequired[RepositoryRuleMergeQueuePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof4Type", + "RepositoryRuleDetailedOneof4TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0457.py b/githubkit/versions/ghec_v2022_11_28/types/group_0457.py index 9fd5697ec..f30a1aab2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0457.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0457.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0129 import RepositoryRuleRequiredDeploymentsPropParametersType +from .group_0129 import ( + RepositoryRuleRequiredDeploymentsPropParametersType, + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof5Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof5Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof5Type",) +class RepositoryRuleDetailedOneof5TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof5""" + + type: Literal["required_deployments"] + parameters: NotRequired[ + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof5Type", + "RepositoryRuleDetailedOneof5TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0458.py b/githubkit/versions/ghec_v2022_11_28/types/group_0458.py index c30b2990f..3048133b0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0458.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0458.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof6Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof6Type",) +class RepositoryRuleDetailedOneof6TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof6""" + + type: Literal["required_signatures"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof6Type", + "RepositoryRuleDetailedOneof6TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0459.py b/githubkit/versions/ghec_v2022_11_28/types/group_0459.py index 8f5bcac78..52079f6aa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0459.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0459.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0132 import RepositoryRulePullRequestPropParametersType +from .group_0132 import ( + RepositoryRulePullRequestPropParametersType, + RepositoryRulePullRequestPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof7Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof7Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof7Type",) +class RepositoryRuleDetailedOneof7TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof7""" + + type: Literal["pull_request"] + parameters: NotRequired[RepositoryRulePullRequestPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof7Type", + "RepositoryRuleDetailedOneof7TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0460.py b/githubkit/versions/ghec_v2022_11_28/types/group_0460.py index 8bdf2e108..2160e57b4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0460.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0460.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0134 import RepositoryRuleRequiredStatusChecksPropParametersType +from .group_0134 import ( + RepositoryRuleRequiredStatusChecksPropParametersType, + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof8Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof8Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof8Type",) +class RepositoryRuleDetailedOneof8TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof8""" + + type: Literal["required_status_checks"] + parameters: NotRequired[ + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof8Type", + "RepositoryRuleDetailedOneof8TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0461.py b/githubkit/versions/ghec_v2022_11_28/types/group_0461.py index d5be14715..baf932676 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0461.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0461.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof9Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof9Type",) +class RepositoryRuleDetailedOneof9TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof9""" + + type: Literal["non_fast_forward"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof9Type", + "RepositoryRuleDetailedOneof9TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0462.py b/githubkit/versions/ghec_v2022_11_28/types/group_0462.py index acaebd8f4..e129512ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0462.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0462.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0136 import RepositoryRuleCommitMessagePatternPropParametersType +from .group_0136 import ( + RepositoryRuleCommitMessagePatternPropParametersType, + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof10Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof10Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof10Type",) +class RepositoryRuleDetailedOneof10TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof10""" + + type: Literal["commit_message_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof10Type", + "RepositoryRuleDetailedOneof10TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0463.py b/githubkit/versions/ghec_v2022_11_28/types/group_0463.py index 837c6a972..24c21a6d2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0463.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0463.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0138 import RepositoryRuleCommitAuthorEmailPatternPropParametersType +from .group_0138 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersType, + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof11Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof11Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof11Type",) +class RepositoryRuleDetailedOneof11TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof11""" + + type: Literal["commit_author_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof11Type", + "RepositoryRuleDetailedOneof11TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0464.py b/githubkit/versions/ghec_v2022_11_28/types/group_0464.py index e85e5fff3..3b89d9196 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0464.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0464.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0140 import RepositoryRuleCommitterEmailPatternPropParametersType +from .group_0140 import ( + RepositoryRuleCommitterEmailPatternPropParametersType, + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof12Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof12Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof12Type",) +class RepositoryRuleDetailedOneof12TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof12""" + + type: Literal["committer_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof12Type", + "RepositoryRuleDetailedOneof12TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0465.py b/githubkit/versions/ghec_v2022_11_28/types/group_0465.py index e866d0c72..c2591110d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0465.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0465.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0142 import RepositoryRuleBranchNamePatternPropParametersType +from .group_0142 import ( + RepositoryRuleBranchNamePatternPropParametersType, + RepositoryRuleBranchNamePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof13Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof13Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof13Type",) +class RepositoryRuleDetailedOneof13TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof13""" + + type: Literal["branch_name_pattern"] + parameters: NotRequired[ + RepositoryRuleBranchNamePatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof13Type", + "RepositoryRuleDetailedOneof13TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0466.py b/githubkit/versions/ghec_v2022_11_28/types/group_0466.py index 0a7c9d347..c96638bf9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0466.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0466.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0144 import RepositoryRuleTagNamePatternPropParametersType +from .group_0144 import ( + RepositoryRuleTagNamePatternPropParametersType, + RepositoryRuleTagNamePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof14Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof14Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof14Type",) +class RepositoryRuleDetailedOneof14TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof14""" + + type: Literal["tag_name_pattern"] + parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof14Type", + "RepositoryRuleDetailedOneof14TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0467.py b/githubkit/versions/ghec_v2022_11_28/types/group_0467.py index bf5acb0a9..692e880a7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0467.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0467.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0146 import RepositoryRuleFilePathRestrictionPropParametersType +from .group_0146 import ( + RepositoryRuleFilePathRestrictionPropParametersType, + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof15Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof15Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof15Type",) +class RepositoryRuleDetailedOneof15TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof15""" + + type: Literal["file_path_restriction"] + parameters: NotRequired[ + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof15Type", + "RepositoryRuleDetailedOneof15TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0468.py b/githubkit/versions/ghec_v2022_11_28/types/group_0468.py index c38b531d8..9ba59159c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0468.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0468.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0148 import RepositoryRuleMaxFilePathLengthPropParametersType +from .group_0148 import ( + RepositoryRuleMaxFilePathLengthPropParametersType, + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof16Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof16Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof16Type",) +class RepositoryRuleDetailedOneof16TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof16""" + + type: Literal["max_file_path_length"] + parameters: NotRequired[ + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof16Type", + "RepositoryRuleDetailedOneof16TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0469.py b/githubkit/versions/ghec_v2022_11_28/types/group_0469.py index 23c5a4ba8..a32aabd64 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0469.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0469.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0150 import RepositoryRuleFileExtensionRestrictionPropParametersType +from .group_0150 import ( + RepositoryRuleFileExtensionRestrictionPropParametersType, + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof17Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof17Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof17Type",) +class RepositoryRuleDetailedOneof17TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof17""" + + type: Literal["file_extension_restriction"] + parameters: NotRequired[ + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof17Type", + "RepositoryRuleDetailedOneof17TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0470.py b/githubkit/versions/ghec_v2022_11_28/types/group_0470.py index f9753d561..fe2ba502a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0470.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0470.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0152 import RepositoryRuleMaxFileSizePropParametersType +from .group_0152 import ( + RepositoryRuleMaxFileSizePropParametersType, + RepositoryRuleMaxFileSizePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof18Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof18Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof18Type",) +class RepositoryRuleDetailedOneof18TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof18""" + + type: Literal["max_file_size"] + parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof18Type", + "RepositoryRuleDetailedOneof18TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0471.py b/githubkit/versions/ghec_v2022_11_28/types/group_0471.py index e946ad2da..f8433ce74 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0471.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0471.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0155 import RepositoryRuleWorkflowsPropParametersType +from .group_0155 import ( + RepositoryRuleWorkflowsPropParametersType, + RepositoryRuleWorkflowsPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof19Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof19Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof19Type",) +class RepositoryRuleDetailedOneof19TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof19""" + + type: Literal["workflows"] + parameters: NotRequired[RepositoryRuleWorkflowsPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof19Type", + "RepositoryRuleDetailedOneof19TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0472.py b/githubkit/versions/ghec_v2022_11_28/types/group_0472.py index 07b2d969c..ab4f99f12 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0472.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0472.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0157 import RepositoryRuleCodeScanningPropParametersType +from .group_0157 import ( + RepositoryRuleCodeScanningPropParametersType, + RepositoryRuleCodeScanningPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof20Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof20Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof20Type",) +class RepositoryRuleDetailedOneof20TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof20""" + + type: Literal["code_scanning"] + parameters: NotRequired[RepositoryRuleCodeScanningPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof20Type", + "RepositoryRuleDetailedOneof20TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0473.py b/githubkit/versions/ghec_v2022_11_28/types/group_0473.py index 4da1e6d15..2ef1f739c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0473.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0473.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0166 import RepositoryRuleCopilotCodeReviewPropParametersType +from .group_0166 import ( + RepositoryRuleCopilotCodeReviewPropParametersType, + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof21Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof21Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof21Type",) +class RepositoryRuleDetailedOneof21TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof21""" + + type: Literal["copilot_code_review"] + parameters: NotRequired[ + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof21Type", + "RepositoryRuleDetailedOneof21TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0474.py b/githubkit/versions/ghec_v2022_11_28/types/group_0474.py index 1d88aefb3..b3311e163 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0474.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0474.py @@ -13,25 +13,38 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse from .group_0173 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0174 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0175 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -87,4 +100,61 @@ class SecretScanningAlertType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("SecretScanningAlertType",) +class SecretScanningAlertTypeForResponse(TypedDict): + """SecretScanningAlert""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + state: NotRequired[Literal["open", "resolved"]] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + resolution_comment: NotRequired[Union[str, None]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + secret: NotRequired[str] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + is_base64_encoded: NotRequired[Union[bool, None]] + first_location_detected: NotRequired[ + Union[ + None, + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + has_more_locations: NotRequired[bool] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "SecretScanningAlertType", + "SecretScanningAlertTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0475.py b/githubkit/versions/ghec_v2022_11_28/types/group_0475.py index 79dceafcf..25dd8a440 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0475.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0475.py @@ -14,22 +14,35 @@ from .group_0173 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0174 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0175 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -72,4 +85,46 @@ class SecretScanningLocationType(TypedDict): ] -__all__ = ("SecretScanningLocationType",) +class SecretScanningLocationTypeForResponse(TypedDict): + """SecretScanningLocation""" + + type: NotRequired[ + Literal[ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment", + ] + ] + details: NotRequired[ + Union[ + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + + +__all__ = ( + "SecretScanningLocationType", + "SecretScanningLocationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0476.py b/githubkit/versions/ghec_v2022_11_28/types/group_0476.py index a7d6503ef..ca1f467f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0476.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0476.py @@ -22,4 +22,15 @@ class SecretScanningPushProtectionBypassType(TypedDict): token_type: NotRequired[str] -__all__ = ("SecretScanningPushProtectionBypassType",) +class SecretScanningPushProtectionBypassTypeForResponse(TypedDict): + """SecretScanningPushProtectionBypass""" + + reason: NotRequired[Literal["false_positive", "used_in_tests", "will_fix_later"]] + expire_at: NotRequired[Union[str, None]] + token_type: NotRequired[str] + + +__all__ = ( + "SecretScanningPushProtectionBypassType", + "SecretScanningPushProtectionBypassTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0477.py b/githubkit/versions/ghec_v2022_11_28/types/group_0477.py index c28f498af..7d631dec7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0477.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0477.py @@ -25,6 +25,19 @@ class SecretScanningScanHistoryType(TypedDict): ] +class SecretScanningScanHistoryTypeForResponse(TypedDict): + """SecretScanningScanHistory""" + + incremental_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + pattern_update_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + backfill_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + custom_pattern_backfill_scans: NotRequired[ + list[ + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse + ] + ] + + class SecretScanningScanType(TypedDict): """SecretScanningScan @@ -37,6 +50,18 @@ class SecretScanningScanType(TypedDict): started_at: NotRequired[Union[datetime, None]] +class SecretScanningScanTypeForResponse(TypedDict): + """SecretScanningScan + + Information on a single scan performed by secret scanning on the repository + """ + + type: NotRequired[str] + status: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + started_at: NotRequired[Union[str, None]] + + class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType(TypedDict): """SecretScanningScanHistoryPropCustomPatternBackfillScansItems""" @@ -48,8 +73,24 @@ class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType(TypedDict pattern_scope: NotRequired[str] +class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse( + TypedDict +): + """SecretScanningScanHistoryPropCustomPatternBackfillScansItems""" + + type: NotRequired[str] + status: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + started_at: NotRequired[Union[str, None]] + pattern_name: NotRequired[str] + pattern_scope: NotRequired[str] + + __all__ = ( "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse", "SecretScanningScanHistoryType", + "SecretScanningScanHistoryTypeForResponse", "SecretScanningScanType", + "SecretScanningScanTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0478.py b/githubkit/versions/ghec_v2022_11_28/types/group_0478.py index 3fadc1994..8da657391 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0478.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0478.py @@ -19,4 +19,16 @@ class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type(Typ pattern_scope: NotRequired[str] -__all__ = ("SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type",) +class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse( + TypedDict +): + """SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1""" + + pattern_name: NotRequired[str] + pattern_scope: NotRequired[str] + + +__all__ = ( + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0479.py b/githubkit/versions/ghec_v2022_11_28/types/group_0479.py index 3bd956c2f..f580e50f3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0479.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0479.py @@ -29,6 +29,24 @@ class RepositoryAdvisoryCreateType(TypedDict): start_private_fork: NotRequired[bool] +class RepositoryAdvisoryCreateTypeForResponse(TypedDict): + """RepositoryAdvisoryCreate""" + + summary: str + description: str + cve_id: NotRequired[Union[str, None]] + vulnerabilities: list[ + RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse + ] + cwe_ids: NotRequired[Union[list[str], None]] + credits_: NotRequired[ + Union[list[RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse], None] + ] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + start_private_fork: NotRequired[bool] + + class RepositoryAdvisoryCreatePropCreditsItemsType(TypedDict): """RepositoryAdvisoryCreatePropCreditsItems""" @@ -47,6 +65,24 @@ class RepositoryAdvisoryCreatePropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryCreatePropCreditsItems""" + + login: str + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + class RepositoryAdvisoryCreatePropVulnerabilitiesItemsType(TypedDict): """RepositoryAdvisoryCreatePropVulnerabilitiesItems""" @@ -56,6 +92,15 @@ class RepositoryAdvisoryCreatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryCreatePropVulnerabilitiesItems""" + + package: RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType(TypedDict): """RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackage @@ -80,9 +125,39 @@ class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType(TypedDict) name: NotRequired[Union[str, None]] +class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "RepositoryAdvisoryCreatePropCreditsItemsType", + "RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryCreateType", + "RepositoryAdvisoryCreateTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0480.py b/githubkit/versions/ghec_v2022_11_28/types/group_0480.py index 23f5f5af0..210bf2982 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0480.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0480.py @@ -27,6 +27,25 @@ class PrivateVulnerabilityReportCreateType(TypedDict): start_private_fork: NotRequired[bool] +class PrivateVulnerabilityReportCreateTypeForResponse(TypedDict): + """PrivateVulnerabilityReportCreate""" + + summary: str + description: str + vulnerabilities: NotRequired[ + Union[ + list[ + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse + ], + None, + ] + ] + cwe_ids: NotRequired[Union[list[str], None]] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + start_private_fork: NotRequired[bool] + + class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType(TypedDict): """PrivateVulnerabilityReportCreatePropVulnerabilitiesItems""" @@ -36,6 +55,17 @@ class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse( + TypedDict +): + """PrivateVulnerabilityReportCreatePropVulnerabilitiesItems""" + + package: PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType( TypedDict ): @@ -62,8 +92,37 @@ class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType( name: NotRequired[Union[str, None]] +class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse", "PrivateVulnerabilityReportCreateType", + "PrivateVulnerabilityReportCreateTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0481.py b/githubkit/versions/ghec_v2022_11_28/types/group_0481.py index 689cbef7f..74f4b1bfc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0481.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0481.py @@ -33,6 +33,26 @@ class RepositoryAdvisoryUpdateType(TypedDict): collaborating_teams: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryUpdateTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdate""" + + summary: NotRequired[str] + description: NotRequired[str] + cve_id: NotRequired[Union[str, None]] + vulnerabilities: NotRequired[ + list[RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse] + ] + cwe_ids: NotRequired[Union[list[str], None]] + credits_: NotRequired[ + Union[list[RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse], None] + ] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + state: NotRequired[Literal["published", "closed", "draft"]] + collaborating_users: NotRequired[Union[list[str], None]] + collaborating_teams: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryUpdatePropCreditsItemsType(TypedDict): """RepositoryAdvisoryUpdatePropCreditsItems""" @@ -51,6 +71,24 @@ class RepositoryAdvisoryUpdatePropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdatePropCreditsItems""" + + login: str + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType(TypedDict): """RepositoryAdvisoryUpdatePropVulnerabilitiesItems""" @@ -60,6 +98,15 @@ class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdatePropVulnerabilitiesItems""" + + package: RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType(TypedDict): """RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackage @@ -84,9 +131,39 @@ class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType(TypedDict) name: NotRequired[Union[str, None]] +class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "RepositoryAdvisoryUpdatePropCreditsItemsType", + "RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryUpdateType", + "RepositoryAdvisoryUpdateTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0482.py b/githubkit/versions/ghec_v2022_11_28/types/group_0482.py index ca2546e70..6092769aa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0482.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0482.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class StargazerType(TypedDict): @@ -26,4 +26,17 @@ class StargazerType(TypedDict): user: Union[None, SimpleUserType] -__all__ = ("StargazerType",) +class StargazerTypeForResponse(TypedDict): + """Stargazer + + Stargazer + """ + + starred_at: str + user: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "StargazerType", + "StargazerTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0483.py b/githubkit/versions/ghec_v2022_11_28/types/group_0483.py index c3c8c7e64..ef538ffa4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0483.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0483.py @@ -23,4 +23,18 @@ class CommitActivityType(TypedDict): week: int -__all__ = ("CommitActivityType",) +class CommitActivityTypeForResponse(TypedDict): + """Commit Activity + + Commit Activity + """ + + days: list[int] + total: int + week: int + + +__all__ = ( + "CommitActivityType", + "CommitActivityTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0484.py b/githubkit/versions/ghec_v2022_11_28/types/group_0484.py index 0c764aa8c..1643851b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0484.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0484.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ContributorActivityType(TypedDict): @@ -26,6 +26,17 @@ class ContributorActivityType(TypedDict): weeks: list[ContributorActivityPropWeeksItemsType] +class ContributorActivityTypeForResponse(TypedDict): + """Contributor Activity + + Contributor Activity + """ + + author: Union[None, SimpleUserTypeForResponse] + total: int + weeks: list[ContributorActivityPropWeeksItemsTypeForResponse] + + class ContributorActivityPropWeeksItemsType(TypedDict): """ContributorActivityPropWeeksItems""" @@ -35,7 +46,18 @@ class ContributorActivityPropWeeksItemsType(TypedDict): c: NotRequired[int] +class ContributorActivityPropWeeksItemsTypeForResponse(TypedDict): + """ContributorActivityPropWeeksItems""" + + w: NotRequired[int] + a: NotRequired[int] + d: NotRequired[int] + c: NotRequired[int] + + __all__ = ( "ContributorActivityPropWeeksItemsType", + "ContributorActivityPropWeeksItemsTypeForResponse", "ContributorActivityType", + "ContributorActivityTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0485.py b/githubkit/versions/ghec_v2022_11_28/types/group_0485.py index 4bde16f66..035f01556 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0485.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0485.py @@ -19,4 +19,14 @@ class ParticipationStatsType(TypedDict): owner: list[int] -__all__ = ("ParticipationStatsType",) +class ParticipationStatsTypeForResponse(TypedDict): + """Participation Stats""" + + all_: list[int] + owner: list[int] + + +__all__ = ( + "ParticipationStatsType", + "ParticipationStatsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0486.py b/githubkit/versions/ghec_v2022_11_28/types/group_0486.py index 00a60951a..10d72c6d5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0486.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0486.py @@ -28,4 +28,21 @@ class RepositorySubscriptionType(TypedDict): repository_url: str -__all__ = ("RepositorySubscriptionType",) +class RepositorySubscriptionTypeForResponse(TypedDict): + """Repository Invitation + + Repository invitations let you manage who you collaborate with. + """ + + subscribed: bool + ignored: bool + reason: Union[str, None] + created_at: str + url: str + repository_url: str + + +__all__ = ( + "RepositorySubscriptionType", + "RepositorySubscriptionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0487.py b/githubkit/versions/ghec_v2022_11_28/types/group_0487.py index 8a231b6fb..1e82a0637 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0487.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0487.py @@ -25,6 +25,19 @@ class TagType(TypedDict): node_id: str +class TagTypeForResponse(TypedDict): + """Tag + + Tag + """ + + name: str + commit: TagPropCommitTypeForResponse + zipball_url: str + tarball_url: str + node_id: str + + class TagPropCommitType(TypedDict): """TagPropCommit""" @@ -32,7 +45,16 @@ class TagPropCommitType(TypedDict): url: str +class TagPropCommitTypeForResponse(TypedDict): + """TagPropCommit""" + + sha: str + url: str + + __all__ = ( "TagPropCommitType", + "TagPropCommitTypeForResponse", "TagType", + "TagTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0488.py b/githubkit/versions/ghec_v2022_11_28/types/group_0488.py index a09ecf462..b6bc7c70e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0488.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0488.py @@ -25,4 +25,20 @@ class TagProtectionType(TypedDict): pattern: str -__all__ = ("TagProtectionType",) +class TagProtectionTypeForResponse(TypedDict): + """Tag protection + + Tag protection + """ + + id: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[str] + enabled: NotRequired[bool] + pattern: str + + +__all__ = ( + "TagProtectionType", + "TagProtectionTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0489.py b/githubkit/versions/ghec_v2022_11_28/types/group_0489.py index 69365fe85..b8a744384 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0489.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0489.py @@ -21,4 +21,16 @@ class TopicType(TypedDict): names: list[str] -__all__ = ("TopicType",) +class TopicTypeForResponse(TypedDict): + """Topic + + A topic aggregates entities that are related to a subject. + """ + + names: list[str] + + +__all__ = ( + "TopicType", + "TopicTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0490.py b/githubkit/versions/ghec_v2022_11_28/types/group_0490.py index 2412270d8..1b392ca9d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0490.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0490.py @@ -21,4 +21,15 @@ class TrafficType(TypedDict): count: int -__all__ = ("TrafficType",) +class TrafficTypeForResponse(TypedDict): + """Traffic""" + + timestamp: str + uniques: int + count: int + + +__all__ = ( + "TrafficType", + "TrafficTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0491.py b/githubkit/versions/ghec_v2022_11_28/types/group_0491.py index e533ff7a1..e768623b9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0491.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0491.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0490 import TrafficType +from .group_0490 import TrafficType, TrafficTypeForResponse class CloneTrafficType(TypedDict): @@ -25,4 +25,18 @@ class CloneTrafficType(TypedDict): clones: list[TrafficType] -__all__ = ("CloneTrafficType",) +class CloneTrafficTypeForResponse(TypedDict): + """Clone Traffic + + Clone Traffic + """ + + count: int + uniques: int + clones: list[TrafficTypeForResponse] + + +__all__ = ( + "CloneTrafficType", + "CloneTrafficTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0492.py b/githubkit/versions/ghec_v2022_11_28/types/group_0492.py index 8ae9ebc92..f051d358a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0492.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0492.py @@ -24,4 +24,19 @@ class ContentTrafficType(TypedDict): uniques: int -__all__ = ("ContentTrafficType",) +class ContentTrafficTypeForResponse(TypedDict): + """Content Traffic + + Content Traffic + """ + + path: str + title: str + count: int + uniques: int + + +__all__ = ( + "ContentTrafficType", + "ContentTrafficTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0493.py b/githubkit/versions/ghec_v2022_11_28/types/group_0493.py index d7d63281a..21940aad7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0493.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0493.py @@ -23,4 +23,18 @@ class ReferrerTrafficType(TypedDict): uniques: int -__all__ = ("ReferrerTrafficType",) +class ReferrerTrafficTypeForResponse(TypedDict): + """Referrer Traffic + + Referrer Traffic + """ + + referrer: str + count: int + uniques: int + + +__all__ = ( + "ReferrerTrafficType", + "ReferrerTrafficTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0494.py b/githubkit/versions/ghec_v2022_11_28/types/group_0494.py index 0d7a15d10..5056e6c7f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0494.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0494.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0490 import TrafficType +from .group_0490 import TrafficType, TrafficTypeForResponse class ViewTrafficType(TypedDict): @@ -25,4 +25,18 @@ class ViewTrafficType(TypedDict): views: list[TrafficType] -__all__ = ("ViewTrafficType",) +class ViewTrafficTypeForResponse(TypedDict): + """View Traffic + + View Traffic + """ + + count: int + uniques: int + views: list[TrafficTypeForResponse] + + +__all__ = ( + "ViewTrafficType", + "ViewTrafficTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0495.py b/githubkit/versions/ghec_v2022_11_28/types/group_0495.py index a4530cd7b..c0938aa29 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0495.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0495.py @@ -27,6 +27,20 @@ class GroupResponseType(TypedDict): members: NotRequired[list[GroupResponsePropMembersItemsType]] +class GroupResponseTypeForResponse(TypedDict): + """GroupResponse""" + + schemas: list[ + Literal[ + "urn:ietf:params:scim:schemas:core:2.0:Group", + "urn:ietf:params:scim:api:messages:2.0:ListResponse", + ] + ] + external_id: NotRequired[Union[str, None]] + display_name: NotRequired[Union[str, None]] + members: NotRequired[list[GroupResponsePropMembersItemsTypeForResponse]] + + class GroupResponsePropMembersItemsType(TypedDict): """GroupResponsePropMembersItems""" @@ -35,7 +49,17 @@ class GroupResponsePropMembersItemsType(TypedDict): display: NotRequired[str] +class GroupResponsePropMembersItemsTypeForResponse(TypedDict): + """GroupResponsePropMembersItems""" + + value: str + ref: str + display: NotRequired[str] + + __all__ = ( "GroupResponsePropMembersItemsType", + "GroupResponsePropMembersItemsTypeForResponse", "GroupResponseType", + "GroupResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0496.py b/githubkit/versions/ghec_v2022_11_28/types/group_0496.py index 49cdae3aa..0c7febfd2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0496.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0496.py @@ -25,4 +25,19 @@ class MetaType(TypedDict): location: NotRequired[str] -__all__ = ("MetaType",) +class MetaTypeForResponse(TypedDict): + """Meta + + The metadata associated with the creation/updates to the user. + """ + + resource_type: Literal["User", "Group"] + created: NotRequired[str] + last_modified: NotRequired[str] + location: NotRequired[str] + + +__all__ = ( + "MetaType", + "MetaTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0497.py b/githubkit/versions/ghec_v2022_11_28/types/group_0497.py index 396703893..17f74e07d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0497.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0497.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0496 import MetaType +from .group_0496 import MetaType, MetaTypeForResponse class ScimEnterpriseGroupResponseType(TypedDict): @@ -31,6 +31,22 @@ class ScimEnterpriseGroupResponseType(TypedDict): meta: NotRequired[MetaType] +class ScimEnterpriseGroupResponseTypeForResponse(TypedDict): + """ScimEnterpriseGroupResponse""" + + schemas: list[ + Literal[ + "urn:ietf:params:scim:schemas:core:2.0:Group", + "urn:ietf:params:scim:api:messages:2.0:ListResponse", + ] + ] + external_id: NotRequired[Union[str, None]] + display_name: NotRequired[Union[str, None]] + members: NotRequired[list[ScimEnterpriseGroupResponseMergedMembersTypeForResponse]] + id: NotRequired[str] + meta: NotRequired[MetaTypeForResponse] + + class ScimEnterpriseGroupResponseMergedMembersType(TypedDict): """ScimEnterpriseGroupResponseMergedMembers""" @@ -39,6 +55,14 @@ class ScimEnterpriseGroupResponseMergedMembersType(TypedDict): display: NotRequired[str] +class ScimEnterpriseGroupResponseMergedMembersTypeForResponse(TypedDict): + """ScimEnterpriseGroupResponseMergedMembers""" + + value: str + ref: str + display: NotRequired[str] + + class ScimEnterpriseGroupListType(TypedDict): """ScimEnterpriseGroupList""" @@ -49,8 +73,21 @@ class ScimEnterpriseGroupListType(TypedDict): items_per_page: int +class ScimEnterpriseGroupListTypeForResponse(TypedDict): + """ScimEnterpriseGroupList""" + + schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:ListResponse"]] + total_results: int + resources: list[ScimEnterpriseGroupResponseTypeForResponse] + start_index: int + items_per_page: int + + __all__ = ( "ScimEnterpriseGroupListType", + "ScimEnterpriseGroupListTypeForResponse", "ScimEnterpriseGroupResponseMergedMembersType", + "ScimEnterpriseGroupResponseMergedMembersTypeForResponse", "ScimEnterpriseGroupResponseType", + "ScimEnterpriseGroupResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0498.py b/githubkit/versions/ghec_v2022_11_28/types/group_0498.py index 53120a13f..68a1b3711 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0498.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0498.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0496 import MetaType +from .group_0496 import MetaType, MetaTypeForResponse class ScimEnterpriseGroupResponseAllof1Type(TypedDict): @@ -22,6 +22,16 @@ class ScimEnterpriseGroupResponseAllof1Type(TypedDict): meta: NotRequired[MetaType] +class ScimEnterpriseGroupResponseAllof1TypeForResponse(TypedDict): + """ScimEnterpriseGroupResponseAllof1""" + + id: NotRequired[str] + members: NotRequired[ + list[ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse] + ] + meta: NotRequired[MetaTypeForResponse] + + class ScimEnterpriseGroupResponseAllof1PropMembersItemsType(TypedDict): """ScimEnterpriseGroupResponseAllof1PropMembersItems""" @@ -30,7 +40,17 @@ class ScimEnterpriseGroupResponseAllof1PropMembersItemsType(TypedDict): display: NotRequired[str] +class ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse(TypedDict): + """ScimEnterpriseGroupResponseAllof1PropMembersItems""" + + value: NotRequired[str] + ref: NotRequired[str] + display: NotRequired[str] + + __all__ = ( "ScimEnterpriseGroupResponseAllof1PropMembersItemsType", + "ScimEnterpriseGroupResponseAllof1PropMembersItemsTypeForResponse", "ScimEnterpriseGroupResponseAllof1Type", + "ScimEnterpriseGroupResponseAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0499.py b/githubkit/versions/ghec_v2022_11_28/types/group_0499.py index 77590e31f..7b1698e04 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0499.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0499.py @@ -22,6 +22,15 @@ class GroupType(TypedDict): members: NotRequired[list[GroupPropMembersItemsType]] +class GroupTypeForResponse(TypedDict): + """Group""" + + schemas: list[Literal["urn:ietf:params:scim:schemas:core:2.0:Group"]] + external_id: str + display_name: str + members: NotRequired[list[GroupPropMembersItemsTypeForResponse]] + + class GroupPropMembersItemsType(TypedDict): """GroupPropMembersItems""" @@ -29,7 +38,16 @@ class GroupPropMembersItemsType(TypedDict): display_name: str +class GroupPropMembersItemsTypeForResponse(TypedDict): + """GroupPropMembersItems""" + + value: str + display_name: str + + __all__ = ( "GroupPropMembersItemsType", + "GroupPropMembersItemsTypeForResponse", "GroupType", + "GroupTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0500.py b/githubkit/versions/ghec_v2022_11_28/types/group_0500.py index a81bf3fd2..a095418d9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0500.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0500.py @@ -20,6 +20,13 @@ class PatchSchemaType(TypedDict): schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:PatchOp"]] +class PatchSchemaTypeForResponse(TypedDict): + """PatchSchema""" + + operations: list[PatchSchemaPropOperationsItemsTypeForResponse] + schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:PatchOp"]] + + class PatchSchemaPropOperationsItemsType(TypedDict): """PatchSchemaPropOperationsItems""" @@ -28,7 +35,17 @@ class PatchSchemaPropOperationsItemsType(TypedDict): value: NotRequired[str] +class PatchSchemaPropOperationsItemsTypeForResponse(TypedDict): + """PatchSchemaPropOperationsItems""" + + op: Literal["add", "replace", "remove"] + path: NotRequired[str] + value: NotRequired[str] + + __all__ = ( "PatchSchemaPropOperationsItemsType", + "PatchSchemaPropOperationsItemsTypeForResponse", "PatchSchemaType", + "PatchSchemaTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0501.py b/githubkit/versions/ghec_v2022_11_28/types/group_0501.py index 96b042860..7299cb738 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0501.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0501.py @@ -21,6 +21,15 @@ class UserNameResponseType(TypedDict): middle_name: NotRequired[str] +class UserNameResponseTypeForResponse(TypedDict): + """UserNameResponse""" + + formatted: NotRequired[str] + family_name: NotRequired[str] + given_name: NotRequired[str] + middle_name: NotRequired[str] + + class UserEmailsResponseItemsType(TypedDict): """UserEmailsResponseItems""" @@ -29,7 +38,17 @@ class UserEmailsResponseItemsType(TypedDict): primary: NotRequired[bool] +class UserEmailsResponseItemsTypeForResponse(TypedDict): + """UserEmailsResponseItems""" + + value: str + type: NotRequired[str] + primary: NotRequired[bool] + + __all__ = ( "UserEmailsResponseItemsType", + "UserEmailsResponseItemsTypeForResponse", "UserNameResponseType", + "UserNameResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0502.py b/githubkit/versions/ghec_v2022_11_28/types/group_0502.py index dd4ea445a..d310a6b28 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0502.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0502.py @@ -33,4 +33,27 @@ class UserRoleItemsType(TypedDict): primary: NotRequired[bool] -__all__ = ("UserRoleItemsType",) +class UserRoleItemsTypeForResponse(TypedDict): + """UserRoleItems""" + + display: NotRequired[str] + type: NotRequired[str] + value: Literal[ + "user", + "27d9891d-2c17-4f45-a262-781a0e55c80a", + "guest_collaborator", + "1ebc4a02-e56c-43a6-92a5-02ee09b90824", + "enterprise_owner", + "981df190-8801-4618-a08a-d91f6206c954", + "ba4987ab-a1c3-412a-b58c-360fc407cb10", + "billing_manager", + "0e338b8c-cc7f-498a-928d-ea3470d7e7e3", + "e6be2762-e4ad-4108-b72d-1bbe884a0f91", + ] + primary: NotRequired[bool] + + +__all__ = ( + "UserRoleItemsType", + "UserRoleItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0503.py b/githubkit/versions/ghec_v2022_11_28/types/group_0503.py index 3e332750e..ff8ecfdb9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0503.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0503.py @@ -12,8 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0501 import UserEmailsResponseItemsType, UserNameResponseType -from .group_0502 import UserRoleItemsType +from .group_0501 import ( + UserEmailsResponseItemsType, + UserEmailsResponseItemsTypeForResponse, + UserNameResponseType, + UserNameResponseTypeForResponse, +) +from .group_0502 import UserRoleItemsType, UserRoleItemsTypeForResponse class UserResponseType(TypedDict): @@ -29,4 +34,20 @@ class UserResponseType(TypedDict): roles: NotRequired[list[UserRoleItemsType]] -__all__ = ("UserResponseType",) +class UserResponseTypeForResponse(TypedDict): + """UserResponse""" + + schemas: list[Literal["urn:ietf:params:scim:schemas:core:2.0:User"]] + external_id: NotRequired[Union[str, None]] + active: bool + user_name: NotRequired[str] + name: NotRequired[UserNameResponseTypeForResponse] + display_name: NotRequired[Union[str, None]] + emails: list[UserEmailsResponseItemsTypeForResponse] + roles: NotRequired[list[UserRoleItemsTypeForResponse]] + + +__all__ = ( + "UserResponseType", + "UserResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0504.py b/githubkit/versions/ghec_v2022_11_28/types/group_0504.py index 4a9f1b048..04b2635f6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0504.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0504.py @@ -12,10 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0496 import MetaType -from .group_0501 import UserEmailsResponseItemsType, UserNameResponseType -from .group_0502 import UserRoleItemsType -from .group_0506 import ScimEnterpriseUserResponseAllof1PropGroupsItemsType +from .group_0496 import MetaType, MetaTypeForResponse +from .group_0501 import ( + UserEmailsResponseItemsType, + UserEmailsResponseItemsTypeForResponse, + UserNameResponseType, + UserNameResponseTypeForResponse, +) +from .group_0502 import UserRoleItemsType, UserRoleItemsTypeForResponse +from .group_0506 import ( + ScimEnterpriseUserResponseAllof1PropGroupsItemsType, + ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse, +) class ScimEnterpriseUserResponseType(TypedDict): @@ -34,6 +42,24 @@ class ScimEnterpriseUserResponseType(TypedDict): meta: MetaType +class ScimEnterpriseUserResponseTypeForResponse(TypedDict): + """ScimEnterpriseUserResponse""" + + schemas: list[Literal["urn:ietf:params:scim:schemas:core:2.0:User"]] + external_id: NotRequired[Union[str, None]] + active: bool + user_name: NotRequired[str] + name: NotRequired[UserNameResponseTypeForResponse] + display_name: NotRequired[Union[str, None]] + emails: list[UserEmailsResponseItemsTypeForResponse] + roles: NotRequired[list[UserRoleItemsTypeForResponse]] + id: str + groups: NotRequired[ + list[ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse] + ] + meta: MetaTypeForResponse + + class ScimEnterpriseUserListType(TypedDict): """ScimEnterpriseUserList""" @@ -44,7 +70,19 @@ class ScimEnterpriseUserListType(TypedDict): items_per_page: int +class ScimEnterpriseUserListTypeForResponse(TypedDict): + """ScimEnterpriseUserList""" + + schemas: list[Literal["urn:ietf:params:scim:api:messages:2.0:ListResponse"]] + total_results: int + resources: list[ScimEnterpriseUserResponseTypeForResponse] + start_index: int + items_per_page: int + + __all__ = ( "ScimEnterpriseUserListType", + "ScimEnterpriseUserListTypeForResponse", "ScimEnterpriseUserResponseType", + "ScimEnterpriseUserResponseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0505.py b/githubkit/versions/ghec_v2022_11_28/types/group_0505.py index 72f9a40a7..d6b620c7e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0505.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0505.py @@ -11,8 +11,11 @@ from typing_extensions import NotRequired, TypedDict -from .group_0496 import MetaType -from .group_0506 import ScimEnterpriseUserResponseAllof1PropGroupsItemsType +from .group_0496 import MetaType, MetaTypeForResponse +from .group_0506 import ( + ScimEnterpriseUserResponseAllof1PropGroupsItemsType, + ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse, +) class ScimEnterpriseUserResponseAllof1Type(TypedDict): @@ -23,4 +26,17 @@ class ScimEnterpriseUserResponseAllof1Type(TypedDict): meta: MetaType -__all__ = ("ScimEnterpriseUserResponseAllof1Type",) +class ScimEnterpriseUserResponseAllof1TypeForResponse(TypedDict): + """ScimEnterpriseUserResponseAllof1""" + + id: str + groups: NotRequired[ + list[ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse] + ] + meta: MetaTypeForResponse + + +__all__ = ( + "ScimEnterpriseUserResponseAllof1Type", + "ScimEnterpriseUserResponseAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0506.py b/githubkit/versions/ghec_v2022_11_28/types/group_0506.py index 69b2ab7f3..be5acac54 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0506.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0506.py @@ -20,4 +20,15 @@ class ScimEnterpriseUserResponseAllof1PropGroupsItemsType(TypedDict): display: NotRequired[str] -__all__ = ("ScimEnterpriseUserResponseAllof1PropGroupsItemsType",) +class ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse(TypedDict): + """ScimEnterpriseUserResponseAllof1PropGroupsItems""" + + value: NotRequired[str] + ref: NotRequired[str] + display: NotRequired[str] + + +__all__ = ( + "ScimEnterpriseUserResponseAllof1PropGroupsItemsType", + "ScimEnterpriseUserResponseAllof1PropGroupsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0507.py b/githubkit/versions/ghec_v2022_11_28/types/group_0507.py index 6aa9ea6f8..a70986430 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0507.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0507.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0502 import UserRoleItemsType +from .group_0502 import UserRoleItemsType, UserRoleItemsTypeForResponse class UserType(TypedDict): @@ -28,6 +28,19 @@ class UserType(TypedDict): roles: NotRequired[list[UserRoleItemsType]] +class UserTypeForResponse(TypedDict): + """User""" + + schemas: list[Literal["urn:ietf:params:scim:schemas:core:2.0:User"]] + external_id: str + active: bool + user_name: str + name: NotRequired[UserNameTypeForResponse] + display_name: str + emails: list[UserEmailsItemsTypeForResponse] + roles: NotRequired[list[UserRoleItemsTypeForResponse]] + + class UserNameType(TypedDict): """UserName""" @@ -37,6 +50,15 @@ class UserNameType(TypedDict): middle_name: NotRequired[str] +class UserNameTypeForResponse(TypedDict): + """UserName""" + + formatted: NotRequired[str] + family_name: str + given_name: str + middle_name: NotRequired[str] + + class UserEmailsItemsType(TypedDict): """UserEmailsItems""" @@ -45,8 +67,19 @@ class UserEmailsItemsType(TypedDict): primary: bool +class UserEmailsItemsTypeForResponse(TypedDict): + """UserEmailsItems""" + + value: str + type: str + primary: bool + + __all__ = ( "UserEmailsItemsType", + "UserEmailsItemsTypeForResponse", "UserNameType", + "UserNameTypeForResponse", "UserType", + "UserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0508.py b/githubkit/versions/ghec_v2022_11_28/types/group_0508.py index 83d9c05bb..94acd5f87 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0508.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0508.py @@ -27,6 +27,19 @@ class ScimUserListType(TypedDict): resources: list[ScimUserType] +class ScimUserListTypeForResponse(TypedDict): + """SCIM User List + + SCIM User List + """ + + schemas: list[str] + total_results: int + items_per_page: int + start_index: int + resources: list[ScimUserTypeForResponse] + + class ScimUserType(TypedDict): """SCIM /Users @@ -48,6 +61,27 @@ class ScimUserType(TypedDict): roles: NotRequired[list[ScimUserPropRolesItemsType]] +class ScimUserTypeForResponse(TypedDict): + """SCIM /Users + + SCIM /Users provisioning endpoints + """ + + schemas: list[str] + id: str + external_id: NotRequired[Union[str, None]] + user_name: NotRequired[Union[str, None]] + display_name: NotRequired[Union[str, None]] + name: NotRequired[ScimUserPropNameTypeForResponse] + emails: list[ScimUserPropEmailsItemsTypeForResponse] + active: bool + meta: ScimUserPropMetaTypeForResponse + organization_id: NotRequired[int] + operations: NotRequired[list[ScimUserPropOperationsItemsTypeForResponse]] + groups: NotRequired[list[ScimUserPropGroupsItemsTypeForResponse]] + roles: NotRequired[list[ScimUserPropRolesItemsTypeForResponse]] + + class ScimUserPropNameType(TypedDict): """ScimUserPropName @@ -60,6 +94,18 @@ class ScimUserPropNameType(TypedDict): formatted: NotRequired[Union[str, None]] +class ScimUserPropNameTypeForResponse(TypedDict): + """ScimUserPropName + + Examples: + {'givenName': 'Jane', 'familyName': 'User'} + """ + + given_name: NotRequired[Union[str, None]] + family_name: NotRequired[Union[str, None]] + formatted: NotRequired[Union[str, None]] + + class ScimUserPropEmailsItemsType(TypedDict): """ScimUserPropEmailsItems""" @@ -68,6 +114,14 @@ class ScimUserPropEmailsItemsType(TypedDict): type: NotRequired[str] +class ScimUserPropEmailsItemsTypeForResponse(TypedDict): + """ScimUserPropEmailsItems""" + + value: str + primary: NotRequired[bool] + type: NotRequired[str] + + class ScimUserPropMetaType(TypedDict): """ScimUserPropMeta""" @@ -77,6 +131,15 @@ class ScimUserPropMetaType(TypedDict): location: NotRequired[str] +class ScimUserPropMetaTypeForResponse(TypedDict): + """ScimUserPropMeta""" + + resource_type: NotRequired[str] + created: NotRequired[str] + last_modified: NotRequired[str] + location: NotRequired[str] + + class ScimUserPropGroupsItemsType(TypedDict): """ScimUserPropGroupsItems""" @@ -84,6 +147,13 @@ class ScimUserPropGroupsItemsType(TypedDict): display: NotRequired[str] +class ScimUserPropGroupsItemsTypeForResponse(TypedDict): + """ScimUserPropGroupsItems""" + + value: NotRequired[str] + display: NotRequired[str] + + class ScimUserPropRolesItemsType(TypedDict): """ScimUserPropRolesItems""" @@ -93,6 +163,15 @@ class ScimUserPropRolesItemsType(TypedDict): display: NotRequired[str] +class ScimUserPropRolesItemsTypeForResponse(TypedDict): + """ScimUserPropRolesItems""" + + value: NotRequired[str] + primary: NotRequired[bool] + type: NotRequired[str] + display: NotRequired[str] + + class ScimUserPropOperationsItemsType(TypedDict): """ScimUserPropOperationsItems""" @@ -103,18 +182,41 @@ class ScimUserPropOperationsItemsType(TypedDict): ] +class ScimUserPropOperationsItemsTypeForResponse(TypedDict): + """ScimUserPropOperationsItems""" + + op: Literal["add", "remove", "replace"] + path: NotRequired[str] + value: NotRequired[ + Union[str, ScimUserPropOperationsItemsPropValueOneof1TypeForResponse, list[Any]] + ] + + class ScimUserPropOperationsItemsPropValueOneof1Type(TypedDict): """ScimUserPropOperationsItemsPropValueOneof1""" +class ScimUserPropOperationsItemsPropValueOneof1TypeForResponse(TypedDict): + """ScimUserPropOperationsItemsPropValueOneof1""" + + __all__ = ( "ScimUserListType", + "ScimUserListTypeForResponse", "ScimUserPropEmailsItemsType", + "ScimUserPropEmailsItemsTypeForResponse", "ScimUserPropGroupsItemsType", + "ScimUserPropGroupsItemsTypeForResponse", "ScimUserPropMetaType", + "ScimUserPropMetaTypeForResponse", "ScimUserPropNameType", + "ScimUserPropNameTypeForResponse", "ScimUserPropOperationsItemsPropValueOneof1Type", + "ScimUserPropOperationsItemsPropValueOneof1TypeForResponse", "ScimUserPropOperationsItemsType", + "ScimUserPropOperationsItemsTypeForResponse", "ScimUserPropRolesItemsType", + "ScimUserPropRolesItemsTypeForResponse", "ScimUserType", + "ScimUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0509.py b/githubkit/versions/ghec_v2022_11_28/types/group_0509.py index e1d436bf1..63ffb7e36 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0509.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0509.py @@ -23,6 +23,18 @@ class SearchResultTextMatchesItemsType(TypedDict): matches: NotRequired[list[SearchResultTextMatchesItemsPropMatchesItemsType]] +class SearchResultTextMatchesItemsTypeForResponse(TypedDict): + """SearchResultTextMatchesItems""" + + object_url: NotRequired[str] + object_type: NotRequired[Union[str, None]] + property_: NotRequired[str] + fragment: NotRequired[str] + matches: NotRequired[ + list[SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse] + ] + + class SearchResultTextMatchesItemsPropMatchesItemsType(TypedDict): """SearchResultTextMatchesItemsPropMatchesItems""" @@ -30,7 +42,16 @@ class SearchResultTextMatchesItemsPropMatchesItemsType(TypedDict): indices: NotRequired[list[int]] +class SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse(TypedDict): + """SearchResultTextMatchesItemsPropMatchesItems""" + + text: NotRequired[str] + indices: NotRequired[list[int]] + + __all__ = ( "SearchResultTextMatchesItemsPropMatchesItemsType", + "SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse", "SearchResultTextMatchesItemsType", + "SearchResultTextMatchesItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0510.py b/githubkit/versions/ghec_v2022_11_28/types/group_0510.py index e606362bd..c77287f65 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0510.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0510.py @@ -13,8 +13,11 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0214 import MinimalRepositoryType -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class CodeSearchResultItemType(TypedDict): @@ -38,6 +41,27 @@ class CodeSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class CodeSearchResultItemTypeForResponse(TypedDict): + """Code Search Result Item + + Code Search Result Item + """ + + name: str + path: str + sha: str + url: str + git_url: str + html_url: str + repository: MinimalRepositoryTypeForResponse + score: float + file_size: NotRequired[int] + language: NotRequired[Union[str, None]] + last_modified_at: NotRequired[str] + line_numbers: NotRequired[list[str]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class SearchCodeGetResponse200Type(TypedDict): """SearchCodeGetResponse200""" @@ -46,7 +70,17 @@ class SearchCodeGetResponse200Type(TypedDict): items: list[CodeSearchResultItemType] +class SearchCodeGetResponse200TypeForResponse(TypedDict): + """SearchCodeGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[CodeSearchResultItemTypeForResponse] + + __all__ = ( "CodeSearchResultItemType", + "CodeSearchResultItemTypeForResponse", "SearchCodeGetResponse200Type", + "SearchCodeGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0511.py b/githubkit/versions/ghec_v2022_11_28/types/group_0511.py index 85febb9e4..a0d70f9ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0511.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0511.py @@ -12,11 +12,17 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0214 import MinimalRepositoryType -from .group_0323 import GitUserType -from .group_0509 import SearchResultTextMatchesItemsType -from .group_0512 import CommitSearchResultItemPropCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0323 import GitUserType, GitUserTypeForResponse +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) +from .group_0512 import ( + CommitSearchResultItemPropCommitType, + CommitSearchResultItemPropCommitTypeForResponse, +) class CommitSearchResultItemType(TypedDict): @@ -39,6 +45,26 @@ class CommitSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class CommitSearchResultItemTypeForResponse(TypedDict): + """Commit Search Result Item + + Commit Search Result Item + """ + + url: str + sha: str + html_url: str + comments_url: str + commit: CommitSearchResultItemPropCommitTypeForResponse + author: Union[None, SimpleUserTypeForResponse] + committer: Union[None, GitUserTypeForResponse] + parents: list[CommitSearchResultItemPropParentsItemsTypeForResponse] + repository: MinimalRepositoryTypeForResponse + score: float + node_id: str + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class CommitSearchResultItemPropParentsItemsType(TypedDict): """CommitSearchResultItemPropParentsItems""" @@ -47,6 +73,14 @@ class CommitSearchResultItemPropParentsItemsType(TypedDict): sha: NotRequired[str] +class CommitSearchResultItemPropParentsItemsTypeForResponse(TypedDict): + """CommitSearchResultItemPropParentsItems""" + + url: NotRequired[str] + html_url: NotRequired[str] + sha: NotRequired[str] + + class SearchCommitsGetResponse200Type(TypedDict): """SearchCommitsGetResponse200""" @@ -55,8 +89,19 @@ class SearchCommitsGetResponse200Type(TypedDict): items: list[CommitSearchResultItemType] +class SearchCommitsGetResponse200TypeForResponse(TypedDict): + """SearchCommitsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[CommitSearchResultItemTypeForResponse] + + __all__ = ( "CommitSearchResultItemPropParentsItemsType", + "CommitSearchResultItemPropParentsItemsTypeForResponse", "CommitSearchResultItemType", + "CommitSearchResultItemTypeForResponse", "SearchCommitsGetResponse200Type", + "SearchCommitsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0512.py b/githubkit/versions/ghec_v2022_11_28/types/group_0512.py index d0cc60b04..2a91bfdd2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0512.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0512.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0323 import GitUserType -from .group_0324 import VerificationType +from .group_0323 import GitUserType, GitUserTypeForResponse +from .group_0324 import VerificationType, VerificationTypeForResponse class CommitSearchResultItemPropCommitType(TypedDict): @@ -29,6 +29,18 @@ class CommitSearchResultItemPropCommitType(TypedDict): verification: NotRequired[VerificationType] +class CommitSearchResultItemPropCommitTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommit""" + + author: CommitSearchResultItemPropCommitPropAuthorTypeForResponse + committer: Union[None, GitUserTypeForResponse] + comment_count: int + message: str + tree: CommitSearchResultItemPropCommitPropTreeTypeForResponse + url: str + verification: NotRequired[VerificationTypeForResponse] + + class CommitSearchResultItemPropCommitPropAuthorType(TypedDict): """CommitSearchResultItemPropCommitPropAuthor""" @@ -37,6 +49,14 @@ class CommitSearchResultItemPropCommitPropAuthorType(TypedDict): date: datetime +class CommitSearchResultItemPropCommitPropAuthorTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommitPropAuthor""" + + name: str + email: str + date: str + + class CommitSearchResultItemPropCommitPropTreeType(TypedDict): """CommitSearchResultItemPropCommitPropTree""" @@ -44,8 +64,18 @@ class CommitSearchResultItemPropCommitPropTreeType(TypedDict): url: str +class CommitSearchResultItemPropCommitPropTreeTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommitPropTree""" + + sha: str + url: str + + __all__ = ( "CommitSearchResultItemPropCommitPropAuthorType", + "CommitSearchResultItemPropCommitPropAuthorTypeForResponse", "CommitSearchResultItemPropCommitPropTreeType", + "CommitSearchResultItemPropCommitPropTreeTypeForResponse", "CommitSearchResultItemPropCommitType", + "CommitSearchResultItemPropCommitTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0513.py b/githubkit/versions/ghec_v2022_11_28/types/group_0513.py index 23869a13f..b6bd1e545 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0513.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0513.py @@ -13,15 +13,23 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0020 import RepositoryType -from .group_0193 import MilestoneType -from .group_0194 import IssueTypeType -from .group_0195 import ReactionRollupType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0195 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class IssueSearchResultItemType(TypedDict): @@ -80,6 +88,62 @@ class IssueSearchResultItemType(TypedDict): reactions: NotRequired[ReactionRollupType] +class IssueSearchResultItemTypeForResponse(TypedDict): + """Issue Search Result Item + + Issue Search Result Item + """ + + url: str + repository_url: str + labels_url: str + comments_url: str + events_url: str + html_url: str + id: int + node_id: str + number: int + title: str + locked: bool + active_lock_reason: NotRequired[Union[str, None]] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + user: Union[None, SimpleUserTypeForResponse] + labels: list[IssueSearchResultItemPropLabelsItemsTypeForResponse] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: str + state_reason: NotRequired[Union[str, None]] + assignee: Union[None, SimpleUserTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + comments: int + created_at: str + updated_at: str + closed_at: Union[str, None] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + pull_request: NotRequired[IssueSearchResultItemPropPullRequestTypeForResponse] + body: NotRequired[str] + score: float + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + draft: NotRequired[bool] + repository: NotRequired[RepositoryTypeForResponse] + body_html: NotRequired[str] + body_text: NotRequired[str] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + class IssueSearchResultItemPropLabelsItemsType(TypedDict): """IssueSearchResultItemPropLabelsItems""" @@ -92,6 +156,18 @@ class IssueSearchResultItemPropLabelsItemsType(TypedDict): description: NotRequired[Union[str, None]] +class IssueSearchResultItemPropLabelsItemsTypeForResponse(TypedDict): + """IssueSearchResultItemPropLabelsItems""" + + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + name: NotRequired[str] + color: NotRequired[str] + default: NotRequired[bool] + description: NotRequired[Union[str, None]] + + class IssueSearchResultItemPropPullRequestType(TypedDict): """IssueSearchResultItemPropPullRequest""" @@ -102,6 +178,16 @@ class IssueSearchResultItemPropPullRequestType(TypedDict): url: Union[str, None] +class IssueSearchResultItemPropPullRequestTypeForResponse(TypedDict): + """IssueSearchResultItemPropPullRequest""" + + merged_at: NotRequired[Union[str, None]] + diff_url: Union[str, None] + html_url: Union[str, None] + patch_url: Union[str, None] + url: Union[str, None] + + class SearchIssuesGetResponse200Type(TypedDict): """SearchIssuesGetResponse200""" @@ -110,9 +196,21 @@ class SearchIssuesGetResponse200Type(TypedDict): items: list[IssueSearchResultItemType] +class SearchIssuesGetResponse200TypeForResponse(TypedDict): + """SearchIssuesGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[IssueSearchResultItemTypeForResponse] + + __all__ = ( "IssueSearchResultItemPropLabelsItemsType", + "IssueSearchResultItemPropLabelsItemsTypeForResponse", "IssueSearchResultItemPropPullRequestType", + "IssueSearchResultItemPropPullRequestTypeForResponse", "IssueSearchResultItemType", + "IssueSearchResultItemTypeForResponse", "SearchIssuesGetResponse200Type", + "SearchIssuesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0514.py b/githubkit/versions/ghec_v2022_11_28/types/group_0514.py index 6b3f11719..0934698b1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0514.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0514.py @@ -12,7 +12,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class LabelSearchResultItemType(TypedDict): @@ -32,6 +35,23 @@ class LabelSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class LabelSearchResultItemTypeForResponse(TypedDict): + """Label Search Result Item + + Label Search Result Item + """ + + id: int + node_id: str + url: str + name: str + color: str + default: bool + description: Union[str, None] + score: float + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class SearchLabelsGetResponse200Type(TypedDict): """SearchLabelsGetResponse200""" @@ -40,7 +60,17 @@ class SearchLabelsGetResponse200Type(TypedDict): items: list[LabelSearchResultItemType] +class SearchLabelsGetResponse200TypeForResponse(TypedDict): + """SearchLabelsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[LabelSearchResultItemTypeForResponse] + + __all__ = ( "LabelSearchResultItemType", + "LabelSearchResultItemTypeForResponse", "SearchLabelsGetResponse200Type", + "SearchLabelsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0515.py b/githubkit/versions/ghec_v2022_11_28/types/group_0515.py index 9af1e6dcc..94cbd322b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0515.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0515.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class RepoSearchResultItemType(TypedDict): @@ -115,6 +118,103 @@ class RepoSearchResultItemType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class RepoSearchResultItemTypeForResponse(TypedDict): + """Repo Search Result Item + + Repo Search Result Item + """ + + id: int + node_id: str + name: str + full_name: str + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + created_at: str + updated_at: str + pushed_at: str + homepage: Union[str, None] + size: int + stargazers_count: int + watchers_count: int + language: Union[str, None] + forks_count: int + open_issues_count: int + master_branch: NotRequired[str] + default_branch: str + score: float + forks_url: str + keys_url: str + collaborators_url: str + teams_url: str + hooks_url: str + issue_events_url: str + events_url: str + assignees_url: str + branches_url: str + tags_url: str + blobs_url: str + git_tags_url: str + git_refs_url: str + trees_url: str + statuses_url: str + languages_url: str + stargazers_url: str + contributors_url: str + subscribers_url: str + subscription_url: str + commits_url: str + git_commits_url: str + comments_url: str + issue_comment_url: str + contents_url: str + compare_url: str + merges_url: str + archive_url: str + downloads_url: str + issues_url: str + pulls_url: str + milestones_url: str + notifications_url: str + labels_url: str + releases_url: str + deployments_url: str + git_url: str + ssh_url: str + clone_url: str + svn_url: str + forks: int + open_issues: int + watchers: int + topics: NotRequired[list[str]] + mirror_url: Union[str, None] + has_issues: bool + has_projects: bool + has_pages: bool + has_wiki: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + license_: Union[None, LicenseSimpleTypeForResponse] + permissions: NotRequired[RepoSearchResultItemPropPermissionsTypeForResponse] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + temp_clone_token: NotRequired[Union[str, None]] + allow_merge_commit: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + is_template: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + + class RepoSearchResultItemPropPermissionsType(TypedDict): """RepoSearchResultItemPropPermissions""" @@ -125,6 +225,16 @@ class RepoSearchResultItemPropPermissionsType(TypedDict): pull: bool +class RepoSearchResultItemPropPermissionsTypeForResponse(TypedDict): + """RepoSearchResultItemPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + push: bool + triage: NotRequired[bool] + pull: bool + + class SearchRepositoriesGetResponse200Type(TypedDict): """SearchRepositoriesGetResponse200""" @@ -133,8 +243,19 @@ class SearchRepositoriesGetResponse200Type(TypedDict): items: list[RepoSearchResultItemType] +class SearchRepositoriesGetResponse200TypeForResponse(TypedDict): + """SearchRepositoriesGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[RepoSearchResultItemTypeForResponse] + + __all__ = ( "RepoSearchResultItemPropPermissionsType", + "RepoSearchResultItemPropPermissionsTypeForResponse", "RepoSearchResultItemType", + "RepoSearchResultItemTypeForResponse", "SearchRepositoriesGetResponse200Type", + "SearchRepositoriesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0516.py b/githubkit/versions/ghec_v2022_11_28/types/group_0516.py index d97a0b354..b07562d34 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0516.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0516.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class TopicSearchResultItemType(TypedDict): @@ -40,6 +43,34 @@ class TopicSearchResultItemType(TypedDict): aliases: NotRequired[Union[list[TopicSearchResultItemPropAliasesItemsType], None]] +class TopicSearchResultItemTypeForResponse(TypedDict): + """Topic Search Result Item + + Topic Search Result Item + """ + + name: str + display_name: Union[str, None] + short_description: Union[str, None] + description: Union[str, None] + created_by: Union[str, None] + released: Union[str, None] + created_at: str + updated_at: str + featured: bool + curated: bool + score: float + repository_count: NotRequired[Union[int, None]] + logo_url: NotRequired[Union[str, None]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + related: NotRequired[ + Union[list[TopicSearchResultItemPropRelatedItemsTypeForResponse], None] + ] + aliases: NotRequired[ + Union[list[TopicSearchResultItemPropAliasesItemsTypeForResponse], None] + ] + + class TopicSearchResultItemPropRelatedItemsType(TypedDict): """TopicSearchResultItemPropRelatedItems""" @@ -48,6 +79,14 @@ class TopicSearchResultItemPropRelatedItemsType(TypedDict): ] +class TopicSearchResultItemPropRelatedItemsTypeForResponse(TypedDict): + """TopicSearchResultItemPropRelatedItems""" + + topic_relation: NotRequired[ + TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse + ] + + class TopicSearchResultItemPropRelatedItemsPropTopicRelationType(TypedDict): """TopicSearchResultItemPropRelatedItemsPropTopicRelation""" @@ -57,6 +96,15 @@ class TopicSearchResultItemPropRelatedItemsPropTopicRelationType(TypedDict): relation_type: NotRequired[str] +class TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse(TypedDict): + """TopicSearchResultItemPropRelatedItemsPropTopicRelation""" + + id: NotRequired[int] + name: NotRequired[str] + topic_id: NotRequired[int] + relation_type: NotRequired[str] + + class TopicSearchResultItemPropAliasesItemsType(TypedDict): """TopicSearchResultItemPropAliasesItems""" @@ -65,6 +113,14 @@ class TopicSearchResultItemPropAliasesItemsType(TypedDict): ] +class TopicSearchResultItemPropAliasesItemsTypeForResponse(TypedDict): + """TopicSearchResultItemPropAliasesItems""" + + topic_relation: NotRequired[ + TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse + ] + + class TopicSearchResultItemPropAliasesItemsPropTopicRelationType(TypedDict): """TopicSearchResultItemPropAliasesItemsPropTopicRelation""" @@ -74,6 +130,15 @@ class TopicSearchResultItemPropAliasesItemsPropTopicRelationType(TypedDict): relation_type: NotRequired[str] +class TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse(TypedDict): + """TopicSearchResultItemPropAliasesItemsPropTopicRelation""" + + id: NotRequired[int] + name: NotRequired[str] + topic_id: NotRequired[int] + relation_type: NotRequired[str] + + class SearchTopicsGetResponse200Type(TypedDict): """SearchTopicsGetResponse200""" @@ -82,11 +147,25 @@ class SearchTopicsGetResponse200Type(TypedDict): items: list[TopicSearchResultItemType] +class SearchTopicsGetResponse200TypeForResponse(TypedDict): + """SearchTopicsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[TopicSearchResultItemTypeForResponse] + + __all__ = ( "SearchTopicsGetResponse200Type", + "SearchTopicsGetResponse200TypeForResponse", "TopicSearchResultItemPropAliasesItemsPropTopicRelationType", + "TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropAliasesItemsType", + "TopicSearchResultItemPropAliasesItemsTypeForResponse", "TopicSearchResultItemPropRelatedItemsPropTopicRelationType", + "TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropRelatedItemsType", + "TopicSearchResultItemPropRelatedItemsTypeForResponse", "TopicSearchResultItemType", + "TopicSearchResultItemTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0517.py b/githubkit/versions/ghec_v2022_11_28/types/group_0517.py index e0071349d..dbd6ef25b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0517.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0517.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0509 import SearchResultTextMatchesItemsType +from .group_0509 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class UserSearchResultItemType(TypedDict): @@ -59,6 +62,49 @@ class UserSearchResultItemType(TypedDict): user_view_type: NotRequired[str] +class UserSearchResultItemTypeForResponse(TypedDict): + """User Search Result Item + + User Search Result Item + """ + + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + received_events_url: str + type: str + score: float + following_url: str + gists_url: str + starred_url: str + events_url: str + public_repos: NotRequired[int] + public_gists: NotRequired[int] + followers: NotRequired[int] + following: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[str] + name: NotRequired[Union[str, None]] + bio: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + site_admin: bool + hireable: NotRequired[Union[bool, None]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + blog: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + suspended_at: NotRequired[Union[str, None]] + user_view_type: NotRequired[str] + + class SearchUsersGetResponse200Type(TypedDict): """SearchUsersGetResponse200""" @@ -67,7 +113,17 @@ class SearchUsersGetResponse200Type(TypedDict): items: list[UserSearchResultItemType] +class SearchUsersGetResponse200TypeForResponse(TypedDict): + """SearchUsersGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[UserSearchResultItemTypeForResponse] + + __all__ = ( "SearchUsersGetResponse200Type", + "SearchUsersGetResponse200TypeForResponse", "UserSearchResultItemType", + "UserSearchResultItemTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0518.py b/githubkit/versions/ghec_v2022_11_28/types/group_0518.py index 855325c4a..2b6422ca2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0518.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0518.py @@ -65,6 +65,57 @@ class PrivateUserType(TypedDict): ldap_dn: NotRequired[str] +class PrivateUserTypeForResponse(TypedDict): + """Private User + + Private User + """ + + login: str + id: int + user_view_type: NotRequired[str] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + name: Union[str, None] + company: Union[str, None] + blog: Union[str, None] + location: Union[str, None] + email: Union[str, None] + notification_email: NotRequired[Union[str, None]] + hireable: Union[bool, None] + bio: Union[str, None] + twitter_username: NotRequired[Union[str, None]] + public_repos: int + public_gists: int + followers: int + following: int + created_at: str + updated_at: str + private_gists: int + total_private_repos: int + owned_private_repos: int + disk_usage: int + collaborators: int + two_factor_authentication: bool + plan: NotRequired[PrivateUserPropPlanTypeForResponse] + business_plus: NotRequired[bool] + ldap_dn: NotRequired[str] + + class PrivateUserPropPlanType(TypedDict): """PrivateUserPropPlan""" @@ -74,7 +125,18 @@ class PrivateUserPropPlanType(TypedDict): private_repos: int +class PrivateUserPropPlanTypeForResponse(TypedDict): + """PrivateUserPropPlan""" + + collaborators: int + name: str + space: int + private_repos: int + + __all__ = ( "PrivateUserPropPlanType", + "PrivateUserPropPlanTypeForResponse", "PrivateUserType", + "PrivateUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0519.py b/githubkit/versions/ghec_v2022_11_28/types/group_0519.py index 6be52538b..c16066e57 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0519.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0519.py @@ -22,4 +22,17 @@ class CodespacesUserPublicKeyType(TypedDict): key: str -__all__ = ("CodespacesUserPublicKeyType",) +class CodespacesUserPublicKeyTypeForResponse(TypedDict): + """CodespacesUserPublicKey + + The public key used for setting user Codespaces' Secrets. + """ + + key_id: str + key: str + + +__all__ = ( + "CodespacesUserPublicKeyType", + "CodespacesUserPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0520.py b/githubkit/versions/ghec_v2022_11_28/types/group_0520.py index 2b50d37d0..a785b760b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0520.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0520.py @@ -30,4 +30,23 @@ class CodespaceExportDetailsType(TypedDict): html_url: NotRequired[Union[str, None]] -__all__ = ("CodespaceExportDetailsType",) +class CodespaceExportDetailsTypeForResponse(TypedDict): + """Fetches information about an export of a codespace. + + An export of a codespace. Also, latest export details for a codespace can be + fetched with id = latest + """ + + state: NotRequired[Union[str, None]] + completed_at: NotRequired[Union[str, None]] + branch: NotRequired[Union[str, None]] + sha: NotRequired[Union[str, None]] + id: NotRequired[str] + export_url: NotRequired[str] + html_url: NotRequired[Union[str, None]] + + +__all__ = ( + "CodespaceExportDetailsType", + "CodespaceExportDetailsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0521.py b/githubkit/versions/ghec_v2022_11_28/types/group_0521.py index e68c3c28f..cfd739fdd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0521.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0521.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0227 import CodespaceMachineType -from .group_0277 import FullRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0227 import CodespaceMachineType, CodespaceMachineTypeForResponse +from .group_0277 import FullRepositoryType, FullRepositoryTypeForResponse class CodespaceWithFullRepositoryType(TypedDict): @@ -77,6 +77,65 @@ class CodespaceWithFullRepositoryType(TypedDict): retention_expires_at: NotRequired[Union[datetime, None]] +class CodespaceWithFullRepositoryTypeForResponse(TypedDict): + """Codespace + + A codespace. + """ + + id: int + name: str + display_name: NotRequired[Union[str, None]] + environment_id: Union[str, None] + owner: SimpleUserTypeForResponse + billable_owner: SimpleUserTypeForResponse + repository: FullRepositoryTypeForResponse + machine: Union[None, CodespaceMachineTypeForResponse] + devcontainer_path: NotRequired[Union[str, None]] + prebuild: Union[bool, None] + created_at: str + updated_at: str + last_used_at: str + state: Literal[ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding", + ] + url: str + git_status: CodespaceWithFullRepositoryPropGitStatusTypeForResponse + location: Literal["EastUs", "SouthEastAsia", "WestEurope", "WestUs2"] + idle_timeout_minutes: Union[int, None] + web_url: str + machines_url: str + start_url: str + stop_url: str + publish_url: NotRequired[Union[str, None]] + pulls_url: Union[str, None] + recent_folders: list[str] + runtime_constraints: NotRequired[ + CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse + ] + pending_operation: NotRequired[Union[bool, None]] + pending_operation_disabled_reason: NotRequired[Union[str, None]] + idle_timeout_notice: NotRequired[Union[str, None]] + retention_period_minutes: NotRequired[Union[int, None]] + retention_expires_at: NotRequired[Union[str, None]] + + class CodespaceWithFullRepositoryPropGitStatusType(TypedDict): """CodespaceWithFullRepositoryPropGitStatus @@ -90,14 +149,36 @@ class CodespaceWithFullRepositoryPropGitStatusType(TypedDict): ref: NotRequired[str] +class CodespaceWithFullRepositoryPropGitStatusTypeForResponse(TypedDict): + """CodespaceWithFullRepositoryPropGitStatus + + Details about the codespace's git repository. + """ + + ahead: NotRequired[int] + behind: NotRequired[int] + has_unpushed_changes: NotRequired[bool] + has_uncommitted_changes: NotRequired[bool] + ref: NotRequired[str] + + class CodespaceWithFullRepositoryPropRuntimeConstraintsType(TypedDict): """CodespaceWithFullRepositoryPropRuntimeConstraints""" allowed_port_privacy_settings: NotRequired[Union[list[str], None]] +class CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse(TypedDict): + """CodespaceWithFullRepositoryPropRuntimeConstraints""" + + allowed_port_privacy_settings: NotRequired[Union[list[str], None]] + + __all__ = ( "CodespaceWithFullRepositoryPropGitStatusType", + "CodespaceWithFullRepositoryPropGitStatusTypeForResponse", "CodespaceWithFullRepositoryPropRuntimeConstraintsType", + "CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse", "CodespaceWithFullRepositoryType", + "CodespaceWithFullRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0522.py b/githubkit/versions/ghec_v2022_11_28/types/group_0522.py index 767832678..1993f7b87 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0522.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0522.py @@ -25,4 +25,19 @@ class EmailType(TypedDict): visibility: Union[str, None] -__all__ = ("EmailType",) +class EmailTypeForResponse(TypedDict): + """Email + + Email + """ + + email: str + primary: bool + verified: bool + visibility: Union[str, None] + + +__all__ = ( + "EmailType", + "EmailTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0523.py b/githubkit/versions/ghec_v2022_11_28/types/group_0523.py index 324df51fb..2e19eb976 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0523.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0523.py @@ -37,6 +37,29 @@ class GpgKeyType(TypedDict): raw_key: Union[str, None] +class GpgKeyTypeForResponse(TypedDict): + """GPG Key + + A unique encryption key + """ + + id: int + name: NotRequired[Union[str, None]] + primary_key_id: Union[int, None] + key_id: str + public_key: str + emails: list[GpgKeyPropEmailsItemsTypeForResponse] + subkeys: list[GpgKeyPropSubkeysItemsTypeForResponse] + can_sign: bool + can_encrypt_comms: bool + can_encrypt_storage: bool + can_certify: bool + created_at: str + expires_at: Union[str, None] + revoked: bool + raw_key: Union[str, None] + + class GpgKeyPropEmailsItemsType(TypedDict): """GpgKeyPropEmailsItems""" @@ -44,6 +67,13 @@ class GpgKeyPropEmailsItemsType(TypedDict): verified: NotRequired[bool] +class GpgKeyPropEmailsItemsTypeForResponse(TypedDict): + """GpgKeyPropEmailsItems""" + + email: NotRequired[str] + verified: NotRequired[bool] + + class GpgKeyPropSubkeysItemsType(TypedDict): """GpgKeyPropSubkeysItems""" @@ -63,6 +93,25 @@ class GpgKeyPropSubkeysItemsType(TypedDict): revoked: NotRequired[bool] +class GpgKeyPropSubkeysItemsTypeForResponse(TypedDict): + """GpgKeyPropSubkeysItems""" + + id: NotRequired[int] + primary_key_id: NotRequired[int] + key_id: NotRequired[str] + public_key: NotRequired[str] + emails: NotRequired[list[GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse]] + subkeys: NotRequired[list[Any]] + can_sign: NotRequired[bool] + can_encrypt_comms: NotRequired[bool] + can_encrypt_storage: NotRequired[bool] + can_certify: NotRequired[bool] + created_at: NotRequired[str] + expires_at: NotRequired[Union[str, None]] + raw_key: NotRequired[Union[str, None]] + revoked: NotRequired[bool] + + class GpgKeyPropSubkeysItemsPropEmailsItemsType(TypedDict): """GpgKeyPropSubkeysItemsPropEmailsItems""" @@ -70,9 +119,20 @@ class GpgKeyPropSubkeysItemsPropEmailsItemsType(TypedDict): verified: NotRequired[bool] +class GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse(TypedDict): + """GpgKeyPropSubkeysItemsPropEmailsItems""" + + email: NotRequired[str] + verified: NotRequired[bool] + + __all__ = ( "GpgKeyPropEmailsItemsType", + "GpgKeyPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsPropEmailsItemsType", + "GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsType", + "GpgKeyPropSubkeysItemsTypeForResponse", "GpgKeyType", + "GpgKeyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0524.py b/githubkit/versions/ghec_v2022_11_28/types/group_0524.py index 3b5ea56a7..2e3274d2f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0524.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0524.py @@ -30,4 +30,23 @@ class KeyType(TypedDict): last_used: NotRequired[Union[datetime, None]] -__all__ = ("KeyType",) +class KeyTypeForResponse(TypedDict): + """Key + + Key + """ + + key: str + id: int + url: str + title: str + created_at: str + verified: bool + read_only: bool + last_used: NotRequired[Union[str, None]] + + +__all__ = ( + "KeyType", + "KeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0525.py b/githubkit/versions/ghec_v2022_11_28/types/group_0525.py index febd9334b..b3db88af7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0525.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0525.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0209 import MarketplaceListingPlanType +from .group_0209 import ( + MarketplaceListingPlanType, + MarketplaceListingPlanTypeForResponse, +) class UserMarketplacePurchaseType(TypedDict): @@ -32,6 +35,22 @@ class UserMarketplacePurchaseType(TypedDict): plan: MarketplaceListingPlanType +class UserMarketplacePurchaseTypeForResponse(TypedDict): + """User Marketplace Purchase + + User Marketplace Purchase + """ + + billing_cycle: str + next_billing_date: Union[str, None] + unit_count: Union[int, None] + on_free_trial: bool + free_trial_ends_on: Union[str, None] + updated_at: Union[str, None] + account: MarketplaceAccountTypeForResponse + plan: MarketplaceListingPlanTypeForResponse + + class MarketplaceAccountType(TypedDict): """Marketplace Account""" @@ -44,7 +63,21 @@ class MarketplaceAccountType(TypedDict): organization_billing_email: NotRequired[Union[str, None]] +class MarketplaceAccountTypeForResponse(TypedDict): + """Marketplace Account""" + + url: str + id: int + type: str + node_id: NotRequired[str] + login: str + email: NotRequired[Union[str, None]] + organization_billing_email: NotRequired[Union[str, None]] + + __all__ = ( "MarketplaceAccountType", + "MarketplaceAccountTypeForResponse", "UserMarketplacePurchaseType", + "UserMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0526.py b/githubkit/versions/ghec_v2022_11_28/types/group_0526.py index f892fc0d3..50d89685d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0526.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0526.py @@ -22,4 +22,17 @@ class SocialAccountType(TypedDict): url: str -__all__ = ("SocialAccountType",) +class SocialAccountTypeForResponse(TypedDict): + """Social account + + Social media account + """ + + provider: str + url: str + + +__all__ = ( + "SocialAccountType", + "SocialAccountTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0527.py b/githubkit/versions/ghec_v2022_11_28/types/group_0527.py index a3c3f348b..0889d7548 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0527.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0527.py @@ -25,4 +25,19 @@ class SshSigningKeyType(TypedDict): created_at: datetime -__all__ = ("SshSigningKeyType",) +class SshSigningKeyTypeForResponse(TypedDict): + """SSH Signing Key + + A public SSH key used to sign Git commits + """ + + key: str + id: int + title: str + created_at: str + + +__all__ = ( + "SshSigningKeyType", + "SshSigningKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0528.py b/githubkit/versions/ghec_v2022_11_28/types/group_0528.py index de982a527..a66a1c72f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0528.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0528.py @@ -12,7 +12,7 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class StarredRepositoryType(TypedDict): @@ -25,4 +25,17 @@ class StarredRepositoryType(TypedDict): repo: RepositoryType -__all__ = ("StarredRepositoryType",) +class StarredRepositoryTypeForResponse(TypedDict): + """Starred Repository + + Starred Repository + """ + + starred_at: str + repo: RepositoryTypeForResponse + + +__all__ = ( + "StarredRepositoryType", + "StarredRepositoryTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0529.py b/githubkit/versions/ghec_v2022_11_28/types/group_0529.py index d66bf379e..e4b2caf0d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0529.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0529.py @@ -21,6 +21,15 @@ class HovercardType(TypedDict): contexts: list[HovercardPropContextsItemsType] +class HovercardTypeForResponse(TypedDict): + """Hovercard + + Hovercard + """ + + contexts: list[HovercardPropContextsItemsTypeForResponse] + + class HovercardPropContextsItemsType(TypedDict): """HovercardPropContextsItems""" @@ -28,7 +37,16 @@ class HovercardPropContextsItemsType(TypedDict): octicon: str +class HovercardPropContextsItemsTypeForResponse(TypedDict): + """HovercardPropContextsItems""" + + message: str + octicon: str + + __all__ = ( "HovercardPropContextsItemsType", + "HovercardPropContextsItemsTypeForResponse", "HovercardType", + "HovercardTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0530.py b/githubkit/versions/ghec_v2022_11_28/types/group_0530.py index e0295b625..7bc61e6b9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0530.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0530.py @@ -26,4 +26,19 @@ class KeySimpleType(TypedDict): last_used: NotRequired[Union[datetime, None]] -__all__ = ("KeySimpleType",) +class KeySimpleTypeForResponse(TypedDict): + """Key Simple + + Key Simple + """ + + id: int + key: str + created_at: NotRequired[str] + last_used: NotRequired[Union[str, None]] + + +__all__ = ( + "KeySimpleType", + "KeySimpleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0531.py b/githubkit/versions/ghec_v2022_11_28/types/group_0531.py index 27b38da1e..4c0ea2e42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0531.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0531.py @@ -22,6 +22,18 @@ class BillingPremiumRequestUsageReportUserType(TypedDict): usage_items: list[BillingPremiumRequestUsageReportUserPropUsageItemsItemsType] +class BillingPremiumRequestUsageReportUserTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUser""" + + time_period: BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse + user: str + product: NotRequired[str] + model: NotRequired[str] + usage_items: list[ + BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse + ] + + class BillingPremiumRequestUsageReportUserPropTimePeriodType(TypedDict): """BillingPremiumRequestUsageReportUserPropTimePeriod""" @@ -30,6 +42,14 @@ class BillingPremiumRequestUsageReportUserPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUserPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingPremiumRequestUsageReportUserPropUsageItemsItemsType(TypedDict): """BillingPremiumRequestUsageReportUserPropUsageItemsItems""" @@ -46,8 +66,27 @@ class BillingPremiumRequestUsageReportUserPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUserPropUsageItemsItems""" + + product: str + sku: str + model: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingPremiumRequestUsageReportUserPropTimePeriodType", + "BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportUserPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse", "BillingPremiumRequestUsageReportUserType", + "BillingPremiumRequestUsageReportUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0532.py b/githubkit/versions/ghec_v2022_11_28/types/group_0532.py index 4f0fc4229..2ae230d2a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0532.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0532.py @@ -18,6 +18,14 @@ class BillingUsageReportUserType(TypedDict): usage_items: NotRequired[list[BillingUsageReportUserPropUsageItemsItemsType]] +class BillingUsageReportUserTypeForResponse(TypedDict): + """BillingUsageReportUser""" + + usage_items: NotRequired[ + list[BillingUsageReportUserPropUsageItemsItemsTypeForResponse] + ] + + class BillingUsageReportUserPropUsageItemsItemsType(TypedDict): """BillingUsageReportUserPropUsageItemsItems""" @@ -33,7 +41,24 @@ class BillingUsageReportUserPropUsageItemsItemsType(TypedDict): repository_name: NotRequired[str] +class BillingUsageReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageReportUserPropUsageItemsItems""" + + date: str + product: str + sku: str + quantity: int + unit_type: str + price_per_unit: float + gross_amount: float + discount_amount: float + net_amount: float + repository_name: NotRequired[str] + + __all__ = ( "BillingUsageReportUserPropUsageItemsItemsType", + "BillingUsageReportUserPropUsageItemsItemsTypeForResponse", "BillingUsageReportUserType", + "BillingUsageReportUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0533.py b/githubkit/versions/ghec_v2022_11_28/types/group_0533.py index 07602a484..09deddd97 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0533.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0533.py @@ -23,6 +23,17 @@ class BillingUsageSummaryReportUserType(TypedDict): usage_items: list[BillingUsageSummaryReportUserPropUsageItemsItemsType] +class BillingUsageSummaryReportUserTypeForResponse(TypedDict): + """BillingUsageSummaryReportUser""" + + time_period: BillingUsageSummaryReportUserPropTimePeriodTypeForResponse + user: str + repository: NotRequired[str] + product: NotRequired[str] + sku: NotRequired[str] + usage_items: list[BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse] + + class BillingUsageSummaryReportUserPropTimePeriodType(TypedDict): """BillingUsageSummaryReportUserPropTimePeriod""" @@ -31,6 +42,14 @@ class BillingUsageSummaryReportUserPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingUsageSummaryReportUserPropTimePeriodTypeForResponse(TypedDict): + """BillingUsageSummaryReportUserPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingUsageSummaryReportUserPropUsageItemsItemsType(TypedDict): """BillingUsageSummaryReportUserPropUsageItemsItems""" @@ -46,8 +65,26 @@ class BillingUsageSummaryReportUserPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageSummaryReportUserPropUsageItemsItems""" + + product: str + sku: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingUsageSummaryReportUserPropTimePeriodType", + "BillingUsageSummaryReportUserPropTimePeriodTypeForResponse", "BillingUsageSummaryReportUserPropUsageItemsItemsType", + "BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse", "BillingUsageSummaryReportUserType", + "BillingUsageSummaryReportUserTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0534.py b/githubkit/versions/ghec_v2022_11_28/types/group_0534.py index c148eac40..2861e4414 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0534.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0534.py @@ -37,4 +37,30 @@ class EnterpriseWebhooksType(TypedDict): avatar_url: str -__all__ = ("EnterpriseWebhooksType",) +class EnterpriseWebhooksTypeForResponse(TypedDict): + """Enterprise + + An enterprise on GitHub. Webhook payloads contain the `enterprise` property when + the webhook is configured + on an enterprise account or an organization that's part of an enterprise + account. For more information, + see "[About enterprise accounts](https://docs.github.com/enterprise- + cloud@latest//admin/overview/about-enterprise-accounts)." + """ + + description: NotRequired[Union[str, None]] + html_url: str + website_url: NotRequired[Union[str, None]] + id: int + node_id: str + name: str + slug: str + created_at: Union[str, None] + updated_at: Union[str, None] + avatar_url: str + + +__all__ = ( + "EnterpriseWebhooksType", + "EnterpriseWebhooksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0535.py b/githubkit/versions/ghec_v2022_11_28/types/group_0535.py index 6a6fdd608..d3a7f4e5b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0535.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0535.py @@ -27,4 +27,22 @@ class SimpleInstallationType(TypedDict): node_id: str -__all__ = ("SimpleInstallationType",) +class SimpleInstallationTypeForResponse(TypedDict): + """Simple Installation + + The GitHub App installation. Webhook payloads contain the `installation` + property when the event is configured + for and sent to a GitHub App. For more information, + see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise- + cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks- + with-github-apps)." + """ + + id: int + node_id: str + + +__all__ = ( + "SimpleInstallationType", + "SimpleInstallationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0536.py b/githubkit/versions/ghec_v2022_11_28/types/group_0536.py index b52264ecb..db1a77200 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0536.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0536.py @@ -36,4 +36,30 @@ class OrganizationSimpleWebhooksType(TypedDict): description: Union[str, None] -__all__ = ("OrganizationSimpleWebhooksType",) +class OrganizationSimpleWebhooksTypeForResponse(TypedDict): + """Organization Simple + + A GitHub organization. Webhook payloads contain the `organization` property when + the webhook is configured for an + organization, or when the event occurs from activity in a repository owned by an + organization. + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + + +__all__ = ( + "OrganizationSimpleWebhooksType", + "OrganizationSimpleWebhooksTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0537.py b/githubkit/versions/ghec_v2022_11_28/types/group_0537.py index 5ba060a68..f12a66aa7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0537.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0537.py @@ -13,8 +13,8 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class RepositoryWebhooksType(TypedDict): @@ -131,6 +131,122 @@ class RepositoryWebhooksType(TypedDict): anonymous_access_enabled: NotRequired[bool] +class RepositoryWebhooksTypeForResponse(TypedDict): + """Repository + + The repository on GitHub where the event occurred. Webhook payloads contain the + `repository` property + when the event occurs from activity in a repository. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + organization: NotRequired[Union[None, SimpleUserTypeForResponse]] + forks: int + permissions: NotRequired[RepositoryWebhooksPropPermissionsTypeForResponse] + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + custom_properties: NotRequired[ + RepositoryWebhooksPropCustomPropertiesTypeForResponse + ] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + template_repository: NotRequired[ + Union[RepositoryWebhooksPropTemplateRepositoryTypeForResponse, None] + ] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + open_issues: int + watchers: int + master_branch: NotRequired[str] + starred_at: NotRequired[str] + anonymous_access_enabled: NotRequired[bool] + + class RepositoryWebhooksPropPermissionsType(TypedDict): """RepositoryWebhooksPropPermissions""" @@ -141,6 +257,16 @@ class RepositoryWebhooksPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class RepositoryWebhooksPropPermissionsTypeForResponse(TypedDict): + """RepositoryWebhooksPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + RepositoryWebhooksPropCustomPropertiesType: TypeAlias = dict[str, Any] """RepositoryWebhooksPropCustomProperties @@ -150,6 +276,15 @@ class RepositoryWebhooksPropPermissionsType(TypedDict): """ +RepositoryWebhooksPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""RepositoryWebhooksPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class RepositoryWebhooksPropTemplateRepositoryType(TypedDict): """RepositoryWebhooksPropTemplateRepository""" @@ -246,6 +381,102 @@ class RepositoryWebhooksPropTemplateRepositoryType(TypedDict): network_count: NotRequired[int] +class RepositoryWebhooksPropTemplateRepositoryTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepository""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + full_name: NotRequired[str] + owner: NotRequired[RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse] + private: NotRequired[bool] + html_url: NotRequired[str] + description: NotRequired[str] + fork: NotRequired[bool] + url: NotRequired[str] + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + forks_url: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + git_url: NotRequired[str] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + notifications_url: NotRequired[str] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + ssh_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + clone_url: NotRequired[str] + mirror_url: NotRequired[str] + hooks_url: NotRequired[str] + svn_url: NotRequired[str] + homepage: NotRequired[str] + language: NotRequired[str] + forks_count: NotRequired[int] + stargazers_count: NotRequired[int] + watchers_count: NotRequired[int] + size: NotRequired[int] + default_branch: NotRequired[str] + open_issues_count: NotRequired[int] + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_pages: NotRequired[bool] + has_downloads: NotRequired[bool] + archived: NotRequired[bool] + disabled: NotRequired[bool] + visibility: NotRequired[str] + pushed_at: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + permissions: NotRequired[ + RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse + ] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + + class RepositoryWebhooksPropTemplateRepositoryPropOwnerType(TypedDict): """RepositoryWebhooksPropTemplateRepositoryPropOwner""" @@ -269,6 +500,29 @@ class RepositoryWebhooksPropTemplateRepositoryPropOwnerType(TypedDict): site_admin: NotRequired[bool] +class RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepositoryPropOwner""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + + class RepositoryWebhooksPropTemplateRepositoryPropPermissionsType(TypedDict): """RepositoryWebhooksPropTemplateRepositoryPropPermissions""" @@ -279,11 +533,27 @@ class RepositoryWebhooksPropTemplateRepositoryPropPermissionsType(TypedDict): pull: NotRequired[bool] +class RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepositoryPropPermissions""" + + admin: NotRequired[bool] + maintain: NotRequired[bool] + push: NotRequired[bool] + triage: NotRequired[bool] + pull: NotRequired[bool] + + __all__ = ( "RepositoryWebhooksPropCustomPropertiesType", + "RepositoryWebhooksPropCustomPropertiesTypeForResponse", "RepositoryWebhooksPropPermissionsType", + "RepositoryWebhooksPropPermissionsTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropOwnerType", + "RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropPermissionsType", + "RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryType", + "RepositoryWebhooksPropTemplateRepositoryTypeForResponse", "RepositoryWebhooksType", + "RepositoryWebhooksTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0538.py b/githubkit/versions/ghec_v2022_11_28/types/group_0538.py index 40a2b0a13..8e95fa3dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0538.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0538.py @@ -57,4 +57,50 @@ class WebhooksRuleType(TypedDict): updated_at: datetime -__all__ = ("WebhooksRuleType",) +class WebhooksRuleTypeForResponse(TypedDict): + """branch protection rule + + The branch protection rule. Includes a `name` and all the [branch protection + settings](https://docs.github.com/enterprise-cloud@latest//github/administering- + a-repository/defining-the-mergeability-of-pull-requests/about-protected- + branches#about-branch-protection-settings) applied to branches that match the + name. Binary settings are boolean. Multi-level configurations are one of `off`, + `non_admins`, or `everyone`. Actor and build lists are arrays of strings. + """ + + admin_enforced: bool + allow_deletions_enforcement_level: Literal["off", "non_admins", "everyone"] + allow_force_pushes_enforcement_level: Literal["off", "non_admins", "everyone"] + authorized_actor_names: list[str] + authorized_actors_only: bool + authorized_dismissal_actors_only: bool + create_protected: NotRequired[bool] + created_at: str + dismiss_stale_reviews_on_push: bool + id: int + ignore_approvals_from_contributors: bool + linear_history_requirement_enforcement_level: Literal[ + "off", "non_admins", "everyone" + ] + lock_branch_enforcement_level: Literal["off", "non_admins", "everyone"] + lock_allows_fork_sync: NotRequired[bool] + merge_queue_enforcement_level: Literal["off", "non_admins", "everyone"] + name: str + pull_request_reviews_enforcement_level: Literal["off", "non_admins", "everyone"] + repository_id: int + require_code_owner_review: bool + require_last_push_approval: NotRequired[bool] + required_approving_review_count: int + required_conversation_resolution_level: Literal["off", "non_admins", "everyone"] + required_deployments_enforcement_level: Literal["off", "non_admins", "everyone"] + required_status_checks: list[str] + required_status_checks_enforcement_level: Literal["off", "non_admins", "everyone"] + signature_requirement_enforcement_level: Literal["off", "non_admins", "everyone"] + strict_required_status_checks_policy: bool + updated_at: str + + +__all__ = ( + "WebhooksRuleType", + "WebhooksRuleTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0539.py b/githubkit/versions/ghec_v2022_11_28/types/group_0539.py index ff46b21c5..9be0c2b1a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0539.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0539.py @@ -28,4 +28,21 @@ class ExemptionResponseType(TypedDict): created_at: NotRequired[datetime] -__all__ = ("ExemptionResponseType",) +class ExemptionResponseTypeForResponse(TypedDict): + """Exemption response + + A response to an exemption request by a delegated bypasser. + """ + + id: NotRequired[int] + reviewer_id: NotRequired[int] + reviewer_login: NotRequired[str] + status: NotRequired[Literal["approved", "rejected", "dismissed"]] + reviewer_comment: NotRequired[Union[str, None]] + created_at: NotRequired[str] + + +__all__ = ( + "ExemptionResponseType", + "ExemptionResponseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0540.py b/githubkit/versions/ghec_v2022_11_28/types/group_0540.py index 84e192c57..faf51d8e4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0540.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0540.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0539 import ExemptionResponseType +from .group_0539 import ExemptionResponseType, ExemptionResponseTypeForResponse class ExemptionRequestType(TypedDict): @@ -60,6 +60,50 @@ class ExemptionRequestType(TypedDict): html_url: NotRequired[str] +class ExemptionRequestTypeForResponse(TypedDict): + """Exemption Request + + A request from a user to be exempted from a set of rules. + """ + + id: NotRequired[int] + number: NotRequired[Union[int, None]] + repository_id: NotRequired[int] + requester_id: NotRequired[int] + requester_login: NotRequired[str] + request_type: NotRequired[ + Literal[ + "push_ruleset_bypass", + "secret_scanning", + "secret_scanning_closure", + "code_scanning_alert_dismissal", + ] + ] + exemption_request_data: NotRequired[ + Union[ + ExemptionRequestPushRulesetBypassTypeForResponse, + ExemptionRequestSecretScanningTypeForResponse, + DismissalRequestSecretScanningTypeForResponse, + DismissalRequestCodeScanningTypeForResponse, + ] + ] + resource_identifier: NotRequired[str] + status: NotRequired[Literal["pending", "rejected", "cancelled", "completed"]] + requester_comment: NotRequired[Union[str, None]] + metadata: NotRequired[ + Union[ + ExemptionRequestSecretScanningMetadataTypeForResponse, + DismissalRequestSecretScanningMetadataTypeForResponse, + DismissalRequestCodeScanningMetadataTypeForResponse, + None, + ] + ] + expires_at: NotRequired[str] + created_at: NotRequired[str] + responses: NotRequired[Union[list[ExemptionResponseTypeForResponse], None]] + html_url: NotRequired[str] + + class ExemptionRequestSecretScanningMetadataType(TypedDict): """Secret Scanning Push Protection Exemption Request Metadata @@ -70,6 +114,16 @@ class ExemptionRequestSecretScanningMetadataType(TypedDict): reason: NotRequired[Literal["fixed_later", "false_positive", "tests"]] +class ExemptionRequestSecretScanningMetadataTypeForResponse(TypedDict): + """Secret Scanning Push Protection Exemption Request Metadata + + Metadata for a secret scanning push protection exemption request. + """ + + label: NotRequired[str] + reason: NotRequired[Literal["fixed_later", "false_positive", "tests"]] + + class DismissalRequestSecretScanningMetadataType(TypedDict): """Secret scanning alert dismissal request metadata @@ -80,6 +134,16 @@ class DismissalRequestSecretScanningMetadataType(TypedDict): reason: NotRequired[Literal["fixed_later", "false_positive", "tests", "revoked"]] +class DismissalRequestSecretScanningMetadataTypeForResponse(TypedDict): + """Secret scanning alert dismissal request metadata + + Metadata for a secret scanning alert dismissal request. + """ + + alert_title: NotRequired[str] + reason: NotRequired[Literal["fixed_later", "false_positive", "tests", "revoked"]] + + class DismissalRequestCodeScanningMetadataType(TypedDict): """Code scanning alert dismissal request metadata @@ -90,6 +154,16 @@ class DismissalRequestCodeScanningMetadataType(TypedDict): reason: NotRequired[Literal["false positive", "won't fix", "used in tests"]] +class DismissalRequestCodeScanningMetadataTypeForResponse(TypedDict): + """Code scanning alert dismissal request metadata + + Metadata for a code scanning alert dismissal request. + """ + + alert_title: NotRequired[str] + reason: NotRequired[Literal["false positive", "won't fix", "used in tests"]] + + class ExemptionRequestPushRulesetBypassType(TypedDict): """Push ruleset bypass exemption request data @@ -100,6 +174,18 @@ class ExemptionRequestPushRulesetBypassType(TypedDict): data: NotRequired[list[ExemptionRequestPushRulesetBypassPropDataItemsType]] +class ExemptionRequestPushRulesetBypassTypeForResponse(TypedDict): + """Push ruleset bypass exemption request data + + Push rules that are being requested to be bypassed. + """ + + type: NotRequired[Literal["push_ruleset_bypass"]] + data: NotRequired[ + list[ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse] + ] + + class ExemptionRequestPushRulesetBypassPropDataItemsType(TypedDict): """ExemptionRequestPushRulesetBypassPropDataItems""" @@ -109,6 +195,15 @@ class ExemptionRequestPushRulesetBypassPropDataItemsType(TypedDict): rule_type: NotRequired[str] +class ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse(TypedDict): + """ExemptionRequestPushRulesetBypassPropDataItems""" + + ruleset_id: NotRequired[int] + ruleset_name: NotRequired[str] + total_violations: NotRequired[int] + rule_type: NotRequired[str] + + class DismissalRequestSecretScanningType(TypedDict): """Secret scanning alert dismissal request data @@ -119,6 +214,16 @@ class DismissalRequestSecretScanningType(TypedDict): data: NotRequired[list[DismissalRequestSecretScanningPropDataItemsType]] +class DismissalRequestSecretScanningTypeForResponse(TypedDict): + """Secret scanning alert dismissal request data + + Secret scanning alerts that have dismissal requests. + """ + + type: NotRequired[Literal["secret_scanning_closure"]] + data: NotRequired[list[DismissalRequestSecretScanningPropDataItemsTypeForResponse]] + + class DismissalRequestSecretScanningPropDataItemsType(TypedDict): """DismissalRequestSecretScanningPropDataItems""" @@ -127,6 +232,14 @@ class DismissalRequestSecretScanningPropDataItemsType(TypedDict): alert_number: NotRequired[str] +class DismissalRequestSecretScanningPropDataItemsTypeForResponse(TypedDict): + """DismissalRequestSecretScanningPropDataItems""" + + reason: NotRequired[Literal["fixed_later", "false_positive", "tests", "revoked"]] + secret_type: NotRequired[str] + alert_number: NotRequired[str] + + class DismissalRequestCodeScanningType(TypedDict): """Code scanning alert dismissal request data @@ -137,12 +250,28 @@ class DismissalRequestCodeScanningType(TypedDict): data: NotRequired[list[DismissalRequestCodeScanningPropDataItemsType]] +class DismissalRequestCodeScanningTypeForResponse(TypedDict): + """Code scanning alert dismissal request data + + Code scanning alerts that have dismissal requests. + """ + + type: NotRequired[Literal["code_scanning_alert_dismissal"]] + data: NotRequired[list[DismissalRequestCodeScanningPropDataItemsTypeForResponse]] + + class DismissalRequestCodeScanningPropDataItemsType(TypedDict): """DismissalRequestCodeScanningPropDataItems""" alert_number: NotRequired[str] +class DismissalRequestCodeScanningPropDataItemsTypeForResponse(TypedDict): + """DismissalRequestCodeScanningPropDataItems""" + + alert_number: NotRequired[str] + + class ExemptionRequestSecretScanningType(TypedDict): """Secret scanning push protection exemption request data @@ -153,6 +282,16 @@ class ExemptionRequestSecretScanningType(TypedDict): data: NotRequired[list[ExemptionRequestSecretScanningPropDataItemsType]] +class ExemptionRequestSecretScanningTypeForResponse(TypedDict): + """Secret scanning push protection exemption request data + + Secret scanning push protections that are being requested to be bypassed. + """ + + type: NotRequired[Literal["secret_scanning"]] + data: NotRequired[list[ExemptionRequestSecretScanningPropDataItemsTypeForResponse]] + + class ExemptionRequestSecretScanningPropDataItemsType(TypedDict): """ExemptionRequestSecretScanningPropDataItems""" @@ -162,6 +301,17 @@ class ExemptionRequestSecretScanningPropDataItemsType(TypedDict): ] +class ExemptionRequestSecretScanningPropDataItemsTypeForResponse(TypedDict): + """ExemptionRequestSecretScanningPropDataItems""" + + secret_type: NotRequired[str] + locations: NotRequired[ + list[ + ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse + ] + ] + + class ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType(TypedDict): """ExemptionRequestSecretScanningPropDataItemsPropLocationsItems""" @@ -170,18 +320,41 @@ class ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType(TypedDic path: NotRequired[str] +class ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse( + TypedDict +): + """ExemptionRequestSecretScanningPropDataItemsPropLocationsItems""" + + commit: NotRequired[str] + branch: NotRequired[str] + path: NotRequired[str] + + __all__ = ( "DismissalRequestCodeScanningMetadataType", + "DismissalRequestCodeScanningMetadataTypeForResponse", "DismissalRequestCodeScanningPropDataItemsType", + "DismissalRequestCodeScanningPropDataItemsTypeForResponse", "DismissalRequestCodeScanningType", + "DismissalRequestCodeScanningTypeForResponse", "DismissalRequestSecretScanningMetadataType", + "DismissalRequestSecretScanningMetadataTypeForResponse", "DismissalRequestSecretScanningPropDataItemsType", + "DismissalRequestSecretScanningPropDataItemsTypeForResponse", "DismissalRequestSecretScanningType", + "DismissalRequestSecretScanningTypeForResponse", "ExemptionRequestPushRulesetBypassPropDataItemsType", + "ExemptionRequestPushRulesetBypassPropDataItemsTypeForResponse", "ExemptionRequestPushRulesetBypassType", + "ExemptionRequestPushRulesetBypassTypeForResponse", "ExemptionRequestSecretScanningMetadataType", + "ExemptionRequestSecretScanningMetadataTypeForResponse", "ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsType", + "ExemptionRequestSecretScanningPropDataItemsPropLocationsItemsTypeForResponse", "ExemptionRequestSecretScanningPropDataItemsType", + "ExemptionRequestSecretScanningPropDataItemsTypeForResponse", "ExemptionRequestSecretScanningType", + "ExemptionRequestSecretScanningTypeForResponse", "ExemptionRequestType", + "ExemptionRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0541.py b/githubkit/versions/ghec_v2022_11_28/types/group_0541.py index 8c25fd518..13de09520 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0541.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0541.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0214 import MinimalRepositoryType -from .group_0305 import PullRequestMinimalType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0305 import PullRequestMinimalType, PullRequestMinimalTypeForResponse class SimpleCheckSuiteType(TypedDict): @@ -57,4 +57,46 @@ class SimpleCheckSuiteType(TypedDict): url: NotRequired[str] -__all__ = ("SimpleCheckSuiteType",) +class SimpleCheckSuiteTypeForResponse(TypedDict): + """SimpleCheckSuite + + A suite of checks performed on the code of a given code change + """ + + after: NotRequired[Union[str, None]] + app: NotRequired[Union[IntegrationTypeForResponse, None]] + before: NotRequired[Union[str, None]] + conclusion: NotRequired[ + Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "stale", + "startup_failure", + ], + ] + ] + created_at: NotRequired[str] + head_branch: NotRequired[Union[str, None]] + head_sha: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + pull_requests: NotRequired[list[PullRequestMinimalTypeForResponse]] + repository: NotRequired[MinimalRepositoryTypeForResponse] + status: NotRequired[ + Literal["queued", "in_progress", "completed", "pending", "waiting"] + ] + updated_at: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "SimpleCheckSuiteType", + "SimpleCheckSuiteTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0542.py b/githubkit/versions/ghec_v2022_11_28/types/group_0542.py index 47a175d5c..5f363d444 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0542.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0542.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0305 import PullRequestMinimalType -from .group_0332 import DeploymentSimpleType -from .group_0541 import SimpleCheckSuiteType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0305 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0332 import DeploymentSimpleType, DeploymentSimpleTypeForResponse +from .group_0541 import SimpleCheckSuiteType, SimpleCheckSuiteTypeForResponse class CheckRunWithSimpleCheckSuiteType(TypedDict): @@ -59,6 +59,46 @@ class CheckRunWithSimpleCheckSuiteType(TypedDict): url: str +class CheckRunWithSimpleCheckSuiteTypeForResponse(TypedDict): + """CheckRun + + A check performed on the code of a given code change + """ + + app: Union[IntegrationTypeForResponse, None] + check_suite: SimpleCheckSuiteTypeForResponse + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "waiting", + "pending", + "startup_failure", + "stale", + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + deployment: NotRequired[DeploymentSimpleTypeForResponse] + details_url: str + external_id: str + head_sha: str + html_url: str + id: int + name: str + node_id: str + output: CheckRunWithSimpleCheckSuitePropOutputTypeForResponse + pull_requests: list[PullRequestMinimalTypeForResponse] + started_at: str + status: Literal["queued", "in_progress", "completed", "pending"] + url: str + + class CheckRunWithSimpleCheckSuitePropOutputType(TypedDict): """CheckRunWithSimpleCheckSuitePropOutput""" @@ -69,7 +109,19 @@ class CheckRunWithSimpleCheckSuitePropOutputType(TypedDict): title: Union[str, None] +class CheckRunWithSimpleCheckSuitePropOutputTypeForResponse(TypedDict): + """CheckRunWithSimpleCheckSuitePropOutput""" + + annotations_count: int + annotations_url: str + summary: Union[str, None] + text: Union[str, None] + title: Union[str, None] + + __all__ = ( "CheckRunWithSimpleCheckSuitePropOutputType", + "CheckRunWithSimpleCheckSuitePropOutputTypeForResponse", "CheckRunWithSimpleCheckSuiteType", + "CheckRunWithSimpleCheckSuiteTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0543.py b/githubkit/versions/ghec_v2022_11_28/types/group_0543.py index a55d555bc..1cc475bef 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0543.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0543.py @@ -32,4 +32,26 @@ class WebhooksDeployKeyType(TypedDict): enabled: NotRequired[bool] -__all__ = ("WebhooksDeployKeyType",) +class WebhooksDeployKeyTypeForResponse(TypedDict): + """WebhooksDeployKey + + The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy- + keys/deploy-keys#get-a-deploy-key) resource. + """ + + added_by: NotRequired[Union[str, None]] + created_at: str + id: int + key: str + last_used: NotRequired[Union[str, None]] + read_only: bool + title: str + url: str + verified: bool + enabled: NotRequired[bool] + + +__all__ = ( + "WebhooksDeployKeyType", + "WebhooksDeployKeyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0544.py b/githubkit/versions/ghec_v2022_11_28/types/group_0544.py index 34eb3310b..c0f8a2d40 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0544.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0544.py @@ -28,4 +28,22 @@ class WebhooksWorkflowType(TypedDict): url: str -__all__ = ("WebhooksWorkflowType",) +class WebhooksWorkflowTypeForResponse(TypedDict): + """Workflow""" + + badge_url: str + created_at: str + html_url: str + id: int + name: str + node_id: str + path: str + state: str + updated_at: str + url: str + + +__all__ = ( + "WebhooksWorkflowType", + "WebhooksWorkflowTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0545.py b/githubkit/versions/ghec_v2022_11_28/types/group_0545.py index c93e49162..8dd684f6d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0545.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0545.py @@ -37,6 +37,30 @@ class WebhooksApproverType(TypedDict): user_view_type: NotRequired[str] +class WebhooksApproverTypeForResponse(TypedDict): + """WebhooksApprover""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewersItemsType(TypedDict): """WebhooksReviewersItems""" @@ -44,6 +68,15 @@ class WebhooksReviewersItemsType(TypedDict): type: NotRequired[Literal["User"]] +class WebhooksReviewersItemsTypeForResponse(TypedDict): + """WebhooksReviewersItems""" + + reviewer: NotRequired[ + Union[WebhooksReviewersItemsPropReviewerTypeForResponse, None] + ] + type: NotRequired[Literal["User"]] + + class WebhooksReviewersItemsPropReviewerType(TypedDict): """User""" @@ -70,8 +103,37 @@ class WebhooksReviewersItemsPropReviewerType(TypedDict): url: NotRequired[str] +class WebhooksReviewersItemsPropReviewerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksApproverType", + "WebhooksApproverTypeForResponse", "WebhooksReviewersItemsPropReviewerType", + "WebhooksReviewersItemsPropReviewerTypeForResponse", "WebhooksReviewersItemsType", + "WebhooksReviewersItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0546.py b/githubkit/versions/ghec_v2022_11_28/types/group_0546.py index 167cc5522..f86e93924 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0546.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0546.py @@ -25,4 +25,20 @@ class WebhooksWorkflowJobRunType(TypedDict): updated_at: str -__all__ = ("WebhooksWorkflowJobRunType",) +class WebhooksWorkflowJobRunTypeForResponse(TypedDict): + """WebhooksWorkflowJobRun""" + + conclusion: None + created_at: str + environment: str + html_url: str + id: int + name: None + status: str + updated_at: str + + +__all__ = ( + "WebhooksWorkflowJobRunType", + "WebhooksWorkflowJobRunTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0547.py b/githubkit/versions/ghec_v2022_11_28/types/group_0547.py index da4062d95..6287233b7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0547.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0547.py @@ -40,4 +40,34 @@ class WebhooksUserType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhooksUserType",) +class WebhooksUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhooksUserType", + "WebhooksUserTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0548.py b/githubkit/versions/ghec_v2022_11_28/types/group_0548.py index 15c8ec597..d405d549b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0548.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0548.py @@ -41,6 +41,33 @@ class WebhooksAnswerType(TypedDict): user: Union[WebhooksAnswerPropUserType, None] +class WebhooksAnswerTypeForResponse(TypedDict): + """WebhooksAnswer""" + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + child_comment_count: int + created_at: str + discussion_id: int + html_url: str + id: int + node_id: str + parent_id: Union[int, None] + reactions: NotRequired[WebhooksAnswerPropReactionsTypeForResponse] + repository_url: str + updated_at: str + user: Union[WebhooksAnswerPropUserTypeForResponse, None] + + class WebhooksAnswerPropReactionsType(TypedDict): """Reactions""" @@ -56,6 +83,21 @@ class WebhooksAnswerPropReactionsType(TypedDict): url: str +class WebhooksAnswerPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksAnswerPropUserType(TypedDict): """User""" @@ -83,8 +125,38 @@ class WebhooksAnswerPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksAnswerPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksAnswerPropReactionsType", + "WebhooksAnswerPropReactionsTypeForResponse", "WebhooksAnswerPropUserType", + "WebhooksAnswerPropUserTypeForResponse", "WebhooksAnswerType", + "WebhooksAnswerTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0549.py b/githubkit/versions/ghec_v2022_11_28/types/group_0549.py index 48f1a497e..7e1c45339 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0549.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0549.py @@ -54,6 +54,46 @@ class DiscussionType(TypedDict): labels: NotRequired[list[LabelType]] +class DiscussionTypeForResponse(TypedDict): + """Discussion + + A Discussion in a repository. + """ + + active_lock_reason: Union[str, None] + answer_chosen_at: Union[str, None] + answer_chosen_by: Union[DiscussionPropAnswerChosenByTypeForResponse, None] + answer_html_url: Union[str, None] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + category: DiscussionPropCategoryTypeForResponse + comments: int + created_at: str + html_url: str + id: int + locked: bool + node_id: str + number: int + reactions: NotRequired[DiscussionPropReactionsTypeForResponse] + repository_url: str + state: Literal["open", "closed", "locked", "converting", "transferring"] + state_reason: Union[None, Literal["resolved", "outdated", "duplicate", "reopened"]] + timeline_url: NotRequired[str] + title: str + updated_at: str + user: Union[DiscussionPropUserTypeForResponse, None] + labels: NotRequired[list[LabelTypeForResponse]] + + class LabelType(TypedDict): """Label @@ -70,6 +110,22 @@ class LabelType(TypedDict): default: bool +class LabelTypeForResponse(TypedDict): + """Label + + Color-coded labels help you categorize and filter your issues (just like labels + in Gmail). + """ + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + class DiscussionPropAnswerChosenByType(TypedDict): """User""" @@ -97,6 +153,33 @@ class DiscussionPropAnswerChosenByType(TypedDict): user_view_type: NotRequired[str] +class DiscussionPropAnswerChosenByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class DiscussionPropCategoryType(TypedDict): """DiscussionPropCategory""" @@ -112,6 +195,21 @@ class DiscussionPropCategoryType(TypedDict): updated_at: str +class DiscussionPropCategoryTypeForResponse(TypedDict): + """DiscussionPropCategory""" + + created_at: str + description: str + emoji: str + id: int + is_answerable: bool + name: str + node_id: NotRequired[str] + repository_id: int + slug: str + updated_at: str + + class DiscussionPropReactionsType(TypedDict): """Reactions""" @@ -127,6 +225,21 @@ class DiscussionPropReactionsType(TypedDict): url: str +class DiscussionPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class DiscussionPropUserType(TypedDict): """User""" @@ -154,11 +267,44 @@ class DiscussionPropUserType(TypedDict): user_view_type: NotRequired[str] +class DiscussionPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "DiscussionPropAnswerChosenByType", + "DiscussionPropAnswerChosenByTypeForResponse", "DiscussionPropCategoryType", + "DiscussionPropCategoryTypeForResponse", "DiscussionPropReactionsType", + "DiscussionPropReactionsTypeForResponse", "DiscussionPropUserType", + "DiscussionPropUserTypeForResponse", "DiscussionType", + "DiscussionTypeForResponse", "LabelType", + "LabelTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0550.py b/githubkit/versions/ghec_v2022_11_28/types/group_0550.py index 4c279958b..b5efe5be0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0550.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0550.py @@ -40,6 +40,33 @@ class WebhooksCommentType(TypedDict): user: Union[WebhooksCommentPropUserType, None] +class WebhooksCommentTypeForResponse(TypedDict): + """WebhooksComment""" + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + child_comment_count: int + created_at: str + discussion_id: int + html_url: str + id: int + node_id: str + parent_id: Union[int, None] + reactions: WebhooksCommentPropReactionsTypeForResponse + repository_url: str + updated_at: str + user: Union[WebhooksCommentPropUserTypeForResponse, None] + + class WebhooksCommentPropReactionsType(TypedDict): """Reactions""" @@ -55,6 +82,21 @@ class WebhooksCommentPropReactionsType(TypedDict): url: str +class WebhooksCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksCommentPropUserType(TypedDict): """User""" @@ -82,8 +124,38 @@ class WebhooksCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksCommentPropReactionsType", + "WebhooksCommentPropReactionsTypeForResponse", "WebhooksCommentPropUserType", + "WebhooksCommentPropUserTypeForResponse", "WebhooksCommentType", + "WebhooksCommentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0551.py b/githubkit/versions/ghec_v2022_11_28/types/group_0551.py index 469b744f3..396f905a0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0551.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0551.py @@ -25,4 +25,19 @@ class WebhooksLabelType(TypedDict): url: str -__all__ = ("WebhooksLabelType",) +class WebhooksLabelTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +__all__ = ( + "WebhooksLabelType", + "WebhooksLabelTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0552.py b/githubkit/versions/ghec_v2022_11_28/types/group_0552.py index 60f7cc9c6..b0d16caa0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0552.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0552.py @@ -22,4 +22,17 @@ class WebhooksRepositoriesItemsType(TypedDict): private: bool -__all__ = ("WebhooksRepositoriesItemsType",) +class WebhooksRepositoriesItemsTypeForResponse(TypedDict): + """WebhooksRepositoriesItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + +__all__ = ( + "WebhooksRepositoriesItemsType", + "WebhooksRepositoriesItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0553.py b/githubkit/versions/ghec_v2022_11_28/types/group_0553.py index afa5d37c4..8cf3280d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0553.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0553.py @@ -22,4 +22,17 @@ class WebhooksRepositoriesAddedItemsType(TypedDict): private: bool -__all__ = ("WebhooksRepositoriesAddedItemsType",) +class WebhooksRepositoriesAddedItemsTypeForResponse(TypedDict): + """WebhooksRepositoriesAddedItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + +__all__ = ( + "WebhooksRepositoriesAddedItemsType", + "WebhooksRepositoriesAddedItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0554.py b/githubkit/versions/ghec_v2022_11_28/types/group_0554.py index 6393790aa..1ca340e2b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0554.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0554.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class WebhooksIssueCommentType(TypedDict): @@ -46,6 +46,36 @@ class WebhooksIssueCommentType(TypedDict): user: Union[WebhooksIssueCommentPropUserType, None] +class WebhooksIssueCommentTypeForResponse(TypedDict): + """issue comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/issues/comments#get-an-issue-comment) itself. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + created_at: str + html_url: str + id: int + issue_url: str + node_id: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + reactions: WebhooksIssueCommentPropReactionsTypeForResponse + updated_at: str + url: str + user: Union[WebhooksIssueCommentPropUserTypeForResponse, None] + + class WebhooksIssueCommentPropReactionsType(TypedDict): """Reactions""" @@ -61,6 +91,21 @@ class WebhooksIssueCommentPropReactionsType(TypedDict): url: str +class WebhooksIssueCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssueCommentPropUserType(TypedDict): """User""" @@ -88,8 +133,38 @@ class WebhooksIssueCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssueCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssueCommentPropReactionsType", + "WebhooksIssueCommentPropReactionsTypeForResponse", "WebhooksIssueCommentPropUserType", + "WebhooksIssueCommentPropUserTypeForResponse", "WebhooksIssueCommentType", + "WebhooksIssueCommentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0555.py b/githubkit/versions/ghec_v2022_11_28/types/group_0555.py index dea7603b6..37eea998a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0555.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0555.py @@ -21,13 +21,30 @@ class WebhooksChangesType(TypedDict): body: NotRequired[WebhooksChangesPropBodyType] +class WebhooksChangesTypeForResponse(TypedDict): + """WebhooksChanges + + The changes to the comment. + """ + + body: NotRequired[WebhooksChangesPropBodyTypeForResponse] + + class WebhooksChangesPropBodyType(TypedDict): """WebhooksChangesPropBody""" from_: str +class WebhooksChangesPropBodyTypeForResponse(TypedDict): + """WebhooksChangesPropBody""" + + from_: str + + __all__ = ( "WebhooksChangesPropBodyType", + "WebhooksChangesPropBodyTypeForResponse", "WebhooksChangesType", + "WebhooksChangesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0556.py b/githubkit/versions/ghec_v2022_11_28/types/group_0556.py index 4100e2851..79e3570e0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0556.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0556.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhooksIssueType(TypedDict): @@ -74,6 +79,62 @@ class WebhooksIssueType(TypedDict): user: Union[WebhooksIssuePropUserType, None] +class WebhooksIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[Union[WebhooksIssuePropAssigneeTypeForResponse, None]] + assignees: list[Union[WebhooksIssuePropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhooksIssuePropLabelsItemsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhooksIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[WebhooksIssuePropPerformedViaGithubAppTypeForResponse, None] + ] + pull_request: NotRequired[WebhooksIssuePropPullRequestTypeForResponse] + reactions: WebhooksIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhooksIssuePropUserTypeForResponse, None] + + class WebhooksIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +162,33 @@ class WebhooksIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +216,33 @@ class WebhooksIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +255,18 @@ class WebhooksIssuePropLabelsItemsType(TypedDict): url: str +class WebhooksIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksIssuePropMilestoneType(TypedDict): """Milestone @@ -164,6 +291,30 @@ class WebhooksIssuePropMilestoneType(TypedDict): url: str +class WebhooksIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksIssuePropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +342,33 @@ class WebhooksIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -214,6 +392,31 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhooksIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhooksIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -241,6 +444,33 @@ class WebhooksIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropPerformedViaGithubAppPropPermissionsType(TypedDict): """WebhooksIssuePropPerformedViaGithubAppPropPermissions @@ -284,6 +514,49 @@ class WebhooksIssuePropPerformedViaGithubAppPropPermissionsType(TypedDict): workflows: NotRequired[Literal["read", "write"]] +class WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse(TypedDict): + """WebhooksIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhooksIssuePropPullRequestType(TypedDict): """WebhooksIssuePropPullRequest""" @@ -294,6 +567,16 @@ class WebhooksIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhooksIssuePropPullRequestTypeForResponse(TypedDict): + """WebhooksIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhooksIssuePropReactionsType(TypedDict): """Reactions""" @@ -309,6 +592,21 @@ class WebhooksIssuePropReactionsType(TypedDict): url: str +class WebhooksIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssuePropUserType(TypedDict): """User""" @@ -336,17 +634,56 @@ class WebhooksIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssuePropAssigneeType", + "WebhooksIssuePropAssigneeTypeForResponse", "WebhooksIssuePropAssigneesItemsType", + "WebhooksIssuePropAssigneesItemsTypeForResponse", "WebhooksIssuePropLabelsItemsType", + "WebhooksIssuePropLabelsItemsTypeForResponse", "WebhooksIssuePropMilestonePropCreatorType", + "WebhooksIssuePropMilestonePropCreatorTypeForResponse", "WebhooksIssuePropMilestoneType", + "WebhooksIssuePropMilestoneTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropOwnerType", + "WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppType", + "WebhooksIssuePropPerformedViaGithubAppTypeForResponse", "WebhooksIssuePropPullRequestType", + "WebhooksIssuePropPullRequestTypeForResponse", "WebhooksIssuePropReactionsType", + "WebhooksIssuePropReactionsTypeForResponse", "WebhooksIssuePropUserType", + "WebhooksIssuePropUserTypeForResponse", "WebhooksIssueType", + "WebhooksIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0557.py b/githubkit/versions/ghec_v2022_11_28/types/group_0557.py index 78c0b9fb1..315cb55dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0557.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0557.py @@ -38,6 +38,30 @@ class WebhooksMilestoneType(TypedDict): url: str +class WebhooksMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksMilestonePropCreatorType(TypedDict): """User""" @@ -65,7 +89,36 @@ class WebhooksMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMilestonePropCreatorType", + "WebhooksMilestonePropCreatorTypeForResponse", "WebhooksMilestoneType", + "WebhooksMilestoneTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0558.py b/githubkit/versions/ghec_v2022_11_28/types/group_0558.py index afa8ca343..e1b3c68ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0558.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0558.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhooksIssue2Type(TypedDict): @@ -74,6 +79,62 @@ class WebhooksIssue2Type(TypedDict): user: Union[WebhooksIssue2PropUserType, None] +class WebhooksIssue2TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[Union[WebhooksIssue2PropAssigneeTypeForResponse, None]] + assignees: list[Union[WebhooksIssue2PropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhooksIssue2PropLabelsItemsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhooksIssue2PropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[WebhooksIssue2PropPerformedViaGithubAppTypeForResponse, None] + ] + pull_request: NotRequired[WebhooksIssue2PropPullRequestTypeForResponse] + reactions: WebhooksIssue2PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhooksIssue2PropUserTypeForResponse, None] + + class WebhooksIssue2PropAssigneeType(TypedDict): """User""" @@ -101,6 +162,33 @@ class WebhooksIssue2PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +216,33 @@ class WebhooksIssue2PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +255,18 @@ class WebhooksIssue2PropLabelsItemsType(TypedDict): url: str +class WebhooksIssue2PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksIssue2PropMilestoneType(TypedDict): """Milestone @@ -164,6 +291,30 @@ class WebhooksIssue2PropMilestoneType(TypedDict): url: str +class WebhooksIssue2PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksIssue2PropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksIssue2PropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +342,33 @@ class WebhooksIssue2PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropPerformedViaGithubAppType(TypedDict): """App @@ -214,6 +392,31 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhooksIssue2PropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhooksIssue2PropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -241,6 +444,33 @@ class WebhooksIssue2PropPerformedViaGithubAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType(TypedDict): """WebhooksIssue2PropPerformedViaGithubAppPropPermissions @@ -284,6 +514,49 @@ class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType(TypedDict): workflows: NotRequired[Literal["read", "write"]] +class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse(TypedDict): + """WebhooksIssue2PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhooksIssue2PropPullRequestType(TypedDict): """WebhooksIssue2PropPullRequest""" @@ -294,6 +567,16 @@ class WebhooksIssue2PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhooksIssue2PropPullRequestTypeForResponse(TypedDict): + """WebhooksIssue2PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhooksIssue2PropReactionsType(TypedDict): """Reactions""" @@ -309,6 +592,21 @@ class WebhooksIssue2PropReactionsType(TypedDict): url: str +class WebhooksIssue2PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssue2PropUserType(TypedDict): """User""" @@ -336,17 +634,56 @@ class WebhooksIssue2PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssue2PropAssigneeType", + "WebhooksIssue2PropAssigneeTypeForResponse", "WebhooksIssue2PropAssigneesItemsType", + "WebhooksIssue2PropAssigneesItemsTypeForResponse", "WebhooksIssue2PropLabelsItemsType", + "WebhooksIssue2PropLabelsItemsTypeForResponse", "WebhooksIssue2PropMilestonePropCreatorType", + "WebhooksIssue2PropMilestonePropCreatorTypeForResponse", "WebhooksIssue2PropMilestoneType", + "WebhooksIssue2PropMilestoneTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropOwnerType", + "WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppType", + "WebhooksIssue2PropPerformedViaGithubAppTypeForResponse", "WebhooksIssue2PropPullRequestType", + "WebhooksIssue2PropPullRequestTypeForResponse", "WebhooksIssue2PropReactionsType", + "WebhooksIssue2PropReactionsTypeForResponse", "WebhooksIssue2PropUserType", + "WebhooksIssue2PropUserTypeForResponse", "WebhooksIssue2Type", + "WebhooksIssue2TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0559.py b/githubkit/versions/ghec_v2022_11_28/types/group_0559.py index 12263b7bb..b8be9f76a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0559.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0559.py @@ -40,4 +40,34 @@ class WebhooksUserMannequinType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhooksUserMannequinType",) +class WebhooksUserMannequinTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhooksUserMannequinType", + "WebhooksUserMannequinTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0560.py b/githubkit/versions/ghec_v2022_11_28/types/group_0560.py index 442613e28..d330c0535 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0560.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0560.py @@ -25,6 +25,18 @@ class WebhooksMarketplacePurchaseType(TypedDict): unit_count: int +class WebhooksMarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase""" + + account: WebhooksMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: Union[str, None] + on_free_trial: bool + plan: WebhooksMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhooksMarketplacePurchasePropAccountType(TypedDict): """WebhooksMarketplacePurchasePropAccount""" @@ -35,6 +47,16 @@ class WebhooksMarketplacePurchasePropAccountType(TypedDict): type: str +class WebhooksMarketplacePurchasePropAccountTypeForResponse(TypedDict): + """WebhooksMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhooksMarketplacePurchasePropPlanType(TypedDict): """WebhooksMarketplacePurchasePropPlan""" @@ -49,8 +71,25 @@ class WebhooksMarketplacePurchasePropPlanType(TypedDict): yearly_price_in_cents: int +class WebhooksMarketplacePurchasePropPlanTypeForResponse(TypedDict): + """WebhooksMarketplacePurchasePropPlan""" + + bullets: list[Union[str, None]] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhooksMarketplacePurchasePropAccountType", + "WebhooksMarketplacePurchasePropAccountTypeForResponse", "WebhooksMarketplacePurchasePropPlanType", + "WebhooksMarketplacePurchasePropPlanTypeForResponse", "WebhooksMarketplacePurchaseType", + "WebhooksMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0561.py b/githubkit/versions/ghec_v2022_11_28/types/group_0561.py index 38627d866..516262c14 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0561.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0561.py @@ -25,6 +25,18 @@ class WebhooksPreviousMarketplacePurchaseType(TypedDict): unit_count: int +class WebhooksPreviousMarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase""" + + account: WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: None + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: bool + plan: WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhooksPreviousMarketplacePurchasePropAccountType(TypedDict): """WebhooksPreviousMarketplacePurchasePropAccount""" @@ -35,6 +47,16 @@ class WebhooksPreviousMarketplacePurchasePropAccountType(TypedDict): type: str +class WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse(TypedDict): + """WebhooksPreviousMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhooksPreviousMarketplacePurchasePropPlanType(TypedDict): """WebhooksPreviousMarketplacePurchasePropPlan""" @@ -49,8 +71,25 @@ class WebhooksPreviousMarketplacePurchasePropPlanType(TypedDict): yearly_price_in_cents: int +class WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse(TypedDict): + """WebhooksPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhooksPreviousMarketplacePurchasePropAccountType", + "WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhooksPreviousMarketplacePurchasePropPlanType", + "WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhooksPreviousMarketplacePurchaseType", + "WebhooksPreviousMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0562.py b/githubkit/versions/ghec_v2022_11_28/types/group_0562.py index d69f1a75b..26ccdb330 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0562.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0562.py @@ -40,6 +40,33 @@ class WebhooksTeamType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeamTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[Union[WebhooksTeamPropParentTypeForResponse, None]] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + type: NotRequired[Literal["enterprise", "organization"]] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class WebhooksTeamPropParentType(TypedDict): """WebhooksTeamPropParent""" @@ -60,7 +87,29 @@ class WebhooksTeamPropParentType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeamPropParentTypeForResponse(TypedDict): + """WebhooksTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + notification_setting: Literal["notifications_enabled", "notifications_disabled"] + repositories_url: str + slug: str + url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + __all__ = ( "WebhooksTeamPropParentType", + "WebhooksTeamPropParentTypeForResponse", "WebhooksTeamType", + "WebhooksTeamTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0563.py b/githubkit/versions/ghec_v2022_11_28/types/group_0563.py index c1b276238..3e79dfec6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0563.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0563.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0306 import SimpleCommitType +from .group_0306 import SimpleCommitType, SimpleCommitTypeForResponse class MergeGroupType(TypedDict): @@ -27,4 +27,20 @@ class MergeGroupType(TypedDict): head_commit: SimpleCommitType -__all__ = ("MergeGroupType",) +class MergeGroupTypeForResponse(TypedDict): + """Merge Group + + A group of pull requests that the merge queue has grouped together to be merged. + """ + + head_sha: str + head_ref: str + base_sha: str + base_ref: str + head_commit: SimpleCommitTypeForResponse + + +__all__ = ( + "MergeGroupType", + "MergeGroupTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0564.py b/githubkit/versions/ghec_v2022_11_28/types/group_0564.py index 84341cab5..1210ba46c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0564.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0564.py @@ -38,6 +38,30 @@ class WebhooksMilestone3Type(TypedDict): url: str +class WebhooksMilestone3TypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksMilestone3PropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksMilestone3PropCreatorType(TypedDict): """User""" @@ -65,7 +89,36 @@ class WebhooksMilestone3PropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMilestone3PropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMilestone3PropCreatorType", + "WebhooksMilestone3PropCreatorTypeForResponse", "WebhooksMilestone3Type", + "WebhooksMilestone3TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0565.py b/githubkit/versions/ghec_v2022_11_28/types/group_0565.py index 03d84e2f9..8cf000fca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0565.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0565.py @@ -29,6 +29,22 @@ class WebhooksMembershipType(TypedDict): user: Union[WebhooksMembershipPropUserType, None] +class WebhooksMembershipTypeForResponse(TypedDict): + """Membership + + The membership between the user and the organization. Not present when the + action is `member_invited`. + """ + + organization_url: str + role: str + direct_membership: NotRequired[bool] + enterprise_teams_providing_indirect_membership: NotRequired[list[str]] + state: str + url: str + user: Union[WebhooksMembershipPropUserTypeForResponse, None] + + class WebhooksMembershipPropUserType(TypedDict): """User""" @@ -56,7 +72,36 @@ class WebhooksMembershipPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMembershipPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMembershipPropUserType", + "WebhooksMembershipPropUserTypeForResponse", "WebhooksMembershipType", + "WebhooksMembershipTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0566.py b/githubkit/versions/ghec_v2022_11_28/types/group_0566.py index 8767f4c9e..7dff31c8f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0566.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0566.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PersonalAccessTokenRequestType(TypedDict): @@ -37,6 +37,32 @@ class PersonalAccessTokenRequestType(TypedDict): token_last_used_at: Union[str, None] +class PersonalAccessTokenRequestTypeForResponse(TypedDict): + """Personal Access Token Request + + Details of a Personal Access Token Request. + """ + + id: int + owner: SimpleUserTypeForResponse + permissions_added: PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse + permissions_upgraded: ( + PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse + ) + permissions_result: PersonalAccessTokenRequestPropPermissionsResultTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repository_count: Union[int, None] + repositories: Union[ + list[PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse], None + ] + created_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class PersonalAccessTokenRequestPropRepositoriesItemsType(TypedDict): """PersonalAccessTokenRequestPropRepositoriesItems""" @@ -47,6 +73,16 @@ class PersonalAccessTokenRequestPropRepositoriesItemsType(TypedDict): private: bool +class PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropRepositoriesItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """PersonalAccessTokenRequestPropPermissionsAdded @@ -62,6 +98,23 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsAddedPropOtherType] +class PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsAdded + + New requested permissions, categorized by type of permission. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -69,6 +122,13 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsAddedPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -76,11 +136,25 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsAddedPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsAddedPropOtherType: TypeAlias = dict[str, Any] """PersonalAccessTokenRequestPropPermissionsAddedPropOther """ +PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsAddedPropOther +""" + + class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """PersonalAccessTokenRequestPropPermissionsUpgraded @@ -97,6 +171,24 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType] +class PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsUpgraded + + Requested permissions that elevate access for a previously approved request for + access, categorized by type of permission. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -104,6 +196,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -111,6 +210,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType: TypeAlias = dict[ str, Any ] @@ -118,6 +224,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropOther +""" + + class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """PersonalAccessTokenRequestPropPermissionsResult @@ -134,6 +247,24 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsResultPropOtherType] +class PersonalAccessTokenRequestPropPermissionsResultTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsResult + + Permissions requested, categorized by type of permission. This field + incorporates `permissions_added` and `permissions_upgraded`. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -141,6 +272,13 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsResultPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -148,24 +286,52 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsResultPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsResultPropOtherType: TypeAlias = dict[str, Any] """PersonalAccessTokenRequestPropPermissionsResultPropOther """ +PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsResultPropOther +""" + + __all__ = ( "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedType", + "PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOtherType", + "PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultType", + "PersonalAccessTokenRequestPropPermissionsResultTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedType", + "PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse", "PersonalAccessTokenRequestPropRepositoriesItemsType", + "PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse", "PersonalAccessTokenRequestType", + "PersonalAccessTokenRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0567.py b/githubkit/versions/ghec_v2022_11_28/types/group_0567.py index 15e68c071..bbdf68fe0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0567.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0567.py @@ -32,6 +32,24 @@ class WebhooksProjectCardType(TypedDict): url: str +class WebhooksProjectCardTypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[WebhooksProjectCardPropCreatorTypeForResponse, None] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhooksProjectCardPropCreatorType(TypedDict): """User""" @@ -59,7 +77,36 @@ class WebhooksProjectCardPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksProjectCardPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksProjectCardPropCreatorType", + "WebhooksProjectCardPropCreatorTypeForResponse", "WebhooksProjectCardType", + "WebhooksProjectCardTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0568.py b/githubkit/versions/ghec_v2022_11_28/types/group_0568.py index f00c9358c..dd7a5ebc6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0568.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0568.py @@ -32,6 +32,24 @@ class WebhooksProjectType(TypedDict): url: str +class WebhooksProjectTypeForResponse(TypedDict): + """Project""" + + body: Union[str, None] + columns_url: str + created_at: str + creator: Union[WebhooksProjectPropCreatorTypeForResponse, None] + html_url: str + id: int + name: str + node_id: str + number: int + owner_url: str + state: Literal["open", "closed"] + updated_at: str + url: str + + class WebhooksProjectPropCreatorType(TypedDict): """User""" @@ -59,7 +77,36 @@ class WebhooksProjectPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksProjectPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksProjectPropCreatorType", + "WebhooksProjectPropCreatorTypeForResponse", "WebhooksProjectType", + "WebhooksProjectTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0569.py b/githubkit/versions/ghec_v2022_11_28/types/group_0569.py index 3c545b05d..bf481b024 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0569.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0569.py @@ -28,4 +28,21 @@ class WebhooksProjectColumnType(TypedDict): url: str -__all__ = ("WebhooksProjectColumnType",) +class WebhooksProjectColumnTypeForResponse(TypedDict): + """Project Column""" + + after_id: NotRequired[Union[int, None]] + cards_url: str + created_at: str + id: int + name: str + node_id: str + project_url: str + updated_at: str + url: str + + +__all__ = ( + "WebhooksProjectColumnType", + "WebhooksProjectColumnTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0570.py b/githubkit/versions/ghec_v2022_11_28/types/group_0570.py index d31a72cb2..0096fe169 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0570.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0570.py @@ -20,6 +20,12 @@ class WebhooksProjectChangesType(TypedDict): archived_at: NotRequired[WebhooksProjectChangesPropArchivedAtType] +class WebhooksProjectChangesTypeForResponse(TypedDict): + """WebhooksProjectChanges""" + + archived_at: NotRequired[WebhooksProjectChangesPropArchivedAtTypeForResponse] + + class WebhooksProjectChangesPropArchivedAtType(TypedDict): """WebhooksProjectChangesPropArchivedAt""" @@ -27,7 +33,16 @@ class WebhooksProjectChangesPropArchivedAtType(TypedDict): to: NotRequired[Union[datetime, None]] +class WebhooksProjectChangesPropArchivedAtTypeForResponse(TypedDict): + """WebhooksProjectChangesPropArchivedAt""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhooksProjectChangesPropArchivedAtType", + "WebhooksProjectChangesPropArchivedAtTypeForResponse", "WebhooksProjectChangesType", + "WebhooksProjectChangesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0571.py b/githubkit/versions/ghec_v2022_11_28/types/group_0571.py index 11c42252b..308e5cca8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0571.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0571.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2ItemType(TypedDict): @@ -33,4 +33,24 @@ class ProjectsV2ItemType(TypedDict): archived_at: Union[datetime, None] -__all__ = ("ProjectsV2ItemType",) +class ProjectsV2ItemTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + project_node_id: NotRequired[str] + content_node_id: str + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + + +__all__ = ( + "ProjectsV2ItemType", + "ProjectsV2ItemTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0572.py b/githubkit/versions/ghec_v2022_11_28/types/group_0572.py index fec8a4a61..320ec495d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0572.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0572.py @@ -13,13 +13,21 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0079 import TeamSimpleType -from .group_0193 import MilestoneType -from .group_0267 import AutoMergeType -from .group_0440 import PullRequestPropLabelsItemsType -from .group_0441 import PullRequestPropBaseType, PullRequestPropHeadType -from .group_0442 import PullRequestPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0079 import TeamSimpleType, TeamSimpleTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0267 import AutoMergeType, AutoMergeTypeForResponse +from .group_0440 import ( + PullRequestPropLabelsItemsType, + PullRequestPropLabelsItemsTypeForResponse, +) +from .group_0441 import ( + PullRequestPropBaseType, + PullRequestPropBaseTypeForResponse, + PullRequestPropHeadType, + PullRequestPropHeadTypeForResponse, +) +from .group_0442 import PullRequestPropLinksType, PullRequestPropLinksTypeForResponse class PullRequestWebhookType(TypedDict): @@ -94,4 +102,79 @@ class PullRequestWebhookType(TypedDict): use_squash_pr_title_as_default: NotRequired[bool] -__all__ = ("PullRequestWebhookType",) +class PullRequestWebhookTypeForResponse(TypedDict): + """PullRequestWebhook""" + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: Literal["open", "closed"] + locked: bool + title: str + user: SimpleUserTypeForResponse + body: Union[str, None] + labels: list[PullRequestPropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamSimpleTypeForResponse], None]] + head: PullRequestPropHeadTypeForResponse + base: PullRequestPropBaseTypeForResponse + links: PullRequestPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + merged: bool + mergeable: Union[bool, None] + rebaseable: NotRequired[Union[bool, None]] + mergeable_state: str + merged_by: Union[None, SimpleUserTypeForResponse] + comments: int + review_comments: int + maintainer_can_modify: bool + commits: int + additions: int + deletions: int + changed_files: int + allow_auto_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + use_squash_pr_title_as_default: NotRequired[bool] + + +__all__ = ( + "PullRequestWebhookType", + "PullRequestWebhookTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0573.py b/githubkit/versions/ghec_v2022_11_28/types/group_0573.py index 85163bcaa..c8384f5c2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0573.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0573.py @@ -28,4 +28,22 @@ class PullRequestWebhookAllof1Type(TypedDict): use_squash_pr_title_as_default: NotRequired[bool] -__all__ = ("PullRequestWebhookAllof1Type",) +class PullRequestWebhookAllof1TypeForResponse(TypedDict): + """PullRequestWebhookAllof1""" + + allow_auto_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + use_squash_pr_title_as_default: NotRequired[bool] + + +__all__ = ( + "PullRequestWebhookAllof1Type", + "PullRequestWebhookAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0574.py b/githubkit/versions/ghec_v2022_11_28/types/group_0574.py index 9c89f8ed7..31e9ec81f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0574.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0574.py @@ -84,6 +84,76 @@ class WebhooksPullRequest5Type(TypedDict): user: Union[WebhooksPullRequest5PropUserType, None] +class WebhooksPullRequest5TypeForResponse(TypedDict): + """Pull Request""" + + links: WebhooksPullRequest5PropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[WebhooksPullRequest5PropAssigneeTypeForResponse, None] + assignees: list[Union[WebhooksPullRequest5PropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[WebhooksPullRequest5PropAutoMergeTypeForResponse, None] + base: WebhooksPullRequest5PropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhooksPullRequest5PropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhooksPullRequest5PropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[Union[WebhooksPullRequest5PropMergedByTypeForResponse, None]] + milestone: Union[WebhooksPullRequest5PropMilestoneTypeForResponse, None] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhooksPullRequest5PropUserTypeForResponse, None] + + class WebhooksPullRequest5PropAssigneeType(TypedDict): """User""" @@ -111,6 +181,33 @@ class WebhooksPullRequest5PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropAssigneesItemsType(TypedDict): """User""" @@ -137,6 +234,32 @@ class WebhooksPullRequest5PropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhooksPullRequest5PropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -149,6 +272,20 @@ class WebhooksPullRequest5PropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhooksPullRequest5PropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse, None + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhooksPullRequest5PropAutoMergePropEnabledByType(TypedDict): """User""" @@ -176,6 +313,33 @@ class WebhooksPullRequest5PropAutoMergePropEnabledByType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropLabelsItemsType(TypedDict): """Label""" @@ -188,6 +352,18 @@ class WebhooksPullRequest5PropLabelsItemsType(TypedDict): url: str +class WebhooksPullRequest5PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksPullRequest5PropMergedByType(TypedDict): """User""" @@ -215,6 +391,33 @@ class WebhooksPullRequest5PropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropMilestoneType(TypedDict): """Milestone @@ -239,6 +442,30 @@ class WebhooksPullRequest5PropMilestoneType(TypedDict): url: str +class WebhooksPullRequest5PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksPullRequest5PropMilestonePropCreatorType(TypedDict): """User""" @@ -266,6 +493,33 @@ class WebhooksPullRequest5PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type(TypedDict): """User""" @@ -292,6 +546,32 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhooksPullRequest5PropUserType(TypedDict): """User""" @@ -319,78 +599,560 @@ class WebhooksPullRequest5PropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhooksPullRequest5PropLinksType(TypedDict): - """WebhooksPullRequest5PropLinks""" +class WebhooksPullRequest5PropUserTypeForResponse(TypedDict): + """User""" - comments: WebhooksPullRequest5PropLinksPropCommentsType - commits: WebhooksPullRequest5PropLinksPropCommitsType - html: WebhooksPullRequest5PropLinksPropHtmlType - issue: WebhooksPullRequest5PropLinksPropIssueType - review_comment: WebhooksPullRequest5PropLinksPropReviewCommentType - review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsType - self_: WebhooksPullRequest5PropLinksPropSelfType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropLinksType(TypedDict): + """WebhooksPullRequest5PropLinks""" + + comments: WebhooksPullRequest5PropLinksPropCommentsType + commits: WebhooksPullRequest5PropLinksPropCommitsType + html: WebhooksPullRequest5PropLinksPropHtmlType + issue: WebhooksPullRequest5PropLinksPropIssueType + review_comment: WebhooksPullRequest5PropLinksPropReviewCommentType + review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsType + self_: WebhooksPullRequest5PropLinksPropSelfType statuses: WebhooksPullRequest5PropLinksPropStatusesType +class WebhooksPullRequest5PropLinksTypeForResponse(TypedDict): + """WebhooksPullRequest5PropLinks""" + + comments: WebhooksPullRequest5PropLinksPropCommentsTypeForResponse + commits: WebhooksPullRequest5PropLinksPropCommitsTypeForResponse + html: WebhooksPullRequest5PropLinksPropHtmlTypeForResponse + issue: WebhooksPullRequest5PropLinksPropIssueTypeForResponse + review_comment: WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse + review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse + self_: WebhooksPullRequest5PropLinksPropSelfTypeForResponse + statuses: WebhooksPullRequest5PropLinksPropStatusesTypeForResponse + + class WebhooksPullRequest5PropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropCommentsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropCommitsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropIssueTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropReviewCommentsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropSelfTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropStatusesType(TypedDict): """Link""" href: str -class WebhooksPullRequest5PropBaseType(TypedDict): - """WebhooksPullRequest5PropBase""" +class WebhooksPullRequest5PropLinksPropStatusesTypeForResponse(TypedDict): + """Link""" + + href: str + + +class WebhooksPullRequest5PropBaseType(TypedDict): + """WebhooksPullRequest5PropBase""" + + label: str + ref: str + repo: WebhooksPullRequest5PropBasePropRepoType + sha: str + user: Union[WebhooksPullRequest5PropBasePropUserType, None] + + +class WebhooksPullRequest5PropBaseTypeForResponse(TypedDict): + """WebhooksPullRequest5PropBase""" + + label: str + ref: str + repo: WebhooksPullRequest5PropBasePropRepoTypeForResponse + sha: str + user: Union[WebhooksPullRequest5PropBasePropUserTypeForResponse, None] + + +class WebhooksPullRequest5PropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhooksPullRequest5PropBasePropRepoPropLicenseType, None] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerType, None] + permissions: NotRequired[WebhooksPullRequest5PropBasePropRepoPropPermissionsType] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoPropLicenseType(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhooksPullRequest5PropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoPropPermissionsType(TypedDict): + """WebhooksPullRequest5PropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse(TypedDict): + """WebhooksPullRequest5PropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhooksPullRequest5PropHeadType(TypedDict): + """WebhooksPullRequest5PropHead""" + + label: str + ref: str + repo: WebhooksPullRequest5PropHeadPropRepoType + sha: str + user: Union[WebhooksPullRequest5PropHeadPropUserType, None] + + +class WebhooksPullRequest5PropHeadTypeForResponse(TypedDict): + """WebhooksPullRequest5PropHead""" label: str ref: str - repo: WebhooksPullRequest5PropBasePropRepoType + repo: WebhooksPullRequest5PropHeadPropRepoTypeForResponse sha: str - user: Union[WebhooksPullRequest5PropBasePropUserType, None] + user: Union[WebhooksPullRequest5PropHeadPropUserTypeForResponse, None] -class WebhooksPullRequest5PropBasePropUserType(TypedDict): +class WebhooksPullRequest5PropHeadPropUserType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -417,7 +1179,34 @@ class WebhooksPullRequest5PropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhooksPullRequest5PropBasePropRepoType(TypedDict): +class WebhooksPullRequest5PropHeadPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): """Repository A git repository @@ -476,7 +1265,7 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): labels_url: str language: Union[str, None] languages_url: str - license_: Union[WebhooksPullRequest5PropBasePropRepoPropLicenseType, None] + license_: Union[WebhooksPullRequest5PropHeadPropRepoPropLicenseType, None] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] @@ -489,8 +1278,8 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): open_issues: int open_issues_count: int organization: NotRequired[str] - owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerType, None] - permissions: NotRequired[WebhooksPullRequest5PropBasePropRepoPropPermissionsType] + owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerType, None] + permissions: NotRequired[WebhooksPullRequest5PropHeadPropRepoPropPermissionsType] private: bool public: NotRequired[bool] pulls_url: str @@ -523,91 +1312,7 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhooksPullRequest5PropBasePropRepoPropLicenseType(TypedDict): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhooksPullRequest5PropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhooksPullRequest5PropBasePropRepoPropPermissionsType(TypedDict): - """WebhooksPullRequest5PropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhooksPullRequest5PropHeadType(TypedDict): - """WebhooksPullRequest5PropHead""" - - label: str - ref: str - repo: WebhooksPullRequest5PropHeadPropRepoType - sha: str - user: Union[WebhooksPullRequest5PropHeadPropUserType, None] - - -class WebhooksPullRequest5PropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): +class WebhooksPullRequest5PropHeadPropRepoTypeForResponse(TypedDict): """Repository A git repository @@ -631,7 +1336,7 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -666,7 +1371,9 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): labels_url: str language: Union[str, None] languages_url: str - license_: Union[WebhooksPullRequest5PropHeadPropRepoPropLicenseType, None] + license_: Union[ + WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse, None + ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] @@ -679,12 +1386,14 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): open_issues: int open_issues_count: int organization: NotRequired[str] - owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerType, None] - permissions: NotRequired[WebhooksPullRequest5PropHeadPropRepoPropPermissionsType] + owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse + ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -704,7 +1413,7 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -723,6 +1432,16 @@ class WebhooksPullRequest5PropHeadPropRepoPropLicenseType(TypedDict): url: Union[str, None] +class WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhooksPullRequest5PropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -750,6 +1469,33 @@ class WebhooksPullRequest5PropHeadPropRepoPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropHeadPropRepoPropPermissionsType(TypedDict): """WebhooksPullRequest5PropHeadPropRepoPropPermissions""" @@ -760,6 +1506,16 @@ class WebhooksPullRequest5PropHeadPropRepoPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse(TypedDict): + """WebhooksPullRequest5PropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type(TypedDict): """Team @@ -783,6 +1539,32 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType(TypedDict): """WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParent""" @@ -799,6 +1581,24 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType(TypedD url: str +class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhooksPullRequest5PropRequestedTeamsItemsType(TypedDict): """Team @@ -822,6 +1622,31 @@ class WebhooksPullRequest5PropRequestedTeamsItemsType(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse, None + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhooksPullRequest5PropRequestedTeamsItemsPropParentType(TypedDict): """WebhooksPullRequest5PropRequestedTeamsItemsPropParent""" @@ -838,41 +1663,93 @@ class WebhooksPullRequest5PropRequestedTeamsItemsPropParentType(TypedDict): url: str +class WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse(TypedDict): + """WebhooksPullRequest5PropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhooksPullRequest5PropAssigneeType", + "WebhooksPullRequest5PropAssigneeTypeForResponse", "WebhooksPullRequest5PropAssigneesItemsType", + "WebhooksPullRequest5PropAssigneesItemsTypeForResponse", "WebhooksPullRequest5PropAutoMergePropEnabledByType", + "WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse", "WebhooksPullRequest5PropAutoMergeType", + "WebhooksPullRequest5PropAutoMergeTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropLicenseType", + "WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropOwnerType", + "WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropPermissionsType", + "WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropBasePropRepoType", + "WebhooksPullRequest5PropBasePropRepoTypeForResponse", "WebhooksPullRequest5PropBasePropUserType", + "WebhooksPullRequest5PropBasePropUserTypeForResponse", "WebhooksPullRequest5PropBaseType", + "WebhooksPullRequest5PropBaseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropLicenseType", + "WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropOwnerType", + "WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropPermissionsType", + "WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoType", + "WebhooksPullRequest5PropHeadPropRepoTypeForResponse", "WebhooksPullRequest5PropHeadPropUserType", + "WebhooksPullRequest5PropHeadPropUserTypeForResponse", "WebhooksPullRequest5PropHeadType", + "WebhooksPullRequest5PropHeadTypeForResponse", "WebhooksPullRequest5PropLabelsItemsType", + "WebhooksPullRequest5PropLabelsItemsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommentsType", + "WebhooksPullRequest5PropLinksPropCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommitsType", + "WebhooksPullRequest5PropLinksPropCommitsTypeForResponse", "WebhooksPullRequest5PropLinksPropHtmlType", + "WebhooksPullRequest5PropLinksPropHtmlTypeForResponse", "WebhooksPullRequest5PropLinksPropIssueType", + "WebhooksPullRequest5PropLinksPropIssueTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentType", + "WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentsType", + "WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropSelfType", + "WebhooksPullRequest5PropLinksPropSelfTypeForResponse", "WebhooksPullRequest5PropLinksPropStatusesType", + "WebhooksPullRequest5PropLinksPropStatusesTypeForResponse", "WebhooksPullRequest5PropLinksType", + "WebhooksPullRequest5PropLinksTypeForResponse", "WebhooksPullRequest5PropMergedByType", + "WebhooksPullRequest5PropMergedByTypeForResponse", "WebhooksPullRequest5PropMilestonePropCreatorType", + "WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse", "WebhooksPullRequest5PropMilestoneType", + "WebhooksPullRequest5PropMilestoneTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsPropParentType", + "WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsType", + "WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse", "WebhooksPullRequest5PropUserType", + "WebhooksPullRequest5PropUserTypeForResponse", "WebhooksPullRequest5Type", + "WebhooksPullRequest5TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0575.py b/githubkit/versions/ghec_v2022_11_28/types/group_0575.py index e0b112082..fd176ee25 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0575.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0575.py @@ -60,6 +60,52 @@ class WebhooksReviewCommentType(TypedDict): user: Union[WebhooksReviewCommentPropUserType, None] +class WebhooksReviewCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) + itself. + """ + + links: WebhooksReviewCommentPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: int + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhooksReviewCommentPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[WebhooksReviewCommentPropUserTypeForResponse, None] + + class WebhooksReviewCommentPropReactionsType(TypedDict): """Reactions""" @@ -75,6 +121,21 @@ class WebhooksReviewCommentPropReactionsType(TypedDict): url: str +class WebhooksReviewCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksReviewCommentPropUserType(TypedDict): """User""" @@ -102,6 +163,33 @@ class WebhooksReviewCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReviewCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewCommentPropLinksType(TypedDict): """WebhooksReviewCommentPropLinks""" @@ -110,30 +198,63 @@ class WebhooksReviewCommentPropLinksType(TypedDict): self_: WebhooksReviewCommentPropLinksPropSelfType +class WebhooksReviewCommentPropLinksTypeForResponse(TypedDict): + """WebhooksReviewCommentPropLinks""" + + html: WebhooksReviewCommentPropLinksPropHtmlTypeForResponse + pull_request: WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse + self_: WebhooksReviewCommentPropLinksPropSelfTypeForResponse + + class WebhooksReviewCommentPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewCommentPropLinksPropPullRequestType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewCommentPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropSelfTypeForResponse(TypedDict): + """Link""" + + href: str + + __all__ = ( "WebhooksReviewCommentPropLinksPropHtmlType", + "WebhooksReviewCommentPropLinksPropHtmlTypeForResponse", "WebhooksReviewCommentPropLinksPropPullRequestType", + "WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse", "WebhooksReviewCommentPropLinksPropSelfType", + "WebhooksReviewCommentPropLinksPropSelfTypeForResponse", "WebhooksReviewCommentPropLinksType", + "WebhooksReviewCommentPropLinksTypeForResponse", "WebhooksReviewCommentPropReactionsType", + "WebhooksReviewCommentPropReactionsTypeForResponse", "WebhooksReviewCommentPropUserType", + "WebhooksReviewCommentPropUserTypeForResponse", "WebhooksReviewCommentType", + "WebhooksReviewCommentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0576.py b/githubkit/versions/ghec_v2022_11_28/types/group_0576.py index f2f9b5a88..88d916a55 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0576.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0576.py @@ -43,6 +43,35 @@ class WebhooksReviewType(TypedDict): user: Union[WebhooksReviewPropUserType, None] +class WebhooksReviewTypeForResponse(TypedDict): + """WebhooksReview + + The review that was affected. + """ + + links: WebhooksReviewPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + commit_id: str + html_url: str + id: int + node_id: str + pull_request_url: str + state: str + submitted_at: Union[str, None] + updated_at: NotRequired[Union[str, None]] + user: Union[WebhooksReviewPropUserTypeForResponse, None] + + class WebhooksReviewPropUserType(TypedDict): """User""" @@ -70,6 +99,33 @@ class WebhooksReviewPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReviewPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewPropLinksType(TypedDict): """WebhooksReviewPropLinks""" @@ -77,22 +133,46 @@ class WebhooksReviewPropLinksType(TypedDict): pull_request: WebhooksReviewPropLinksPropPullRequestType +class WebhooksReviewPropLinksTypeForResponse(TypedDict): + """WebhooksReviewPropLinks""" + + html: WebhooksReviewPropLinksPropHtmlTypeForResponse + pull_request: WebhooksReviewPropLinksPropPullRequestTypeForResponse + + class WebhooksReviewPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksReviewPropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewPropLinksPropPullRequestType(TypedDict): """Link""" href: str +class WebhooksReviewPropLinksPropPullRequestTypeForResponse(TypedDict): + """Link""" + + href: str + + __all__ = ( "WebhooksReviewPropLinksPropHtmlType", + "WebhooksReviewPropLinksPropHtmlTypeForResponse", "WebhooksReviewPropLinksPropPullRequestType", + "WebhooksReviewPropLinksPropPullRequestTypeForResponse", "WebhooksReviewPropLinksType", + "WebhooksReviewPropLinksTypeForResponse", "WebhooksReviewPropUserType", + "WebhooksReviewPropUserTypeForResponse", "WebhooksReviewType", + "WebhooksReviewTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0577.py b/githubkit/versions/ghec_v2022_11_28/types/group_0577.py index 9defe1303..ed53a179c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0577.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0577.py @@ -45,6 +45,37 @@ class WebhooksReleaseType(TypedDict): zipball_url: Union[str, None] +class WebhooksReleaseTypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/enterprise- + cloud@latest//rest/releases/releases/#get-a-release) object. + """ + + assets: list[WebhooksReleasePropAssetsItemsTypeForResponse] + assets_url: str + author: Union[WebhooksReleasePropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: bool + published_at: Union[str, None] + reactions: NotRequired[WebhooksReleasePropReactionsTypeForResponse] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + upload_url: str + url: str + zipball_url: Union[str, None] + + class WebhooksReleasePropAuthorType(TypedDict): """User""" @@ -72,6 +103,33 @@ class WebhooksReleasePropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReleasePropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReleasePropReactionsType(TypedDict): """Reactions""" @@ -87,6 +145,21 @@ class WebhooksReleasePropReactionsType(TypedDict): url: str +class WebhooksReleasePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksReleasePropAssetsItemsType(TypedDict): """Release Asset @@ -109,6 +182,30 @@ class WebhooksReleasePropAssetsItemsType(TypedDict): url: str +class WebhooksReleasePropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse, None] + ] + url: str + + class WebhooksReleasePropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -135,10 +232,41 @@ class WebhooksReleasePropAssetsItemsPropUploaderType(TypedDict): url: NotRequired[str] +class WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksReleasePropAssetsItemsPropUploaderType", + "WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhooksReleasePropAssetsItemsType", + "WebhooksReleasePropAssetsItemsTypeForResponse", "WebhooksReleasePropAuthorType", + "WebhooksReleasePropAuthorTypeForResponse", "WebhooksReleasePropReactionsType", + "WebhooksReleasePropReactionsTypeForResponse", "WebhooksReleaseType", + "WebhooksReleaseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0578.py b/githubkit/versions/ghec_v2022_11_28/types/group_0578.py index 0c3673436..c348ff6ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0578.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0578.py @@ -45,6 +45,37 @@ class WebhooksRelease1Type(TypedDict): zipball_url: Union[str, None] +class WebhooksRelease1TypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/enterprise- + cloud@latest//rest/releases/releases/#get-a-release) object. + """ + + assets: list[Union[WebhooksRelease1PropAssetsItemsTypeForResponse, None]] + assets_url: str + author: Union[WebhooksRelease1PropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: bool + published_at: Union[str, None] + reactions: NotRequired[WebhooksRelease1PropReactionsTypeForResponse] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + updated_at: Union[str, None] + upload_url: str + url: str + zipball_url: Union[str, None] + + class WebhooksRelease1PropAssetsItemsType(TypedDict): """Release Asset @@ -67,6 +98,30 @@ class WebhooksRelease1PropAssetsItemsType(TypedDict): url: str +class WebhooksRelease1PropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse, None] + ] + url: str + + class WebhooksRelease1PropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -93,6 +148,32 @@ class WebhooksRelease1PropAssetsItemsPropUploaderType(TypedDict): url: NotRequired[str] +class WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhooksRelease1PropAuthorType(TypedDict): """User""" @@ -120,6 +201,33 @@ class WebhooksRelease1PropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksRelease1PropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksRelease1PropReactionsType(TypedDict): """Reactions""" @@ -135,10 +243,30 @@ class WebhooksRelease1PropReactionsType(TypedDict): url: str +class WebhooksRelease1PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + __all__ = ( "WebhooksRelease1PropAssetsItemsPropUploaderType", + "WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse", "WebhooksRelease1PropAssetsItemsType", + "WebhooksRelease1PropAssetsItemsTypeForResponse", "WebhooksRelease1PropAuthorType", + "WebhooksRelease1PropAuthorTypeForResponse", "WebhooksRelease1PropReactionsType", + "WebhooksRelease1PropReactionsTypeForResponse", "WebhooksRelease1Type", + "WebhooksRelease1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0579.py b/githubkit/versions/ghec_v2022_11_28/types/group_0579.py index 3401e5834..41fb330b6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0579.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0579.py @@ -39,6 +39,31 @@ class WebhooksAlertType(TypedDict): state: Literal["open"] +class WebhooksAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_reason: NotRequired[str] + dismissed_at: NotRequired[str] + dismisser: NotRequired[Union[WebhooksAlertPropDismisserTypeForResponse, None]] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["open"] + + class WebhooksAlertPropDismisserType(TypedDict): """User""" @@ -65,7 +90,35 @@ class WebhooksAlertPropDismisserType(TypedDict): url: NotRequired[str] +class WebhooksAlertPropDismisserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksAlertPropDismisserType", + "WebhooksAlertPropDismisserTypeForResponse", "WebhooksAlertType", + "WebhooksAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0580.py b/githubkit/versions/ghec_v2022_11_28/types/group_0580.py index 18ea4e27d..1ffa368f5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0580.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0580.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class SecretScanningAlertWebhookType(TypedDict): @@ -56,4 +56,49 @@ class SecretScanningAlertWebhookType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("SecretScanningAlertWebhookType",) +class SecretScanningAlertWebhookTypeForResponse(TypedDict): + """SecretScanningAlertWebhook""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + resolution: NotRequired[ + Union[ + None, + Literal[ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + ], + ] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + resolution_comment: NotRequired[Union[str, None]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "SecretScanningAlertWebhookType", + "SecretScanningAlertWebhookTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0581.py b/githubkit/versions/ghec_v2022_11_28/types/group_0581.py index dce9a1159..66814bc42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0581.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0581.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse class WebhooksSecurityAdvisoryType(TypedDict): @@ -37,6 +37,30 @@ class WebhooksSecurityAdvisoryType(TypedDict): withdrawn_at: Union[str, None] +class WebhooksSecurityAdvisoryTypeForResponse(TypedDict): + """WebhooksSecurityAdvisory + + The details of the security advisory, including summary, description, and + severity. + """ + + cvss: WebhooksSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: list[WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse] + description: str + ghsa_id: str + identifiers: list[WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse] + published_at: str + references: list[WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse] + severity: str + summary: str + updated_at: str + vulnerabilities: list[ + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse + ] + withdrawn_at: Union[str, None] + + class WebhooksSecurityAdvisoryPropCvssType(TypedDict): """WebhooksSecurityAdvisoryPropCvss""" @@ -44,6 +68,13 @@ class WebhooksSecurityAdvisoryPropCvssType(TypedDict): vector_string: Union[str, None] +class WebhooksSecurityAdvisoryPropCvssTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropCvss""" + + score: float + vector_string: Union[str, None] + + class WebhooksSecurityAdvisoryPropCwesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropCwesItems""" @@ -51,6 +82,13 @@ class WebhooksSecurityAdvisoryPropCwesItemsType(TypedDict): name: str +class WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class WebhooksSecurityAdvisoryPropIdentifiersItemsType(TypedDict): """WebhooksSecurityAdvisoryPropIdentifiersItems""" @@ -58,12 +96,25 @@ class WebhooksSecurityAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropIdentifiersItems""" + + type: str + value: str + + class WebhooksSecurityAdvisoryPropReferencesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropReferencesItems""" url: str +class WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropReferencesItems""" + + url: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropVulnerabilitiesItems""" @@ -76,6 +127,18 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType(TypedDict): vulnerable_version_range: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItems""" + + first_patched_version: Union[ + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + None, + ] + package: WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse + severity: str + vulnerable_version_range: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType( TypedDict ): @@ -84,6 +147,14 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTyp identifier: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersion""" + + identifier: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType(TypedDict): """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackage""" @@ -91,13 +162,30 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType(TypedDict) name: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackage""" + + ecosystem: str + name: str + + __all__ = ( "WebhooksSecurityAdvisoryPropCvssType", + "WebhooksSecurityAdvisoryPropCvssTypeForResponse", "WebhooksSecurityAdvisoryPropCwesItemsType", + "WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropIdentifiersItemsType", + "WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhooksSecurityAdvisoryPropReferencesItemsType", + "WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhooksSecurityAdvisoryType", + "WebhooksSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0582.py b/githubkit/versions/ghec_v2022_11_28/types/group_0582.py index 7dd35b2e2..03f2adb33 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0582.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0582.py @@ -25,6 +25,18 @@ class WebhooksSponsorshipType(TypedDict): tier: WebhooksSponsorshipPropTierType +class WebhooksSponsorshipTypeForResponse(TypedDict): + """WebhooksSponsorship""" + + created_at: str + maintainer: NotRequired[WebhooksSponsorshipPropMaintainerTypeForResponse] + node_id: str + privacy_level: str + sponsor: Union[WebhooksSponsorshipPropSponsorTypeForResponse, None] + sponsorable: Union[WebhooksSponsorshipPropSponsorableTypeForResponse, None] + tier: WebhooksSponsorshipPropTierTypeForResponse + + class WebhooksSponsorshipPropMaintainerType(TypedDict): """WebhooksSponsorshipPropMaintainer""" @@ -49,6 +61,30 @@ class WebhooksSponsorshipPropMaintainerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropMaintainerTypeForResponse(TypedDict): + """WebhooksSponsorshipPropMaintainer""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropSponsorType(TypedDict): """User""" @@ -76,6 +112,33 @@ class WebhooksSponsorshipPropSponsorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropSponsorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropSponsorableType(TypedDict): """User""" @@ -103,6 +166,33 @@ class WebhooksSponsorshipPropSponsorableType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropSponsorableTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropTierType(TypedDict): """Sponsorship Tier @@ -122,10 +212,34 @@ class WebhooksSponsorshipPropTierType(TypedDict): node_id: str +class WebhooksSponsorshipPropTierTypeForResponse(TypedDict): + """Sponsorship Tier + + The `tier_changed` and `pending_tier_change` will include the original tier + before the change or pending change. For more information, see the pending tier + change payload. + """ + + created_at: str + description: str + is_custom_ammount: NotRequired[bool] + is_custom_amount: NotRequired[bool] + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + node_id: str + + __all__ = ( "WebhooksSponsorshipPropMaintainerType", + "WebhooksSponsorshipPropMaintainerTypeForResponse", "WebhooksSponsorshipPropSponsorType", + "WebhooksSponsorshipPropSponsorTypeForResponse", "WebhooksSponsorshipPropSponsorableType", + "WebhooksSponsorshipPropSponsorableTypeForResponse", "WebhooksSponsorshipPropTierType", + "WebhooksSponsorshipPropTierTypeForResponse", "WebhooksSponsorshipType", + "WebhooksSponsorshipTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0583.py b/githubkit/versions/ghec_v2022_11_28/types/group_0583.py index bcc71503a..14b92bd99 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0583.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0583.py @@ -18,12 +18,24 @@ class WebhooksChanges8Type(TypedDict): tier: WebhooksChanges8PropTierType +class WebhooksChanges8TypeForResponse(TypedDict): + """WebhooksChanges8""" + + tier: WebhooksChanges8PropTierTypeForResponse + + class WebhooksChanges8PropTierType(TypedDict): """WebhooksChanges8PropTier""" from_: WebhooksChanges8PropTierPropFromType +class WebhooksChanges8PropTierTypeForResponse(TypedDict): + """WebhooksChanges8PropTier""" + + from_: WebhooksChanges8PropTierPropFromTypeForResponse + + class WebhooksChanges8PropTierPropFromType(TypedDict): """Sponsorship Tier @@ -43,8 +55,30 @@ class WebhooksChanges8PropTierPropFromType(TypedDict): node_id: str +class WebhooksChanges8PropTierPropFromTypeForResponse(TypedDict): + """Sponsorship Tier + + The `tier_changed` and `pending_tier_change` will include the original tier + before the change or pending change. For more information, see the pending tier + change payload. + """ + + created_at: str + description: str + is_custom_ammount: NotRequired[bool] + is_custom_amount: NotRequired[bool] + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + node_id: str + + __all__ = ( "WebhooksChanges8PropTierPropFromType", + "WebhooksChanges8PropTierPropFromTypeForResponse", "WebhooksChanges8PropTierType", + "WebhooksChanges8PropTierTypeForResponse", "WebhooksChanges8Type", + "WebhooksChanges8TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0584.py b/githubkit/versions/ghec_v2022_11_28/types/group_0584.py index cdbf156cc..429d89ea9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0584.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0584.py @@ -40,6 +40,33 @@ class WebhooksTeam1Type(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeam1TypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[Union[WebhooksTeam1PropParentTypeForResponse, None]] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + type: NotRequired[Literal["enterprise", "organization"]] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class WebhooksTeam1PropParentType(TypedDict): """WebhooksTeam1PropParent""" @@ -60,7 +87,29 @@ class WebhooksTeam1PropParentType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeam1PropParentTypeForResponse(TypedDict): + """WebhooksTeam1PropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + notification_setting: Literal["notifications_enabled", "notifications_disabled"] + repositories_url: str + slug: str + url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + __all__ = ( "WebhooksTeam1PropParentType", + "WebhooksTeam1PropParentTypeForResponse", "WebhooksTeam1Type", + "WebhooksTeam1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0585.py b/githubkit/versions/ghec_v2022_11_28/types/group_0585.py index 2530e19a6..3a6ae0670 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0585.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0585.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookBranchProtectionConfigurationDisabledType(TypedDict): @@ -30,4 +33,18 @@ class WebhookBranchProtectionConfigurationDisabledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionConfigurationDisabledType",) +class WebhookBranchProtectionConfigurationDisabledTypeForResponse(TypedDict): + """branch protection configuration disabled event""" + + action: Literal["disabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionConfigurationDisabledType", + "WebhookBranchProtectionConfigurationDisabledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0586.py b/githubkit/versions/ghec_v2022_11_28/types/group_0586.py index d6e636657..d2d6cc5db 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0586.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0586.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookBranchProtectionConfigurationEnabledType(TypedDict): @@ -30,4 +33,18 @@ class WebhookBranchProtectionConfigurationEnabledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionConfigurationEnabledType",) +class WebhookBranchProtectionConfigurationEnabledTypeForResponse(TypedDict): + """branch protection configuration enabled event""" + + action: Literal["enabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionConfigurationEnabledType", + "WebhookBranchProtectionConfigurationEnabledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0587.py b/githubkit/versions/ghec_v2022_11_28/types/group_0587.py index c4f8f7e11..498eb8043 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0587.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0587.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0538 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0538 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookBranchProtectionRuleCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionRuleCreatedType",) +class WebhookBranchProtectionRuleCreatedTypeForResponse(TypedDict): + """branch protection rule created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionRuleCreatedType", + "WebhookBranchProtectionRuleCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0588.py b/githubkit/versions/ghec_v2022_11_28/types/group_0588.py index 10067b0b6..7b184dcb5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0588.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0588.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0538 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0538 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookBranchProtectionRuleDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionRuleDeletedType",) +class WebhookBranchProtectionRuleDeletedTypeForResponse(TypedDict): + """branch protection rule deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionRuleDeletedType", + "WebhookBranchProtectionRuleDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0589.py b/githubkit/versions/ghec_v2022_11_28/types/group_0589.py index 259586fa4..56c1f082d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0589.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0589.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0538 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0538 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookBranchProtectionRuleEditedType(TypedDict): sender: SimpleUserType +class WebhookBranchProtectionRuleEditedTypeForResponse(TypedDict): + """branch protection rule edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookBranchProtectionRuleEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookBranchProtectionRuleEditedPropChangesType(TypedDict): """WebhookBranchProtectionRuleEditedPropChanges @@ -74,12 +90,61 @@ class WebhookBranchProtectionRuleEditedPropChangesType(TypedDict): ] +class WebhookBranchProtectionRuleEditedPropChangesTypeForResponse(TypedDict): + """WebhookBranchProtectionRuleEditedPropChanges + + If the action was `edited`, the changes to the rule. + """ + + admin_enforced: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse + ] + authorized_actor_names: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse + ] + authorized_actors_only: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse + ] + authorized_dismissal_actors_only: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse + ] + linear_history_requirement_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse + ] + lock_branch_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse + ] + lock_allows_fork_sync: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse + ] + pull_request_reviews_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse + ] + require_last_push_approval: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse + ] + required_status_checks: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse + ] + required_status_checks_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse + ] + + class WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType(TypedDict): """WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforced""" from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforced""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType( TypedDict ): @@ -88,6 +153,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType( from_: list[str] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNames""" + + from_: list[str] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType( TypedDict ): @@ -96,6 +169,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType( from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnly""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType( TypedDict ): @@ -104,6 +185,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsO from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnly""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType( TypedDict ): @@ -114,6 +203,16 @@ class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEn from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcem + entLevel + """ + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType( TypedDict ): @@ -122,12 +221,28 @@ class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevel from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevel""" + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType(TypedDict): """WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSync""" from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSync""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType( TypedDict ): @@ -138,6 +253,16 @@ class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcem from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLev + el + """ + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType( TypedDict ): @@ -146,6 +271,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTyp from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApproval""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType( TypedDict ): @@ -154,6 +287,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType( from_: list[str] +class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecks""" + + from_: list[str] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType( TypedDict ): @@ -164,18 +305,41 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforc from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementL + evel + """ + + from_: Literal["off", "non_admins", "everyone"] + + __all__ = ( "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType", + "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesType", + "WebhookBranchProtectionRuleEditedPropChangesTypeForResponse", "WebhookBranchProtectionRuleEditedType", + "WebhookBranchProtectionRuleEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0590.py b/githubkit/versions/ghec_v2022_11_28/types/group_0590.py index 58e379381..29d0d665b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0590.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0590.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0540 import ExemptionRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0540 import ExemptionRequestType, ExemptionRequestTypeForResponse class WebhookExemptionRequestCancelledType(TypedDict): @@ -32,4 +35,19 @@ class WebhookExemptionRequestCancelledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookExemptionRequestCancelledType",) +class WebhookExemptionRequestCancelledTypeForResponse(TypedDict): + """Exemption request cancellation event""" + + action: Literal["cancelled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + exemption_request: ExemptionRequestTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookExemptionRequestCancelledType", + "WebhookExemptionRequestCancelledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0591.py b/githubkit/versions/ghec_v2022_11_28/types/group_0591.py index ca586a9e4..00e62dd9a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0591.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0591.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0540 import ExemptionRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0540 import ExemptionRequestType, ExemptionRequestTypeForResponse class WebhookExemptionRequestCompletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookExemptionRequestCompletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookExemptionRequestCompletedType",) +class WebhookExemptionRequestCompletedTypeForResponse(TypedDict): + """Exemption request completed event""" + + action: Literal["completed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + exemption_request: ExemptionRequestTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookExemptionRequestCompletedType", + "WebhookExemptionRequestCompletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0592.py b/githubkit/versions/ghec_v2022_11_28/types/group_0592.py index 08546402a..f7fcdef47 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0592.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0592.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0540 import ExemptionRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0540 import ExemptionRequestType, ExemptionRequestTypeForResponse class WebhookExemptionRequestCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookExemptionRequestCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookExemptionRequestCreatedType",) +class WebhookExemptionRequestCreatedTypeForResponse(TypedDict): + """Exemption request created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + exemption_request: ExemptionRequestTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookExemptionRequestCreatedType", + "WebhookExemptionRequestCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0593.py b/githubkit/versions/ghec_v2022_11_28/types/group_0593.py index 9c1f7b500..0446d937b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0593.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0593.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0539 import ExemptionResponseType -from .group_0540 import ExemptionRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0539 import ExemptionResponseType, ExemptionResponseTypeForResponse +from .group_0540 import ExemptionRequestType, ExemptionRequestTypeForResponse class WebhookExemptionRequestResponseDismissedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookExemptionRequestResponseDismissedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookExemptionRequestResponseDismissedType",) +class WebhookExemptionRequestResponseDismissedTypeForResponse(TypedDict): + """Exemption response dismissed event""" + + action: Literal["response_dismissed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + exemption_request: ExemptionRequestTypeForResponse + exemption_response: ExemptionResponseTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookExemptionRequestResponseDismissedType", + "WebhookExemptionRequestResponseDismissedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0594.py b/githubkit/versions/ghec_v2022_11_28/types/group_0594.py index 3edf803e6..62bc4b27d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0594.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0594.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0539 import ExemptionResponseType -from .group_0540 import ExemptionRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0539 import ExemptionResponseType, ExemptionResponseTypeForResponse +from .group_0540 import ExemptionRequestType, ExemptionRequestTypeForResponse class WebhookExemptionRequestResponseSubmittedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookExemptionRequestResponseSubmittedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookExemptionRequestResponseSubmittedType",) +class WebhookExemptionRequestResponseSubmittedTypeForResponse(TypedDict): + """Exemption response submitted event""" + + action: Literal["response_submitted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + exemption_request: ExemptionRequestTypeForResponse + exemption_response: ExemptionResponseTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookExemptionRequestResponseSubmittedType", + "WebhookExemptionRequestResponseSubmittedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0595.py b/githubkit/versions/ghec_v2022_11_28/types/group_0595.py index dff824a6d..a72311316 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0595.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0595.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0542 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0542 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunCompletedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunCompletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunCompletedType",) +class WebhookCheckRunCompletedTypeForResponse(TypedDict): + """Check Run Completed Event""" + + action: Literal["completed"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunCompletedType", + "WebhookCheckRunCompletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0596.py b/githubkit/versions/ghec_v2022_11_28/types/group_0596.py index 831afd105..3b7d28ea8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0596.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0596.py @@ -21,4 +21,16 @@ class WebhookCheckRunCompletedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunCompletedFormEncodedType",) +class WebhookCheckRunCompletedFormEncodedTypeForResponse(TypedDict): + """Check Run Completed Event + + The check_run.completed webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunCompletedFormEncodedType", + "WebhookCheckRunCompletedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0597.py b/githubkit/versions/ghec_v2022_11_28/types/group_0597.py index 0184f4f5e..231d6d70f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0597.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0597.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0542 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0542 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunCreatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunCreatedType",) +class WebhookCheckRunCreatedTypeForResponse(TypedDict): + """Check Run Created Event""" + + action: Literal["created"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunCreatedType", + "WebhookCheckRunCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0598.py b/githubkit/versions/ghec_v2022_11_28/types/group_0598.py index 090ccf388..ea23019c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0598.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0598.py @@ -21,4 +21,16 @@ class WebhookCheckRunCreatedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunCreatedFormEncodedType",) +class WebhookCheckRunCreatedFormEncodedTypeForResponse(TypedDict): + """Check Run Created Event + + The check_run.created webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunCreatedFormEncodedType", + "WebhookCheckRunCreatedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0599.py b/githubkit/versions/ghec_v2022_11_28/types/group_0599.py index cb9995571..707723b96 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0599.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0599.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0542 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0542 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunRequestedActionType(TypedDict): @@ -33,6 +39,21 @@ class WebhookCheckRunRequestedActionType(TypedDict): sender: SimpleUserType +class WebhookCheckRunRequestedActionTypeForResponse(TypedDict): + """Check Run Requested Action Event""" + + action: Literal["requested_action"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + requested_action: NotRequired[ + WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse + ] + sender: SimpleUserTypeForResponse + + class WebhookCheckRunRequestedActionPropRequestedActionType(TypedDict): """WebhookCheckRunRequestedActionPropRequestedAction @@ -42,7 +63,18 @@ class WebhookCheckRunRequestedActionPropRequestedActionType(TypedDict): identifier: NotRequired[str] +class WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse(TypedDict): + """WebhookCheckRunRequestedActionPropRequestedAction + + The action requested by the user. + """ + + identifier: NotRequired[str] + + __all__ = ( "WebhookCheckRunRequestedActionPropRequestedActionType", + "WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse", "WebhookCheckRunRequestedActionType", + "WebhookCheckRunRequestedActionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0600.py b/githubkit/versions/ghec_v2022_11_28/types/group_0600.py index 0d80e2c39..3077b77a7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0600.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0600.py @@ -21,4 +21,16 @@ class WebhookCheckRunRequestedActionFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunRequestedActionFormEncodedType",) +class WebhookCheckRunRequestedActionFormEncodedTypeForResponse(TypedDict): + """Check Run Requested Action Event + + The check_run.requested_action webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunRequestedActionFormEncodedType", + "WebhookCheckRunRequestedActionFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0601.py b/githubkit/versions/ghec_v2022_11_28/types/group_0601.py index 05c501a9b..c588eedd5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0601.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0601.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0542 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0542 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunRerequestedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunRerequestedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunRerequestedType",) +class WebhookCheckRunRerequestedTypeForResponse(TypedDict): + """Check Run Re-Requested Event""" + + action: Literal["rerequested"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunRerequestedType", + "WebhookCheckRunRerequestedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0602.py b/githubkit/versions/ghec_v2022_11_28/types/group_0602.py index ef6a77599..895abece0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0602.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0602.py @@ -21,4 +21,16 @@ class WebhookCheckRunRerequestedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunRerequestedFormEncodedType",) +class WebhookCheckRunRerequestedFormEncodedTypeForResponse(TypedDict): + """Check Run Re-Requested Event + + The check_run.rerequested webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunRerequestedFormEncodedType", + "WebhookCheckRunRerequestedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0603.py b/githubkit/versions/ghec_v2022_11_28/types/group_0603.py index 723092946..60e9bc892 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0603.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0603.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteCompletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteCompletedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteCompletedTypeForResponse(TypedDict): + """check_suite completed event""" + + action: Literal["completed"] + check_suite: WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteCompletedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteCompletedPropCheckSuite @@ -76,6 +91,50 @@ class WebhookCheckSuiteCompletedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteCompletedPropCheckSuite + + The [check_suite](https://docs.github.com/enterprise- + cloud@latest//rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + "startup_failure", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[ + None, Literal["requested", "in_progress", "completed", "queued", "pending"] + ] + updated_at: str + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppType(TypedDict): """App @@ -102,6 +161,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -129,6 +216,35 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissions @@ -172,6 +288,51 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType(TypedDi workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -183,6 +344,19 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse(TypedDict): + """SimpleCommit""" + + author: ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + ) + committer: WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -195,6 +369,20 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType(Typed username: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -209,6 +397,20 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -219,6 +421,18 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType(TypedDic url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -229,6 +443,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType( sha: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -239,6 +463,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropR url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -249,6 +483,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType( sha: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -259,18 +503,41 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropR url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuiteType", + "WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteCompletedType", + "WebhookCheckSuiteCompletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0604.py b/githubkit/versions/ghec_v2022_11_28/types/group_0604.py index 5e3558b88..2e75400d3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0604.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0604.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteRequestedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteRequestedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteRequestedTypeForResponse(TypedDict): + """check_suite requested event""" + + action: Literal["requested"] + check_suite: WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteRequestedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteRequestedPropCheckSuite @@ -73,6 +88,47 @@ class WebhookCheckSuiteRequestedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteRequestedPropCheckSuite + + The [check_suite](https://docs.github.com/enterprise- + cloud@latest//rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[None, Literal["requested", "in_progress", "completed", "queued"]] + updated_at: str + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppType(TypedDict): """App @@ -99,6 +155,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -126,6 +210,35 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissions @@ -169,6 +282,51 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType(TypedDi workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -180,6 +338,19 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse(TypedDict): + """SimpleCommit""" + + author: ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + ) + committer: WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -192,6 +363,20 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType(Typed username: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -206,6 +391,20 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -216,6 +415,18 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType(TypedDic url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -226,6 +437,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType( sha: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -236,6 +457,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropR url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -246,6 +477,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType( sha: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -256,18 +497,41 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropR url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuiteType", + "WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRequestedType", + "WebhookCheckSuiteRequestedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0605.py b/githubkit/versions/ghec_v2022_11_28/types/group_0605.py index 38352ff07..b34af3cb9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0605.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0605.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteRerequestedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteRerequestedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteRerequestedTypeForResponse(TypedDict): + """check_suite rerequested event""" + + action: Literal["rerequested"] + check_suite: WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteRerequestedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteRerequestedPropCheckSuite @@ -72,6 +87,46 @@ class WebhookCheckSuiteRerequestedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteRerequestedPropCheckSuite + + The [check_suite](https://docs.github.com/enterprise- + cloud@latest//rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[None, Literal["requested", "in_progress", "completed", "queued"]] + updated_at: str + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppType(TypedDict): """App @@ -98,6 +153,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -125,6 +208,35 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissions @@ -168,6 +280,51 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType(Typed workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -179,6 +336,19 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + committer: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -191,6 +361,20 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -205,6 +389,20 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -215,6 +413,18 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType(TypedD url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -225,6 +435,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTyp sha: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -235,6 +455,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePro url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -245,6 +475,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTyp sha: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -255,18 +495,41 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPro url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuiteType", + "WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRerequestedType", + "WebhookCheckSuiteRerequestedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0606.py b/githubkit/versions/ghec_v2022_11_28/types/group_0606.py index 46ebd9f18..82db2b716 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0606.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0606.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0607 import WebhookCodeScanningAlertAppearedInBranchPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0607 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertType, + WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse, +) class WebhookCodeScanningAlertAppearedInBranchType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertAppearedInBranchType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertAppearedInBranchType",) +class WebhookCodeScanningAlertAppearedInBranchTypeForResponse(TypedDict): + """code_scanning_alert appeared_in_branch event""" + + action: Literal["appeared_in_branch"] + alert: WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertAppearedInBranchType", + "WebhookCodeScanningAlertAppearedInBranchTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0607.py b/githubkit/versions/ghec_v2022_11_28/types/group_0607.py index 9eb1fe779..a352717ea 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0607.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0607.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertAppearedInBranchPropAlertType(TypedDict): @@ -47,6 +47,38 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertAppearedInBranchPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse, + None, + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed", "fixed"]] + tool: WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType(TypedDict): """User""" @@ -74,6 +106,35 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType(Typed user_view_type: NotRequired[str] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType( TypedDict ): @@ -94,6 +155,26 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTyp state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -108,6 +189,20 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePro start_line: NotRequired[int] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocat + ion + """ + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -118,6 +213,16 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePro text: NotRequired[str] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessa + ge + """ + + text: NotRequired[str] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertAppearedInBranchPropAlertPropRule""" @@ -126,6 +231,16 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType(TypedDict): severity: Union[None, Literal["none", "note", "warning", "error"]] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropRule""" + + description: str + id: str + severity: Union[None, Literal["none", "note", "warning", "error"]] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertAppearedInBranchPropAlertPropTool""" @@ -133,12 +248,28 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropTool""" + + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0608.py b/githubkit/versions/ghec_v2022_11_28/types/group_0608.py index f4ae73ea2..0980da66c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0608.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0608.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0609 import WebhookCodeScanningAlertClosedByUserPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0609 import ( + WebhookCodeScanningAlertClosedByUserPropAlertType, + WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse, +) class WebhookCodeScanningAlertClosedByUserType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertClosedByUserType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertClosedByUserType",) +class WebhookCodeScanningAlertClosedByUserTypeForResponse(TypedDict): + """code_scanning_alert closed_by_user event""" + + action: Literal["closed_by_user"] + alert: WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertClosedByUserType", + "WebhookCodeScanningAlertClosedByUserTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0609.py b/githubkit/versions/ghec_v2022_11_28/types/group_0609.py index bbb0a1302..a01ec5849 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0609.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0609.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertClosedByUserPropAlertType(TypedDict): @@ -53,6 +53,44 @@ class WebhookCodeScanningAlertClosedByUserPropAlertType(TypedDict): ] +class WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: str + dismissed_by: Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse, + None, + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse + state: Literal["dismissed", "fixed"] + tool: WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse + url: str + dismissal_approved_by: NotRequired[ + Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse, + None, + ] + ] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType(TypedDict): """User""" @@ -80,6 +118,35 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType(TypedDict user_view_type: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType( TypedDict ): @@ -100,6 +167,26 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType( state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -112,6 +199,18 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLoc start_line: NotRequired[int] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -120,6 +219,14 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMes text: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertClosedByUserPropAlertPropRule""" @@ -133,6 +240,19 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertClosedByUserPropAlertPropTool""" @@ -141,6 +261,14 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType( TypedDict ): @@ -170,13 +298,50 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType( user_view_type: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertType", + "WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0610.py b/githubkit/versions/ghec_v2022_11_28/types/group_0610.py index c55c68a4e..eca44ef12 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0610.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0610.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0611 import WebhookCodeScanningAlertCreatedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0611 import ( + WebhookCodeScanningAlertCreatedPropAlertType, + WebhookCodeScanningAlertCreatedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertCreatedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertCreatedType",) +class WebhookCodeScanningAlertCreatedTypeForResponse(TypedDict): + """code_scanning_alert created event""" + + action: Literal["created"] + alert: WebhookCodeScanningAlertCreatedPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertCreatedType", + "WebhookCodeScanningAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0611.py b/githubkit/versions/ghec_v2022_11_28/types/group_0611.py index fd467f49a..efcd13067 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0611.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0611.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertCreatedPropAlertType(TypedDict): @@ -43,6 +43,36 @@ class WebhookCodeScanningAlertCreatedPropAlertType(TypedDict): assignees: NotRequired[list[SimpleUserType]] +class WebhookCodeScanningAlertCreatedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlert + + The code scanning alert involved in the event. + """ + + created_at: Union[str, None] + dismissed_at: None + dismissed_by: None + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: None + fixed_at: NotRequired[None] + html_url: str + instances_url: NotRequired[str] + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed"]] + tool: Union[WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse, None] + updated_at: NotRequired[Union[str, None]] + url: str + dismissal_approved_by: NotRequired[None] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -61,6 +91,26 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType(TypedDi state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -73,6 +123,18 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocation start_line: NotRequired[int] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -81,6 +143,14 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageT text: NotRequired[str] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertCreatedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertCreatedPropAlertPropRule""" @@ -94,6 +164,19 @@ class WebhookCodeScanningAlertCreatedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertCreatedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertCreatedPropAlertPropTool""" @@ -102,11 +185,25 @@ class WebhookCodeScanningAlertCreatedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropRuleType", + "WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropToolType", + "WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertType", + "WebhookCodeScanningAlertCreatedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0612.py b/githubkit/versions/ghec_v2022_11_28/types/group_0612.py index 70ada1bea..0451a63eb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0612.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0612.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0613 import WebhookCodeScanningAlertFixedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0613 import ( + WebhookCodeScanningAlertFixedPropAlertType, + WebhookCodeScanningAlertFixedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertFixedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertFixedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertFixedType",) +class WebhookCodeScanningAlertFixedTypeForResponse(TypedDict): + """code_scanning_alert fixed event""" + + action: Literal["fixed"] + alert: WebhookCodeScanningAlertFixedPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertFixedType", + "WebhookCodeScanningAlertFixedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0613.py b/githubkit/versions/ghec_v2022_11_28/types/group_0613.py index e56e94af9..834271f30 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0613.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0613.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertFixedPropAlertType(TypedDict): @@ -43,6 +43,38 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse, None + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + instances_url: NotRequired[str] + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["fixed"]] + tool: WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertFixedPropAlertPropDismissedByType(TypedDict): """User""" @@ -70,6 +102,33 @@ class WebhookCodeScanningAlertFixedPropAlertPropDismissedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -88,6 +147,26 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType(TypedDict state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -100,6 +179,18 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTy start_line: NotRequired[int] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -108,6 +199,14 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTyp text: NotRequired[str] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertFixedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertFixedPropAlertPropRule""" @@ -121,6 +220,19 @@ class WebhookCodeScanningAlertFixedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertFixedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertFixedPropAlertPropTool""" @@ -129,12 +241,27 @@ class WebhookCodeScanningAlertFixedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertFixedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropRuleType", + "WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropToolType", + "WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertType", + "WebhookCodeScanningAlertFixedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0614.py b/githubkit/versions/ghec_v2022_11_28/types/group_0614.py index d889fb2f6..d26ccbeab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0614.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0614.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0615 import WebhookCodeScanningAlertReopenedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0615 import ( + WebhookCodeScanningAlertReopenedPropAlertType, + WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertReopenedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertReopenedType",) +class WebhookCodeScanningAlertReopenedTypeForResponse(TypedDict): + """code_scanning_alert reopened event""" + + action: Literal["reopened"] + alert: Union[WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, None] + commit_oid: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: Union[str, None] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertReopenedType", + "WebhookCodeScanningAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0615.py b/githubkit/versions/ghec_v2022_11_28/types/group_0615.py index caa551b59..47a47ec82 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0615.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0615.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertReopenedPropAlertType(TypedDict): @@ -42,10 +42,45 @@ class WebhookCodeScanningAlertReopenedPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertReopenedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse, None + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[str, None] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed", "fixed"]] + tool: WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropDismissedBy""" +class WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropDismissedBy""" + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -64,6 +99,26 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType(TypedD state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -76,6 +131,18 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocatio start_line: NotRequired[int] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -84,6 +151,14 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessage text: NotRequired[str] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertReopenedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropRule""" @@ -97,6 +172,19 @@ class WebhookCodeScanningAlertReopenedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertReopenedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropTool""" @@ -105,12 +193,27 @@ class WebhookCodeScanningAlertReopenedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertType", + "WebhookCodeScanningAlertReopenedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0616.py b/githubkit/versions/ghec_v2022_11_28/types/group_0616.py index 6fad269f9..14ead32ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0616.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0616.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0617 import WebhookCodeScanningAlertReopenedByUserPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0617 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertType, + WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse, +) class WebhookCodeScanningAlertReopenedByUserType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertReopenedByUserType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertReopenedByUserType",) +class WebhookCodeScanningAlertReopenedByUserTypeForResponse(TypedDict): + """code_scanning_alert reopened_by_user event""" + + action: Literal["reopened_by_user"] + alert: WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertReopenedByUserType", + "WebhookCodeScanningAlertReopenedByUserTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0617.py b/githubkit/versions/ghec_v2022_11_28/types/group_0617.py index d90cf6c4d..9e20d73f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0617.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0617.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertReopenedByUserPropAlertType(TypedDict): @@ -43,6 +43,33 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: None + dismissed_by: None + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: None + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "fixed"]] + tool: WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType( TypedDict ): @@ -63,6 +90,26 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType( state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -77,6 +124,20 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropL start_line: NotRequired[int] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocatio + n + """ + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -85,6 +146,14 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropM text: NotRequired[str] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertReopenedByUserPropAlertPropRule""" @@ -93,6 +162,14 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType(TypedDict): severity: Union[None, Literal["none", "note", "warning", "error"]] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropRule""" + + description: str + id: str + severity: Union[None, Literal["none", "note", "warning", "error"]] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertReopenedByUserPropAlertPropTool""" @@ -100,11 +177,24 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropTool""" + + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertType", + "WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0618.py b/githubkit/versions/ghec_v2022_11_28/types/group_0618.py index 17b3f69b6..1de2515b9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0618.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0618.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCommitCommentCreatedType(TypedDict): @@ -31,6 +34,18 @@ class WebhookCommitCommentCreatedType(TypedDict): sender: SimpleUserType +class WebhookCommitCommentCreatedTypeForResponse(TypedDict): + """commit_comment created event""" + + action: Literal["created"] + comment: WebhookCommitCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCommitCommentCreatedPropCommentType(TypedDict): """WebhookCommitCommentCreatedPropComment @@ -64,6 +79,41 @@ class WebhookCommitCommentCreatedPropCommentType(TypedDict): user: Union[WebhookCommitCommentCreatedPropCommentPropUserType, None] +class WebhookCommitCommentCreatedPropCommentTypeForResponse(TypedDict): + """WebhookCommitCommentCreatedPropComment + + The [commit + comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue- + comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + html_url: str + id: int + line: Union[int, None] + node_id: str + path: Union[str, None] + position: Union[int, None] + reactions: NotRequired[ + WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse + ] + updated_at: str + url: str + user: Union[WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse, None] + + class WebhookCommitCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -79,6 +129,21 @@ class WebhookCommitCommentCreatedPropCommentPropReactionsType(TypedDict): url: str +class WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookCommitCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -106,9 +171,40 @@ class WebhookCommitCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookCommitCommentCreatedPropCommentPropReactionsType", + "WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropUserType", + "WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse", "WebhookCommitCommentCreatedPropCommentType", + "WebhookCommitCommentCreatedPropCommentTypeForResponse", "WebhookCommitCommentCreatedType", + "WebhookCommitCommentCreatedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0619.py b/githubkit/versions/ghec_v2022_11_28/types/group_0619.py index fe3224fa1..bdfccaa1f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0619.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0619.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCreateType(TypedDict): @@ -34,4 +37,22 @@ class WebhookCreateType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCreateType",) +class WebhookCreateTypeForResponse(TypedDict): + """create event""" + + description: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + master_branch: str + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher_type: str + ref: str + ref_type: Literal["tag", "branch"] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCreateType", + "WebhookCreateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0620.py b/githubkit/versions/ghec_v2022_11_28/types/group_0620.py index 2d0d74288..c229db6aa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0620.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0620.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0103 import CustomPropertyType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0103 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyCreatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyCreatedType",) +class WebhookCustomPropertyCreatedTypeForResponse(TypedDict): + """custom property created event""" + + action: Literal["created"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyCreatedType", + "WebhookCustomPropertyCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0621.py b/githubkit/versions/ghec_v2022_11_28/types/group_0621.py index 55dfe2868..fd62464be 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0621.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0621.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyDeletedType(TypedDict): @@ -29,13 +32,32 @@ class WebhookCustomPropertyDeletedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookCustomPropertyDeletedTypeForResponse(TypedDict): + """custom property deleted event""" + + action: Literal["deleted"] + definition: WebhookCustomPropertyDeletedPropDefinitionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookCustomPropertyDeletedPropDefinitionType(TypedDict): """WebhookCustomPropertyDeletedPropDefinition""" property_name: str +class WebhookCustomPropertyDeletedPropDefinitionTypeForResponse(TypedDict): + """WebhookCustomPropertyDeletedPropDefinition""" + + property_name: str + + __all__ = ( "WebhookCustomPropertyDeletedPropDefinitionType", + "WebhookCustomPropertyDeletedPropDefinitionTypeForResponse", "WebhookCustomPropertyDeletedType", + "WebhookCustomPropertyDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0622.py b/githubkit/versions/ghec_v2022_11_28/types/group_0622.py index 384a21ee0..9cba51287 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0622.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0622.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0103 import CustomPropertyType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0103 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyPromotedToEnterpriseType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyPromotedToEnterpriseType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyPromotedToEnterpriseType",) +class WebhookCustomPropertyPromotedToEnterpriseTypeForResponse(TypedDict): + """custom property promoted to business event""" + + action: Literal["promote_to_enterprise"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyPromotedToEnterpriseType", + "WebhookCustomPropertyPromotedToEnterpriseTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0623.py b/githubkit/versions/ghec_v2022_11_28/types/group_0623.py index af38d5d37..d93b03f58 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0623.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0623.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0103 import CustomPropertyType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0103 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyUpdatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyUpdatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyUpdatedType",) +class WebhookCustomPropertyUpdatedTypeForResponse(TypedDict): + """custom property updated event""" + + action: Literal["updated"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyUpdatedType", + "WebhookCustomPropertyUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0624.py b/githubkit/versions/ghec_v2022_11_28/types/group_0624.py index 8f9b12180..4526c70f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0624.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0624.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0101 import CustomPropertyValueType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCustomPropertyValuesUpdatedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookCustomPropertyValuesUpdatedType(TypedDict): old_property_values: list[CustomPropertyValueType] -__all__ = ("WebhookCustomPropertyValuesUpdatedType",) +class WebhookCustomPropertyValuesUpdatedTypeForResponse(TypedDict): + """Custom property values updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + new_property_values: list[CustomPropertyValueTypeForResponse] + old_property_values: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyValuesUpdatedType", + "WebhookCustomPropertyValuesUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0625.py b/githubkit/versions/ghec_v2022_11_28/types/group_0625.py index cca6b2148..4c4940f7e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0625.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0625.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDeleteType(TypedDict): @@ -32,4 +35,20 @@ class WebhookDeleteType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeleteType",) +class WebhookDeleteTypeForResponse(TypedDict): + """delete event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher_type: str + ref: str + ref_type: Literal["tag", "branch"] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeleteType", + "WebhookDeleteTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0626.py b/githubkit/versions/ghec_v2022_11_28/types/group_0626.py index 62b598d2f..f22f663fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0626.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0626.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertAutoDismissedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertAutoDismissedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertAutoDismissedType",) +class WebhookDependabotAlertAutoDismissedTypeForResponse(TypedDict): + """Dependabot alert auto-dismissed event""" + + action: Literal["auto_dismissed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertAutoDismissedType", + "WebhookDependabotAlertAutoDismissedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0627.py b/githubkit/versions/ghec_v2022_11_28/types/group_0627.py index 1ea75bfb8..9812682e3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0627.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0627.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertAutoReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertAutoReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertAutoReopenedType",) +class WebhookDependabotAlertAutoReopenedTypeForResponse(TypedDict): + """Dependabot alert auto-reopened event""" + + action: Literal["auto_reopened"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertAutoReopenedType", + "WebhookDependabotAlertAutoReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0628.py b/githubkit/versions/ghec_v2022_11_28/types/group_0628.py index 54fff6d47..d354e4029 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0628.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0628.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertCreatedType",) +class WebhookDependabotAlertCreatedTypeForResponse(TypedDict): + """Dependabot alert created event""" + + action: Literal["created"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertCreatedType", + "WebhookDependabotAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0629.py b/githubkit/versions/ghec_v2022_11_28/types/group_0629.py index 8169a0622..d917b33ea 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0629.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0629.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertDismissedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertDismissedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertDismissedType",) +class WebhookDependabotAlertDismissedTypeForResponse(TypedDict): + """Dependabot alert dismissed event""" + + action: Literal["dismissed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertDismissedType", + "WebhookDependabotAlertDismissedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0630.py b/githubkit/versions/ghec_v2022_11_28/types/group_0630.py index 722b2040f..46e4a6eb2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0630.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0630.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertFixedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertFixedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertFixedType",) +class WebhookDependabotAlertFixedTypeForResponse(TypedDict): + """Dependabot alert fixed event""" + + action: Literal["fixed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertFixedType", + "WebhookDependabotAlertFixedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0631.py b/githubkit/versions/ghec_v2022_11_28/types/group_0631.py index 494f884c3..2c6826140 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0631.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0631.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertReintroducedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertReintroducedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertReintroducedType",) +class WebhookDependabotAlertReintroducedTypeForResponse(TypedDict): + """Dependabot alert reintroduced event""" + + action: Literal["reintroduced"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertReintroducedType", + "WebhookDependabotAlertReintroducedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0632.py b/githubkit/versions/ghec_v2022_11_28/types/group_0632.py index 85b33040e..dc4bb6268 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0632.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0632.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0375 import DependabotAlertType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0375 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertReopenedType",) +class WebhookDependabotAlertReopenedTypeForResponse(TypedDict): + """Dependabot alert reopened event""" + + action: Literal["reopened"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertReopenedType", + "WebhookDependabotAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0633.py b/githubkit/versions/ghec_v2022_11_28/types/group_0633.py index 72f7778a6..8354020a0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0633.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0633.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0543 import WebhooksDeployKeyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0543 import WebhooksDeployKeyType, WebhooksDeployKeyTypeForResponse class WebhookDeployKeyCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDeployKeyCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeployKeyCreatedType",) +class WebhookDeployKeyCreatedTypeForResponse(TypedDict): + """deploy_key created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + key: WebhooksDeployKeyTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeployKeyCreatedType", + "WebhookDeployKeyCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0634.py b/githubkit/versions/ghec_v2022_11_28/types/group_0634.py index b0c42aa91..d97d2ee87 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0634.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0634.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0543 import WebhooksDeployKeyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0543 import WebhooksDeployKeyType, WebhooksDeployKeyTypeForResponse class WebhookDeployKeyDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDeployKeyDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeployKeyDeletedType",) +class WebhookDeployKeyDeletedTypeForResponse(TypedDict): + """deploy_key deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + key: WebhooksDeployKeyTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeployKeyDeletedType", + "WebhookDeployKeyDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0635.py b/githubkit/versions/ghec_v2022_11_28/types/group_0635.py index adccc1bd5..4f0e7ae6c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0635.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0635.py @@ -13,12 +13,15 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0544 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0544 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookDeploymentCreatedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookDeploymentCreatedType(TypedDict): workflow_run: Union[WebhookDeploymentCreatedPropWorkflowRunType, None] +class WebhookDeploymentCreatedTypeForResponse(TypedDict): + """deployment created event""" + + action: Literal["created"] + deployment: WebhookDeploymentCreatedPropDeploymentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: Union[WebhookDeploymentCreatedPropWorkflowRunTypeForResponse, None] + + class WebhookDeploymentCreatedPropDeploymentType(TypedDict): """Deployment @@ -64,6 +81,42 @@ class WebhookDeploymentCreatedPropDeploymentType(TypedDict): url: str +class WebhookDeploymentCreatedPropDeploymentTypeForResponse(TypedDict): + """Deployment + + The [deployment](https://docs.github.com/enterprise- + cloud@latest//rest/deployments/deployments#list-deployments). + """ + + created_at: str + creator: Union[ + WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse, None + ] + description: Union[str, None] + environment: str + id: int + node_id: str + original_environment: str + payload: Union[ + str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse + ] + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + production_environment: NotRequired[bool] + ref: str + repository_url: str + sha: str + statuses_url: str + task: str + transient_environment: NotRequired[bool] + updated_at: str + url: str + + class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): """User""" @@ -91,11 +144,45 @@ class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type: TypeAlias = dict[str, Any] """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 """ +WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 +""" + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType(TypedDict): """App @@ -124,6 +211,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -153,6 +270,35 @@ class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTy user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -198,6 +344,51 @@ class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermiss workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentCreatedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -264,6 +455,77 @@ class WebhookDeploymentCreatedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse, None] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[None] + head_repository: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[None] + pull_requests: list[ + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: NotRequired[ + Union[ + WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -291,6 +553,33 @@ class WebhookDeploymentCreatedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -301,6 +590,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -328,6 +627,35 @@ class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepository""" @@ -381,6 +709,61 @@ class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" @@ -404,6 +787,31 @@ class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType(Typ url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropRepository""" @@ -457,6 +865,59 @@ class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType(TypedDict): url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse(TypedDict): + """WebhookDeploymentCreatedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwner""" @@ -480,6 +941,31 @@ class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType(TypedDi url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -490,6 +976,18 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -502,6 +1000,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -512,6 +1020,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRe url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -524,6 +1042,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -534,25 +1062,55 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentCreatedPropDeploymentType", + "WebhookDeploymentCreatedPropDeploymentTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunType", + "WebhookDeploymentCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentCreatedType", + "WebhookDeploymentCreatedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0636.py b/githubkit/versions/ghec_v2022_11_28/types/group_0636.py index 2ba72d843..4f49577d7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0636.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0636.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0312 import DeploymentType -from .group_0439 import PullRequestType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0312 import DeploymentType, DeploymentTypeForResponse +from .group_0439 import PullRequestType, PullRequestTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDeploymentProtectionRuleRequestedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookDeploymentProtectionRuleRequestedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookDeploymentProtectionRuleRequestedType",) +class WebhookDeploymentProtectionRuleRequestedTypeForResponse(TypedDict): + """deployment protection rule requested event""" + + action: Literal["requested"] + environment: NotRequired[str] + event: NotRequired[str] + deployment_callback_url: NotRequired[str] + deployment: NotRequired[DeploymentTypeForResponse] + pull_requests: NotRequired[list[PullRequestTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookDeploymentProtectionRuleRequestedType", + "WebhookDeploymentProtectionRuleRequestedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0637.py b/githubkit/versions/ghec_v2022_11_28/types/group_0637.py index c32964523..2dc30e39c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0637.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0637.py @@ -13,13 +13,24 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0545 import WebhooksApproverType, WebhooksReviewersItemsType -from .group_0546 import WebhooksWorkflowJobRunType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0545 import ( + WebhooksApproverType, + WebhooksApproverTypeForResponse, + WebhooksReviewersItemsType, + WebhooksReviewersItemsTypeForResponse, +) +from .group_0546 import ( + WebhooksWorkflowJobRunType, + WebhooksWorkflowJobRunTypeForResponse, +) class WebhookDeploymentReviewApprovedType(TypedDict): @@ -42,6 +53,28 @@ class WebhookDeploymentReviewApprovedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewApprovedPropWorkflowRunType, None] +class WebhookDeploymentReviewApprovedTypeForResponse(TypedDict): + """WebhookDeploymentReviewApproved""" + + action: Literal["approved"] + approver: NotRequired[WebhooksApproverTypeForResponse] + comment: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + reviewers: NotRequired[list[WebhooksReviewersItemsTypeForResponse]] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: NotRequired[WebhooksWorkflowJobRunTypeForResponse] + workflow_job_runs: NotRequired[ + list[WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse] + ] + workflow_run: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowJobRunsItems""" @@ -55,6 +88,19 @@ class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType(TypedDict): updated_at: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewApprovedPropWorkflowJobRunsItems""" + + conclusion: NotRequired[None] + created_at: NotRequired[str] + environment: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + status: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -125,6 +171,82 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -152,10 +274,43 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -166,6 +321,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItems sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -193,6 +358,35 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType(Type user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepository""" @@ -246,6 +440,61 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType(Typed url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -272,6 +521,32 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerT user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepository""" @@ -325,6 +600,61 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType(TypedDict url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -351,6 +681,32 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -367,6 +723,18 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -377,6 +745,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBas sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -387,6 +765,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBas url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -397,6 +785,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHea sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -407,21 +805,47 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHea url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunType", + "WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewApprovedType", + "WebhookDeploymentReviewApprovedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0638.py b/githubkit/versions/ghec_v2022_11_28/types/group_0638.py index 49075f971..24a974e94 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0638.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0638.py @@ -13,13 +13,24 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0545 import WebhooksApproverType, WebhooksReviewersItemsType -from .group_0546 import WebhooksWorkflowJobRunType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0545 import ( + WebhooksApproverType, + WebhooksApproverTypeForResponse, + WebhooksReviewersItemsType, + WebhooksReviewersItemsTypeForResponse, +) +from .group_0546 import ( + WebhooksWorkflowJobRunType, + WebhooksWorkflowJobRunTypeForResponse, +) class WebhookDeploymentReviewRejectedType(TypedDict): @@ -42,6 +53,28 @@ class WebhookDeploymentReviewRejectedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewRejectedPropWorkflowRunType, None] +class WebhookDeploymentReviewRejectedTypeForResponse(TypedDict): + """WebhookDeploymentReviewRejected""" + + action: Literal["rejected"] + approver: NotRequired[WebhooksApproverTypeForResponse] + comment: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + reviewers: NotRequired[list[WebhooksReviewersItemsTypeForResponse]] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: NotRequired[WebhooksWorkflowJobRunTypeForResponse] + workflow_job_runs: NotRequired[ + list[WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse] + ] + workflow_run: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowJobRunsItems""" @@ -55,6 +88,19 @@ class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType(TypedDict): updated_at: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewRejectedPropWorkflowJobRunsItems""" + + conclusion: NotRequired[Union[str, None]] + created_at: NotRequired[str] + environment: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + status: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -123,6 +169,80 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunType(TypedDict): display_title: str +class WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal["requested", "in_progress", "completed", "queued", "waiting"] + triggering_actor: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + display_title: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -150,10 +270,43 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -164,6 +317,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItems sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -191,6 +354,35 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType(Type user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepository""" @@ -244,6 +436,61 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType(Typed url: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -270,6 +517,32 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerT user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepository""" @@ -323,6 +596,61 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType(TypedDict url: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -349,6 +677,32 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -365,6 +719,18 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -375,6 +741,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBas sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -385,6 +761,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBas url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -395,6 +781,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHea sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -405,21 +801,47 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHea url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunType", + "WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRejectedType", + "WebhookDeploymentReviewRejectedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0639.py b/githubkit/versions/ghec_v2022_11_28/types/group_0639.py index 8660f8d75..29d628f24 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0639.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0639.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookDeploymentReviewRequestedType(TypedDict): @@ -38,6 +41,25 @@ class WebhookDeploymentReviewRequestedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewRequestedPropWorkflowRunType, None] +class WebhookDeploymentReviewRequestedTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequested""" + + action: Literal["requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + environment: str + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requestor: Union[WebhooksUserTypeForResponse, None] + reviewers: list[WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse + workflow_run: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewRequestedPropWorkflowJobRunType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowJobRun""" @@ -51,6 +73,19 @@ class WebhookDeploymentReviewRequestedPropWorkflowJobRunType(TypedDict): updated_at: str +class WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequestedPropWorkflowJobRun""" + + conclusion: None + created_at: str + environment: str + html_url: str + id: int + name: Union[str, None] + status: str + updated_at: str + + class WebhookDeploymentReviewRequestedPropReviewersItemsType(TypedDict): """WebhookDeploymentReviewRequestedPropReviewersItems""" @@ -60,6 +95,18 @@ class WebhookDeploymentReviewRequestedPropReviewersItemsType(TypedDict): type: NotRequired[Literal["User", "Team"]] +class WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequestedPropReviewersItems""" + + reviewer: NotRequired[ + Union[ + WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse, + None, + ] + ] + type: NotRequired[Literal["User", "Team"]] + + class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType(TypedDict): """User""" @@ -87,6 +134,35 @@ class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType(TypedDi user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -157,6 +233,82 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunType(TypedDict): display_title: str +class WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + display_title: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -184,10 +336,45 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -198,6 +385,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItem sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -225,6 +422,35 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType(Typ user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepository""" @@ -278,6 +504,61 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType(Type url: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -304,6 +585,32 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwner user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepository""" @@ -357,6 +664,61 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType(TypedDic url: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -383,6 +745,32 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -399,6 +787,18 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -409,6 +809,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBa sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -419,6 +829,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBa url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -429,6 +849,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHe sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -439,23 +869,51 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHe url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType", + "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsType", + "WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowJobRunType", + "WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunType", + "WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRequestedType", + "WebhookDeploymentReviewRequestedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0640.py b/githubkit/versions/ghec_v2022_11_28/types/group_0640.py index 49dd8f4e2..ddd219bc9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0640.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0640.py @@ -13,12 +13,15 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0544 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0544 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookDeploymentStatusCreatedType(TypedDict): @@ -39,6 +42,26 @@ class WebhookDeploymentStatusCreatedType(TypedDict): ] +class WebhookDeploymentStatusCreatedTypeForResponse(TypedDict): + """deployment_status created event""" + + action: Literal["created"] + check_run: NotRequired[ + Union[WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse, None] + ] + deployment: WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse + deployment_status: WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: NotRequired[Union[WebhooksWorkflowTypeForResponse, None]] + workflow_run: NotRequired[ + Union[WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse, None] + ] + + class WebhookDeploymentStatusCreatedPropCheckRunType(TypedDict): """WebhookDeploymentStatusCreatedPropCheckRun""" @@ -68,6 +91,35 @@ class WebhookDeploymentStatusCreatedPropCheckRunType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse(TypedDict): + """WebhookDeploymentStatusCreatedPropCheckRun""" + + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + ], + ] + details_url: str + external_id: str + head_sha: str + html_url: str + id: int + name: str + node_id: str + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting", "pending"] + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentType(TypedDict): """Deployment @@ -102,6 +154,44 @@ class WebhookDeploymentStatusCreatedPropDeploymentType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse(TypedDict): + """Deployment + + The [deployment](https://docs.github.com/enterprise- + cloud@latest//rest/deployments/deployments#list-deployments). + """ + + created_at: str + creator: Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse, None + ] + description: Union[str, None] + environment: str + id: int + node_id: str + original_environment: str + payload: Union[ + str, + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + None, + ] + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + production_environment: NotRequired[bool] + ref: str + repository_url: str + sha: str + statuses_url: str + task: str + transient_environment: NotRequired[bool] + updated_at: str + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): """User""" @@ -129,6 +219,33 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type: TypeAlias = dict[ str, Any ] @@ -136,6 +253,13 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): """ +WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1 +""" + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType( TypedDict ): @@ -166,6 +290,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -195,6 +349,35 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropO user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -241,6 +424,52 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropP workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermiss + ions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentStatusCreatedPropDeploymentStatusType(TypedDict): """WebhookDeploymentStatusCreatedPropDeploymentStatus @@ -272,6 +501,38 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse(TypedDict): + """WebhookDeploymentStatusCreatedPropDeploymentStatus + + The [deployment status](https://docs.github.com/enterprise- + cloud@latest//rest/deployments/statuses#list-deployment-statuses). + """ + + created_at: str + creator: Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse, + None, + ] + deployment_url: str + description: str + environment: str + environment_url: NotRequired[str] + id: int + log_url: NotRequired[str] + node_id: str + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + repository_url: str + state: str + target_url: str + updated_at: str + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType(TypedDict): """User""" @@ -299,6 +560,35 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType(TypedDic user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType( TypedDict ): @@ -329,7 +619,66 @@ class actors within GitHub. updated_at: Union[datetime, None] -class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType( +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse( TypedDict ): """User""" @@ -404,6 +753,52 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAp workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropP + ermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentStatusCreatedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -473,6 +868,78 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "startup_failure", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[None] + head_repository: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[None] + pull_requests: list[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -500,6 +967,33 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -510,6 +1004,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsT sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -537,6 +1041,35 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType(Typed user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepository""" @@ -590,6 +1123,61 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType(TypedD url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -615,6 +1203,31 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTy url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepository""" @@ -668,6 +1281,61 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType(TypedDict) url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -693,6 +1361,31 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType( url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -703,6 +1396,18 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType(Typ url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -713,6 +1418,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -723,6 +1438,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -733,6 +1458,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -743,31 +1478,67 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentStatusCreatedPropCheckRunType", + "WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentType", + "WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunType", + "WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentStatusCreatedType", + "WebhookDeploymentStatusCreatedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0641.py b/githubkit/versions/ghec_v2022_11_28/types/group_0641.py index de56a0433..cd6bdbc50 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0641.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0641.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0548 import WebhooksAnswerType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0548 import WebhooksAnswerType, WebhooksAnswerTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionAnsweredType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionAnsweredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionAnsweredType",) +class WebhookDiscussionAnsweredTypeForResponse(TypedDict): + """discussion answered event""" + + action: Literal["answered"] + answer: WebhooksAnswerTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionAnsweredType", + "WebhookDiscussionAnsweredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0642.py b/githubkit/versions/ghec_v2022_11_28/types/group_0642.py index a428ab558..f474d6f27 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0642.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0642.py @@ -13,12 +13,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionCategoryChangedType(TypedDict): @@ -34,18 +37,45 @@ class WebhookDiscussionCategoryChangedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionCategoryChangedTypeForResponse(TypedDict): + """discussion category changed event""" + + action: Literal["category_changed"] + changes: WebhookDiscussionCategoryChangedPropChangesTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionCategoryChangedPropChangesType(TypedDict): """WebhookDiscussionCategoryChangedPropChanges""" category: WebhookDiscussionCategoryChangedPropChangesPropCategoryType +class WebhookDiscussionCategoryChangedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionCategoryChangedPropChanges""" + + category: WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse + + class WebhookDiscussionCategoryChangedPropChangesPropCategoryType(TypedDict): """WebhookDiscussionCategoryChangedPropChangesPropCategory""" from_: WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType +class WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse(TypedDict): + """WebhookDiscussionCategoryChangedPropChangesPropCategory""" + + from_: ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse + ) + + class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType(TypedDict): """WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFrom""" @@ -61,9 +91,30 @@ class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType(TypedD updated_at: str +class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse( + TypedDict +): + """WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFrom""" + + created_at: str + description: str + emoji: str + id: int + is_answerable: bool + name: str + node_id: NotRequired[str] + repository_id: int + slug: str + updated_at: str + + __all__ = ( "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesType", + "WebhookDiscussionCategoryChangedPropChangesTypeForResponse", "WebhookDiscussionCategoryChangedType", + "WebhookDiscussionCategoryChangedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0643.py b/githubkit/versions/ghec_v2022_11_28/types/group_0643.py index 6a2f89c97..e005dba06 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0643.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0643.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionClosedType",) +class WebhookDiscussionClosedTypeForResponse(TypedDict): + """discussion closed event""" + + action: Literal["closed"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionClosedType", + "WebhookDiscussionClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0644.py b/githubkit/versions/ghec_v2022_11_28/types/group_0644.py index aa61e407e..d21640026 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0644.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0644.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0550 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0550 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentCreatedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionCommentCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCommentCreatedType",) +class WebhookDiscussionCommentCreatedTypeForResponse(TypedDict): + """discussion_comment created event""" + + action: Literal["created"] + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCommentCreatedType", + "WebhookDiscussionCommentCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0645.py b/githubkit/versions/ghec_v2022_11_28/types/group_0645.py index 6006882c0..a44a454f4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0645.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0645.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0550 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0550 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentDeletedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionCommentDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCommentDeletedType",) +class WebhookDiscussionCommentDeletedTypeForResponse(TypedDict): + """discussion_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCommentDeletedType", + "WebhookDiscussionCommentDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0646.py b/githubkit/versions/ghec_v2022_11_28/types/group_0646.py index deb0ede4b..b67db3003 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0646.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0646.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0550 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0550 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentEditedType(TypedDict): @@ -35,20 +38,49 @@ class WebhookDiscussionCommentEditedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionCommentEditedTypeForResponse(TypedDict): + """discussion_comment edited event""" + + action: Literal["edited"] + changes: WebhookDiscussionCommentEditedPropChangesTypeForResponse + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionCommentEditedPropChangesType(TypedDict): """WebhookDiscussionCommentEditedPropChanges""" body: WebhookDiscussionCommentEditedPropChangesPropBodyType +class WebhookDiscussionCommentEditedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionCommentEditedPropChanges""" + + body: WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse + + class WebhookDiscussionCommentEditedPropChangesPropBodyType(TypedDict): """WebhookDiscussionCommentEditedPropChangesPropBody""" from_: str +class WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookDiscussionCommentEditedPropChangesPropBody""" + + from_: str + + __all__ = ( "WebhookDiscussionCommentEditedPropChangesPropBodyType", + "WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionCommentEditedPropChangesType", + "WebhookDiscussionCommentEditedPropChangesTypeForResponse", "WebhookDiscussionCommentEditedType", + "WebhookDiscussionCommentEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0647.py b/githubkit/versions/ghec_v2022_11_28/types/group_0647.py index 0ce48e126..1ff5ed560 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0647.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0647.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCreatedType",) +class WebhookDiscussionCreatedTypeForResponse(TypedDict): + """discussion created event""" + + action: Literal["created"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCreatedType", + "WebhookDiscussionCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0648.py b/githubkit/versions/ghec_v2022_11_28/types/group_0648.py index a00a67904..abc57a3bc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0648.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0648.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionDeletedType",) +class WebhookDiscussionDeletedTypeForResponse(TypedDict): + """discussion deleted event""" + + action: Literal["deleted"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionDeletedType", + "WebhookDiscussionDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0649.py b/githubkit/versions/ghec_v2022_11_28/types/group_0649.py index b85d96b27..2d58eab26 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0649.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0649.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookDiscussionEditedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionEditedTypeForResponse(TypedDict): + """discussion edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookDiscussionEditedPropChangesTypeForResponse] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionEditedPropChangesType(TypedDict): """WebhookDiscussionEditedPropChanges""" @@ -40,21 +56,44 @@ class WebhookDiscussionEditedPropChangesType(TypedDict): title: NotRequired[WebhookDiscussionEditedPropChangesPropTitleType] +class WebhookDiscussionEditedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChanges""" + + body: NotRequired[WebhookDiscussionEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookDiscussionEditedPropChangesPropTitleTypeForResponse] + + class WebhookDiscussionEditedPropChangesPropBodyType(TypedDict): """WebhookDiscussionEditedPropChangesPropBody""" from_: str +class WebhookDiscussionEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChangesPropBody""" + + from_: str + + class WebhookDiscussionEditedPropChangesPropTitleType(TypedDict): """WebhookDiscussionEditedPropChangesPropTitle""" from_: str +class WebhookDiscussionEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookDiscussionEditedPropChangesPropBodyType", + "WebhookDiscussionEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionEditedPropChangesPropTitleType", + "WebhookDiscussionEditedPropChangesPropTitleTypeForResponse", "WebhookDiscussionEditedPropChangesType", + "WebhookDiscussionEditedPropChangesTypeForResponse", "WebhookDiscussionEditedType", + "WebhookDiscussionEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0650.py b/githubkit/versions/ghec_v2022_11_28/types/group_0650.py index 07a731b2d..b4bc1fd17 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0650.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0650.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookDiscussionLabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionLabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionLabeledType",) +class WebhookDiscussionLabeledTypeForResponse(TypedDict): + """discussion labeled event""" + + action: Literal["labeled"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionLabeledType", + "WebhookDiscussionLabeledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0651.py b/githubkit/versions/ghec_v2022_11_28/types/group_0651.py index 0b811839d..c4866c35b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0651.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0651.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionLockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionLockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionLockedType",) +class WebhookDiscussionLockedTypeForResponse(TypedDict): + """discussion locked event""" + + action: Literal["locked"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionLockedType", + "WebhookDiscussionLockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0652.py b/githubkit/versions/ghec_v2022_11_28/types/group_0652.py index a37be6d64..a8db8813a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0652.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0652.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionPinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionPinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionPinnedType",) +class WebhookDiscussionPinnedTypeForResponse(TypedDict): + """discussion pinned event""" + + action: Literal["pinned"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionPinnedType", + "WebhookDiscussionPinnedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0653.py b/githubkit/versions/ghec_v2022_11_28/types/group_0653.py index 9bb107e32..7b317f42d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0653.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0653.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionReopenedType",) +class WebhookDiscussionReopenedTypeForResponse(TypedDict): + """discussion reopened event""" + + action: Literal["reopened"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionReopenedType", + "WebhookDiscussionReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0654.py b/githubkit/versions/ghec_v2022_11_28/types/group_0654.py index 70dcf99e2..568d6be84 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0654.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0654.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0655 import WebhookDiscussionTransferredPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0655 import ( + WebhookDiscussionTransferredPropChangesType, + WebhookDiscussionTransferredPropChangesTypeForResponse, +) class WebhookDiscussionTransferredType(TypedDict): @@ -34,4 +40,20 @@ class WebhookDiscussionTransferredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionTransferredType",) +class WebhookDiscussionTransferredTypeForResponse(TypedDict): + """discussion transferred event""" + + action: Literal["transferred"] + changes: WebhookDiscussionTransferredPropChangesTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionTransferredType", + "WebhookDiscussionTransferredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0655.py b/githubkit/versions/ghec_v2022_11_28/types/group_0655.py index c7de15ee0..4ead38d81 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0655.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0655.py @@ -11,8 +11,8 @@ from typing_extensions import TypedDict -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionTransferredPropChangesType(TypedDict): @@ -22,4 +22,14 @@ class WebhookDiscussionTransferredPropChangesType(TypedDict): new_repository: RepositoryWebhooksType -__all__ = ("WebhookDiscussionTransferredPropChangesType",) +class WebhookDiscussionTransferredPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionTransferredPropChanges""" + + new_discussion: DiscussionTypeForResponse + new_repository: RepositoryWebhooksTypeForResponse + + +__all__ = ( + "WebhookDiscussionTransferredPropChangesType", + "WebhookDiscussionTransferredPropChangesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0656.py b/githubkit/versions/ghec_v2022_11_28/types/group_0656.py index 29445723e..cb6836c9d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0656.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0656.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0548 import WebhooksAnswerType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0548 import WebhooksAnswerType, WebhooksAnswerTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnansweredType(TypedDict): @@ -30,4 +33,18 @@ class WebhookDiscussionUnansweredType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookDiscussionUnansweredType",) +class WebhookDiscussionUnansweredTypeForResponse(TypedDict): + """discussion unanswered event""" + + action: Literal["unanswered"] + discussion: DiscussionTypeForResponse + old_answer: WebhooksAnswerTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookDiscussionUnansweredType", + "WebhookDiscussionUnansweredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0657.py b/githubkit/versions/ghec_v2022_11_28/types/group_0657.py index 320c3d412..d86df6d4d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0657.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0657.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookDiscussionUnlabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionUnlabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnlabeledType",) +class WebhookDiscussionUnlabeledTypeForResponse(TypedDict): + """discussion unlabeled event""" + + action: Literal["unlabeled"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnlabeledType", + "WebhookDiscussionUnlabeledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0658.py b/githubkit/versions/ghec_v2022_11_28/types/group_0658.py index 72f25c9ff..84dd07bd1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0658.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0658.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnlockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionUnlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnlockedType",) +class WebhookDiscussionUnlockedTypeForResponse(TypedDict): + """discussion unlocked event""" + + action: Literal["unlocked"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnlockedType", + "WebhookDiscussionUnlockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0659.py b/githubkit/versions/ghec_v2022_11_28/types/group_0659.py index 65d1975c8..8054b234a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0659.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0659.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0549 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0549 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnpinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionUnpinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnpinnedType",) +class WebhookDiscussionUnpinnedTypeForResponse(TypedDict): + """discussion unpinned event""" + + action: Literal["unpinned"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnpinnedType", + "WebhookDiscussionUnpinnedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0660.py b/githubkit/versions/ghec_v2022_11_28/types/group_0660.py index f74258203..1613926b0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0660.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0660.py @@ -11,12 +11,15 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0661 import WebhookForkPropForkeeType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0661 import WebhookForkPropForkeeType, WebhookForkPropForkeeTypeForResponse class WebhookForkType(TypedDict): @@ -33,4 +36,21 @@ class WebhookForkType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookForkType",) +class WebhookForkTypeForResponse(TypedDict): + """fork event + + A user forks a repository. + """ + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + forkee: WebhookForkPropForkeeTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookForkType", + "WebhookForkTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0661.py b/githubkit/versions/ghec_v2022_11_28/types/group_0661.py index 6839d2126..d319437a7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0661.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0661.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0663 import WebhookForkPropForkeeAllof0PropPermissionsType +from .group_0663 import ( + WebhookForkPropForkeeAllof0PropPermissionsType, + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, +) class WebhookForkPropForkeeType(TypedDict): @@ -115,6 +118,105 @@ class WebhookForkPropForkeeType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookForkPropForkeeTypeForResponse(TypedDict): + """WebhookForkPropForkee + + The created [`repository`](https://docs.github.com/enterprise- + cloud@latest//rest/repos/repos#get-a-repository) resource. + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: str + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[Union[str, None], None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: Literal[True] + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[Union[str, None], None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[None, None] + languages_url: str + license_: Union[WebhookForkPropForkeeMergedLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[None, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: WebhookForkPropForkeeMergedOwnerTypeForResponse + permissions: NotRequired[WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: str + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookForkPropForkeeMergedLicenseType(TypedDict): """WebhookForkPropForkeeMergedLicense""" @@ -125,6 +227,16 @@ class WebhookForkPropForkeeMergedLicenseType(TypedDict): url: Union[str, None] +class WebhookForkPropForkeeMergedLicenseTypeForResponse(TypedDict): + """WebhookForkPropForkeeMergedLicense""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookForkPropForkeeMergedOwnerType(TypedDict): """WebhookForkPropForkeeMergedOwner""" @@ -152,8 +264,38 @@ class WebhookForkPropForkeeMergedOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookForkPropForkeeMergedOwnerTypeForResponse(TypedDict): + """WebhookForkPropForkeeMergedOwner""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeMergedLicenseType", + "WebhookForkPropForkeeMergedLicenseTypeForResponse", "WebhookForkPropForkeeMergedOwnerType", + "WebhookForkPropForkeeMergedOwnerTypeForResponse", "WebhookForkPropForkeeType", + "WebhookForkPropForkeeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0662.py b/githubkit/versions/ghec_v2022_11_28/types/group_0662.py index b8e14b31d..3a8cbd9a0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0662.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0662.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0663 import WebhookForkPropForkeeAllof0PropPermissionsType +from .group_0663 import ( + WebhookForkPropForkeeAllof0PropPermissionsType, + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, +) class WebhookForkPropForkeeAllof0Type(TypedDict): @@ -114,6 +117,104 @@ class WebhookForkPropForkeeAllof0Type(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookForkPropForkeeAllof0TypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookForkPropForkeeAllof0PropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookForkPropForkeeAllof0PropOwnerTypeForResponse, None] + permissions: NotRequired[WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookForkPropForkeeAllof0PropLicenseType(TypedDict): """License""" @@ -124,6 +225,16 @@ class WebhookForkPropForkeeAllof0PropLicenseType(TypedDict): url: Union[str, None] +class WebhookForkPropForkeeAllof0PropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookForkPropForkeeAllof0PropOwnerType(TypedDict): """User""" @@ -151,8 +262,38 @@ class WebhookForkPropForkeeAllof0PropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookForkPropForkeeAllof0PropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeAllof0PropLicenseType", + "WebhookForkPropForkeeAllof0PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof0PropOwnerType", + "WebhookForkPropForkeeAllof0PropOwnerTypeForResponse", "WebhookForkPropForkeeAllof0Type", + "WebhookForkPropForkeeAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0663.py b/githubkit/versions/ghec_v2022_11_28/types/group_0663.py index a6cb9b92f..231558363 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0663.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0663.py @@ -22,4 +22,17 @@ class WebhookForkPropForkeeAllof0PropPermissionsType(TypedDict): triage: NotRequired[bool] -__all__ = ("WebhookForkPropForkeeAllof0PropPermissionsType",) +class WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof0PropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +__all__ = ( + "WebhookForkPropForkeeAllof0PropPermissionsType", + "WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0664.py b/githubkit/versions/ghec_v2022_11_28/types/group_0664.py index 624daaf0c..9b8afc521 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0664.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0664.py @@ -96,10 +96,99 @@ class WebhookForkPropForkeeAllof1Type(TypedDict): watchers_count: NotRequired[int] +class WebhookForkPropForkeeAllof1TypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1""" + + allow_forking: NotRequired[bool] + archive_url: NotRequired[str] + archived: NotRequired[bool] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + clone_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + created_at: NotRequired[str] + default_branch: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + disabled: NotRequired[bool] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[Literal[True]] + forks: NotRequired[int] + forks_count: NotRequired[int] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + git_url: NotRequired[str] + has_downloads: NotRequired[bool] + has_issues: NotRequired[bool] + has_pages: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + homepage: NotRequired[Union[str, None]] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + is_template: NotRequired[bool] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + language: NotRequired[None] + languages_url: NotRequired[str] + license_: NotRequired[ + Union[WebhookForkPropForkeeAllof1PropLicenseTypeForResponse, None] + ] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + mirror_url: NotRequired[None] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + open_issues: NotRequired[int] + open_issues_count: NotRequired[int] + owner: NotRequired[WebhookForkPropForkeeAllof1PropOwnerTypeForResponse] + private: NotRequired[bool] + public: NotRequired[bool] + pulls_url: NotRequired[str] + pushed_at: NotRequired[str] + releases_url: NotRequired[str] + size: NotRequired[int] + ssh_url: NotRequired[str] + stargazers_count: NotRequired[int] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + svn_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + topics: NotRequired[list[Union[str, None]]] + trees_url: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + visibility: NotRequired[str] + watchers: NotRequired[int] + watchers_count: NotRequired[int] + + class WebhookForkPropForkeeAllof1PropLicenseType(TypedDict): """WebhookForkPropForkeeAllof1PropLicense""" +class WebhookForkPropForkeeAllof1PropLicenseTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1PropLicense""" + + class WebhookForkPropForkeeAllof1PropOwnerType(TypedDict): """WebhookForkPropForkeeAllof1PropOwner""" @@ -123,8 +212,34 @@ class WebhookForkPropForkeeAllof1PropOwnerType(TypedDict): url: NotRequired[str] +class WebhookForkPropForkeeAllof1PropOwnerTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1PropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeAllof1PropLicenseType", + "WebhookForkPropForkeeAllof1PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof1PropOwnerType", + "WebhookForkPropForkeeAllof1PropOwnerTypeForResponse", "WebhookForkPropForkeeAllof1Type", + "WebhookForkPropForkeeAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0665.py b/githubkit/versions/ghec_v2022_11_28/types/group_0665.py index 52c10d4b8..265972f9a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0665.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0665.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookGithubAppAuthorizationRevokedType(TypedDict): @@ -22,4 +22,14 @@ class WebhookGithubAppAuthorizationRevokedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookGithubAppAuthorizationRevokedType",) +class WebhookGithubAppAuthorizationRevokedTypeForResponse(TypedDict): + """github_app_authorization revoked event""" + + action: Literal["revoked"] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookGithubAppAuthorizationRevokedType", + "WebhookGithubAppAuthorizationRevokedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0666.py b/githubkit/versions/ghec_v2022_11_28/types/group_0666.py index 6803755f4..70e82a382 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0666.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0666.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookGollumType(TypedDict): @@ -30,6 +33,17 @@ class WebhookGollumType(TypedDict): sender: SimpleUserType +class WebhookGollumTypeForResponse(TypedDict): + """gollum event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pages: list[WebhookGollumPropPagesItemsTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookGollumPropPagesItemsType(TypedDict): """WebhookGollumPropPagesItems""" @@ -41,7 +55,20 @@ class WebhookGollumPropPagesItemsType(TypedDict): title: str +class WebhookGollumPropPagesItemsTypeForResponse(TypedDict): + """WebhookGollumPropPagesItems""" + + action: Literal["created", "edited"] + html_url: str + page_name: str + sha: str + summary: Union[str, None] + title: str + + __all__ = ( "WebhookGollumPropPagesItemsType", + "WebhookGollumPropPagesItemsTypeForResponse", "WebhookGollumType", + "WebhookGollumTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0667.py b/githubkit/versions/ghec_v2022_11_28/types/group_0667.py index 391cb650c..817b7671b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0667.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0667.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0552 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0552 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationCreatedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookInstallationCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationCreatedType",) +class WebhookInstallationCreatedTypeForResponse(TypedDict): + """installation created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[Union[WebhooksUserTypeForResponse, None]] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationCreatedType", + "WebhookInstallationCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0668.py b/githubkit/versions/ghec_v2022_11_28/types/group_0668.py index 39467b7c6..565505651 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0668.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0668.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0552 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0552 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationDeletedType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationDeletedType",) +class WebhookInstallationDeletedTypeForResponse(TypedDict): + """installation deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationDeletedType", + "WebhookInstallationDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0669.py b/githubkit/versions/ghec_v2022_11_28/types/group_0669.py index 53c4b6c00..e97d9b2bd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0669.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0669.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0552 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0552 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationNewPermissionsAcceptedType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationNewPermissionsAcceptedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationNewPermissionsAcceptedType",) +class WebhookInstallationNewPermissionsAcceptedTypeForResponse(TypedDict): + """installation new_permissions_accepted event""" + + action: Literal["new_permissions_accepted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationNewPermissionsAcceptedType", + "WebhookInstallationNewPermissionsAcceptedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0670.py b/githubkit/versions/ghec_v2022_11_28/types/group_0670.py index ae441fef1..0ed3467f2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0670.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0670.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0553 import WebhooksRepositoriesAddedItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0553 import ( + WebhooksRepositoriesAddedItemsType, + WebhooksRepositoriesAddedItemsTypeForResponse, +) class WebhookInstallationRepositoriesAddedType(TypedDict): @@ -38,6 +44,23 @@ class WebhookInstallationRepositoriesAddedType(TypedDict): sender: SimpleUserType +class WebhookInstallationRepositoriesAddedTypeForResponse(TypedDict): + """installation_repositories added event""" + + action: Literal["added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories_added: list[WebhooksRepositoriesAddedItemsTypeForResponse] + repositories_removed: list[ + WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_selection: Literal["all", "selected"] + requester: Union[WebhooksUserTypeForResponse, None] + sender: SimpleUserTypeForResponse + + class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType(TypedDict): """WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItems""" @@ -48,7 +71,21 @@ class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType(Typed private: NotRequired[bool] +class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse( + TypedDict +): + """WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItems""" + + full_name: NotRequired[str] + id: NotRequired[int] + name: NotRequired[str] + node_id: NotRequired[str] + private: NotRequired[bool] + + __all__ = ( "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse", "WebhookInstallationRepositoriesAddedType", + "WebhookInstallationRepositoriesAddedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0671.py b/githubkit/versions/ghec_v2022_11_28/types/group_0671.py index d541b8d19..68e23bfc6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0671.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0671.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0553 import WebhooksRepositoriesAddedItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0553 import ( + WebhooksRepositoriesAddedItemsType, + WebhooksRepositoriesAddedItemsTypeForResponse, +) class WebhookInstallationRepositoriesRemovedType(TypedDict): @@ -38,6 +44,23 @@ class WebhookInstallationRepositoriesRemovedType(TypedDict): sender: SimpleUserType +class WebhookInstallationRepositoriesRemovedTypeForResponse(TypedDict): + """installation_repositories removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories_added: list[WebhooksRepositoriesAddedItemsTypeForResponse] + repositories_removed: list[ + WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_selection: Literal["all", "selected"] + requester: Union[WebhooksUserTypeForResponse, None] + sender: SimpleUserTypeForResponse + + class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType(TypedDict): """WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItems""" @@ -48,7 +71,21 @@ class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType(Typ private: bool +class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse( + TypedDict +): + """WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + __all__ = ( "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse", "WebhookInstallationRepositoriesRemovedType", + "WebhookInstallationRepositoriesRemovedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0672.py b/githubkit/versions/ghec_v2022_11_28/types/group_0672.py index 016fb1b08..f5518b178 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0672.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0672.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0552 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0552 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationSuspendType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationSuspendType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationSuspendType",) +class WebhookInstallationSuspendTypeForResponse(TypedDict): + """installation suspend event""" + + action: Literal["suspend"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationSuspendType", + "WebhookInstallationSuspendTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0673.py b/githubkit/versions/ghec_v2022_11_28/types/group_0673.py index 0de73c48f..0af6231a1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0673.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0673.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookInstallationTargetRenamedType(TypedDict): @@ -33,6 +36,20 @@ class WebhookInstallationTargetRenamedType(TypedDict): target_type: str +class WebhookInstallationTargetRenamedTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamed""" + + account: WebhookInstallationTargetRenamedPropAccountTypeForResponse + action: Literal["renamed"] + changes: WebhookInstallationTargetRenamedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: SimpleInstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + target_type: str + + class WebhookInstallationTargetRenamedPropAccountType(TypedDict): """WebhookInstallationTargetRenamedPropAccount""" @@ -75,6 +92,48 @@ class WebhookInstallationTargetRenamedPropAccountType(TypedDict): user_view_type: NotRequired[str] +class WebhookInstallationTargetRenamedPropAccountTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropAccount""" + + archived_at: NotRequired[Union[str, None]] + avatar_url: str + created_at: NotRequired[str] + description: NotRequired[None] + events_url: NotRequired[str] + followers: NotRequired[int] + followers_url: NotRequired[str] + following: NotRequired[int] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + has_organization_projects: NotRequired[bool] + has_repository_projects: NotRequired[bool] + hooks_url: NotRequired[str] + html_url: str + id: int + is_verified: NotRequired[bool] + issues_url: NotRequired[str] + login: NotRequired[str] + members_url: NotRequired[str] + name: NotRequired[str] + node_id: str + organizations_url: NotRequired[str] + public_gists: NotRequired[int] + public_members_url: NotRequired[str] + public_repos: NotRequired[int] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + slug: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + website_url: NotRequired[None] + user_view_type: NotRequired[str] + + class WebhookInstallationTargetRenamedPropChangesType(TypedDict): """WebhookInstallationTargetRenamedPropChanges""" @@ -82,22 +141,50 @@ class WebhookInstallationTargetRenamedPropChangesType(TypedDict): slug: NotRequired[WebhookInstallationTargetRenamedPropChangesPropSlugType] +class WebhookInstallationTargetRenamedPropChangesTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChanges""" + + login: NotRequired[ + WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse + ] + slug: NotRequired[ + WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse + ] + + class WebhookInstallationTargetRenamedPropChangesPropLoginType(TypedDict): """WebhookInstallationTargetRenamedPropChangesPropLogin""" from_: str +class WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChangesPropLogin""" + + from_: str + + class WebhookInstallationTargetRenamedPropChangesPropSlugType(TypedDict): """WebhookInstallationTargetRenamedPropChangesPropSlug""" from_: str +class WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChangesPropSlug""" + + from_: str + + __all__ = ( "WebhookInstallationTargetRenamedPropAccountType", + "WebhookInstallationTargetRenamedPropAccountTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropLoginType", + "WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropSlugType", + "WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse", "WebhookInstallationTargetRenamedPropChangesType", + "WebhookInstallationTargetRenamedPropChangesTypeForResponse", "WebhookInstallationTargetRenamedType", + "WebhookInstallationTargetRenamedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0674.py b/githubkit/versions/ghec_v2022_11_28/types/group_0674.py index 478ec1835..614b4c3e4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0674.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0674.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0552 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0552 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationUnsuspendType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationUnsuspendType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationUnsuspendType",) +class WebhookInstallationUnsuspendTypeForResponse(TypedDict): + """installation unsuspend event""" + + action: Literal["unsuspend"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationUnsuspendType", + "WebhookInstallationUnsuspendTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0675.py b/githubkit/versions/ghec_v2022_11_28/types/group_0675.py index 4011d0435..1735b8965 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0675.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0675.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0676 import WebhookIssueCommentCreatedPropCommentType -from .group_0677 import WebhookIssueCommentCreatedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0676 import ( + WebhookIssueCommentCreatedPropCommentType, + WebhookIssueCommentCreatedPropCommentTypeForResponse, +) +from .group_0677 import ( + WebhookIssueCommentCreatedPropIssueType, + WebhookIssueCommentCreatedPropIssueTypeForResponse, +) class WebhookIssueCommentCreatedType(TypedDict): @@ -34,4 +43,20 @@ class WebhookIssueCommentCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentCreatedType",) +class WebhookIssueCommentCreatedTypeForResponse(TypedDict): + """issue_comment created event""" + + action: Literal["created"] + comment: WebhookIssueCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentCreatedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentCreatedType", + "WebhookIssueCommentCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0676.py b/githubkit/versions/ghec_v2022_11_28/types/group_0676.py index 6ba5d4683..fae4d0621 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0676.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0676.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class WebhookIssueCommentCreatedPropCommentType(TypedDict): @@ -46,6 +46,36 @@ class WebhookIssueCommentCreatedPropCommentType(TypedDict): user: Union[WebhookIssueCommentCreatedPropCommentPropUserType, None] +class WebhookIssueCommentCreatedPropCommentTypeForResponse(TypedDict): + """issue comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/issues/comments#get-an-issue-comment) itself. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + created_at: str + html_url: str + id: int + issue_url: str + node_id: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + reactions: WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse + updated_at: str + url: str + user: Union[WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse, None] + + class WebhookIssueCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -61,6 +91,21 @@ class WebhookIssueCommentCreatedPropCommentPropReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -88,8 +133,38 @@ class WebhookIssueCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropCommentPropReactionsType", + "WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropUserType", + "WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse", "WebhookIssueCommentCreatedPropCommentType", + "WebhookIssueCommentCreatedPropCommentTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0677.py b/githubkit/versions/ghec_v2022_11_28/types/group_0677.py index 6894d0e8d..257bf99bb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0677.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0677.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0679 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0685 import ( + WebhookIssueCommentCreatedPropIssueMergedMilestoneType, + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0685 import WebhookIssueCommentCreatedPropIssueMergedMilestoneType from .group_0686 import ( WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,75 @@ class WebhookIssueCommentCreatedPropIssueType(TypedDict): user: WebhookIssueCommentCreatedPropIssueMergedUserType +class WebhookIssueCommentCreatedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[ + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse + ] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentCreatedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedAssignees""" @@ -112,6 +193,33 @@ class WebhookIssueCommentCreatedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedReactions""" @@ -127,6 +235,21 @@ class WebhookIssueCommentCreatedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedUser""" @@ -154,9 +277,40 @@ class WebhookIssueCommentCreatedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueMergedAssigneesType", + "WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedReactionsType", + "WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedUserType", + "WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueType", + "WebhookIssueCommentCreatedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0678.py b/githubkit/versions/ghec_v2022_11_28/types/group_0678.py index 344fc43c8..579d45bc9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0678.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0678.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0679 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0681 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0681 import WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType from .group_0683 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -91,6 +103,79 @@ class WebhookIssueCommentCreatedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentCreatedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, None + ] + ] + assignees: list[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -118,6 +203,35 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -133,6 +247,21 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -160,9 +289,40 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0Type", + "WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0679.py b/githubkit/versions/ghec_v2022_11_28/types/group_0679.py index 088b44492..950aa701b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0679.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0679.py @@ -41,6 +41,33 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,20 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof0PropPullRequest""" @@ -63,8 +104,23 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0680.py b/githubkit/versions/ghec_v2022_11_28/types/group_0680.py index 2a39d32cf..53120e548 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0680.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0680.py @@ -40,4 +40,36 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0681.py b/githubkit/versions/ghec_v2022_11_28/types/group_0681.py index 0ae65a880..41c226dec 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0681.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0681.py @@ -15,6 +15,7 @@ from .group_0680 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0682.py b/githubkit/versions/ghec_v2022_11_28/types/group_0682.py index b261a91af..e037d681a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0682.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0682.py @@ -42,6 +42,35 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwne user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -88,7 +117,55 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPerm workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermission + s + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0683.py b/githubkit/versions/ghec_v2022_11_28/types/group_0683.py index 2ce400632..017616ee9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0683.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0683.py @@ -15,7 +15,9 @@ from .group_0682 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0684.py b/githubkit/versions/ghec_v2022_11_28/types/group_0684.py index 7b1858f2a..1508927b7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0684.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0684.py @@ -55,6 +55,60 @@ class WebhookIssueCommentCreatedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentCreatedPropIssueAllof1PropUserType] +class WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[ + WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse + ] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +136,43 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +185,38 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropReactions""" @@ -121,6 +232,21 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropUser""" @@ -144,13 +270,44 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropUserType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1Type", + "WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0685.py b/githubkit/versions/ghec_v2022_11_28/types/group_0685.py index a3be631e5..eae50479d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0685.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0685.py @@ -15,6 +15,7 @@ from .group_0680 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentCreatedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentCreatedPropIssueMergedMilestoneType",) +class WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueMergedMilestoneType", + "WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0686.py b/githubkit/versions/ghec_v2022_11_28/types/group_0686.py index c1b190ce3..1b03a68e3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0686.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0686.py @@ -15,7 +15,9 @@ from .group_0682 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType(TypedDi updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0687.py b/githubkit/versions/ghec_v2022_11_28/types/group_0687.py index 539eb29fe..7804ba04e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0687.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0687.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0554 import WebhooksIssueCommentType -from .group_0688 import WebhookIssueCommentDeletedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0554 import WebhooksIssueCommentType, WebhooksIssueCommentTypeForResponse +from .group_0688 import ( + WebhookIssueCommentDeletedPropIssueType, + WebhookIssueCommentDeletedPropIssueTypeForResponse, +) class WebhookIssueCommentDeletedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssueCommentDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentDeletedType",) +class WebhookIssueCommentDeletedTypeForResponse(TypedDict): + """issue_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksIssueCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentDeletedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentDeletedType", + "WebhookIssueCommentDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0688.py b/githubkit/versions/ghec_v2022_11_28/types/group_0688.py index 226107767..5eb2dfe5f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0688.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0688.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0690 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0696 import ( + WebhookIssueCommentDeletedPropIssueMergedMilestoneType, + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0696 import WebhookIssueCommentDeletedPropIssueMergedMilestoneType from .group_0697 import ( WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,75 @@ class WebhookIssueCommentDeletedPropIssueType(TypedDict): user: WebhookIssueCommentDeletedPropIssueMergedUserType +class WebhookIssueCommentDeletedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[ + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse + ] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentDeletedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedAssignees""" @@ -112,6 +193,33 @@ class WebhookIssueCommentDeletedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedReactions""" @@ -127,6 +235,21 @@ class WebhookIssueCommentDeletedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentDeletedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedUser""" @@ -154,9 +277,40 @@ class WebhookIssueCommentDeletedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueMergedAssigneesType", + "WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedReactionsType", + "WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedUserType", + "WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueType", + "WebhookIssueCommentDeletedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0689.py b/githubkit/versions/ghec_v2022_11_28/types/group_0689.py index 2e8db0620..548c0bcbf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0689.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0689.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0690 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0692 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0692 import WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType from .group_0694 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -91,6 +103,79 @@ class WebhookIssueCommentDeletedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentDeletedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, None + ] + ] + assignees: list[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -118,6 +203,35 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -133,6 +247,21 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentDeletedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -160,9 +289,40 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0Type", + "WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0690.py b/githubkit/versions/ghec_v2022_11_28/types/group_0690.py index 0cf270ec9..c882531cc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0690.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0690.py @@ -41,6 +41,33 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,20 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof0PropPullRequest""" @@ -63,8 +104,23 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0691.py b/githubkit/versions/ghec_v2022_11_28/types/group_0691.py index b8118ecd1..8bfb4deea 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0691.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0691.py @@ -40,4 +40,36 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0692.py b/githubkit/versions/ghec_v2022_11_28/types/group_0692.py index d45dd0bb4..d983076a8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0692.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0692.py @@ -15,6 +15,7 @@ from .group_0691 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0693.py b/githubkit/versions/ghec_v2022_11_28/types/group_0693.py index 078dc1e49..adb1885cd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0693.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0693.py @@ -42,6 +42,35 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwne user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -88,7 +117,55 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPerm workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermission + s + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0694.py b/githubkit/versions/ghec_v2022_11_28/types/group_0694.py index 9b42f4162..ad5aa1a7d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0694.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0694.py @@ -15,7 +15,9 @@ from .group_0693 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0695.py b/githubkit/versions/ghec_v2022_11_28/types/group_0695.py index 0664cda5a..4fae5e590 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0695.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0695.py @@ -55,6 +55,60 @@ class WebhookIssueCommentDeletedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentDeletedPropIssueAllof1PropUserType] +class WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[ + WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse + ] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +136,43 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +185,38 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropReactions""" @@ -121,6 +232,21 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropUser""" @@ -145,13 +271,45 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1Type", + "WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0696.py b/githubkit/versions/ghec_v2022_11_28/types/group_0696.py index 9bda2197c..b0a1869fa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0696.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0696.py @@ -15,6 +15,7 @@ from .group_0691 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentDeletedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentDeletedPropIssueMergedMilestoneType",) +class WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueMergedMilestoneType", + "WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0697.py b/githubkit/versions/ghec_v2022_11_28/types/group_0697.py index 3d233467e..f8770a2e0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0697.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0697.py @@ -15,7 +15,9 @@ from .group_0693 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType(TypedDi updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0698.py b/githubkit/versions/ghec_v2022_11_28/types/group_0698.py index 9b53fb71d..283ac756c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0698.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0698.py @@ -12,14 +12,20 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0554 import WebhooksIssueCommentType -from .group_0555 import WebhooksChangesType -from .group_0699 import WebhookIssueCommentEditedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0554 import WebhooksIssueCommentType, WebhooksIssueCommentTypeForResponse +from .group_0555 import WebhooksChangesType, WebhooksChangesTypeForResponse +from .group_0699 import ( + WebhookIssueCommentEditedPropIssueType, + WebhookIssueCommentEditedPropIssueTypeForResponse, +) class WebhookIssueCommentEditedType(TypedDict): @@ -36,4 +42,21 @@ class WebhookIssueCommentEditedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentEditedType",) +class WebhookIssueCommentEditedTypeForResponse(TypedDict): + """issue_comment edited event""" + + action: Literal["edited"] + changes: WebhooksChangesTypeForResponse + comment: WebhooksIssueCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentEditedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentEditedType", + "WebhookIssueCommentEditedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0699.py b/githubkit/versions/ghec_v2022_11_28/types/group_0699.py index 78505246f..5e3fd14c3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0699.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0699.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0701 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0707 import ( + WebhookIssueCommentEditedPropIssueMergedMilestoneType, + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0707 import WebhookIssueCommentEditedPropIssueMergedMilestoneType from .group_0708 import ( WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,73 @@ class WebhookIssueCommentEditedPropIssueType(TypedDict): user: WebhookIssueCommentEditedPropIssueMergedUserType +class WebhookIssueCommentEditedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentEditedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedAssignees""" @@ -112,6 +191,33 @@ class WebhookIssueCommentEditedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedReactions""" @@ -127,6 +233,21 @@ class WebhookIssueCommentEditedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentEditedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedUser""" @@ -154,9 +275,40 @@ class WebhookIssueCommentEditedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueMergedAssigneesType", + "WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedReactionsType", + "WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedUserType", + "WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentEditedPropIssueType", + "WebhookIssueCommentEditedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0700.py b/githubkit/versions/ghec_v2022_11_28/types/group_0700.py index 4730e0477..6c5039c69 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0700.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0700.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0701 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0703 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0703 import WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType from .group_0705 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -91,6 +103,77 @@ class WebhookIssueCommentEditedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentEditedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentEditedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -118,6 +201,35 @@ class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -133,6 +245,21 @@ class WebhookIssueCommentEditedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentEditedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -160,9 +287,40 @@ class WebhookIssueCommentEditedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropUserType", + "WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0Type", + "WebhookIssueCommentEditedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0701.py b/githubkit/versions/ghec_v2022_11_28/types/group_0701.py index 398fe7733..0442f028d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0701.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0701.py @@ -41,6 +41,33 @@ class WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,18 @@ class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof0PropPullRequest""" @@ -63,8 +102,21 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0702.py b/githubkit/versions/ghec_v2022_11_28/types/group_0702.py index 9ac4a4c4e..ad8621cf9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0702.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0702.py @@ -40,4 +40,36 @@ class WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType(Typed user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0703.py b/githubkit/versions/ghec_v2022_11_28/types/group_0703.py index 1c1952985..59e03124d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0703.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0703.py @@ -15,6 +15,7 @@ from .group_0702 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0704.py b/githubkit/versions/ghec_v2022_11_28/types/group_0704.py index 3b96ed6e4..9a19b94bb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0704.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0704.py @@ -42,6 +42,35 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwner user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -87,7 +116,54 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermi workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0705.py b/githubkit/versions/ghec_v2022_11_28/types/group_0705.py index e13b3e8ce..c5383dca5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0705.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0705.py @@ -15,7 +15,9 @@ from .group_0704 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0706.py b/githubkit/versions/ghec_v2022_11_28/types/group_0706.py index d5d49ac59..e4d8aad70 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0706.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0706.py @@ -55,6 +55,58 @@ class WebhookIssueCommentEditedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentEditedPropIssueAllof1PropUserType] +class WebhookIssueCommentEditedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +134,43 @@ class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +183,36 @@ class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentEditedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropReactions""" @@ -121,6 +228,21 @@ class WebhookIssueCommentEditedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropUser""" @@ -144,13 +266,44 @@ class WebhookIssueCommentEditedPropIssueAllof1PropUserType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropUserType", + "WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1Type", + "WebhookIssueCommentEditedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0707.py b/githubkit/versions/ghec_v2022_11_28/types/group_0707.py index cd8f31d3e..b8608de8e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0707.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0707.py @@ -15,6 +15,7 @@ from .group_0702 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentEditedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentEditedPropIssueMergedMilestoneType",) +class WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueMergedMilestoneType", + "WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0708.py b/githubkit/versions/ghec_v2022_11_28/types/group_0708.py index 9c7b97cff..98b0ce680 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0708.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0708.py @@ -15,7 +15,9 @@ from .group_0704 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType(TypedDic updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0709.py b/githubkit/versions/ghec_v2022_11_28/types/group_0709.py index aa1d0e4f8..cb6792adf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0709.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0709.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockedByAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockedByAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockedByAddedType",) +class WebhookIssueDependenciesBlockedByAddedTypeForResponse(TypedDict): + """blocked by issue added event""" + + action: Literal["blocked_by_added"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + blocking_issue_repo: RepositoryTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockedByAddedType", + "WebhookIssueDependenciesBlockedByAddedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0710.py b/githubkit/versions/ghec_v2022_11_28/types/group_0710.py index 851585211..d53515712 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0710.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0710.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockedByRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockedByRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockedByRemovedType",) +class WebhookIssueDependenciesBlockedByRemovedTypeForResponse(TypedDict): + """blocked by issue removed event""" + + action: Literal["blocked_by_removed"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + blocking_issue_repo: RepositoryTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockedByRemovedType", + "WebhookIssueDependenciesBlockedByRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0711.py b/githubkit/versions/ghec_v2022_11_28/types/group_0711.py index f0764c75b..315dece01 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0711.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0711.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockingAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockingAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockingAddedType",) +class WebhookIssueDependenciesBlockingAddedTypeForResponse(TypedDict): + """blocking issue added event""" + + action: Literal["blocking_added"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocked_issue_repo: RepositoryTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockingAddedType", + "WebhookIssueDependenciesBlockingAddedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0712.py b/githubkit/versions/ghec_v2022_11_28/types/group_0712.py index ee3567ad7..0920dec49 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0712.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0712.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockingRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockingRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockingRemovedType",) +class WebhookIssueDependenciesBlockingRemovedTypeForResponse(TypedDict): + """blocking issue removed event""" + + action: Literal["blocking_removed"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocked_issue_repo: RepositoryTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockingRemovedType", + "WebhookIssueDependenciesBlockingRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0713.py b/githubkit/versions/ghec_v2022_11_28/types/group_0713.py index 173380eff..58905549a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0713.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0713.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0556 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0556 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesAssignedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesAssignedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesAssignedType",) +class WebhookIssuesAssignedTypeForResponse(TypedDict): + """issues assigned event""" + + action: Literal["assigned"] + assignee: NotRequired[Union[WebhooksUserTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesAssignedType", + "WebhookIssuesAssignedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0714.py b/githubkit/versions/ghec_v2022_11_28/types/group_0714.py index abfc026ed..2644a36d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0714.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0714.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0715 import WebhookIssuesClosedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0715 import ( + WebhookIssuesClosedPropIssueType, + WebhookIssuesClosedPropIssueTypeForResponse, +) class WebhookIssuesClosedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesClosedType",) +class WebhookIssuesClosedTypeForResponse(TypedDict): + """issues closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesClosedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesClosedType", + "WebhookIssuesClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0715.py b/githubkit/versions/ghec_v2022_11_28/types/group_0715.py index d399a36e6..4185f14c4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0715.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0715.py @@ -13,12 +13,26 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType -from .group_0721 import WebhookIssuesClosedPropIssueAllof0PropPullRequestType -from .group_0723 import WebhookIssuesClosedPropIssueMergedMilestoneType -from .group_0724 import WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0721 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestType, + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0723 import ( + WebhookIssuesClosedPropIssueMergedMilestoneType, + WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, +) +from .group_0724 import ( + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType, + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, +) class WebhookIssuesClosedPropIssueType(TypedDict): @@ -77,6 +91,68 @@ class WebhookIssuesClosedPropIssueType(TypedDict): user: WebhookIssuesClosedPropIssueMergedUserType +class WebhookIssuesClosedPropIssueTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse, None] + ] + assignees: list[WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssuesClosedPropIssueMergedUserTypeForResponse + + class WebhookIssuesClosedPropIssueMergedAssigneeType(TypedDict): """WebhookIssuesClosedPropIssueMergedAssignee""" @@ -104,6 +180,33 @@ class WebhookIssuesClosedPropIssueMergedAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedAssignee""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueMergedAssigneesType(TypedDict): """WebhookIssuesClosedPropIssueMergedAssignees""" @@ -131,6 +234,33 @@ class WebhookIssuesClosedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueMergedLabelsType(TypedDict): """WebhookIssuesClosedPropIssueMergedLabels""" @@ -143,6 +273,18 @@ class WebhookIssuesClosedPropIssueMergedLabelsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedLabels""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesClosedPropIssueMergedReactionsType(TypedDict): """WebhookIssuesClosedPropIssueMergedReactions""" @@ -158,6 +300,21 @@ class WebhookIssuesClosedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesClosedPropIssueMergedUserType(TypedDict): """WebhookIssuesClosedPropIssueMergedUser""" @@ -185,11 +342,44 @@ class WebhookIssuesClosedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueMergedAssigneeType", + "WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneesType", + "WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse", "WebhookIssuesClosedPropIssueMergedLabelsType", + "WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse", "WebhookIssuesClosedPropIssueMergedReactionsType", + "WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse", "WebhookIssuesClosedPropIssueMergedUserType", + "WebhookIssuesClosedPropIssueMergedUserTypeForResponse", "WebhookIssuesClosedPropIssueType", + "WebhookIssuesClosedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0716.py b/githubkit/versions/ghec_v2022_11_28/types/group_0716.py index d899dcb36..c00ec0bdc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0716.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0716.py @@ -13,12 +13,26 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType -from .group_0718 import WebhookIssuesClosedPropIssueAllof0PropMilestoneType -from .group_0720 import WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType -from .group_0721 import WebhookIssuesClosedPropIssueAllof0PropPullRequestType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0718 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestoneType, + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, +) +from .group_0720 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, +) +from .group_0721 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestType, + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, +) class WebhookIssuesClosedPropIssueAllof0Type(TypedDict): @@ -81,6 +95,75 @@ class WebhookIssuesClosedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssuesClosedPropIssueAllof0PropUserType, None] +class WebhookIssuesClosedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssuesClosedPropIssueAllof0PropAssigneeType(TypedDict): """User""" @@ -108,6 +191,33 @@ class WebhookIssuesClosedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -135,6 +245,33 @@ class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -147,6 +284,18 @@ class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesClosedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -162,6 +311,21 @@ class WebhookIssuesClosedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesClosedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -189,11 +353,44 @@ class WebhookIssuesClosedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof0PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropReactionsType", + "WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropUserType", + "WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse", "WebhookIssuesClosedPropIssueAllof0Type", + "WebhookIssuesClosedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0717.py b/githubkit/versions/ghec_v2022_11_28/types/group_0717.py index 2a05f2e97..072f0f8cf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0717.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0717.py @@ -40,4 +40,36 @@ class WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0718.py b/githubkit/versions/ghec_v2022_11_28/types/group_0718.py index a86d8d756..372a9268a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0718.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0718.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0717 import WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType +from .group_0717 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, +) class WebhookIssuesClosedPropIssueAllof0PropMilestoneType(TypedDict): @@ -40,4 +43,33 @@ class WebhookIssuesClosedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropMilestoneType",) +class WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0719.py b/githubkit/versions/ghec_v2022_11_28/types/group_0719.py index 77496d06f..d72cf5e9d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0719.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0719.py @@ -42,6 +42,35 @@ class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType( user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -87,7 +116,54 @@ class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissions workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0720.py b/githubkit/versions/ghec_v2022_11_28/types/group_0720.py index f9a25221c..26c21b50e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0720.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0720.py @@ -15,7 +15,9 @@ from .group_0719 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -46,4 +48,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0721.py b/githubkit/versions/ghec_v2022_11_28/types/group_0721.py index 46a9659b2..9fa0774e6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0721.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0721.py @@ -24,4 +24,17 @@ class WebhookIssuesClosedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropPullRequestType",) +class WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropPullRequestType", + "WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0722.py b/githubkit/versions/ghec_v2022_11_28/types/group_0722.py index 06e71289d..657fef3f2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0722.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0722.py @@ -55,26 +55,104 @@ class WebhookIssuesClosedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssuesClosedPropIssueAllof1PropUserType] +class WebhookIssuesClosedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse, None] + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[ + list[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse, None + ] + ] + ] + labels_url: NotRequired[str] + locked: NotRequired[bool] + milestone: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse, None] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["closed", "open"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssuesClosedPropIssueAllof1PropAssigneeType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropAssignee""" +class WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropAssignee""" + + class WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropAssigneesItems""" +class WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropLabelsItems""" +class WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropLabelsItems""" + + class WebhookIssuesClosedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropMilestone""" +class WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropMilestone""" + + class WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssuesClosedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropReactions""" @@ -90,6 +168,21 @@ class WebhookIssuesClosedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof1PropUserType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropUser""" @@ -114,13 +207,45 @@ class WebhookIssuesClosedPropIssueAllof1PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof1PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropReactionsType", + "WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropUserType", + "WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse", "WebhookIssuesClosedPropIssueAllof1Type", + "WebhookIssuesClosedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0723.py b/githubkit/versions/ghec_v2022_11_28/types/group_0723.py index 0a78a7281..1dd918484 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0723.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0723.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0717 import WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType +from .group_0717 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, +) class WebhookIssuesClosedPropIssueMergedMilestoneType(TypedDict): @@ -37,4 +40,30 @@ class WebhookIssuesClosedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssuesClosedPropIssueMergedMilestoneType",) +class WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssuesClosedPropIssueMergedMilestoneType", + "WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0724.py b/githubkit/versions/ghec_v2022_11_28/types/group_0724.py index 761d7f350..0fba3c7e9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0724.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0724.py @@ -15,7 +15,9 @@ from .group_0719 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -40,4 +42,29 @@ class WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType(TypedDict): updated_at: Union[datetime, None] -__all__ = ("WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0725.py b/githubkit/versions/ghec_v2022_11_28/types/group_0725.py index 1885c934b..b9050793a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0725.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0725.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0726 import WebhookIssuesDeletedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0726 import ( + WebhookIssuesDeletedPropIssueType, + WebhookIssuesDeletedPropIssueTypeForResponse, +) class WebhookIssuesDeletedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesDeletedType",) +class WebhookIssuesDeletedTypeForResponse(TypedDict): + """issues deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesDeletedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesDeletedType", + "WebhookIssuesDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0726.py b/githubkit/versions/ghec_v2022_11_28/types/group_0726.py index f6a09c416..761c51958 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0726.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0726.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesDeletedPropIssueType(TypedDict): @@ -74,6 +79,72 @@ class WebhookIssuesDeletedPropIssueType(TypedDict): user: Union[WebhookIssuesDeletedPropIssuePropUserType, None] +class WebhookIssuesDeletedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesDeletedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesDeletedPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +172,33 @@ class WebhookIssuesDeletedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +226,33 @@ class WebhookIssuesDeletedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +265,18 @@ class WebhookIssuesDeletedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesDeletedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -164,6 +301,32 @@ class WebhookIssuesDeletedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +354,33 @@ class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -218,6 +408,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -245,6 +463,35 @@ class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedD user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -290,6 +537,51 @@ class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesDeletedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesDeletedPropIssuePropPullRequest""" @@ -300,6 +592,16 @@ class WebhookIssuesDeletedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesDeletedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -315,6 +617,21 @@ class WebhookIssuesDeletedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesDeletedPropIssuePropUserType(TypedDict): """User""" @@ -342,17 +659,56 @@ class WebhookIssuesDeletedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesDeletedPropIssuePropAssigneeType", + "WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneesItemsType", + "WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropLabelsItemsType", + "WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestoneType", + "WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDeletedPropIssuePropPullRequestType", + "WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDeletedPropIssuePropReactionsType", + "WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropUserType", + "WebhookIssuesDeletedPropIssuePropUserTypeForResponse", "WebhookIssuesDeletedPropIssueType", + "WebhookIssuesDeletedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0727.py b/githubkit/versions/ghec_v2022_11_28/types/group_0727.py index c6c44bcfd..e76dfb8fd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0727.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0727.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0557 import WebhooksMilestoneType -from .group_0728 import WebhookIssuesDemilestonedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0557 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse +from .group_0728 import ( + WebhookIssuesDemilestonedPropIssueType, + WebhookIssuesDemilestonedPropIssueTypeForResponse, +) class WebhookIssuesDemilestonedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesDemilestonedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesDemilestonedType",) +class WebhookIssuesDemilestonedTypeForResponse(TypedDict): + """issues demilestoned event""" + + action: Literal["demilestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesDemilestonedPropIssueTypeForResponse + milestone: NotRequired[WebhooksMilestoneTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesDemilestonedType", + "WebhookIssuesDemilestonedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0728.py b/githubkit/versions/ghec_v2022_11_28/types/group_0728.py index d1364c5e6..3aa207957 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0728.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0728.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesDemilestonedPropIssueType(TypedDict): @@ -80,6 +85,79 @@ class WebhookIssuesDemilestonedPropIssueType(TypedDict): user: Union[WebhookIssuesDemilestonedPropIssuePropUserType, None] +class WebhookIssuesDemilestonedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + Union[ + WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse, None + ] + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesDemilestonedPropIssuePropAssigneeType(TypedDict): """User""" @@ -106,6 +184,32 @@ class WebhookIssuesDemilestonedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -132,6 +236,32 @@ class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -144,6 +274,18 @@ class WebhookIssuesDemilestonedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesDemilestonedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -168,6 +310,32 @@ class WebhookIssuesDemilestonedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -195,6 +363,35 @@ class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -222,6 +419,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -251,6 +478,35 @@ class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType( user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -296,6 +552,51 @@ class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissions workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesDemilestonedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesDemilestonedPropIssuePropPullRequest""" @@ -306,6 +607,16 @@ class WebhookIssuesDemilestonedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesDemilestonedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -321,6 +632,21 @@ class WebhookIssuesDemilestonedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesDemilestonedPropIssuePropUserType(TypedDict): """User""" @@ -348,17 +674,56 @@ class WebhookIssuesDemilestonedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesDemilestonedPropIssuePropAssigneeType", + "WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestoneType", + "WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPullRequestType", + "WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropReactionsType", + "WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropUserType", + "WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse", "WebhookIssuesDemilestonedPropIssueType", + "WebhookIssuesDemilestonedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0729.py b/githubkit/versions/ghec_v2022_11_28/types/group_0729.py index 69fb999d2..06591563f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0729.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0729.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType -from .group_0730 import WebhookIssuesEditedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0730 import ( + WebhookIssuesEditedPropIssueType, + WebhookIssuesEditedPropIssueTypeForResponse, +) class WebhookIssuesEditedType(TypedDict): @@ -35,6 +41,20 @@ class WebhookIssuesEditedType(TypedDict): sender: SimpleUserType +class WebhookIssuesEditedTypeForResponse(TypedDict): + """issues edited event""" + + action: Literal["edited"] + changes: WebhookIssuesEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesEditedPropIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookIssuesEditedPropChangesType(TypedDict): """WebhookIssuesEditedPropChanges @@ -45,21 +65,47 @@ class WebhookIssuesEditedPropChangesType(TypedDict): title: NotRequired[WebhookIssuesEditedPropChangesPropTitleType] +class WebhookIssuesEditedPropChangesTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChanges + + The changes to the issue. + """ + + body: NotRequired[WebhookIssuesEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookIssuesEditedPropChangesPropTitleTypeForResponse] + + class WebhookIssuesEditedPropChangesPropBodyType(TypedDict): """WebhookIssuesEditedPropChangesPropBody""" from_: str +class WebhookIssuesEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChangesPropBody""" + + from_: str + + class WebhookIssuesEditedPropChangesPropTitleType(TypedDict): """WebhookIssuesEditedPropChangesPropTitle""" from_: str +class WebhookIssuesEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookIssuesEditedPropChangesPropBodyType", + "WebhookIssuesEditedPropChangesPropBodyTypeForResponse", "WebhookIssuesEditedPropChangesPropTitleType", + "WebhookIssuesEditedPropChangesPropTitleTypeForResponse", "WebhookIssuesEditedPropChangesType", + "WebhookIssuesEditedPropChangesTypeForResponse", "WebhookIssuesEditedType", + "WebhookIssuesEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0730.py b/githubkit/versions/ghec_v2022_11_28/types/group_0730.py index d1f21e6dc..79c016038 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0730.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0730.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesEditedPropIssueType(TypedDict): @@ -74,6 +79,72 @@ class WebhookIssuesEditedPropIssueType(TypedDict): user: Union[WebhookIssuesEditedPropIssuePropUserType, None] +class WebhookIssuesEditedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesEditedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesEditedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesEditedPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +172,33 @@ class WebhookIssuesEditedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +225,32 @@ class WebhookIssuesEditedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +263,18 @@ class WebhookIssuesEditedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesEditedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +299,32 @@ class WebhookIssuesEditedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesEditedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +352,33 @@ class WebhookIssuesEditedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +406,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +461,35 @@ class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +535,51 @@ class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesEditedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesEditedPropIssuePropPullRequest""" @@ -299,6 +590,16 @@ class WebhookIssuesEditedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesEditedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +615,21 @@ class WebhookIssuesEditedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesEditedPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +657,56 @@ class WebhookIssuesEditedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesEditedPropIssuePropAssigneeType", + "WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneesItemsType", + "WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropLabelsItemsType", + "WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestoneType", + "WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesEditedPropIssuePropPullRequestType", + "WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesEditedPropIssuePropReactionsType", + "WebhookIssuesEditedPropIssuePropReactionsTypeForResponse", "WebhookIssuesEditedPropIssuePropUserType", + "WebhookIssuesEditedPropIssuePropUserTypeForResponse", "WebhookIssuesEditedPropIssueType", + "WebhookIssuesEditedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0731.py b/githubkit/versions/ghec_v2022_11_28/types/group_0731.py index 9a9091326..05c54eba6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0731.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0731.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType -from .group_0732 import WebhookIssuesLabeledPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0732 import ( + WebhookIssuesLabeledPropIssueType, + WebhookIssuesLabeledPropIssueTypeForResponse, +) class WebhookIssuesLabeledType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesLabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesLabeledType",) +class WebhookIssuesLabeledTypeForResponse(TypedDict): + """issues labeled event""" + + action: Literal["labeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesLabeledPropIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesLabeledType", + "WebhookIssuesLabeledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0732.py b/githubkit/versions/ghec_v2022_11_28/types/group_0732.py index c152a6818..7f000821d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0732.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0732.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesLabeledPropIssueType(TypedDict): @@ -74,6 +79,72 @@ class WebhookIssuesLabeledPropIssueType(TypedDict): user: Union[WebhookIssuesLabeledPropIssuePropUserType, None] +class WebhookIssuesLabeledPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesLabeledPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesLabeledPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +172,33 @@ class WebhookIssuesLabeledPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +225,32 @@ class WebhookIssuesLabeledPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +263,18 @@ class WebhookIssuesLabeledPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesLabeledPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +299,32 @@ class WebhookIssuesLabeledPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +352,33 @@ class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +406,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +461,35 @@ class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType(TypedD user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +535,51 @@ class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesLabeledPropIssuePropPullRequestType(TypedDict): """WebhookIssuesLabeledPropIssuePropPullRequest""" @@ -299,6 +590,16 @@ class WebhookIssuesLabeledPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesLabeledPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +615,21 @@ class WebhookIssuesLabeledPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesLabeledPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +657,56 @@ class WebhookIssuesLabeledPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesLabeledPropIssuePropAssigneeType", + "WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneesItemsType", + "WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropLabelsItemsType", + "WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestoneType", + "WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLabeledPropIssuePropPullRequestType", + "WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLabeledPropIssuePropReactionsType", + "WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropUserType", + "WebhookIssuesLabeledPropIssuePropUserTypeForResponse", "WebhookIssuesLabeledPropIssueType", + "WebhookIssuesLabeledPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0733.py b/githubkit/versions/ghec_v2022_11_28/types/group_0733.py index 4e4c2dc3e..3b0a7d682 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0733.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0733.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0734 import WebhookIssuesLockedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0734 import ( + WebhookIssuesLockedPropIssueType, + WebhookIssuesLockedPropIssueTypeForResponse, +) class WebhookIssuesLockedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesLockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesLockedType",) +class WebhookIssuesLockedTypeForResponse(TypedDict): + """issues locked event""" + + action: Literal["locked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesLockedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesLockedType", + "WebhookIssuesLockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0734.py b/githubkit/versions/ghec_v2022_11_28/types/group_0734.py index eda41e40a..212ffe39f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0734.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0734.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesLockedPropIssueType(TypedDict): @@ -76,6 +81,72 @@ class WebhookIssuesLockedPropIssueType(TypedDict): user: Union[WebhookIssuesLockedPropIssuePropUserType, None] +class WebhookIssuesLockedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: Literal[True] + milestone: Union[WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesLockedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesLockedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesLockedPropIssuePropAssigneeType(TypedDict): """User""" @@ -103,6 +174,33 @@ class WebhookIssuesLockedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -130,6 +228,33 @@ class WebhookIssuesLockedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -142,6 +267,18 @@ class WebhookIssuesLockedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesLockedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -166,6 +303,32 @@ class WebhookIssuesLockedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesLockedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -193,6 +356,33 @@ class WebhookIssuesLockedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -220,6 +410,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -247,6 +465,35 @@ class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -292,6 +539,51 @@ class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesLockedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesLockedPropIssuePropPullRequest""" @@ -302,6 +594,16 @@ class WebhookIssuesLockedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesLockedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -317,6 +619,21 @@ class WebhookIssuesLockedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesLockedPropIssuePropUserType(TypedDict): """User""" @@ -344,17 +661,56 @@ class WebhookIssuesLockedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesLockedPropIssuePropAssigneeType", + "WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneesItemsType", + "WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropLabelsItemsType", + "WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestoneType", + "WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLockedPropIssuePropPullRequestType", + "WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLockedPropIssuePropReactionsType", + "WebhookIssuesLockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesLockedPropIssuePropUserType", + "WebhookIssuesLockedPropIssuePropUserTypeForResponse", "WebhookIssuesLockedPropIssueType", + "WebhookIssuesLockedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0735.py b/githubkit/versions/ghec_v2022_11_28/types/group_0735.py index ae7c0ca06..4c7bc94cb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0735.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0735.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0557 import WebhooksMilestoneType -from .group_0736 import WebhookIssuesMilestonedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0557 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse +from .group_0736 import ( + WebhookIssuesMilestonedPropIssueType, + WebhookIssuesMilestonedPropIssueTypeForResponse, +) class WebhookIssuesMilestonedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesMilestonedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesMilestonedType",) +class WebhookIssuesMilestonedTypeForResponse(TypedDict): + """issues milestoned event""" + + action: Literal["milestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesMilestonedPropIssueTypeForResponse + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesMilestonedType", + "WebhookIssuesMilestonedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0736.py b/githubkit/versions/ghec_v2022_11_28/types/group_0736.py index b4d84795c..cf1a241e3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0736.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0736.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesMilestonedPropIssueType(TypedDict): @@ -76,6 +81,75 @@ class WebhookIssuesMilestonedPropIssueType(TypedDict): user: Union[WebhookIssuesMilestonedPropIssuePropUserType, None] +class WebhookIssuesMilestonedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + Union[WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse, None] + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesMilestonedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesMilestonedPropIssuePropAssigneeType(TypedDict): """User""" @@ -102,6 +176,32 @@ class WebhookIssuesMilestonedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +228,32 @@ class WebhookIssuesMilestonedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +266,18 @@ class WebhookIssuesMilestonedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesMilestonedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -164,6 +302,32 @@ class WebhookIssuesMilestonedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +355,35 @@ class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -218,6 +411,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -245,6 +468,35 @@ class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -290,6 +542,51 @@ class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTy workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesMilestonedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesMilestonedPropIssuePropPullRequest""" @@ -300,6 +597,16 @@ class WebhookIssuesMilestonedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesMilestonedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -315,6 +622,21 @@ class WebhookIssuesMilestonedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesMilestonedPropIssuePropUserType(TypedDict): """User""" @@ -342,17 +664,56 @@ class WebhookIssuesMilestonedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesMilestonedPropIssuePropAssigneeType", + "WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestoneType", + "WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPullRequestType", + "WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesMilestonedPropIssuePropReactionsType", + "WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropUserType", + "WebhookIssuesMilestonedPropIssuePropUserTypeForResponse", "WebhookIssuesMilestonedPropIssueType", + "WebhookIssuesMilestonedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0737.py b/githubkit/versions/ghec_v2022_11_28/types/group_0737.py index 98fa208a0..5cbccd5ce 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0737.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0737.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0738 import WebhookIssuesOpenedPropChangesType -from .group_0740 import WebhookIssuesOpenedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0738 import ( + WebhookIssuesOpenedPropChangesType, + WebhookIssuesOpenedPropChangesTypeForResponse, +) +from .group_0740 import ( + WebhookIssuesOpenedPropIssueType, + WebhookIssuesOpenedPropIssueTypeForResponse, +) class WebhookIssuesOpenedType(TypedDict): @@ -34,4 +43,20 @@ class WebhookIssuesOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesOpenedType",) +class WebhookIssuesOpenedTypeForResponse(TypedDict): + """issues opened event""" + + action: Literal["opened"] + changes: NotRequired[WebhookIssuesOpenedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesOpenedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesOpenedType", + "WebhookIssuesOpenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0738.py b/githubkit/versions/ghec_v2022_11_28/types/group_0738.py index 61299bf24..b3799a27c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0738.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0738.py @@ -13,7 +13,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0739 import WebhookIssuesOpenedPropChangesPropOldIssueType +from .group_0739 import ( + WebhookIssuesOpenedPropChangesPropOldIssueType, + WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, +) class WebhookIssuesOpenedPropChangesType(TypedDict): @@ -23,6 +26,13 @@ class WebhookIssuesOpenedPropChangesType(TypedDict): old_repository: WebhookIssuesOpenedPropChangesPropOldRepositoryType +class WebhookIssuesOpenedPropChangesTypeForResponse(TypedDict): + """WebhookIssuesOpenedPropChanges""" + + old_issue: Union[WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, None] + old_repository: WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse + + class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): """Repository @@ -129,6 +139,114 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_discussions: NotRequired[bool] + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType: TypeAlias = ( dict[str, Any] ) @@ -140,6 +258,17 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): """ +WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType(TypedDict): """License""" @@ -150,6 +279,18 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType(TypedDict): """User""" @@ -177,6 +318,35 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType(TypedDict): """WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissions""" @@ -187,11 +357,29 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType(TypedDi triage: NotRequired[bool] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse", "WebhookIssuesOpenedPropChangesType", + "WebhookIssuesOpenedPropChangesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0739.py b/githubkit/versions/ghec_v2022_11_28/types/group_0739.py index 2f4195f8a..876b1cf63 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0739.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0739.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesOpenedPropChangesPropOldIssueType(TypedDict): @@ -95,6 +100,90 @@ class WebhookIssuesOpenedPropChangesPropOldIssueType(TypedDict): type: NotRequired[Union[IssueTypeType, None]] +class WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: NotRequired[ + Union[None, Literal["resolved", "off-topic", "too heated", "spam"]] + ] + assignee: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse, None + ] + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + draft: NotRequired[bool] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: int + labels: NotRequired[ + list[WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse] + ] + labels_url: NotRequired[str] + locked: NotRequired[bool] + milestone: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse + ] + reactions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[ + Union[WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse, None] + ] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType(TypedDict): """User""" @@ -122,6 +211,33 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType(TypedDict): """User""" @@ -149,6 +265,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType(TypedDict user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType(TypedDict): """Label""" @@ -161,6 +306,20 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType(TypedDict): """Milestone @@ -187,6 +346,33 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -214,6 +400,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType(Typ user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType( TypedDict ): @@ -244,6 +459,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -273,6 +518,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwn user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -319,6 +593,52 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPer workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissio + ns + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType(TypedDict): """WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequest""" @@ -329,6 +649,18 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType(TypedDict): """Reactions""" @@ -344,6 +676,21 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropUserType(TypedDict): """User""" @@ -371,17 +718,56 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropUserType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssueType", + "WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0740.py b/githubkit/versions/ghec_v2022_11_28/types/group_0740.py index 9e6f82a23..8c7580765 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0740.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0740.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesOpenedPropIssueType(TypedDict): @@ -74,6 +79,72 @@ class WebhookIssuesOpenedPropIssueType(TypedDict): user: Union[WebhookIssuesOpenedPropIssuePropUserType, None] +class WebhookIssuesOpenedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesOpenedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesOpenedPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +172,33 @@ class WebhookIssuesOpenedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +226,33 @@ class WebhookIssuesOpenedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +265,18 @@ class WebhookIssuesOpenedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesOpenedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -164,6 +301,32 @@ class WebhookIssuesOpenedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +354,33 @@ class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -218,6 +408,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -245,6 +463,35 @@ class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -290,6 +537,51 @@ class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesOpenedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesOpenedPropIssuePropPullRequest""" @@ -300,6 +592,16 @@ class WebhookIssuesOpenedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesOpenedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -315,6 +617,21 @@ class WebhookIssuesOpenedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesOpenedPropIssuePropUserType(TypedDict): """User""" @@ -342,17 +659,56 @@ class WebhookIssuesOpenedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesOpenedPropIssuePropAssigneeType", + "WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestoneType", + "WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropIssuePropPullRequestType", + "WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropIssuePropReactionsType", + "WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropUserType", + "WebhookIssuesOpenedPropIssuePropUserTypeForResponse", "WebhookIssuesOpenedPropIssueType", + "WebhookIssuesOpenedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0741.py b/githubkit/versions/ghec_v2022_11_28/types/group_0741.py index 342909f87..af569d594 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0741.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0741.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0558 import WebhooksIssue2Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0558 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse class WebhookIssuesPinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookIssuesPinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesPinnedType",) +class WebhookIssuesPinnedTypeForResponse(TypedDict): + """issues pinned event""" + + action: Literal["pinned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesPinnedType", + "WebhookIssuesPinnedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0742.py b/githubkit/versions/ghec_v2022_11_28/types/group_0742.py index 6f9c2b1c4..584d6f725 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0742.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0742.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0743 import WebhookIssuesReopenedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0743 import ( + WebhookIssuesReopenedPropIssueType, + WebhookIssuesReopenedPropIssueTypeForResponse, +) class WebhookIssuesReopenedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesReopenedType",) +class WebhookIssuesReopenedTypeForResponse(TypedDict): + """issues reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesReopenedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesReopenedType", + "WebhookIssuesReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0743.py b/githubkit/versions/ghec_v2022_11_28/types/group_0743.py index e13a929f9..e5eae5823 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0743.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0743.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesReopenedPropIssueType(TypedDict): @@ -76,6 +81,72 @@ class WebhookIssuesReopenedPropIssueType(TypedDict): type: NotRequired[Union[IssueTypeType, None]] +class WebhookIssuesReopenedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesReopenedPropIssuePropUserTypeForResponse, None] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + + class WebhookIssuesReopenedPropIssuePropAssigneeType(TypedDict): """User""" @@ -102,6 +173,32 @@ class WebhookIssuesReopenedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -128,6 +225,32 @@ class WebhookIssuesReopenedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -140,6 +263,18 @@ class WebhookIssuesReopenedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesReopenedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -164,6 +299,32 @@ class WebhookIssuesReopenedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -191,6 +352,33 @@ class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -218,6 +406,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -245,6 +461,35 @@ class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -290,6 +535,51 @@ class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesReopenedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesReopenedPropIssuePropPullRequest""" @@ -300,6 +590,16 @@ class WebhookIssuesReopenedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesReopenedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -315,6 +615,21 @@ class WebhookIssuesReopenedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesReopenedPropIssuePropUserType(TypedDict): """User""" @@ -342,17 +657,56 @@ class WebhookIssuesReopenedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesReopenedPropIssuePropAssigneeType", + "WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneesItemsType", + "WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropLabelsItemsType", + "WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestoneType", + "WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesReopenedPropIssuePropPullRequestType", + "WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesReopenedPropIssuePropReactionsType", + "WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropUserType", + "WebhookIssuesReopenedPropIssuePropUserTypeForResponse", "WebhookIssuesReopenedPropIssueType", + "WebhookIssuesReopenedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0744.py b/githubkit/versions/ghec_v2022_11_28/types/group_0744.py index f450c729d..5bb1239d4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0744.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0744.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0558 import WebhooksIssue2Type -from .group_0745 import WebhookIssuesTransferredPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0558 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse +from .group_0745 import ( + WebhookIssuesTransferredPropChangesType, + WebhookIssuesTransferredPropChangesTypeForResponse, +) class WebhookIssuesTransferredType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesTransferredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesTransferredType",) +class WebhookIssuesTransferredTypeForResponse(TypedDict): + """issues transferred event""" + + action: Literal["transferred"] + changes: WebhookIssuesTransferredPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesTransferredType", + "WebhookIssuesTransferredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0745.py b/githubkit/versions/ghec_v2022_11_28/types/group_0745.py index 6c061c2c2..2c7574a3e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0745.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0745.py @@ -13,7 +13,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0746 import WebhookIssuesTransferredPropChangesPropNewIssueType +from .group_0746 import ( + WebhookIssuesTransferredPropChangesPropNewIssueType, + WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse, +) class WebhookIssuesTransferredPropChangesType(TypedDict): @@ -23,6 +26,13 @@ class WebhookIssuesTransferredPropChangesType(TypedDict): new_repository: WebhookIssuesTransferredPropChangesPropNewRepositoryType +class WebhookIssuesTransferredPropChangesTypeForResponse(TypedDict): + """WebhookIssuesTransferredPropChanges""" + + new_issue: WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse + new_repository: WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse + + class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): """Repository @@ -131,6 +141,116 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType: TypeAlias = dict[ str, Any ] @@ -142,6 +262,17 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): """ +WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType(TypedDict): """License""" @@ -152,6 +283,18 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType(TypedD url: Union[str, None] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType(TypedDict): """User""" @@ -179,6 +322,35 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType(TypedDic user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType( TypedDict ): @@ -191,11 +363,29 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType( triage: NotRequired[bool] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse", "WebhookIssuesTransferredPropChangesType", + "WebhookIssuesTransferredPropChangesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0746.py b/githubkit/versions/ghec_v2022_11_28/types/group_0746.py index 3f7d79ba3..d4ca2efac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0746.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0746.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesTransferredPropChangesPropNewIssueType(TypedDict): @@ -89,6 +94,88 @@ class WebhookIssuesTransferredPropChangesPropNewIssueType(TypedDict): user: Union[WebhookIssuesTransferredPropChangesPropNewIssuePropUserType, None] +class WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse, + None, + ] + ] + assignees: list[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse + ] + reactions: ( + WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse + ) + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse, None + ] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType(TypedDict): """User""" @@ -116,6 +203,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType(TypedDict): """User""" @@ -143,6 +259,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType(Type user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType(TypedDict): """Label""" @@ -155,6 +300,20 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType(TypedDi url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType(TypedDict): """Milestone @@ -182,6 +341,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType(TypedDict url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType( TypedDict ): @@ -211,6 +399,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTyp user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType( TypedDict ): @@ -241,6 +458,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -270,6 +517,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPr user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -316,6 +592,52 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPr workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPerm + issions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType(TypedDict): """WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequest""" @@ -326,6 +648,18 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType(TypedDi url: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType(TypedDict): """Reactions""" @@ -341,6 +675,23 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType(TypedDict url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropUserType(TypedDict): """User""" @@ -368,17 +719,56 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropUserType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssueType", + "WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0747.py b/githubkit/versions/ghec_v2022_11_28/types/group_0747.py index 3f2d01d4f..4020f235f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0747.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0747.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0194 import IssueTypeType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0556 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0556 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesTypedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesTypedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesTypedType",) +class WebhookIssuesTypedTypeForResponse(TypedDict): + """issues typed event""" + + action: Literal["typed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + type: Union[IssueTypeTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesTypedType", + "WebhookIssuesTypedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0748.py b/githubkit/versions/ghec_v2022_11_28/types/group_0748.py index 79cf68852..271467a65 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0748.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0748.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0556 import WebhooksIssueType -from .group_0559 import WebhooksUserMannequinType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0556 import WebhooksIssueType, WebhooksIssueTypeForResponse +from .group_0559 import WebhooksUserMannequinType, WebhooksUserMannequinTypeForResponse class WebhookIssuesUnassignedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUnassignedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnassignedType",) +class WebhookIssuesUnassignedTypeForResponse(TypedDict): + """issues unassigned event""" + + action: Literal["unassigned"] + assignee: NotRequired[Union[WebhooksUserMannequinTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnassignedType", + "WebhookIssuesUnassignedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0749.py b/githubkit/versions/ghec_v2022_11_28/types/group_0749.py index e84b060e4..90e65f23d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0749.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0749.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType -from .group_0556 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0556 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesUnlabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUnlabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnlabeledType",) +class WebhookIssuesUnlabeledTypeForResponse(TypedDict): + """issues unlabeled event""" + + action: Literal["unlabeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnlabeledType", + "WebhookIssuesUnlabeledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0750.py b/githubkit/versions/ghec_v2022_11_28/types/group_0750.py index 765253e9c..f8367267c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0750.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0750.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0751 import WebhookIssuesUnlockedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0751 import ( + WebhookIssuesUnlockedPropIssueType, + WebhookIssuesUnlockedPropIssueTypeForResponse, +) class WebhookIssuesUnlockedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesUnlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnlockedType",) +class WebhookIssuesUnlockedTypeForResponse(TypedDict): + """issues unlocked event""" + + action: Literal["unlocked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesUnlockedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnlockedType", + "WebhookIssuesUnlockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0751.py b/githubkit/versions/ghec_v2022_11_28/types/group_0751.py index 8947cc78e..71db1e4ac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0751.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0751.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0194 import IssueTypeType -from .group_0196 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0197 import IssueFieldValueType +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0196 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0197 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesUnlockedPropIssueType(TypedDict): @@ -76,6 +81,72 @@ class WebhookIssuesUnlockedPropIssueType(TypedDict): user: Union[WebhookIssuesUnlockedPropIssuePropUserType, None] +class WebhookIssuesUnlockedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/enterprise- + cloud@latest//rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: Literal[False] + milestone: Union[WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesUnlockedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesUnlockedPropIssuePropAssigneeType(TypedDict): """User""" @@ -103,6 +174,33 @@ class WebhookIssuesUnlockedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -130,6 +228,33 @@ class WebhookIssuesUnlockedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -142,6 +267,18 @@ class WebhookIssuesUnlockedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesUnlockedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -166,6 +303,32 @@ class WebhookIssuesUnlockedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -193,6 +356,33 @@ class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -220,6 +410,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -247,6 +465,35 @@ class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -292,6 +539,51 @@ class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesUnlockedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesUnlockedPropIssuePropPullRequest""" @@ -302,6 +594,16 @@ class WebhookIssuesUnlockedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesUnlockedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -317,6 +619,21 @@ class WebhookIssuesUnlockedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesUnlockedPropIssuePropUserType(TypedDict): """User""" @@ -344,17 +661,56 @@ class WebhookIssuesUnlockedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesUnlockedPropIssuePropAssigneeType", + "WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneesItemsType", + "WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropLabelsItemsType", + "WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestoneType", + "WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPullRequestType", + "WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesUnlockedPropIssuePropReactionsType", + "WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropUserType", + "WebhookIssuesUnlockedPropIssuePropUserTypeForResponse", "WebhookIssuesUnlockedPropIssueType", + "WebhookIssuesUnlockedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0752.py b/githubkit/versions/ghec_v2022_11_28/types/group_0752.py index f90d1f75c..8d7fe3918 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0752.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0752.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0558 import WebhooksIssue2Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0558 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse class WebhookIssuesUnpinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookIssuesUnpinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnpinnedType",) +class WebhookIssuesUnpinnedTypeForResponse(TypedDict): + """issues unpinned event""" + + action: Literal["unpinned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnpinnedType", + "WebhookIssuesUnpinnedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0753.py b/githubkit/versions/ghec_v2022_11_28/types/group_0753.py index 278be6ddc..895de5f75 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0753.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0753.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0194 import IssueTypeType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0556 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0194 import IssueTypeType, IssueTypeTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0556 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesUntypedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUntypedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUntypedType",) +class WebhookIssuesUntypedTypeForResponse(TypedDict): + """issues untyped event""" + + action: Literal["untyped"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + type: Union[IssueTypeTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUntypedType", + "WebhookIssuesUntypedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0754.py b/githubkit/versions/ghec_v2022_11_28/types/group_0754.py index f1d85e92c..466b5bad9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0754.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0754.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookLabelCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookLabelCreatedType",) +class WebhookLabelCreatedTypeForResponse(TypedDict): + """label created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookLabelCreatedType", + "WebhookLabelCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0755.py b/githubkit/versions/ghec_v2022_11_28/types/group_0755.py index 2ec169bf3..527e1990f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0755.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0755.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookLabelDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookLabelDeletedType",) +class WebhookLabelDeletedTypeForResponse(TypedDict): + """label deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookLabelDeletedType", + "WebhookLabelDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0756.py b/githubkit/versions/ghec_v2022_11_28/types/group_0756.py index 867e6e6ec..dcb4e03ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0756.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0756.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookLabelEditedType(TypedDict): sender: SimpleUserType +class WebhookLabelEditedTypeForResponse(TypedDict): + """label edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookLabelEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookLabelEditedPropChangesType(TypedDict): """WebhookLabelEditedPropChanges @@ -44,28 +60,64 @@ class WebhookLabelEditedPropChangesType(TypedDict): name: NotRequired[WebhookLabelEditedPropChangesPropNameType] +class WebhookLabelEditedPropChangesTypeForResponse(TypedDict): + """WebhookLabelEditedPropChanges + + The changes to the label if the action was `edited`. + """ + + color: NotRequired[WebhookLabelEditedPropChangesPropColorTypeForResponse] + description: NotRequired[ + WebhookLabelEditedPropChangesPropDescriptionTypeForResponse + ] + name: NotRequired[WebhookLabelEditedPropChangesPropNameTypeForResponse] + + class WebhookLabelEditedPropChangesPropColorType(TypedDict): """WebhookLabelEditedPropChangesPropColor""" from_: str +class WebhookLabelEditedPropChangesPropColorTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropColor""" + + from_: str + + class WebhookLabelEditedPropChangesPropDescriptionType(TypedDict): """WebhookLabelEditedPropChangesPropDescription""" from_: str +class WebhookLabelEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropDescription""" + + from_: str + + class WebhookLabelEditedPropChangesPropNameType(TypedDict): """WebhookLabelEditedPropChangesPropName""" from_: str +class WebhookLabelEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookLabelEditedPropChangesPropColorType", + "WebhookLabelEditedPropChangesPropColorTypeForResponse", "WebhookLabelEditedPropChangesPropDescriptionType", + "WebhookLabelEditedPropChangesPropDescriptionTypeForResponse", "WebhookLabelEditedPropChangesPropNameType", + "WebhookLabelEditedPropChangesPropNameTypeForResponse", "WebhookLabelEditedPropChangesType", + "WebhookLabelEditedPropChangesTypeForResponse", "WebhookLabelEditedType", + "WebhookLabelEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0757.py b/githubkit/versions/ghec_v2022_11_28/types/group_0757.py index 25c7f5b2b..9be108fa4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0757.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0757.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0560 import WebhooksMarketplacePurchaseType -from .group_0561 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0560 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) +from .group_0561 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchaseCancelledType(TypedDict): @@ -35,4 +44,23 @@ class WebhookMarketplacePurchaseCancelledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMarketplacePurchaseCancelledType",) +class WebhookMarketplacePurchaseCancelledTypeForResponse(TypedDict): + """marketplace_purchase cancelled event""" + + action: Literal["cancelled"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMarketplacePurchaseCancelledType", + "WebhookMarketplacePurchaseCancelledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0758.py b/githubkit/versions/ghec_v2022_11_28/types/group_0758.py index 9e217cbff..7e9c6b719 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0758.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0758.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0560 import WebhooksMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0560 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchaseChangedType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchaseChangedType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchaseChangedTypeForResponse(TypedDict): + """marketplace_purchase changed event""" + + action: Literal["changed"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType(TypedDict): """Marketplace Purchase""" @@ -50,6 +72,20 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType(Typed unit_count: int +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: Union[bool, None] + plan: WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType( TypedDict ): @@ -62,6 +98,18 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccoun type: str +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType( TypedDict ): @@ -78,9 +126,29 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTy yearly_price_in_cents: int +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchaseChangedType", + "WebhookMarketplacePurchaseChangedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0759.py b/githubkit/versions/ghec_v2022_11_28/types/group_0759.py index 18024d2e4..8f65c0996 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0759.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0759.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0560 import WebhooksMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0560 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePendingChangeType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchasePendingChangeType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchasePendingChangeTypeForResponse(TypedDict): + """marketplace_purchase pending_change event""" + + action: Literal["pending_change"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType( TypedDict ): @@ -50,6 +72,20 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType unit_count: int +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: bool + plan: WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType( TypedDict ): @@ -64,6 +100,20 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseProp type: str +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccoun + t + """ + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType( TypedDict ): @@ -80,9 +130,29 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseProp yearly_price_in_cents: int +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeType", + "WebhookMarketplacePurchasePendingChangeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0760.py b/githubkit/versions/ghec_v2022_11_28/types/group_0760.py index 913d561b2..07d2ba0ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0760.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0760.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0561 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0561 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePendingChangeCancelledType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchasePendingChangeCancelledType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse(TypedDict): + """marketplace_purchase pending_change_cancelled event""" + + action: Literal["pending_change_cancelled"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType( TypedDict ): @@ -50,6 +72,20 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTyp unit_count: int +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: None + next_billing_date: Union[str, None] + on_free_trial: bool + plan: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType( TypedDict ): @@ -64,6 +100,20 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePro type: str +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccou + nt + """ + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType( TypedDict ): @@ -80,9 +130,29 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePro yearly_price_in_cents: int +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledType", + "WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0761.py b/githubkit/versions/ghec_v2022_11_28/types/group_0761.py index bc7ca502e..9a8e38e85 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0761.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0761.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0560 import WebhooksMarketplacePurchaseType -from .group_0561 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0560 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) +from .group_0561 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePurchasedType(TypedDict): @@ -35,4 +44,23 @@ class WebhookMarketplacePurchasePurchasedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMarketplacePurchasePurchasedType",) +class WebhookMarketplacePurchasePurchasedTypeForResponse(TypedDict): + """marketplace_purchase purchased event""" + + action: Literal["purchased"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMarketplacePurchasePurchasedType", + "WebhookMarketplacePurchasePurchasedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0762.py b/githubkit/versions/ghec_v2022_11_28/types/group_0762.py index 5ba1547c5..77a1a214f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0762.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0762.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberAddedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMemberAddedType(TypedDict): sender: SimpleUserType +class WebhookMemberAddedTypeForResponse(TypedDict): + """member added event""" + + action: Literal["added"] + changes: NotRequired[WebhookMemberAddedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMemberAddedPropChangesType(TypedDict): """WebhookMemberAddedPropChanges""" @@ -40,6 +56,13 @@ class WebhookMemberAddedPropChangesType(TypedDict): role_name: NotRequired[WebhookMemberAddedPropChangesPropRoleNameType] +class WebhookMemberAddedPropChangesTypeForResponse(TypedDict): + """WebhookMemberAddedPropChanges""" + + permission: NotRequired[WebhookMemberAddedPropChangesPropPermissionTypeForResponse] + role_name: NotRequired[WebhookMemberAddedPropChangesPropRoleNameTypeForResponse] + + class WebhookMemberAddedPropChangesPropPermissionType(TypedDict): """WebhookMemberAddedPropChangesPropPermission @@ -55,6 +78,21 @@ class WebhookMemberAddedPropChangesPropPermissionType(TypedDict): to: Literal["write", "admin", "read"] +class WebhookMemberAddedPropChangesPropPermissionTypeForResponse(TypedDict): + """WebhookMemberAddedPropChangesPropPermission + + This field is included for legacy purposes; use the `role_name` field instead. + The `maintain` + role is mapped to `write` and the `triage` role is mapped to `read`. To + determine the role + assigned to the collaborator, use the `role_name` field instead, which will + provide the full + role name, including custom roles. + """ + + to: Literal["write", "admin", "read"] + + class WebhookMemberAddedPropChangesPropRoleNameType(TypedDict): """WebhookMemberAddedPropChangesPropRoleName @@ -64,9 +102,22 @@ class WebhookMemberAddedPropChangesPropRoleNameType(TypedDict): to: str +class WebhookMemberAddedPropChangesPropRoleNameTypeForResponse(TypedDict): + """WebhookMemberAddedPropChangesPropRoleName + + The role assigned to the collaborator. + """ + + to: str + + __all__ = ( "WebhookMemberAddedPropChangesPropPermissionType", + "WebhookMemberAddedPropChangesPropPermissionTypeForResponse", "WebhookMemberAddedPropChangesPropRoleNameType", + "WebhookMemberAddedPropChangesPropRoleNameTypeForResponse", "WebhookMemberAddedPropChangesType", + "WebhookMemberAddedPropChangesTypeForResponse", "WebhookMemberAddedType", + "WebhookMemberAddedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0763.py b/githubkit/versions/ghec_v2022_11_28/types/group_0763.py index f3b40660d..8c15ebaac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0763.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0763.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMemberEditedType(TypedDict): sender: SimpleUserType +class WebhookMemberEditedTypeForResponse(TypedDict): + """member edited event""" + + action: Literal["edited"] + changes: WebhookMemberEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMemberEditedPropChangesType(TypedDict): """WebhookMemberEditedPropChanges @@ -43,12 +59,30 @@ class WebhookMemberEditedPropChangesType(TypedDict): permission: NotRequired[WebhookMemberEditedPropChangesPropPermissionType] +class WebhookMemberEditedPropChangesTypeForResponse(TypedDict): + """WebhookMemberEditedPropChanges + + The changes to the collaborator permissions + """ + + old_permission: NotRequired[ + WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse + ] + permission: NotRequired[WebhookMemberEditedPropChangesPropPermissionTypeForResponse] + + class WebhookMemberEditedPropChangesPropOldPermissionType(TypedDict): """WebhookMemberEditedPropChangesPropOldPermission""" from_: str +class WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse(TypedDict): + """WebhookMemberEditedPropChangesPropOldPermission""" + + from_: str + + class WebhookMemberEditedPropChangesPropPermissionType(TypedDict): """WebhookMemberEditedPropChangesPropPermission""" @@ -56,9 +90,20 @@ class WebhookMemberEditedPropChangesPropPermissionType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookMemberEditedPropChangesPropPermissionTypeForResponse(TypedDict): + """WebhookMemberEditedPropChangesPropPermission""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookMemberEditedPropChangesPropOldPermissionType", + "WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse", "WebhookMemberEditedPropChangesPropPermissionType", + "WebhookMemberEditedPropChangesPropPermissionTypeForResponse", "WebhookMemberEditedPropChangesType", + "WebhookMemberEditedPropChangesTypeForResponse", "WebhookMemberEditedType", + "WebhookMemberEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0764.py b/githubkit/versions/ghec_v2022_11_28/types/group_0764.py index 0329af6b6..47fc81172 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0764.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0764.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberRemovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMemberRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMemberRemovedType",) +class WebhookMemberRemovedTypeForResponse(TypedDict): + """member removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMemberRemovedType", + "WebhookMemberRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0765.py b/githubkit/versions/ghec_v2022_11_28/types/group_0765.py index 70682351f..94d37ea75 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0765.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0765.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0562 import WebhooksTeamType +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0562 import WebhooksTeamType, WebhooksTeamTypeForResponse class WebhookMembershipAddedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookMembershipAddedType(TypedDict): team: WebhooksTeamType +class WebhookMembershipAddedTypeForResponse(TypedDict): + """membership added event""" + + action: Literal["added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + scope: Literal["team"] + sender: Union[WebhookMembershipAddedPropSenderTypeForResponse, None] + team: WebhooksTeamTypeForResponse + + class WebhookMembershipAddedPropSenderType(TypedDict): """User""" @@ -61,7 +78,36 @@ class WebhookMembershipAddedPropSenderType(TypedDict): user_view_type: NotRequired[str] +class WebhookMembershipAddedPropSenderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookMembershipAddedPropSenderType", + "WebhookMembershipAddedPropSenderTypeForResponse", "WebhookMembershipAddedType", + "WebhookMembershipAddedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0766.py b/githubkit/versions/ghec_v2022_11_28/types/group_0766.py index c7c5bf3ee..18b9b5264 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0766.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0766.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType -from .group_0562 import WebhooksTeamType +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0562 import WebhooksTeamType, WebhooksTeamTypeForResponse class WebhookMembershipRemovedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookMembershipRemovedType(TypedDict): team: WebhooksTeamType +class WebhookMembershipRemovedTypeForResponse(TypedDict): + """membership removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + scope: Literal["team", "organization"] + sender: Union[WebhookMembershipRemovedPropSenderTypeForResponse, None] + team: WebhooksTeamTypeForResponse + + class WebhookMembershipRemovedPropSenderType(TypedDict): """User""" @@ -61,7 +78,36 @@ class WebhookMembershipRemovedPropSenderType(TypedDict): user_view_type: NotRequired[str] +class WebhookMembershipRemovedPropSenderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookMembershipRemovedPropSenderType", + "WebhookMembershipRemovedPropSenderTypeForResponse", "WebhookMembershipRemovedType", + "WebhookMembershipRemovedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0767.py b/githubkit/versions/ghec_v2022_11_28/types/group_0767.py index ab0c6dc06..cb7dba917 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0767.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0767.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0563 import MergeGroupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0563 import MergeGroupType, MergeGroupTypeForResponse class WebhookMergeGroupChecksRequestedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookMergeGroupChecksRequestedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookMergeGroupChecksRequestedType",) +class WebhookMergeGroupChecksRequestedTypeForResponse(TypedDict): + """WebhookMergeGroupChecksRequested""" + + action: Literal["checks_requested"] + installation: NotRequired[SimpleInstallationTypeForResponse] + merge_group: MergeGroupTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookMergeGroupChecksRequestedType", + "WebhookMergeGroupChecksRequestedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0768.py b/githubkit/versions/ghec_v2022_11_28/types/group_0768.py index bc2c35e95..a8a2f17cd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0768.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0768.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0563 import MergeGroupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0563 import MergeGroupType, MergeGroupTypeForResponse class WebhookMergeGroupDestroyedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookMergeGroupDestroyedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookMergeGroupDestroyedType",) +class WebhookMergeGroupDestroyedTypeForResponse(TypedDict): + """WebhookMergeGroupDestroyed""" + + action: Literal["destroyed"] + reason: NotRequired[Literal["merged", "invalidated", "dequeued"]] + installation: NotRequired[SimpleInstallationTypeForResponse] + merge_group: MergeGroupTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookMergeGroupDestroyedType", + "WebhookMergeGroupDestroyedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0769.py b/githubkit/versions/ghec_v2022_11_28/types/group_0769.py index 2c1b2aa6f..0110f5bf6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0769.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0769.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookMetaDeletedType(TypedDict): @@ -32,6 +35,19 @@ class WebhookMetaDeletedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookMetaDeletedTypeForResponse(TypedDict): + """meta deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + hook: WebhookMetaDeletedPropHookTypeForResponse + hook_id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookMetaDeletedPropHookType(TypedDict): """WebhookMetaDeletedPropHook @@ -49,6 +65,23 @@ class WebhookMetaDeletedPropHookType(TypedDict): updated_at: str +class WebhookMetaDeletedPropHookTypeForResponse(TypedDict): + """WebhookMetaDeletedPropHook + + The deleted webhook. This will contain different keys based on the type of + webhook it is: repository, organization, business, app, or GitHub Marketplace. + """ + + active: bool + config: WebhookMetaDeletedPropHookPropConfigTypeForResponse + created_at: str + events: list[str] + id: int + name: str + type: str + updated_at: str + + class WebhookMetaDeletedPropHookPropConfigType(TypedDict): """WebhookMetaDeletedPropHookPropConfig""" @@ -58,8 +91,20 @@ class WebhookMetaDeletedPropHookPropConfigType(TypedDict): url: str +class WebhookMetaDeletedPropHookPropConfigTypeForResponse(TypedDict): + """WebhookMetaDeletedPropHookPropConfig""" + + content_type: Literal["json", "form"] + insecure_ssl: str + secret: NotRequired[str] + url: str + + __all__ = ( "WebhookMetaDeletedPropHookPropConfigType", + "WebhookMetaDeletedPropHookPropConfigTypeForResponse", "WebhookMetaDeletedPropHookType", + "WebhookMetaDeletedPropHookTypeForResponse", "WebhookMetaDeletedType", + "WebhookMetaDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0770.py b/githubkit/versions/ghec_v2022_11_28/types/group_0770.py index f5739dd1a..96daf8422 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0770.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0770.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0557 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0557 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneClosedType",) +class WebhookMilestoneClosedTypeForResponse(TypedDict): + """milestone closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneClosedType", + "WebhookMilestoneClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0771.py b/githubkit/versions/ghec_v2022_11_28/types/group_0771.py index b87e3f735..03c6b1b50 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0771.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0771.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0564 import WebhooksMilestone3Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0564 import WebhooksMilestone3Type, WebhooksMilestone3TypeForResponse class WebhookMilestoneCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneCreatedType",) +class WebhookMilestoneCreatedTypeForResponse(TypedDict): + """milestone created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestone3TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneCreatedType", + "WebhookMilestoneCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0772.py b/githubkit/versions/ghec_v2022_11_28/types/group_0772.py index 86b0cb948..2d6742d80 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0772.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0772.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0557 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0557 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneDeletedType",) +class WebhookMilestoneDeletedTypeForResponse(TypedDict): + """milestone deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneDeletedType", + "WebhookMilestoneDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0773.py b/githubkit/versions/ghec_v2022_11_28/types/group_0773.py index 762142ae2..e196b5ce4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0773.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0773.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0557 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0557 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMilestoneEditedType(TypedDict): sender: SimpleUserType +class WebhookMilestoneEditedTypeForResponse(TypedDict): + """milestone edited event""" + + action: Literal["edited"] + changes: WebhookMilestoneEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMilestoneEditedPropChangesType(TypedDict): """WebhookMilestoneEditedPropChanges @@ -44,28 +60,64 @@ class WebhookMilestoneEditedPropChangesType(TypedDict): title: NotRequired[WebhookMilestoneEditedPropChangesPropTitleType] +class WebhookMilestoneEditedPropChangesTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChanges + + The changes to the milestone if the action was `edited`. + """ + + description: NotRequired[ + WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse + ] + due_on: NotRequired[WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse] + title: NotRequired[WebhookMilestoneEditedPropChangesPropTitleTypeForResponse] + + class WebhookMilestoneEditedPropChangesPropDescriptionType(TypedDict): """WebhookMilestoneEditedPropChangesPropDescription""" from_: str +class WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropDescription""" + + from_: str + + class WebhookMilestoneEditedPropChangesPropDueOnType(TypedDict): """WebhookMilestoneEditedPropChangesPropDueOn""" from_: str +class WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropDueOn""" + + from_: str + + class WebhookMilestoneEditedPropChangesPropTitleType(TypedDict): """WebhookMilestoneEditedPropChangesPropTitle""" from_: str +class WebhookMilestoneEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookMilestoneEditedPropChangesPropDescriptionType", + "WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse", "WebhookMilestoneEditedPropChangesPropDueOnType", + "WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse", "WebhookMilestoneEditedPropChangesPropTitleType", + "WebhookMilestoneEditedPropChangesPropTitleTypeForResponse", "WebhookMilestoneEditedPropChangesType", + "WebhookMilestoneEditedPropChangesTypeForResponse", "WebhookMilestoneEditedType", + "WebhookMilestoneEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0774.py b/githubkit/versions/ghec_v2022_11_28/types/group_0774.py index 2a2c4ab33..b9be7bf80 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0774.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0774.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0564 import WebhooksMilestone3Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0564 import WebhooksMilestone3Type, WebhooksMilestone3TypeForResponse class WebhookMilestoneOpenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneOpenedType",) +class WebhookMilestoneOpenedTypeForResponse(TypedDict): + """milestone opened event""" + + action: Literal["opened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestone3TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneOpenedType", + "WebhookMilestoneOpenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0775.py b/githubkit/versions/ghec_v2022_11_28/types/group_0775.py index 342e2d9ab..8921bcbcd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0775.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0775.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrgBlockBlockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrgBlockBlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrgBlockBlockedType",) +class WebhookOrgBlockBlockedTypeForResponse(TypedDict): + """org_block blocked event""" + + action: Literal["blocked"] + blocked_user: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrgBlockBlockedType", + "WebhookOrgBlockBlockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0776.py b/githubkit/versions/ghec_v2022_11_28/types/group_0776.py index c43f2978d..82a1a3e7b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0776.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0776.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrgBlockUnblockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrgBlockUnblockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrgBlockUnblockedType",) +class WebhookOrgBlockUnblockedTypeForResponse(TypedDict): + """org_block unblocked event""" + + action: Literal["unblocked"] + blocked_user: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrgBlockUnblockedType", + "WebhookOrgBlockUnblockedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0777.py b/githubkit/versions/ghec_v2022_11_28/types/group_0777.py index d0683f8ec..60e3aa473 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0777.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0777.py @@ -12,9 +12,12 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0098 import OrganizationCustomPropertyType -from .group_0534 import EnterpriseWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0098 import ( + OrganizationCustomPropertyType, + OrganizationCustomPropertyTypeForResponse, +) +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse class WebhookOrganizationCustomPropertyCreatedType(TypedDict): @@ -26,4 +29,16 @@ class WebhookOrganizationCustomPropertyCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookOrganizationCustomPropertyCreatedType",) +class WebhookOrganizationCustomPropertyCreatedTypeForResponse(TypedDict): + """organization custom property created event""" + + action: Literal["created"] + definition: OrganizationCustomPropertyTypeForResponse + enterprise: EnterpriseWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookOrganizationCustomPropertyCreatedType", + "WebhookOrganizationCustomPropertyCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0778.py b/githubkit/versions/ghec_v2022_11_28/types/group_0778.py index 9594dfd8a..31f2d4ef8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0778.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0778.py @@ -12,9 +12,9 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse class WebhookOrganizationCustomPropertyDeletedType(TypedDict): @@ -27,13 +27,31 @@ class WebhookOrganizationCustomPropertyDeletedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookOrganizationCustomPropertyDeletedTypeForResponse(TypedDict): + """organization custom property deleted event""" + + action: Literal["deleted"] + definition: WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse + enterprise: EnterpriseWebhooksTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookOrganizationCustomPropertyDeletedPropDefinitionType(TypedDict): """WebhookOrganizationCustomPropertyDeletedPropDefinition""" property_name: str +class WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse(TypedDict): + """WebhookOrganizationCustomPropertyDeletedPropDefinition""" + + property_name: str + + __all__ = ( "WebhookOrganizationCustomPropertyDeletedPropDefinitionType", + "WebhookOrganizationCustomPropertyDeletedPropDefinitionTypeForResponse", "WebhookOrganizationCustomPropertyDeletedType", + "WebhookOrganizationCustomPropertyDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0779.py b/githubkit/versions/ghec_v2022_11_28/types/group_0779.py index c0fcc261a..9a6f48373 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0779.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0779.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0098 import OrganizationCustomPropertyType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0098 import ( + OrganizationCustomPropertyType, + OrganizationCustomPropertyTypeForResponse, +) +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse class WebhookOrganizationCustomPropertyUpdatedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookOrganizationCustomPropertyUpdatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookOrganizationCustomPropertyUpdatedType",) +class WebhookOrganizationCustomPropertyUpdatedTypeForResponse(TypedDict): + """organization custom property updated event""" + + action: Literal["updated"] + definition: OrganizationCustomPropertyTypeForResponse + enterprise: EnterpriseWebhooksTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookOrganizationCustomPropertyUpdatedType", + "WebhookOrganizationCustomPropertyUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0780.py b/githubkit/versions/ghec_v2022_11_28/types/group_0780.py index 0a5c31b35..dfacfb88a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0780.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0780.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0101 import CustomPropertyValueType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookOrganizationCustomPropertyValuesUpdatedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookOrganizationCustomPropertyValuesUpdatedType(TypedDict): old_property_values: list[CustomPropertyValueType] -__all__ = ("WebhookOrganizationCustomPropertyValuesUpdatedType",) +class WebhookOrganizationCustomPropertyValuesUpdatedTypeForResponse(TypedDict): + """Custom property values updated event""" + + action: Literal["updated"] + enterprise: EnterpriseWebhooksTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + new_property_values: list[CustomPropertyValueTypeForResponse] + old_property_values: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "WebhookOrganizationCustomPropertyValuesUpdatedType", + "WebhookOrganizationCustomPropertyValuesUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0781.py b/githubkit/versions/ghec_v2022_11_28/types/group_0781.py index 095c0a274..2d65f3b5e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0781.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0781.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0565 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0565 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationDeletedType",) +class WebhookOrganizationDeletedTypeForResponse(TypedDict): + """organization deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: NotRequired[WebhooksMembershipTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationDeletedType", + "WebhookOrganizationDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0782.py b/githubkit/versions/ghec_v2022_11_28/types/group_0782.py index 34ffe2271..f4a77de23 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0782.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0782.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0565 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0565 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationMemberAddedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationMemberAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationMemberAddedType",) +class WebhookOrganizationMemberAddedTypeForResponse(TypedDict): + """organization member_added event""" + + action: Literal["member_added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: WebhooksMembershipTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationMemberAddedType", + "WebhookOrganizationMemberAddedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0783.py b/githubkit/versions/ghec_v2022_11_28/types/group_0783.py index fe282837b..7c91d41ac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0783.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0783.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrganizationMemberInvitedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookOrganizationMemberInvitedType(TypedDict): user: NotRequired[Union[WebhooksUserType, None]] +class WebhookOrganizationMemberInvitedTypeForResponse(TypedDict): + """organization member_invited event""" + + action: Literal["member_invited"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + invitation: WebhookOrganizationMemberInvitedPropInvitationTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + user: NotRequired[Union[WebhooksUserTypeForResponse, None]] + + class WebhookOrganizationMemberInvitedPropInvitationType(TypedDict): """WebhookOrganizationMemberInvitedPropInvitation @@ -54,6 +70,28 @@ class WebhookOrganizationMemberInvitedPropInvitationType(TypedDict): invitation_source: NotRequired[str] +class WebhookOrganizationMemberInvitedPropInvitationTypeForResponse(TypedDict): + """WebhookOrganizationMemberInvitedPropInvitation + + The invitation for the user or email if the action is `member_invited`. + """ + + created_at: str + email: Union[str, None] + failed_at: Union[str, None] + failed_reason: Union[str, None] + id: float + invitation_teams_url: str + inviter: Union[ + WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse, None + ] + login: Union[str, None] + node_id: str + role: str + team_count: float + invitation_source: NotRequired[str] + + class WebhookOrganizationMemberInvitedPropInvitationPropInviterType(TypedDict): """User""" @@ -81,8 +119,40 @@ class WebhookOrganizationMemberInvitedPropInvitationPropInviterType(TypedDict): user_view_type: NotRequired[str] +class WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookOrganizationMemberInvitedPropInvitationPropInviterType", + "WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationType", + "WebhookOrganizationMemberInvitedPropInvitationTypeForResponse", "WebhookOrganizationMemberInvitedType", + "WebhookOrganizationMemberInvitedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0784.py b/githubkit/versions/ghec_v2022_11_28/types/group_0784.py index 7e065978f..c521488ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0784.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0784.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0565 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0565 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationMemberRemovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationMemberRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationMemberRemovedType",) +class WebhookOrganizationMemberRemovedTypeForResponse(TypedDict): + """organization member_removed event""" + + action: Literal["member_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: WebhooksMembershipTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationMemberRemovedType", + "WebhookOrganizationMemberRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0785.py b/githubkit/versions/ghec_v2022_11_28/types/group_0785.py index baf5199b1..e08afe0de 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0785.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0785.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0565 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0565 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationRenamedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookOrganizationRenamedType(TypedDict): sender: SimpleUserType +class WebhookOrganizationRenamedTypeForResponse(TypedDict): + """organization renamed event""" + + action: Literal["renamed"] + changes: NotRequired[WebhookOrganizationRenamedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: NotRequired[WebhooksMembershipTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookOrganizationRenamedPropChangesType(TypedDict): """WebhookOrganizationRenamedPropChanges""" login: NotRequired[WebhookOrganizationRenamedPropChangesPropLoginType] +class WebhookOrganizationRenamedPropChangesTypeForResponse(TypedDict): + """WebhookOrganizationRenamedPropChanges""" + + login: NotRequired[WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse] + + class WebhookOrganizationRenamedPropChangesPropLoginType(TypedDict): """WebhookOrganizationRenamedPropChangesPropLogin""" from_: NotRequired[str] +class WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse(TypedDict): + """WebhookOrganizationRenamedPropChangesPropLogin""" + + from_: NotRequired[str] + + __all__ = ( "WebhookOrganizationRenamedPropChangesPropLoginType", + "WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse", "WebhookOrganizationRenamedPropChangesType", + "WebhookOrganizationRenamedPropChangesTypeForResponse", "WebhookOrganizationRenamedType", + "WebhookOrganizationRenamedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0786.py b/githubkit/versions/ghec_v2022_11_28/types/group_0786.py index fbf589490..d5db97ba4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0786.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0786.py @@ -28,25 +28,62 @@ class WebhookRubygemsMetadataType(TypedDict): commit_oid: NotRequired[str] +class WebhookRubygemsMetadataTypeForResponse(TypedDict): + """Ruby Gems metadata""" + + name: NotRequired[str] + description: NotRequired[str] + readme: NotRequired[str] + homepage: NotRequired[str] + version_info: NotRequired[WebhookRubygemsMetadataPropVersionInfoTypeForResponse] + platform: NotRequired[str] + metadata: NotRequired[WebhookRubygemsMetadataPropMetadataTypeForResponse] + repo: NotRequired[str] + dependencies: NotRequired[ + list[WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse] + ] + commit_oid: NotRequired[str] + + class WebhookRubygemsMetadataPropVersionInfoType(TypedDict): """WebhookRubygemsMetadataPropVersionInfo""" version: NotRequired[str] +class WebhookRubygemsMetadataPropVersionInfoTypeForResponse(TypedDict): + """WebhookRubygemsMetadataPropVersionInfo""" + + version: NotRequired[str] + + WebhookRubygemsMetadataPropMetadataType: TypeAlias = dict[str, Any] """WebhookRubygemsMetadataPropMetadata """ +WebhookRubygemsMetadataPropMetadataTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookRubygemsMetadataPropMetadata +""" + + WebhookRubygemsMetadataPropDependenciesItemsType: TypeAlias = dict[str, Any] """WebhookRubygemsMetadataPropDependenciesItems """ +WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookRubygemsMetadataPropDependenciesItems +""" + + __all__ = ( "WebhookRubygemsMetadataPropDependenciesItemsType", + "WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse", "WebhookRubygemsMetadataPropMetadataType", + "WebhookRubygemsMetadataPropMetadataTypeForResponse", "WebhookRubygemsMetadataPropVersionInfoType", + "WebhookRubygemsMetadataPropVersionInfoTypeForResponse", "WebhookRubygemsMetadataType", + "WebhookRubygemsMetadataTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0787.py b/githubkit/versions/ghec_v2022_11_28/types/group_0787.py index 67251b8e2..95213f34a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0787.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0787.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0788 import WebhookPackagePublishedPropPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0788 import ( + WebhookPackagePublishedPropPackageType, + WebhookPackagePublishedPropPackageTypeForResponse, +) class WebhookPackagePublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookPackagePublishedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPackagePublishedType",) +class WebhookPackagePublishedTypeForResponse(TypedDict): + """package published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + package: WebhookPackagePublishedPropPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPackagePublishedType", + "WebhookPackagePublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0788.py b/githubkit/versions/ghec_v2022_11_28/types/group_0788.py index 30ae75f4f..cab33f937 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0788.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0788.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0789 import WebhookPackagePublishedPropPackagePropPackageVersionType +from .group_0789 import ( + WebhookPackagePublishedPropPackagePropPackageVersionType, + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, +) class WebhookPackagePublishedPropPackageType(TypedDict): @@ -37,6 +40,28 @@ class WebhookPackagePublishedPropPackageType(TypedDict): updated_at: Union[str, None] +class WebhookPackagePublishedPropPackageTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackage + + Information about the package. + """ + + created_at: Union[str, None] + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: Union[WebhookPackagePublishedPropPackagePropOwnerTypeForResponse, None] + package_type: str + package_version: Union[ + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, None + ] + registry: Union[WebhookPackagePublishedPropPackagePropRegistryTypeForResponse, None] + updated_at: Union[str, None] + + class WebhookPackagePublishedPropPackagePropOwnerType(TypedDict): """User""" @@ -64,6 +89,33 @@ class WebhookPackagePublishedPropPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropRegistryType(TypedDict): """WebhookPackagePublishedPropPackagePropRegistry""" @@ -74,8 +126,21 @@ class WebhookPackagePublishedPropPackagePropRegistryType(TypedDict): vendor: str +class WebhookPackagePublishedPropPackagePropRegistryTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackagePropRegistry""" + + about_url: str + name: str + type: str + url: str + vendor: str + + __all__ = ( "WebhookPackagePublishedPropPackagePropOwnerType", + "WebhookPackagePublishedPropPackagePropOwnerTypeForResponse", "WebhookPackagePublishedPropPackagePropRegistryType", + "WebhookPackagePublishedPropPackagePropRegistryTypeForResponse", "WebhookPackagePublishedPropPackageType", + "WebhookPackagePublishedPropPackageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0789.py b/githubkit/versions/ghec_v2022_11_28/types/group_0789.py index b310de21a..23556607a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0789.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0789.py @@ -12,7 +12,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0786 import WebhookRubygemsMetadataType +from .group_0786 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookPackagePublishedPropPackagePropPackageVersionType(TypedDict): @@ -81,6 +84,76 @@ class WebhookPackagePublishedPropPackagePropPackageVersionType(TypedDict): version: str +class WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackagePropPackageVersion""" + + author: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse, + None, + ] + ] + body: NotRequired[ + Union[ + str, + WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ] + ] + body_html: NotRequired[str] + container_metadata: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse, + None, + ] + ] + created_at: NotRequired[str] + description: str + docker_metadata: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + npm_metadata: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse, + None, + ] + ] + nuget_metadata: NotRequired[ + Union[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse + ], + None, + ] + ] + package_files: list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: NotRequired[str] + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + source_url: NotRequired[str] + summary: str + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + target_oid: NotRequired[str] + updated_at: NotRequired[str] + version: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType(TypedDict): """User""" @@ -108,10 +181,45 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType(TypedDi user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type(TypedDict): """WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType( TypedDict ): @@ -134,6 +242,28 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataT ] +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadata""" + + labels: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + None, + ] + ] + manifest: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + None, + ] + ] + tag: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse + ] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType( TypedDict ): @@ -142,6 +272,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLab + els + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType( TypedDict ): @@ -150,6 +288,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropMan + ifest + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType( TypedDict ): @@ -159,6 +305,15 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP name: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTag""" + + digest: NotRequired[str] + name: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -167,6 +322,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItem tags: NotRequired[list[str]] +class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItems""" + + tags: NotRequired[list[str]] + + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType: TypeAlias = ( dict[str, Any] ) @@ -174,6 +337,13 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItem """ +WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItems +""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType( TypedDict ): @@ -267,18 +437,123 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType( deleted_by_id: NotRequired[int] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadata""" + + name: NotRequired[str] + version: NotRequired[str] + npm_user: NotRequired[str] + author: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse, + None, + ] + ] + bugs: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse, + None, + ] + ] + dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse + ] + dev_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse + ] + peer_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse + ] + optional_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse + ] + description: NotRequired[str] + dist: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse, + None, + ] + ] + git_head: NotRequired[str] + homepage: NotRequired[str] + license_: NotRequired[str] + main: NotRequired[str] + repository: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse, + None, + ] + ] + scripts: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse + ] + id: NotRequired[str] + node_version: NotRequired[str] + npm_version: NotRequired[str] + has_shrinkwrap: NotRequired[bool] + maintainers: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse + ] + ] + contributors: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse + ] + ] + engines: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse + ] + keywords: NotRequired[list[str]] + files: NotRequired[list[str]] + bin_: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse + ] + man: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse + ] + directories: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse, + None, + ] + ] + os: NotRequired[list[str]] + cpu: NotRequired[list[str]] + readme: NotRequired[str] + installation_command: NotRequired[str] + release_id: NotRequired[int] + commit_oid: NotRequired[str] + published_via_actions: NotRequired[bool] + deleted_by_id: NotRequired[int] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthor""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthor""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugs""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugs""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType( TypedDict ): @@ -287,6 +562,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDep """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenc + ies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType( TypedDict ): @@ -295,6 +578,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDev """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDepend + encies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType( TypedDict ): @@ -303,6 +594,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPee """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDepen + dencies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType( TypedDict ): @@ -311,12 +610,26 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOpt """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalD + ependencies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDist""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDist""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType( TypedDict ): @@ -325,12 +638,26 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRep """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositor + y + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScripts""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScripts""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType( TypedDict ): @@ -339,6 +666,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMai """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintaine + rsItems + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType( TypedDict ): @@ -347,24 +682,50 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropCon """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContribut + orsItems + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEngines""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEngines""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBin""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBin""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMan""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMan""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType( TypedDict ): @@ -373,6 +734,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDir """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectori + es + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -391,6 +760,24 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsT updated_at: str +class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItems""" + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: Union[str, None] + size: int + state: Union[str, None] + updated_at: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType( TypedDict ): @@ -408,6 +795,23 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems ] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems""" + + id: NotRequired[Union[int, str]] + name: NotRequired[str] + value: NotRequired[ + Union[ + bool, + str, + int, + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ] + ] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type( TypedDict ): @@ -421,6 +825,19 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropVa + lueOneof3 + """ + + url: NotRequired[str] + branch: NotRequired[str] + commit: NotRequired[str] + type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType(TypedDict): """WebhookPackagePublishedPropPackagePropPackageVersionPropRelease""" @@ -440,6 +857,27 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType(TypedD url: str +class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropRelease""" + + author: Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + None, + ] + created_at: str + draft: bool + html_url: str + id: int + name: Union[str, None] + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -469,35 +907,94 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorT user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionType", + "WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0790.py b/githubkit/versions/ghec_v2022_11_28/types/group_0790.py index 6d5965e14..9d10e43d8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0790.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0790.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0791 import WebhookPackageUpdatedPropPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0791 import ( + WebhookPackageUpdatedPropPackageType, + WebhookPackageUpdatedPropPackageTypeForResponse, +) class WebhookPackageUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookPackageUpdatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPackageUpdatedType",) +class WebhookPackageUpdatedTypeForResponse(TypedDict): + """package updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + package: WebhookPackageUpdatedPropPackageTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPackageUpdatedType", + "WebhookPackageUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0791.py b/githubkit/versions/ghec_v2022_11_28/types/group_0791.py index 272de8f7c..03920aa42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0791.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0791.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0792 import WebhookPackageUpdatedPropPackagePropPackageVersionType +from .group_0792 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionType, + WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse, +) class WebhookPackageUpdatedPropPackageType(TypedDict): @@ -35,6 +38,26 @@ class WebhookPackageUpdatedPropPackageType(TypedDict): updated_at: str +class WebhookPackageUpdatedPropPackageTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackage + + Information about the package. + """ + + created_at: str + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: Union[WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse, None] + package_type: str + package_version: WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse + registry: Union[WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse, None] + updated_at: str + + class WebhookPackageUpdatedPropPackagePropOwnerType(TypedDict): """User""" @@ -62,6 +85,33 @@ class WebhookPackageUpdatedPropPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackageUpdatedPropPackagePropRegistryType(TypedDict): """WebhookPackageUpdatedPropPackagePropRegistry""" @@ -72,8 +122,21 @@ class WebhookPackageUpdatedPropPackagePropRegistryType(TypedDict): vendor: str +class WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackagePropRegistry""" + + about_url: str + name: str + type: str + url: str + vendor: str + + __all__ = ( "WebhookPackageUpdatedPropPackagePropOwnerType", + "WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse", "WebhookPackageUpdatedPropPackagePropRegistryType", + "WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse", "WebhookPackageUpdatedPropPackageType", + "WebhookPackageUpdatedPropPackageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0792.py b/githubkit/versions/ghec_v2022_11_28/types/group_0792.py index 5d9f8650f..b2d7bd678 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0792.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0792.py @@ -12,7 +12,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0786 import WebhookRubygemsMetadataType +from .group_0786 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookPackageUpdatedPropPackagePropPackageVersionType(TypedDict): @@ -57,6 +60,49 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionType(TypedDict): version: str +class WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackagePropPackageVersion""" + + author: Union[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse, + None, + ] + body: str + body_html: str + created_at: str + description: str + docker_metadata: NotRequired[ + list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + package_files: list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: NotRequired[str] + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + source_url: NotRequired[str] + summary: str + tag_name: NotRequired[str] + target_commitish: str + target_oid: str + updated_at: str + version: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType(TypedDict): """User""" @@ -84,6 +130,35 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType(TypedDict user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -92,6 +167,14 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsT tags: NotRequired[list[str]] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItems""" + + tags: NotRequired[list[str]] + + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType: TypeAlias = ( dict[str, Any] ) @@ -99,6 +182,13 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsT """ +WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItems +""" + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -117,6 +207,24 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTyp updated_at: str +class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItems""" + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: str + size: int + state: str + updated_at: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType(TypedDict): """WebhookPackageUpdatedPropPackagePropPackageVersionPropRelease""" @@ -136,6 +244,27 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType(TypedDic url: str +class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropRelease""" + + author: Union[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + None, + ] + created_at: str + draft: bool + html_url: str + id: int + name: str + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -165,12 +294,48 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTyp user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionType", + "WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0793.py b/githubkit/versions/ghec_v2022_11_28/types/group_0793.py index dd22023ce..34c79a05e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0793.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0793.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPageBuildType(TypedDict): @@ -31,6 +34,18 @@ class WebhookPageBuildType(TypedDict): sender: SimpleUserType +class WebhookPageBuildTypeForResponse(TypedDict): + """page_build event""" + + build: WebhookPageBuildPropBuildTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPageBuildPropBuildType(TypedDict): """WebhookPageBuildPropBuild @@ -48,12 +63,35 @@ class WebhookPageBuildPropBuildType(TypedDict): url: str +class WebhookPageBuildPropBuildTypeForResponse(TypedDict): + """WebhookPageBuildPropBuild + + The [List GitHub Pages builds](https://docs.github.com/enterprise- + cloud@latest//rest/pages/pages#list-github-pages-builds) itself. + """ + + commit: Union[str, None] + created_at: str + duration: int + error: WebhookPageBuildPropBuildPropErrorTypeForResponse + pusher: Union[WebhookPageBuildPropBuildPropPusherTypeForResponse, None] + status: str + updated_at: str + url: str + + class WebhookPageBuildPropBuildPropErrorType(TypedDict): """WebhookPageBuildPropBuildPropError""" message: Union[str, None] +class WebhookPageBuildPropBuildPropErrorTypeForResponse(TypedDict): + """WebhookPageBuildPropBuildPropError""" + + message: Union[str, None] + + class WebhookPageBuildPropBuildPropPusherType(TypedDict): """User""" @@ -81,9 +119,40 @@ class WebhookPageBuildPropBuildPropPusherType(TypedDict): user_view_type: NotRequired[str] +class WebhookPageBuildPropBuildPropPusherTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPageBuildPropBuildPropErrorType", + "WebhookPageBuildPropBuildPropErrorTypeForResponse", "WebhookPageBuildPropBuildPropPusherType", + "WebhookPageBuildPropBuildPropPusherTypeForResponse", "WebhookPageBuildPropBuildType", + "WebhookPageBuildPropBuildTypeForResponse", "WebhookPageBuildType", + "WebhookPageBuildTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0794.py b/githubkit/versions/ghec_v2022_11_28/types/group_0794.py index 1c5844878..a2cfdc6fa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0794.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0794.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0566 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0566 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestApprovedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestApprovedType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestApprovedType",) +class WebhookPersonalAccessTokenRequestApprovedTypeForResponse(TypedDict): + """personal_access_token_request approved event""" + + action: Literal["approved"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestApprovedType", + "WebhookPersonalAccessTokenRequestApprovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0795.py b/githubkit/versions/ghec_v2022_11_28/types/group_0795.py index b20956d95..46e033b85 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0795.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0795.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0566 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0566 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestCancelledType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestCancelledType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestCancelledType",) +class WebhookPersonalAccessTokenRequestCancelledTypeForResponse(TypedDict): + """personal_access_token_request cancelled event""" + + action: Literal["cancelled"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestCancelledType", + "WebhookPersonalAccessTokenRequestCancelledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0796.py b/githubkit/versions/ghec_v2022_11_28/types/group_0796.py index 89628053b..f824f29c7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0796.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0796.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0566 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0566 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestCreatedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestCreatedType(TypedDict): installation: NotRequired[SimpleInstallationType] -__all__ = ("WebhookPersonalAccessTokenRequestCreatedType",) +class WebhookPersonalAccessTokenRequestCreatedTypeForResponse(TypedDict): + """personal_access_token_request created event""" + + action: Literal["created"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + + +__all__ = ( + "WebhookPersonalAccessTokenRequestCreatedType", + "WebhookPersonalAccessTokenRequestCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0797.py b/githubkit/versions/ghec_v2022_11_28/types/group_0797.py index 9028da818..ce0d26adf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0797.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0797.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0566 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0566 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestDeniedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestDeniedType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestDeniedType",) +class WebhookPersonalAccessTokenRequestDeniedTypeForResponse(TypedDict): + """personal_access_token_request denied event""" + + action: Literal["denied"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestDeniedType", + "WebhookPersonalAccessTokenRequestDeniedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0798.py b/githubkit/versions/ghec_v2022_11_28/types/group_0798.py index 6c0a713fe..6af3c6bb7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0798.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0798.py @@ -11,10 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0799 import WebhookPingPropHookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0799 import WebhookPingPropHookType, WebhookPingPropHookTypeForResponse class WebhookPingType(TypedDict): @@ -28,4 +31,18 @@ class WebhookPingType(TypedDict): zen: NotRequired[str] -__all__ = ("WebhookPingType",) +class WebhookPingTypeForResponse(TypedDict): + """WebhookPing""" + + hook: NotRequired[WebhookPingPropHookTypeForResponse] + hook_id: NotRequired[int] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + zen: NotRequired[str] + + +__all__ = ( + "WebhookPingType", + "WebhookPingTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0799.py b/githubkit/versions/ghec_v2022_11_28/types/group_0799.py index 0949cfd51..3859aa425 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0799.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0799.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0398 import HookResponseType +from .group_0398 import HookResponseType, HookResponseTypeForResponse class WebhookPingPropHookType(TypedDict): @@ -38,6 +38,28 @@ class WebhookPingPropHookType(TypedDict): url: NotRequired[str] +class WebhookPingPropHookTypeForResponse(TypedDict): + """Webhook + + The webhook that is being pinged + """ + + active: bool + app_id: NotRequired[int] + config: WebhookPingPropHookPropConfigTypeForResponse + created_at: str + deliveries_url: NotRequired[str] + events: list[str] + id: int + last_response: NotRequired[HookResponseTypeForResponse] + name: Literal["web"] + ping_url: NotRequired[str] + test_url: NotRequired[str] + type: str + updated_at: str + url: NotRequired[str] + + class WebhookPingPropHookPropConfigType(TypedDict): """WebhookPingPropHookPropConfig""" @@ -47,7 +69,18 @@ class WebhookPingPropHookPropConfigType(TypedDict): url: NotRequired[str] +class WebhookPingPropHookPropConfigTypeForResponse(TypedDict): + """WebhookPingPropHookPropConfig""" + + content_type: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + secret: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookPingPropHookPropConfigType", + "WebhookPingPropHookPropConfigTypeForResponse", "WebhookPingPropHookType", + "WebhookPingPropHookTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0800.py b/githubkit/versions/ghec_v2022_11_28/types/group_0800.py index 76f44f172..4f402123c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0800.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0800.py @@ -21,4 +21,16 @@ class WebhookPingFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookPingFormEncodedType",) +class WebhookPingFormEncodedTypeForResponse(TypedDict): + """WebhookPingFormEncoded + + The webhooks ping payload encoded with URL encoding. + """ + + payload: str + + +__all__ = ( + "WebhookPingFormEncodedType", + "WebhookPingFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0801.py b/githubkit/versions/ghec_v2022_11_28/types/group_0801.py index 31f1d0dfc..0f1dd1727 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0801.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0801.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0567 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0567 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardConvertedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectCardConvertedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardConvertedTypeForResponse(TypedDict): + """project_card converted event""" + + action: Literal["converted"] + changes: WebhookProjectCardConvertedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardConvertedPropChangesType(TypedDict): """WebhookProjectCardConvertedPropChanges""" note: WebhookProjectCardConvertedPropChangesPropNoteType +class WebhookProjectCardConvertedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardConvertedPropChanges""" + + note: WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse + + class WebhookProjectCardConvertedPropChangesPropNoteType(TypedDict): """WebhookProjectCardConvertedPropChangesPropNote""" from_: str +class WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse(TypedDict): + """WebhookProjectCardConvertedPropChangesPropNote""" + + from_: str + + __all__ = ( "WebhookProjectCardConvertedPropChangesPropNoteType", + "WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse", "WebhookProjectCardConvertedPropChangesType", + "WebhookProjectCardConvertedPropChangesTypeForResponse", "WebhookProjectCardConvertedType", + "WebhookProjectCardConvertedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0802.py b/githubkit/versions/ghec_v2022_11_28/types/group_0802.py index e29dbecf6..8e1c65485 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0802.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0802.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0567 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0567 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectCardCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectCardCreatedType",) +class WebhookProjectCardCreatedTypeForResponse(TypedDict): + """project_card created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectCardCreatedType", + "WebhookProjectCardCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0803.py b/githubkit/versions/ghec_v2022_11_28/types/group_0803.py index edec23641..b48dce125 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0803.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0803.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookProjectCardDeletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookProjectCardDeletedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardDeletedTypeForResponse(TypedDict): + """project_card deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhookProjectCardDeletedPropProjectCardTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardDeletedPropProjectCardType(TypedDict): """Project Card""" @@ -50,6 +65,26 @@ class WebhookProjectCardDeletedPropProjectCardType(TypedDict): url: str +class WebhookProjectCardDeletedPropProjectCardTypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: Union[int, None] + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardDeletedPropProjectCardPropCreatorType(TypedDict): """User""" @@ -77,8 +112,38 @@ class WebhookProjectCardDeletedPropProjectCardPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardDeletedPropProjectCardPropCreatorType", + "WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse", "WebhookProjectCardDeletedPropProjectCardType", + "WebhookProjectCardDeletedPropProjectCardTypeForResponse", "WebhookProjectCardDeletedType", + "WebhookProjectCardDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0804.py b/githubkit/versions/ghec_v2022_11_28/types/group_0804.py index edb2b5b4c..deee28497 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0804.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0804.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0567 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0567 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardEditedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectCardEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardEditedTypeForResponse(TypedDict): + """project_card edited event""" + + action: Literal["edited"] + changes: WebhookProjectCardEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardEditedPropChangesType(TypedDict): """WebhookProjectCardEditedPropChanges""" note: WebhookProjectCardEditedPropChangesPropNoteType +class WebhookProjectCardEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardEditedPropChanges""" + + note: WebhookProjectCardEditedPropChangesPropNoteTypeForResponse + + class WebhookProjectCardEditedPropChangesPropNoteType(TypedDict): """WebhookProjectCardEditedPropChangesPropNote""" from_: Union[str, None] +class WebhookProjectCardEditedPropChangesPropNoteTypeForResponse(TypedDict): + """WebhookProjectCardEditedPropChangesPropNote""" + + from_: Union[str, None] + + __all__ = ( "WebhookProjectCardEditedPropChangesPropNoteType", + "WebhookProjectCardEditedPropChangesPropNoteTypeForResponse", "WebhookProjectCardEditedPropChangesType", + "WebhookProjectCardEditedPropChangesTypeForResponse", "WebhookProjectCardEditedType", + "WebhookProjectCardEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0805.py b/githubkit/versions/ghec_v2022_11_28/types/group_0805.py index 750b564c9..13a2a9efa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0805.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0805.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookProjectCardMovedType(TypedDict): @@ -33,18 +36,43 @@ class WebhookProjectCardMovedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardMovedTypeForResponse(TypedDict): + """project_card moved event""" + + action: Literal["moved"] + changes: NotRequired[WebhookProjectCardMovedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhookProjectCardMovedPropProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardMovedPropChangesType(TypedDict): """WebhookProjectCardMovedPropChanges""" column_id: WebhookProjectCardMovedPropChangesPropColumnIdType +class WebhookProjectCardMovedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropChanges""" + + column_id: WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse + + class WebhookProjectCardMovedPropChangesPropColumnIdType(TypedDict): """WebhookProjectCardMovedPropChangesPropColumnId""" from_: int +class WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropChangesPropColumnId""" + + from_: int + + class WebhookProjectCardMovedPropProjectCardType(TypedDict): """WebhookProjectCardMovedPropProjectCard""" @@ -63,6 +91,26 @@ class WebhookProjectCardMovedPropProjectCardType(TypedDict): url: str +class WebhookProjectCardMovedPropProjectCardTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCard""" + + after_id: Union[Union[int, None], None] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[Union[str, None], None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardMovedPropProjectCardMergedCreatorType(TypedDict): """WebhookProjectCardMovedPropProjectCardMergedCreator""" @@ -90,10 +138,42 @@ class WebhookProjectCardMovedPropProjectCardMergedCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardMergedCreator""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropChangesPropColumnIdType", + "WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse", "WebhookProjectCardMovedPropChangesType", + "WebhookProjectCardMovedPropChangesTypeForResponse", "WebhookProjectCardMovedPropProjectCardMergedCreatorType", + "WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardType", + "WebhookProjectCardMovedPropProjectCardTypeForResponse", "WebhookProjectCardMovedType", + "WebhookProjectCardMovedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0806.py b/githubkit/versions/ghec_v2022_11_28/types/group_0806.py index c75678d30..a955e1a6b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0806.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0806.py @@ -32,6 +32,26 @@ class WebhookProjectCardMovedPropProjectCardAllof0Type(TypedDict): url: str +class WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType(TypedDict): """User""" @@ -59,7 +79,36 @@ class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof0Type", + "WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0807.py b/githubkit/versions/ghec_v2022_11_28/types/group_0807.py index 8e4564103..7cc74ee1e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0807.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0807.py @@ -32,6 +32,27 @@ class WebhookProjectCardMovedPropProjectCardAllof1Type(TypedDict): url: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardAllof1""" + + after_id: Union[int, None] + archived: NotRequired[bool] + column_id: NotRequired[int] + column_url: NotRequired[str] + created_at: NotRequired[str] + creator: NotRequired[ + Union[ + WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse, None + ] + ] + id: NotRequired[int] + node_id: NotRequired[str] + note: NotRequired[Union[str, None]] + project_url: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + + class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType(TypedDict): """WebhookProjectCardMovedPropProjectCardAllof1PropCreator""" @@ -55,7 +76,32 @@ class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType(TypedDict): url: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardAllof1PropCreator""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof1Type", + "WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0808.py b/githubkit/versions/ghec_v2022_11_28/types/group_0808.py index 93568067b..a7537aa6a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0808.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0808.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0568 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0568 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectClosedType",) +class WebhookProjectClosedTypeForResponse(TypedDict): + """project closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectClosedType", + "WebhookProjectClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0809.py b/githubkit/versions/ghec_v2022_11_28/types/group_0809.py index f208393b4..48030aeca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0809.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0809.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0569 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0569 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectColumnCreatedType",) +class WebhookProjectColumnCreatedTypeForResponse(TypedDict): + """project_column created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectColumnCreatedType", + "WebhookProjectColumnCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0810.py b/githubkit/versions/ghec_v2022_11_28/types/group_0810.py index 350a2e259..ef5ee41a2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0810.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0810.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0569 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0569 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnDeletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectColumnDeletedType",) +class WebhookProjectColumnDeletedTypeForResponse(TypedDict): + """project_column deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectColumnDeletedType", + "WebhookProjectColumnDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0811.py b/githubkit/versions/ghec_v2022_11_28/types/group_0811.py index 84e917e2d..23466bae9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0811.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0811.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0569 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0569 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnEditedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectColumnEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookProjectColumnEditedTypeForResponse(TypedDict): + """project_column edited event""" + + action: Literal["edited"] + changes: WebhookProjectColumnEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookProjectColumnEditedPropChangesType(TypedDict): """WebhookProjectColumnEditedPropChanges""" name: NotRequired[WebhookProjectColumnEditedPropChangesPropNameType] +class WebhookProjectColumnEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectColumnEditedPropChanges""" + + name: NotRequired[WebhookProjectColumnEditedPropChangesPropNameTypeForResponse] + + class WebhookProjectColumnEditedPropChangesPropNameType(TypedDict): """WebhookProjectColumnEditedPropChangesPropName""" from_: str +class WebhookProjectColumnEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookProjectColumnEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookProjectColumnEditedPropChangesPropNameType", + "WebhookProjectColumnEditedPropChangesPropNameTypeForResponse", "WebhookProjectColumnEditedPropChangesType", + "WebhookProjectColumnEditedPropChangesTypeForResponse", "WebhookProjectColumnEditedType", + "WebhookProjectColumnEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0812.py b/githubkit/versions/ghec_v2022_11_28/types/group_0812.py index a03e9bce2..18d3a1e0d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0812.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0812.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0569 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0569 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnMovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnMovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectColumnMovedType",) +class WebhookProjectColumnMovedTypeForResponse(TypedDict): + """project_column moved event""" + + action: Literal["moved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectColumnMovedType", + "WebhookProjectColumnMovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0813.py b/githubkit/versions/ghec_v2022_11_28/types/group_0813.py index aa6709b50..0612aab69 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0813.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0813.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0568 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0568 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectCreatedType",) +class WebhookProjectCreatedTypeForResponse(TypedDict): + """project created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectCreatedType", + "WebhookProjectCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0814.py b/githubkit/versions/ghec_v2022_11_28/types/group_0814.py index b6c0e2bac..7af0e44d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0814.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0814.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0568 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0568 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectDeletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectDeletedType",) +class WebhookProjectDeletedTypeForResponse(TypedDict): + """project deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectDeletedType", + "WebhookProjectDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0815.py b/githubkit/versions/ghec_v2022_11_28/types/group_0815.py index b5af51caf..e908f1400 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0815.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0815.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0568 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0568 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookProjectEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookProjectEditedTypeForResponse(TypedDict): + """project edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookProjectEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookProjectEditedPropChangesType(TypedDict): """WebhookProjectEditedPropChanges @@ -43,21 +59,47 @@ class WebhookProjectEditedPropChangesType(TypedDict): name: NotRequired[WebhookProjectEditedPropChangesPropNameType] +class WebhookProjectEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectEditedPropChanges + + The changes to the project if the action was `edited`. + """ + + body: NotRequired[WebhookProjectEditedPropChangesPropBodyTypeForResponse] + name: NotRequired[WebhookProjectEditedPropChangesPropNameTypeForResponse] + + class WebhookProjectEditedPropChangesPropBodyType(TypedDict): """WebhookProjectEditedPropChangesPropBody""" from_: str +class WebhookProjectEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookProjectEditedPropChangesPropBody""" + + from_: str + + class WebhookProjectEditedPropChangesPropNameType(TypedDict): """WebhookProjectEditedPropChangesPropName""" from_: str +class WebhookProjectEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookProjectEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookProjectEditedPropChangesPropBodyType", + "WebhookProjectEditedPropChangesPropBodyTypeForResponse", "WebhookProjectEditedPropChangesPropNameType", + "WebhookProjectEditedPropChangesPropNameTypeForResponse", "WebhookProjectEditedPropChangesType", + "WebhookProjectEditedPropChangesTypeForResponse", "WebhookProjectEditedType", + "WebhookProjectEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0816.py b/githubkit/versions/ghec_v2022_11_28/types/group_0816.py index cd4fc86aa..0ca7114f2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0816.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0816.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0568 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0568 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectReopenedType",) +class WebhookProjectReopenedTypeForResponse(TypedDict): + """project reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectReopenedType", + "WebhookProjectReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0817.py b/githubkit/versions/ghec_v2022_11_28/types/group_0817.py index 7c4edd493..2e7e84a8e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0817.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0817.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0265 import ProjectsV2Type -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0265 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectClosedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectClosedType",) +class WebhookProjectsV2ProjectClosedTypeForResponse(TypedDict): + """Projects v2 Project Closed Event""" + + action: Literal["closed"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectClosedType", + "WebhookProjectsV2ProjectClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0818.py b/githubkit/versions/ghec_v2022_11_28/types/group_0818.py index ed8d51f17..ff0cf3326 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0818.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0818.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0265 import ProjectsV2Type -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0265 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectCreatedType(TypedDict): @@ -31,4 +34,20 @@ class WebhookProjectsV2ProjectCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectCreatedType",) +class WebhookProjectsV2ProjectCreatedTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectCreated + + A project was created + """ + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectCreatedType", + "WebhookProjectsV2ProjectCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0819.py b/githubkit/versions/ghec_v2022_11_28/types/group_0819.py index a4a5ad06a..864b9822f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0819.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0819.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0265 import ProjectsV2Type -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0265 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectDeletedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectDeletedType",) +class WebhookProjectsV2ProjectDeletedTypeForResponse(TypedDict): + """Projects v2 Project Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectDeletedType", + "WebhookProjectsV2ProjectDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0820.py b/githubkit/versions/ghec_v2022_11_28/types/group_0820.py index 0bf2f3137..8f2178cec 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0820.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0820.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0265 import ProjectsV2Type -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0265 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectEditedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ProjectEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ProjectEditedTypeForResponse(TypedDict): + """Projects v2 Project Edited Event""" + + action: Literal["edited"] + changes: WebhookProjectsV2ProjectEditedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ProjectEditedPropChangesType(TypedDict): """WebhookProjectsV2ProjectEditedPropChanges""" @@ -42,6 +56,23 @@ class WebhookProjectsV2ProjectEditedPropChangesType(TypedDict): title: NotRequired[WebhookProjectsV2ProjectEditedPropChangesPropTitleType] +class WebhookProjectsV2ProjectEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChanges""" + + description: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse + ] + public: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse + ] + short_description: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse + ] + title: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse + ] + + class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropDescription""" @@ -49,6 +80,15 @@ class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse( + TypedDict +): + """WebhookProjectsV2ProjectEditedPropChangesPropDescription""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2ProjectEditedPropChangesPropPublicType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropPublic""" @@ -56,6 +96,13 @@ class WebhookProjectsV2ProjectEditedPropChangesPropPublicType(TypedDict): to: NotRequired[bool] +class WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChangesPropPublic""" + + from_: NotRequired[bool] + to: NotRequired[bool] + + class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropShortDescription""" @@ -63,6 +110,15 @@ class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType(TypedDic to: NotRequired[Union[str, None]] +class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse( + TypedDict +): + """WebhookProjectsV2ProjectEditedPropChangesPropShortDescription""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2ProjectEditedPropChangesPropTitleType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropTitle""" @@ -70,11 +126,24 @@ class WebhookProjectsV2ProjectEditedPropChangesPropTitleType(TypedDict): to: NotRequired[str] +class WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChangesPropTitle""" + + from_: NotRequired[str] + to: NotRequired[str] + + __all__ = ( "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropPublicType", + "WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropTitleType", + "WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesType", + "WebhookProjectsV2ProjectEditedPropChangesTypeForResponse", "WebhookProjectsV2ProjectEditedType", + "WebhookProjectsV2ProjectEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0821.py b/githubkit/versions/ghec_v2022_11_28/types/group_0821.py index 5d625ed21..27aee33d8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0821.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0821.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0570 import WebhooksProjectChangesType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0570 import ( + WebhooksProjectChangesType, + WebhooksProjectChangesTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemArchivedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookProjectsV2ItemArchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemArchivedType",) +class WebhookProjectsV2ItemArchivedTypeForResponse(TypedDict): + """Projects v2 Item Archived Event""" + + action: Literal["archived"] + changes: WebhooksProjectChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemArchivedType", + "WebhookProjectsV2ItemArchivedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0822.py b/githubkit/versions/ghec_v2022_11_28/types/group_0822.py index c96d4f959..c7025ff5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0822.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0822.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemConvertedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ItemConvertedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemConvertedTypeForResponse(TypedDict): + """Projects v2 Item Converted Event""" + + action: Literal["converted"] + changes: WebhookProjectsV2ItemConvertedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemConvertedPropChangesType(TypedDict): """WebhookProjectsV2ItemConvertedPropChanges""" @@ -37,6 +51,14 @@ class WebhookProjectsV2ItemConvertedPropChangesType(TypedDict): ] +class WebhookProjectsV2ItemConvertedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ItemConvertedPropChanges""" + + content_type: NotRequired[ + WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse + ] + + class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType(TypedDict): """WebhookProjectsV2ItemConvertedPropChangesPropContentType""" @@ -44,8 +66,20 @@ class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType(TypedDict): to: NotRequired[str] +class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemConvertedPropChangesPropContentType""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[str] + + __all__ = ( "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType", + "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesType", + "WebhookProjectsV2ItemConvertedPropChangesTypeForResponse", "WebhookProjectsV2ItemConvertedType", + "WebhookProjectsV2ItemConvertedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0823.py b/githubkit/versions/ghec_v2022_11_28/types/group_0823.py index e07dbf6b0..a4e77bd8e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0823.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0823.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemCreatedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ItemCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemCreatedType",) +class WebhookProjectsV2ItemCreatedTypeForResponse(TypedDict): + """Projects v2 Item Created Event""" + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemCreatedType", + "WebhookProjectsV2ItemCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0824.py b/githubkit/versions/ghec_v2022_11_28/types/group_0824.py index 85a01c5b8..bfa330ad0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0824.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0824.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemDeletedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ItemDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemDeletedType",) +class WebhookProjectsV2ItemDeletedTypeForResponse(TypedDict): + """Projects v2 Item Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemDeletedType", + "WebhookProjectsV2ItemDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0825.py b/githubkit/versions/ghec_v2022_11_28/types/group_0825.py index 7472eeee0..4d01c9b88 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0825.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0825.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemEditedType(TypedDict): @@ -34,12 +37,36 @@ class WebhookProjectsV2ItemEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemEditedTypeForResponse(TypedDict): + """Projects v2 Item Edited Event""" + + action: Literal["edited"] + changes: NotRequired[ + Union[ + WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse, + WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse, + ] + ] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemEditedPropChangesOneof0Type(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof0""" field_value: WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType +class WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof0""" + + field_value: ( + WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse + ) + + class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValue""" @@ -67,6 +94,35 @@ class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType(TypedDict): ] +class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValue""" + + field_node_id: NotRequired[str] + field_type: NotRequired[str] + field_name: NotRequired[str] + project_number: NotRequired[int] + from_: NotRequired[ + Union[ + str, + int, + ProjectsV2SingleSelectOptionTypeForResponse, + ProjectsV2IterationSettingTypeForResponse, + None, + ] + ] + to: NotRequired[ + Union[ + str, + int, + ProjectsV2SingleSelectOptionTypeForResponse, + ProjectsV2IterationSettingTypeForResponse, + None, + ] + ] + + class ProjectsV2SingleSelectOptionType(TypedDict): """Projects v2 Single Select Option @@ -79,6 +135,18 @@ class ProjectsV2SingleSelectOptionType(TypedDict): description: NotRequired[Union[str, None]] +class ProjectsV2SingleSelectOptionTypeForResponse(TypedDict): + """Projects v2 Single Select Option + + An option for a single select field + """ + + id: str + name: str + color: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + + class ProjectsV2IterationSettingType(TypedDict): """Projects v2 Iteration Setting @@ -93,12 +161,32 @@ class ProjectsV2IterationSettingType(TypedDict): completed: NotRequired[bool] +class ProjectsV2IterationSettingTypeForResponse(TypedDict): + """Projects v2 Iteration Setting + + An iteration setting for an iteration field + """ + + id: str + title: str + title_html: NotRequired[str] + duration: NotRequired[Union[float, None]] + start_date: NotRequired[Union[str, None]] + completed: NotRequired[bool] + + class WebhookProjectsV2ItemEditedPropChangesOneof1Type(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof1""" body: WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType +class WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof1""" + + body: WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse + + class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof1PropBody""" @@ -106,12 +194,26 @@ class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof1PropBody""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "ProjectsV2IterationSettingType", + "ProjectsV2IterationSettingTypeForResponse", "ProjectsV2SingleSelectOptionType", + "ProjectsV2SingleSelectOptionTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType", + "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0Type", + "WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType", + "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1Type", + "WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse", "WebhookProjectsV2ItemEditedType", + "WebhookProjectsV2ItemEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0826.py b/githubkit/versions/ghec_v2022_11_28/types/group_0826.py index 08f29158a..0bbd57027 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0826.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0826.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemReorderedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ItemReorderedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemReorderedTypeForResponse(TypedDict): + """Projects v2 Item Reordered Event""" + + action: Literal["reordered"] + changes: WebhookProjectsV2ItemReorderedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemReorderedPropChangesType(TypedDict): """WebhookProjectsV2ItemReorderedPropChanges""" @@ -37,6 +51,14 @@ class WebhookProjectsV2ItemReorderedPropChangesType(TypedDict): ] +class WebhookProjectsV2ItemReorderedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ItemReorderedPropChanges""" + + previous_projects_v2_item_node_id: NotRequired[ + WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse + ] + + class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType( TypedDict ): @@ -46,8 +68,20 @@ class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdT to: NotRequired[Union[str, None]] +class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeId""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType", + "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesType", + "WebhookProjectsV2ItemReorderedPropChangesTypeForResponse", "WebhookProjectsV2ItemReorderedType", + "WebhookProjectsV2ItemReorderedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0827.py b/githubkit/versions/ghec_v2022_11_28/types/group_0827.py index 70cea7cb9..af1c50e8a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0827.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0827.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0570 import WebhooksProjectChangesType -from .group_0571 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0570 import ( + WebhooksProjectChangesType, + WebhooksProjectChangesTypeForResponse, +) +from .group_0571 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemRestoredType(TypedDict): @@ -30,4 +36,18 @@ class WebhookProjectsV2ItemRestoredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemRestoredType",) +class WebhookProjectsV2ItemRestoredTypeForResponse(TypedDict): + """Projects v2 Item Restored Event""" + + action: Literal["restored"] + changes: WebhooksProjectChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemRestoredType", + "WebhookProjectsV2ItemRestoredTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0828.py b/githubkit/versions/ghec_v2022_11_28/types/group_0828.py index ac8b19b4c..9af8876ac 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0828.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0828.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0265 import ProjectsV2Type -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0265 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectReopenedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectReopenedType",) +class WebhookProjectsV2ProjectReopenedTypeForResponse(TypedDict): + """Projects v2 Project Reopened Event""" + + action: Literal["reopened"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectReopenedType", + "WebhookProjectsV2ProjectReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0829.py b/githubkit/versions/ghec_v2022_11_28/types/group_0829.py index af3bc8405..37ba828ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0829.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0829.py @@ -12,10 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0264 import ProjectsV2StatusUpdateType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0264 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateCreatedType(TypedDict): @@ -28,4 +34,17 @@ class WebhookProjectsV2StatusUpdateCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2StatusUpdateCreatedType",) +class WebhookProjectsV2StatusUpdateCreatedTypeForResponse(TypedDict): + """Projects v2 Status Update Created Event""" + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2StatusUpdateCreatedType", + "WebhookProjectsV2StatusUpdateCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0830.py b/githubkit/versions/ghec_v2022_11_28/types/group_0830.py index 339b11528..e88a3359a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0830.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0830.py @@ -12,10 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0264 import ProjectsV2StatusUpdateType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0264 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateDeletedType(TypedDict): @@ -28,4 +34,17 @@ class WebhookProjectsV2StatusUpdateDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2StatusUpdateDeletedType",) +class WebhookProjectsV2StatusUpdateDeletedTypeForResponse(TypedDict): + """Projects v2 Status Update Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2StatusUpdateDeletedType", + "WebhookProjectsV2StatusUpdateDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0831.py b/githubkit/versions/ghec_v2022_11_28/types/group_0831.py index 08d35d7db..04b4d241b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0831.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0831.py @@ -13,10 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0264 import ProjectsV2StatusUpdateType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0264 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateEditedType(TypedDict): @@ -30,6 +36,17 @@ class WebhookProjectsV2StatusUpdateEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2StatusUpdateEditedTypeForResponse(TypedDict): + """Projects v2 Status Update Edited Event""" + + action: Literal["edited"] + changes: NotRequired[WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2StatusUpdateEditedPropChangesType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChanges""" @@ -43,6 +60,23 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesType(TypedDict): ] +class WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2StatusUpdateEditedPropChanges""" + + body: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse + ] + status: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse + ] + start_date: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse + ] + target_date: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse + ] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropBody""" @@ -50,6 +84,13 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropBody""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropStatus""" @@ -61,6 +102,19 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType(TypedDict): ] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropStatus""" + + from_: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + to: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDate""" @@ -68,6 +122,15 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType(TypedDict) to: NotRequired[Union[date, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDate""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDate""" @@ -75,11 +138,26 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType(TypedDict to: NotRequired[Union[date, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDate""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesType", + "WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse", "WebhookProjectsV2StatusUpdateEditedType", + "WebhookProjectsV2StatusUpdateEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0832.py b/githubkit/versions/ghec_v2022_11_28/types/group_0832.py index 34b597e03..93023df13 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0832.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0832.py @@ -11,11 +11,14 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPublicType(TypedDict): @@ -28,4 +31,17 @@ class WebhookPublicType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPublicType",) +class WebhookPublicTypeForResponse(TypedDict): + """public event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPublicType", + "WebhookPublicTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0833.py b/githubkit/versions/ghec_v2022_11_28/types/group_0833.py index 18c13543e..ad7f66cae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0833.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0833.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0547 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0547 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookPullRequestAssignedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestAssignedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAssignedTypeForResponse(TypedDict): + """pull_request assigned event""" + + action: Literal["assigned"] + assignee: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAssignedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAssignedPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,95 @@ class WebhookPullRequestAssignedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAssignedPropPullRequestPropUserType, None] +class WebhookPullRequestAssignedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestAssignedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +244,33 @@ class WebhookPullRequestAssignedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -165,6 +298,35 @@ class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -179,6 +341,21 @@ class WebhookPullRequestAssignedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -208,6 +385,35 @@ class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -220,6 +426,20 @@ class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -247,6 +467,33 @@ class WebhookPullRequestAssignedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -273,6 +520,33 @@ class WebhookPullRequestAssignedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -300,7 +574,7 @@ class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -329,7 +603,9 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0 user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -356,27 +632,137 @@ class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAssignedPropPullRequestPropLinks""" - - comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropLinks""" + + comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType(TypedDict): @@ -385,18 +771,42 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -405,6 +815,14 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -413,18 +831,42 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAssignedPropPullRequestPropBase""" @@ -435,6 +877,18 @@ class WebhookPullRequestAssignedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestAssignedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestAssignedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -462,7 +916,392 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -522,7 +1361,7 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -537,10 +1376,10 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -574,68 +1413,9 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAssignedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAssignedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -659,7 +1439,7 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -695,7 +1475,8 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -710,15 +1491,16 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -738,7 +1520,7 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -759,6 +1541,18 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -786,6 +1580,35 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -798,6 +1621,18 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -825,6 +1660,35 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -853,6 +1717,34 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -873,6 +1765,26 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -899,6 +1811,34 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -917,42 +1857,97 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAssignedPropPullRequestPropAssigneeType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBaseType", + "WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadType", + "WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksType", + "WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMergedByType", + "WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestoneType", + "WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestType", + "WebhookPullRequestAssignedPropPullRequestTypeForResponse", "WebhookPullRequestAssignedType", + "WebhookPullRequestAssignedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0834.py b/githubkit/versions/ghec_v2022_11_28/types/group_0834.py index 356f670ef..480b66249 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0834.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0834.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestAutoMergeDisabledType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestAutoMergeDisabledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAutoMergeDisabledTypeForResponse(TypedDict): + """pull_request auto_merge_disabled event""" + + action: Literal["auto_merge_disabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse + reason: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAutoMergeDisabledPropPullRequestType(TypedDict): """Pull Request""" @@ -119,6 +136,101 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType, None] +class WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -146,6 +258,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType(TypedDi user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -174,6 +315,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType( url: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -189,6 +358,23 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType(TypedD merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -218,6 +404,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabled user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -230,6 +445,20 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType(Type url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -257,6 +486,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType(TypedDi user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +542,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType(TypedD url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -313,7 +600,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreator user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -337,12 +624,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -369,9 +658,94 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" - +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" + comments: ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType ) @@ -388,6 +762,21 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict) ) +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" + + comments: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType( TypedDict ): @@ -396,6 +785,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTyp href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType( TypedDict ): @@ -404,6 +801,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType( TypedDict ): @@ -412,6 +817,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -420,6 +833,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -428,6 +849,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewComme href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -436,6 +865,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewComme href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -444,6 +881,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -452,6 +897,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTyp href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBase""" @@ -464,7 +917,474 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType(TypedDict): ] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_discussions: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_discussions: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -491,7 +1411,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -534,10 +1454,10 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ git_url: str has_downloads: bool has_issues: bool - has_discussions: bool has_pages: bool has_projects: bool has_wiki: bool + has_discussions: bool homepage: Union[str, None] hooks_url: str html_url: str @@ -551,7 +1471,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -567,11 +1487,11 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -605,101 +1525,9 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission - s - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -723,7 +1551,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -759,7 +1587,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -775,16 +1603,16 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -804,7 +1632,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -825,6 +1653,18 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLice url: Union[str, None] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -854,6 +1694,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwne user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -868,6 +1737,20 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPerm triage: NotRequired[bool] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -896,6 +1779,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -916,6 +1827,26 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOne + of1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -944,6 +1875,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsT url: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -964,42 +1923,99 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsP url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropPar + ent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeDisabledType", + "WebhookPullRequestAutoMergeDisabledTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0835.py b/githubkit/versions/ghec_v2022_11_28/types/group_0835.py index 1c56da22f..904305c97 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0835.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0835.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestAutoMergeEnabledType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestAutoMergeEnabledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAutoMergeEnabledTypeForResponse(TypedDict): + """pull_request auto_merge_enabled event""" + + action: Literal["auto_merge_enabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse + reason: NotRequired[str] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAutoMergeEnabledPropPullRequestType(TypedDict): """Pull Request""" @@ -119,6 +136,101 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType, None] +class WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -146,6 +258,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -174,6 +315,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType( url: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -189,6 +358,23 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType(TypedDi merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -218,6 +404,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledB user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -230,6 +445,20 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType(Typed url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -257,6 +486,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +542,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType(TypedDi url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -313,7 +600,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorT user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -342,7 +629,9 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -369,8 +658,93 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType @@ -386,6 +760,21 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" + + comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType( TypedDict ): @@ -394,6 +783,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType( TypedDict ): @@ -402,12 +799,28 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType( href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -416,6 +829,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType( href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -424,6 +845,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommen href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -432,12 +861,28 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommen href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -446,6 +891,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBase""" @@ -458,7 +911,474 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType(TypedDict): ] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" + + label: str + ref: str + repo: ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -485,7 +1405,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(Type user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -545,7 +1465,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -561,11 +1481,11 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -599,99 +1519,9 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -715,7 +1545,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -751,7 +1581,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -767,16 +1597,16 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -796,7 +1626,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -817,6 +1647,18 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicen url: Union[str, None] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -846,6 +1688,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwner user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -858,6 +1729,18 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermi triage: NotRequired[bool] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -886,6 +1769,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -906,6 +1817,26 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneo + f1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -934,6 +1865,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTy url: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -954,42 +1913,99 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPr url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropPare + nt + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeEnabledType", + "WebhookPullRequestAutoMergeEnabledTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0836.py b/githubkit/versions/ghec_v2022_11_28/types/group_0836.py index ea9d40b93..ca02cedcf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0836.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0836.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestClosedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestClosedType",) +class WebhookPullRequestClosedTypeForResponse(TypedDict): + """pull_request closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestClosedType", + "WebhookPullRequestClosedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0837.py b/githubkit/versions/ghec_v2022_11_28/types/group_0837.py index 79e417dc5..116141b29 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0837.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0837.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestConvertedToDraftType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestConvertedToDraftType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestConvertedToDraftType",) +class WebhookPullRequestConvertedToDraftTypeForResponse(TypedDict): + """pull_request converted_to_draft event""" + + action: Literal["converted_to_draft"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestConvertedToDraftType", + "WebhookPullRequestConvertedToDraftTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0838.py b/githubkit/versions/ghec_v2022_11_28/types/group_0838.py index 5084e7d4e..5d282ec9f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0838.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0838.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0193 import MilestoneType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0574 import WebhooksPullRequest5Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0574 import WebhooksPullRequest5Type, WebhooksPullRequest5TypeForResponse class WebhookPullRequestDemilestonedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestDemilestonedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookPullRequestDemilestonedType",) +class WebhookPullRequestDemilestonedTypeForResponse(TypedDict): + """pull_request demilestoned event""" + + action: Literal["demilestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + milestone: NotRequired[MilestoneTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhooksPullRequest5TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookPullRequestDemilestonedType", + "WebhookPullRequestDemilestonedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0839.py b/githubkit/versions/ghec_v2022_11_28/types/group_0839.py index 39088317e..e9631f871 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0839.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0839.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestDequeuedType(TypedDict): @@ -47,6 +50,33 @@ class WebhookPullRequestDequeuedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestDequeuedTypeForResponse(TypedDict): + """pull_request dequeued event""" + + action: Literal["dequeued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestDequeuedPropPullRequestTypeForResponse + reason: Literal[ + "UNKNOWN_REMOVAL_REASON", + "MANUAL", + "MERGE", + "MERGE_CONFLICT", + "CI_FAILURE", + "CI_TIMEOUT", + "ALREADY_MERGED", + "QUEUE_CLEARED", + "ROLL_BACK", + "BRANCH_PROTECTIONS", + "GIT_TREE_INVALID", + "INVALID_MERGE_COMMIT", + ] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestDequeuedPropPullRequestType(TypedDict): """Pull Request""" @@ -123,6 +153,95 @@ class WebhookPullRequestDequeuedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestDequeuedPropPullRequestPropUserType, None] +class WebhookPullRequestDequeuedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestDequeuedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -150,6 +269,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -176,6 +322,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -190,6 +364,21 @@ class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -219,6 +408,35 @@ class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -231,6 +449,20 @@ class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -258,6 +490,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +543,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -311,7 +597,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -335,12 +621,14 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0 site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -362,16 +650,99 @@ class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestDequeuedPropPullRequestPropLinks""" +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropLinks""" + + comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType html: WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType issue: WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType review_comment: ( @@ -384,30 +755,81 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -416,6 +838,14 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -424,18 +854,42 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestDequeuedPropPullRequestPropBase""" @@ -446,7 +900,458 @@ class WebhookPullRequestDequeuedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType, None] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -473,7 +1378,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -533,7 +1438,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -548,10 +1453,10 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -585,95 +1490,9 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestDequeuedPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -697,7 +1516,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -733,7 +1552,8 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -748,15 +1568,16 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -776,7 +1597,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -797,6 +1618,18 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -824,6 +1657,35 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -836,6 +1698,18 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -864,6 +1738,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -884,6 +1786,26 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -910,6 +1832,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -928,42 +1878,97 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestDequeuedPropPullRequestPropAssigneeType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBaseType", + "WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMergedByType", + "WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestoneType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestType", + "WebhookPullRequestDequeuedPropPullRequestTypeForResponse", "WebhookPullRequestDequeuedType", + "WebhookPullRequestDequeuedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0840.py b/githubkit/versions/ghec_v2022_11_28/types/group_0840.py index 5f0f5b559..a18cb2c68 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0840.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0840.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestEditedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPullRequestEditedTypeForResponse(TypedDict): + """pull_request edited event""" + + action: Literal["edited"] + changes: WebhookPullRequestEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPullRequestEditedPropChangesType(TypedDict): """WebhookPullRequestEditedPropChanges @@ -45,18 +62,41 @@ class WebhookPullRequestEditedPropChangesType(TypedDict): title: NotRequired[WebhookPullRequestEditedPropChangesPropTitleType] +class WebhookPullRequestEditedPropChangesTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChanges + + The changes to the comment if the action was `edited`. + """ + + base: NotRequired[WebhookPullRequestEditedPropChangesPropBaseTypeForResponse] + body: NotRequired[WebhookPullRequestEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookPullRequestEditedPropChangesPropTitleTypeForResponse] + + class WebhookPullRequestEditedPropChangesPropBodyType(TypedDict): """WebhookPullRequestEditedPropChangesPropBody""" from_: str +class WebhookPullRequestEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBody""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropTitleType(TypedDict): """WebhookPullRequestEditedPropChangesPropTitle""" from_: str +class WebhookPullRequestEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropTitle""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropBaseType(TypedDict): """WebhookPullRequestEditedPropChangesPropBase""" @@ -64,24 +104,50 @@ class WebhookPullRequestEditedPropChangesPropBaseType(TypedDict): sha: WebhookPullRequestEditedPropChangesPropBasePropShaType +class WebhookPullRequestEditedPropChangesPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBase""" + + ref: WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse + sha: WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse + + class WebhookPullRequestEditedPropChangesPropBasePropRefType(TypedDict): """WebhookPullRequestEditedPropChangesPropBasePropRef""" from_: str +class WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBasePropRef""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropBasePropShaType(TypedDict): """WebhookPullRequestEditedPropChangesPropBasePropSha""" from_: str +class WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBasePropSha""" + + from_: str + + __all__ = ( "WebhookPullRequestEditedPropChangesPropBasePropRefType", + "WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropShaType", + "WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse", "WebhookPullRequestEditedPropChangesPropBaseType", + "WebhookPullRequestEditedPropChangesPropBaseTypeForResponse", "WebhookPullRequestEditedPropChangesPropBodyType", + "WebhookPullRequestEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestEditedPropChangesPropTitleType", + "WebhookPullRequestEditedPropChangesPropTitleTypeForResponse", "WebhookPullRequestEditedPropChangesType", + "WebhookPullRequestEditedPropChangesTypeForResponse", "WebhookPullRequestEditedType", + "WebhookPullRequestEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0841.py b/githubkit/versions/ghec_v2022_11_28/types/group_0841.py index 816b29b4f..0047f8cc1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0841.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0841.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestEnqueuedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestEnqueuedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestEnqueuedTypeForResponse(TypedDict): + """pull_request enqueued event""" + + action: Literal["enqueued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestEnqueuedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestEnqueuedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,95 @@ class WebhookPullRequestEnqueuedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestEnqueuedPropPullRequestPropUserType, None] +class WebhookPullRequestEnqueuedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +241,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +294,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +336,21 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -205,6 +380,35 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +421,20 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +462,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +515,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,7 +569,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -321,12 +593,14 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0 site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -348,30 +622,140 @@ class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" - - comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType - +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" -class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" + + comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" href: str @@ -382,18 +766,42 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -402,6 +810,14 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -410,18 +826,42 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestEnqueuedPropPullRequestPropBase""" @@ -432,7 +872,458 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType, None] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -459,7 +1350,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -519,7 +1410,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -534,10 +1425,10 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -571,95 +1462,9 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestEnqueuedPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -683,7 +1488,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -719,7 +1524,8 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -734,15 +1540,16 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -762,7 +1569,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -783,6 +1590,18 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -810,6 +1629,35 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -822,6 +1670,18 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -850,6 +1710,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -870,6 +1758,26 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -896,6 +1804,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -914,42 +1850,97 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBaseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMergedByType", + "WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestType", + "WebhookPullRequestEnqueuedPropPullRequestTypeForResponse", "WebhookPullRequestEnqueuedType", + "WebhookPullRequestEnqueuedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0842.py b/githubkit/versions/ghec_v2022_11_28/types/group_0842.py index 06b234210..d948ccf5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0842.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0842.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookPullRequestLabeledType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestLabeledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestLabeledTypeForResponse(TypedDict): + """pull_request labeled event""" + + action: Literal["labeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: NotRequired[WebhooksLabelTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestLabeledPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestLabeledPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,91 @@ class WebhookPullRequestLabeledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestLabeledPropPullRequestPropUserType, None] +class WebhookPullRequestLabeledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse, None] + ] + milestone: Union[ + WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestLabeledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +240,33 @@ class WebhookPullRequestLabeledPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -164,6 +293,34 @@ class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -178,6 +335,21 @@ class WebhookPullRequestLabeledPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType(TypedDict): """User""" @@ -205,6 +377,35 @@ class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +418,18 @@ class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +457,33 @@ class WebhookPullRequestLabeledPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +510,33 @@ class WebhookPullRequestLabeledPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,6 +564,35 @@ class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): @@ -326,7 +622,9 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0T user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -353,8 +651,62 @@ class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestLabeledPropPullRequestPropLinks""" +class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropLinks""" comments: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType @@ -370,36 +722,93 @@ class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -408,18 +817,42 @@ class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestLabeledPropPullRequestPropBase""" @@ -430,6 +863,18 @@ class WebhookPullRequestLabeledPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestLabeledPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestLabeledPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -457,7 +902,392 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -517,7 +1347,7 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -532,10 +1362,10 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -569,68 +1399,9 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestLabeledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestLabeledPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -654,7 +1425,7 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -690,7 +1461,8 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -705,15 +1477,16 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -733,7 +1506,7 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -754,6 +1527,18 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -781,6 +1566,35 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -793,6 +1607,18 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTyp triage: NotRequired[bool] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -820,6 +1646,35 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -848,6 +1703,34 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1T url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -868,6 +1751,26 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1P url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropPar + ent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -894,6 +1797,34 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType(TypedD url: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -912,42 +1843,97 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentT url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestLabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBaseType", + "WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadType", + "WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksType", + "WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMergedByType", + "WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestType", + "WebhookPullRequestLabeledPropPullRequestTypeForResponse", "WebhookPullRequestLabeledType", + "WebhookPullRequestLabeledTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0843.py b/githubkit/versions/ghec_v2022_11_28/types/group_0843.py index 998ae1df8..deba46d34 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0843.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0843.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestLockedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestLockedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestLockedTypeForResponse(TypedDict): + """pull_request locked event""" + + action: Literal["locked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestLockedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestLockedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,91 @@ class WebhookPullRequestLockedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestLockedPropPullRequestPropUserType, None] +class WebhookPullRequestLockedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse, None] + ] + milestone: Union[ + WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestLockedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +237,33 @@ class WebhookPullRequestLockedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +290,34 @@ class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +332,21 @@ class WebhookPullRequestLockedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType(TypedDict): """User""" @@ -203,6 +374,35 @@ class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType(Type user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -215,6 +415,18 @@ class WebhookPullRequestLockedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -242,6 +454,33 @@ class WebhookPullRequestLockedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -268,6 +507,33 @@ class WebhookPullRequestLockedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -295,6 +561,35 @@ class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType(TypedD user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): @@ -324,7 +619,9 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Ty user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -351,8 +648,62 @@ class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestLockedPropPullRequestPropLinks""" +class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropLinks""" comments: WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType @@ -368,54 +719,137 @@ class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse + ) + review_comments: WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestLockedPropPullRequestPropBase""" @@ -426,6 +860,18 @@ class WebhookPullRequestLockedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestLockedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestLockedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -453,7 +899,386 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -513,7 +1338,7 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -528,10 +1353,10 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -565,66 +1390,7 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType(TypedDict): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestLockedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestLockedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse(TypedDict): """Repository A git repository @@ -648,7 +1414,7 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -684,7 +1450,8 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -699,15 +1466,16 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -727,7 +1495,7 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -746,6 +1514,18 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType(Typ url: Union[str, None] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -773,6 +1553,35 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -785,6 +1594,18 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType triage: NotRequired[bool] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -812,6 +1633,33 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -840,6 +1688,34 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Ty url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -860,6 +1736,26 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Pr url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropPare + nt + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -886,6 +1782,34 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType(TypedDi url: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -904,42 +1828,97 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTy url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestLockedPropPullRequestPropAssigneeType", + "WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBaseType", + "WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadType", + "WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksType", + "WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMergedByType", + "WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestoneType", + "WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropUserType", + "WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestType", + "WebhookPullRequestLockedPropPullRequestTypeForResponse", "WebhookPullRequestLockedType", + "WebhookPullRequestLockedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0844.py b/githubkit/versions/ghec_v2022_11_28/types/group_0844.py index 72949a0e0..272c9b3e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0844.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0844.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0193 import MilestoneType -from .group_0534 import EnterpriseWebhooksType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0574 import WebhooksPullRequest5Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0193 import MilestoneType, MilestoneTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0574 import WebhooksPullRequest5Type, WebhooksPullRequest5TypeForResponse class WebhookPullRequestMilestonedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestMilestonedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookPullRequestMilestonedType",) +class WebhookPullRequestMilestonedTypeForResponse(TypedDict): + """pull_request milestoned event""" + + action: Literal["milestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + milestone: NotRequired[MilestoneTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhooksPullRequest5TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookPullRequestMilestonedType", + "WebhookPullRequestMilestonedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0845.py b/githubkit/versions/ghec_v2022_11_28/types/group_0845.py index 5a1078102..b4294d720 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0845.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0845.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestOpenedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestOpenedType",) +class WebhookPullRequestOpenedTypeForResponse(TypedDict): + """pull_request opened event""" + + action: Literal["opened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestOpenedType", + "WebhookPullRequestOpenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0846.py b/githubkit/versions/ghec_v2022_11_28/types/group_0846.py index ace8387db..1bb4817d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0846.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0846.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestReadyForReviewType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestReadyForReviewType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestReadyForReviewType",) +class WebhookPullRequestReadyForReviewTypeForResponse(TypedDict): + """pull_request ready_for_review event""" + + action: Literal["ready_for_review"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestReadyForReviewType", + "WebhookPullRequestReadyForReviewTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0847.py b/githubkit/versions/ghec_v2022_11_28/types/group_0847.py index 793ac4399..944e78d4e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0847.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0847.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0572 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0572 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestReopenedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestReopenedType",) +class WebhookPullRequestReopenedTypeForResponse(TypedDict): + """pull_request reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestReopenedType", + "WebhookPullRequestReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0848.py b/githubkit/versions/ghec_v2022_11_28/types/group_0848.py index 27299d28d..0f1c14e5c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0848.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0848.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewCommentCreatedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestReviewCommentCreatedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentCreatedTypeForResponse(TypedDict): + """pull_request_review_comment created event""" + + action: Literal["created"] + comment: WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentCreatedPropCommentType(TypedDict): """Pull Request Review Comment @@ -79,6 +95,56 @@ class WebhookPullRequestReviewCommentCreatedPropCommentType(TypedDict): user: Union[WebhookPullRequestReviewCommentCreatedPropCommentPropUserType, None] +class WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) + itself. + """ + + links: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: Union[int, None] + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: ( + WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse + ) + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -94,6 +160,23 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType(TypedDi url: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -121,6 +204,35 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType(TypedDict): """WebhookPullRequestReviewCommentCreatedPropCommentPropLinks""" @@ -131,12 +243,30 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType(TypedDict): self_: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropCommentPropLinks""" + + html: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType( TypedDict ): @@ -145,12 +275,28 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestT href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentCreatedPropPullRequest""" @@ -226,6 +372,87 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequest""" + + links: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -253,7 +480,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -279,24 +506,10 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTyp subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType(TypedDict): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -320,53 +533,11 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnab site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType(TypedDict): - """Milestone - - A collection of related issues and pull requests. - """ - - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, - None, - ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -392,10 +563,41 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCrea subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -419,12 +621,14 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -446,107 +650,183 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDic site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType( TypedDict ): - """Link""" + """Label""" - href: str + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse( TypedDict ): - """Link""" - - href: str - + """Label""" -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType( - TypedDict -): - """Link""" + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str - href: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType(TypedDict): + """Milestone -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType( - TypedDict -): - """Link""" + A collection of related issues and pull requests. + """ - href: str + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse( TypedDict ): - """Link""" + """Milestone - href: str + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + """User""" - label: str - ref: str - repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, None - ] + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): """User""" @@ -570,12 +850,689 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -623,7 +1580,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( has_pages: bool has_projects: bool has_wiki: bool - has_discussions: bool + has_discussions: NotRequired[bool] homepage: Union[str, None] hooks_url: str html_url: str @@ -637,7 +1594,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -653,11 +1610,11 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -691,76 +1648,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss - ions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -786,7 +1674,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -822,7 +1710,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -838,16 +1726,16 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -867,7 +1755,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -888,6 +1776,18 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -917,6 +1817,35 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -931,6 +1860,20 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -960,6 +1903,35 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -988,6 +1960,34 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -1008,6 +2008,26 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1036,6 +2056,34 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1056,48 +2104,111 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropUserType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentType", + "WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedType", + "WebhookPullRequestReviewCommentCreatedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0849.py b/githubkit/versions/ghec_v2022_11_28/types/group_0849.py index 80134cd67..aec0479e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0849.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0849.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0575 import WebhooksReviewCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0575 import WebhooksReviewCommentType, WebhooksReviewCommentTypeForResponse class WebhookPullRequestReviewCommentDeletedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookPullRequestReviewCommentDeletedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentDeletedTypeForResponse(TypedDict): + """pull_request_review_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksReviewCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentDeletedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentDeletedPropPullRequest""" @@ -109,6 +125,87 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequest""" + + links: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +233,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -164,6 +290,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -179,6 +333,23 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType(Typ merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -208,6 +379,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnab user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -222,6 +422,20 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -249,6 +463,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType(Typ url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -278,7 +521,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCrea user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -307,7 +550,9 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -329,50 +574,174 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDic site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" href: str @@ -385,6 +754,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTyp href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -393,6 +770,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -401,6 +786,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -409,6 +802,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -417,6 +818,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatuses href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBase""" @@ -429,6 +838,21 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType(TypedDic ] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType( TypedDict ): @@ -458,7 +882,410 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -520,7 +1347,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -536,11 +1363,11 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -574,76 +1401,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss - ions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -669,7 +1427,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -705,7 +1463,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -721,16 +1479,16 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -750,7 +1508,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -771,6 +1529,18 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -800,6 +1570,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -814,6 +1613,20 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -843,6 +1656,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -871,6 +1713,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -891,6 +1761,26 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -919,6 +1809,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -939,41 +1857,97 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentDeletedType", + "WebhookPullRequestReviewCommentDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0850.py b/githubkit/versions/ghec_v2022_11_28/types/group_0850.py index fdd9ac453..cdcaf42f3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0850.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0850.py @@ -13,13 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0555 import WebhooksChangesType -from .group_0575 import WebhooksReviewCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0555 import WebhooksChangesType, WebhooksChangesTypeForResponse +from .group_0575 import WebhooksReviewCommentType, WebhooksReviewCommentTypeForResponse class WebhookPullRequestReviewCommentEditedType(TypedDict): @@ -36,6 +39,20 @@ class WebhookPullRequestReviewCommentEditedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentEditedTypeForResponse(TypedDict): + """pull_request_review_comment edited event""" + + action: Literal["edited"] + changes: WebhooksChangesTypeForResponse + comment: WebhooksReviewCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentEditedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentEditedPropPullRequest""" @@ -111,6 +128,87 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequest""" + + links: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +236,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -167,6 +294,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -182,6 +338,23 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType(Type merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -211,6 +384,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabl user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -225,6 +427,20 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -252,6 +468,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType(Type url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -281,7 +526,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreat user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -305,12 +550,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -332,45 +579,161 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] - user_view_type: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str - + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + user_view_type: NotRequired[str] + url: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + user_view_type: NotRequired[str] + url: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType( TypedDict @@ -380,6 +743,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType( href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -388,6 +759,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -396,6 +775,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCom href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -404,6 +791,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCom href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -412,6 +807,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType( href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -420,6 +823,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesT href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewCommentEditedPropPullRequestPropBase""" @@ -432,6 +843,21 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType(TypedDict ] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType( TypedDict ): @@ -461,7 +887,410 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -523,7 +1352,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -539,11 +1368,11 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -577,76 +1406,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi - ons - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -672,7 +1432,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -708,7 +1468,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -724,16 +1484,16 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -753,7 +1513,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -774,6 +1534,18 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLi url: Union[str, None] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -803,6 +1575,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOw user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -817,6 +1618,20 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPe triage: NotRequired[bool] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -846,6 +1661,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -874,6 +1718,34 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers url: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -894,6 +1766,26 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsO + neof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -922,6 +1814,34 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItem url: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -942,41 +1862,97 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItem url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropP + arent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestType", + "WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentEditedType", + "WebhookPullRequestReviewCommentEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0851.py b/githubkit/versions/ghec_v2022_11_28/types/group_0851.py index 9f0c492d0..5f280268c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0851.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0851.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewDismissedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestReviewDismissedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewDismissedTypeForResponse(TypedDict): + """pull_request_review dismissed event""" + + action: Literal["dismissed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhookPullRequestReviewDismissedPropReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewDismissedPropReviewType(TypedDict): """WebhookPullRequestReviewDismissedPropReview @@ -62,6 +78,37 @@ class WebhookPullRequestReviewDismissedPropReviewType(TypedDict): user: Union[WebhookPullRequestReviewDismissedPropReviewPropUserType, None] +class WebhookPullRequestReviewDismissedPropReviewTypeForResponse(TypedDict): + """WebhookPullRequestReviewDismissedPropReview + + The review that was affected. + """ + + links: WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + commit_id: str + html_url: str + id: int + node_id: str + pull_request_url: str + state: Literal["dismissed", "approved", "changes_requested"] + submitted_at: str + updated_at: NotRequired[Union[str, None]] + user: Union[ + WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewDismissedPropReviewPropUserType(TypedDict): """User""" @@ -89,6 +136,33 @@ class WebhookPullRequestReviewDismissedPropReviewPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropReviewPropLinksType(TypedDict): """WebhookPullRequestReviewDismissedPropReviewPropLinks""" @@ -98,12 +172,27 @@ class WebhookPullRequestReviewDismissedPropReviewPropLinksType(TypedDict): ) +class WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestReviewDismissedPropReviewPropLinks""" + + html: WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse + + class WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType( TypedDict ): @@ -112,6 +201,14 @@ class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType( href: str +class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewDismissedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -182,6 +279,84 @@ class WebhookPullRequestReviewDismissedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewDismissedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -209,7 +384,9 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType(TypedDict user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -233,26 +410,10 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(Typ subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType(TypedDict): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType( - TypedDict -): +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -274,51 +435,11 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledBy site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType(TypedDict): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType(TypedDict): - """Milestone - - A collection of related issues and pull requests. - """ - - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, - None, - ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -342,12 +463,43 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTy site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -371,12 +523,14 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -398,99 +552,239 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" +class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType(TypedDict): + """Label""" - comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse( TypedDict ): - """Link""" - - href: str + """Label""" + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - href: str +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType(TypedDict): + """Milestone + A collection of related issues and pull requests. + """ -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType(TypedDict): - """Link""" + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str - href: str +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType(TypedDict): - """Link""" + A collection of related issues and pull requests. + """ - href: str + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType(TypedDict): - """Link""" +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" +class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): + """User""" - label: str - ref: str - repo: WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, None - ] + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -512,12 +806,623 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(Typed site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse + html: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse + ) + issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse + ) + statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -577,7 +1482,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -593,11 +1498,11 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -631,74 +1536,9 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -722,7 +1562,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -758,7 +1598,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -774,16 +1614,16 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -803,7 +1643,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -824,6 +1664,18 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicens url: Union[str, None] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -853,6 +1705,35 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerT user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -865,6 +1746,18 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermis triage: NotRequired[bool] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -892,6 +1785,35 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -920,6 +1842,34 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -940,6 +1890,26 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof + 1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -968,6 +1938,34 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -988,46 +1986,107 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPro url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParen + t + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBaseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestType", + "WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropUserType", + "WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewType", + "WebhookPullRequestReviewDismissedPropReviewTypeForResponse", "WebhookPullRequestReviewDismissedType", + "WebhookPullRequestReviewDismissedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0852.py b/githubkit/versions/ghec_v2022_11_28/types/group_0852.py index b6cbb867c..8b9f9869f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0852.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0852.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0576 import WebhooksReviewType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0576 import WebhooksReviewType, WebhooksReviewTypeForResponse class WebhookPullRequestReviewEditedType(TypedDict): @@ -35,18 +38,44 @@ class WebhookPullRequestReviewEditedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewEditedTypeForResponse(TypedDict): + """pull_request_review edited event""" + + action: Literal["edited"] + changes: WebhookPullRequestReviewEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewEditedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhooksReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewEditedPropChangesType(TypedDict): """WebhookPullRequestReviewEditedPropChanges""" body: NotRequired[WebhookPullRequestReviewEditedPropChangesPropBodyType] +class WebhookPullRequestReviewEditedPropChangesTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropChanges""" + + body: NotRequired[WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse] + + class WebhookPullRequestReviewEditedPropChangesPropBodyType(TypedDict): """WebhookPullRequestReviewEditedPropChangesPropBody""" from_: str +class WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropChangesPropBody""" + + from_: str + + class WebhookPullRequestReviewEditedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -113,6 +142,81 @@ class WebhookPullRequestReviewEditedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewEditedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewEditedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -140,6 +244,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -166,6 +299,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType(TypedD url: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -181,6 +342,23 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -210,6 +388,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTyp user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -222,6 +429,20 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType(TypedDict url: str +class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -248,6 +469,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -277,7 +527,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -306,7 +556,9 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -333,24 +585,132 @@ class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse + ) + review_comment: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): """Link""" href: str @@ -362,18 +722,42 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType(Type href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -382,6 +766,14 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTyp href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -390,18 +782,42 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTy href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewEditedPropPullRequestPropBase""" @@ -412,6 +828,19 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -439,7 +868,379 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType(TypedDic user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -498,7 +1299,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -512,10 +1313,10 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -543,70 +1344,9 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic watchers_count: int -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewEditedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewEditedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -630,7 +1370,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -665,7 +1405,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -679,15 +1419,16 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -703,7 +1444,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -722,6 +1463,18 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTy url: Union[str, None] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -751,6 +1504,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -763,6 +1545,18 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissio triage: NotRequired[bool] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -790,6 +1584,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -818,6 +1641,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -838,6 +1689,26 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Pr + opParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -866,6 +1737,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType( url: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -884,43 +1783,99 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropPa url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewEditedPropChangesPropBodyType", + "WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestReviewEditedPropChangesType", + "WebhookPullRequestReviewEditedPropChangesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestType", + "WebhookPullRequestReviewEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewEditedType", + "WebhookPullRequestReviewEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0853.py b/githubkit/versions/ghec_v2022_11_28/types/group_0853.py index cca5af21e..88273a24c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0853.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0853.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestRemovedOneof0Type(TypedDict): @@ -36,6 +39,25 @@ class WebhookPullRequestReviewRequestRemovedOneof0Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestRemovedOneof0""" + + action: Literal["review_request_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse + ) + repository: RepositoryWebhooksTypeForResponse + requested_reviewer: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse, + None, + ] + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType(TypedDict): """User""" @@ -63,6 +85,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType(TypedDict): """Pull Request""" @@ -158,6 +209,104 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType(TypedDict) ] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse( + TypedDict +): + """Pull Request""" + + links: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType( TypedDict ): @@ -187,7 +336,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -216,24 +365,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesIt user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -262,21 +394,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -305,36 +423,41 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -363,7 +486,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -392,7 +515,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType( TypedDict ): """User""" @@ -421,107 +572,894 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" - - comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType - html: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType - ) - issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType - self_: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType - ) - statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """Link""" - - href: str - + """User""" -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType( - TypedDict + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType + html: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType + ) + issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType + self_: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType + ) + statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse( + TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" label: str ref: str repo: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType ) sha: str user: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, None, ] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType( TypedDict ): """User""" @@ -550,7 +1488,36 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUse user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -612,7 +1579,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -628,11 +1595,11 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -666,108 +1633,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP - ermissions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" - - label: str - ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType - ) - sha: str - user: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, - None, - ] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -793,7 +1659,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -829,7 +1695,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -845,16 +1711,16 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -874,7 +1740,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -895,6 +1761,18 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep url: Union[str, None] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -924,6 +1802,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -938,6 +1845,20 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep triage: NotRequired[bool] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropP + ermissions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -966,6 +1887,34 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -986,6 +1935,26 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewer + sItemsOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1014,6 +1983,34 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1034,43 +2031,101 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsIte + msPropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0854.py b/githubkit/versions/ghec_v2022_11_28/types/group_0854.py index a4d3616ba..564e3fa52 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0854.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0854.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestRemovedOneof1Type(TypedDict): @@ -34,6 +37,24 @@ class WebhookPullRequestReviewRequestRemovedOneof1Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestRemovedOneof1""" + + action: Literal["review_request_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse + ) + repository: RepositoryWebhooksTypeForResponse + requested_team: ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse + ) + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType(TypedDict): """Team @@ -60,6 +81,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType(TypedDic url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType( TypedDict ): @@ -78,6 +127,24 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTyp url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType(TypedDict): """Pull Request""" @@ -173,6 +240,104 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType(TypedDict) ] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse( + TypedDict +): + """Pull Request""" + + links: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType( TypedDict ): @@ -202,7 +367,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -231,24 +396,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesIt user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -277,21 +425,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -320,36 +454,41 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -378,7 +517,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -407,7 +546,35 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType( TypedDict ): """User""" @@ -436,107 +603,894 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + """User""" - comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType - html: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType - ) - issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType - self_: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType - ) + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType + html: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType + ) + issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType + self_: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType + ) statuses: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" - href: str + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, + None, + ] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" label: str ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType - ) + repo: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse sha: str user: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse, None, ] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType( TypedDict ): """User""" @@ -565,7 +1519,36 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUse user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -627,7 +1610,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -643,11 +1626,11 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -681,108 +1664,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP - ermissions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" - - label: str - ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType - ) - sha: str - user: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, - None, - ] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -808,7 +1690,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -844,7 +1726,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -860,16 +1742,16 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -889,7 +1771,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -910,6 +1792,18 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep url: Union[str, None] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -939,6 +1833,35 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -953,6 +1876,20 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep triage: NotRequired[bool] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropP + ermissions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -981,6 +1918,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -1001,6 +1966,26 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewer + sItemsOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1029,6 +2014,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1049,44 +2062,103 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsIte + msPropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0855.py b/githubkit/versions/ghec_v2022_11_28/types/group_0855.py index b7eb9b769..7c2d13ec0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0855.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0855.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestedOneof0Type(TypedDict): @@ -36,6 +39,23 @@ class WebhookPullRequestReviewRequestedOneof0Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestedOneof0TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestedOneof0""" + + action: Literal["review_requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requested_reviewer: Union[ + WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse, + None, + ] + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType(TypedDict): """User""" @@ -63,6 +83,35 @@ class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType(TypedDict user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestType(TypedDict): """Pull Request""" @@ -154,6 +203,104 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType(TypedDict): """User""" @@ -181,7 +328,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -210,24 +357,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -251,26 +381,14 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEna site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -292,41 +410,46 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(Typ site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -350,12 +473,12 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCre site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -384,7 +507,35 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -406,107 +557,916 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDi site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" label: str ref: str - repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType sha: str user: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, None + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + None, ] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse( TypedDict ): """User""" @@ -535,7 +1495,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -597,7 +1557,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -613,11 +1573,11 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -651,103 +1611,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis - sions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -773,7 +1637,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -809,7 +1673,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -825,16 +1689,16 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -854,7 +1718,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -875,6 +1739,18 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp url: Union[str, None] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -904,6 +1780,35 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -918,6 +1823,20 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp triage: NotRequired[bool] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermis + sions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -946,6 +1865,34 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -966,6 +1913,26 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItem + sOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -994,6 +1961,34 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsIt url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1014,43 +2009,101 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsIt url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0Type", + "WebhookPullRequestReviewRequestedOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0856.py b/githubkit/versions/ghec_v2022_11_28/types/group_0856.py index d5bd7b3e4..f7c081c5c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0856.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0856.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestedOneof1Type(TypedDict): @@ -34,6 +37,22 @@ class WebhookPullRequestReviewRequestedOneof1Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestedOneof1TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestedOneof1""" + + action: Literal["review_requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requested_team: ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse + ) + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType(TypedDict): """Team @@ -59,6 +78,34 @@ class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType(TypedDict): url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType(TypedDict): """WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParent""" @@ -75,6 +122,24 @@ class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType(Typ url: str +class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestType(TypedDict): """Pull Request""" @@ -166,6 +231,104 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType(TypedDict): """User""" @@ -193,7 +356,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -222,24 +385,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -263,26 +409,14 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEna site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -304,41 +438,46 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(Typ site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -362,12 +501,12 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCre site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -396,7 +535,35 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -418,19 +585,278 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDi site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" - comments: ( - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType ) html: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType issue: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType @@ -442,83 +868,633 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedD ) -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType( - TypedDict -): - """Link""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" - href: str + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, None + ] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" label: str ref: str - repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse sha: str user: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, None + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + None, ] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse( TypedDict ): """User""" @@ -547,7 +1523,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -609,7 +1585,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -625,11 +1601,11 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -663,103 +1639,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis - sions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -785,7 +1665,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -821,7 +1701,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -837,16 +1717,16 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -866,7 +1746,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -887,6 +1767,18 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp url: Union[str, None] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -916,6 +1808,35 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -930,6 +1851,20 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp triage: NotRequired[bool] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermis + sions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -958,6 +1893,34 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -978,6 +1941,26 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItem + sOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1006,6 +1989,34 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsIt url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1026,44 +2037,103 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsIt url: str +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestedOneof1Type", + "WebhookPullRequestReviewRequestedOneof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0857.py b/githubkit/versions/ghec_v2022_11_28/types/group_0857.py index fef7294e4..ead067e7a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0857.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0857.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0576 import WebhooksReviewType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0576 import WebhooksReviewType, WebhooksReviewTypeForResponse class WebhookPullRequestReviewSubmittedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookPullRequestReviewSubmittedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewSubmittedTypeForResponse(TypedDict): + """pull_request_review submitted event""" + + action: Literal["submitted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhooksReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewSubmittedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -104,6 +120,84 @@ class WebhookPullRequestReviewSubmittedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewSubmittedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -131,6 +225,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType(TypedDict user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -157,6 +280,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType(Typ url: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -172,6 +323,23 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType(TypedDic merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -201,6 +369,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledBy user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -213,6 +410,20 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType(TypedD url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -240,6 +451,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType(TypedDic url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -269,7 +509,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -298,7 +538,9 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -325,32 +567,152 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" - - comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse + html: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse + ) + issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse + ) + statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse( TypedDict ): """Link""" @@ -364,12 +726,28 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType(Type href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -378,6 +756,14 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewComment href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -386,12 +772,28 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewComment href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -400,6 +802,14 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType( href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewSubmittedPropPullRequestPropBase""" @@ -412,6 +822,23 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType(TypedDict): ] +class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -439,7 +866,404 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType(Typed user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -499,7 +1323,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -515,11 +1339,11 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -553,74 +1377,9 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -644,7 +1403,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -680,7 +1439,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -696,16 +1455,16 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -725,7 +1484,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -746,6 +1505,18 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicens url: Union[str, None] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -775,6 +1546,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerT user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -787,6 +1587,18 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermis triage: NotRequired[bool] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -814,6 +1626,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -842,6 +1683,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -862,6 +1731,26 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof + 1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -890,6 +1779,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -910,41 +1827,97 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPro url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParen + t + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestType", + "WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse", "WebhookPullRequestReviewSubmittedType", + "WebhookPullRequestReviewSubmittedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0858.py b/githubkit/versions/ghec_v2022_11_28/types/group_0858.py index c12411b9c..2c1cfee88 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0858.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0858.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewThreadResolvedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestReviewThreadResolvedType(TypedDict): updated_at: NotRequired[Union[datetime, None]] +class WebhookPullRequestReviewThreadResolvedTypeForResponse(TypedDict): + """pull_request_review_thread resolved event""" + + action: Literal["resolved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + thread: WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse + updated_at: NotRequired[Union[str, None]] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -107,6 +124,85 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -134,6 +230,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -162,6 +287,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -177,6 +330,23 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType(Typ merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -206,6 +376,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnab user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -220,6 +419,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -247,6 +460,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType(Typ url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -276,7 +518,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCrea user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -300,12 +542,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -332,47 +576,171 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDic user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType( @@ -383,6 +751,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTyp href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -391,6 +767,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -399,6 +783,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -407,6 +799,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -415,6 +815,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatuses href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBase""" @@ -427,6 +835,21 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType(TypedDic ] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType( TypedDict ): @@ -456,7 +879,145 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): """Repository @@ -482,7 +1043,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -518,7 +1079,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -532,16 +1093,16 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -557,7 +1118,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -577,6 +1138,18 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): @@ -606,6 +1179,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): @@ -620,6 +1222,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHead""" @@ -634,6 +1250,24 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType(TypedDic ] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType( TypedDict ): @@ -743,6 +1377,115 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType( web_commit_signoff_required: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType( TypedDict ): @@ -755,6 +1498,18 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -784,6 +1539,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -798,6 +1582,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -827,6 +1625,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -855,6 +1682,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -875,6 +1730,26 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -903,6 +1778,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -923,6 +1826,26 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropThreadType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropThread""" @@ -932,6 +1855,15 @@ class WebhookPullRequestReviewThreadResolvedPropThreadType(TypedDict): node_id: str +class WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse(TypedDict): + """WebhookPullRequestReviewThreadResolvedPropThread""" + + comments: list[ + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse + ] + node_id: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType(TypedDict): """Pull Request Review Comment @@ -983,6 +1915,57 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType(Type ] +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse( + TypedDict +): + """Pull Request Review Comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) + itself. + """ + + links: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: Union[int, None] + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType( TypedDict ): @@ -1000,6 +1983,23 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReact url: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType( TypedDict ): @@ -1029,6 +2029,35 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserT user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType( TypedDict ): @@ -1039,6 +2068,16 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks self_: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks""" + + html: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType( TypedDict ): @@ -1047,6 +2086,14 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType( TypedDict ): @@ -1055,6 +2102,14 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType( TypedDict ): @@ -1063,49 +2118,101 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + __all__ = ( "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadType", + "WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadResolvedType", + "WebhookPullRequestReviewThreadResolvedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0859.py b/githubkit/versions/ghec_v2022_11_28/types/group_0859.py index ea45034aa..f0b6427d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0859.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0859.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewThreadUnresolvedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestReviewThreadUnresolvedType(TypedDict): updated_at: NotRequired[Union[datetime, None]] +class WebhookPullRequestReviewThreadUnresolvedTypeForResponse(TypedDict): + """pull_request_review_thread unresolved event""" + + action: Literal["unresolved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + thread: WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse + updated_at: NotRequired[Union[str, None]] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -109,6 +126,87 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType( TypedDict ): @@ -138,6 +236,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -166,6 +293,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsT url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType( TypedDict ): @@ -183,6 +338,23 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType( merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: str + enabled_by: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -212,6 +384,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEn user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -226,6 +427,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType( TypedDict ): @@ -255,6 +470,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType( url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -284,7 +528,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCr user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -313,7 +557,9 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -340,47 +586,171 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedD user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType( @@ -391,6 +761,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueT href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -399,6 +777,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReview href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -407,6 +793,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReview href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -415,6 +809,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTy href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -423,6 +825,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatus href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBase""" @@ -436,6 +846,21 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType(TypedD ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType( TypedDict ): @@ -465,7 +890,145 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): """Repository @@ -491,7 +1054,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -527,7 +1090,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -541,16 +1104,16 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -566,7 +1129,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -586,6 +1149,18 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro url: Union[str, None] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): @@ -615,6 +1190,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): @@ -629,6 +1233,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro triage: NotRequired[bool] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermi + ssions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHead""" @@ -642,6 +1260,21 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType(TypedD ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -671,6 +1304,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTyp user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType( TypedDict ): @@ -780,6 +1442,115 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTyp web_commit_signoff_required: NotRequired[bool] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType( TypedDict ): @@ -792,6 +1563,18 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPro url: Union[str, None] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -821,6 +1604,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPro user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -835,6 +1647,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPro triage: NotRequired[bool] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermi + ssions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -863,6 +1689,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -883,6 +1737,26 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersIte + msOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -911,6 +1785,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsI url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -931,6 +1833,26 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsI url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPr + opParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropThread""" @@ -940,6 +1862,15 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadType(TypedDict): node_id: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse(TypedDict): + """WebhookPullRequestReviewThreadUnresolvedPropThread""" + + comments: list[ + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse + ] + node_id: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType( TypedDict ): @@ -993,6 +1924,57 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType( ] +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse( + TypedDict +): + """Pull Request Review Comment + + The [comment](https://docs.github.com/enterprise- + cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) + itself. + """ + + links: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: int + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType( TypedDict ): @@ -1010,6 +1992,23 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropRea url: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType( TypedDict ): @@ -1039,6 +2038,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUse user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType( TypedDict ): @@ -1049,6 +2077,16 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin self_: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinks""" + + html: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType( TypedDict ): @@ -1057,6 +2095,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType( TypedDict ): @@ -1065,6 +2111,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType( TypedDict ): @@ -1073,49 +2127,101 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + __all__ = ( "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedType", + "WebhookPullRequestReviewThreadUnresolvedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0860.py b/githubkit/versions/ghec_v2022_11_28/types/group_0860.py index 50371db9f..62346e7c7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0860.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0860.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestSynchronizeType(TypedDict): @@ -35,6 +38,21 @@ class WebhookPullRequestSynchronizeType(TypedDict): sender: SimpleUserType +class WebhookPullRequestSynchronizeTypeForResponse(TypedDict): + """pull_request synchronize event""" + + action: Literal["synchronize"] + after: str + before: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestSynchronizePropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestSynchronizePropPullRequestType(TypedDict): """Pull Request""" @@ -115,6 +133,98 @@ class WebhookPullRequestSynchronizePropPullRequestType(TypedDict): user: Union[WebhookPullRequestSynchronizePropPullRequestPropUserType, None] +class WebhookPullRequestSynchronizePropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestSynchronizePropPullRequestPropAssigneeType(TypedDict): """User""" @@ -142,6 +252,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -168,6 +307,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType(TypedDi url: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -182,6 +349,23 @@ class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -211,6 +395,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -223,6 +436,20 @@ class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType(TypedDict) url: str +class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropMergedByType(TypedDict): """User""" @@ -250,6 +477,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -276,6 +532,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -305,7 +590,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -334,7 +619,9 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -361,13 +648,96 @@ class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestSynchronizePropPullRequestPropLinks""" +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropLinks""" + + comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType review_comment: ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType ) @@ -378,30 +748,81 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType +class WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -410,6 +831,14 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -418,18 +847,42 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTyp href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropBaseType(TypedDict): """WebhookPullRequestSynchronizePropPullRequestPropBase""" @@ -440,7 +893,463 @@ class WebhookPullRequestSynchronizePropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType, None] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -467,7 +1376,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -527,7 +1436,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -543,10 +1452,10 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -580,97 +1489,9 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestSynchronizePropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -694,7 +1515,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -730,7 +1551,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -746,15 +1567,16 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -774,7 +1596,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -795,6 +1617,18 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTyp url: Union[str, None] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -824,6 +1658,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -836,6 +1699,18 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermission triage: NotRequired[bool] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -864,6 +1739,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -884,6 +1787,26 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Pro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -912,6 +1835,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType( url: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -930,42 +1881,97 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropPar url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestSynchronizePropPullRequestPropAssigneeType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBaseType", + "WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMergedByType", + "WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestoneType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestType", + "WebhookPullRequestSynchronizePropPullRequestTypeForResponse", "WebhookPullRequestSynchronizeType", + "WebhookPullRequestSynchronizeTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0861.py b/githubkit/versions/ghec_v2022_11_28/types/group_0861.py index 55ded2d6c..c7301c369 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0861.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0861.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0559 import WebhooksUserMannequinType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0559 import WebhooksUserMannequinType, WebhooksUserMannequinTypeForResponse class WebhookPullRequestUnassignedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestUnassignedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPullRequestUnassignedTypeForResponse(TypedDict): + """pull_request unassigned event""" + + action: Literal["unassigned"] + assignee: NotRequired[Union[WebhooksUserMannequinTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnassignedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPullRequestUnassignedPropPullRequestType(TypedDict): """Pull Request""" @@ -113,6 +130,97 @@ class WebhookPullRequestUnassignedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnassignedPropPullRequestPropUserType, None] +class WebhookPullRequestUnassignedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestUnassignedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -140,6 +248,33 @@ class WebhookPullRequestUnassignedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -166,6 +301,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType(TypedDic url: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -180,6 +343,23 @@ class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -209,6 +389,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -221,6 +430,20 @@ class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -248,6 +471,33 @@ class WebhookPullRequestUnassignedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -274,6 +524,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -303,7 +582,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -332,7 +611,9 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -359,22 +640,124 @@ class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnassignedPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType - +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" @@ -382,24 +765,56 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType(Typed href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -408,6 +823,14 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -416,18 +839,42 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnassignedPropPullRequestPropBase""" @@ -438,6 +885,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropBase""" + + label: Union[str, None] + ref: str + repo: WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -465,7 +924,394 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType(TypedDict) user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -525,7 +1371,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -540,10 +1386,10 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -577,70 +1423,9 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnassignedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnassignedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -664,7 +1449,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -700,7 +1485,8 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -715,15 +1501,16 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -743,7 +1530,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -764,6 +1551,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType url: Union[str, None] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -793,6 +1592,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -805,6 +1633,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissions triage: NotRequired[bool] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -832,6 +1672,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType(TypedDict) user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -860,6 +1729,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -880,6 +1777,26 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Prop + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -906,6 +1823,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType(Typ url: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -924,42 +1869,97 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropPare url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnassignedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBaseType", + "WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMergedByType", + "WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestType", + "WebhookPullRequestUnassignedPropPullRequestTypeForResponse", "WebhookPullRequestUnassignedType", + "WebhookPullRequestUnassignedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0862.py b/githubkit/versions/ghec_v2022_11_28/types/group_0862.py index a2dbc8cc2..00a105880 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0862.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0862.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0551 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0551 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookPullRequestUnlabeledType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestUnlabeledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestUnlabeledTypeForResponse(TypedDict): + """pull_request unlabeled event""" + + action: Literal["unlabeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: NotRequired[WebhooksLabelTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnlabeledPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestUnlabeledPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,95 @@ class WebhookPullRequestUnlabeledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnlabeledPropPullRequestPropUserType, None] +class WebhookPullRequestUnlabeledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +244,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -164,6 +297,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType(TypedDict url: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -178,6 +339,21 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -207,6 +383,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -219,6 +424,20 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -246,6 +465,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -272,6 +518,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -299,7 +572,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -328,7 +601,9 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -355,28 +630,138 @@ class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str - +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" @@ -384,18 +769,42 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType(TypedDi href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -404,6 +813,14 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -412,18 +829,42 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnlabeledPropPullRequestPropBase""" @@ -434,6 +875,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -461,7 +914,394 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -521,7 +1361,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -536,10 +1376,10 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -573,70 +1413,9 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnlabeledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnlabeledPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -660,7 +1439,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -696,7 +1475,8 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -711,15 +1491,16 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -739,7 +1520,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -760,6 +1541,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -789,6 +1582,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -801,6 +1623,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsT triage: NotRequired[bool] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -828,6 +1662,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -856,6 +1719,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -876,6 +1767,26 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropP + arent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -902,6 +1813,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType(Type url: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -920,42 +1859,97 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParen url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBaseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMergedByType", + "WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestType", + "WebhookPullRequestUnlabeledPropPullRequestTypeForResponse", "WebhookPullRequestUnlabeledType", + "WebhookPullRequestUnlabeledTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0863.py b/githubkit/versions/ghec_v2022_11_28/types/group_0863.py index ca13932a8..57b7d656e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0863.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0863.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestUnlockedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestUnlockedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestUnlockedTypeForResponse(TypedDict): + """pull_request unlocked event""" + + action: Literal["unlocked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnlockedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestUnlockedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,95 @@ class WebhookPullRequestUnlockedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnlockedPropPullRequestPropUserType, None] +class WebhookPullRequestUnlockedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestUnlockedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +241,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +294,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +336,21 @@ class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: str + enabled_by: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -205,6 +380,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +421,20 @@ class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +462,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +515,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,7 +569,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -326,7 +598,9 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0 user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -353,28 +627,138 @@ class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnlockedPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str - +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" @@ -382,18 +766,42 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -402,6 +810,14 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -410,18 +826,42 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnlockedPropPullRequestPropBase""" @@ -432,6 +872,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -459,7 +911,392 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -519,7 +1356,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -534,10 +1371,10 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -571,68 +1408,9 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnlockedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnlockedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -656,7 +1434,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -692,7 +1470,8 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -707,15 +1486,16 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -735,7 +1515,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -756,6 +1536,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -783,6 +1575,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -795,6 +1616,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -822,6 +1655,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -850,6 +1712,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -870,6 +1760,26 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -896,6 +1806,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -914,42 +1852,97 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnlockedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBaseType", + "WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMergedByType", + "WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestType", + "WebhookPullRequestUnlockedPropPullRequestTypeForResponse", "WebhookPullRequestUnlockedType", + "WebhookPullRequestUnlockedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0864.py b/githubkit/versions/ghec_v2022_11_28/types/group_0864.py index c7df936c1..6701453cc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0864.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0864.py @@ -13,10 +13,13 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookPushType(TypedDict): @@ -40,6 +43,27 @@ class WebhookPushType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPushTypeForResponse(TypedDict): + """push event""" + + after: str + base_ref: Union[str, None] + before: str + commits: list[WebhookPushPropCommitsItemsTypeForResponse] + compare: str + created: bool + deleted: bool + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + forced: bool + head_commit: Union[WebhookPushPropHeadCommitTypeForResponse, None] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher: WebhookPushPropPusherTypeForResponse + ref: str + repository: WebhookPushPropRepositoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPushPropHeadCommitType(TypedDict): """Commit""" @@ -56,6 +80,22 @@ class WebhookPushPropHeadCommitType(TypedDict): url: str +class WebhookPushPropHeadCommitTypeForResponse(TypedDict): + """Commit""" + + added: NotRequired[list[str]] + author: WebhookPushPropHeadCommitPropAuthorTypeForResponse + committer: WebhookPushPropHeadCommitPropCommitterTypeForResponse + distinct: bool + id: str + message: str + modified: NotRequired[list[str]] + removed: NotRequired[list[str]] + timestamp: str + tree_id: str + url: str + + class WebhookPushPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -68,6 +108,18 @@ class WebhookPushPropHeadCommitPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookPushPropHeadCommitPropAuthorTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropHeadCommitPropCommitterType(TypedDict): """Committer @@ -80,6 +132,18 @@ class WebhookPushPropHeadCommitPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookPushPropHeadCommitPropCommitterTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropPusherType(TypedDict): """Committer @@ -92,6 +156,18 @@ class WebhookPushPropPusherType(TypedDict): username: NotRequired[str] +class WebhookPushPropPusherTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: NotRequired[Union[str, None]] + name: str + username: NotRequired[str] + + class WebhookPushPropCommitsItemsType(TypedDict): """Commit""" @@ -108,6 +184,22 @@ class WebhookPushPropCommitsItemsType(TypedDict): url: str +class WebhookPushPropCommitsItemsTypeForResponse(TypedDict): + """Commit""" + + added: NotRequired[list[str]] + author: WebhookPushPropCommitsItemsPropAuthorTypeForResponse + committer: WebhookPushPropCommitsItemsPropCommitterTypeForResponse + distinct: bool + id: str + message: str + modified: NotRequired[list[str]] + removed: NotRequired[list[str]] + timestamp: str + tree_id: str + url: str + + class WebhookPushPropCommitsItemsPropAuthorType(TypedDict): """Committer @@ -120,6 +212,18 @@ class WebhookPushPropCommitsItemsPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookPushPropCommitsItemsPropAuthorTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropCommitsItemsPropCommitterType(TypedDict): """Committer @@ -132,6 +236,18 @@ class WebhookPushPropCommitsItemsPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookPushPropCommitsItemsPropCommitterTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropRepositoryType(TypedDict): """Repository @@ -232,6 +348,108 @@ class WebhookPushPropRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookPushPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookPushPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookPushPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[WebhookPushPropRepositoryPropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookPushPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookPushPropRepositoryPropCustomProperties @@ -241,6 +459,15 @@ class WebhookPushPropRepositoryType(TypedDict): """ +WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookPushPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookPushPropRepositoryPropLicenseType(TypedDict): """License""" @@ -251,6 +478,16 @@ class WebhookPushPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookPushPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPushPropRepositoryPropOwnerType(TypedDict): """User""" @@ -278,6 +515,33 @@ class WebhookPushPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPushPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPushPropRepositoryPropPermissionsType(TypedDict): """WebhookPushPropRepositoryPropPermissions""" @@ -288,18 +552,41 @@ class WebhookPushPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookPushPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookPushPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookPushPropCommitsItemsPropAuthorType", + "WebhookPushPropCommitsItemsPropAuthorTypeForResponse", "WebhookPushPropCommitsItemsPropCommitterType", + "WebhookPushPropCommitsItemsPropCommitterTypeForResponse", "WebhookPushPropCommitsItemsType", + "WebhookPushPropCommitsItemsTypeForResponse", "WebhookPushPropHeadCommitPropAuthorType", + "WebhookPushPropHeadCommitPropAuthorTypeForResponse", "WebhookPushPropHeadCommitPropCommitterType", + "WebhookPushPropHeadCommitPropCommitterTypeForResponse", "WebhookPushPropHeadCommitType", + "WebhookPushPropHeadCommitTypeForResponse", "WebhookPushPropPusherType", + "WebhookPushPropPusherTypeForResponse", "WebhookPushPropRepositoryPropCustomPropertiesType", + "WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookPushPropRepositoryPropLicenseType", + "WebhookPushPropRepositoryPropLicenseTypeForResponse", "WebhookPushPropRepositoryPropOwnerType", + "WebhookPushPropRepositoryPropOwnerTypeForResponse", "WebhookPushPropRepositoryPropPermissionsType", + "WebhookPushPropRepositoryPropPermissionsTypeForResponse", "WebhookPushPropRepositoryType", + "WebhookPushPropRepositoryTypeForResponse", "WebhookPushType", + "WebhookPushTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0865.py b/githubkit/versions/ghec_v2022_11_28/types/group_0865.py index 1e9563c3e..e93a92b2e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0865.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0865.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0866 import WebhookRegistryPackagePublishedPropRegistryPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0866 import ( + WebhookRegistryPackagePublishedPropRegistryPackageType, + WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse, +) class WebhookRegistryPackagePublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookRegistryPackagePublishedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRegistryPackagePublishedType",) +class WebhookRegistryPackagePublishedTypeForResponse(TypedDict): + """WebhookRegistryPackagePublished""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + registry_package: WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRegistryPackagePublishedType", + "WebhookRegistryPackagePublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0866.py b/githubkit/versions/ghec_v2022_11_28/types/group_0866.py index 520def2ad..7b77814c6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0866.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0866.py @@ -14,6 +14,7 @@ from .group_0867 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, ) @@ -38,6 +39,29 @@ class WebhookRegistryPackagePublishedPropRegistryPackageType(TypedDict): updated_at: Union[str, None] +class WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse(TypedDict): + """WebhookRegistryPackagePublishedPropRegistryPackage""" + + created_at: Union[str, None] + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse + package_type: str + package_version: Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, + None, + ] + registry: Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse, + None, + ] + updated_at: Union[str, None] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType(TypedDict): """WebhookRegistryPackagePublishedPropRegistryPackagePropOwner""" @@ -62,6 +86,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType(TypedDict) user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropOwner""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType(TypedDict): """WebhookRegistryPackagePublishedPropRegistryPackagePropRegistry""" @@ -72,8 +122,23 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType(TypedDi vendor: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropRegistry""" + + about_url: NotRequired[str] + name: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + vendor: NotRequired[str] + + __all__ = ( "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackageType", + "WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0867.py b/githubkit/versions/ghec_v2022_11_28/types/group_0867.py index 2da1feff5..33e8b6f7f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0867.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0867.py @@ -12,7 +12,10 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0786 import WebhookRubygemsMetadataType +from .group_0786 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType( @@ -80,6 +83,71 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType( version: str +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersion""" + + author: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse + ] + body: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ] + ] + body_html: NotRequired[str] + container_metadata: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse + ] + created_at: NotRequired[str] + description: str + docker_metadata: NotRequired[ + list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + npm_metadata: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse, + None, + ] + ] + nuget_metadata: NotRequired[ + Union[ + list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse + ], + None, + ] + ] + package_files: list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: str + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + summary: str + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + target_oid: NotRequired[str] + updated_at: NotRequired[str] + version: str + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType( TypedDict ): @@ -106,6 +174,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAu user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthor""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type( TypedDict ): @@ -114,6 +208,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneo + f1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -124,6 +226,16 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDo tags: NotRequired[list[str]] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMe + tadataItems + """ + + tags: NotRequired[list[str]] + + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType: TypeAlias = dict[ str, Any ] @@ -132,6 +244,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDo """ +WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadata +Items +""" + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType( TypedDict ): @@ -224,6 +344,98 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp deleted_by_id: NotRequired[int] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ata + """ + + name: NotRequired[str] + version: NotRequired[str] + npm_user: NotRequired[str] + author: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse, + None, + ] + ] + bugs: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse, + None, + ] + ] + dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse + ] + dev_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse + ] + peer_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse + ] + optional_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse + ] + description: NotRequired[str] + dist: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse, + None, + ] + ] + git_head: NotRequired[str] + homepage: NotRequired[str] + license_: NotRequired[str] + main: NotRequired[str] + repository: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse, + None, + ] + ] + scripts: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse + ] + id: NotRequired[str] + node_version: NotRequired[str] + npm_version: NotRequired[str] + has_shrinkwrap: NotRequired[bool] + maintainers: NotRequired[list[str]] + contributors: NotRequired[list[str]] + engines: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse + ] + keywords: NotRequired[list[str]] + files: NotRequired[list[str]] + bin_: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse + ] + man: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse + ] + directories: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse, + None, + ] + ] + os: NotRequired[list[str]] + cpu: NotRequired[list[str]] + readme: NotRequired[str] + installation_command: NotRequired[str] + release_id: NotRequired[int] + commit_oid: NotRequired[str] + published_via_actions: NotRequired[bool] + deleted_by_id: NotRequired[int] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type( TypedDict ): @@ -232,6 +444,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropAuthorOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type( TypedDict ): @@ -240,6 +460,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropBugsOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType( TypedDict ): @@ -248,6 +476,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType( TypedDict ): @@ -256,6 +492,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDevDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType( TypedDict ): @@ -264,6 +508,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropPeerDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType( TypedDict ): @@ -272,6 +524,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropOptionalDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type( TypedDict ): @@ -280,6 +540,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDistOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type( TypedDict ): @@ -288,6 +556,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropRepositoryOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType( TypedDict ): @@ -296,6 +572,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropScripts + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType( TypedDict ): @@ -304,6 +588,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropEngines + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType( TypedDict ): @@ -312,6 +604,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropBin + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType( TypedDict ): @@ -320,6 +620,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropMan + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type( TypedDict ): @@ -328,6 +636,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDirectoriesOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -348,6 +664,26 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPa updated_at: str +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageF + ilesItems + """ + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: Union[str, None] + size: int + state: Union[str, None] + updated_at: str + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType( TypedDict ): @@ -372,6 +708,30 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo ] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadata + """ + + labels: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + None, + ] + ] + manifest: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + None, + ] + ] + tag: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse + ] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType( TypedDict ): @@ -380,6 +740,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropLabels + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType( TypedDict ): @@ -388,6 +756,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropManifest + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType( TypedDict ): @@ -399,6 +775,17 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo name: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropTag + """ + + digest: NotRequired[str] + name: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType( TypedDict ): @@ -425,6 +812,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu ] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItems + """ + + id: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse, + int, + None, + ] + ] + name: NotRequired[str] + value: NotRequired[ + Union[ + bool, + str, + int, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ] + ] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type( TypedDict ): @@ -433,6 +846,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItemsPropIdOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type( TypedDict ): @@ -446,6 +867,19 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItemsPropValueOneof3 + """ + + url: NotRequired[str] + branch: NotRequired[str] + commit: NotRequired[str] + type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType( TypedDict ): @@ -466,6 +900,26 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRe url: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRelease""" + + author: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse + ] + created_at: NotRequired[str] + draft: NotRequired[bool] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + prerelease: NotRequired[bool] + published_at: NotRequired[str] + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + url: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -494,34 +948,91 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRe user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseP + ropAuthor + """ + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0868.py b/githubkit/versions/ghec_v2022_11_28/types/group_0868.py index af1e876b6..701ea9230 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0868.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0868.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0869 import WebhookRegistryPackageUpdatedPropRegistryPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0869 import ( + WebhookRegistryPackageUpdatedPropRegistryPackageType, + WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse, +) class WebhookRegistryPackageUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookRegistryPackageUpdatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRegistryPackageUpdatedType",) +class WebhookRegistryPackageUpdatedTypeForResponse(TypedDict): + """WebhookRegistryPackageUpdated""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + registry_package: WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRegistryPackageUpdatedType", + "WebhookRegistryPackageUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0869.py b/githubkit/versions/ghec_v2022_11_28/types/group_0869.py index 9969608f0..991eba1fd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0869.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0869.py @@ -14,6 +14,7 @@ from .group_0870 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType, + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse, ) @@ -38,6 +39,26 @@ class WebhookRegistryPackageUpdatedPropRegistryPackageType(TypedDict): updated_at: str +class WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse(TypedDict): + """WebhookRegistryPackageUpdatedPropRegistryPackage""" + + created_at: str + description: None + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse + package_type: str + package_version: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse + registry: Union[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse, + None, + ] + updated_at: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType(TypedDict): """WebhookRegistryPackageUpdatedPropRegistryPackagePropOwner""" @@ -62,12 +83,47 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropOwner""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType(TypedDict): """WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistry""" +class WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistry""" + + __all__ = ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackageType", + "WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0870.py b/githubkit/versions/ghec_v2022_11_28/types/group_0870.py index 00cc1a4e5..ee984fcd3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0870.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0870.py @@ -12,7 +12,10 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0786 import WebhookRubygemsMetadataType +from .group_0786 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType(TypedDict): @@ -59,6 +62,50 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType(Typ version: str +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersion""" + + author: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse + body: str + body_html: str + created_at: str + description: str + docker_metadata: NotRequired[ + list[ + Union[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + None, + ] + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + package_files: list[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: str + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + summary: str + tag_name: NotRequired[str] + target_commitish: str + target_oid: str + updated_at: str + version: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType( TypedDict ): @@ -85,6 +132,32 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuth user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthor""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -95,6 +168,16 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDock tags: NotRequired[list[str]] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMeta + dataItems + """ + + tags: NotRequired[list[str]] + + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType: TypeAlias = dict[ str, Any ] @@ -103,6 +186,14 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDock """ +WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataIt +ems +""" + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -123,6 +214,26 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPack updated_at: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFil + esItems + """ + + content_type: NotRequired[str] + created_at: NotRequired[str] + download_url: NotRequired[str] + id: NotRequired[int] + md5: NotRequired[Union[str, None]] + name: NotRequired[str] + sha1: NotRequired[Union[str, None]] + sha256: NotRequired[str] + size: NotRequired[int] + state: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType( TypedDict ): @@ -141,6 +252,24 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRele url: str +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRelease""" + + author: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse + created_at: str + draft: bool + html_url: str + id: int + name: str + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -169,12 +298,47 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRele user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePro + pAuthor + """ + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0871.py b/githubkit/versions/ghec_v2022_11_28/types/group_0871.py index 4e66d12b8..02bd9d9df 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0871.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0871.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0577 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0577 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookReleaseCreatedType",) +class WebhookReleaseCreatedTypeForResponse(TypedDict): + """release created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookReleaseCreatedType", + "WebhookReleaseCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0872.py b/githubkit/versions/ghec_v2022_11_28/types/group_0872.py index e9c7be77e..17be3e7d2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0872.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0872.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0577 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0577 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookReleaseDeletedType",) +class WebhookReleaseDeletedTypeForResponse(TypedDict): + """release deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookReleaseDeletedType", + "WebhookReleaseDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0873.py b/githubkit/versions/ghec_v2022_11_28/types/group_0873.py index 08262bfc6..3c88c1659 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0873.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0873.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0577 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0577 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookReleaseEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookReleaseEditedTypeForResponse(TypedDict): + """release edited event""" + + action: Literal["edited"] + changes: WebhookReleaseEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookReleaseEditedPropChangesType(TypedDict): """WebhookReleaseEditedPropChanges""" @@ -42,35 +58,76 @@ class WebhookReleaseEditedPropChangesType(TypedDict): make_latest: NotRequired[WebhookReleaseEditedPropChangesPropMakeLatestType] +class WebhookReleaseEditedPropChangesTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChanges""" + + body: NotRequired[WebhookReleaseEditedPropChangesPropBodyTypeForResponse] + name: NotRequired[WebhookReleaseEditedPropChangesPropNameTypeForResponse] + tag_name: NotRequired[WebhookReleaseEditedPropChangesPropTagNameTypeForResponse] + make_latest: NotRequired[ + WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse + ] + + class WebhookReleaseEditedPropChangesPropBodyType(TypedDict): """WebhookReleaseEditedPropChangesPropBody""" from_: str +class WebhookReleaseEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropBody""" + + from_: str + + class WebhookReleaseEditedPropChangesPropNameType(TypedDict): """WebhookReleaseEditedPropChangesPropName""" from_: str +class WebhookReleaseEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropName""" + + from_: str + + class WebhookReleaseEditedPropChangesPropTagNameType(TypedDict): """WebhookReleaseEditedPropChangesPropTagName""" from_: str +class WebhookReleaseEditedPropChangesPropTagNameTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropTagName""" + + from_: str + + class WebhookReleaseEditedPropChangesPropMakeLatestType(TypedDict): """WebhookReleaseEditedPropChangesPropMakeLatest""" to: bool +class WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropMakeLatest""" + + to: bool + + __all__ = ( "WebhookReleaseEditedPropChangesPropBodyType", + "WebhookReleaseEditedPropChangesPropBodyTypeForResponse", "WebhookReleaseEditedPropChangesPropMakeLatestType", + "WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse", "WebhookReleaseEditedPropChangesPropNameType", + "WebhookReleaseEditedPropChangesPropNameTypeForResponse", "WebhookReleaseEditedPropChangesPropTagNameType", + "WebhookReleaseEditedPropChangesPropTagNameTypeForResponse", "WebhookReleaseEditedPropChangesType", + "WebhookReleaseEditedPropChangesTypeForResponse", "WebhookReleaseEditedType", + "WebhookReleaseEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0874.py b/githubkit/versions/ghec_v2022_11_28/types/group_0874.py index 2e915d5a7..99a8386f1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0874.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0874.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookReleasePrereleasedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookReleasePrereleasedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookReleasePrereleasedTypeForResponse(TypedDict): + """release prereleased event""" + + action: Literal["prereleased"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhookReleasePrereleasedPropReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookReleasePrereleasedPropReleaseType(TypedDict): """Release @@ -63,6 +78,41 @@ class WebhookReleasePrereleasedPropReleaseType(TypedDict): zipball_url: Union[str, None] +class WebhookReleasePrereleasedPropReleaseTypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/enterprise- + cloud@latest//rest/releases/releases/#get-a-release) object. + """ + + assets: list[ + Union[WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse, None] + ] + assets_url: str + author: Union[WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: Literal[True] + published_at: Union[str, None] + reactions: NotRequired[ + WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse + ] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + upload_url: str + updated_at: Union[str, None] + url: str + zipball_url: Union[str, None] + + class WebhookReleasePrereleasedPropReleasePropAssetsItemsType(TypedDict): """Release Asset @@ -87,6 +137,33 @@ class WebhookReleasePrereleasedPropReleasePropAssetsItemsType(TypedDict): url: str +class WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[ + WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse, + None, + ] + ] + url: str + + class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -113,6 +190,34 @@ class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType(TypedD url: NotRequired[str] +class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookReleasePrereleasedPropReleasePropAuthorType(TypedDict): """User""" @@ -140,6 +245,33 @@ class WebhookReleasePrereleasedPropReleasePropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookReleasePrereleasedPropReleasePropReactionsType(TypedDict): """Reactions""" @@ -155,11 +287,32 @@ class WebhookReleasePrereleasedPropReleasePropReactionsType(TypedDict): url: str +class WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + __all__ = ( "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAuthorType", + "WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse", "WebhookReleasePrereleasedPropReleasePropReactionsType", + "WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse", "WebhookReleasePrereleasedPropReleaseType", + "WebhookReleasePrereleasedPropReleaseTypeForResponse", "WebhookReleasePrereleasedType", + "WebhookReleasePrereleasedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0875.py b/githubkit/versions/ghec_v2022_11_28/types/group_0875.py index be5bc6434..db8c24b8f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0875.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0875.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0578 import WebhooksRelease1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0578 import WebhooksRelease1Type, WebhooksRelease1TypeForResponse class WebhookReleasePublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleasePublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleasePublishedType",) +class WebhookReleasePublishedTypeForResponse(TypedDict): + """release published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksRelease1TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleasePublishedType", + "WebhookReleasePublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0876.py b/githubkit/versions/ghec_v2022_11_28/types/group_0876.py index a0498d065..727f413ff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0876.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0876.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0577 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0577 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseReleasedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseReleasedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleaseReleasedType",) +class WebhookReleaseReleasedTypeForResponse(TypedDict): + """release released event""" + + action: Literal["released"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleaseReleasedType", + "WebhookReleaseReleasedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0877.py b/githubkit/versions/ghec_v2022_11_28/types/group_0877.py index 41ee00af4..bd900bdbe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0877.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0877.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0578 import WebhooksRelease1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0578 import WebhooksRelease1Type, WebhooksRelease1TypeForResponse class WebhookReleaseUnpublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseUnpublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleaseUnpublishedType",) +class WebhookReleaseUnpublishedTypeForResponse(TypedDict): + """release unpublished event""" + + action: Literal["unpublished"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksRelease1TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleaseUnpublishedType", + "WebhookReleaseUnpublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0878.py b/githubkit/versions/ghec_v2022_11_28/types/group_0878.py index 20c23aaf6..279e3140a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0878.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0878.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0281 import RepositoryAdvisoryType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0281 import RepositoryAdvisoryType, RepositoryAdvisoryTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryAdvisoryPublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryAdvisoryPublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookRepositoryAdvisoryPublishedType",) +class WebhookRepositoryAdvisoryPublishedTypeForResponse(TypedDict): + """Repository advisory published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + repository_advisory: RepositoryAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookRepositoryAdvisoryPublishedType", + "WebhookRepositoryAdvisoryPublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0879.py b/githubkit/versions/ghec_v2022_11_28/types/group_0879.py index 15bda546b..cfa245ea1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0879.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0879.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0281 import RepositoryAdvisoryType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0281 import RepositoryAdvisoryType, RepositoryAdvisoryTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryAdvisoryReportedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryAdvisoryReportedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookRepositoryAdvisoryReportedType",) +class WebhookRepositoryAdvisoryReportedTypeForResponse(TypedDict): + """Repository advisory reported event""" + + action: Literal["reported"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + repository_advisory: RepositoryAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookRepositoryAdvisoryReportedType", + "WebhookRepositoryAdvisoryReportedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0880.py b/githubkit/versions/ghec_v2022_11_28/types/group_0880.py index 586891bec..5ee485345 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0880.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0880.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryArchivedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryArchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryArchivedType",) +class WebhookRepositoryArchivedTypeForResponse(TypedDict): + """repository archived event""" + + action: Literal["archived"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryArchivedType", + "WebhookRepositoryArchivedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0881.py b/githubkit/versions/ghec_v2022_11_28/types/group_0881.py index ce11bf7e1..0499d1b7e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0881.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0881.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryCreatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryCreatedType",) +class WebhookRepositoryCreatedTypeForResponse(TypedDict): + """repository created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryCreatedType", + "WebhookRepositoryCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0882.py b/githubkit/versions/ghec_v2022_11_28/types/group_0882.py index 42bed7bf1..53e466de6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0882.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0882.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryDeletedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryDeletedType",) +class WebhookRepositoryDeletedTypeForResponse(TypedDict): + """repository deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryDeletedType", + "WebhookRepositoryDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0883.py b/githubkit/versions/ghec_v2022_11_28/types/group_0883.py index 1d407c2f0..cc45c2136 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0883.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0883.py @@ -12,11 +12,14 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryDispatchSampleType(TypedDict): @@ -32,6 +35,21 @@ class WebhookRepositoryDispatchSampleType(TypedDict): sender: SimpleUserType +class WebhookRepositoryDispatchSampleTypeForResponse(TypedDict): + """repository_dispatch event""" + + action: str + branch: str + client_payload: Union[ + WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse, None + ] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: SimpleInstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + WebhookRepositoryDispatchSamplePropClientPayloadType: TypeAlias = dict[str, Any] """WebhookRepositoryDispatchSamplePropClientPayload @@ -40,7 +58,19 @@ class WebhookRepositoryDispatchSampleType(TypedDict): """ +WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRepositoryDispatchSamplePropClientPayload + +The `client_payload` that was specified in the `POST +/repos/{owner}/{repo}/dispatches` request body. +""" + + __all__ = ( "WebhookRepositoryDispatchSamplePropClientPayloadType", + "WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse", "WebhookRepositoryDispatchSampleType", + "WebhookRepositoryDispatchSampleTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0884.py b/githubkit/versions/ghec_v2022_11_28/types/group_0884.py index 688d7ca3e..def64db42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0884.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0884.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryEditedType(TypedDict): @@ -31,6 +34,18 @@ class WebhookRepositoryEditedType(TypedDict): sender: SimpleUserType +class WebhookRepositoryEditedTypeForResponse(TypedDict): + """repository edited event""" + + action: Literal["edited"] + changes: WebhookRepositoryEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryEditedPropChangesType(TypedDict): """WebhookRepositoryEditedPropChanges""" @@ -40,35 +55,78 @@ class WebhookRepositoryEditedPropChangesType(TypedDict): topics: NotRequired[WebhookRepositoryEditedPropChangesPropTopicsType] +class WebhookRepositoryEditedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChanges""" + + default_branch: NotRequired[ + WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse + ] + description: NotRequired[ + WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse + ] + homepage: NotRequired[WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse] + topics: NotRequired[WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse] + + class WebhookRepositoryEditedPropChangesPropDefaultBranchType(TypedDict): """WebhookRepositoryEditedPropChangesPropDefaultBranch""" from_: str +class WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropDefaultBranch""" + + from_: str + + class WebhookRepositoryEditedPropChangesPropDescriptionType(TypedDict): """WebhookRepositoryEditedPropChangesPropDescription""" from_: Union[str, None] +class WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropDescription""" + + from_: Union[str, None] + + class WebhookRepositoryEditedPropChangesPropHomepageType(TypedDict): """WebhookRepositoryEditedPropChangesPropHomepage""" from_: Union[str, None] +class WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropHomepage""" + + from_: Union[str, None] + + class WebhookRepositoryEditedPropChangesPropTopicsType(TypedDict): """WebhookRepositoryEditedPropChangesPropTopics""" from_: NotRequired[Union[list[str], None]] +class WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropTopics""" + + from_: NotRequired[Union[list[str], None]] + + __all__ = ( "WebhookRepositoryEditedPropChangesPropDefaultBranchType", + "WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse", "WebhookRepositoryEditedPropChangesPropDescriptionType", + "WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse", "WebhookRepositoryEditedPropChangesPropHomepageType", + "WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse", "WebhookRepositoryEditedPropChangesPropTopicsType", + "WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse", "WebhookRepositoryEditedPropChangesType", + "WebhookRepositoryEditedPropChangesTypeForResponse", "WebhookRepositoryEditedType", + "WebhookRepositoryEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0885.py b/githubkit/versions/ghec_v2022_11_28/types/group_0885.py index d8d0b7acd..51e1c6a0c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0885.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0885.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryImportType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryImportType(TypedDict): status: Literal["success", "cancelled", "failure"] -__all__ = ("WebhookRepositoryImportType",) +class WebhookRepositoryImportTypeForResponse(TypedDict): + """repository_import event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + status: Literal["success", "cancelled", "failure"] + + +__all__ = ( + "WebhookRepositoryImportType", + "WebhookRepositoryImportTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0886.py b/githubkit/versions/ghec_v2022_11_28/types/group_0886.py index f3a046843..22214028f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0886.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0886.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryPrivatizedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryPrivatizedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryPrivatizedType",) +class WebhookRepositoryPrivatizedTypeForResponse(TypedDict): + """repository privatized event""" + + action: Literal["privatized"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryPrivatizedType", + "WebhookRepositoryPrivatizedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0887.py b/githubkit/versions/ghec_v2022_11_28/types/group_0887.py index cb3b47afe..9ba8b2aa3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0887.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0887.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryPublicizedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryPublicizedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryPublicizedType",) +class WebhookRepositoryPublicizedTypeForResponse(TypedDict): + """repository publicized event""" + + action: Literal["publicized"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryPublicizedType", + "WebhookRepositoryPublicizedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0888.py b/githubkit/versions/ghec_v2022_11_28/types/group_0888.py index 62f6465ff..b41eedb70 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0888.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0888.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRenamedType(TypedDict): @@ -31,27 +34,63 @@ class WebhookRepositoryRenamedType(TypedDict): sender: SimpleUserType +class WebhookRepositoryRenamedTypeForResponse(TypedDict): + """repository renamed event""" + + action: Literal["renamed"] + changes: WebhookRepositoryRenamedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryRenamedPropChangesType(TypedDict): """WebhookRepositoryRenamedPropChanges""" repository: WebhookRepositoryRenamedPropChangesPropRepositoryType +class WebhookRepositoryRenamedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryRenamedPropChanges""" + + repository: WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse + + class WebhookRepositoryRenamedPropChangesPropRepositoryType(TypedDict): """WebhookRepositoryRenamedPropChangesPropRepository""" name: WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType +class WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse(TypedDict): + """WebhookRepositoryRenamedPropChangesPropRepository""" + + name: WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse + + class WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType(TypedDict): """WebhookRepositoryRenamedPropChangesPropRepositoryPropName""" from_: str +class WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse( + TypedDict +): + """WebhookRepositoryRenamedPropChangesPropRepositoryPropName""" + + from_: str + + __all__ = ( "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType", + "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryType", + "WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse", "WebhookRepositoryRenamedPropChangesType", + "WebhookRepositoryRenamedPropChangesTypeForResponse", "WebhookRepositoryRenamedType", + "WebhookRepositoryRenamedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0889.py b/githubkit/versions/ghec_v2022_11_28/types/group_0889.py index c622c8509..cf24a5328 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0889.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0889.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0167 import RepositoryRulesetType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0167 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRulesetCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryRulesetCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetCreatedType",) +class WebhookRepositoryRulesetCreatedTypeForResponse(TypedDict): + """repository ruleset created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetCreatedType", + "WebhookRepositoryRulesetCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0890.py b/githubkit/versions/ghec_v2022_11_28/types/group_0890.py index 8d425584e..d65dbe8ee 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0890.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0890.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0167 import RepositoryRulesetType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0167 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRulesetDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryRulesetDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetDeletedType",) +class WebhookRepositoryRulesetDeletedTypeForResponse(TypedDict): + """repository ruleset deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetDeletedType", + "WebhookRepositoryRulesetDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0891.py b/githubkit/versions/ghec_v2022_11_28/types/group_0891.py index 02acbd40c..141c68db0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0891.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0891.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0167 import RepositoryRulesetType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0892 import WebhookRepositoryRulesetEditedPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0167 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0892 import ( + WebhookRepositoryRulesetEditedPropChangesType, + WebhookRepositoryRulesetEditedPropChangesTypeForResponse, +) class WebhookRepositoryRulesetEditedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookRepositoryRulesetEditedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetEditedType",) +class WebhookRepositoryRulesetEditedTypeForResponse(TypedDict): + """repository ruleset edited event""" + + action: Literal["edited"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + changes: NotRequired[WebhookRepositoryRulesetEditedPropChangesTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetEditedType", + "WebhookRepositoryRulesetEditedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0892.py b/githubkit/versions/ghec_v2022_11_28/types/group_0892.py index 4c8c129b5..92bd95735 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0892.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0892.py @@ -11,8 +11,14 @@ from typing_extensions import NotRequired, TypedDict -from .group_0893 import WebhookRepositoryRulesetEditedPropChangesPropConditionsType -from .group_0895 import WebhookRepositoryRulesetEditedPropChangesPropRulesType +from .group_0893 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsType, + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse, +) +from .group_0895 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesType, + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse, +) class WebhookRepositoryRulesetEditedPropChangesType(TypedDict): @@ -26,20 +32,52 @@ class WebhookRepositoryRulesetEditedPropChangesType(TypedDict): rules: NotRequired[WebhookRepositoryRulesetEditedPropChangesPropRulesType] +class WebhookRepositoryRulesetEditedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChanges""" + + name: NotRequired[WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse] + enforcement: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse + ] + conditions: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse + ] + rules: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropNameType(TypedDict): """WebhookRepositoryRulesetEditedPropChangesPropName""" from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropName""" + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropEnforcementType(TypedDict): """WebhookRepositoryRulesetEditedPropChangesPropEnforcement""" from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropEnforcement""" + + from_: NotRequired[str] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropEnforcementType", + "WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropNameType", + "WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0893.py b/githubkit/versions/ghec_v2022_11_28/types/group_0893.py index a84d9b9a5..e2ae0a90e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0893.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0893.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0110 import RepositoryRulesetConditionsType +from .group_0110 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0894 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType, + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse, ) @@ -29,4 +33,19 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsType(TypedDict): ] -__all__ = ("WebhookRepositoryRulesetEditedPropChangesPropConditionsType",) +class WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropConditions""" + + added: NotRequired[list[RepositoryRulesetConditionsTypeForResponse]] + deleted: NotRequired[list[RepositoryRulesetConditionsTypeForResponse]] + updated: NotRequired[ + list[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse + ] + ] + + +__all__ = ( + "WebhookRepositoryRulesetEditedPropChangesPropConditionsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0894.py b/githubkit/versions/ghec_v2022_11_28/types/group_0894.py index 9b632349b..9011f373f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0894.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0894.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0110 import RepositoryRulesetConditionsType +from .group_0110 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType( @@ -25,6 +28,17 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTyp ] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItems""" + + condition: NotRequired[RepositoryRulesetConditionsTypeForResponse] + changes: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType( TypedDict ): @@ -46,6 +60,27 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro ] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + es + """ + + condition_type: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse + ] + target: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse + ] + include: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse + ] + exclude: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType( TypedDict ): @@ -56,6 +91,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropConditionType + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType( TypedDict ): @@ -66,6 +111,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropTarget + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType( TypedDict ): @@ -76,6 +131,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[list[str]] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropInclude + """ + + from_: NotRequired[list[str]] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType( TypedDict ): @@ -86,11 +151,27 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[list[str]] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropExclude + """ + + from_: NotRequired[list[str]] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0895.py b/githubkit/versions/ghec_v2022_11_28/types/group_0895.py index 45a5fd731..860190e57 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0895.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0895.py @@ -14,30 +14,86 @@ from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0165 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0163 import RepositoryRuleMergeQueueType -from .group_0165 import RepositoryRuleCopilotCodeReviewType from .group_0896 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType, + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse, ) @@ -105,4 +161,73 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesType(TypedDict): ] -__all__ = ("WebhookRepositoryRulesetEditedPropChangesPropRulesType",) +class WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropRules""" + + added: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + deleted: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + updated: NotRequired[ + list[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse + ] + ] + + +__all__ = ( + "WebhookRepositoryRulesetEditedPropChangesPropRulesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0896.py b/githubkit/versions/ghec_v2022_11_28/types/group_0896.py index 01ade5f46..1b18aeb2b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0896.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0896.py @@ -14,28 +14,83 @@ from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0165 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0163 import RepositoryRuleMergeQueueType -from .group_0165 import RepositoryRuleCopilotCodeReviewType class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType(TypedDict): @@ -72,6 +127,42 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType(Typ ] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItems""" + + rule: NotRequired[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + changes: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType( TypedDict ): @@ -88,6 +179,22 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan ] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChanges""" + + configuration: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse + ] + rule_type: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse + ] + pattern: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType( TypedDict ): @@ -98,6 +205,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pConfiguration + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType( TypedDict ): @@ -108,6 +225,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pRuleType + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType( TypedDict ): @@ -118,10 +245,25 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pPattern + """ + + from_: NotRequired[str] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0897.py b/githubkit/versions/ghec_v2022_11_28/types/group_0897.py index b18bccfce..3802b00ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0897.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0897.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryTransferredType(TypedDict): @@ -31,18 +34,42 @@ class WebhookRepositoryTransferredType(TypedDict): sender: SimpleUserType +class WebhookRepositoryTransferredTypeForResponse(TypedDict): + """repository transferred event""" + + action: Literal["transferred"] + changes: WebhookRepositoryTransferredPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryTransferredPropChangesType(TypedDict): """WebhookRepositoryTransferredPropChanges""" owner: WebhookRepositoryTransferredPropChangesPropOwnerType +class WebhookRepositoryTransferredPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryTransferredPropChanges""" + + owner: WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse + + class WebhookRepositoryTransferredPropChangesPropOwnerType(TypedDict): """WebhookRepositoryTransferredPropChangesPropOwner""" from_: WebhookRepositoryTransferredPropChangesPropOwnerPropFromType +class WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse(TypedDict): + """WebhookRepositoryTransferredPropChangesPropOwner""" + + from_: WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromType(TypedDict): """WebhookRepositoryTransferredPropChangesPropOwnerPropFrom""" @@ -56,6 +83,22 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromType(TypedDict): ] +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse( + TypedDict +): + """WebhookRepositoryTransferredPropChangesPropOwnerPropFrom""" + + organization: NotRequired[ + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse + ] + user: NotRequired[ + Union[ + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse, + None, + ] + ] + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType( TypedDict ): @@ -76,6 +119,26 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTy url: str +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse( + TypedDict +): + """Organization""" + + avatar_url: str + description: Union[str, None] + events_url: str + hooks_url: str + html_url: NotRequired[str] + id: int + issues_url: str + login: str + members_url: str + node_id: str + public_members_url: str + repos_url: str + url: str + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType(TypedDict): """User""" @@ -103,11 +166,46 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType(Typed user_view_type: NotRequired[str] +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerType", + "WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse", "WebhookRepositoryTransferredPropChangesType", + "WebhookRepositoryTransferredPropChangesTypeForResponse", "WebhookRepositoryTransferredType", + "WebhookRepositoryTransferredTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0898.py b/githubkit/versions/ghec_v2022_11_28/types/group_0898.py index 0291f3ac8..e613253df 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0898.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0898.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryUnarchivedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryUnarchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryUnarchivedType",) +class WebhookRepositoryUnarchivedTypeForResponse(TypedDict): + """repository unarchived event""" + + action: Literal["unarchived"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryUnarchivedType", + "WebhookRepositoryUnarchivedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0899.py b/githubkit/versions/ghec_v2022_11_28/types/group_0899.py index 3638e63a5..56ab59a5f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0899.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0899.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0579 import WebhooksAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0579 import WebhooksAlertType, WebhooksAlertTypeForResponse class WebhookRepositoryVulnerabilityAlertCreateType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryVulnerabilityAlertCreateType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryVulnerabilityAlertCreateType",) +class WebhookRepositoryVulnerabilityAlertCreateTypeForResponse(TypedDict): + """repository_vulnerability_alert create event""" + + action: Literal["create"] + alert: WebhooksAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryVulnerabilityAlertCreateType", + "WebhookRepositoryVulnerabilityAlertCreateTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0900.py b/githubkit/versions/ghec_v2022_11_28/types/group_0900.py index 3a269ee3d..d0beb50fd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0900.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0900.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryVulnerabilityAlertDismissType(TypedDict): @@ -32,6 +35,18 @@ class WebhookRepositoryVulnerabilityAlertDismissType(TypedDict): sender: SimpleUserType +class WebhookRepositoryVulnerabilityAlertDismissTypeForResponse(TypedDict): + """repository_vulnerability_alert dismiss event""" + + action: Literal["dismiss"] + alert: WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryVulnerabilityAlertDismissPropAlertType(TypedDict): """Repository Vulnerability Alert Alert @@ -60,6 +75,35 @@ class WebhookRepositoryVulnerabilityAlertDismissPropAlertType(TypedDict): state: Literal["dismissed"] +class WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_comment: NotRequired[Union[str, None]] + dismiss_reason: str + dismissed_at: str + dismisser: Union[ + WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse, + None, + ] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["dismissed"] + + class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType(TypedDict): """User""" @@ -87,8 +131,40 @@ class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType(Typed user_view_type: NotRequired[str] +class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissType", + "WebhookRepositoryVulnerabilityAlertDismissTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0901.py b/githubkit/versions/ghec_v2022_11_28/types/group_0901.py index 8fa9872fb..f24984625 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0901.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0901.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0579 import WebhooksAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0579 import WebhooksAlertType, WebhooksAlertTypeForResponse class WebhookRepositoryVulnerabilityAlertReopenType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryVulnerabilityAlertReopenType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryVulnerabilityAlertReopenType",) +class WebhookRepositoryVulnerabilityAlertReopenTypeForResponse(TypedDict): + """repository_vulnerability_alert reopen event""" + + action: Literal["reopen"] + alert: WebhooksAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryVulnerabilityAlertReopenType", + "WebhookRepositoryVulnerabilityAlertReopenTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0902.py b/githubkit/versions/ghec_v2022_11_28/types/group_0902.py index 71df76c6b..ca9787039 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0902.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0902.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryVulnerabilityAlertResolveType(TypedDict): @@ -32,6 +35,18 @@ class WebhookRepositoryVulnerabilityAlertResolveType(TypedDict): sender: SimpleUserType +class WebhookRepositoryVulnerabilityAlertResolveTypeForResponse(TypedDict): + """repository_vulnerability_alert resolve event""" + + action: Literal["resolve"] + alert: WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryVulnerabilityAlertResolvePropAlertType(TypedDict): """Repository Vulnerability Alert Alert @@ -61,6 +76,36 @@ class WebhookRepositoryVulnerabilityAlertResolvePropAlertType(TypedDict): state: Literal["fixed", "open"] +class WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_reason: NotRequired[str] + dismissed_at: NotRequired[str] + dismisser: NotRequired[ + Union[ + WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse, + None, + ] + ] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["fixed", "open"] + + class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType(TypedDict): """User""" @@ -87,8 +132,39 @@ class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType(Typed url: NotRequired[str] +class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolveType", + "WebhookRepositoryVulnerabilityAlertResolveTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0903.py b/githubkit/versions/ghec_v2022_11_28/types/group_0903.py index c667117a4..62cd4f4e1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0903.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0903.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertCreatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertCreatedType",) +class WebhookSecretScanningAlertCreatedTypeForResponse(TypedDict): + """secret_scanning_alert created event""" + + action: Literal["created"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertCreatedType", + "WebhookSecretScanningAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0904.py b/githubkit/versions/ghec_v2022_11_28/types/group_0904.py index 741b554e4..965381f1e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0904.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0904.py @@ -12,12 +12,21 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0475 import SecretScanningLocationType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0475 import ( + SecretScanningLocationType, + SecretScanningLocationTypeForResponse, +) +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertLocationCreatedType(TypedDict): @@ -32,4 +41,19 @@ class WebhookSecretScanningAlertLocationCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookSecretScanningAlertLocationCreatedType",) +class WebhookSecretScanningAlertLocationCreatedTypeForResponse(TypedDict): + """Secret Scanning Alert Location Created Event""" + + action: Literal["created"] + alert: SecretScanningAlertWebhookTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + location: SecretScanningLocationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookSecretScanningAlertLocationCreatedType", + "WebhookSecretScanningAlertLocationCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0905.py b/githubkit/versions/ghec_v2022_11_28/types/group_0905.py index 4c3c84e39..8f7fc45fa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0905.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0905.py @@ -18,4 +18,13 @@ class WebhookSecretScanningAlertLocationCreatedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookSecretScanningAlertLocationCreatedFormEncodedType",) +class WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse(TypedDict): + """Secret Scanning Alert Location Created Event""" + + payload: str + + +__all__ = ( + "WebhookSecretScanningAlertLocationCreatedFormEncodedType", + "WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0906.py b/githubkit/versions/ghec_v2022_11_28/types/group_0906.py index 7b12981d2..b37a0c402 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0906.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0906.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertPubliclyLeakedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertPubliclyLeakedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertPubliclyLeakedType",) +class WebhookSecretScanningAlertPubliclyLeakedTypeForResponse(TypedDict): + """secret_scanning_alert publicly leaked event""" + + action: Literal["publicly_leaked"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertPubliclyLeakedType", + "WebhookSecretScanningAlertPubliclyLeakedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0907.py b/githubkit/versions/ghec_v2022_11_28/types/group_0907.py index 6de3b43f4..7ebbcbbbe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0907.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0907.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertReopenedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertReopenedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertReopenedType",) +class WebhookSecretScanningAlertReopenedTypeForResponse(TypedDict): + """secret_scanning_alert reopened event""" + + action: Literal["reopened"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertReopenedType", + "WebhookSecretScanningAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0908.py b/githubkit/versions/ghec_v2022_11_28/types/group_0908.py index 78e320f6e..3ba2867df 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0908.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0908.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertResolvedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertResolvedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertResolvedType",) +class WebhookSecretScanningAlertResolvedTypeForResponse(TypedDict): + """secret_scanning_alert resolved event""" + + action: Literal["resolved"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertResolvedType", + "WebhookSecretScanningAlertResolvedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0909.py b/githubkit/versions/ghec_v2022_11_28/types/group_0909.py index fd4255f95..d484c02a1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0909.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0909.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0580 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0580 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertValidatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertValidatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertValidatedType",) +class WebhookSecretScanningAlertValidatedTypeForResponse(TypedDict): + """secret_scanning_alert validated event""" + + action: Literal["validated"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertValidatedType", + "WebhookSecretScanningAlertValidatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0910.py b/githubkit/versions/ghec_v2022_11_28/types/group_0910.py index bddb3f38c..65894b717 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0910.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0910.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSecretScanningScanCompletedType(TypedDict): @@ -40,4 +43,27 @@ class WebhookSecretScanningScanCompletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningScanCompletedType",) +class WebhookSecretScanningScanCompletedTypeForResponse(TypedDict): + """secret_scanning_scan completed event""" + + action: Literal["completed"] + type: Literal["backfill", "custom-pattern-backfill", "pattern-version-backfill"] + source: Literal["git", "issues", "pull-requests", "discussions", "wiki"] + started_at: str + completed_at: str + secret_types: NotRequired[Union[list[str], None]] + custom_pattern_name: NotRequired[Union[str, None]] + custom_pattern_scope: NotRequired[ + Union[None, Literal["repository", "organization", "enterprise"]] + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningScanCompletedType", + "WebhookSecretScanningScanCompletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0911.py b/githubkit/versions/ghec_v2022_11_28/types/group_0911.py index 810fa1e6f..55c04d4ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0911.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0911.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0581 import WebhooksSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0581 import ( + WebhooksSecurityAdvisoryType, + WebhooksSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryPublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecurityAdvisoryPublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryPublishedType",) +class WebhookSecurityAdvisoryPublishedTypeForResponse(TypedDict): + """security_advisory published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: WebhooksSecurityAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryPublishedType", + "WebhookSecurityAdvisoryPublishedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0912.py b/githubkit/versions/ghec_v2022_11_28/types/group_0912.py index cef55e46a..66b702f5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0912.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0912.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0581 import WebhooksSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0581 import ( + WebhooksSecurityAdvisoryType, + WebhooksSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecurityAdvisoryUpdatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryUpdatedType",) +class WebhookSecurityAdvisoryUpdatedTypeForResponse(TypedDict): + """security_advisory updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: WebhooksSecurityAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryUpdatedType", + "WebhookSecurityAdvisoryUpdatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0913.py b/githubkit/versions/ghec_v2022_11_28/types/group_0913.py index 96cd93833..18a04ec21 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0913.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0913.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0914 import WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0914 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType, + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryWithdrawnType(TypedDict): @@ -32,4 +38,21 @@ class WebhookSecurityAdvisoryWithdrawnType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryWithdrawnType",) +class WebhookSecurityAdvisoryWithdrawnTypeForResponse(TypedDict): + """security_advisory withdrawn event""" + + action: Literal["withdrawn"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse + ) + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryWithdrawnType", + "WebhookSecurityAdvisoryWithdrawnTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0914.py b/githubkit/versions/ghec_v2022_11_28/types/group_0914.py index f38acab63..add19f9f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0914.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0914.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType(TypedDict): @@ -43,6 +43,36 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType(TypedDict): withdrawn_at: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse(TypedDict): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisory + + The details of the security advisory, including summary, description, and + severity. + """ + + cvss: WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse + ] + description: str + ghsa_id: str + identifiers: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse + ] + published_at: str + references: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse + ] + severity: str + summary: str + updated_at: str + vulnerabilities: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse + ] + withdrawn_at: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType(TypedDict): """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvss""" @@ -50,6 +80,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType(TypedDict vector_string: Union[str, None] +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvss""" + + score: float + vector_string: Union[str, None] + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType(TypedDict): """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItems""" @@ -57,6 +96,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType(Type name: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType( TypedDict ): @@ -66,6 +114,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTy value: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItems""" + + type: str + value: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType( TypedDict ): @@ -74,6 +131,14 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTyp url: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItems""" + + url: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType( TypedDict ): @@ -88,6 +153,20 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte vulnerable_version_range: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItems""" + + first_patched_version: Union[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + None, + ] + package: WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse + severity: str + vulnerable_version_range: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType( TypedDict ): @@ -98,6 +177,16 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte identifier: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsProp + FirstPatchedVersion + """ + + identifier: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType( TypedDict ): @@ -109,13 +198,32 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte name: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsProp + Package + """ + + ecosystem: str + name: str + + __all__ = ( "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0915.py b/githubkit/versions/ghec_v2022_11_28/types/group_0915.py index 5dd52ba12..22adfce30 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0915.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0915.py @@ -11,12 +11,18 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0277 import FullRepositoryType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0916 import WebhookSecurityAndAnalysisPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0277 import FullRepositoryType, FullRepositoryTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0916 import ( + WebhookSecurityAndAnalysisPropChangesType, + WebhookSecurityAndAnalysisPropChangesTypeForResponse, +) class WebhookSecurityAndAnalysisType(TypedDict): @@ -30,4 +36,18 @@ class WebhookSecurityAndAnalysisType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAndAnalysisType",) +class WebhookSecurityAndAnalysisTypeForResponse(TypedDict): + """security_and_analysis event""" + + changes: WebhookSecurityAndAnalysisPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: FullRepositoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAndAnalysisType", + "WebhookSecurityAndAnalysisTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0916.py b/githubkit/versions/ghec_v2022_11_28/types/group_0916.py index 12344eca0..8783cca98 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0916.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0916.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0917 import WebhookSecurityAndAnalysisPropChangesPropFromType +from .group_0917 import ( + WebhookSecurityAndAnalysisPropChangesPropFromType, + WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse, +) class WebhookSecurityAndAnalysisPropChangesType(TypedDict): @@ -20,4 +23,13 @@ class WebhookSecurityAndAnalysisPropChangesType(TypedDict): from_: NotRequired[WebhookSecurityAndAnalysisPropChangesPropFromType] -__all__ = ("WebhookSecurityAndAnalysisPropChangesType",) +class WebhookSecurityAndAnalysisPropChangesTypeForResponse(TypedDict): + """WebhookSecurityAndAnalysisPropChanges""" + + from_: NotRequired[WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse] + + +__all__ = ( + "WebhookSecurityAndAnalysisPropChangesType", + "WebhookSecurityAndAnalysisPropChangesTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0917.py b/githubkit/versions/ghec_v2022_11_28/types/group_0917.py index f8732c117..9c808b58f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0917.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0917.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0213 import SecurityAndAnalysisType +from .group_0213 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse class WebhookSecurityAndAnalysisPropChangesPropFromType(TypedDict): @@ -21,4 +21,13 @@ class WebhookSecurityAndAnalysisPropChangesPropFromType(TypedDict): security_and_analysis: NotRequired[Union[SecurityAndAnalysisType, None]] -__all__ = ("WebhookSecurityAndAnalysisPropChangesPropFromType",) +class WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse(TypedDict): + """WebhookSecurityAndAnalysisPropChangesPropFrom""" + + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + + +__all__ = ( + "WebhookSecurityAndAnalysisPropChangesPropFromType", + "WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0918.py b/githubkit/versions/ghec_v2022_11_28/types/group_0918.py index 8fc512058..57d6da12d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0918.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0918.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipCancelledType(TypedDict): @@ -32,4 +35,19 @@ class WebhookSponsorshipCancelledType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipCancelledType",) +class WebhookSponsorshipCancelledTypeForResponse(TypedDict): + """sponsorship cancelled event""" + + action: Literal["cancelled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipCancelledType", + "WebhookSponsorshipCancelledTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0919.py b/githubkit/versions/ghec_v2022_11_28/types/group_0919.py index e05eb1a90..dc98412ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0919.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0919.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookSponsorshipCreatedType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipCreatedType",) +class WebhookSponsorshipCreatedTypeForResponse(TypedDict): + """sponsorship created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipCreatedType", + "WebhookSponsorshipCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0920.py b/githubkit/versions/ghec_v2022_11_28/types/group_0920.py index 4587ced8d..7df36bd8f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0920.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0920.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipEditedType(TypedDict): @@ -33,20 +36,50 @@ class WebhookSponsorshipEditedType(TypedDict): sponsorship: WebhooksSponsorshipType +class WebhookSponsorshipEditedTypeForResponse(TypedDict): + """sponsorship edited event""" + + action: Literal["edited"] + changes: WebhookSponsorshipEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + class WebhookSponsorshipEditedPropChangesType(TypedDict): """WebhookSponsorshipEditedPropChanges""" privacy_level: NotRequired[WebhookSponsorshipEditedPropChangesPropPrivacyLevelType] +class WebhookSponsorshipEditedPropChangesTypeForResponse(TypedDict): + """WebhookSponsorshipEditedPropChanges""" + + privacy_level: NotRequired[ + WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse + ] + + class WebhookSponsorshipEditedPropChangesPropPrivacyLevelType(TypedDict): """WebhookSponsorshipEditedPropChangesPropPrivacyLevel""" from_: str +class WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse(TypedDict): + """WebhookSponsorshipEditedPropChangesPropPrivacyLevel""" + + from_: str + + __all__ = ( "WebhookSponsorshipEditedPropChangesPropPrivacyLevelType", + "WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse", "WebhookSponsorshipEditedPropChangesType", + "WebhookSponsorshipEditedPropChangesTypeForResponse", "WebhookSponsorshipEditedType", + "WebhookSponsorshipEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0921.py b/githubkit/versions/ghec_v2022_11_28/types/group_0921.py index 9822d1365..641f36746 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0921.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0921.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipPendingCancellationType(TypedDict): @@ -33,4 +36,20 @@ class WebhookSponsorshipPendingCancellationType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipPendingCancellationType",) +class WebhookSponsorshipPendingCancellationTypeForResponse(TypedDict): + """sponsorship pending_cancellation event""" + + action: Literal["pending_cancellation"] + effective_date: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipPendingCancellationType", + "WebhookSponsorshipPendingCancellationTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0922.py b/githubkit/versions/ghec_v2022_11_28/types/group_0922.py index d1943acba..082a679ee 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0922.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0922.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType -from .group_0583 import WebhooksChanges8Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse +from .group_0583 import WebhooksChanges8Type, WebhooksChanges8TypeForResponse class WebhookSponsorshipPendingTierChangeType(TypedDict): @@ -35,4 +38,21 @@ class WebhookSponsorshipPendingTierChangeType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipPendingTierChangeType",) +class WebhookSponsorshipPendingTierChangeTypeForResponse(TypedDict): + """sponsorship pending_tier_change event""" + + action: Literal["pending_tier_change"] + changes: WebhooksChanges8TypeForResponse + effective_date: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipPendingTierChangeType", + "WebhookSponsorshipPendingTierChangeTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0923.py b/githubkit/versions/ghec_v2022_11_28/types/group_0923.py index 1230dc384..e7ef35a72 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0923.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0923.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0582 import WebhooksSponsorshipType -from .group_0583 import WebhooksChanges8Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0582 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse +from .group_0583 import WebhooksChanges8Type, WebhooksChanges8TypeForResponse class WebhookSponsorshipTierChangedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookSponsorshipTierChangedType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipTierChangedType",) +class WebhookSponsorshipTierChangedTypeForResponse(TypedDict): + """sponsorship tier_changed event""" + + action: Literal["tier_changed"] + changes: WebhooksChanges8TypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipTierChangedType", + "WebhookSponsorshipTierChangedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0924.py b/githubkit/versions/ghec_v2022_11_28/types/group_0924.py index a5887cf9a..d10424d0b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0924.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0924.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStarCreatedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookStarCreatedType(TypedDict): starred_at: Union[str, None] -__all__ = ("WebhookStarCreatedType",) +class WebhookStarCreatedTypeForResponse(TypedDict): + """star created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + starred_at: Union[str, None] + + +__all__ = ( + "WebhookStarCreatedType", + "WebhookStarCreatedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0925.py b/githubkit/versions/ghec_v2022_11_28/types/group_0925.py index 98f677efc..7d0407d79 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0925.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0925.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStarDeletedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookStarDeletedType(TypedDict): starred_at: None -__all__ = ("WebhookStarDeletedType",) +class WebhookStarDeletedTypeForResponse(TypedDict): + """star deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + starred_at: None + + +__all__ = ( + "WebhookStarDeletedType", + "WebhookStarDeletedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0926.py b/githubkit/versions/ghec_v2022_11_28/types/group_0926.py index 633ca1aa6..2ae92a6b9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0926.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0926.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStatusType(TypedDict): @@ -42,6 +45,28 @@ class WebhookStatusType(TypedDict): updated_at: str +class WebhookStatusTypeForResponse(TypedDict): + """status event""" + + avatar_url: NotRequired[Union[str, None]] + branches: list[WebhookStatusPropBranchesItemsTypeForResponse] + commit: WebhookStatusPropCommitTypeForResponse + context: str + created_at: str + description: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + name: str + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + sha: str + state: Literal["pending", "success", "failure", "error"] + target_url: Union[str, None] + updated_at: str + + class WebhookStatusPropBranchesItemsType(TypedDict): """WebhookStatusPropBranchesItems""" @@ -50,6 +75,14 @@ class WebhookStatusPropBranchesItemsType(TypedDict): protected: bool +class WebhookStatusPropBranchesItemsTypeForResponse(TypedDict): + """WebhookStatusPropBranchesItems""" + + commit: WebhookStatusPropBranchesItemsPropCommitTypeForResponse + name: str + protected: bool + + class WebhookStatusPropBranchesItemsPropCommitType(TypedDict): """WebhookStatusPropBranchesItemsPropCommit""" @@ -57,6 +90,13 @@ class WebhookStatusPropBranchesItemsPropCommitType(TypedDict): url: Union[str, None] +class WebhookStatusPropBranchesItemsPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropBranchesItemsPropCommit""" + + sha: Union[str, None] + url: Union[str, None] + + class WebhookStatusPropCommitType(TypedDict): """WebhookStatusPropCommit""" @@ -71,6 +111,20 @@ class WebhookStatusPropCommitType(TypedDict): url: str +class WebhookStatusPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropCommit""" + + author: Union[WebhookStatusPropCommitPropAuthorTypeForResponse, None] + comments_url: str + commit: WebhookStatusPropCommitPropCommitTypeForResponse + committer: Union[WebhookStatusPropCommitPropCommitterTypeForResponse, None] + html_url: str + node_id: str + parents: list[WebhookStatusPropCommitPropParentsItemsTypeForResponse] + sha: str + url: str + + class WebhookStatusPropCommitPropAuthorType(TypedDict): """User""" @@ -97,6 +151,32 @@ class WebhookStatusPropCommitPropAuthorType(TypedDict): url: NotRequired[str] +class WebhookStatusPropCommitPropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookStatusPropCommitPropCommitterType(TypedDict): """User""" @@ -123,6 +203,32 @@ class WebhookStatusPropCommitPropCommitterType(TypedDict): url: NotRequired[str] +class WebhookStatusPropCommitPropCommitterTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookStatusPropCommitPropParentsItemsType(TypedDict): """WebhookStatusPropCommitPropParentsItems""" @@ -131,6 +237,14 @@ class WebhookStatusPropCommitPropParentsItemsType(TypedDict): url: str +class WebhookStatusPropCommitPropParentsItemsTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropParentsItems""" + + html_url: str + sha: str + url: str + + class WebhookStatusPropCommitPropCommitType(TypedDict): """WebhookStatusPropCommitPropCommit""" @@ -143,6 +257,18 @@ class WebhookStatusPropCommitPropCommitType(TypedDict): verification: WebhookStatusPropCommitPropCommitPropVerificationType +class WebhookStatusPropCommitPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommit""" + + author: WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse + comment_count: int + committer: WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse + message: str + tree: WebhookStatusPropCommitPropCommitPropTreeTypeForResponse + url: str + verification: WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse + + class WebhookStatusPropCommitPropCommitPropAuthorType(TypedDict): """WebhookStatusPropCommitPropCommitPropAuthor""" @@ -152,6 +278,15 @@ class WebhookStatusPropCommitPropCommitPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropAuthor""" + + date: str + email: str + name: str + username: NotRequired[str] + + class WebhookStatusPropCommitPropCommitPropCommitterType(TypedDict): """WebhookStatusPropCommitPropCommitPropCommitter""" @@ -161,6 +296,15 @@ class WebhookStatusPropCommitPropCommitPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropCommitter""" + + date: str + email: str + name: str + username: NotRequired[str] + + class WebhookStatusPropCommitPropCommitPropTreeType(TypedDict): """WebhookStatusPropCommitPropCommitPropTree""" @@ -168,6 +312,13 @@ class WebhookStatusPropCommitPropCommitPropTreeType(TypedDict): url: str +class WebhookStatusPropCommitPropCommitPropTreeTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropTree""" + + sha: str + url: str + + class WebhookStatusPropCommitPropCommitPropVerificationType(TypedDict): """WebhookStatusPropCommitPropCommitPropVerification""" @@ -194,17 +345,55 @@ class WebhookStatusPropCommitPropCommitPropVerificationType(TypedDict): verified_at: Union[str, None] +class WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropVerification""" + + payload: Union[str, None] + reason: Literal[ + "expired_key", + "not_signing_key", + "gpgverify_error", + "gpgverify_unavailable", + "unsigned", + "unknown_signature_type", + "no_user", + "unverified_email", + "bad_email", + "unknown_key", + "malformed_signature", + "invalid", + "valid", + "bad_cert", + "ocsp_pending", + ] + signature: Union[str, None] + verified: bool + verified_at: Union[str, None] + + __all__ = ( "WebhookStatusPropBranchesItemsPropCommitType", + "WebhookStatusPropBranchesItemsPropCommitTypeForResponse", "WebhookStatusPropBranchesItemsType", + "WebhookStatusPropBranchesItemsTypeForResponse", "WebhookStatusPropCommitPropAuthorType", + "WebhookStatusPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropAuthorType", + "WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropCommitPropTreeType", + "WebhookStatusPropCommitPropCommitPropTreeTypeForResponse", "WebhookStatusPropCommitPropCommitPropVerificationType", + "WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse", "WebhookStatusPropCommitPropCommitType", + "WebhookStatusPropCommitPropCommitTypeForResponse", "WebhookStatusPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropParentsItemsType", + "WebhookStatusPropCommitPropParentsItemsTypeForResponse", "WebhookStatusPropCommitType", + "WebhookStatusPropCommitTypeForResponse", "WebhookStatusType", + "WebhookStatusTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0927.py b/githubkit/versions/ghec_v2022_11_28/types/group_0927.py index 31b2ed900..84fb6908b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0927.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0927.py @@ -26,4 +26,19 @@ class WebhookStatusPropCommitPropCommitPropAuthorAllof0Type(TypedDict): username: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropAuthorAllof0Type",) +class WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof0Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0928.py b/githubkit/versions/ghec_v2022_11_28/types/group_0928.py index eafde2845..3552bf824 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0928.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0928.py @@ -20,4 +20,15 @@ class WebhookStatusPropCommitPropCommitPropAuthorAllof1Type(TypedDict): name: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropAuthorAllof1Type",) +class WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropAuthorAllof1""" + + date: str + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof1Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0929.py b/githubkit/versions/ghec_v2022_11_28/types/group_0929.py index e44b95c39..663a89eae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0929.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0929.py @@ -26,4 +26,19 @@ class WebhookStatusPropCommitPropCommitPropCommitterAllof0Type(TypedDict): username: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropCommitterAllof0Type",) +class WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof0Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0930.py b/githubkit/versions/ghec_v2022_11_28/types/group_0930.py index a808e25ce..934a3d06b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0930.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0930.py @@ -20,4 +20,15 @@ class WebhookStatusPropCommitPropCommitPropCommitterAllof1Type(TypedDict): name: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropCommitterAllof1Type",) +class WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropCommitterAllof1""" + + date: str + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof1Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0931.py b/githubkit/versions/ghec_v2022_11_28/types/group_0931.py index c7cfbb8be..3cbe3aac0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0931.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0931.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesParentIssueAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesParentIssueAddedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesParentIssueAddedType",) +class WebhookSubIssuesParentIssueAddedTypeForResponse(TypedDict): + """parent issue added event""" + + action: Literal["parent_issue_added"] + parent_issue_id: float + parent_issue: IssueTypeForResponse + parent_issue_repo: RepositoryTypeForResponse + sub_issue_id: float + sub_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesParentIssueAddedType", + "WebhookSubIssuesParentIssueAddedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0932.py b/githubkit/versions/ghec_v2022_11_28/types/group_0932.py index 62178c2f5..d6e770ecf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0932.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0932.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesParentIssueRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesParentIssueRemovedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesParentIssueRemovedType",) +class WebhookSubIssuesParentIssueRemovedTypeForResponse(TypedDict): + """parent issue removed event""" + + action: Literal["parent_issue_removed"] + parent_issue_id: float + parent_issue: IssueTypeForResponse + parent_issue_repo: RepositoryTypeForResponse + sub_issue_id: float + sub_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesParentIssueRemovedType", + "WebhookSubIssuesParentIssueRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0933.py b/githubkit/versions/ghec_v2022_11_28/types/group_0933.py index 18b01012d..a922870c6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0933.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0933.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesSubIssueAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesSubIssueAddedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesSubIssueAddedType",) +class WebhookSubIssuesSubIssueAddedTypeForResponse(TypedDict): + """sub-issue added event""" + + action: Literal["sub_issue_added"] + sub_issue_id: float + sub_issue: IssueTypeForResponse + sub_issue_repo: RepositoryTypeForResponse + parent_issue_id: float + parent_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesSubIssueAddedType", + "WebhookSubIssuesSubIssueAddedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0934.py b/githubkit/versions/ghec_v2022_11_28/types/group_0934.py index 78e8b796d..74fb99a07 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0934.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0934.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0198 import IssueType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0198 import IssueType, IssueTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesSubIssueRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesSubIssueRemovedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesSubIssueRemovedType",) +class WebhookSubIssuesSubIssueRemovedTypeForResponse(TypedDict): + """sub-issue removed event""" + + action: Literal["sub_issue_removed"] + sub_issue_id: float + sub_issue: IssueTypeForResponse + sub_issue_repo: RepositoryTypeForResponse + parent_issue_id: float + parent_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesSubIssueRemovedType", + "WebhookSubIssuesSubIssueRemovedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0935.py b/githubkit/versions/ghec_v2022_11_28/types/group_0935.py index 60863b293..139db1597 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0935.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0935.py @@ -11,12 +11,15 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamAddType(TypedDict): @@ -30,4 +33,18 @@ class WebhookTeamAddType(TypedDict): team: WebhooksTeam1Type -__all__ = ("WebhookTeamAddType",) +class WebhookTeamAddTypeForResponse(TypedDict): + """team_add event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + +__all__ = ( + "WebhookTeamAddType", + "WebhookTeamAddTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0936.py b/githubkit/versions/ghec_v2022_11_28/types/group_0936.py index 8ebaa0f40..bd745d89f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0936.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0936.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamAddedToRepositoryType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamAddedToRepositoryType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamAddedToRepositoryTypeForResponse(TypedDict): + """team added_to_repository event""" + + action: Literal["added_to_repository"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + team: WebhooksTeam1TypeForResponse + + class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): """Repository @@ -134,6 +149,112 @@ class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType: TypeAlias = dict[ str, Any ] @@ -145,6 +266,17 @@ class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): """ +WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamAddedToRepositoryPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType(TypedDict): """License""" @@ -155,6 +287,16 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType(TypedDict): """User""" @@ -182,6 +324,33 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamAddedToRepositoryPropRepositoryPropPermissions""" @@ -192,11 +361,29 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamAddedToRepositoryPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType", + "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType", + "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryType", + "WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryType", + "WebhookTeamAddedToRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0937.py b/githubkit/versions/ghec_v2022_11_28/types/group_0937.py index 22f82d041..a52eb775a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0937.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0937.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamCreatedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamCreatedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamCreatedTypeForResponse(TypedDict): + """team created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamCreatedPropRepositoryTypeForResponse] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamCreatedPropRepositoryType(TypedDict): """Repository @@ -132,6 +147,108 @@ class WebhookTeamCreatedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamCreatedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamCreatedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamCreatedPropRepositoryPropCustomProperties @@ -141,6 +258,17 @@ class WebhookTeamCreatedPropRepositoryType(TypedDict): """ +WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamCreatedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamCreatedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -151,6 +279,16 @@ class WebhookTeamCreatedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamCreatedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -178,6 +316,33 @@ class WebhookTeamCreatedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamCreatedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamCreatedPropRepositoryPropPermissions""" @@ -188,11 +353,27 @@ class WebhookTeamCreatedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamCreatedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamCreatedPropRepositoryPropCustomPropertiesType", + "WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamCreatedPropRepositoryPropLicenseType", + "WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamCreatedPropRepositoryPropOwnerType", + "WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamCreatedPropRepositoryPropPermissionsType", + "WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamCreatedPropRepositoryType", + "WebhookTeamCreatedPropRepositoryTypeForResponse", "WebhookTeamCreatedType", + "WebhookTeamCreatedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0938.py b/githubkit/versions/ghec_v2022_11_28/types/group_0938.py index 973a6f3a8..8a8b4ff98 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0938.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0938.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamDeletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamDeletedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamDeletedTypeForResponse(TypedDict): + """team deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamDeletedPropRepositoryTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + team: WebhooksTeam1TypeForResponse + + class WebhookTeamDeletedPropRepositoryType(TypedDict): """Repository @@ -132,6 +147,108 @@ class WebhookTeamDeletedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamDeletedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamDeletedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamDeletedPropRepositoryPropCustomProperties @@ -141,6 +258,17 @@ class WebhookTeamDeletedPropRepositoryType(TypedDict): """ +WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamDeletedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamDeletedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -151,6 +279,16 @@ class WebhookTeamDeletedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamDeletedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -178,6 +316,33 @@ class WebhookTeamDeletedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamDeletedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamDeletedPropRepositoryPropPermissions""" @@ -188,11 +353,27 @@ class WebhookTeamDeletedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamDeletedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamDeletedPropRepositoryPropCustomPropertiesType", + "WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamDeletedPropRepositoryPropLicenseType", + "WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamDeletedPropRepositoryPropOwnerType", + "WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamDeletedPropRepositoryPropPermissionsType", + "WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamDeletedPropRepositoryType", + "WebhookTeamDeletedPropRepositoryTypeForResponse", "WebhookTeamDeletedType", + "WebhookTeamDeletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0939.py b/githubkit/versions/ghec_v2022_11_28/types/group_0939.py index 913a14c82..693e21cfa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0939.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0939.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookTeamEditedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamEditedTypeForResponse(TypedDict): + """team edited event""" + + action: Literal["edited"] + changes: WebhookTeamEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamEditedPropRepositoryTypeForResponse] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamEditedPropRepositoryType(TypedDict): """Repository @@ -133,6 +149,108 @@ class WebhookTeamEditedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamEditedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamEditedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamEditedPropRepositoryPropCustomProperties @@ -142,6 +260,17 @@ class WebhookTeamEditedPropRepositoryType(TypedDict): """ +WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamEditedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamEditedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -152,6 +281,16 @@ class WebhookTeamEditedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamEditedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -179,6 +318,33 @@ class WebhookTeamEditedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamEditedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamEditedPropRepositoryPropPermissions""" @@ -189,6 +355,16 @@ class WebhookTeamEditedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamEditedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookTeamEditedPropChangesType(TypedDict): """WebhookTeamEditedPropChanges @@ -204,42 +380,99 @@ class WebhookTeamEditedPropChangesType(TypedDict): repository: NotRequired[WebhookTeamEditedPropChangesPropRepositoryType] +class WebhookTeamEditedPropChangesTypeForResponse(TypedDict): + """WebhookTeamEditedPropChanges + + The changes to the team if the action was `edited`. + """ + + description: NotRequired[WebhookTeamEditedPropChangesPropDescriptionTypeForResponse] + name: NotRequired[WebhookTeamEditedPropChangesPropNameTypeForResponse] + privacy: NotRequired[WebhookTeamEditedPropChangesPropPrivacyTypeForResponse] + notification_setting: NotRequired[ + WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse + ] + repository: NotRequired[WebhookTeamEditedPropChangesPropRepositoryTypeForResponse] + + class WebhookTeamEditedPropChangesPropDescriptionType(TypedDict): """WebhookTeamEditedPropChangesPropDescription""" from_: str +class WebhookTeamEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropDescription""" + + from_: str + + class WebhookTeamEditedPropChangesPropNameType(TypedDict): """WebhookTeamEditedPropChangesPropName""" from_: str +class WebhookTeamEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropName""" + + from_: str + + class WebhookTeamEditedPropChangesPropPrivacyType(TypedDict): """WebhookTeamEditedPropChangesPropPrivacy""" from_: str +class WebhookTeamEditedPropChangesPropPrivacyTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropPrivacy""" + + from_: str + + class WebhookTeamEditedPropChangesPropNotificationSettingType(TypedDict): """WebhookTeamEditedPropChangesPropNotificationSetting""" from_: str +class WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropNotificationSetting""" + + from_: str + + class WebhookTeamEditedPropChangesPropRepositoryType(TypedDict): """WebhookTeamEditedPropChangesPropRepository""" permissions: WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType +class WebhookTeamEditedPropChangesPropRepositoryTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropRepository""" + + permissions: ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse + ) + + class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamEditedPropChangesPropRepositoryPropPermissions""" from_: WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType +class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamEditedPropChangesPropRepositoryPropPermissions""" + + from_: ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse + ) + + class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType(TypedDict): """WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFrom""" @@ -248,19 +481,43 @@ class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType(Type push: NotRequired[bool] +class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse( + TypedDict +): + """WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFrom""" + + admin: NotRequired[bool] + pull: NotRequired[bool] + push: NotRequired[bool] + + __all__ = ( "WebhookTeamEditedPropChangesPropDescriptionType", + "WebhookTeamEditedPropChangesPropDescriptionTypeForResponse", "WebhookTeamEditedPropChangesPropNameType", + "WebhookTeamEditedPropChangesPropNameTypeForResponse", "WebhookTeamEditedPropChangesPropNotificationSettingType", + "WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse", "WebhookTeamEditedPropChangesPropPrivacyType", + "WebhookTeamEditedPropChangesPropPrivacyTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryType", + "WebhookTeamEditedPropChangesPropRepositoryTypeForResponse", "WebhookTeamEditedPropChangesType", + "WebhookTeamEditedPropChangesTypeForResponse", "WebhookTeamEditedPropRepositoryPropCustomPropertiesType", + "WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamEditedPropRepositoryPropLicenseType", + "WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamEditedPropRepositoryPropOwnerType", + "WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamEditedPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropRepositoryType", + "WebhookTeamEditedPropRepositoryTypeForResponse", "WebhookTeamEditedType", + "WebhookTeamEditedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0940.py b/githubkit/versions/ghec_v2022_11_28/types/group_0940.py index c3fae3e3c..fbb9b85eb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0940.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0940.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0584 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0584 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamRemovedFromRepositoryType(TypedDict): @@ -32,6 +35,20 @@ class WebhookTeamRemovedFromRepositoryType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamRemovedFromRepositoryTypeForResponse(TypedDict): + """team removed_from_repository event""" + + action: Literal["removed_from_repository"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse + ] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): """Repository @@ -134,6 +151,112 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType: TypeAlias = ( dict[str, Any] ) @@ -145,6 +268,17 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): """ +WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType(TypedDict): """License""" @@ -155,6 +289,18 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType(TypedDict): """User""" @@ -182,6 +328,33 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissions""" @@ -192,11 +365,29 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType(TypedDic triage: NotRequired[bool] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryType", + "WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryType", + "WebhookTeamRemovedFromRepositoryTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0941.py b/githubkit/versions/ghec_v2022_11_28/types/group_0941.py index 1a9e6b192..a3bddcebf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0941.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0941.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWatchStartedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookWatchStartedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookWatchStartedType",) +class WebhookWatchStartedTypeForResponse(TypedDict): + """watch started event""" + + action: Literal["started"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookWatchStartedType", + "WebhookWatchStartedTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0942.py b/githubkit/versions/ghec_v2022_11_28/types/group_0942.py index 5c298199e..a642b691b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0942.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0942.py @@ -12,11 +12,14 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowDispatchType(TypedDict): @@ -32,12 +35,32 @@ class WebhookWorkflowDispatchType(TypedDict): workflow: str +class WebhookWorkflowDispatchTypeForResponse(TypedDict): + """workflow_dispatch event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + inputs: Union[WebhookWorkflowDispatchPropInputsTypeForResponse, None] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: str + + WebhookWorkflowDispatchPropInputsType: TypeAlias = dict[str, Any] """WebhookWorkflowDispatchPropInputs """ +WebhookWorkflowDispatchPropInputsTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookWorkflowDispatchPropInputs +""" + + __all__ = ( "WebhookWorkflowDispatchPropInputsType", + "WebhookWorkflowDispatchPropInputsTypeForResponse", "WebhookWorkflowDispatchType", + "WebhookWorkflowDispatchTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0943.py b/githubkit/versions/ghec_v2022_11_28/types/group_0943.py index f7a3a8694..505533c3b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0943.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0943.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0312 import DeploymentType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0312 import DeploymentType, DeploymentTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobCompletedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookWorkflowJobCompletedType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobCompletedTypeForResponse(TypedDict): + """workflow_job completed event""" + + action: Literal["completed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobCompletedPropWorkflowJobType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJob""" @@ -69,6 +85,42 @@ class WebhookWorkflowJobCompletedPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJob""" + + check_run_url: str + completed_at: str + conclusion: Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[Union[int, None], None] + runner_group_name: Union[Union[str, None], None] + runner_id: Union[Union[int, None], None] + runner_name: Union[Union[str, None], None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[Union[str, None], None] + workflow_name: Union[Union[str, None], None] + steps: list[WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse] + url: str + + class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJobMergedSteps""" @@ -80,8 +132,22 @@ class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType(TypedDict): status: Literal["in_progress", "completed", "queued"] +class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJobMergedSteps""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued"] + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobType", + "WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobCompletedType", + "WebhookWorkflowJobCompletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0944.py b/githubkit/versions/ghec_v2022_11_28/types/group_0944.py index d129fc90a..5c11966a6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0944.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0944.py @@ -56,6 +56,51 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type(TypedDict): url: str +class WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse(TypedDict): + """Workflow Job + + The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, + and `started_at` are the same as those in a [`check_run`](#check_run) object. + """ + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ], + ] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[ + WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse + ] + url: str + + class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType(TypedDict): """Workflow Step""" @@ -67,7 +112,22 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType(TypedDi status: Literal["in_progress", "completed", "queued"] +class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued"] + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0945.py b/githubkit/versions/ghec_v2022_11_28/types/group_0945.py index 92b2bfd6b..4f197136e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0945.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0945.py @@ -55,11 +55,62 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type(TypedDict): url: NotRequired[str] +class WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJobAllof1""" + + check_run_url: NotRequired[str] + completed_at: NotRequired[str] + conclusion: Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ] + created_at: NotRequired[str] + head_sha: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[list[Union[str, None]]] + name: NotRequired[str] + node_id: NotRequired[str] + run_attempt: NotRequired[int] + run_id: NotRequired[int] + run_url: NotRequired[str] + runner_group_id: NotRequired[Union[int, None]] + runner_group_name: NotRequired[Union[str, None]] + runner_id: NotRequired[Union[int, None]] + runner_name: NotRequired[Union[str, None]] + started_at: NotRequired[str] + status: NotRequired[str] + head_branch: NotRequired[Union[str, None]] + workflow_name: NotRequired[Union[str, None]] + steps: NotRequired[ + list[ + Union[ + WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + None, + ] + ] + ] + url: NotRequired[str] + + class WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItems""" +class WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItems""" + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0946.py b/githubkit/versions/ghec_v2022_11_28/types/group_0946.py index 887086273..d735adf24 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0946.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0946.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0312 import DeploymentType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0312 import DeploymentType, DeploymentTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobInProgressType(TypedDict): @@ -33,6 +36,19 @@ class WebhookWorkflowJobInProgressType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobInProgressTypeForResponse(TypedDict): + """workflow_job in_progress event""" + + action: Literal["in_progress"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobInProgressPropWorkflowJobType(TypedDict): """WebhookWorkflowJobInProgressPropWorkflowJob""" @@ -61,6 +77,34 @@ class WebhookWorkflowJobInProgressPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJob""" + + check_run_url: str + completed_at: Union[Union[str, None], None] + conclusion: Union[Literal["success", "failure", "cancelled", "neutral"], None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[Union[int, None], None] + runner_group_name: Union[Union[str, None], None] + runner_id: Union[Union[int, None], None] + runner_name: Union[Union[str, None], None] + started_at: str + status: Literal["queued", "in_progress", "completed"] + head_branch: Union[Union[str, None], None] + workflow_name: Union[Union[str, None], None] + steps: list[WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse] + url: str + + class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType(TypedDict): """WebhookWorkflowJobInProgressPropWorkflowJobMergedSteps""" @@ -72,8 +116,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType(TypedDict): status: Literal["in_progress", "completed", "queued", "pending"] +class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJobMergedSteps""" + + completed_at: Union[Union[str, None], None] + conclusion: Union[Literal["failure", "skipped", "success", "cancelled"], None] + name: str + number: int + started_at: Union[Union[str, None], None] + status: Literal["in_progress", "completed", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobType", + "WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse", "WebhookWorkflowJobInProgressType", + "WebhookWorkflowJobInProgressTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0947.py b/githubkit/versions/ghec_v2022_11_28/types/group_0947.py index 217bd7ee4..9b2fa7855 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0947.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0947.py @@ -45,6 +45,40 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type(TypedDict): url: str +class WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse(TypedDict): + """Workflow Job + + The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, + and `started_at` are the same as those in a [`check_run`](#check_run) object. + """ + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[None, Literal["success", "failure", "cancelled", "neutral"]] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[ + WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse + ] + url: str + + class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType(TypedDict): """Workflow Step""" @@ -56,7 +90,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType(TypedD status: Literal["in_progress", "completed", "queued", "pending"] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0948.py b/githubkit/versions/ghec_v2022_11_28/types/group_0948.py index 7a741384f..3c498678d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0948.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0948.py @@ -41,6 +41,36 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type(TypedDict): url: NotRequired[str] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJobAllof1""" + + check_run_url: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + conclusion: NotRequired[Union[str, None]] + created_at: NotRequired[str] + head_sha: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[list[str]] + name: NotRequired[str] + node_id: NotRequired[str] + run_attempt: NotRequired[int] + run_id: NotRequired[int] + run_url: NotRequired[str] + runner_group_id: NotRequired[Union[int, None]] + runner_group_name: NotRequired[Union[str, None]] + runner_id: NotRequired[Union[int, None]] + runner_name: NotRequired[Union[str, None]] + started_at: NotRequired[str] + status: Literal["in_progress", "completed", "queued"] + head_branch: NotRequired[Union[str, None]] + workflow_name: NotRequired[Union[str, None]] + steps: list[ + WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse + ] + url: NotRequired[str] + + class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType(TypedDict): """Workflow Step""" @@ -52,7 +82,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType(TypedD status: Literal["in_progress", "completed", "pending", "queued"] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[str, None] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "pending", "queued"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0949.py b/githubkit/versions/ghec_v2022_11_28/types/group_0949.py index e84ca93fc..3b1f9e212 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0949.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0949.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0312 import DeploymentType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0312 import DeploymentType, DeploymentTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobQueuedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowJobQueuedType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobQueuedTypeForResponse(TypedDict): + """workflow_job queued event""" + + action: Literal["queued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobQueuedPropWorkflowJobType(TypedDict): """WebhookWorkflowJobQueuedPropWorkflowJob""" @@ -62,6 +78,34 @@ class WebhookWorkflowJobQueuedPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobQueuedPropWorkflowJob""" + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[str, None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse] + url: str + + class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType(TypedDict): """Workflow Step""" @@ -73,8 +117,22 @@ class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType(TypedDict): status: Literal["completed", "in_progress", "queued", "pending"] +class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse(TypedDict): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["completed", "in_progress", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobType", + "WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobQueuedType", + "WebhookWorkflowJobQueuedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0950.py b/githubkit/versions/ghec_v2022_11_28/types/group_0950.py index ff475ef11..badd2f906 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0950.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0950.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0312 import DeploymentType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0312 import DeploymentType, DeploymentTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobWaitingType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowJobWaitingType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobWaitingTypeForResponse(TypedDict): + """workflow_job waiting event""" + + action: Literal["waiting"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobWaitingPropWorkflowJobType(TypedDict): """WebhookWorkflowJobWaitingPropWorkflowJob""" @@ -62,6 +78,34 @@ class WebhookWorkflowJobWaitingPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobWaitingPropWorkflowJob""" + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[str, None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + head_branch: Union[str, None] + workflow_name: Union[str, None] + status: Literal["queued", "in_progress", "completed", "waiting"] + steps: list[WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse] + url: str + + class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType(TypedDict): """Workflow Step""" @@ -73,8 +117,22 @@ class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType(TypedDict): status: Literal["completed", "in_progress", "queued", "pending", "waiting"] +class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse(TypedDict): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["completed", "in_progress", "queued", "pending", "waiting"] + + __all__ = ( "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobType", + "WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse", "WebhookWorkflowJobWaitingType", + "WebhookWorkflowJobWaitingTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0951.py b/githubkit/versions/ghec_v2022_11_28/types/group_0951.py index 305fbcddb..c5ff7a321 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0951.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0951.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0544 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0544 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunCompletedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunCompletedType(TypedDict): workflow_run: WebhookWorkflowRunCompletedPropWorkflowRunType +class WebhookWorkflowRunCompletedTypeForResponse(TypedDict): + """workflow_run completed event""" + + action: Literal["completed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunCompletedPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -100,6 +116,80 @@ class WebhookWorkflowRunCompletedPropWorkflowRunType(TypedDict): display_title: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "skipped", + "stale", + "success", + "timed_out", + "startup_failure", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse + head_repository: ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + None, + ] + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "pending", "waiting" + ] + triggering_actor: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + display_title: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -127,6 +217,33 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -137,6 +254,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -164,6 +291,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType(TypedDic user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -175,6 +331,19 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -187,6 +356,20 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +384,20 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +451,62 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType(TypedDict url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -283,6 +536,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -336,6 +618,62 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -363,6 +701,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItems""" @@ -373,6 +740,18 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType(TypedD url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -383,6 +762,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTyp sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -393,6 +782,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePro url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -403,6 +802,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTyp sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -413,22 +822,49 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPro url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunCompletedPropWorkflowRunPropActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunType", + "WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunCompletedType", + "WebhookWorkflowRunCompletedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0952.py b/githubkit/versions/ghec_v2022_11_28/types/group_0952.py index 61c0a94c5..8f45796fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0952.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0952.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0544 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0544 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunInProgressType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunInProgressType(TypedDict): workflow_run: WebhookWorkflowRunInProgressPropWorkflowRunType +class WebhookWorkflowRunInProgressTypeForResponse(TypedDict): + """workflow_run in_progress event""" + + action: Literal["in_progress"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunInProgressPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -98,6 +114,78 @@ class WebhookWorkflowRunInProgressPropWorkflowRunType(TypedDict): workflow_url: str +class WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "skipped", + "stale", + "success", + "timed_out", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse + ) + head_repository: ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse, + None, + ] + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal["requested", "in_progress", "completed", "queued", "pending"] + triggering_actor: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropActorType(TypedDict): """User""" @@ -124,6 +212,32 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropActorType(TypedDict): url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -134,6 +248,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTyp sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -160,6 +284,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType(TypedDi url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -173,6 +325,19 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType( TypedDict ): @@ -187,6 +352,20 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType( username: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +380,20 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType username: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +447,62 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType(TypedDic url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: Union[str, None] + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -282,6 +531,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -335,6 +612,62 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -361,6 +694,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType(Typ url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItems""" @@ -371,6 +732,18 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType(Typed url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -381,6 +754,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTy sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -391,6 +774,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePr url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -401,6 +794,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTy sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -411,22 +814,49 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPr url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunInProgressPropWorkflowRunPropActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunType", + "WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse", "WebhookWorkflowRunInProgressType", + "WebhookWorkflowRunInProgressTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0953.py b/githubkit/versions/ghec_v2022_11_28/types/group_0953.py index 2a2c13c8f..11b8f71fa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0953.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0953.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0534 import EnterpriseWebhooksType -from .group_0535 import SimpleInstallationType -from .group_0536 import OrganizationSimpleWebhooksType -from .group_0537 import RepositoryWebhooksType -from .group_0544 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0534 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0535 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0536 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0537 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0544 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunRequestedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunRequestedType(TypedDict): workflow_run: WebhookWorkflowRunRequestedPropWorkflowRunType +class WebhookWorkflowRunRequestedTypeForResponse(TypedDict): + """workflow_run requested event""" + + action: Literal["requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunRequestedPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -100,6 +116,77 @@ class WebhookWorkflowRunRequestedPropWorkflowRunType(TypedDict): display_title: str +class WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + "startup_failure", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse + head_repository: ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "pending", "waiting" + ] + triggering_actor: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + display_title: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -127,6 +214,33 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -137,6 +251,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -164,6 +288,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType(TypedDic user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -175,6 +328,19 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -187,6 +353,20 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +381,20 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +448,62 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -283,6 +533,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -336,6 +615,62 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -363,6 +698,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItems""" @@ -373,6 +737,18 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType(TypedD url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -383,6 +759,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTyp sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -393,6 +779,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePro url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -403,6 +799,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTyp sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -413,22 +819,49 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPro url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunRequestedPropWorkflowRunPropActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunType", + "WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunRequestedType", + "WebhookWorkflowRunRequestedTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0954.py b/githubkit/versions/ghec_v2022_11_28/types/group_0954.py index 2d4d40484..62fe9f612 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0954.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0954.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0009 import IntegrationPropPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0009 import ( + IntegrationPropPermissionsType, + IntegrationPropPermissionsTypeForResponse, +) class AppManifestsCodeConversionsPostResponse201Type(TypedDict): @@ -40,4 +43,29 @@ class AppManifestsCodeConversionsPostResponse201Type(TypedDict): pem: str -__all__ = ("AppManifestsCodeConversionsPostResponse201Type",) +class AppManifestsCodeConversionsPostResponse201TypeForResponse(TypedDict): + """AppManifestsCodeConversionsPostResponse201""" + + id: int + slug: NotRequired[str] + node_id: str + client_id: str + owner: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + name: str + description: Union[str, None] + external_url: str + html_url: str + created_at: str + updated_at: str + permissions: IntegrationPropPermissionsTypeForResponse + events: list[str] + installations_count: NotRequired[int] + client_secret: str + webhook_secret: Union[str, None] + pem: str + + +__all__ = ( + "AppManifestsCodeConversionsPostResponse201Type", + "AppManifestsCodeConversionsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0955.py b/githubkit/versions/ghec_v2022_11_28/types/group_0955.py index 528a915b7..4d5d050d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0955.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0955.py @@ -22,4 +22,16 @@ class AppManifestsCodeConversionsPostResponse201Allof1Type(TypedDict): pem: str -__all__ = ("AppManifestsCodeConversionsPostResponse201Allof1Type",) +class AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse(TypedDict): + """AppManifestsCodeConversionsPostResponse201Allof1""" + + client_id: str + client_secret: str + webhook_secret: Union[str, None] + pem: str + + +__all__ = ( + "AppManifestsCodeConversionsPostResponse201Allof1Type", + "AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0956.py b/githubkit/versions/ghec_v2022_11_28/types/group_0956.py index 8f59ec945..22638cfbb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0956.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0956.py @@ -22,4 +22,16 @@ class AppHookConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("AppHookConfigPatchBodyType",) +class AppHookConfigPatchBodyTypeForResponse(TypedDict): + """AppHookConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "AppHookConfigPatchBodyType", + "AppHookConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0957.py b/githubkit/versions/ghec_v2022_11_28/types/group_0957.py index 24eb9bac1..9f7c5254b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0957.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0957.py @@ -16,4 +16,11 @@ class AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type(TypedDict): """AppHookDeliveriesDeliveryIdAttemptsPostResponse202""" -__all__ = ("AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type",) +class AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse(TypedDict): + """AppHookDeliveriesDeliveryIdAttemptsPostResponse202""" + + +__all__ = ( + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type", + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0958.py b/githubkit/versions/ghec_v2022_11_28/types/group_0958.py index e93cba9f3..4df57840a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0958.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0958.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class AppInstallationsInstallationIdAccessTokensPostBodyType(TypedDict): @@ -22,4 +22,15 @@ class AppInstallationsInstallationIdAccessTokensPostBodyType(TypedDict): permissions: NotRequired[AppPermissionsType] -__all__ = ("AppInstallationsInstallationIdAccessTokensPostBodyType",) +class AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse(TypedDict): + """AppInstallationsInstallationIdAccessTokensPostBody""" + + repositories: NotRequired[list[str]] + repository_ids: NotRequired[list[int]] + permissions: NotRequired[AppPermissionsTypeForResponse] + + +__all__ = ( + "AppInstallationsInstallationIdAccessTokensPostBodyType", + "AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0959.py b/githubkit/versions/ghec_v2022_11_28/types/group_0959.py index fad60868e..e573bdcd3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0959.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0959.py @@ -18,4 +18,13 @@ class ApplicationsClientIdGrantDeleteBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdGrantDeleteBodyType",) +class ApplicationsClientIdGrantDeleteBodyTypeForResponse(TypedDict): + """ApplicationsClientIdGrantDeleteBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdGrantDeleteBodyType", + "ApplicationsClientIdGrantDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0960.py b/githubkit/versions/ghec_v2022_11_28/types/group_0960.py index c0bad1ae1..4d34114c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0960.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0960.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenPostBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenPostBodyType",) +class ApplicationsClientIdTokenPostBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenPostBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenPostBodyType", + "ApplicationsClientIdTokenPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0961.py b/githubkit/versions/ghec_v2022_11_28/types/group_0961.py index 8a68cb8df..cf5319032 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0961.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0961.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenDeleteBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenDeleteBodyType",) +class ApplicationsClientIdTokenDeleteBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenDeleteBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenDeleteBodyType", + "ApplicationsClientIdTokenDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0962.py b/githubkit/versions/ghec_v2022_11_28/types/group_0962.py index 8e0b6ce68..412a66d2b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0962.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0962.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenPatchBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenPatchBodyType",) +class ApplicationsClientIdTokenPatchBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenPatchBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenPatchBodyType", + "ApplicationsClientIdTokenPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0963.py b/githubkit/versions/ghec_v2022_11_28/types/group_0963.py index 8351134ad..7c3732d36 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0963.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0963.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class ApplicationsClientIdTokenScopedPostBodyType(TypedDict): @@ -25,4 +25,18 @@ class ApplicationsClientIdTokenScopedPostBodyType(TypedDict): permissions: NotRequired[AppPermissionsType] -__all__ = ("ApplicationsClientIdTokenScopedPostBodyType",) +class ApplicationsClientIdTokenScopedPostBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenScopedPostBody""" + + access_token: str + target: NotRequired[str] + target_id: NotRequired[int] + repositories: NotRequired[list[str]] + repository_ids: NotRequired[list[int]] + permissions: NotRequired[AppPermissionsTypeForResponse] + + +__all__ = ( + "ApplicationsClientIdTokenScopedPostBodyType", + "ApplicationsClientIdTokenScopedPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0964.py b/githubkit/versions/ghec_v2022_11_28/types/group_0964.py index 4dce740a0..d15a7f910 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0964.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0964.py @@ -18,4 +18,13 @@ class CredentialsRevokePostBodyType(TypedDict): credentials: list[str] -__all__ = ("CredentialsRevokePostBodyType",) +class CredentialsRevokePostBodyTypeForResponse(TypedDict): + """CredentialsRevokePostBody""" + + credentials: list[str] + + +__all__ = ( + "CredentialsRevokePostBodyType", + "CredentialsRevokePostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0965.py b/githubkit/versions/ghec_v2022_11_28/types/group_0965.py index e3fd6e8a8..6e4fb484a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0965.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0965.py @@ -17,4 +17,12 @@ """ -__all__ = ("EmojisGetResponse200Type",) +EmojisGetResponse200TypeForResponse: TypeAlias = dict[str, Any] +"""EmojisGetResponse200 +""" + + +__all__ = ( + "EmojisGetResponse200Type", + "EmojisGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0966.py b/githubkit/versions/ghec_v2022_11_28/types/group_0966.py index 975055320..7d13adb1d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0966.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0966.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0032 import ActionsHostedRunnerType +from .group_0032 import ActionsHostedRunnerType, ActionsHostedRunnerTypeForResponse class EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type(TypedDict): runners: list[ActionsHostedRunnerType] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type",) +class EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsHostedRunnersGetResponse200""" + + total_count: int + runners: list[ActionsHostedRunnerTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0967.py b/githubkit/versions/ghec_v2022_11_28/types/group_0967.py index 793de7b5f..4415d6c56 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0967.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0967.py @@ -25,6 +25,18 @@ class EnterprisesEnterpriseActionsHostedRunnersPostBodyType(TypedDict): image_gen: NotRequired[bool] +class EnterprisesEnterpriseActionsHostedRunnersPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsHostedRunnersPostBody""" + + name: str + image: EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse + size: str + runner_group_id: int + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_gen: NotRequired[bool] + + class EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType(TypedDict): """EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImage @@ -37,7 +49,23 @@ class EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType(TypedDict): version: NotRequired[Union[str, None]] +class EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImage + + The image of runner. To list all available images, use `GET /actions/hosted- + runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`. + """ + + id: NotRequired[str] + source: NotRequired[Literal["github", "partner", "custom"]] + version: NotRequired[Union[str, None]] + + __all__ = ( "EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageType", + "EnterprisesEnterpriseActionsHostedRunnersPostBodyPropImageTypeForResponse", "EnterprisesEnterpriseActionsHostedRunnersPostBodyType", + "EnterprisesEnterpriseActionsHostedRunnersPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0968.py b/githubkit/versions/ghec_v2022_11_28/types/group_0968.py index 33896b8c8..534aa6cfd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0968.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0968.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0033 import ActionsHostedRunnerCustomImageType +from .group_0033 import ( + ActionsHostedRunnerCustomImageType, + ActionsHostedRunnerCustomImageTypeForResponse, +) class EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type( @@ -23,4 +26,16 @@ class EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type( images: list[ActionsHostedRunnerCustomImageType] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type",) +class EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCustomImageTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0969.py b/githubkit/versions/ghec_v2022_11_28/types/group_0969.py index 125adcd0e..55e983f96 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0969.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0969.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0034 import ActionsHostedRunnerCustomImageVersionType +from .group_0034 import ( + ActionsHostedRunnerCustomImageVersionType, + ActionsHostedRunnerCustomImageVersionTypeForResponse, +) class EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type( @@ -25,6 +28,18 @@ class EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVers image_versions: list[ActionsHostedRunnerCustomImageVersionType] +class EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGe + tResponse200 + """ + + total_count: int + image_versions: list[ActionsHostedRunnerCustomImageVersionTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0970.py b/githubkit/versions/ghec_v2022_11_28/types/group_0970.py index f8b46e8ec..0ed34b254 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0970.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0970.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0035 import ActionsHostedRunnerCuratedImageType +from .group_0035 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type( @@ -23,6 +26,16 @@ class EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Ty images: list[ActionsHostedRunnerCuratedImageType] +class EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0971.py b/githubkit/versions/ghec_v2022_11_28/types/group_0971.py index 145aedb27..2a52e5999 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0971.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0971.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0035 import ActionsHostedRunnerCuratedImageType +from .group_0035 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type( @@ -23,4 +26,16 @@ class EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type( images: list[ActionsHostedRunnerCuratedImageType] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type",) +class EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0972.py b/githubkit/versions/ghec_v2022_11_28/types/group_0972.py index a341b8e12..b364e4244 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0972.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0972.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0031 import ActionsHostedRunnerMachineSpecType +from .group_0031 import ( + ActionsHostedRunnerMachineSpecType, + ActionsHostedRunnerMachineSpecTypeForResponse, +) class EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type( @@ -23,4 +26,16 @@ class EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type( machine_specs: list[ActionsHostedRunnerMachineSpecType] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type",) +class EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200""" + + total_count: int + machine_specs: list[ActionsHostedRunnerMachineSpecTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0973.py b/githubkit/versions/ghec_v2022_11_28/types/group_0973.py index 1114dd36e..ff3e4e036 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0973.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0973.py @@ -19,4 +19,16 @@ class EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type(Typed platforms: list[str] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type",) +class EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200""" + + total_count: int + platforms: list[str] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200Type", + "EnterprisesEnterpriseActionsHostedRunnersPlatformsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0974.py b/githubkit/versions/ghec_v2022_11_28/types/group_0974.py index 929736d74..16679d69b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0974.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0974.py @@ -23,4 +23,19 @@ class EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType(Typed image_version: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType",) +class EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBody""" + + name: NotRequired[str] + runner_group_id: NotRequired[int] + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_version: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyType", + "EnterprisesEnterpriseActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0975.py b/githubkit/versions/ghec_v2022_11_28/types/group_0975.py index 2e625e3f2..500826996 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0975.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0975.py @@ -21,4 +21,15 @@ class EnterprisesEnterpriseActionsPermissionsPutBodyType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("EnterprisesEnterpriseActionsPermissionsPutBodyType",) +class EnterprisesEnterpriseActionsPermissionsPutBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsPermissionsPutBody""" + + enabled_organizations: Literal["all", "none", "selected"] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "EnterprisesEnterpriseActionsPermissionsPutBodyType", + "EnterprisesEnterpriseActionsPermissionsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0976.py b/githubkit/versions/ghec_v2022_11_28/types/group_0976.py index c08c44e67..afebc83cb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0976.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0976.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0044 import OrganizationSimpleType +from .group_0044 import OrganizationSimpleType, OrganizationSimpleTypeForResponse class EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type(Typ organizations: list[OrganizationSimpleType] -__all__ = ("EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type",) +class EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200""" + + total_count: float + organizations: list[OrganizationSimpleTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200Type", + "EnterprisesEnterpriseActionsPermissionsOrganizationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0977.py b/githubkit/versions/ghec_v2022_11_28/types/group_0977.py index e10af1aa1..506d1e58e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0977.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0977.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType(TypedDict) selected_organization_ids: list[int] -__all__ = ("EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType",) +class EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsPermissionsOrganizationsPutBody""" + + selected_organization_ids: list[int] + + +__all__ = ( + "EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyType", + "EnterprisesEnterpriseActionsPermissionsOrganizationsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0978.py b/githubkit/versions/ghec_v2022_11_28/types/group_0978.py index 9c8db621d..4b97b5372 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0978.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0978.py @@ -20,6 +20,15 @@ class EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type disable_self_hosted_runners_for_all_orgs: bool +class EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200""" + + disable_self_hosted_runners_for_all_orgs: bool + + __all__ = ( "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0979.py b/githubkit/versions/ghec_v2022_11_28/types/group_0979.py index 397184d32..3d1f9de3c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0979.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0979.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType(TypedD disable_self_hosted_runners_for_all_orgs: bool -__all__ = ("EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType",) +class EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBody""" + + disable_self_hosted_runners_for_all_orgs: bool + + +__all__ = ( + "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyType", + "EnterprisesEnterpriseActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0980.py b/githubkit/versions/ghec_v2022_11_28/types/group_0980.py index 5a30f5258..fd5910f29 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0980.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0980.py @@ -19,6 +19,13 @@ class EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type(TypedDict): runner_groups: list[RunnerGroupsEnterpriseType] +class EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsRunnerGroupsGetResponse200""" + + total_count: float + runner_groups: list[RunnerGroupsEnterpriseTypeForResponse] + + class RunnerGroupsEnterpriseType(TypedDict): """RunnerGroupsEnterprise""" @@ -36,7 +43,26 @@ class RunnerGroupsEnterpriseType(TypedDict): selected_workflows: NotRequired[list[str]] +class RunnerGroupsEnterpriseTypeForResponse(TypedDict): + """RunnerGroupsEnterprise""" + + id: float + name: str + visibility: str + default: bool + selected_organizations_url: NotRequired[str] + runners_url: str + hosted_runners_url: NotRequired[str] + network_configuration_id: NotRequired[str] + allows_public_repositories: bool + workflow_restrictions_read_only: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseActionsRunnerGroupsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsEnterpriseType", + "RunnerGroupsEnterpriseTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0981.py b/githubkit/versions/ghec_v2022_11_28/types/group_0981.py index 772221f28..93dfb2dbb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0981.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0981.py @@ -26,4 +26,20 @@ class EnterprisesEnterpriseActionsRunnerGroupsPostBodyType(TypedDict): network_configuration_id: NotRequired[str] -__all__ = ("EnterprisesEnterpriseActionsRunnerGroupsPostBodyType",) +class EnterprisesEnterpriseActionsRunnerGroupsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsRunnerGroupsPostBody""" + + name: str + visibility: NotRequired[Literal["selected", "all"]] + selected_organization_ids: NotRequired[list[int]] + runners: NotRequired[list[int]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[str] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnerGroupsPostBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0982.py b/githubkit/versions/ghec_v2022_11_28/types/group_0982.py index 7127368d3..dd453a1ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0982.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0982.py @@ -24,4 +24,20 @@ class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType(TypedDi network_configuration_id: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType",) +class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBody""" + + name: NotRequired[str] + visibility: NotRequired[Literal["selected", "all"]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0983.py b/githubkit/versions/ghec_v2022_11_28/types/group_0983.py index 574d41d6f..5c804527f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0983.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0983.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0044 import OrganizationSimpleType +from .group_0044 import OrganizationSimpleType, OrganizationSimpleTypeForResponse class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type( @@ -23,6 +23,16 @@ class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetRespo organizations: list[OrganizationSimpleType] +class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200""" + + total_count: float + organizations: list[OrganizationSimpleTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0984.py b/githubkit/versions/ghec_v2022_11_28/types/group_0984.py index ab43b41f7..c81a592e7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0984.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0984.py @@ -20,6 +20,15 @@ class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyT selected_organization_ids: list[int] +class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBody""" + + selected_organization_ids: list[int] + + __all__ = ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdOrganizationsPutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0985.py b/githubkit/versions/ghec_v2022_11_28/types/group_0985.py index c0cc16f9e..6e93f3f42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0985.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0985.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type( @@ -23,6 +23,16 @@ class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200 runners: list[RunnerType] +class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200""" + + total_count: float + runners: list[RunnerTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0986.py b/githubkit/versions/ghec_v2022_11_28/types/group_0986.py index f9cb41787..0606f275c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0986.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0986.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType( runners: list[int] -__all__ = ("EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType",) +class EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBody""" + + runners: list[int] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "EnterprisesEnterpriseActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0987.py b/githubkit/versions/ghec_v2022_11_28/types/group_0987.py index dad8b7f07..41685b1c4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0987.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0987.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class EnterprisesEnterpriseActionsRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class EnterprisesEnterpriseActionsRunnersGetResponse200Type(TypedDict): runners: NotRequired[list[RunnerType]] -__all__ = ("EnterprisesEnterpriseActionsRunnersGetResponse200Type",) +class EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse(TypedDict): + """EnterprisesEnterpriseActionsRunnersGetResponse200""" + + total_count: NotRequired[float] + runners: NotRequired[list[RunnerTypeForResponse]] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersGetResponse200Type", + "EnterprisesEnterpriseActionsRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0988.py b/githubkit/versions/ghec_v2022_11_28/types/group_0988.py index 05462f38c..21abb5e49 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0988.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0988.py @@ -21,4 +21,18 @@ class EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType(TypedDict work_folder: NotRequired[str] -__all__ = ("EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType",) +class EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBody""" + + name: str + runner_group_id: int + labels: list[str] + work_folder: NotRequired[str] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyType", + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0989.py b/githubkit/versions/ghec_v2022_11_28/types/group_0989.py index 51f17a480..4dec44cfa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0989.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0989.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type( @@ -23,4 +23,16 @@ class EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type( encoded_jit_config: str -__all__ = ("EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type",) +class EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201""" + + runner: RunnerTypeForResponse + encoded_jit_config: str + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201Type", + "EnterprisesEnterpriseActionsRunnersGenerateJitconfigPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0990.py b/githubkit/versions/ghec_v2022_11_28/types/group_0990.py index c9ca85783..b8dcd7026 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0990.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0990.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0048 import RunnerLabelType +from .group_0048 import RunnerLabelType, RunnerLabelTypeForResponse class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type(TypedD labels: list[RunnerLabelType] -__all__ = ("EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type",) +class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200""" + + total_count: int + labels: list[RunnerLabelTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200Type", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0991.py b/githubkit/versions/ghec_v2022_11_28/types/group_0991.py index a11685a46..d442db751 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0991.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0991.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType(TypedDict): labels: list[str] -__all__ = ("EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType",) +class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBody""" + + labels: list[str] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyType", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0992.py b/githubkit/versions/ghec_v2022_11_28/types/group_0992.py index 55a7d1a67..bb508c415 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0992.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0992.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType(TypedDict): labels: list[str] -__all__ = ("EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType",) +class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBody""" + + labels: list[str] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyType", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0993.py b/githubkit/versions/ghec_v2022_11_28/types/group_0993.py index 359453f8c..63c7550dc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0993.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0993.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0048 import RunnerLabelType +from .group_0048 import RunnerLabelType, RunnerLabelTypeForResponse class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type(Typ labels: list[RunnerLabelType] -__all__ = ("EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type",) +class EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200""" + + total_count: int + labels: list[RunnerLabelTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200Type", + "EnterprisesEnterpriseActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0994.py b/githubkit/versions/ghec_v2022_11_28/types/group_0994.py index 71ac6803f..2b6486318 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0994.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0994.py @@ -21,4 +21,17 @@ class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType(TypedDi repositories: NotRequired[list[str]] -__all__ = ("EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType",) +class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBody""" + + client_id: str + repository_selection: Literal["all", "selected", "none"] + repositories: NotRequired[list[str]] + + +__all__ = ( + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0995.py b/githubkit/versions/ghec_v2022_11_28/types/group_0995.py index 293fd9d80..01f4a40d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0995.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0995.py @@ -24,6 +24,18 @@ class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdReposi repositories: NotRequired[list[str]] +class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositories + PatchBody + """ + + repository_selection: Literal["all", "selected"] + repositories: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0996.py b/githubkit/versions/ghec_v2022_11_28/types/group_0996.py index 9adb6d2e5..cec27a8bc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0996.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0996.py @@ -22,6 +22,17 @@ class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdReposi repositories: list[str] +class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositories + AddPatchBody + """ + + repositories: list[str] + + __all__ = ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesAddPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0997.py b/githubkit/versions/ghec_v2022_11_28/types/group_0997.py index dda949940..2a6bc5885 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0997.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0997.py @@ -22,6 +22,17 @@ class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdReposi repositories: list[str] +class EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositories + RemovePatchBody + """ + + repositories: list[str] + + __all__ = ( "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyType", + "EnterprisesEnterpriseAppsOrganizationsOrgInstallationsInstallationIdRepositoriesRemovePatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0998.py b/githubkit/versions/ghec_v2022_11_28/types/group_0998.py index f6da59430..18a6b3660 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0998.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0998.py @@ -14,13 +14,23 @@ from .group_0060 import ( AmazonS3AccessKeysConfigType, + AmazonS3AccessKeysConfigTypeForResponse, AzureBlobConfigType, + AzureBlobConfigTypeForResponse, AzureHubConfigType, + AzureHubConfigTypeForResponse, DatadogConfigType, + DatadogConfigTypeForResponse, HecConfigType, + HecConfigTypeForResponse, ) -from .group_0061 import AmazonS3OidcConfigType, SplunkConfigType -from .group_0062 import GoogleCloudConfigType +from .group_0061 import ( + AmazonS3OidcConfigType, + AmazonS3OidcConfigTypeForResponse, + SplunkConfigType, + SplunkConfigTypeForResponse, +) +from .group_0062 import GoogleCloudConfigType, GoogleCloudConfigTypeForResponse class EnterprisesEnterpriseAuditLogStreamsPostBodyType(TypedDict): @@ -48,4 +58,32 @@ class EnterprisesEnterpriseAuditLogStreamsPostBodyType(TypedDict): ] -__all__ = ("EnterprisesEnterpriseAuditLogStreamsPostBodyType",) +class EnterprisesEnterpriseAuditLogStreamsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseAuditLogStreamsPostBody""" + + enabled: bool + stream_type: Literal[ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog", + ] + vendor_specific: Union[ + AzureBlobConfigTypeForResponse, + AzureHubConfigTypeForResponse, + AmazonS3OidcConfigTypeForResponse, + AmazonS3AccessKeysConfigTypeForResponse, + SplunkConfigTypeForResponse, + HecConfigTypeForResponse, + GoogleCloudConfigTypeForResponse, + DatadogConfigTypeForResponse, + ] + + +__all__ = ( + "EnterprisesEnterpriseAuditLogStreamsPostBodyType", + "EnterprisesEnterpriseAuditLogStreamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_0999.py b/githubkit/versions/ghec_v2022_11_28/types/group_0999.py index 39aa5e93e..4e344c734 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_0999.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_0999.py @@ -14,13 +14,23 @@ from .group_0060 import ( AmazonS3AccessKeysConfigType, + AmazonS3AccessKeysConfigTypeForResponse, AzureBlobConfigType, + AzureBlobConfigTypeForResponse, AzureHubConfigType, + AzureHubConfigTypeForResponse, DatadogConfigType, + DatadogConfigTypeForResponse, HecConfigType, + HecConfigTypeForResponse, ) -from .group_0061 import AmazonS3OidcConfigType, SplunkConfigType -from .group_0062 import GoogleCloudConfigType +from .group_0061 import ( + AmazonS3OidcConfigType, + AmazonS3OidcConfigTypeForResponse, + SplunkConfigType, + SplunkConfigTypeForResponse, +) +from .group_0062 import GoogleCloudConfigType, GoogleCloudConfigTypeForResponse class EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType(TypedDict): @@ -48,4 +58,32 @@ class EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType(TypedDict): ] -__all__ = ("EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType",) +class EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseAuditLogStreamsStreamIdPutBody""" + + enabled: bool + stream_type: Literal[ + "Azure Blob Storage", + "Azure Event Hubs", + "Amazon S3", + "Splunk", + "HTTPS Event Collector", + "Google Cloud Storage", + "Datadog", + ] + vendor_specific: Union[ + AzureBlobConfigTypeForResponse, + AzureHubConfigTypeForResponse, + AmazonS3OidcConfigTypeForResponse, + AmazonS3AccessKeysConfigTypeForResponse, + SplunkConfigTypeForResponse, + HecConfigTypeForResponse, + GoogleCloudConfigTypeForResponse, + DatadogConfigTypeForResponse, + ] + + +__all__ = ( + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyType", + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1000.py b/githubkit/versions/ghec_v2022_11_28/types/group_1000.py index ec679fcbf..97508db55 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1000.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1000.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type(TypedDict): errors: NotRequired[list[str]] -__all__ = ("EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type",) +class EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422""" + + errors: NotRequired[list[str]] + + +__all__ = ( + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422Type", + "EnterprisesEnterpriseAuditLogStreamsStreamIdPutResponse422TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1001.py b/githubkit/versions/ghec_v2022_11_28/types/group_1001.py index 2bdddc34c..0ea07dc16 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1001.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1001.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type",) +class EnterprisesEnterpriseCodeScanningAlertsGetResponse503TypeForResponse(TypedDict): + """EnterprisesEnterpriseCodeScanningAlertsGetResponse503""" + + code: NotRequired[str] + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "EnterprisesEnterpriseCodeScanningAlertsGetResponse503Type", + "EnterprisesEnterpriseCodeScanningAlertsGetResponse503TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1002.py b/githubkit/versions/ghec_v2022_11_28/types/group_1002.py index 471728b57..654fdd5dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1002.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1002.py @@ -12,8 +12,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0073 import CodeScanningOptionsType -from .group_0074 import CodeScanningDefaultSetupOptionsType +from .group_0073 import CodeScanningOptionsType, CodeScanningOptionsTypeForResponse +from .group_0074 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType(TypedDict): @@ -65,6 +68,55 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseCodeSecurityConfigurationsPostBody""" + + name: str + description: str + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[Union[CodeScanningOptionsTypeForResponse, None]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -77,7 +129,21 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraph labeled_runners: NotRequired[bool] +class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosu + bmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1003.py b/githubkit/versions/ghec_v2022_11_28/types/group_1003.py index 25ef27bb8..ee3409139 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1003.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1003.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0074 import CodeScanningDefaultSetupOptionsType +from .group_0074 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType( @@ -65,6 +68,56 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTyp enforcement: NotRequired[Literal["enforced", "unenforced"]] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -77,7 +130,21 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPro labeled_runners: NotRequired[bool] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDepen + dencyGraphAutosubmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1004.py b/githubkit/versions/ghec_v2022_11_28/types/group_1004.py index ec6e0b6b9..05d278d8e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1004.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1004.py @@ -21,6 +21,15 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBo scope: Literal["all", "all_without_configurations"] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBody""" + + scope: Literal["all", "all_without_configurations"] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1005.py b/githubkit/versions/ghec_v2022_11_28/types/group_1005.py index 47259f1fc..a970ab939 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1005.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1005.py @@ -23,6 +23,17 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutB ] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBody""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1006.py b/githubkit/versions/ghec_v2022_11_28/types/group_1006.py index 6d252fa84..01114a12f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1006.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1006.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0072 import CodeSecurityConfigurationType +from .group_0072 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type( @@ -28,6 +31,20 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutR configuration: NotRequired[CodeSecurityConfigurationType] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutRespons + e200 + """ + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1007.py b/githubkit/versions/ghec_v2022_11_28/types/group_1007.py index 669b21726..ac2dcb68f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1007.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1007.py @@ -27,4 +27,21 @@ class EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType(TypedDict): ] -__all__ = ("EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType",) +class EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBody""" + + advanced_security_enabled_for_new_repositories: NotRequired[bool] + advanced_security_enabled_new_user_namespace_repos: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_custom_link: NotRequired[Union[str, None]] + secret_scanning_non_provider_patterns_enabled_for_new_repositories: NotRequired[ + Union[bool, None] + ] + + +__all__ = ( + "EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyType", + "EnterprisesEnterpriseCodeSecurityAndAnalysisPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1008.py b/githubkit/versions/ghec_v2022_11_28/types/group_1008.py index 726c6fca9..a4f6fc36f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1008.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1008.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0082 import CopilotSeatDetailsType +from .group_0082 import CopilotSeatDetailsType, CopilotSeatDetailsTypeForResponse class EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type(TypedDict): seats: NotRequired[list[CopilotSeatDetailsType]] -__all__ = ("EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type",) +class EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse(TypedDict): + """EnterprisesEnterpriseCopilotBillingSeatsGetResponse200""" + + total_seats: NotRequired[int] + seats: NotRequired[list[CopilotSeatDetailsTypeForResponse]] + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSeatsGetResponse200Type", + "EnterprisesEnterpriseCopilotBillingSeatsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1009.py b/githubkit/versions/ghec_v2022_11_28/types/group_1009.py index 83775855c..0c3842041 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1009.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1009.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType(Typ selected_enterprise_teams: list[str] -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType",) +class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBody""" + + selected_enterprise_teams: list[str] + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1010.py b/githubkit/versions/ghec_v2022_11_28/types/group_1010.py index c7b8ce123..21c788fc2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1010.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1010.py @@ -24,6 +24,19 @@ class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201T seats_created: int +class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201 + + The total number of seats created for the members of the specified enterprise + team(s). + """ + + seats_created: int + + __all__ = ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsPostResponse201TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1011.py b/githubkit/versions/ghec_v2022_11_28/types/group_1011.py index fa83733d7..6ea9b6311 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1011.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1011.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType( selected_enterprise_teams: list[str] -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType",) +class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBody""" + + selected_enterprise_teams: list[str] + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1012.py b/githubkit/versions/ghec_v2022_11_28/types/group_1012.py index c65e9cd25..ed036b6f2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1012.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1012.py @@ -24,6 +24,19 @@ class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse20 seats_cancelled: int +class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200 + + The total number of seats set to "pending cancellation" for the members of the + specified enterprise team(s). + """ + + seats_cancelled: int + + __all__ = ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1013.py b/githubkit/versions/ghec_v2022_11_28/types/group_1013.py index 6a34e62ca..474e9c4f9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1013.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1013.py @@ -20,6 +20,15 @@ class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse20 message: NotRequired[str] +class EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202""" + + message: NotRequired[str] + + __all__ = ( "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202Type", + "EnterprisesEnterpriseCopilotBillingSelectedEnterpriseTeamsDeleteResponse202TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1014.py b/githubkit/versions/ghec_v2022_11_28/types/group_1014.py index 3a5d96352..8105c35ad 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1014.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1014.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType",) +class EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedUsersPostBody""" + + selected_usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1015.py b/githubkit/versions/ghec_v2022_11_28/types/group_1015.py index 9ea15fec0..240e8493d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1015.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1015.py @@ -21,4 +21,18 @@ class EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type(TypedD seats_created: int -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type",) +class EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201 + + The total number of seats created for the specified user(s). + """ + + seats_created: int + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201Type", + "EnterprisesEnterpriseCopilotBillingSelectedUsersPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1016.py b/githubkit/versions/ghec_v2022_11_28/types/group_1016.py index 54cdfd761..265d32a8a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1016.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1016.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType",) +class EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBody""" + + selected_usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyType", + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1017.py b/githubkit/versions/ghec_v2022_11_28/types/group_1017.py index 53aedc43f..ca9ee0daf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1017.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1017.py @@ -21,4 +21,18 @@ class EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type(Type seats_cancelled: int -__all__ = ("EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type",) +class EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200 + + The total number of seats set to "pending cancellation" for the specified users. + """ + + seats_cancelled: int + + +__all__ = ( + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200Type", + "EnterprisesEnterpriseCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1018.py b/githubkit/versions/ghec_v2022_11_28/types/group_1018.py index 3eaf5d39b..892d30117 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1018.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1018.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0082 import CopilotSeatDetailsType +from .group_0082 import CopilotSeatDetailsType, CopilotSeatDetailsTypeForResponse class EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type(TypedDict): seats: NotRequired[list[CopilotSeatDetailsType]] -__all__ = ("EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type",) +class EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseMembersUsernameCopilotGetResponse200""" + + total_seats: NotRequired[int] + seats: NotRequired[list[CopilotSeatDetailsTypeForResponse]] + + +__all__ = ( + "EnterprisesEnterpriseMembersUsernameCopilotGetResponse200Type", + "EnterprisesEnterpriseMembersUsernameCopilotGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1019.py b/githubkit/versions/ghec_v2022_11_28/types/group_1019.py index 63196674f..3262ada42 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1019.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1019.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0095 import NetworkConfigurationType +from .group_0095 import NetworkConfigurationType, NetworkConfigurationTypeForResponse class EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type(TypedDict): network_configurations: list[NetworkConfigurationType] -__all__ = ("EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type",) +class EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseNetworkConfigurationsGetResponse200""" + + total_count: int + network_configurations: list[NetworkConfigurationTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseNetworkConfigurationsGetResponse200Type", + "EnterprisesEnterpriseNetworkConfigurationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1020.py b/githubkit/versions/ghec_v2022_11_28/types/group_1020.py index 8140a1e62..bf298ab34 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1020.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1020.py @@ -21,4 +21,15 @@ class EnterprisesEnterpriseNetworkConfigurationsPostBodyType(TypedDict): network_settings_ids: list[str] -__all__ = ("EnterprisesEnterpriseNetworkConfigurationsPostBodyType",) +class EnterprisesEnterpriseNetworkConfigurationsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseNetworkConfigurationsPostBody""" + + name: str + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: list[str] + + +__all__ = ( + "EnterprisesEnterpriseNetworkConfigurationsPostBodyType", + "EnterprisesEnterpriseNetworkConfigurationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1021.py b/githubkit/versions/ghec_v2022_11_28/types/group_1021.py index 021c97df5..3be640914 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1021.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1021.py @@ -23,6 +23,17 @@ class EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyT network_settings_ids: NotRequired[list[str]] +class EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBody""" + + name: NotRequired[str] + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "EnterprisesEnterpriseNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1022.py b/githubkit/versions/ghec_v2022_11_28/types/group_1022.py index b95f1bce3..c64cb5143 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1022.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1022.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0098 import OrganizationCustomPropertyType +from .group_0098 import ( + OrganizationCustomPropertyType, + OrganizationCustomPropertyTypeForResponse, +) class EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType(TypedDict): @@ -20,4 +23,13 @@ class EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType(TypedDict): properties: list[OrganizationCustomPropertyType] -__all__ = ("EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType",) +class EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseOrgPropertiesSchemaPatchBody""" + + properties: list[OrganizationCustomPropertyTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyType", + "EnterprisesEnterpriseOrgPropertiesSchemaPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1023.py b/githubkit/versions/ghec_v2022_11_28/types/group_1023.py index 2e0642f54..958a648be 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1023.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1023.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType(TypedDict): @@ -21,4 +21,14 @@ class EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType",) +class EnterprisesEnterpriseOrgPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseOrgPropertiesValuesPatchBody""" + + organization_logins: list[str] + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "EnterprisesEnterpriseOrgPropertiesValuesPatchBodyType", + "EnterprisesEnterpriseOrgPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1024.py b/githubkit/versions/ghec_v2022_11_28/types/group_1024.py index 1850bd1cd..dd7b3b426 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1024.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1024.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0103 import CustomPropertyType +from .group_0103 import CustomPropertyType, CustomPropertyTypeForResponse class EnterprisesEnterprisePropertiesSchemaPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class EnterprisesEnterprisePropertiesSchemaPatchBodyType(TypedDict): properties: list[CustomPropertyType] -__all__ = ("EnterprisesEnterprisePropertiesSchemaPatchBodyType",) +class EnterprisesEnterprisePropertiesSchemaPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterprisePropertiesSchemaPatchBody""" + + properties: list[CustomPropertyTypeForResponse] + + +__all__ = ( + "EnterprisesEnterprisePropertiesSchemaPatchBodyType", + "EnterprisesEnterprisePropertiesSchemaPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1025.py b/githubkit/versions/ghec_v2022_11_28/types/group_1025.py index 800b16238..f1552dfdd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1025.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1025.py @@ -12,35 +12,105 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType -from .group_0118 import EnterpriseRulesetConditionsOneof0Type -from .group_0119 import EnterpriseRulesetConditionsOneof1Type -from .group_0120 import EnterpriseRulesetConditionsOneof2Type -from .group_0121 import EnterpriseRulesetConditionsOneof3Type -from .group_0122 import EnterpriseRulesetConditionsOneof4Type -from .group_0123 import EnterpriseRulesetConditionsOneof5Type +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0118 import ( + EnterpriseRulesetConditionsOneof0Type, + EnterpriseRulesetConditionsOneof0TypeForResponse, +) +from .group_0119 import ( + EnterpriseRulesetConditionsOneof1Type, + EnterpriseRulesetConditionsOneof1TypeForResponse, +) +from .group_0120 import ( + EnterpriseRulesetConditionsOneof2Type, + EnterpriseRulesetConditionsOneof2TypeForResponse, +) +from .group_0121 import ( + EnterpriseRulesetConditionsOneof3Type, + EnterpriseRulesetConditionsOneof3TypeForResponse, +) +from .group_0122 import ( + EnterpriseRulesetConditionsOneof4Type, + EnterpriseRulesetConditionsOneof4TypeForResponse, +) +from .group_0123 import ( + EnterpriseRulesetConditionsOneof5Type, + EnterpriseRulesetConditionsOneof5TypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType class EnterprisesEnterpriseRulesetsPostBodyType(TypedDict): @@ -88,4 +158,52 @@ class EnterprisesEnterpriseRulesetsPostBodyType(TypedDict): ] -__all__ = ("EnterprisesEnterpriseRulesetsPostBodyType",) +class EnterprisesEnterpriseRulesetsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseRulesetsPostBody""" + + name: str + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + EnterpriseRulesetConditionsOneof0TypeForResponse, + EnterpriseRulesetConditionsOneof1TypeForResponse, + EnterpriseRulesetConditionsOneof2TypeForResponse, + EnterpriseRulesetConditionsOneof3TypeForResponse, + EnterpriseRulesetConditionsOneof4TypeForResponse, + EnterpriseRulesetConditionsOneof5TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "EnterprisesEnterpriseRulesetsPostBodyType", + "EnterprisesEnterpriseRulesetsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1026.py b/githubkit/versions/ghec_v2022_11_28/types/group_1026.py index 0b2792189..5d79a21c9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1026.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1026.py @@ -12,35 +12,105 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType -from .group_0118 import EnterpriseRulesetConditionsOneof0Type -from .group_0119 import EnterpriseRulesetConditionsOneof1Type -from .group_0120 import EnterpriseRulesetConditionsOneof2Type -from .group_0121 import EnterpriseRulesetConditionsOneof3Type -from .group_0122 import EnterpriseRulesetConditionsOneof4Type -from .group_0123 import EnterpriseRulesetConditionsOneof5Type +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0118 import ( + EnterpriseRulesetConditionsOneof0Type, + EnterpriseRulesetConditionsOneof0TypeForResponse, +) +from .group_0119 import ( + EnterpriseRulesetConditionsOneof1Type, + EnterpriseRulesetConditionsOneof1TypeForResponse, +) +from .group_0120 import ( + EnterpriseRulesetConditionsOneof2Type, + EnterpriseRulesetConditionsOneof2TypeForResponse, +) +from .group_0121 import ( + EnterpriseRulesetConditionsOneof3Type, + EnterpriseRulesetConditionsOneof3TypeForResponse, +) +from .group_0122 import ( + EnterpriseRulesetConditionsOneof4Type, + EnterpriseRulesetConditionsOneof4TypeForResponse, +) +from .group_0123 import ( + EnterpriseRulesetConditionsOneof5Type, + EnterpriseRulesetConditionsOneof5TypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType class EnterprisesEnterpriseRulesetsRulesetIdPutBodyType(TypedDict): @@ -88,4 +158,52 @@ class EnterprisesEnterpriseRulesetsRulesetIdPutBodyType(TypedDict): ] -__all__ = ("EnterprisesEnterpriseRulesetsRulesetIdPutBodyType",) +class EnterprisesEnterpriseRulesetsRulesetIdPutBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseRulesetsRulesetIdPutBody""" + + name: NotRequired[str] + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: NotRequired[Literal["disabled", "active", "evaluate"]] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + EnterpriseRulesetConditionsOneof0TypeForResponse, + EnterpriseRulesetConditionsOneof1TypeForResponse, + EnterpriseRulesetConditionsOneof2TypeForResponse, + EnterpriseRulesetConditionsOneof3TypeForResponse, + EnterpriseRulesetConditionsOneof4TypeForResponse, + EnterpriseRulesetConditionsOneof5TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "EnterprisesEnterpriseRulesetsRulesetIdPutBodyType", + "EnterprisesEnterpriseRulesetsRulesetIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1027.py b/githubkit/versions/ghec_v2022_11_28/types/group_1027.py index 3f6ce4906..e1486a568 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1027.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1027.py @@ -29,6 +29,24 @@ class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType(Type ] +class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBody""" + + pattern_config_version: NotRequired[Union[str, None]] + provider_pattern_settings: NotRequired[ + list[ + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse + ] + ] + custom_pattern_settings: NotRequired[ + list[ + EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse + ] + ] + + class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType( TypedDict ): @@ -40,6 +58,17 @@ class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProvi push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] +class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPat + ternSettingsItems + """ + + token_type: NotRequired[str] + push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] + + class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType( TypedDict ): @@ -52,8 +81,23 @@ class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCusto push_protection_setting: NotRequired[Literal["disabled", "enabled"]] +class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatte + rnSettingsItems + """ + + token_type: NotRequired[str] + custom_pattern_version: NotRequired[Union[str, None]] + push_protection_setting: NotRequired[Literal["disabled", "enabled"]] + + __all__ = ( "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyType", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1028.py b/githubkit/versions/ghec_v2022_11_28/types/group_1028.py index 3f0c40c40..27d6f39e0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1028.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1028.py @@ -20,6 +20,15 @@ class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Ty pattern_config_version: NotRequired[str] +class EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200""" + + pattern_config_version: NotRequired[str] + + __all__ = ( "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200Type", + "EnterprisesEnterpriseSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1029.py b/githubkit/versions/ghec_v2022_11_28/types/group_1029.py index 064930926..96020e7e2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1029.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1029.py @@ -27,6 +27,18 @@ class EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType(TypedDict): budget_product_sku: NotRequired[str] +class EnterprisesEnterpriseSettingsBillingBudgetsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseSettingsBillingBudgetsPostBody""" + + budget_amount: int + prevent_further_usage: bool + budget_alerting: EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse + budget_scope: Literal["enterprise", "organization", "repository", "cost_center"] + budget_entity_name: NotRequired[str] + budget_type: Literal["ProductPricing", "SkuPricing"] + budget_product_sku: NotRequired[str] + + class EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType( TypedDict ): @@ -36,7 +48,18 @@ class EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType( alert_recipients: list[str] +class EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlerting""" + + will_alert: bool + alert_recipients: list[str] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingType", + "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyPropBudgetAlertingTypeForResponse", "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyType", + "EnterprisesEnterpriseSettingsBillingBudgetsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1030.py b/githubkit/versions/ghec_v2022_11_28/types/group_1030.py index b127c74ca..40b9426a0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1030.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1030.py @@ -29,6 +29,24 @@ class EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType(TypedDict budget_product_sku: NotRequired[str] +class EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBody""" + + budget_amount: NotRequired[int] + prevent_further_usage: NotRequired[bool] + budget_alerting: NotRequired[ + EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse + ] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_product_sku: NotRequired[str] + + class EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType( TypedDict ): @@ -38,7 +56,18 @@ class EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAler alert_recipients: NotRequired[list[str]] +class EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyType", + "EnterprisesEnterpriseSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1031.py b/githubkit/versions/ghec_v2022_11_28/types/group_1031.py index d71ce1643..a89ff6d04 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1031.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1031.py @@ -18,4 +18,13 @@ class EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType(TypedDict): name: str -__all__ = ("EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType",) +class EnterprisesEnterpriseSettingsBillingCostCentersPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseSettingsBillingCostCentersPostBody""" + + name: str + + +__all__ = ( + "EnterprisesEnterpriseSettingsBillingCostCentersPostBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1032.py b/githubkit/versions/ghec_v2022_11_28/types/group_1032.py index e274037b0..1e554514a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1032.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1032.py @@ -27,6 +27,22 @@ class EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type(TypedDi ] +class EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200""" + + id: NotRequired[str] + name: NotRequired[str] + azure_subscription: NotRequired[Union[str, None]] + state: NotRequired[Literal["active", "deleted"]] + resources: NotRequired[ + list[ + EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse + ] + ] + + class EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsType( TypedDict ): @@ -36,7 +52,18 @@ class EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResource name: NotRequired[str] +class EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItems""" + + type: NotRequired[str] + name: NotRequired[str] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsType", + "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200PropResourcesItemsTypeForResponse", "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1033.py b/githubkit/versions/ghec_v2022_11_28/types/group_1033.py index ea83f2cf4..05748e540 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1033.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1033.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType( name: str -__all__ = ("EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType",) +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBody""" + + name: str + + +__all__ = ( + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1034.py b/githubkit/versions/ghec_v2022_11_28/types/group_1034.py index 58b8839d7..af2fd2851 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1034.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1034.py @@ -22,6 +22,17 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBod repositories: NotRequired[list[str]] +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBody""" + + users: NotRequired[list[str]] + organizations: NotRequired[list[str]] + repositories: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1035.py b/githubkit/versions/ghec_v2022_11_28/types/group_1035.py index 7c94e34af..dc4316287 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1035.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1035.py @@ -31,6 +31,24 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostRes ] +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse2 + 00 + """ + + message: NotRequired[str] + reassigned_resources: NotRequired[ + Union[ + list[ + EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse + ], + None, + ] + ] + + class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsType( TypedDict ): @@ -43,7 +61,21 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostRes previous_cost_center: NotRequired[str] +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse2 + 00PropReassignedResourcesItems + """ + + resource_type: NotRequired[str] + name: NotRequired[str] + previous_cost_center: NotRequired[str] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200PropReassignedResourcesItemsTypeForResponse", "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourcePostResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1036.py b/githubkit/versions/ghec_v2022_11_28/types/group_1036.py index 92e3b540c..1094b2464 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1036.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1036.py @@ -22,6 +22,17 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteB repositories: NotRequired[list[str]] +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBody""" + + users: NotRequired[list[str]] + organizations: NotRequired[list[str]] + repositories: NotRequired[list[str]] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyType", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1037.py b/githubkit/versions/ghec_v2022_11_28/types/group_1037.py index 38414b976..815a8b78b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1037.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1037.py @@ -22,6 +22,17 @@ class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteR message: NotRequired[str] +class EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteRespons + e200 + """ + + message: NotRequired[str] + + __all__ = ( "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200Type", + "EnterprisesEnterpriseSettingsBillingCostCentersCostCenterIdResourceDeleteResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1038.py b/githubkit/versions/ghec_v2022_11_28/types/group_1038.py index d92f68c8d..979c72975 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1038.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1038.py @@ -23,4 +23,17 @@ class EnterprisesEnterpriseTeamsPostBodyType(TypedDict): group_id: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseTeamsPostBodyType",) +class EnterprisesEnterpriseTeamsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseTeamsPostBody""" + + name: str + description: NotRequired[Union[str, None]] + sync_to_organizations: NotRequired[Literal["all", "disabled"]] + organization_selection_type: NotRequired[Literal["disabled", "selected", "all"]] + group_id: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1039.py b/githubkit/versions/ghec_v2022_11_28/types/group_1039.py index 7f55cca91..4c4fdbbd3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1039.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1039.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType(TypedDi usernames: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBody""" + + usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1040.py b/githubkit/versions/ghec_v2022_11_28/types/group_1040.py index 53749c215..792bd9e59 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1040.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1040.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType(Type usernames: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBody""" + + usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1041.py b/githubkit/versions/ghec_v2022_11_28/types/group_1041.py index dda5d495a..adf8e6b2c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1041.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1041.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType(Typed organization_slugs: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBody""" + + organization_slugs: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1042.py b/githubkit/versions/ghec_v2022_11_28/types/group_1042.py index 9eb3ea5ba..d587e1283 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1042.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1042.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType( organization_slugs: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBody""" + + organization_slugs: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1043.py b/githubkit/versions/ghec_v2022_11_28/types/group_1043.py index 2523b1fe0..7258e9d48 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1043.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1043.py @@ -23,4 +23,17 @@ class EnterprisesEnterpriseTeamsTeamSlugPatchBodyType(TypedDict): group_id: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseTeamsTeamSlugPatchBodyType",) +class EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseTeamsTeamSlugPatchBody""" + + name: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + sync_to_organizations: NotRequired[Literal["all", "disabled"]] + organization_selection_type: NotRequired[Literal["disabled", "selected", "all"]] + group_id: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyType", + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1044.py b/githubkit/versions/ghec_v2022_11_28/types/group_1044.py index 2a811b378..e5ba8b635 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1044.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1044.py @@ -21,6 +21,14 @@ class GistsPostBodyType(TypedDict): public: NotRequired[Union[bool, Literal["true", "false"]]] +class GistsPostBodyTypeForResponse(TypedDict): + """GistsPostBody""" + + description: NotRequired[str] + files: GistsPostBodyPropFilesTypeForResponse + public: NotRequired[Union[bool, Literal["true", "false"]]] + + GistsPostBodyPropFilesType: TypeAlias = dict[str, Any] """GistsPostBodyPropFiles @@ -31,7 +39,19 @@ class GistsPostBodyType(TypedDict): """ +GistsPostBodyPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistsPostBodyPropFiles + +Names and content for the files that make up the gist + +Examples: + {'hello.rb': {'content': 'puts "Hello, World!"'}} +""" + + __all__ = ( "GistsPostBodyPropFilesType", + "GistsPostBodyPropFilesTypeForResponse", "GistsPostBodyType", + "GistsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1045.py b/githubkit/versions/ghec_v2022_11_28/types/group_1045.py index cad5cbf2a..2b5fe1697 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1045.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1045.py @@ -21,6 +21,14 @@ class GistsGistIdGetResponse403Type(TypedDict): documentation_url: NotRequired[str] +class GistsGistIdGetResponse403TypeForResponse(TypedDict): + """GistsGistIdGetResponse403""" + + block: NotRequired[GistsGistIdGetResponse403PropBlockTypeForResponse] + message: NotRequired[str] + documentation_url: NotRequired[str] + + class GistsGistIdGetResponse403PropBlockType(TypedDict): """GistsGistIdGetResponse403PropBlock""" @@ -29,7 +37,17 @@ class GistsGistIdGetResponse403PropBlockType(TypedDict): html_url: NotRequired[Union[str, None]] +class GistsGistIdGetResponse403PropBlockTypeForResponse(TypedDict): + """GistsGistIdGetResponse403PropBlock""" + + reason: NotRequired[str] + created_at: NotRequired[str] + html_url: NotRequired[Union[str, None]] + + __all__ = ( "GistsGistIdGetResponse403PropBlockType", + "GistsGistIdGetResponse403PropBlockTypeForResponse", "GistsGistIdGetResponse403Type", + "GistsGistIdGetResponse403TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1046.py b/githubkit/versions/ghec_v2022_11_28/types/group_1046.py index e5f3979ec..4ec626a76 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1046.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1046.py @@ -20,6 +20,13 @@ class GistsGistIdPatchBodyType(TypedDict): files: NotRequired[GistsGistIdPatchBodyPropFilesType] +class GistsGistIdPatchBodyTypeForResponse(TypedDict): + """GistsGistIdPatchBody""" + + description: NotRequired[str] + files: NotRequired[GistsGistIdPatchBodyPropFilesTypeForResponse] + + GistsGistIdPatchBodyPropFilesType: TypeAlias = dict[str, Any] """GistsGistIdPatchBodyPropFiles @@ -37,7 +44,26 @@ class GistsGistIdPatchBodyType(TypedDict): """ +GistsGistIdPatchBodyPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistsGistIdPatchBodyPropFiles + +The gist files to be updated, renamed, or deleted. Each `key` must match the +current filename +(including extension) of the targeted gist file. For example: `hello.py`. + +To delete a file, set the whole file to null. For example: `hello.py : null`. +The file will also be +deleted if the specified object does not contain at least one of `content` or +`filename`. + +Examples: + {'hello.rb': {'content': 'blah', 'filename': 'goodbye.rb'}} +""" + + __all__ = ( "GistsGistIdPatchBodyPropFilesType", + "GistsGistIdPatchBodyPropFilesTypeForResponse", "GistsGistIdPatchBodyType", + "GistsGistIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1047.py b/githubkit/versions/ghec_v2022_11_28/types/group_1047.py index 054661ac7..2be7f4e4c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1047.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1047.py @@ -18,4 +18,13 @@ class GistsGistIdCommentsPostBodyType(TypedDict): body: str -__all__ = ("GistsGistIdCommentsPostBodyType",) +class GistsGistIdCommentsPostBodyTypeForResponse(TypedDict): + """GistsGistIdCommentsPostBody""" + + body: str + + +__all__ = ( + "GistsGistIdCommentsPostBodyType", + "GistsGistIdCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1048.py b/githubkit/versions/ghec_v2022_11_28/types/group_1048.py index 39ac46ae2..3f266d71c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1048.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1048.py @@ -18,4 +18,13 @@ class GistsGistIdCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("GistsGistIdCommentsCommentIdPatchBodyType",) +class GistsGistIdCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """GistsGistIdCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "GistsGistIdCommentsCommentIdPatchBodyType", + "GistsGistIdCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1049.py b/githubkit/versions/ghec_v2022_11_28/types/group_1049.py index 10e6b69c7..7e413cd6d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1049.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1049.py @@ -16,4 +16,11 @@ class GistsGistIdStarGetResponse404Type(TypedDict): """GistsGistIdStarGetResponse404""" -__all__ = ("GistsGistIdStarGetResponse404Type",) +class GistsGistIdStarGetResponse404TypeForResponse(TypedDict): + """GistsGistIdStarGetResponse404""" + + +__all__ = ( + "GistsGistIdStarGetResponse404Type", + "GistsGistIdStarGetResponse404TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1050.py b/githubkit/versions/ghec_v2022_11_28/types/group_1050.py index a168e4016..800bc3970 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1050.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1050.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class InstallationRepositoriesGetResponse200Type(TypedDict): @@ -22,4 +22,15 @@ class InstallationRepositoriesGetResponse200Type(TypedDict): repository_selection: NotRequired[str] -__all__ = ("InstallationRepositoriesGetResponse200Type",) +class InstallationRepositoriesGetResponse200TypeForResponse(TypedDict): + """InstallationRepositoriesGetResponse200""" + + total_count: int + repositories: list[RepositoryTypeForResponse] + repository_selection: NotRequired[str] + + +__all__ = ( + "InstallationRepositoriesGetResponse200Type", + "InstallationRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1051.py b/githubkit/versions/ghec_v2022_11_28/types/group_1051.py index cb94d812e..5a8485084 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1051.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1051.py @@ -21,4 +21,15 @@ class MarkdownPostBodyType(TypedDict): context: NotRequired[str] -__all__ = ("MarkdownPostBodyType",) +class MarkdownPostBodyTypeForResponse(TypedDict): + """MarkdownPostBody""" + + text: str + mode: NotRequired[Literal["markdown", "gfm"]] + context: NotRequired[str] + + +__all__ = ( + "MarkdownPostBodyType", + "MarkdownPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1052.py b/githubkit/versions/ghec_v2022_11_28/types/group_1052.py index f9c51f36b..825fcc3f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1052.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1052.py @@ -20,4 +20,14 @@ class NotificationsPutBodyType(TypedDict): read: NotRequired[bool] -__all__ = ("NotificationsPutBodyType",) +class NotificationsPutBodyTypeForResponse(TypedDict): + """NotificationsPutBody""" + + last_read_at: NotRequired[str] + read: NotRequired[bool] + + +__all__ = ( + "NotificationsPutBodyType", + "NotificationsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1053.py b/githubkit/versions/ghec_v2022_11_28/types/group_1053.py index 70705f433..0850548d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1053.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1053.py @@ -18,4 +18,13 @@ class NotificationsPutResponse202Type(TypedDict): message: NotRequired[str] -__all__ = ("NotificationsPutResponse202Type",) +class NotificationsPutResponse202TypeForResponse(TypedDict): + """NotificationsPutResponse202""" + + message: NotRequired[str] + + +__all__ = ( + "NotificationsPutResponse202Type", + "NotificationsPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1054.py b/githubkit/versions/ghec_v2022_11_28/types/group_1054.py index 0dbd53ac7..252914946 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1054.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1054.py @@ -18,4 +18,13 @@ class NotificationsThreadsThreadIdSubscriptionPutBodyType(TypedDict): ignored: NotRequired[bool] -__all__ = ("NotificationsThreadsThreadIdSubscriptionPutBodyType",) +class NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse(TypedDict): + """NotificationsThreadsThreadIdSubscriptionPutBody""" + + ignored: NotRequired[bool] + + +__all__ = ( + "NotificationsThreadsThreadIdSubscriptionPutBodyType", + "NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1055.py b/githubkit/versions/ghec_v2022_11_28/types/group_1055.py index 00cbce143..459b127b6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1055.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1055.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0217 import OrganizationCustomRepositoryRoleType +from .group_0217 import ( + OrganizationCustomRepositoryRoleType, + OrganizationCustomRepositoryRoleTypeForResponse, +) class OrganizationsOrganizationIdCustomRolesGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrganizationsOrganizationIdCustomRolesGetResponse200Type(TypedDict): custom_roles: NotRequired[list[OrganizationCustomRepositoryRoleType]] -__all__ = ("OrganizationsOrganizationIdCustomRolesGetResponse200Type",) +class OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse(TypedDict): + """OrganizationsOrganizationIdCustomRolesGetResponse200""" + + total_count: NotRequired[int] + custom_roles: NotRequired[list[OrganizationCustomRepositoryRoleTypeForResponse]] + + +__all__ = ( + "OrganizationsOrganizationIdCustomRolesGetResponse200Type", + "OrganizationsOrganizationIdCustomRolesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1056.py b/githubkit/versions/ghec_v2022_11_28/types/group_1056.py index 3d20a3b98..91e3cf83e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1056.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1056.py @@ -23,4 +23,18 @@ class OrganizationsOrgDependabotRepositoryAccessPatchBodyType(TypedDict): repository_ids_to_remove: NotRequired[list[int]] -__all__ = ("OrganizationsOrgDependabotRepositoryAccessPatchBodyType",) +class OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgDependabotRepositoryAccessPatchBody + + Examples: + {'repository_ids_to_add': [123, 456], 'repository_ids_to_remove': [789]} + """ + + repository_ids_to_add: NotRequired[list[int]] + repository_ids_to_remove: NotRequired[list[int]] + + +__all__ = ( + "OrganizationsOrgDependabotRepositoryAccessPatchBodyType", + "OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1057.py b/githubkit/versions/ghec_v2022_11_28/types/group_1057.py index 2e01cf7ec..4d3ae28a3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1057.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1057.py @@ -19,4 +19,15 @@ class OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType(TypedDic default_level: Literal["public", "internal"] -__all__ = ("OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType",) +class OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse( + TypedDict +): + """OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBody""" + + default_level: Literal["public", "internal"] + + +__all__ = ( + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType", + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1058.py b/githubkit/versions/ghec_v2022_11_28/types/group_1058.py index c3df0f5f4..347a2ac1c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1058.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1058.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrganizationsOrgOrgPropertiesValuesPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class OrganizationsOrgOrgPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrganizationsOrgOrgPropertiesValuesPatchBodyType",) +class OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgOrgPropertiesValuesPatchBody""" + + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrganizationsOrgOrgPropertiesValuesPatchBodyType", + "OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1059.py b/githubkit/versions/ghec_v2022_11_28/types/group_1059.py index 535bcc59b..37edd163f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1059.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1059.py @@ -29,6 +29,22 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType(TypedDict): budget_product_sku: NotRequired[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBody""" + + budget_amount: NotRequired[int] + prevent_further_usage: NotRequired[bool] + budget_alerting: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse + ] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_product_sku: NotRequired[str] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType( TypedDict ): @@ -38,7 +54,18 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingT alert_recipients: NotRequired[list[str]] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1060.py b/githubkit/versions/ghec_v2022_11_28/types/group_1060.py index 6c03a0891..e111ecdba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1060.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1060.py @@ -22,6 +22,17 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type(TypedDi ] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200""" + + message: NotRequired[str] + budget: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse + ] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType( TypedDict ): @@ -41,6 +52,25 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTy budget_product_sku: NotRequired[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudget""" + + id: NotRequired[str] + budget_amount: NotRequired[float] + prevent_further_usage: NotRequired[bool] + budget_alerting: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse + ] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_product_sku: NotRequired[str] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType( TypedDict ): @@ -52,8 +82,22 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPr alert_recipients: list[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudg + etAlerting + """ + + will_alert: bool + alert_recipients: list[str] + + __all__ = ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1061.py b/githubkit/versions/ghec_v2022_11_28/types/group_1061.py index f0f3bfeba..75d495ef5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1061.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1061.py @@ -53,4 +53,47 @@ class OrgsOrgPatchBodyType(TypedDict): deploy_keys_enabled_for_repositories: NotRequired[bool] -__all__ = ("OrgsOrgPatchBodyType",) +class OrgsOrgPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPatchBody""" + + billing_email: NotRequired[str] + company: NotRequired[str] + email: NotRequired[str] + twitter_username: NotRequired[str] + location: NotRequired[str] + name: NotRequired[str] + description: NotRequired[str] + has_organization_projects: NotRequired[bool] + has_repository_projects: NotRequired[bool] + default_repository_permission: NotRequired[ + Literal["read", "write", "admin", "none"] + ] + members_can_create_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_public_repositories: NotRequired[bool] + members_allowed_repository_creation_type: NotRequired[ + Literal["all", "private", "none"] + ] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + blog: NotRequired[str] + advanced_security_enabled_for_new_repositories: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: NotRequired[bool] + dependabot_security_updates_enabled_for_new_repositories: NotRequired[bool] + dependency_graph_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_custom_link_enabled: NotRequired[bool] + secret_scanning_push_protection_custom_link: NotRequired[str] + secret_scanning_validity_checks_enabled: NotRequired[bool] + deploy_keys_enabled_for_repositories: NotRequired[bool] + + +__all__ = ( + "OrgsOrgPatchBodyType", + "OrgsOrgPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1062.py b/githubkit/versions/ghec_v2022_11_28/types/group_1062.py index c9f8884a9..3d17ec922 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1062.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1062.py @@ -19,6 +19,13 @@ class OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type(TypedDict): repository_cache_usages: list[ActionsCacheUsageByRepositoryType] +class OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsCacheUsageByRepositoryGetResponse200""" + + total_count: int + repository_cache_usages: list[ActionsCacheUsageByRepositoryTypeForResponse] + + class ActionsCacheUsageByRepositoryType(TypedDict): """Actions Cache Usage by repository @@ -30,7 +37,20 @@ class ActionsCacheUsageByRepositoryType(TypedDict): active_caches_count: int +class ActionsCacheUsageByRepositoryTypeForResponse(TypedDict): + """Actions Cache Usage by repository + + GitHub Actions Cache Usage by repository. + """ + + full_name: str + active_caches_size_in_bytes: int + active_caches_count: int + + __all__ = ( "ActionsCacheUsageByRepositoryType", + "ActionsCacheUsageByRepositoryTypeForResponse", "OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type", + "OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1063.py b/githubkit/versions/ghec_v2022_11_28/types/group_1063.py index e6879a8e7..b44ffaad5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1063.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1063.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0032 import ActionsHostedRunnerType +from .group_0032 import ActionsHostedRunnerType, ActionsHostedRunnerTypeForResponse class OrgsOrgActionsHostedRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsHostedRunnersGetResponse200Type(TypedDict): runners: list[ActionsHostedRunnerType] -__all__ = ("OrgsOrgActionsHostedRunnersGetResponse200Type",) +class OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersGetResponse200""" + + total_count: int + runners: list[ActionsHostedRunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersGetResponse200Type", + "OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1064.py b/githubkit/versions/ghec_v2022_11_28/types/group_1064.py index 175393d2b..ee8cc1c9d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1064.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1064.py @@ -25,6 +25,18 @@ class OrgsOrgActionsHostedRunnersPostBodyType(TypedDict): image_gen: NotRequired[bool] +class OrgsOrgActionsHostedRunnersPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPostBody""" + + name: str + image: OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse + size: str + runner_group_id: int + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_gen: NotRequired[bool] + + class OrgsOrgActionsHostedRunnersPostBodyPropImageType(TypedDict): """OrgsOrgActionsHostedRunnersPostBodyPropImage @@ -37,7 +49,21 @@ class OrgsOrgActionsHostedRunnersPostBodyPropImageType(TypedDict): version: NotRequired[Union[str, None]] +class OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPostBodyPropImage + + The image of runner. To list all available images, use `GET /actions/hosted- + runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`. + """ + + id: NotRequired[str] + source: NotRequired[Literal["github", "partner", "custom"]] + version: NotRequired[Union[str, None]] + + __all__ = ( "OrgsOrgActionsHostedRunnersPostBodyPropImageType", + "OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse", "OrgsOrgActionsHostedRunnersPostBodyType", + "OrgsOrgActionsHostedRunnersPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1065.py b/githubkit/versions/ghec_v2022_11_28/types/group_1065.py index c24945a46..6f3c7c5e1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1065.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1065.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0033 import ActionsHostedRunnerCustomImageType +from .group_0033 import ( + ActionsHostedRunnerCustomImageType, + ActionsHostedRunnerCustomImageTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCustomImageType] -__all__ = ("OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type",) +class OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersImagesCustomGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCustomImageTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1066.py b/githubkit/versions/ghec_v2022_11_28/types/group_1066.py index 24681d69d..84110dc7d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1066.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1066.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0034 import ActionsHostedRunnerCustomImageVersionType +from .group_0034 import ( + ActionsHostedRunnerCustomImageVersionType, + ActionsHostedRunnerCustomImageVersionTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type( @@ -23,6 +26,16 @@ class OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetRespons image_versions: list[ActionsHostedRunnerCustomImageVersionType] +class OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200""" + + total_count: int + image_versions: list[ActionsHostedRunnerCustomImageVersionTypeForResponse] + + __all__ = ( "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1067.py b/githubkit/versions/ghec_v2022_11_28/types/group_1067.py index 9249c4199..66755e424 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1067.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1067.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0035 import ActionsHostedRunnerCuratedImageType +from .group_0035 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type(TypedDict): @@ -21,4 +24,16 @@ class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCuratedImageType] -__all__ = ("OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type",) +class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1068.py b/githubkit/versions/ghec_v2022_11_28/types/group_1068.py index 47d5be040..9a07c70f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1068.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1068.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0035 import ActionsHostedRunnerCuratedImageType +from .group_0035 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCuratedImageType] -__all__ = ("OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type",) +class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1069.py b/githubkit/versions/ghec_v2022_11_28/types/group_1069.py index ca5ce0309..05eb4d871 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1069.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1069.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0031 import ActionsHostedRunnerMachineSpecType +from .group_0031 import ( + ActionsHostedRunnerMachineSpecType, + ActionsHostedRunnerMachineSpecTypeForResponse, +) class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type(TypedDict): machine_specs: list[ActionsHostedRunnerMachineSpecType] -__all__ = ("OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type",) +class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersMachineSizesGetResponse200""" + + total_count: int + machine_specs: list[ActionsHostedRunnerMachineSpecTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type", + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1070.py b/githubkit/versions/ghec_v2022_11_28/types/group_1070.py index f96c7b054..b98626724 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1070.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1070.py @@ -19,4 +19,14 @@ class OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type(TypedDict): platforms: list[str] -__all__ = ("OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type",) +class OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPlatformsGetResponse200""" + + total_count: int + platforms: list[str] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type", + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1071.py b/githubkit/versions/ghec_v2022_11_28/types/group_1071.py index 363057afe..e215d149e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1071.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1071.py @@ -23,4 +23,17 @@ class OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType(TypedDict): image_version: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType",) +class OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBody""" + + name: NotRequired[str] + runner_group_id: NotRequired[int] + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_version: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType", + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1072.py b/githubkit/versions/ghec_v2022_11_28/types/group_1072.py index 05aeb7823..f726196ef 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1072.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1072.py @@ -21,4 +21,15 @@ class OrgsOrgActionsPermissionsPutBodyType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("OrgsOrgActionsPermissionsPutBodyType",) +class OrgsOrgActionsPermissionsPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsPutBody""" + + enabled_repositories: Literal["all", "none", "selected"] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "OrgsOrgActionsPermissionsPutBodyType", + "OrgsOrgActionsPermissionsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1073.py b/githubkit/versions/ghec_v2022_11_28/types/group_1073.py index 484b23498..3faeff59e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1073.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1073.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class OrgsOrgActionsPermissionsRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsPermissionsRepositoriesGetResponse200Type(TypedDict): repositories: list[RepositoryType] -__all__ = ("OrgsOrgActionsPermissionsRepositoriesGetResponse200Type",) +class OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsRepositoriesGetResponse200""" + + total_count: float + repositories: list[RepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsPermissionsRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1074.py b/githubkit/versions/ghec_v2022_11_28/types/group_1074.py index a2735688c..cc6d8bd4e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1074.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1074.py @@ -18,4 +18,13 @@ class OrgsOrgActionsPermissionsRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsPermissionsRepositoriesPutBodyType",) +class OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsPermissionsRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1075.py b/githubkit/versions/ghec_v2022_11_28/types/group_1075.py index 68171a037..5693e07ca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1075.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1075.py @@ -19,4 +19,13 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType(TypedDict): enabled_repositories: Literal["all", "selected", "none"] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType",) +class OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsSelfHostedRunnersPutBody""" + + enabled_repositories: Literal["all", "selected", "none"] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1076.py b/githubkit/versions/ghec_v2022_11_28/types/group_1076.py index 1a5bedf23..87095c315 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1076.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1076.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type( @@ -23,4 +23,16 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type( repositories: NotRequired[list[RepositoryType]] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type",) +class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200""" + + total_count: NotRequired[int] + repositories: NotRequired[list[RepositoryTypeForResponse]] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1077.py b/githubkit/versions/ghec_v2022_11_28/types/group_1077.py index 2cade2e54..a3b2c46f4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1077.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1077.py @@ -18,4 +18,15 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType(TypedDic selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType",) +class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1078.py b/githubkit/versions/ghec_v2022_11_28/types/group_1078.py index 507ed1dee..a9a64c9a3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1078.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1078.py @@ -19,6 +19,13 @@ class OrgsOrgActionsRunnerGroupsGetResponse200Type(TypedDict): runner_groups: list[RunnerGroupsOrgType] +class OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsGetResponse200""" + + total_count: float + runner_groups: list[RunnerGroupsOrgTypeForResponse] + + class RunnerGroupsOrgType(TypedDict): """RunnerGroupsOrg""" @@ -38,7 +45,28 @@ class RunnerGroupsOrgType(TypedDict): selected_workflows: NotRequired[list[str]] +class RunnerGroupsOrgTypeForResponse(TypedDict): + """RunnerGroupsOrg""" + + id: float + name: str + visibility: str + default: bool + selected_repositories_url: NotRequired[str] + runners_url: str + hosted_runners_url: NotRequired[str] + network_configuration_id: NotRequired[str] + inherited: bool + inherited_allows_public_repositories: NotRequired[bool] + allows_public_repositories: bool + workflow_restrictions_read_only: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + + __all__ = ( "OrgsOrgActionsRunnerGroupsGetResponse200Type", + "OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsOrgType", + "RunnerGroupsOrgTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1079.py b/githubkit/versions/ghec_v2022_11_28/types/group_1079.py index 28b84e166..8d348e231 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1079.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1079.py @@ -26,4 +26,20 @@ class OrgsOrgActionsRunnerGroupsPostBodyType(TypedDict): network_configuration_id: NotRequired[str] -__all__ = ("OrgsOrgActionsRunnerGroupsPostBodyType",) +class OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsPostBody""" + + name: str + visibility: NotRequired[Literal["selected", "all", "private"]] + selected_repository_ids: NotRequired[list[int]] + runners: NotRequired[list[int]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[str] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsPostBodyType", + "OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1080.py b/githubkit/versions/ghec_v2022_11_28/types/group_1080.py index d7ec24fe4..9a51ef37c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1080.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1080.py @@ -24,4 +24,18 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType(TypedDict): network_configuration_id: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBody""" + + name: str + visibility: NotRequired[Literal["selected", "all", "private"]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1081.py b/githubkit/versions/ghec_v2022_11_28/types/group_1081.py index 605fbbb31..45237d2c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1081.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1081.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0032 import ActionsHostedRunnerType +from .group_0032 import ActionsHostedRunnerType, ActionsHostedRunnerTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type(Typ runners: list[ActionsHostedRunnerType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200""" + + total_count: float + runners: list[ActionsHostedRunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1082.py b/githubkit/versions/ghec_v2022_11_28/types/group_1082.py index d1917f310..256c5b0d1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1082.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1082.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type(Type repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200""" + + total_count: float + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1083.py b/githubkit/versions/ghec_v2022_11_28/types/group_1083.py index 0ab50bd6d..76a419d6e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1083.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1083.py @@ -18,4 +18,15 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1084.py b/githubkit/versions/ghec_v2022_11_28/types/group_1084.py index 4f6c51428..c246f8c53 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1084.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1084.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type(TypedDict runners: list[RunnerType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200""" + + total_count: float + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1085.py b/githubkit/versions/ghec_v2022_11_28/types/group_1085.py index bb10bbf9a..e95279523 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1085.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1085.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType(TypedDict): runners: list[int] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBody""" + + runners: list[int] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1086.py b/githubkit/versions/ghec_v2022_11_28/types/group_1086.py index 641a99e50..86de077a0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1086.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1086.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class OrgsOrgActionsRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsRunnersGetResponse200Type(TypedDict): runners: list[RunnerType] -__all__ = ("OrgsOrgActionsRunnersGetResponse200Type",) +class OrgsOrgActionsRunnersGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnersGetResponse200""" + + total_count: int + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnersGetResponse200Type", + "OrgsOrgActionsRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1087.py b/githubkit/versions/ghec_v2022_11_28/types/group_1087.py index 5e08d0dd4..379d1a54d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1087.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1087.py @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnersGenerateJitconfigPostBodyType(TypedDict): work_folder: NotRequired[str] -__all__ = ("OrgsOrgActionsRunnersGenerateJitconfigPostBodyType",) +class OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersGenerateJitconfigPostBody""" + + name: str + runner_group_id: int + labels: list[str] + work_folder: NotRequired[str] + + +__all__ = ( + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyType", + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1088.py b/githubkit/versions/ghec_v2022_11_28/types/group_1088.py index 86d454795..45fca906a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1088.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1088.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType(TypedDict): labels: list[str] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType",) +class OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsPutBody""" + + labels: list[str] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1089.py b/githubkit/versions/ghec_v2022_11_28/types/group_1089.py index 1e050b2e1..2ec53e21f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1089.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1089.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType(TypedDict): labels: list[str] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType",) +class OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsPostBody""" + + labels: list[str] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1090.py b/githubkit/versions/ghec_v2022_11_28/types/group_1090.py index f17121488..824efba6b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1090.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1090.py @@ -21,6 +21,13 @@ class OrgsOrgActionsSecretsGetResponse200Type(TypedDict): secrets: list[OrganizationActionsSecretType] +class OrgsOrgActionsSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsSecretsGetResponse200""" + + total_count: int + secrets: list[OrganizationActionsSecretTypeForResponse] + + class OrganizationActionsSecretType(TypedDict): """Actions Secret for an Organization @@ -34,7 +41,22 @@ class OrganizationActionsSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationActionsSecretTypeForResponse(TypedDict): + """Actions Secret for an Organization + + Secrets for GitHub Actions for an organization. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationActionsSecretType", + "OrganizationActionsSecretTypeForResponse", "OrgsOrgActionsSecretsGetResponse200Type", + "OrgsOrgActionsSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1091.py b/githubkit/versions/ghec_v2022_11_28/types/group_1091.py index 6f2b7d0ff..2fcd37a5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1091.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1091.py @@ -22,4 +22,16 @@ class OrgsOrgActionsSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsSecretsSecretNamePutBodyType",) +class OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNamePutBodyType", + "OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1092.py b/githubkit/versions/ghec_v2022_11_28/types/group_1092.py index 1cfe86ad2..6679dee56 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1092.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1092.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1093.py b/githubkit/versions/ghec_v2022_11_28/types/group_1093.py index 91774da55..fbab2a2ef 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1093.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1093.py @@ -18,4 +18,13 @@ class OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1094.py b/githubkit/versions/ghec_v2022_11_28/types/group_1094.py index feb95bc8c..ac695b263 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1094.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1094.py @@ -21,6 +21,13 @@ class OrgsOrgActionsVariablesGetResponse200Type(TypedDict): variables: list[OrganizationActionsVariableType] +class OrgsOrgActionsVariablesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsVariablesGetResponse200""" + + total_count: int + variables: list[OrganizationActionsVariableTypeForResponse] + + class OrganizationActionsVariableType(TypedDict): """Actions Variable for an Organization @@ -35,7 +42,23 @@ class OrganizationActionsVariableType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationActionsVariableTypeForResponse(TypedDict): + """Actions Variable for an Organization + + Organization variable for GitHub Actions. + """ + + name: str + value: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationActionsVariableType", + "OrganizationActionsVariableTypeForResponse", "OrgsOrgActionsVariablesGetResponse200Type", + "OrgsOrgActionsVariablesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1095.py b/githubkit/versions/ghec_v2022_11_28/types/group_1095.py index 35d9aa84a..357d471bb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1095.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1095.py @@ -22,4 +22,16 @@ class OrgsOrgActionsVariablesPostBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsVariablesPostBodyType",) +class OrgsOrgActionsVariablesPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesPostBody""" + + name: str + value: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsVariablesPostBodyType", + "OrgsOrgActionsVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1096.py b/githubkit/versions/ghec_v2022_11_28/types/group_1096.py index 32397b063..11c5bdaca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1096.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1096.py @@ -22,4 +22,16 @@ class OrgsOrgActionsVariablesNamePatchBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsVariablesNamePatchBodyType",) +class OrgsOrgActionsVariablesNamePatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + visibility: NotRequired[Literal["all", "private", "selected"]] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsVariablesNamePatchBodyType", + "OrgsOrgActionsVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1097.py b/githubkit/versions/ghec_v2022_11_28/types/group_1097.py index ae1ea04a2..ba6f7e288 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1097.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1097.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type",) +class OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type", + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1098.py b/githubkit/versions/ghec_v2022_11_28/types/group_1098.py index 7b7f6fc84..632918487 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1098.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1098.py @@ -18,4 +18,13 @@ class OrgsOrgActionsVariablesNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsVariablesNameRepositoriesPutBodyType",) +class OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsVariablesNameRepositoriesPutBodyType", + "OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1099.py b/githubkit/versions/ghec_v2022_11_28/types/group_1099.py index 246777cc5..0fcddc651 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1099.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1099.py @@ -27,4 +27,21 @@ class OrgsOrgArtifactsMetadataStorageRecordPostBodyType(TypedDict): github_repository: NotRequired[str] -__all__ = ("OrgsOrgArtifactsMetadataStorageRecordPostBodyType",) +class OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse(TypedDict): + """OrgsOrgArtifactsMetadataStorageRecordPostBody""" + + name: str + digest: str + version: NotRequired[str] + artifact_url: NotRequired[str] + path: NotRequired[str] + registry_url: str + repository: NotRequired[str] + status: NotRequired[Literal["active", "eol", "deleted"]] + github_repository: NotRequired[str] + + +__all__ = ( + "OrgsOrgArtifactsMetadataStorageRecordPostBodyType", + "OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1100.py b/githubkit/versions/ghec_v2022_11_28/types/group_1100.py index 9b0fe7714..02219d953 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1100.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1100.py @@ -24,6 +24,17 @@ class OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type(TypedDict): ] +class OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse(TypedDict): + """OrgsOrgArtifactsMetadataStorageRecordPostResponse200""" + + total_count: NotRequired[int] + storage_records: NotRequired[ + list[ + OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse + ] + ] + + class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType( TypedDict ): @@ -40,7 +51,25 @@ class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItem updated_at: NotRequired[str] +class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse( + TypedDict +): + """OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItems""" + + id: NotRequired[int] + name: NotRequired[str] + digest: NotRequired[str] + artifact_url: NotRequired[Union[str, None]] + registry_url: NotRequired[str] + repository: NotRequired[Union[str, None]] + status: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse", "OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1101.py b/githubkit/versions/ghec_v2022_11_28/types/group_1101.py index 4399cdbbe..429cdcfeb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1101.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1101.py @@ -23,6 +23,19 @@ class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type(Type ] +class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200""" + + total_count: NotRequired[int] + storage_records: NotRequired[ + list[ + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse + ] + ] + + class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType( TypedDict ): @@ -41,7 +54,27 @@ class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStora updated_at: NotRequired[str] +class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse( + TypedDict +): + """OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageReco + rdsItems + """ + + id: NotRequired[int] + name: NotRequired[str] + digest: NotRequired[str] + artifact_url: NotRequired[str] + registry_url: NotRequired[str] + repository: NotRequired[str] + status: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse", "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1102.py b/githubkit/versions/ghec_v2022_11_28/types/group_1102.py index 2a4ab0267..23cd0ae96 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1102.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1102.py @@ -19,4 +19,14 @@ class OrgsOrgAttestationsBulkListPostBodyType(TypedDict): predicate_type: NotRequired[str] -__all__ = ("OrgsOrgAttestationsBulkListPostBodyType",) +class OrgsOrgAttestationsBulkListPostBodyTypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostBody""" + + subject_digests: list[str] + predicate_type: NotRequired[str] + + +__all__ = ( + "OrgsOrgAttestationsBulkListPostBodyType", + "OrgsOrgAttestationsBulkListPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1103.py b/githubkit/versions/ghec_v2022_11_28/types/group_1103.py index 0dd3d4f18..8f62448c9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1103.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1103.py @@ -22,6 +22,17 @@ class OrgsOrgAttestationsBulkListPostResponse200Type(TypedDict): page_info: NotRequired[OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType] +class OrgsOrgAttestationsBulkListPostResponse200TypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostResponse200""" + + attestations_subject_digests: NotRequired[ + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse + ] + page_info: NotRequired[ + OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse + ] + + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType: TypeAlias = dict[ str, Any ] @@ -31,6 +42,15 @@ class OrgsOrgAttestationsBulkListPostResponse200Type(TypedDict): """ +OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigests + +Mapping of subject digest to bundles. +""" + + class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): """OrgsOrgAttestationsBulkListPostResponse200PropPageInfo @@ -43,8 +63,23 @@ class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): previous: NotRequired[str] +class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostResponse200PropPageInfo + + Information about the current page. + """ + + has_next: NotRequired[bool] + has_previous: NotRequired[bool] + next_: NotRequired[str] + previous: NotRequired[str] + + __all__ = ( "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType", + "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200Type", + "OrgsOrgAttestationsBulkListPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1104.py b/githubkit/versions/ghec_v2022_11_28/types/group_1104.py index 2721f9331..7c67942fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1104.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1104.py @@ -18,4 +18,13 @@ class OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type(TypedDict): subject_digests: list[str] -__all__ = ("OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type",) +class OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse(TypedDict): + """OrgsOrgAttestationsDeleteRequestPostBodyOneof0""" + + subject_digests: list[str] + + +__all__ = ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1105.py b/githubkit/versions/ghec_v2022_11_28/types/group_1105.py index 0e26279dc..6c74c44f1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1105.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1105.py @@ -18,4 +18,13 @@ class OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type(TypedDict): attestation_ids: list[int] -__all__ = ("OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type",) +class OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse(TypedDict): + """OrgsOrgAttestationsDeleteRequestPostBodyOneof1""" + + attestation_ids: list[int] + + +__all__ = ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1106.py b/githubkit/versions/ghec_v2022_11_28/types/group_1106.py index 1b060957e..7a5392199 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1106.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1106.py @@ -19,4 +19,14 @@ class OrgsOrgAttestationsRepositoriesGetResponse200ItemsType(TypedDict): name: NotRequired[str] -__all__ = ("OrgsOrgAttestationsRepositoriesGetResponse200ItemsType",) +class OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse(TypedDict): + """OrgsOrgAttestationsRepositoriesGetResponse200Items""" + + id: NotRequired[int] + name: NotRequired[str] + + +__all__ = ( + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsType", + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1107.py b/githubkit/versions/ghec_v2022_11_28/types/group_1107.py index 90cdaed85..fe8f5ec1f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1107.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1107.py @@ -21,6 +21,16 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """OrgsOrgAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -34,6 +44,19 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( initiator: NotRequired[str] +class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -54,6 +77,26 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun ] +class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -62,6 +105,14 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun """ +OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePro +pVerificationMaterial +""" + + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -70,10 +121,23 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun """ +OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePro +pDsseEnvelope +""" + + __all__ = ( "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200Type", + "OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1108.py b/githubkit/versions/ghec_v2022_11_28/types/group_1108.py index 8546fbc4b..6f756f788 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1108.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1108.py @@ -19,4 +19,14 @@ class OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType(TypedDict): alert_numbers: list[int] -__all__ = ("OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType",) +class OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItems""" + + repository_id: int + alert_numbers: list[int] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType", + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1109.py b/githubkit/versions/ghec_v2022_11_28/types/group_1109.py index 420890b15..c0cde5848 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1109.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1109.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_1108 import OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType +from .group_1108 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, +) class OrgsOrgCampaignsPostBodyOneof0Type(TypedDict): @@ -31,4 +34,22 @@ class OrgsOrgCampaignsPostBodyOneof0Type(TypedDict): generate_issues: NotRequired[bool] -__all__ = ("OrgsOrgCampaignsPostBodyOneof0Type",) +class OrgsOrgCampaignsPostBodyOneof0TypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyOneof0""" + + name: str + description: str + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: str + contact_link: NotRequired[Union[str, None]] + code_scanning_alerts: Union[ + list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse], None + ] + generate_issues: NotRequired[bool] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyOneof0Type", + "OrgsOrgCampaignsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1110.py b/githubkit/versions/ghec_v2022_11_28/types/group_1110.py index 892588312..1f6f0612e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1110.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1110.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_1108 import OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType +from .group_1108 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, +) class OrgsOrgCampaignsPostBodyOneof1Type(TypedDict): @@ -31,4 +34,25 @@ class OrgsOrgCampaignsPostBodyOneof1Type(TypedDict): generate_issues: NotRequired[bool] -__all__ = ("OrgsOrgCampaignsPostBodyOneof1Type",) +class OrgsOrgCampaignsPostBodyOneof1TypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyOneof1""" + + name: str + description: str + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: str + contact_link: NotRequired[Union[str, None]] + code_scanning_alerts: NotRequired[ + Union[ + list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse], + None, + ] + ] + generate_issues: NotRequired[bool] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyOneof1Type", + "OrgsOrgCampaignsPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1111.py b/githubkit/versions/ghec_v2022_11_28/types/group_1111.py index 25289c59a..f1d3e1cb8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1111.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1111.py @@ -26,4 +26,19 @@ class OrgsOrgCampaignsCampaignNumberPatchBodyType(TypedDict): state: NotRequired[Literal["open", "closed"]] -__all__ = ("OrgsOrgCampaignsCampaignNumberPatchBodyType",) +class OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse(TypedDict): + """OrgsOrgCampaignsCampaignNumberPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: NotRequired[str] + contact_link: NotRequired[Union[str, None]] + state: NotRequired[Literal["open", "closed"]] + + +__all__ = ( + "OrgsOrgCampaignsCampaignNumberPatchBodyType", + "OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1112.py b/githubkit/versions/ghec_v2022_11_28/types/group_1112.py index 8049c7c9b..7e18cffb0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1112.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1112.py @@ -12,8 +12,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0073 import CodeScanningOptionsType -from .group_0074 import CodeScanningDefaultSetupOptionsType +from .group_0073 import CodeScanningOptionsType, CodeScanningOptionsTypeForResponse +from .group_0074 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsPostBodyType(TypedDict): @@ -71,6 +74,61 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgCodeSecurityConfigurationsPostBody""" + + name: str + description: str + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[Union[CodeScanningOptionsTypeForResponse, None]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -83,6 +141,18 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActi labeled_runners: NotRequired[bool] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOpti + ons + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType( TypedDict ): @@ -99,6 +169,22 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypass ] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOption + s + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -110,9 +196,24 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypass reviewer_type: Literal["TEAM", "ROLE"] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOption + sPropReviewersItems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyType", + "OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1113.py b/githubkit/versions/ghec_v2022_11_28/types/group_1113.py index a177d65ec..26f6912d7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1113.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1113.py @@ -18,4 +18,13 @@ class OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType",) +class OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCodeSecurityConfigurationsDetachDeleteBody""" + + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType", + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1114.py b/githubkit/versions/ghec_v2022_11_28/types/group_1114.py index 5970265ee..8802aafb9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1114.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1114.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0074 import CodeScanningDefaultSetupOptionsType +from .group_0074 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType(TypedDict): @@ -69,6 +72,62 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -81,6 +140,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGra labeled_runners: NotRequired[bool] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAuto + submitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType( TypedDict ): @@ -97,6 +168,22 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScannin ] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDeleg + atedBypassOptions + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -108,9 +195,24 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScannin reviewer_type: Literal["TEAM", "ROLE"] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDeleg + atedBypassOptionsPropReviewersItems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1115.py b/githubkit/versions/ghec_v2022_11_28/types/group_1115.py index 2ad011ac8..5ca88da1d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1115.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1115.py @@ -22,4 +22,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType(TypedDi selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType",) +class OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBody""" + + scope: Literal[ + "all", "all_without_configurations", "public", "private_or_internal", "selected" + ] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1116.py b/githubkit/versions/ghec_v2022_11_28/types/group_1116.py index ed69b7f35..edf84cd85 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1116.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1116.py @@ -21,4 +21,17 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType(TypedD ] -__all__ = ("OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType",) +class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBody""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1117.py b/githubkit/versions/ghec_v2022_11_28/types/group_1117.py index 7d6662ec9..eca9cb83c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1117.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1117.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0072 import CodeSecurityConfigurationType +from .group_0072 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type( @@ -26,6 +29,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type configuration: NotRequired[CodeSecurityConfigurationType] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1118.py b/githubkit/versions/ghec_v2022_11_28/types/group_1118.py index 32fc63f64..200280762 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1118.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1118.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0228 import CodespaceType +from .group_0228 import CodespaceType, CodespaceTypeForResponse class OrgsOrgCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("OrgsOrgCodespacesGetResponse200Type",) +class OrgsOrgCodespacesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "OrgsOrgCodespacesGetResponse200Type", + "OrgsOrgCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1119.py b/githubkit/versions/ghec_v2022_11_28/types/group_1119.py index 1234cdbd0..feb23d832 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1119.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1119.py @@ -25,4 +25,19 @@ class OrgsOrgCodespacesAccessPutBodyType(TypedDict): selected_usernames: NotRequired[list[str]] -__all__ = ("OrgsOrgCodespacesAccessPutBodyType",) +class OrgsOrgCodespacesAccessPutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessPutBody""" + + visibility: Literal[ + "disabled", + "selected_members", + "all_members", + "all_members_and_outside_collaborators", + ] + selected_usernames: NotRequired[list[str]] + + +__all__ = ( + "OrgsOrgCodespacesAccessPutBodyType", + "OrgsOrgCodespacesAccessPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1120.py b/githubkit/versions/ghec_v2022_11_28/types/group_1120.py index 214a3ca92..1b8c003f2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1120.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1120.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesAccessSelectedUsersPostBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCodespacesAccessSelectedUsersPostBodyType",) +class OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessSelectedUsersPostBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCodespacesAccessSelectedUsersPostBodyType", + "OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1121.py b/githubkit/versions/ghec_v2022_11_28/types/group_1121.py index 1aec188b7..5b3e25ab4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1121.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1121.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType",) +class OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessSelectedUsersDeleteBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType", + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1122.py b/githubkit/versions/ghec_v2022_11_28/types/group_1122.py index b5051f775..443a4002d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1122.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1122.py @@ -21,6 +21,13 @@ class OrgsOrgCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[CodespacesOrgSecretType] +class OrgsOrgCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[CodespacesOrgSecretTypeForResponse] + + class CodespacesOrgSecretType(TypedDict): """Codespaces Secret @@ -34,7 +41,22 @@ class CodespacesOrgSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class CodespacesOrgSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Secrets for a GitHub Codespace. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "CodespacesOrgSecretType", + "CodespacesOrgSecretTypeForResponse", "OrgsOrgCodespacesSecretsGetResponse200Type", + "OrgsOrgCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1123.py b/githubkit/versions/ghec_v2022_11_28/types/group_1123.py index 8eb7cb359..c1b15f2ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1123.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1123.py @@ -22,4 +22,16 @@ class OrgsOrgCodespacesSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodespacesSecretsSecretNamePutBodyType",) +class OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNamePutBodyType", + "OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1124.py b/githubkit/versions/ghec_v2022_11_28/types/group_1124.py index 214b350c4..73356ddd7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1124.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1124.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1125.py b/githubkit/versions/ghec_v2022_11_28/types/group_1125.py index 9d6f25331..975c8f5be 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1125.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1125.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1126.py b/githubkit/versions/ghec_v2022_11_28/types/group_1126.py index 8e1187b18..849b38668 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1126.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1126.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0082 import CopilotSeatDetailsType +from .group_0082 import CopilotSeatDetailsType, CopilotSeatDetailsTypeForResponse class OrgsOrgCopilotBillingSeatsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgCopilotBillingSeatsGetResponse200Type(TypedDict): seats: NotRequired[list[CopilotSeatDetailsType]] -__all__ = ("OrgsOrgCopilotBillingSeatsGetResponse200Type",) +class OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSeatsGetResponse200""" + + total_seats: NotRequired[int] + seats: NotRequired[list[CopilotSeatDetailsTypeForResponse]] + + +__all__ = ( + "OrgsOrgCopilotBillingSeatsGetResponse200Type", + "OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1127.py b/githubkit/versions/ghec_v2022_11_28/types/group_1127.py index a2e3b4a72..0083ce170 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1127.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1127.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedTeamsPostBodyType(TypedDict): selected_teams: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsPostBodyType",) +class OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsPostBody""" + + selected_teams: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsPostBodyType", + "OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1128.py b/githubkit/versions/ghec_v2022_11_28/types/group_1128.py index 76837fcdc..08b1bfb7b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1128.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1128.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type(TypedDict): seats_created: int -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type",) +class OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsPostResponse201 + + The total number of seats created for members of the specified team(s). + """ + + seats_created: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type", + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1129.py b/githubkit/versions/ghec_v2022_11_28/types/group_1129.py index dba449159..5dbce311a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1129.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1129.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType(TypedDict): selected_teams: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType",) +class OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsDeleteBody""" + + selected_teams: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType", + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1130.py b/githubkit/versions/ghec_v2022_11_28/types/group_1130.py index 1b12f6a95..1ab46d1b8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1130.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1130.py @@ -22,4 +22,17 @@ class OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type(TypedDict): seats_cancelled: int -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type",) +class OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200 + + The total number of seats set to "pending cancellation" for members of the + specified team(s). + """ + + seats_cancelled: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1131.py b/githubkit/versions/ghec_v2022_11_28/types/group_1131.py index 9a511ba2a..5b19df427 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1131.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1131.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedUsersPostBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedUsersPostBodyType",) +class OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersPostBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersPostBodyType", + "OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1132.py b/githubkit/versions/ghec_v2022_11_28/types/group_1132.py index 651754049..b1ca6161a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1132.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1132.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedUsersPostResponse201Type(TypedDict): seats_created: int -__all__ = ("OrgsOrgCopilotBillingSelectedUsersPostResponse201Type",) +class OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersPostResponse201 + + The total number of seats created for the specified user(s). + """ + + seats_created: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersPostResponse201Type", + "OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1133.py b/githubkit/versions/ghec_v2022_11_28/types/group_1133.py index dddfa0789..2f6e1cfcf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1133.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1133.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedUsersDeleteBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedUsersDeleteBodyType",) +class OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersDeleteBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyType", + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1134.py b/githubkit/versions/ghec_v2022_11_28/types/group_1134.py index b1510f36c..851eba2f4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1134.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1134.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type(TypedDict): seats_cancelled: int -__all__ = ("OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type",) +class OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersDeleteResponse200 + + The total number of seats set to "pending cancellation" for the specified users. + """ + + seats_cancelled: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1135.py b/githubkit/versions/ghec_v2022_11_28/types/group_1135.py index dd444cbc6..e886ebe70 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1135.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1135.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0217 import OrganizationCustomRepositoryRoleType +from .group_0217 import ( + OrganizationCustomRepositoryRoleType, + OrganizationCustomRepositoryRoleTypeForResponse, +) class OrgsOrgCustomRepositoryRolesGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgCustomRepositoryRolesGetResponse200Type(TypedDict): custom_roles: NotRequired[list[OrganizationCustomRepositoryRoleType]] -__all__ = ("OrgsOrgCustomRepositoryRolesGetResponse200Type",) +class OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCustomRepositoryRolesGetResponse200""" + + total_count: NotRequired[int] + custom_roles: NotRequired[list[OrganizationCustomRepositoryRoleTypeForResponse]] + + +__all__ = ( + "OrgsOrgCustomRepositoryRolesGetResponse200Type", + "OrgsOrgCustomRepositoryRolesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1136.py b/githubkit/versions/ghec_v2022_11_28/types/group_1136.py index fef93ba69..b71d00484 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1136.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1136.py @@ -21,6 +21,13 @@ class OrgsOrgDependabotSecretsGetResponse200Type(TypedDict): secrets: list[OrganizationDependabotSecretType] +class OrgsOrgDependabotSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsGetResponse200""" + + total_count: int + secrets: list[OrganizationDependabotSecretTypeForResponse] + + class OrganizationDependabotSecretType(TypedDict): """Dependabot Secret for an Organization @@ -34,7 +41,22 @@ class OrganizationDependabotSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationDependabotSecretTypeForResponse(TypedDict): + """Dependabot Secret for an Organization + + Secrets for GitHub Dependabot for an organization. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationDependabotSecretType", + "OrganizationDependabotSecretTypeForResponse", "OrgsOrgDependabotSecretsGetResponse200Type", + "OrgsOrgDependabotSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1137.py b/githubkit/versions/ghec_v2022_11_28/types/group_1137.py index 69de6879c..a93d1c156 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1137.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1137.py @@ -22,4 +22,16 @@ class OrgsOrgDependabotSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[Union[int, str]]] -__all__ = ("OrgsOrgDependabotSecretsSecretNamePutBodyType",) +class OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[Union[int, str]]] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNamePutBodyType", + "OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1138.py b/githubkit/versions/ghec_v2022_11_28/types/group_1138.py index 9107c1fda..7c285c67e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1138.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1138.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type(TypedDict repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1139.py b/githubkit/versions/ghec_v2022_11_28/types/group_1139.py index 258f8e119..744d19e9a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1139.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1139.py @@ -18,4 +18,13 @@ class OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1140.py b/githubkit/versions/ghec_v2022_11_28/types/group_1140.py index e99853b27..ed2d00911 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1140.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1140.py @@ -22,6 +22,15 @@ class OrgsOrgHooksPostBodyType(TypedDict): active: NotRequired[bool] +class OrgsOrgHooksPostBodyTypeForResponse(TypedDict): + """OrgsOrgHooksPostBody""" + + name: str + config: OrgsOrgHooksPostBodyPropConfigTypeForResponse + events: NotRequired[list[str]] + active: NotRequired[bool] + + class OrgsOrgHooksPostBodyPropConfigType(TypedDict): """OrgsOrgHooksPostBodyPropConfig @@ -36,7 +45,23 @@ class OrgsOrgHooksPostBodyPropConfigType(TypedDict): password: NotRequired[str] +class OrgsOrgHooksPostBodyPropConfigTypeForResponse(TypedDict): + """OrgsOrgHooksPostBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: str + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + username: NotRequired[str] + password: NotRequired[str] + + __all__ = ( "OrgsOrgHooksPostBodyPropConfigType", + "OrgsOrgHooksPostBodyPropConfigTypeForResponse", "OrgsOrgHooksPostBodyType", + "OrgsOrgHooksPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1141.py b/githubkit/versions/ghec_v2022_11_28/types/group_1141.py index 19cc5034f..3b187a858 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1141.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1141.py @@ -22,6 +22,15 @@ class OrgsOrgHooksHookIdPatchBodyType(TypedDict): name: NotRequired[str] +class OrgsOrgHooksHookIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdPatchBody""" + + config: NotRequired[OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse] + events: NotRequired[list[str]] + active: NotRequired[bool] + name: NotRequired[str] + + class OrgsOrgHooksHookIdPatchBodyPropConfigType(TypedDict): """OrgsOrgHooksHookIdPatchBodyPropConfig @@ -34,7 +43,21 @@ class OrgsOrgHooksHookIdPatchBodyPropConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] +class OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdPatchBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: str + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + __all__ = ( "OrgsOrgHooksHookIdPatchBodyPropConfigType", + "OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse", "OrgsOrgHooksHookIdPatchBodyType", + "OrgsOrgHooksHookIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1142.py b/githubkit/versions/ghec_v2022_11_28/types/group_1142.py index 6399b7a4c..9b9b267ed 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1142.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1142.py @@ -22,4 +22,16 @@ class OrgsOrgHooksHookIdConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("OrgsOrgHooksHookIdConfigPatchBodyType",) +class OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "OrgsOrgHooksHookIdConfigPatchBodyType", + "OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1143.py b/githubkit/versions/ghec_v2022_11_28/types/group_1143.py index 54372b1e4..3703dfc47 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1143.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1143.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0018 import InstallationType +from .group_0018 import InstallationType, InstallationTypeForResponse class OrgsOrgInstallationsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgInstallationsGetResponse200Type(TypedDict): installations: list[InstallationType] -__all__ = ("OrgsOrgInstallationsGetResponse200Type",) +class OrgsOrgInstallationsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgInstallationsGetResponse200""" + + total_count: int + installations: list[InstallationTypeForResponse] + + +__all__ = ( + "OrgsOrgInstallationsGetResponse200Type", + "OrgsOrgInstallationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1144.py b/githubkit/versions/ghec_v2022_11_28/types/group_1144.py index 5916d7d10..6aae5eec8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1144.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1144.py @@ -16,4 +16,11 @@ class OrgsOrgInteractionLimitsGetResponse200Anyof1Type(TypedDict): """OrgsOrgInteractionLimitsGetResponse200Anyof1""" -__all__ = ("OrgsOrgInteractionLimitsGetResponse200Anyof1Type",) +class OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """OrgsOrgInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "OrgsOrgInteractionLimitsGetResponse200Anyof1Type", + "OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1145.py b/githubkit/versions/ghec_v2022_11_28/types/group_1145.py index 2184fe8a4..2ae78f285 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1145.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1145.py @@ -22,4 +22,16 @@ class OrgsOrgInvitationsPostBodyType(TypedDict): team_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgInvitationsPostBodyType",) +class OrgsOrgInvitationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgInvitationsPostBody""" + + invitee_id: NotRequired[int] + email: NotRequired[str] + role: NotRequired[Literal["admin", "direct_member", "billing_manager", "reinstate"]] + team_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgInvitationsPostBodyType", + "OrgsOrgInvitationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1146.py b/githubkit/versions/ghec_v2022_11_28/types/group_1146.py index e323e7168..316c2d736 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1146.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1146.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0228 import CodespaceType +from .group_0228 import CodespaceType, CodespaceTypeForResponse class OrgsOrgMembersUsernameCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgMembersUsernameCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("OrgsOrgMembersUsernameCodespacesGetResponse200Type",) +class OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgMembersUsernameCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "OrgsOrgMembersUsernameCodespacesGetResponse200Type", + "OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1147.py b/githubkit/versions/ghec_v2022_11_28/types/group_1147.py index 78a34c5ed..112bc7e07 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1147.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1147.py @@ -19,4 +19,13 @@ class OrgsOrgMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["admin", "member"]] -__all__ = ("OrgsOrgMembershipsUsernamePutBodyType",) +class OrgsOrgMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgMembershipsUsernamePutBody""" + + role: NotRequired[Literal["admin", "member"]] + + +__all__ = ( + "OrgsOrgMembershipsUsernamePutBodyType", + "OrgsOrgMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1148.py b/githubkit/versions/ghec_v2022_11_28/types/group_1148.py index 242ce3795..51f56fc1c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1148.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1148.py @@ -27,4 +27,21 @@ class OrgsOrgMigrationsPostBodyType(TypedDict): exclude: NotRequired[list[Literal["repositories"]]] -__all__ = ("OrgsOrgMigrationsPostBodyType",) +class OrgsOrgMigrationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgMigrationsPostBody""" + + repositories: list[str] + lock_repositories: NotRequired[bool] + exclude_metadata: NotRequired[bool] + exclude_git_data: NotRequired[bool] + exclude_attachments: NotRequired[bool] + exclude_releases: NotRequired[bool] + exclude_owner_projects: NotRequired[bool] + org_metadata_only: NotRequired[bool] + exclude: NotRequired[list[Literal["repositories"]]] + + +__all__ = ( + "OrgsOrgMigrationsPostBodyType", + "OrgsOrgMigrationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1149.py b/githubkit/versions/ghec_v2022_11_28/types/group_1149.py index b7593464f..27e8a452e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1149.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1149.py @@ -18,4 +18,13 @@ class OrgsOrgOutsideCollaboratorsUsernamePutBodyType(TypedDict): async_: NotRequired[bool] -__all__ = ("OrgsOrgOutsideCollaboratorsUsernamePutBodyType",) +class OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernamePutBody""" + + async_: NotRequired[bool] + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernamePutBodyType", + "OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1150.py b/githubkit/versions/ghec_v2022_11_28/types/group_1150.py index 5de4170f2..b1ddca89b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1150.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1150.py @@ -16,4 +16,11 @@ class OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type(TypedDict): """OrgsOrgOutsideCollaboratorsUsernamePutResponse202""" -__all__ = ("OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type",) +class OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernamePutResponse202""" + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type", + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1151.py b/githubkit/versions/ghec_v2022_11_28/types/group_1151.py index f43c7d76b..2ab6c4a5b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1151.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1151.py @@ -19,4 +19,14 @@ class OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type",) +class OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type", + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1152.py b/githubkit/versions/ghec_v2022_11_28/types/group_1152.py index a99cad652..dee8c80a8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1152.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1152.py @@ -21,4 +21,15 @@ class OrgsOrgPersonalAccessTokenRequestsPostBodyType(TypedDict): reason: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgPersonalAccessTokenRequestsPostBodyType",) +class OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokenRequestsPostBody""" + + pat_request_ids: NotRequired[list[int]] + action: Literal["approve", "deny"] + reason: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgPersonalAccessTokenRequestsPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1153.py b/githubkit/versions/ghec_v2022_11_28/types/group_1153.py index f08e02365..48933f048 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1153.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1153.py @@ -20,4 +20,14 @@ class OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType(TypedDict): reason: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType",) +class OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBody""" + + action: Literal["approve", "deny"] + reason: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1154.py b/githubkit/versions/ghec_v2022_11_28/types/group_1154.py index b2f0b1907..d8b05de82 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1154.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1154.py @@ -20,4 +20,14 @@ class OrgsOrgPersonalAccessTokensPostBodyType(TypedDict): pat_ids: list[int] -__all__ = ("OrgsOrgPersonalAccessTokensPostBodyType",) +class OrgsOrgPersonalAccessTokensPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokensPostBody""" + + action: Literal["revoke"] + pat_ids: list[int] + + +__all__ = ( + "OrgsOrgPersonalAccessTokensPostBodyType", + "OrgsOrgPersonalAccessTokensPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1155.py b/githubkit/versions/ghec_v2022_11_28/types/group_1155.py index 32c37cd97..59a9dddbf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1155.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1155.py @@ -19,4 +19,13 @@ class OrgsOrgPersonalAccessTokensPatIdPostBodyType(TypedDict): action: Literal["revoke"] -__all__ = ("OrgsOrgPersonalAccessTokensPatIdPostBodyType",) +class OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokensPatIdPostBody""" + + action: Literal["revoke"] + + +__all__ = ( + "OrgsOrgPersonalAccessTokensPatIdPostBodyType", + "OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1156.py b/githubkit/versions/ghec_v2022_11_28/types/group_1156.py index 6ca9d5b46..e41c56dc1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1156.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1156.py @@ -21,6 +21,13 @@ class OrgsOrgPrivateRegistriesGetResponse200Type(TypedDict): configurations: list[OrgPrivateRegistryConfigurationType] +class OrgsOrgPrivateRegistriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesGetResponse200""" + + total_count: int + configurations: list[OrgPrivateRegistryConfigurationTypeForResponse] + + class OrgPrivateRegistryConfigurationType(TypedDict): """Organization private registry @@ -53,7 +60,41 @@ class OrgPrivateRegistryConfigurationType(TypedDict): updated_at: datetime +class OrgPrivateRegistryConfigurationTypeForResponse(TypedDict): + """Organization private registry + + Private registry configuration for an organization + """ + + name: str + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: NotRequired[str] + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + visibility: Literal["all", "private", "selected"] + created_at: str + updated_at: str + + __all__ = ( "OrgPrivateRegistryConfigurationType", + "OrgPrivateRegistryConfigurationTypeForResponse", "OrgsOrgPrivateRegistriesGetResponse200Type", + "OrgsOrgPrivateRegistriesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1157.py b/githubkit/versions/ghec_v2022_11_28/types/group_1157.py index b400b227d..3903ef0c2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1157.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1157.py @@ -42,4 +42,36 @@ class OrgsOrgPrivateRegistriesPostBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgPrivateRegistriesPostBodyType",) +class OrgsOrgPrivateRegistriesPostBodyTypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesPostBody""" + + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: str + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + encrypted_value: str + key_id: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgPrivateRegistriesPostBodyType", + "OrgsOrgPrivateRegistriesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1158.py b/githubkit/versions/ghec_v2022_11_28/types/group_1158.py index 95dc5e190..044c83e7e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1158.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1158.py @@ -19,4 +19,14 @@ class OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type(TypedDict): key: str -__all__ = ("OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type",) +class OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesPublicKeyGetResponse200""" + + key_id: str + key: str + + +__all__ = ( + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type", + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1159.py b/githubkit/versions/ghec_v2022_11_28/types/group_1159.py index e073ea2fe..3c38dc098 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1159.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1159.py @@ -44,4 +44,38 @@ class OrgsOrgPrivateRegistriesSecretNamePatchBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgPrivateRegistriesSecretNamePatchBodyType",) +class OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesSecretNamePatchBody""" + + registry_type: NotRequired[ + Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + ] + url: NotRequired[str] + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: NotRequired[Literal["all", "private", "selected"]] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgPrivateRegistriesSecretNamePatchBodyType", + "OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1160.py b/githubkit/versions/ghec_v2022_11_28/types/group_1160.py index 5c7a22a26..c95e092d0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1160.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1160.py @@ -19,4 +19,14 @@ class OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType(TypedDict): body: NotRequired[str] -__all__ = ("OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType",) +class OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberDraftsPostBody""" + + title: str + body: NotRequired[str] + + +__all__ = ( + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1161.py b/githubkit/versions/ghec_v2022_11_28/types/group_1161.py index ae40f77c8..6aca13337 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1161.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1161.py @@ -20,4 +20,14 @@ class OrgsOrgProjectsV2ProjectNumberItemsPostBodyType(TypedDict): id: int -__all__ = ("OrgsOrgProjectsV2ProjectNumberItemsPostBodyType",) +class OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberItemsPostBody""" + + type: Literal["Issue", "PullRequest"] + id: int + + +__all__ = ( + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1162.py b/githubkit/versions/ghec_v2022_11_28/types/group_1162.py index a4a6a9724..41096c2f8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1162.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1162.py @@ -19,6 +19,14 @@ class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType(TypedDict): fields: list[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType] +class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBody""" + + fields: list[ + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse + ] + + class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType(TypedDict): """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" @@ -26,7 +34,18 @@ class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType(Type value: Union[str, float, None] +class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse( + TypedDict +): + """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" + + id: int + value: Union[str, float, None] + + __all__ = ( "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1163.py b/githubkit/versions/ghec_v2022_11_28/types/group_1163.py index 0bc2f3cdd..5624f9798 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1163.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1163.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0103 import CustomPropertyType +from .group_0103 import CustomPropertyType, CustomPropertyTypeForResponse class OrgsOrgPropertiesSchemaPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class OrgsOrgPropertiesSchemaPatchBodyType(TypedDict): properties: list[CustomPropertyType] -__all__ = ("OrgsOrgPropertiesSchemaPatchBodyType",) +class OrgsOrgPropertiesSchemaPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPropertiesSchemaPatchBody""" + + properties: list[CustomPropertyTypeForResponse] + + +__all__ = ( + "OrgsOrgPropertiesSchemaPatchBodyType", + "OrgsOrgPropertiesSchemaPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1164.py b/githubkit/versions/ghec_v2022_11_28/types/group_1164.py index 04c417185..056473125 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1164.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1164.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrgsOrgPropertiesValuesPatchBodyType(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrgsOrgPropertiesValuesPatchBodyType",) +class OrgsOrgPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPropertiesValuesPatchBody""" + + repository_names: list[str] + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrgsOrgPropertiesValuesPatchBodyType", + "OrgsOrgPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1165.py b/githubkit/versions/ghec_v2022_11_28/types/group_1165.py index 9dda36fc3..72cf30c7e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1165.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1165.py @@ -45,6 +45,40 @@ class OrgsOrgReposPostBodyType(TypedDict): custom_properties: NotRequired[OrgsOrgReposPostBodyPropCustomPropertiesType] +class OrgsOrgReposPostBodyTypeForResponse(TypedDict): + """OrgsOrgReposPostBody""" + + name: str + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + visibility: NotRequired[Literal["public", "private", "internal"]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_downloads: NotRequired[bool] + is_template: NotRequired[bool] + team_id: NotRequired[int] + auto_init: NotRequired[bool] + gitignore_template: NotRequired[str] + license_template: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + custom_properties: NotRequired[ + OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse + ] + + OrgsOrgReposPostBodyPropCustomPropertiesType: TypeAlias = dict[str, Any] """OrgsOrgReposPostBodyPropCustomProperties @@ -53,7 +87,17 @@ class OrgsOrgReposPostBodyType(TypedDict): """ +OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""OrgsOrgReposPostBodyPropCustomProperties + +The custom properties for the new repository. The keys are the custom property +names, and the values are the corresponding custom property values. +""" + + __all__ = ( "OrgsOrgReposPostBodyPropCustomPropertiesType", + "OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse", "OrgsOrgReposPostBodyType", + "OrgsOrgReposPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1166.py b/githubkit/versions/ghec_v2022_11_28/types/group_1166.py index c608aa14f..1493586dd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1166.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1166.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0160 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0161 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0162 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0160 import OrgRulesetConditionsOneof0Type -from .group_0161 import OrgRulesetConditionsOneof1Type -from .group_0162 import OrgRulesetConditionsOneof2Type class OrgsOrgRulesetsPostBodyType(TypedDict): @@ -82,4 +143,49 @@ class OrgsOrgRulesetsPostBodyType(TypedDict): ] -__all__ = ("OrgsOrgRulesetsPostBodyType",) +class OrgsOrgRulesetsPostBodyTypeForResponse(TypedDict): + """OrgsOrgRulesetsPostBody""" + + name: str + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "OrgsOrgRulesetsPostBodyType", + "OrgsOrgRulesetsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1167.py b/githubkit/versions/ghec_v2022_11_28/types/group_1167.py index c11dd5cd9..72bce66b3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1167.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1167.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0160 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0161 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0162 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0160 import OrgRulesetConditionsOneof0Type -from .group_0161 import OrgRulesetConditionsOneof1Type -from .group_0162 import OrgRulesetConditionsOneof2Type class OrgsOrgRulesetsRulesetIdPutBodyType(TypedDict): @@ -82,4 +143,49 @@ class OrgsOrgRulesetsRulesetIdPutBodyType(TypedDict): ] -__all__ = ("OrgsOrgRulesetsRulesetIdPutBodyType",) +class OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse(TypedDict): + """OrgsOrgRulesetsRulesetIdPutBody""" + + name: NotRequired[str] + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: NotRequired[Literal["disabled", "active", "evaluate"]] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "OrgsOrgRulesetsRulesetIdPutBodyType", + "OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1168.py b/githubkit/versions/ghec_v2022_11_28/types/group_1168.py index 63569cff1..69dc69e33 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1168.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1168.py @@ -29,6 +29,22 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyType(TypedDict): ] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse(TypedDict): + """OrgsOrgSecretScanningPatternConfigurationsPatchBody""" + + pattern_config_version: NotRequired[Union[str, None]] + provider_pattern_settings: NotRequired[ + list[ + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse + ] + ] + custom_pattern_settings: NotRequired[ + list[ + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse + ] + ] + + class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType( TypedDict ): @@ -40,6 +56,17 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSett push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsIt + ems + """ + + token_type: NotRequired[str] + push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] + + class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType( TypedDict ): @@ -52,8 +79,23 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettin push_protection_setting: NotRequired[Literal["disabled", "enabled"]] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItem + s + """ + + token_type: NotRequired[str] + custom_pattern_version: NotRequired[Union[str, None]] + push_protection_setting: NotRequired[Literal["disabled", "enabled"]] + + __all__ = ( "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1169.py b/githubkit/versions/ghec_v2022_11_28/types/group_1169.py index 25cb0717f..3274cb873 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1169.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1169.py @@ -18,4 +18,15 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type(TypedDict): pattern_config_version: NotRequired[str] -__all__ = ("OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type",) +class OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchResponse200""" + + pattern_config_version: NotRequired[str] + + +__all__ = ( + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type", + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1170.py b/githubkit/versions/ghec_v2022_11_28/types/group_1170.py index 8134abf09..173046427 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1170.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1170.py @@ -20,4 +20,14 @@ class OrgsOrgSettingsImmutableReleasesPutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgSettingsImmutableReleasesPutBodyType",) +class OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsImmutableReleasesPutBody""" + + enforced_repositories: Literal["all", "none", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesPutBodyType", + "OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1171.py b/githubkit/versions/ghec_v2022_11_28/types/group_1171.py index 4ba16a447..4ded84d1f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1171.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1171.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type",) +class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type", + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1172.py b/githubkit/versions/ghec_v2022_11_28/types/group_1172.py index e5ce5d214..4504d2098 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1172.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1172.py @@ -18,4 +18,13 @@ class OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType",) +class OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsImmutableReleasesRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType", + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1173.py b/githubkit/versions/ghec_v2022_11_28/types/group_1173.py index 9f83566d6..e646d442f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1173.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1173.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0095 import NetworkConfigurationType +from .group_0095 import NetworkConfigurationType, NetworkConfigurationTypeForResponse class OrgsOrgSettingsNetworkConfigurationsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgSettingsNetworkConfigurationsGetResponse200Type(TypedDict): network_configurations: list[NetworkConfigurationType] -__all__ = ("OrgsOrgSettingsNetworkConfigurationsGetResponse200Type",) +class OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgSettingsNetworkConfigurationsGetResponse200""" + + total_count: int + network_configurations: list[NetworkConfigurationTypeForResponse] + + +__all__ = ( + "OrgsOrgSettingsNetworkConfigurationsGetResponse200Type", + "OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1174.py b/githubkit/versions/ghec_v2022_11_28/types/group_1174.py index c29f59c8e..2ff3e6648 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1174.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1174.py @@ -21,4 +21,15 @@ class OrgsOrgSettingsNetworkConfigurationsPostBodyType(TypedDict): network_settings_ids: list[str] -__all__ = ("OrgsOrgSettingsNetworkConfigurationsPostBodyType",) +class OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsNetworkConfigurationsPostBody""" + + name: str + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: list[str] + + +__all__ = ( + "OrgsOrgSettingsNetworkConfigurationsPostBodyType", + "OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1175.py b/githubkit/versions/ghec_v2022_11_28/types/group_1175.py index cf5c73d09..f45c86707 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1175.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1175.py @@ -23,4 +23,17 @@ class OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType( network_settings_ids: NotRequired[list[str]] -__all__ = ("OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType",) +class OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBody""" + + name: NotRequired[str] + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: NotRequired[list[str]] + + +__all__ = ( + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1176.py b/githubkit/versions/ghec_v2022_11_28/types/group_1176.py index ccfb358e6..584d40d47 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1176.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1176.py @@ -28,4 +28,22 @@ class OrgsOrgTeamsPostBodyType(TypedDict): parent_team_id: NotRequired[int] -__all__ = ("OrgsOrgTeamsPostBodyType",) +class OrgsOrgTeamsPostBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsPostBody""" + + name: str + description: NotRequired[str] + maintainers: NotRequired[list[str]] + repo_names: NotRequired[list[str]] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push"]] + parent_team_id: NotRequired[int] + + +__all__ = ( + "OrgsOrgTeamsPostBodyType", + "OrgsOrgTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1177.py b/githubkit/versions/ghec_v2022_11_28/types/group_1177.py index c08c152bc..878878733 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1177.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1177.py @@ -26,4 +26,20 @@ class OrgsOrgTeamsTeamSlugPatchBodyType(TypedDict): parent_team_id: NotRequired[Union[int, None]] -__all__ = ("OrgsOrgTeamsTeamSlugPatchBodyType",) +class OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push", "admin"]] + parent_team_id: NotRequired[Union[int, None]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugPatchBodyType", + "OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1178.py b/githubkit/versions/ghec_v2022_11_28/types/group_1178.py index cb961efbb..463e55778 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1178.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1178.py @@ -20,4 +20,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugDiscussionsPostBody""" + + title: str + body: str + private: NotRequired[bool] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1179.py b/githubkit/versions/ghec_v2022_11_28/types/group_1179.py index db3011d85..f38c82d2d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1179.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1179.py @@ -19,4 +19,16 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType(TypedDict): body: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1180.py b/githubkit/versions/ghec_v2022_11_28/types/group_1180.py index a05290583..4e30fb0b8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1180.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1180.py @@ -18,4 +18,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType(TypedD body: str -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1181.py b/githubkit/versions/ghec_v2022_11_28/types/group_1181.py index a6b974137..4778adf1e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1181.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1181.py @@ -20,6 +20,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchB body: str +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBody""" + + body: str + + __all__ = ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1182.py b/githubkit/versions/ghec_v2022_11_28/types/group_1182.py index 937b98f91..0197bb878 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1182.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1182.py @@ -25,6 +25,19 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReacti ] +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPos + tBody + """ + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + __all__ = ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1183.py b/githubkit/versions/ghec_v2022_11_28/types/group_1183.py index c71526f64..961ebbba5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1183.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1183.py @@ -21,4 +21,17 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType(Typed ] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1184.py b/githubkit/versions/ghec_v2022_11_28/types/group_1184.py index 2c9744c1c..2273b0fc0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1184.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1184.py @@ -18,4 +18,13 @@ class OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType(TypedDict): group_id: int -__all__ = ("OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType",) +class OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugExternalGroupsPatchBody""" + + group_id: int + + +__all__ = ( + "OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyType", + "OrgsOrgTeamsTeamSlugExternalGroupsPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1185.py b/githubkit/versions/ghec_v2022_11_28/types/group_1185.py index b4d610e84..5a75c2f8c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1185.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1185.py @@ -19,4 +19,13 @@ class OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["member", "maintainer"]] -__all__ = ("OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType",) +class OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugMembershipsUsernamePutBody""" + + role: NotRequired[Literal["member", "maintainer"]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType", + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1186.py b/githubkit/versions/ghec_v2022_11_28/types/group_1186.py index 8466dce90..66fa7dd06 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1186.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1186.py @@ -19,4 +19,13 @@ class OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType",) +class OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugProjectsProjectIdPutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1187.py b/githubkit/versions/ghec_v2022_11_28/types/group_1187.py index a637157e4..309223fc2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1187.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1187.py @@ -19,4 +19,14 @@ class OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type",) +class OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1188.py b/githubkit/versions/ghec_v2022_11_28/types/group_1188.py index b42f638ac..c9986095d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1188.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1188.py @@ -18,4 +18,13 @@ class OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType(TypedDict): permission: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType",) +class OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugReposOwnerRepoPutBody""" + + permission: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType", + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1189.py b/githubkit/versions/ghec_v2022_11_28/types/group_1189.py index 7ecc032e3..c62ef6fe9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1189.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1189.py @@ -20,6 +20,16 @@ class OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType(TypedDict): ] +class OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBody""" + + groups: NotRequired[ + list[ + OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse + ] + ] + + class OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType(TypedDict): """OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItems""" @@ -28,7 +38,19 @@ class OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType(Type group_description: str +class OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItems""" + + group_id: str + group_name: str + group_description: str + + __all__ = ( "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsType", + "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse", "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyType", + "OrgsOrgTeamsTeamSlugTeamSyncGroupMappingsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1190.py b/githubkit/versions/ghec_v2022_11_28/types/group_1190.py index edc438335..b88d52912 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1190.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1190.py @@ -19,4 +19,13 @@ class OrgsOrgSecurityProductEnablementPostBodyType(TypedDict): query_suite: NotRequired[Literal["default", "extended"]] -__all__ = ("OrgsOrgSecurityProductEnablementPostBodyType",) +class OrgsOrgSecurityProductEnablementPostBodyTypeForResponse(TypedDict): + """OrgsOrgSecurityProductEnablementPostBody""" + + query_suite: NotRequired[Literal["default", "extended"]] + + +__all__ = ( + "OrgsOrgSecurityProductEnablementPostBodyType", + "OrgsOrgSecurityProductEnablementPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1191.py b/githubkit/versions/ghec_v2022_11_28/types/group_1191.py index 8710755b1..f30b01e1c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1191.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1191.py @@ -20,4 +20,15 @@ class ProjectsColumnsCardsCardIdDeleteResponse403Type(TypedDict): errors: NotRequired[list[str]] -__all__ = ("ProjectsColumnsCardsCardIdDeleteResponse403Type",) +class ProjectsColumnsCardsCardIdDeleteResponse403TypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdDeleteResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + errors: NotRequired[list[str]] + + +__all__ = ( + "ProjectsColumnsCardsCardIdDeleteResponse403Type", + "ProjectsColumnsCardsCardIdDeleteResponse403TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1192.py b/githubkit/versions/ghec_v2022_11_28/types/group_1192.py index 3481963bb..b7f7cf324 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1192.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1192.py @@ -20,4 +20,14 @@ class ProjectsColumnsCardsCardIdPatchBodyType(TypedDict): archived: NotRequired[bool] -__all__ = ("ProjectsColumnsCardsCardIdPatchBodyType",) +class ProjectsColumnsCardsCardIdPatchBodyTypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdPatchBody""" + + note: NotRequired[Union[str, None]] + archived: NotRequired[bool] + + +__all__ = ( + "ProjectsColumnsCardsCardIdPatchBodyType", + "ProjectsColumnsCardsCardIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1193.py b/githubkit/versions/ghec_v2022_11_28/types/group_1193.py index ab2395816..55cf2b6fc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1193.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1193.py @@ -19,4 +19,14 @@ class ProjectsColumnsCardsCardIdMovesPostBodyType(TypedDict): column_id: NotRequired[int] -__all__ = ("ProjectsColumnsCardsCardIdMovesPostBodyType",) +class ProjectsColumnsCardsCardIdMovesPostBodyTypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdMovesPostBody""" + + position: str + column_id: NotRequired[int] + + +__all__ = ( + "ProjectsColumnsCardsCardIdMovesPostBodyType", + "ProjectsColumnsCardsCardIdMovesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1194.py b/githubkit/versions/ghec_v2022_11_28/types/group_1194.py index 7c136f63a..9d8c000e5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1194.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1194.py @@ -16,4 +16,11 @@ class ProjectsColumnsCardsCardIdMovesPostResponse201Type(TypedDict): """ProjectsColumnsCardsCardIdMovesPostResponse201""" -__all__ = ("ProjectsColumnsCardsCardIdMovesPostResponse201Type",) +class ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdMovesPostResponse201""" + + +__all__ = ( + "ProjectsColumnsCardsCardIdMovesPostResponse201Type", + "ProjectsColumnsCardsCardIdMovesPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1195.py b/githubkit/versions/ghec_v2022_11_28/types/group_1195.py index 2628f5b1a..15e39a10b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1195.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1195.py @@ -22,6 +22,18 @@ class ProjectsColumnsCardsCardIdMovesPostResponse403Type(TypedDict): ] +class ProjectsColumnsCardsCardIdMovesPostResponse403TypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdMovesPostResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + errors: NotRequired[ + list[ + ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse + ] + ] + + class ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType(TypedDict): """ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItems""" @@ -31,7 +43,20 @@ class ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType(TypedDic field: NotRequired[str] +class ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse( + TypedDict +): + """ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItems""" + + code: NotRequired[str] + message: NotRequired[str] + resource: NotRequired[str] + field: NotRequired[str] + + __all__ = ( "ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsType", + "ProjectsColumnsCardsCardIdMovesPostResponse403PropErrorsItemsTypeForResponse", "ProjectsColumnsCardsCardIdMovesPostResponse403Type", + "ProjectsColumnsCardsCardIdMovesPostResponse403TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1196.py b/githubkit/versions/ghec_v2022_11_28/types/group_1196.py index c4d1b64db..ab602cd56 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1196.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1196.py @@ -23,6 +23,19 @@ class ProjectsColumnsCardsCardIdMovesPostResponse503Type(TypedDict): ] +class ProjectsColumnsCardsCardIdMovesPostResponse503TypeForResponse(TypedDict): + """ProjectsColumnsCardsCardIdMovesPostResponse503""" + + code: NotRequired[str] + message: NotRequired[str] + documentation_url: NotRequired[str] + errors: NotRequired[ + list[ + ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse + ] + ] + + class ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType(TypedDict): """ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItems""" @@ -30,7 +43,18 @@ class ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType(TypedDic message: NotRequired[str] +class ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse( + TypedDict +): + """ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItems""" + + code: NotRequired[str] + message: NotRequired[str] + + __all__ = ( "ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsType", + "ProjectsColumnsCardsCardIdMovesPostResponse503PropErrorsItemsTypeForResponse", "ProjectsColumnsCardsCardIdMovesPostResponse503Type", + "ProjectsColumnsCardsCardIdMovesPostResponse503TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1197.py b/githubkit/versions/ghec_v2022_11_28/types/group_1197.py index 62ebaaaef..fc46d6493 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1197.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1197.py @@ -18,4 +18,13 @@ class ProjectsColumnsColumnIdPatchBodyType(TypedDict): name: str -__all__ = ("ProjectsColumnsColumnIdPatchBodyType",) +class ProjectsColumnsColumnIdPatchBodyTypeForResponse(TypedDict): + """ProjectsColumnsColumnIdPatchBody""" + + name: str + + +__all__ = ( + "ProjectsColumnsColumnIdPatchBodyType", + "ProjectsColumnsColumnIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1198.py b/githubkit/versions/ghec_v2022_11_28/types/group_1198.py index 1fdc1bf2e..7d4fd239e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1198.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1198.py @@ -19,4 +19,13 @@ class ProjectsColumnsColumnIdCardsPostBodyOneof0Type(TypedDict): note: Union[str, None] -__all__ = ("ProjectsColumnsColumnIdCardsPostBodyOneof0Type",) +class ProjectsColumnsColumnIdCardsPostBodyOneof0TypeForResponse(TypedDict): + """ProjectsColumnsColumnIdCardsPostBodyOneof0""" + + note: Union[str, None] + + +__all__ = ( + "ProjectsColumnsColumnIdCardsPostBodyOneof0Type", + "ProjectsColumnsColumnIdCardsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1199.py b/githubkit/versions/ghec_v2022_11_28/types/group_1199.py index 93c271e2e..5f47d7490 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1199.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1199.py @@ -19,4 +19,14 @@ class ProjectsColumnsColumnIdCardsPostBodyOneof1Type(TypedDict): content_type: str -__all__ = ("ProjectsColumnsColumnIdCardsPostBodyOneof1Type",) +class ProjectsColumnsColumnIdCardsPostBodyOneof1TypeForResponse(TypedDict): + """ProjectsColumnsColumnIdCardsPostBodyOneof1""" + + content_id: int + content_type: str + + +__all__ = ( + "ProjectsColumnsColumnIdCardsPostBodyOneof1Type", + "ProjectsColumnsColumnIdCardsPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1200.py b/githubkit/versions/ghec_v2022_11_28/types/group_1200.py index 4b4ed0962..d9b9e9de7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1200.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1200.py @@ -23,6 +23,17 @@ class ProjectsColumnsColumnIdCardsPostResponse503Type(TypedDict): ] +class ProjectsColumnsColumnIdCardsPostResponse503TypeForResponse(TypedDict): + """ProjectsColumnsColumnIdCardsPostResponse503""" + + code: NotRequired[str] + message: NotRequired[str] + documentation_url: NotRequired[str] + errors: NotRequired[ + list[ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse] + ] + + class ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType(TypedDict): """ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItems""" @@ -30,7 +41,18 @@ class ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType(TypedDict): message: NotRequired[str] +class ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse( + TypedDict +): + """ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItems""" + + code: NotRequired[str] + message: NotRequired[str] + + __all__ = ( "ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsType", + "ProjectsColumnsColumnIdCardsPostResponse503PropErrorsItemsTypeForResponse", "ProjectsColumnsColumnIdCardsPostResponse503Type", + "ProjectsColumnsColumnIdCardsPostResponse503TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1201.py b/githubkit/versions/ghec_v2022_11_28/types/group_1201.py index 1eee63273..2f65ad993 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1201.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1201.py @@ -18,4 +18,13 @@ class ProjectsColumnsColumnIdMovesPostBodyType(TypedDict): position: str -__all__ = ("ProjectsColumnsColumnIdMovesPostBodyType",) +class ProjectsColumnsColumnIdMovesPostBodyTypeForResponse(TypedDict): + """ProjectsColumnsColumnIdMovesPostBody""" + + position: str + + +__all__ = ( + "ProjectsColumnsColumnIdMovesPostBodyType", + "ProjectsColumnsColumnIdMovesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1202.py b/githubkit/versions/ghec_v2022_11_28/types/group_1202.py index 7df563c61..02dc09ec5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1202.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1202.py @@ -16,4 +16,11 @@ class ProjectsColumnsColumnIdMovesPostResponse201Type(TypedDict): """ProjectsColumnsColumnIdMovesPostResponse201""" -__all__ = ("ProjectsColumnsColumnIdMovesPostResponse201Type",) +class ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse(TypedDict): + """ProjectsColumnsColumnIdMovesPostResponse201""" + + +__all__ = ( + "ProjectsColumnsColumnIdMovesPostResponse201Type", + "ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1203.py b/githubkit/versions/ghec_v2022_11_28/types/group_1203.py index e3cd89b33..497ce1dea 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1203.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1203.py @@ -19,4 +19,13 @@ class ProjectsProjectIdCollaboratorsUsernamePutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("ProjectsProjectIdCollaboratorsUsernamePutBodyType",) +class ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """ProjectsProjectIdCollaboratorsUsernamePutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "ProjectsProjectIdCollaboratorsUsernamePutBodyType", + "ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1204.py b/githubkit/versions/ghec_v2022_11_28/types/group_1204.py index a7224c5e8..f6951386d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1204.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1204.py @@ -19,4 +19,14 @@ class ReposOwnerRepoDeleteResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoDeleteResponse403Type",) +class ReposOwnerRepoDeleteResponse403TypeForResponse(TypedDict): + """ReposOwnerRepoDeleteResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDeleteResponse403Type", + "ReposOwnerRepoDeleteResponse403TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1205.py b/githubkit/versions/ghec_v2022_11_28/types/group_1205.py index c8a0f02bc..e62269459 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1205.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1205.py @@ -47,6 +47,40 @@ class ReposOwnerRepoPatchBodyType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class ReposOwnerRepoPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + visibility: NotRequired[Literal["public", "private", "internal"]] + security_and_analysis: NotRequired[ + Union[ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse, None] + ] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + is_template: NotRequired[bool] + default_branch: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + archived: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysis @@ -91,6 +125,50 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType(TypedDict): ] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse(TypedDict): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysis + + Specify which security and analysis features to enable or disable for the + repository. + + To use this parameter, you must have admin permissions for the repository or be + an owner or security manager for the organization that owns the repository. For + more information, see "[Managing security managers in your + organization](https://docs.github.com/enterprise- + cloud@latest//organizations/managing-peoples-access-to-your-organization-with- + roles/managing-security-managers-in-your-organization)." + + For example, to enable GitHub Advanced Security, use this data in the body of + the `PATCH` request: + `{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`. + + You can check which security and analysis features are currently enabled by + using a `GET /repos/{owner}/{repo}` request. + """ + + advanced_security: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse + ] + code_security: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse + ] + secret_scanning: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse + ] + secret_scanning_push_protection: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse + ] + secret_scanning_ai_detection: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse + ] + secret_scanning_non_provider_patterns: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse + ] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurity @@ -107,6 +185,24 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType(Typ status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurity + + Use the `status` property to enable or disable GitHub Advanced Security for this + repository. + For more information, see "[About GitHub Advanced + Security](/github/getting-started-with-github/learning-about-github/about- + github-advanced-security)." + + For standalone Code Scanning or Secret Protection products, this parameter + cannot be used. + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurity @@ -117,6 +213,18 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType(TypedDi status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurity + + Use the `status` property to enable or disable GitHub Code Security for this + repository. + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanning @@ -128,6 +236,19 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType(Typed status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanning + + Use the `status` property to enable or disable secret scanning for this + repository. For more information, see "[About secret scanning](/code- + security/secret-security/about-secret-scanning)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType( TypedDict ): @@ -142,6 +263,20 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtec status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtection + + Use the `status` property to enable or disable secret scanning push protection + for this repository. For more information, see "[Protecting pushes with secret + scanning](/code-security/secret-scanning/protecting-pushes-with-secret- + scanning)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType( TypedDict ): @@ -157,6 +292,21 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectio status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetection + + Use the `status` property to enable or disable secret scanning AI detection for + this repository. For more information, see "[Responsible detection of generic + secrets with AI](https://docs.github.com/enterprise-cloud@latest//code- + security/secret-scanning/using-advanced-secret-scanning-and-push-protection- + features/generic-secret-detection/responsible-ai-generic-secrets)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType( TypedDict ): @@ -172,6 +322,21 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProvide status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatte + rns + + Use the `status` property to enable or disable secret scanning non-provider + patterns for this repository. For more information, see "[Supported secret + scanning patterns](/code-security/secret-scanning/introduction/supported-secret- + scanning-patterns#supported-secrets)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksType( TypedDict ): @@ -184,14 +349,35 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityCh status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecks + + Use the `status` property to enable or disable secret scanning automatic + validity checks on supported partner tokens for this repository. + """ + + status: NotRequired[str] + + __all__ = ( "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningValidityChecksTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse", "ReposOwnerRepoPatchBodyType", + "ReposOwnerRepoPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1206.py b/githubkit/versions/ghec_v2022_11_28/types/group_1206.py index ca7138158..9098e876d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1206.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1206.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0297 import ArtifactType +from .group_0297 import ArtifactType, ArtifactTypeForResponse class ReposOwnerRepoActionsArtifactsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsArtifactsGetResponse200Type(TypedDict): artifacts: list[ArtifactType] -__all__ = ("ReposOwnerRepoActionsArtifactsGetResponse200Type",) +class ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsArtifactsGetResponse200""" + + total_count: int + artifacts: list[ArtifactTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsArtifactsGetResponse200Type", + "ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1207.py b/githubkit/versions/ghec_v2022_11_28/types/group_1207.py index 8552ab8cf..da697e481 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1207.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1207.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsJobsJobIdRerunPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsJobsJobIdRerunPostBodyType",) +class ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsJobsJobIdRerunPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyType", + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1208.py b/githubkit/versions/ghec_v2022_11_28/types/group_1208.py index 19c3d652d..a062cae73 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1208.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1208.py @@ -22,4 +22,17 @@ class ReposOwnerRepoActionsOidcCustomizationSubPutBodyType(TypedDict): include_claim_keys: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoActionsOidcCustomizationSubPutBodyType",) +class ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse(TypedDict): + """Actions OIDC subject customization for a repository + + Actions OIDC subject customization for a repository + """ + + use_default: bool + include_claim_keys: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyType", + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1209.py b/githubkit/versions/ghec_v2022_11_28/types/group_1209.py index a4178d3b7..6581d6d6a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1209.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1209.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0301 import ActionsSecretType +from .group_0301 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type(TypedDict): secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type",) +class ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsOrganizationSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type", + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1210.py b/githubkit/versions/ghec_v2022_11_28/types/group_1210.py index e7a8c69aa..e150188ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1210.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1210.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0302 import ActionsVariableType +from .group_0302 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type(TypedDict): variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type",) +class ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsOrganizationVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type", + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1211.py b/githubkit/versions/ghec_v2022_11_28/types/group_1211.py index 89af583d2..769a56ce9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1211.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1211.py @@ -21,4 +21,15 @@ class ReposOwnerRepoActionsPermissionsPutBodyType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsPermissionsPutBodyType",) +class ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsPermissionsPutBody""" + + enabled: bool + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsPermissionsPutBodyType", + "ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1212.py b/githubkit/versions/ghec_v2022_11_28/types/group_1212.py index 15e13e44d..cedce2a84 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1212.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1212.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0049 import RunnerType +from .group_0049 import RunnerType, RunnerTypeForResponse class ReposOwnerRepoActionsRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunnersGetResponse200Type(TypedDict): runners: list[RunnerType] -__all__ = ("ReposOwnerRepoActionsRunnersGetResponse200Type",) +class ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersGetResponse200""" + + total_count: int + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersGetResponse200Type", + "ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1213.py b/githubkit/versions/ghec_v2022_11_28/types/group_1213.py index 5036c414c..ebd33b013 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1213.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1213.py @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType(TypedDict): work_folder: NotRequired[str] -__all__ = ("ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType",) +class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersGenerateJitconfigPostBody""" + + name: str + runner_group_id: int + labels: list[str] + work_folder: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType", + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1214.py b/githubkit/versions/ghec_v2022_11_28/types/group_1214.py index 9ca36f6ff..042056b83 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1214.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1214.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType(TypedDict): labels: list[str] -__all__ = ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType",) +class ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBody""" + + labels: list[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1215.py b/githubkit/versions/ghec_v2022_11_28/types/group_1215.py index 17c2e6d71..8b1d016e0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1215.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1215.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType(TypedDict): labels: list[str] -__all__ = ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType",) +class ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBody""" + + labels: list[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1216.py b/githubkit/versions/ghec_v2022_11_28/types/group_1216.py index 7e0f493c2..76a60aed1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1216.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1216.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0307 import WorkflowRunType +from .group_0307 import WorkflowRunType, WorkflowRunTypeForResponse class ReposOwnerRepoActionsRunsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsGetResponse200Type(TypedDict): workflow_runs: list[WorkflowRunType] -__all__ = ("ReposOwnerRepoActionsRunsGetResponse200Type",) +class ReposOwnerRepoActionsRunsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsGetResponse200""" + + total_count: int + workflow_runs: list[WorkflowRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsGetResponse200Type", + "ReposOwnerRepoActionsRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1217.py b/githubkit/versions/ghec_v2022_11_28/types/group_1217.py index ae5141a0c..40e0f65b8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1217.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1217.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0297 import ArtifactType +from .group_0297 import ArtifactType, ArtifactTypeForResponse class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type(TypedDict): artifacts: list[ArtifactType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200""" + + total_count: int + artifacts: list[ArtifactTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1218.py b/githubkit/versions/ghec_v2022_11_28/types/group_1218.py index 618f871f1..f66772045 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1218.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1218.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0299 import JobType +from .group_0299 import JobType, JobTypeForResponse class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type( @@ -23,4 +23,16 @@ class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type( jobs: list[JobType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200""" + + total_count: int + jobs: list[JobTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1219.py b/githubkit/versions/ghec_v2022_11_28/types/group_1219.py index 4b7ba4625..03daa673b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1219.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1219.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0299 import JobType +from .group_0299 import JobType, JobTypeForResponse class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type(TypedDict): jobs: list[JobType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdJobsGetResponse200""" + + total_count: int + jobs: list[JobTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1220.py b/githubkit/versions/ghec_v2022_11_28/types/group_1220.py index 76bdf5b5d..63af44382 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1220.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1220.py @@ -21,4 +21,17 @@ class ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType(TypedDict): comment: str -__all__ = ("ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBody""" + + environment_ids: list[int] + state: Literal["approved", "rejected"] + comment: str + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1221.py b/githubkit/versions/ghec_v2022_11_28/types/group_1221.py index 41d795f26..18cbff6c8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1221.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1221.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunsRunIdRerunPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsRunsRunIdRerunPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdRerunPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1222.py b/githubkit/versions/ghec_v2022_11_28/types/group_1222.py index d27f156d2..f01ad12c3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1222.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1222.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1223.py b/githubkit/versions/ghec_v2022_11_28/types/group_1223.py index f7abf764a..c40119dd4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1223.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1223.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0301 import ActionsSecretType +from .group_0301 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoActionsSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsSecretsGetResponse200Type(TypedDict): secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoActionsSecretsGetResponse200Type",) +class ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsSecretsGetResponse200Type", + "ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1224.py b/githubkit/versions/ghec_v2022_11_28/types/group_1224.py index 335280e49..51c8e1ace 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1224.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1224.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsSecretsSecretNamePutBodyType(TypedDict): key_id: str -__all__ = ("ReposOwnerRepoActionsSecretsSecretNamePutBodyType",) +class ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + + +__all__ = ( + "ReposOwnerRepoActionsSecretsSecretNamePutBodyType", + "ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1225.py b/githubkit/versions/ghec_v2022_11_28/types/group_1225.py index 66e96eee3..fde40842b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1225.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1225.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0302 import ActionsVariableType +from .group_0302 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoActionsVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsVariablesGetResponse200Type(TypedDict): variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoActionsVariablesGetResponse200Type",) +class ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsVariablesGetResponse200Type", + "ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1226.py b/githubkit/versions/ghec_v2022_11_28/types/group_1226.py index a5b1bcda1..3886687ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1226.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1226.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsVariablesPostBodyType(TypedDict): value: str -__all__ = ("ReposOwnerRepoActionsVariablesPostBodyType",) +class ReposOwnerRepoActionsVariablesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesPostBody""" + + name: str + value: str + + +__all__ = ( + "ReposOwnerRepoActionsVariablesPostBodyType", + "ReposOwnerRepoActionsVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1227.py b/githubkit/versions/ghec_v2022_11_28/types/group_1227.py index 9dc60de46..75e5544aa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1227.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1227.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsVariablesNamePatchBodyType(TypedDict): value: NotRequired[str] -__all__ = ("ReposOwnerRepoActionsVariablesNamePatchBodyType",) +class ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoActionsVariablesNamePatchBodyType", + "ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1228.py b/githubkit/versions/ghec_v2022_11_28/types/group_1228.py index 567412f15..11733f4d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1228.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1228.py @@ -21,6 +21,13 @@ class ReposOwnerRepoActionsWorkflowsGetResponse200Type(TypedDict): workflows: list[WorkflowType] +class ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsWorkflowsGetResponse200""" + + total_count: int + workflows: list[WorkflowTypeForResponse] + + class WorkflowType(TypedDict): """Workflow @@ -42,7 +49,30 @@ class WorkflowType(TypedDict): deleted_at: NotRequired[datetime] +class WorkflowTypeForResponse(TypedDict): + """Workflow + + A GitHub Actions workflow + """ + + id: int + node_id: str + name: str + path: str + state: Literal[ + "active", "deleted", "disabled_fork", "disabled_inactivity", "disabled_manually" + ] + created_at: str + updated_at: str + url: str + html_url: str + badge_url: str + deleted_at: NotRequired[str] + + __all__ = ( "ReposOwnerRepoActionsWorkflowsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse", "WorkflowType", + "WorkflowTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1229.py b/githubkit/versions/ghec_v2022_11_28/types/group_1229.py index 3e172dbfe..af7e99e38 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1229.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1229.py @@ -22,6 +22,17 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType(TypedDict): ] +class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBody""" + + ref: str + inputs: NotRequired[ + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse + ] + + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType: TypeAlias = ( dict[str, Any] ) @@ -33,7 +44,20 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType(TypedDict): """ +ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputs + +Input keys and values configured in the workflow file. The maximum number of +properties is 10. Any default properties configured in the workflow file will be +used when `inputs` are omitted. +""" + + __all__ = ( "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse", "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1230.py b/githubkit/versions/ghec_v2022_11_28/types/group_1230.py index 84d9cf5a3..4708df5c1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1230.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1230.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0307 import WorkflowRunType +from .group_0307 import WorkflowRunType, WorkflowRunTypeForResponse class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type(TypedDict): workflow_runs: list[WorkflowRunType] -__all__ = ("ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type",) +class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200""" + + total_count: int + workflow_runs: list[WorkflowRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1231.py b/githubkit/versions/ghec_v2022_11_28/types/group_1231.py index e197b3b3a..6ffb1d782 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1231.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1231.py @@ -19,6 +19,12 @@ class ReposOwnerRepoAttestationsPostBodyType(TypedDict): bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType +class ReposOwnerRepoAttestationsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostBody""" + + bundle: ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse + + class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ReposOwnerRepoAttestationsPostBodyPropBundle @@ -37,6 +43,24 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): ] +class ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostBodyPropBundle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse + ] + + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType: TypeAlias = ( dict[str, Any] ) @@ -44,6 +68,13 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ +ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterial +""" + + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -51,9 +82,20 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ +ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelope +""" + + __all__ = ( "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundleType", + "ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse", "ReposOwnerRepoAttestationsPostBodyType", + "ReposOwnerRepoAttestationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1232.py b/githubkit/versions/ghec_v2022_11_28/types/group_1232.py index 79c9aa002..1af133e33 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1232.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1232.py @@ -18,4 +18,13 @@ class ReposOwnerRepoAttestationsPostResponse201Type(TypedDict): id: NotRequired[int] -__all__ = ("ReposOwnerRepoAttestationsPostResponse201Type",) +class ReposOwnerRepoAttestationsPostResponse201TypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostResponse201""" + + id: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoAttestationsPostResponse201Type", + "ReposOwnerRepoAttestationsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1233.py b/githubkit/versions/ghec_v2022_11_28/types/group_1233.py index e4ba7e618..22c98d0a6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1233.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1233.py @@ -23,6 +23,16 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -36,6 +46,19 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems initiator: NotRequired[str] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -57,6 +80,27 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems ] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu + ndle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -65,6 +109,14 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems """ +ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu +ndlePropVerificationMaterial +""" + + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -73,10 +125,23 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems """ +ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu +ndlePropDsseEnvelope +""" + + __all__ = ( "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1234.py b/githubkit/versions/ghec_v2022_11_28/types/group_1234.py index d3cf0850b..cfa2369f6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1234.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1234.py @@ -20,4 +20,15 @@ class ReposOwnerRepoAutolinksPostBodyType(TypedDict): is_alphanumeric: NotRequired[bool] -__all__ = ("ReposOwnerRepoAutolinksPostBodyType",) +class ReposOwnerRepoAutolinksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoAutolinksPostBody""" + + key_prefix: str + url_template: str + is_alphanumeric: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoAutolinksPostBodyType", + "ReposOwnerRepoAutolinksPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1235.py b/githubkit/versions/ghec_v2022_11_28/types/group_1235.py index bca1d637c..6dc7c91b6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1235.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1235.py @@ -36,6 +36,31 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyType(TypedDict): allow_fork_syncing: NotRequired[bool] +class ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoBranchesBranchProtectionPutBody""" + + required_status_checks: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse, + None, + ] + enforce_admins: Union[bool, None] + required_pull_request_reviews: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse, + None, + ] + restrictions: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse, + None, + ] + required_linear_history: NotRequired[bool] + allow_force_pushes: NotRequired[Union[bool, None]] + allow_deletions: NotRequired[bool] + block_creations: NotRequired[bool] + required_conversation_resolution: NotRequired[bool] + lock_branch: NotRequired[bool] + allow_fork_syncing: NotRequired[bool] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType( TypedDict ): @@ -53,6 +78,23 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType( ] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecks + + Require status checks to pass before merging. Set to `null` to disable. + """ + + strict: bool + contexts: list[str] + checks: NotRequired[ + list[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType( TypedDict ): @@ -64,6 +106,17 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropC app_id: NotRequired[int] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksI + tems + """ + + context: str + app_id: NotRequired[int] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType( TypedDict ): @@ -85,6 +138,27 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview ] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviews + + Require at least one approving review on a pull request, before merging. Set to + `null` to disable. + """ + + dismissal_restrictions: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse + ] + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + bypass_pull_request_allowances: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse + ] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType( TypedDict ): @@ -102,6 +176,23 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropD + ismissalRestrictions + + Specify which users, teams, and apps can dismiss pull request reviews. Pass an + empty `dismissal_restrictions` object to disable. User and team + `dismissal_restrictions` are only available for organization-owned repositories. + Omit this parameter for personal repositories. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType( TypedDict ): @@ -116,6 +207,20 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropB + ypassPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType(TypedDict): """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictions @@ -129,12 +234,34 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType(TypedDic apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictions + + Restrict who can push to the protected branch. User, app, and team + `restrictions` are only available for organization-owned repositories. Set to + `null` to disable. + """ + + users: list[str] + teams: list[str] + apps: NotRequired[list[str]] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1236.py b/githubkit/versions/ghec_v2022_11_28/types/group_1236.py index 663ec3e19..133a29772 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1236.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1236.py @@ -29,6 +29,23 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyT ] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBody""" + + dismissal_restrictions: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse + ] + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + bypass_pull_request_allowances: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse + ] + + class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType( TypedDict ): @@ -46,6 +63,23 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyP apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDis + missalRestrictions + + Specify which users, teams, and apps can dismiss pull request reviews. Pass an + empty `dismissal_restrictions` object to disable. User and team + `dismissal_restrictions` are only available for organization-owned repositories. + Omit this parameter for personal repositories. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType( TypedDict ): @@ -60,8 +94,25 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyP apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropByp + assPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1237.py b/githubkit/versions/ghec_v2022_11_28/types/group_1237.py index 0e57487fc..571186b09 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1237.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1237.py @@ -26,6 +26,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType( ] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBody""" + + strict: NotRequired[bool] + contexts: NotRequired[list[str]] + checks: NotRequired[ + list[ + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType( TypedDict ): @@ -37,7 +51,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChe app_id: NotRequired[int] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksIte + ms + """ + + context: str + app_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1238.py b/githubkit/versions/ghec_v2022_11_28/types/group_1238.py index e1f78ac45..4cef53d63 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1238.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1238.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyO contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1239.py b/githubkit/versions/ghec_v2022_11_28/types/group_1239.py index 7953af035..30311a99a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1239.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1239.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBody contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1240.py b/githubkit/versions/ghec_v2022_11_28/types/group_1240.py index b4a0d30f6..46926f23d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1240.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1240.py @@ -25,6 +25,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBo contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneo + f0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1241.py b/githubkit/versions/ghec_v2022_11_28/types/group_1241.py index 1f154c587..7c95c3c41 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1241.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1241.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType(TypedDic apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1242.py b/githubkit/versions/ghec_v2022_11_28/types/group_1242.py index e8ab2de74..46140c654 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1242.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1242.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType(TypedDi apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1243.py b/githubkit/versions/ghec_v2022_11_28/types/group_1243.py index 26bc12cd2..77ece4168 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1243.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1243.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType(Typed apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1244.py b/githubkit/versions/ghec_v2022_11_28/types/group_1244.py index db6c7e46c..fc66f8db5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1244.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1244.py @@ -24,4 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type( teams: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0 + + Examples: + {'teams': ['justice-league']} + """ + + teams: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1245.py b/githubkit/versions/ghec_v2022_11_28/types/group_1245.py index d74b8d070..195f46c5e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1245.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1245.py @@ -24,4 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type( teams: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0 + + Examples: + {'teams': ['my-team']} + """ + + teams: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1246.py b/githubkit/versions/ghec_v2022_11_28/types/group_1246.py index 85e315c26..6103ab1ce 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1246.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1246.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Typ teams: list[str] +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0 + + Examples: + {'teams': ['my-team']} + """ + + teams: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1247.py b/githubkit/versions/ghec_v2022_11_28/types/group_1247.py index 14d747f27..d941c1ea2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1247.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1247.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType(TypedDi users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1248.py b/githubkit/versions/ghec_v2022_11_28/types/group_1248.py index a879b8e99..f913bc63f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1248.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1248.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType(TypedD users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1249.py b/githubkit/versions/ghec_v2022_11_28/types/group_1249.py index 88f98adfd..df5305b28 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1249.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1249.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType(Type users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1250.py b/githubkit/versions/ghec_v2022_11_28/types/group_1250.py index b46802659..2db57c3ba 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1250.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1250.py @@ -18,4 +18,13 @@ class ReposOwnerRepoBranchesBranchRenamePostBodyType(TypedDict): new_name: str -__all__ = ("ReposOwnerRepoBranchesBranchRenamePostBodyType",) +class ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoBranchesBranchRenamePostBody""" + + new_name: str + + +__all__ = ( + "ReposOwnerRepoBranchesBranchRenamePostBodyType", + "ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1251.py b/githubkit/versions/ghec_v2022_11_28/types/group_1251.py index af3347488..c8c1fb0bc 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1251.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1251.py @@ -22,6 +22,16 @@ class ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType message: str +class ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBody""" + + status: Literal["approve", "reject"] + message: str + + __all__ = ( "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyType", + "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1252.py b/githubkit/versions/ghec_v2022_11_28/types/group_1252.py index 635e956dd..1aab3a0e9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1252.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1252.py @@ -20,6 +20,15 @@ class ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse bypass_review_id: NotRequired[int] +class ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200""" + + bypass_review_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200Type", + "ReposOwnerRepoBypassRequestsSecretScanningBypassRequestNumberPatchResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1253.py b/githubkit/versions/ghec_v2022_11_28/types/group_1253.py index 0e96d896e..dc028b9a6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1253.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1253.py @@ -32,6 +32,27 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputType(TypedDict): ] +class ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyPropOutput + + Check runs can accept a variety of data in the `output` object, including a + `title` and `summary` and can optionally provide descriptive details about the + run. + """ + + title: str + summary: str + text: NotRequired[str] + annotations: NotRequired[ + list[ + ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse + ] + ] + images: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse] + ] + + class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItems""" @@ -46,6 +67,22 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType(TypedDic raw_details: NotRequired[str] +class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItems""" + + path: str + start_line: int + end_line: int + start_column: NotRequired[int] + end_column: NotRequired[int] + annotation_level: Literal["notice", "warning", "failure"] + message: str + title: NotRequired[str] + raw_details: NotRequired[str] + + class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItems""" @@ -54,6 +91,16 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType(TypedDict): caption: NotRequired[str] +class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItems""" + + alt: str + image_url: str + caption: NotRequired[str] + + class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropActionsItems""" @@ -62,9 +109,21 @@ class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType(TypedDict): identifier: str +class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyPropActionsItems""" + + label: str + description: str + identifier: str + + __all__ = ( "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1254.py b/githubkit/versions/ghec_v2022_11_28/types/group_1254.py index 2b66a4472..836697364 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1254.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1254.py @@ -15,7 +15,9 @@ from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsPostBodyPropOutputType, + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, ) @@ -43,4 +45,33 @@ class ReposOwnerRepoCheckRunsPostBodyOneof0Type(TypedDict): actions: NotRequired[list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType]] -__all__ = ("ReposOwnerRepoCheckRunsPostBodyOneof0Type",) +class ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyOneof0""" + + name: str + head_sha: str + details_url: NotRequired[str] + external_id: NotRequired[str] + status: Literal["completed"] + started_at: NotRequired[str] + conclusion: Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + completed_at: NotRequired[str] + output: NotRequired[ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsPostBodyOneof0Type", + "ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1255.py b/githubkit/versions/ghec_v2022_11_28/types/group_1255.py index f01b14a6e..86e6c7ff6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1255.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1255.py @@ -15,7 +15,9 @@ from .group_1253 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsPostBodyPropOutputType, + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, ) @@ -47,4 +49,37 @@ class ReposOwnerRepoCheckRunsPostBodyOneof1Type(TypedDict): actions: NotRequired[list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType]] -__all__ = ("ReposOwnerRepoCheckRunsPostBodyOneof1Type",) +class ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyOneof1""" + + name: str + head_sha: str + details_url: NotRequired[str] + external_id: NotRequired[str] + status: NotRequired[ + Literal["queued", "in_progress", "waiting", "requested", "pending"] + ] + started_at: NotRequired[str] + conclusion: NotRequired[ + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + ] + completed_at: NotRequired[str] + output: NotRequired[ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsPostBodyOneof1Type", + "ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1256.py b/githubkit/versions/ghec_v2022_11_28/types/group_1256.py index cdd81f62e..89a18a18a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1256.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1256.py @@ -34,6 +34,29 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType(TypedDict): ] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput + + Check runs can accept a variety of data in the `output` object, including a + `title` and `summary` and can optionally provide descriptive details about the + run. + """ + + title: NotRequired[str] + summary: str + text: NotRequired[str] + annotations: NotRequired[ + list[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse + ] + ] + images: NotRequired[ + list[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse + ] + ] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType( TypedDict ): @@ -50,6 +73,22 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTy raw_details: NotRequired[str] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItems""" + + path: str + start_line: int + end_line: int + start_column: NotRequired[int] + end_column: NotRequired[int] + annotation_level: Literal["notice", "warning", "failure"] + message: str + title: NotRequired[str] + raw_details: NotRequired[str] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType( TypedDict ): @@ -60,6 +99,16 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType( caption: NotRequired[str] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItems""" + + alt: str + image_url: str + caption: NotRequired[str] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType(TypedDict): """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems""" @@ -68,9 +117,23 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType(TypedDict): identifier: str +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems""" + + label: str + description: str + identifier: str + + __all__ = ( "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1257.py b/githubkit/versions/ghec_v2022_11_28/types/group_1257.py index 19cc7bbe9..8ff405d63 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1257.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1257.py @@ -15,7 +15,9 @@ from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, ) @@ -44,4 +46,34 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type(TypedDict): ] -__all__ = ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type",) +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0""" + + name: NotRequired[str] + details_url: NotRequired[str] + external_id: NotRequired[str] + started_at: NotRequired[str] + status: NotRequired[Literal["completed"]] + conclusion: Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + completed_at: NotRequired[str] + output: NotRequired[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse + ] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1258.py b/githubkit/versions/ghec_v2022_11_28/types/group_1258.py index 997113eb8..abe22e2cd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1258.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1258.py @@ -15,7 +15,9 @@ from .group_1256 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, ) @@ -46,4 +48,36 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type(TypedDict): ] -__all__ = ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type",) +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1""" + + name: NotRequired[str] + details_url: NotRequired[str] + external_id: NotRequired[str] + started_at: NotRequired[str] + status: NotRequired[Literal["queued", "in_progress"]] + conclusion: NotRequired[ + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + ] + completed_at: NotRequired[str] + output: NotRequired[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse + ] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1259.py b/githubkit/versions/ghec_v2022_11_28/types/group_1259.py index 5d8ac49c1..18c336b55 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1259.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1259.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCheckSuitesPostBodyType(TypedDict): head_sha: str -__all__ = ("ReposOwnerRepoCheckSuitesPostBodyType",) +class ReposOwnerRepoCheckSuitesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCheckSuitesPostBody""" + + head_sha: str + + +__all__ = ( + "ReposOwnerRepoCheckSuitesPostBodyType", + "ReposOwnerRepoCheckSuitesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1260.py b/githubkit/versions/ghec_v2022_11_28/types/group_1260.py index 5f72161c7..251d22b99 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1260.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1260.py @@ -22,6 +22,16 @@ class ReposOwnerRepoCheckSuitesPreferencesPatchBodyType(TypedDict): ] +class ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCheckSuitesPreferencesPatchBody""" + + auto_trigger_checks: NotRequired[ + list[ + ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType( TypedDict ): @@ -31,7 +41,18 @@ class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTyp setting: bool +class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItems""" + + app_id: int + setting: bool + + __all__ = ( "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse", "ReposOwnerRepoCheckSuitesPreferencesPatchBodyType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1261.py b/githubkit/versions/ghec_v2022_11_28/types/group_1261.py index 97d0b6a73..abdeada61 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1261.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1261.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0333 import CheckRunType +from .group_0333 import CheckRunType, CheckRunTypeForResponse class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type(TypedDict check_runs: list[CheckRunType] -__all__ = ("ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type",) +class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200""" + + total_count: int + check_runs: list[CheckRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type", + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1262.py b/githubkit/versions/ghec_v2022_11_28/types/group_1262.py index d8d166808..0dcdaf9d2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1262.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1262.py @@ -24,4 +24,18 @@ class ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType(TypedDict): create_request: NotRequired[bool] -__all__ = ("ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType",) +class ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBody""" + + state: Literal["open", "dismissed"] + dismissed_reason: NotRequired[ + Union[None, Literal["false positive", "won't fix", "used in tests"]] + ] + dismissed_comment: NotRequired[Union[str, None]] + create_request: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1263.py b/githubkit/versions/ghec_v2022_11_28/types/group_1263.py index 31cc88a9b..2bff49517 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1263.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1263.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type(TypedDic repository_owners: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: list[str] + repository_lists: NotRequired[list[str]] + repository_owners: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1264.py b/githubkit/versions/ghec_v2022_11_28/types/group_1264.py index 15b2259e7..d166a81ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1264.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1264.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type(TypedDic repository_owners: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: NotRequired[list[str]] + repository_lists: list[str] + repository_owners: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1265.py b/githubkit/versions/ghec_v2022_11_28/types/group_1265.py index 3b669027d..6c5401a33 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1265.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1265.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type(TypedDic repository_owners: list[str] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: NotRequired[list[str]] + repository_lists: NotRequired[list[str]] + repository_owners: list[str] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1266.py b/githubkit/versions/ghec_v2022_11_28/types/group_1266.py index e9eb27946..ceb207e4f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1266.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1266.py @@ -25,4 +25,19 @@ class ReposOwnerRepoCodeScanningSarifsPostBodyType(TypedDict): validate_: NotRequired[bool] -__all__ = ("ReposOwnerRepoCodeScanningSarifsPostBodyType",) +class ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodeScanningSarifsPostBody""" + + commit_sha: str + ref: str + sarif: str + checkout_uri: NotRequired[str] + started_at: NotRequired[str] + tool_name: NotRequired[str] + validate_: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoCodeScanningSarifsPostBodyType", + "ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1267.py b/githubkit/versions/ghec_v2022_11_28/types/group_1267.py index 2e52c18d9..0171c5f3b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1267.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1267.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0228 import CodespaceType +from .group_0228 import CodespaceType, CodespaceTypeForResponse class ReposOwnerRepoCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("ReposOwnerRepoCodespacesGetResponse200Type",) +class ReposOwnerRepoCodespacesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCodespacesGetResponse200Type", + "ReposOwnerRepoCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1268.py b/githubkit/versions/ghec_v2022_11_28/types/group_1268.py index 88f53eda8..9abba50c8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1268.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1268.py @@ -29,4 +29,23 @@ class ReposOwnerRepoCodespacesPostBodyType(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("ReposOwnerRepoCodespacesPostBodyType",) +class ReposOwnerRepoCodespacesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesPostBody""" + + ref: NotRequired[str] + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoCodespacesPostBodyType", + "ReposOwnerRepoCodespacesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1269.py b/githubkit/versions/ghec_v2022_11_28/types/group_1269.py index 2b6a98e8b..edf72f734 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1269.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1269.py @@ -21,6 +21,15 @@ class ReposOwnerRepoCodespacesDevcontainersGetResponse200Type(TypedDict): ] +class ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesDevcontainersGetResponse200""" + + total_count: int + devcontainers: list[ + ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse + ] + + class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType( TypedDict ): @@ -31,7 +40,19 @@ class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsT display_name: NotRequired[str] +class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItems""" + + path: str + name: NotRequired[str] + display_name: NotRequired[str] + + __all__ = ( "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse", "ReposOwnerRepoCodespacesDevcontainersGetResponse200Type", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1270.py b/githubkit/versions/ghec_v2022_11_28/types/group_1270.py index 371240346..d00af7357 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1270.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1270.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0227 import CodespaceMachineType +from .group_0227 import CodespaceMachineType, CodespaceMachineTypeForResponse class ReposOwnerRepoCodespacesMachinesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCodespacesMachinesGetResponse200Type(TypedDict): machines: list[CodespaceMachineType] -__all__ = ("ReposOwnerRepoCodespacesMachinesGetResponse200Type",) +class ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesMachinesGetResponse200""" + + total_count: int + machines: list[CodespaceMachineTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCodespacesMachinesGetResponse200Type", + "ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1271.py b/githubkit/versions/ghec_v2022_11_28/types/group_1271.py index 1da0f80f8..bdbe97107 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1271.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1271.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReposOwnerRepoCodespacesNewGetResponse200Type(TypedDict): @@ -22,6 +22,15 @@ class ReposOwnerRepoCodespacesNewGetResponse200Type(TypedDict): defaults: NotRequired[ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType] +class ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesNewGetResponse200""" + + billable_owner: NotRequired[SimpleUserTypeForResponse] + defaults: NotRequired[ + ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse + ] + + class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType(TypedDict): """ReposOwnerRepoCodespacesNewGetResponse200PropDefaults""" @@ -29,7 +38,16 @@ class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType(TypedDict): devcontainer_path: Union[str, None] +class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesNewGetResponse200PropDefaults""" + + location: str + devcontainer_path: Union[str, None] + + __all__ = ( "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType", + "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse", "ReposOwnerRepoCodespacesNewGetResponse200Type", + "ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1272.py b/githubkit/versions/ghec_v2022_11_28/types/group_1272.py index fe71c65ab..e31f33060 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1272.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1272.py @@ -20,6 +20,13 @@ class ReposOwnerRepoCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[RepoCodespacesSecretType] +class ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[RepoCodespacesSecretTypeForResponse] + + class RepoCodespacesSecretType(TypedDict): """Codespaces Secret @@ -31,7 +38,20 @@ class RepoCodespacesSecretType(TypedDict): updated_at: datetime +class RepoCodespacesSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Set repository secrets for GitHub Codespaces. + """ + + name: str + created_at: str + updated_at: str + + __all__ = ( "RepoCodespacesSecretType", + "RepoCodespacesSecretTypeForResponse", "ReposOwnerRepoCodespacesSecretsGetResponse200Type", + "ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1273.py b/githubkit/versions/ghec_v2022_11_28/types/group_1273.py index 4e9617e8c..a5d7ce37c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1273.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1273.py @@ -19,4 +19,14 @@ class ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType(TypedDict): key_id: NotRequired[str] -__all__ = ("ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType",) +class ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType", + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1274.py b/githubkit/versions/ghec_v2022_11_28/types/group_1274.py index 4cccc4ae5..638a33734 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1274.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1274.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCollaboratorsUsernamePutBodyType(TypedDict): permission: NotRequired[str] -__all__ = ("ReposOwnerRepoCollaboratorsUsernamePutBodyType",) +class ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCollaboratorsUsernamePutBody""" + + permission: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoCollaboratorsUsernamePutBodyType", + "ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1275.py b/githubkit/versions/ghec_v2022_11_28/types/group_1275.py index 25f26d78b..b5db7ecb2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1275.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1275.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoCommentsCommentIdPatchBodyType", + "ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1276.py b/githubkit/versions/ghec_v2022_11_28/types/group_1276.py index ce91eec32..88b06dc01 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1276.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1276.py @@ -21,4 +21,15 @@ class ReposOwnerRepoCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1277.py b/githubkit/versions/ghec_v2022_11_28/types/group_1277.py index 36d63c915..ec73c0956 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1277.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1277.py @@ -21,4 +21,16 @@ class ReposOwnerRepoCommitsCommitShaCommentsPostBodyType(TypedDict): line: NotRequired[int] -__all__ = ("ReposOwnerRepoCommitsCommitShaCommentsPostBodyType",) +class ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommitsCommitShaCommentsPostBody""" + + body: str + path: NotRequired[str] + position: NotRequired[int] + line: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyType", + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1278.py b/githubkit/versions/ghec_v2022_11_28/types/group_1278.py index 5ac5bd9f5..041e7a7ee 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1278.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1278.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0333 import CheckRunType +from .group_0333 import CheckRunType, CheckRunTypeForResponse class ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type(TypedDict): check_runs: list[CheckRunType] -__all__ = ("ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type",) +class ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCommitsRefCheckRunsGetResponse200""" + + total_count: int + check_runs: list[CheckRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1279.py b/githubkit/versions/ghec_v2022_11_28/types/group_1279.py index a33d63ac7..479a4f4d5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1279.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1279.py @@ -23,6 +23,19 @@ class ReposOwnerRepoContentsPathPutBodyType(TypedDict): author: NotRequired[ReposOwnerRepoContentsPathPutBodyPropAuthorType] +class ReposOwnerRepoContentsPathPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBody""" + + message: str + content: str + sha: NotRequired[str] + branch: NotRequired[str] + committer: NotRequired[ + ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse + ] + author: NotRequired[ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse] + + class ReposOwnerRepoContentsPathPutBodyPropCommitterType(TypedDict): """ReposOwnerRepoContentsPathPutBodyPropCommitter @@ -34,6 +47,17 @@ class ReposOwnerRepoContentsPathPutBodyPropCommitterType(TypedDict): date: NotRequired[str] +class ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBodyPropCommitter + + The person that committed the file. Default: the authenticated user. + """ + + name: str + email: str + date: NotRequired[str] + + class ReposOwnerRepoContentsPathPutBodyPropAuthorType(TypedDict): """ReposOwnerRepoContentsPathPutBodyPropAuthor @@ -46,8 +70,23 @@ class ReposOwnerRepoContentsPathPutBodyPropAuthorType(TypedDict): date: NotRequired[str] +class ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBodyPropAuthor + + The author of the file. Default: The `committer` or the authenticated user if + you omit `committer`. + """ + + name: str + email: str + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoContentsPathPutBodyPropAuthorType", + "ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropCommitterType", + "ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathPutBodyType", + "ReposOwnerRepoContentsPathPutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1280.py b/githubkit/versions/ghec_v2022_11_28/types/group_1280.py index 1a6415115..c07749c22 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1280.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1280.py @@ -22,6 +22,18 @@ class ReposOwnerRepoContentsPathDeleteBodyType(TypedDict): author: NotRequired[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] +class ReposOwnerRepoContentsPathDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBody""" + + message: str + sha: str + branch: NotRequired[str] + committer: NotRequired[ + ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse + ] + author: NotRequired[ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse] + + class ReposOwnerRepoContentsPathDeleteBodyPropCommitterType(TypedDict): """ReposOwnerRepoContentsPathDeleteBodyPropCommitter @@ -32,6 +44,16 @@ class ReposOwnerRepoContentsPathDeleteBodyPropCommitterType(TypedDict): email: NotRequired[str] +class ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBodyPropCommitter + + object containing information about the committer. + """ + + name: NotRequired[str] + email: NotRequired[str] + + class ReposOwnerRepoContentsPathDeleteBodyPropAuthorType(TypedDict): """ReposOwnerRepoContentsPathDeleteBodyPropAuthor @@ -42,8 +64,21 @@ class ReposOwnerRepoContentsPathDeleteBodyPropAuthorType(TypedDict): email: NotRequired[str] +class ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBodyPropAuthor + + object containing information about the author. + """ + + name: NotRequired[str] + email: NotRequired[str] + + __all__ = ( "ReposOwnerRepoContentsPathDeleteBodyPropAuthorType", + "ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropCommitterType", + "ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyType", + "ReposOwnerRepoContentsPathDeleteBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1281.py b/githubkit/versions/ghec_v2022_11_28/types/group_1281.py index b6eb59e50..5755a08cf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1281.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1281.py @@ -25,4 +25,19 @@ class ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType(TypedDict): dismissed_comment: NotRequired[str] -__all__ = ("ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType",) +class ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDependabotAlertsAlertNumberPatchBody""" + + state: Literal["dismissed", "open"] + dismissed_reason: NotRequired[ + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ] + ] + dismissed_comment: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1282.py b/githubkit/versions/ghec_v2022_11_28/types/group_1282.py index 61528dc95..f11e3c86d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1282.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1282.py @@ -20,6 +20,13 @@ class ReposOwnerRepoDependabotSecretsGetResponse200Type(TypedDict): secrets: list[DependabotSecretType] +class ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoDependabotSecretsGetResponse200""" + + total_count: int + secrets: list[DependabotSecretTypeForResponse] + + class DependabotSecretType(TypedDict): """Dependabot Secret @@ -31,7 +38,20 @@ class DependabotSecretType(TypedDict): updated_at: datetime +class DependabotSecretTypeForResponse(TypedDict): + """Dependabot Secret + + Set secrets for Dependabot. + """ + + name: str + created_at: str + updated_at: str + + __all__ = ( "DependabotSecretType", + "DependabotSecretTypeForResponse", "ReposOwnerRepoDependabotSecretsGetResponse200Type", + "ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1283.py b/githubkit/versions/ghec_v2022_11_28/types/group_1283.py index 95231af1a..8b175fc17 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1283.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1283.py @@ -19,4 +19,14 @@ class ReposOwnerRepoDependabotSecretsSecretNamePutBodyType(TypedDict): key_id: NotRequired[str] -__all__ = ("ReposOwnerRepoDependabotSecretsSecretNamePutBodyType",) +class ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDependabotSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyType", + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1284.py b/githubkit/versions/ghec_v2022_11_28/types/group_1284.py index 6e9243ec2..e54e835a3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1284.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1284.py @@ -21,4 +21,16 @@ class ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type(TypedDict): message: str -__all__ = ("ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type",) +class ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse(TypedDict): + """ReposOwnerRepoDependencyGraphSnapshotsPostResponse201""" + + id: int + created_at: str + result: str + message: str + + +__all__ = ( + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type", + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1285.py b/githubkit/versions/ghec_v2022_11_28/types/group_1285.py index 149bc226e..01f9fb21a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1285.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1285.py @@ -29,12 +29,37 @@ class ReposOwnerRepoDeploymentsPostBodyType(TypedDict): production_environment: NotRequired[bool] +class ReposOwnerRepoDeploymentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsPostBody""" + + ref: str + task: NotRequired[str] + auto_merge: NotRequired[bool] + required_contexts: NotRequired[list[str]] + payload: NotRequired[ + Union[ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse, str] + ] + environment: NotRequired[str] + description: NotRequired[Union[str, None]] + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + + ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type: TypeAlias = dict[str, Any] """ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0 """ +ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0 +""" + + __all__ = ( "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type", + "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse", "ReposOwnerRepoDeploymentsPostBodyType", + "ReposOwnerRepoDeploymentsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1286.py b/githubkit/versions/ghec_v2022_11_28/types/group_1286.py index 8dce1979d..1bb0ecaf7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1286.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1286.py @@ -18,4 +18,13 @@ class ReposOwnerRepoDeploymentsPostResponse202Type(TypedDict): message: NotRequired[str] -__all__ = ("ReposOwnerRepoDeploymentsPostResponse202Type",) +class ReposOwnerRepoDeploymentsPostResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsPostResponse202""" + + message: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDeploymentsPostResponse202Type", + "ReposOwnerRepoDeploymentsPostResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1287.py b/githubkit/versions/ghec_v2022_11_28/types/group_1287.py index cc93f9515..58745a48f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1287.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1287.py @@ -27,4 +27,21 @@ class ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType(TypedDict): auto_inactive: NotRequired[bool] -__all__ = ("ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType",) +class ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBody""" + + state: Literal[ + "error", "failure", "inactive", "in_progress", "queued", "pending", "success" + ] + target_url: NotRequired[str] + log_url: NotRequired[str] + description: NotRequired[str] + environment: NotRequired[str] + environment_url: NotRequired[str] + auto_inactive: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType", + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1288.py b/githubkit/versions/ghec_v2022_11_28/types/group_1288.py index fc3c755a2..feca61dbd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1288.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1288.py @@ -20,4 +20,16 @@ class ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType(TypedD message: str -__all__ = ("ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType",) +class ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBody""" + + status: Literal["approve", "deny"] + message: str + + +__all__ = ( + "ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyType", + "ReposOwnerRepoDismissalRequestsCodeScanningAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1289.py b/githubkit/versions/ghec_v2022_11_28/types/group_1289.py index 0741e69a5..8ae6ddd97 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1289.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1289.py @@ -20,4 +20,16 @@ class ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType(Type message: str -__all__ = ("ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType",) +class ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBody""" + + status: Literal["approve", "deny"] + message: str + + +__all__ = ( + "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyType", + "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1290.py b/githubkit/versions/ghec_v2022_11_28/types/group_1290.py index a6ced9e63..ecf27a950 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1290.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1290.py @@ -20,6 +20,15 @@ class ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Ty dismissal_review_id: NotRequired[int] +class ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200""" + + dismissal_review_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200Type", + "ReposOwnerRepoDismissalRequestsSecretScanningAlertNumberPatchResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1291.py b/githubkit/versions/ghec_v2022_11_28/types/group_1291.py index d1e750ab3..253867e6d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1291.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1291.py @@ -20,6 +20,15 @@ class ReposOwnerRepoDispatchesPostBodyType(TypedDict): client_payload: NotRequired[ReposOwnerRepoDispatchesPostBodyPropClientPayloadType] +class ReposOwnerRepoDispatchesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDispatchesPostBody""" + + event_type: str + client_payload: NotRequired[ + ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse + ] + + ReposOwnerRepoDispatchesPostBodyPropClientPayloadType: TypeAlias = dict[str, Any] """ReposOwnerRepoDispatchesPostBodyPropClientPayload @@ -29,7 +38,20 @@ class ReposOwnerRepoDispatchesPostBodyType(TypedDict): """ +ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoDispatchesPostBodyPropClientPayload + +JSON payload with extra information about the webhook event that your action or +workflow may use. The maximum number of top-level properties is 10. The total +size of the JSON payload must be less than 64KB. +""" + + __all__ = ( "ReposOwnerRepoDispatchesPostBodyPropClientPayloadType", + "ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse", "ReposOwnerRepoDispatchesPostBodyType", + "ReposOwnerRepoDispatchesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1292.py b/githubkit/versions/ghec_v2022_11_28/types/group_1292.py index 7cad3236c..255c0762e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1292.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1292.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0384 import DeploymentBranchPolicySettingsType +from .group_0384 import ( + DeploymentBranchPolicySettingsType, + DeploymentBranchPolicySettingsTypeForResponse, +) class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType(TypedDict): @@ -33,6 +36,24 @@ class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType(TypedDict): ] +class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoEnvironmentsEnvironmentNamePutBody""" + + wait_timer: NotRequired[int] + prevent_self_review: NotRequired[bool] + reviewers: NotRequired[ + Union[ + list[ + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse + ], + None, + ] + ] + deployment_branch_policy: NotRequired[ + Union[DeploymentBranchPolicySettingsTypeForResponse, None] + ] + + class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType(TypedDict): """ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItems""" @@ -40,7 +61,18 @@ class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType(Typ id: NotRequired[int] +class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1293.py b/githubkit/versions/ghec_v2022_11_28/types/group_1293.py index ab59e0b4e..e3ebc6bc4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1293.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1293.py @@ -22,6 +22,15 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetRespon branch_policies: list[DeploymentBranchPolicyType] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200""" + + total_count: int + branch_policies: list[DeploymentBranchPolicyTypeForResponse] + + class DeploymentBranchPolicyType(TypedDict): """Deployment branch policy @@ -34,7 +43,21 @@ class DeploymentBranchPolicyType(TypedDict): type: NotRequired[Literal["branch", "tag"]] +class DeploymentBranchPolicyTypeForResponse(TypedDict): + """Deployment branch policy + + Details of a deployment branch or tag policy. + """ + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + type: NotRequired[Literal["branch", "tag"]] + + __all__ = ( "DeploymentBranchPolicyType", + "DeploymentBranchPolicyTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1294.py b/githubkit/versions/ghec_v2022_11_28/types/group_1294.py index bb2b4e614..701f0b27f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1294.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1294.py @@ -20,6 +20,15 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBody integration_id: NotRequired[int] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBody""" + + integration_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1295.py b/githubkit/versions/ghec_v2022_11_28/types/group_1295.py index 72d2624b4..fb9cda96a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1295.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1295.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0390 import CustomDeploymentRuleAppType +from .group_0390 import ( + CustomDeploymentRuleAppType, + CustomDeploymentRuleAppTypeForResponse, +) class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type( @@ -27,6 +30,20 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetR ] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetRespons + e200 + """ + + total_count: NotRequired[int] + available_custom_deployment_protection_rule_integrations: NotRequired[ + list[CustomDeploymentRuleAppTypeForResponse] + ] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1296.py b/githubkit/versions/ghec_v2022_11_28/types/group_1296.py index 1d77d67bd..dc70d4a13 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1296.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1296.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0301 import ActionsSecretType +from .group_0301 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type(TypedDi secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type",) +class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1297.py b/githubkit/versions/ghec_v2022_11_28/types/group_1297.py index 3ec440fb1..7cde60b5b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1297.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1297.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType(Type key_id: str -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1298.py b/githubkit/versions/ghec_v2022_11_28/types/group_1298.py index 000fb9330..36e865b4e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1298.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1298.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0302 import ActionsVariableType +from .group_0302 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type(Typed variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1299.py b/githubkit/versions/ghec_v2022_11_28/types/group_1299.py index f3a29926f..07331907c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1299.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1299.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType(TypedDict): value: str -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBody""" + + name: str + value: str + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1300.py b/githubkit/versions/ghec_v2022_11_28/types/group_1300.py index adee73102..970632a76 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1300.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1300.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType(TypedD value: NotRequired[str] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1301.py b/githubkit/versions/ghec_v2022_11_28/types/group_1301.py index eb686a699..f3018ca74 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1301.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1301.py @@ -20,4 +20,15 @@ class ReposOwnerRepoForksPostBodyType(TypedDict): default_branch_only: NotRequired[bool] -__all__ = ("ReposOwnerRepoForksPostBodyType",) +class ReposOwnerRepoForksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoForksPostBody""" + + organization: NotRequired[str] + name: NotRequired[str] + default_branch_only: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoForksPostBodyType", + "ReposOwnerRepoForksPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1302.py b/githubkit/versions/ghec_v2022_11_28/types/group_1302.py index 4c2ef3730..34eb5e712 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1302.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1302.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitBlobsPostBodyType(TypedDict): encoding: NotRequired[str] -__all__ = ("ReposOwnerRepoGitBlobsPostBodyType",) +class ReposOwnerRepoGitBlobsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitBlobsPostBody""" + + content: str + encoding: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoGitBlobsPostBodyType", + "ReposOwnerRepoGitBlobsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1303.py b/githubkit/versions/ghec_v2022_11_28/types/group_1303.py index 73106315f..67b434a6c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1303.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1303.py @@ -24,6 +24,17 @@ class ReposOwnerRepoGitCommitsPostBodyType(TypedDict): signature: NotRequired[str] +class ReposOwnerRepoGitCommitsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBody""" + + message: str + tree: str + parents: NotRequired[list[str]] + author: NotRequired[ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse] + committer: NotRequired[ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse] + signature: NotRequired[str] + + class ReposOwnerRepoGitCommitsPostBodyPropAuthorType(TypedDict): """ReposOwnerRepoGitCommitsPostBodyPropAuthor @@ -37,6 +48,19 @@ class ReposOwnerRepoGitCommitsPostBodyPropAuthorType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBodyPropAuthor + + Information about the author of the commit. By default, the `author` will be the + authenticated user and the current date. See the `author` and `committer` object + below for details. + """ + + name: str + email: str + date: NotRequired[str] + + class ReposOwnerRepoGitCommitsPostBodyPropCommitterType(TypedDict): """ReposOwnerRepoGitCommitsPostBodyPropCommitter @@ -50,8 +74,24 @@ class ReposOwnerRepoGitCommitsPostBodyPropCommitterType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBodyPropCommitter + + Information about the person who is making the commit. By default, `committer` + will use the information set in `author`. See the `author` and `committer` + object below for details. + """ + + name: NotRequired[str] + email: NotRequired[str] + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitCommitsPostBodyPropAuthorType", + "ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropCommitterType", + "ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyType", + "ReposOwnerRepoGitCommitsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1304.py b/githubkit/versions/ghec_v2022_11_28/types/group_1304.py index aa4d83aff..b7cfdea48 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1304.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1304.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitRefsPostBodyType(TypedDict): sha: str -__all__ = ("ReposOwnerRepoGitRefsPostBodyType",) +class ReposOwnerRepoGitRefsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitRefsPostBody""" + + ref: str + sha: str + + +__all__ = ( + "ReposOwnerRepoGitRefsPostBodyType", + "ReposOwnerRepoGitRefsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1305.py b/githubkit/versions/ghec_v2022_11_28/types/group_1305.py index 95219ce12..a69edeb0f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1305.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1305.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitRefsRefPatchBodyType(TypedDict): force: NotRequired[bool] -__all__ = ("ReposOwnerRepoGitRefsRefPatchBodyType",) +class ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitRefsRefPatchBody""" + + sha: str + force: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoGitRefsRefPatchBodyType", + "ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1306.py b/githubkit/versions/ghec_v2022_11_28/types/group_1306.py index bf927c780..5d6b9b1a5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1306.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1306.py @@ -24,6 +24,16 @@ class ReposOwnerRepoGitTagsPostBodyType(TypedDict): tagger: NotRequired[ReposOwnerRepoGitTagsPostBodyPropTaggerType] +class ReposOwnerRepoGitTagsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitTagsPostBody""" + + tag: str + message: str + object_: str + type: Literal["commit", "tree", "blob"] + tagger: NotRequired[ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse] + + class ReposOwnerRepoGitTagsPostBodyPropTaggerType(TypedDict): """ReposOwnerRepoGitTagsPostBodyPropTagger @@ -35,7 +45,20 @@ class ReposOwnerRepoGitTagsPostBodyPropTaggerType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse(TypedDict): + """ReposOwnerRepoGitTagsPostBodyPropTagger + + An object with information about the individual creating the tag. + """ + + name: str + email: str + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitTagsPostBodyPropTaggerType", + "ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse", "ReposOwnerRepoGitTagsPostBodyType", + "ReposOwnerRepoGitTagsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1307.py b/githubkit/versions/ghec_v2022_11_28/types/group_1307.py index 62d4e64ac..e97357ea9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1307.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1307.py @@ -20,6 +20,13 @@ class ReposOwnerRepoGitTreesPostBodyType(TypedDict): base_tree: NotRequired[str] +class ReposOwnerRepoGitTreesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitTreesPostBody""" + + tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse] + base_tree: NotRequired[str] + + class ReposOwnerRepoGitTreesPostBodyPropTreeItemsType(TypedDict): """ReposOwnerRepoGitTreesPostBodyPropTreeItems""" @@ -30,7 +37,19 @@ class ReposOwnerRepoGitTreesPostBodyPropTreeItemsType(TypedDict): content: NotRequired[str] +class ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse(TypedDict): + """ReposOwnerRepoGitTreesPostBodyPropTreeItems""" + + path: NotRequired[str] + mode: NotRequired[Literal["100644", "100755", "040000", "160000", "120000"]] + type: NotRequired[Literal["blob", "tree", "commit"]] + sha: NotRequired[Union[str, None]] + content: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitTreesPostBodyPropTreeItemsType", + "ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse", "ReposOwnerRepoGitTreesPostBodyType", + "ReposOwnerRepoGitTreesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1308.py b/githubkit/versions/ghec_v2022_11_28/types/group_1308.py index 44bb98073..1eb67a094 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1308.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1308.py @@ -22,6 +22,15 @@ class ReposOwnerRepoHooksPostBodyType(TypedDict): active: NotRequired[bool] +class ReposOwnerRepoHooksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksPostBody""" + + name: NotRequired[str] + config: NotRequired[ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse] + events: NotRequired[list[str]] + active: NotRequired[bool] + + class ReposOwnerRepoHooksPostBodyPropConfigType(TypedDict): """ReposOwnerRepoHooksPostBodyPropConfig @@ -34,7 +43,21 @@ class ReposOwnerRepoHooksPostBodyPropConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] +class ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse(TypedDict): + """ReposOwnerRepoHooksPostBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + __all__ = ( "ReposOwnerRepoHooksPostBodyPropConfigType", + "ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse", "ReposOwnerRepoHooksPostBodyType", + "ReposOwnerRepoHooksPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1309.py b/githubkit/versions/ghec_v2022_11_28/types/group_1309.py index 616829ef4..4e9c19e4d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1309.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1309.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0011 import WebhookConfigType +from .group_0011 import WebhookConfigType, WebhookConfigTypeForResponse class ReposOwnerRepoHooksHookIdPatchBodyType(TypedDict): @@ -24,4 +24,17 @@ class ReposOwnerRepoHooksHookIdPatchBodyType(TypedDict): active: NotRequired[bool] -__all__ = ("ReposOwnerRepoHooksHookIdPatchBodyType",) +class ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksHookIdPatchBody""" + + config: NotRequired[WebhookConfigTypeForResponse] + events: NotRequired[list[str]] + add_events: NotRequired[list[str]] + remove_events: NotRequired[list[str]] + active: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoHooksHookIdPatchBodyType", + "ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1310.py b/githubkit/versions/ghec_v2022_11_28/types/group_1310.py index 2de12ce93..6509f2dd6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1310.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1310.py @@ -22,4 +22,16 @@ class ReposOwnerRepoHooksHookIdConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("ReposOwnerRepoHooksHookIdConfigPatchBodyType",) +class ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksHookIdConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "ReposOwnerRepoHooksHookIdConfigPatchBodyType", + "ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1311.py b/githubkit/versions/ghec_v2022_11_28/types/group_1311.py index 02673d9bf..39298df0f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1311.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1311.py @@ -23,4 +23,17 @@ class ReposOwnerRepoImportPutBodyType(TypedDict): tfvc_project: NotRequired[str] -__all__ = ("ReposOwnerRepoImportPutBodyType",) +class ReposOwnerRepoImportPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportPutBody""" + + vcs_url: str + vcs: NotRequired[Literal["subversion", "git", "mercurial", "tfvc"]] + vcs_username: NotRequired[str] + vcs_password: NotRequired[str] + tfvc_project: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportPutBodyType", + "ReposOwnerRepoImportPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1312.py b/githubkit/versions/ghec_v2022_11_28/types/group_1312.py index 5f68422b7..db7c13f24 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1312.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1312.py @@ -22,4 +22,16 @@ class ReposOwnerRepoImportPatchBodyType(TypedDict): tfvc_project: NotRequired[str] -__all__ = ("ReposOwnerRepoImportPatchBodyType",) +class ReposOwnerRepoImportPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportPatchBody""" + + vcs_username: NotRequired[str] + vcs_password: NotRequired[str] + vcs: NotRequired[Literal["subversion", "tfvc", "git", "mercurial"]] + tfvc_project: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportPatchBodyType", + "ReposOwnerRepoImportPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1313.py b/githubkit/versions/ghec_v2022_11_28/types/group_1313.py index f2dee5034..edd86a6b3 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1313.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1313.py @@ -19,4 +19,14 @@ class ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType(TypedDict): name: NotRequired[str] -__all__ = ("ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType",) +class ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportAuthorsAuthorIdPatchBody""" + + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType", + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1314.py b/githubkit/versions/ghec_v2022_11_28/types/group_1314.py index f8207f6ea..64c646ee8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1314.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1314.py @@ -19,4 +19,13 @@ class ReposOwnerRepoImportLfsPatchBodyType(TypedDict): use_lfs: Literal["opt_in", "opt_out"] -__all__ = ("ReposOwnerRepoImportLfsPatchBodyType",) +class ReposOwnerRepoImportLfsPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportLfsPatchBody""" + + use_lfs: Literal["opt_in", "opt_out"] + + +__all__ = ( + "ReposOwnerRepoImportLfsPatchBodyType", + "ReposOwnerRepoImportLfsPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1315.py b/githubkit/versions/ghec_v2022_11_28/types/group_1315.py index ca60a7364..cdf049ad5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1315.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1315.py @@ -16,4 +16,11 @@ class ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type(TypedDict): """ReposOwnerRepoInteractionLimitsGetResponse200Anyof1""" -__all__ = ("ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type",) +class ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """ReposOwnerRepoInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type", + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1316.py b/githubkit/versions/ghec_v2022_11_28/types/group_1316.py index 9285f63d1..b39f23d54 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1316.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1316.py @@ -19,4 +19,13 @@ class ReposOwnerRepoInvitationsInvitationIdPatchBodyType(TypedDict): permissions: NotRequired[Literal["read", "write", "maintain", "triage", "admin"]] -__all__ = ("ReposOwnerRepoInvitationsInvitationIdPatchBodyType",) +class ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoInvitationsInvitationIdPatchBody""" + + permissions: NotRequired[Literal["read", "write", "maintain", "triage", "admin"]] + + +__all__ = ( + "ReposOwnerRepoInvitationsInvitationIdPatchBodyType", + "ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1317.py b/githubkit/versions/ghec_v2022_11_28/types/group_1317.py index 9bb94a509..ac0e75a50 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1317.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1317.py @@ -27,6 +27,22 @@ class ReposOwnerRepoIssuesPostBodyType(TypedDict): type: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesPostBody""" + + title: Union[str, int] + body: NotRequired[str] + assignee: NotRequired[Union[str, None]] + milestone: NotRequired[Union[str, int, None]] + labels: NotRequired[ + list[ + Union[str, ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse] + ] + ] + assignees: NotRequired[list[str]] + type: NotRequired[Union[str, None]] + + class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type(TypedDict): """ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1""" @@ -36,7 +52,18 @@ class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type(TypedDict): color: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1""" + + id: NotRequired[int] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + + __all__ = ( "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse", "ReposOwnerRepoIssuesPostBodyType", + "ReposOwnerRepoIssuesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1318.py b/githubkit/versions/ghec_v2022_11_28/types/group_1318.py index 4b0c546c3..65b54721a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1318.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1318.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1319.py b/githubkit/versions/ghec_v2022_11_28/types/group_1319.py index 77f77960c..ce295e480 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1319.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1319.py @@ -21,4 +21,15 @@ class ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1320.py b/githubkit/versions/ghec_v2022_11_28/types/group_1320.py index 0edea8a41..8c1912b28 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1320.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1320.py @@ -35,6 +35,29 @@ class ReposOwnerRepoIssuesIssueNumberPatchBodyType(TypedDict): type: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberPatchBody""" + + title: NotRequired[Union[str, int, None]] + body: NotRequired[Union[str, None]] + assignee: NotRequired[Union[str, None]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[ + Union[None, Literal["completed", "not_planned", "duplicate", "reopened"]] + ] + milestone: NotRequired[Union[str, int, None]] + labels: NotRequired[ + list[ + Union[ + str, + ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse, + ] + ] + ] + assignees: NotRequired[list[str]] + type: NotRequired[Union[str, None]] + + class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type(TypedDict): """ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1""" @@ -44,7 +67,20 @@ class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type(TypedDic color: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1""" + + id: NotRequired[int] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse", "ReposOwnerRepoIssuesIssueNumberPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1321.py b/githubkit/versions/ghec_v2022_11_28/types/group_1321.py index 0f0f4ae84..fc2cfa6ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1321.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1321.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType(TypedDict): assignees: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberAssigneesPostBody""" + + assignees: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1322.py b/githubkit/versions/ghec_v2022_11_28/types/group_1322.py index 2795b587e..8f1ce9c87 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1322.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1322.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType(TypedDict): assignees: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType",) +class ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBody""" + + assignees: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1323.py b/githubkit/versions/ghec_v2022_11_28/types/group_1323.py index 2585a1e0c..042edef28 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1323.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1323.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1324.py b/githubkit/versions/ghec_v2022_11_28/types/group_1324.py index b013b28ee..e064589ec 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1324.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1324.py @@ -18,4 +18,15 @@ class ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType(TypedDict issue_id: int -__all__ = ("ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBody""" + + issue_id: int + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType", + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1325.py b/githubkit/versions/ghec_v2022_11_28/types/group_1325.py index 8653eeddb..506cedab4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1325.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1325.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type(TypedDict): labels: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type",) +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0""" + + labels: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1326.py b/githubkit/versions/ghec_v2022_11_28/types/group_1326.py index 28a5135d1..15c8e2a5b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1326.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1326.py @@ -20,13 +20,33 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type(TypedDict): ] +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2""" + + labels: NotRequired[ + list[ + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType(TypedDict): """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItems""" name: str +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItems""" + + name: str + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1327.py b/githubkit/versions/ghec_v2022_11_28/types/group_1327.py index 4b61c7722..b5284c340 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1327.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1327.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType(TypedDict): name: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType",) +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3Items""" + + name: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1328.py b/githubkit/versions/ghec_v2022_11_28/types/group_1328.py index a0fe1957d..8179f42b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1328.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1328.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type(TypedDict): labels: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type",) +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0""" + + labels: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1329.py b/githubkit/versions/ghec_v2022_11_28/types/group_1329.py index 672fc26ff..dd9fb92e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1329.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1329.py @@ -20,13 +20,33 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type(TypedDict): ] +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2""" + + labels: NotRequired[ + list[ + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType(TypedDict): """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItems""" name: str +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItems""" + + name: str + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1330.py b/githubkit/versions/ghec_v2022_11_28/types/group_1330.py index 6872247a2..d3cf5f467 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1330.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1330.py @@ -18,4 +18,15 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType(TypedDict): name: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType",) +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3Items""" + + name: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1331.py b/githubkit/versions/ghec_v2022_11_28/types/group_1331.py index 392d8c14f..4f6a94577 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1331.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1331.py @@ -19,4 +19,13 @@ class ReposOwnerRepoIssuesIssueNumberLockPutBodyType(TypedDict): lock_reason: NotRequired[Literal["off-topic", "too heated", "resolved", "spam"]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLockPutBodyType",) +class ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLockPutBody""" + + lock_reason: NotRequired[Literal["off-topic", "too heated", "resolved", "spam"]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLockPutBodyType", + "ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1332.py b/githubkit/versions/ghec_v2022_11_28/types/group_1332.py index 5d8ff2645..a260da014 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1332.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1332.py @@ -21,4 +21,15 @@ class ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1333.py b/githubkit/versions/ghec_v2022_11_28/types/group_1333.py index 6e796683c..0198500a5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1333.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1333.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType(TypedDict): sub_issue_id: int -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBody""" + + sub_issue_id: int + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1334.py b/githubkit/versions/ghec_v2022_11_28/types/group_1334.py index 294d951b6..c634c900a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1334.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1334.py @@ -19,4 +19,14 @@ class ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType(TypedDict): replace_parent: NotRequired[bool] -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberSubIssuesPostBody""" + + sub_issue_id: int + replace_parent: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1335.py b/githubkit/versions/ghec_v2022_11_28/types/group_1335.py index 6ffa90a5b..3a731fc08 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1335.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1335.py @@ -20,4 +20,17 @@ class ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType(TypedDict): before_id: NotRequired[int] -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBody""" + + sub_issue_id: int + after_id: NotRequired[int] + before_id: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1336.py b/githubkit/versions/ghec_v2022_11_28/types/group_1336.py index acb0bbfba..d6bbdb8a4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1336.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1336.py @@ -20,4 +20,15 @@ class ReposOwnerRepoKeysPostBodyType(TypedDict): read_only: NotRequired[bool] -__all__ = ("ReposOwnerRepoKeysPostBodyType",) +class ReposOwnerRepoKeysPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoKeysPostBody""" + + title: NotRequired[str] + key: str + read_only: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoKeysPostBodyType", + "ReposOwnerRepoKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1337.py b/githubkit/versions/ghec_v2022_11_28/types/group_1337.py index 7cc0b1b26..d9e2290ff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1337.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1337.py @@ -20,4 +20,15 @@ class ReposOwnerRepoLabelsPostBodyType(TypedDict): description: NotRequired[str] -__all__ = ("ReposOwnerRepoLabelsPostBodyType",) +class ReposOwnerRepoLabelsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoLabelsPostBody""" + + name: str + color: NotRequired[str] + description: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoLabelsPostBodyType", + "ReposOwnerRepoLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1338.py b/githubkit/versions/ghec_v2022_11_28/types/group_1338.py index 607085961..73428098f 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1338.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1338.py @@ -20,4 +20,15 @@ class ReposOwnerRepoLabelsNamePatchBodyType(TypedDict): description: NotRequired[str] -__all__ = ("ReposOwnerRepoLabelsNamePatchBodyType",) +class ReposOwnerRepoLabelsNamePatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoLabelsNamePatchBody""" + + new_name: NotRequired[str] + color: NotRequired[str] + description: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoLabelsNamePatchBodyType", + "ReposOwnerRepoLabelsNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1339.py b/githubkit/versions/ghec_v2022_11_28/types/group_1339.py index ac724c353..8daadd7f0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1339.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1339.py @@ -18,4 +18,13 @@ class ReposOwnerRepoMergeUpstreamPostBodyType(TypedDict): branch: str -__all__ = ("ReposOwnerRepoMergeUpstreamPostBodyType",) +class ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMergeUpstreamPostBody""" + + branch: str + + +__all__ = ( + "ReposOwnerRepoMergeUpstreamPostBodyType", + "ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1340.py b/githubkit/versions/ghec_v2022_11_28/types/group_1340.py index f33bb6f09..1b70808b9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1340.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1340.py @@ -20,4 +20,15 @@ class ReposOwnerRepoMergesPostBodyType(TypedDict): commit_message: NotRequired[str] -__all__ = ("ReposOwnerRepoMergesPostBodyType",) +class ReposOwnerRepoMergesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMergesPostBody""" + + base: str + head: str + commit_message: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMergesPostBodyType", + "ReposOwnerRepoMergesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1341.py b/githubkit/versions/ghec_v2022_11_28/types/group_1341.py index 17d426f88..f62df19e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1341.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1341.py @@ -23,4 +23,16 @@ class ReposOwnerRepoMilestonesPostBodyType(TypedDict): due_on: NotRequired[datetime] -__all__ = ("ReposOwnerRepoMilestonesPostBodyType",) +class ReposOwnerRepoMilestonesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMilestonesPostBody""" + + title: str + state: NotRequired[Literal["open", "closed"]] + description: NotRequired[str] + due_on: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMilestonesPostBodyType", + "ReposOwnerRepoMilestonesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1342.py b/githubkit/versions/ghec_v2022_11_28/types/group_1342.py index 1eaa2807a..6638929bb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1342.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1342.py @@ -23,4 +23,16 @@ class ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType(TypedDict): due_on: NotRequired[datetime] -__all__ = ("ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType",) +class ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMilestonesMilestoneNumberPatchBody""" + + title: NotRequired[str] + state: NotRequired[Literal["open", "closed"]] + description: NotRequired[str] + due_on: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType", + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1343.py b/githubkit/versions/ghec_v2022_11_28/types/group_1343.py index c350dcdf7..f66d44cf6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1343.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1343.py @@ -19,4 +19,13 @@ class ReposOwnerRepoNotificationsPutBodyType(TypedDict): last_read_at: NotRequired[datetime] -__all__ = ("ReposOwnerRepoNotificationsPutBodyType",) +class ReposOwnerRepoNotificationsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoNotificationsPutBody""" + + last_read_at: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoNotificationsPutBodyType", + "ReposOwnerRepoNotificationsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1344.py b/githubkit/versions/ghec_v2022_11_28/types/group_1344.py index 7ab2c0401..0917b2b06 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1344.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1344.py @@ -19,4 +19,14 @@ class ReposOwnerRepoNotificationsPutResponse202Type(TypedDict): url: NotRequired[str] -__all__ = ("ReposOwnerRepoNotificationsPutResponse202Type",) +class ReposOwnerRepoNotificationsPutResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoNotificationsPutResponse202""" + + message: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoNotificationsPutResponse202Type", + "ReposOwnerRepoNotificationsPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1345.py b/githubkit/versions/ghec_v2022_11_28/types/group_1345.py index cd3deab02..d6aa7c916 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1345.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1345.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type(TypedDict): path: Literal["/", "/docs"] -__all__ = ("ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type",) +class ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyPropSourceAnyof1 + + Update the source for the repository. Must include the branch name and path. + """ + + branch: str + path: Literal["/", "/docs"] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type", + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1346.py b/githubkit/versions/ghec_v2022_11_28/types/group_1346.py index 820c01603..b4cc2551e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1346.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1346.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1345 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof0Type(TypedDict): @@ -30,4 +33,22 @@ class ReposOwnerRepoPagesPutBodyAnyof0Type(TypedDict): public: NotRequired[bool] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof0Type",) +class ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof0""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: Literal["legacy", "workflow"] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + public: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof0Type", + "ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1347.py b/githubkit/versions/ghec_v2022_11_28/types/group_1347.py index 9813d62f2..cfd671d8e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1347.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1347.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1345 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof1Type(TypedDict): @@ -28,4 +31,20 @@ class ReposOwnerRepoPagesPutBodyAnyof1Type(TypedDict): public: NotRequired[bool] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof1Type",) +class ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof1""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + public: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof1Type", + "ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1348.py b/githubkit/versions/ghec_v2022_11_28/types/group_1348.py index 08c8a41c4..3034766da 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1348.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1348.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1345 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof2Type(TypedDict): @@ -30,4 +33,22 @@ class ReposOwnerRepoPagesPutBodyAnyof2Type(TypedDict): public: NotRequired[bool] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof2Type",) +class ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof2""" + + cname: Union[str, None] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + public: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof2Type", + "ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1349.py b/githubkit/versions/ghec_v2022_11_28/types/group_1349.py index b8cd931e0..edcf3f007 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1349.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1349.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1345 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof3Type(TypedDict): @@ -30,4 +33,22 @@ class ReposOwnerRepoPagesPutBodyAnyof3Type(TypedDict): public: bool -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof3Type",) +class ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof3""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + public: bool + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof3Type", + "ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1350.py b/githubkit/versions/ghec_v2022_11_28/types/group_1350.py index 5606190d4..9d8750a5a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1350.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1350.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1345 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1345 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof4Type(TypedDict): @@ -30,4 +33,22 @@ class ReposOwnerRepoPagesPutBodyAnyof4Type(TypedDict): public: NotRequired[bool] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof4Type",) +class ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof4""" + + cname: NotRequired[Union[str, None]] + https_enforced: bool + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + public: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof4Type", + "ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1351.py b/githubkit/versions/ghec_v2022_11_28/types/group_1351.py index 1f79f8c8a..312c7d150 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1351.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1351.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPagesPostBodyPropSourceType(TypedDict): path: NotRequired[Literal["/", "/docs"]] -__all__ = ("ReposOwnerRepoPagesPostBodyPropSourceType",) +class ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyPropSource + + The source branch and directory used to publish your Pages site. + """ + + branch: str + path: NotRequired[Literal["/", "/docs"]] + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyPropSourceType", + "ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1352.py b/githubkit/versions/ghec_v2022_11_28/types/group_1352.py index a8ebd0a39..da50bab95 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1352.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1352.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_1351 import ReposOwnerRepoPagesPostBodyPropSourceType +from .group_1351 import ( + ReposOwnerRepoPagesPostBodyPropSourceType, + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, +) class ReposOwnerRepoPagesPostBodyAnyof0Type(TypedDict): @@ -22,4 +25,14 @@ class ReposOwnerRepoPagesPostBodyAnyof0Type(TypedDict): source: ReposOwnerRepoPagesPostBodyPropSourceType -__all__ = ("ReposOwnerRepoPagesPostBodyAnyof0Type",) +class ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyAnyof0""" + + build_type: NotRequired[Literal["legacy", "workflow"]] + source: ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyAnyof0Type", + "ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1353.py b/githubkit/versions/ghec_v2022_11_28/types/group_1353.py index 4533617bb..582adc83c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1353.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1353.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_1351 import ReposOwnerRepoPagesPostBodyPropSourceType +from .group_1351 import ( + ReposOwnerRepoPagesPostBodyPropSourceType, + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, +) class ReposOwnerRepoPagesPostBodyAnyof1Type(TypedDict): @@ -22,4 +25,14 @@ class ReposOwnerRepoPagesPostBodyAnyof1Type(TypedDict): source: NotRequired[ReposOwnerRepoPagesPostBodyPropSourceType] -__all__ = ("ReposOwnerRepoPagesPostBodyAnyof1Type",) +class ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyAnyof1""" + + build_type: Literal["legacy", "workflow"] + source: NotRequired[ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyAnyof1Type", + "ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1354.py b/githubkit/versions/ghec_v2022_11_28/types/group_1354.py index 4bdb60454..24214b46b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1354.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1354.py @@ -25,4 +25,20 @@ class ReposOwnerRepoPagesDeploymentsPostBodyType(TypedDict): oidc_token: str -__all__ = ("ReposOwnerRepoPagesDeploymentsPostBodyType",) +class ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPagesDeploymentsPostBody + + The object used to create GitHub Pages deployment + """ + + artifact_id: NotRequired[float] + artifact_url: NotRequired[str] + environment: NotRequired[str] + pages_build_version: str + oidc_token: str + + +__all__ = ( + "ReposOwnerRepoPagesDeploymentsPostBodyType", + "ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1355.py b/githubkit/versions/ghec_v2022_11_28/types/group_1355.py index c22c267f3..d061f8f39 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1355.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1355.py @@ -18,4 +18,15 @@ class ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type(TypedDict): enabled: bool -__all__ = ("ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type",) +class ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200""" + + enabled: bool + + +__all__ = ( + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type", + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1356.py b/githubkit/versions/ghec_v2022_11_28/types/group_1356.py index 59a74ee7d..df2e9ca06 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1356.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1356.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CustomPropertyValueType +from .group_0101 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class ReposOwnerRepoPropertiesValuesPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class ReposOwnerRepoPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("ReposOwnerRepoPropertiesValuesPatchBodyType",) +class ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPropertiesValuesPatchBody""" + + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoPropertiesValuesPatchBodyType", + "ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1357.py b/githubkit/versions/ghec_v2022_11_28/types/group_1357.py index 8e9e41f56..c4ea280aa 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1357.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1357.py @@ -25,4 +25,20 @@ class ReposOwnerRepoPullsPostBodyType(TypedDict): issue: NotRequired[int] -__all__ = ("ReposOwnerRepoPullsPostBodyType",) +class ReposOwnerRepoPullsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPostBody""" + + title: NotRequired[str] + head: str + head_repo: NotRequired[str] + base: str + body: NotRequired[str] + maintainer_can_modify: NotRequired[bool] + draft: NotRequired[bool] + issue: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoPullsPostBodyType", + "ReposOwnerRepoPullsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1358.py b/githubkit/versions/ghec_v2022_11_28/types/group_1358.py index 160987b13..91a03668d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1358.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1358.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoPullsCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyType", + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1359.py b/githubkit/versions/ghec_v2022_11_28/types/group_1359.py index 4dc9e5008..6ba8e50ae 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1359.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1359.py @@ -21,4 +21,15 @@ class ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1360.py b/githubkit/versions/ghec_v2022_11_28/types/group_1360.py index 1bb472545..a0aa5c68a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1360.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1360.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPullsPullNumberPatchBodyType(TypedDict): maintainer_can_modify: NotRequired[bool] -__all__ = ("ReposOwnerRepoPullsPullNumberPatchBodyType",) +class ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + state: NotRequired[Literal["open", "closed"]] + base: NotRequired[str] + maintainer_can_modify: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberPatchBodyType", + "ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1361.py b/githubkit/versions/ghec_v2022_11_28/types/group_1361.py index b0eda78e6..d1317a4a2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1361.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1361.py @@ -28,4 +28,22 @@ class ReposOwnerRepoPullsPullNumberCodespacesPostBodyType(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("ReposOwnerRepoPullsPullNumberCodespacesPostBodyType",) +class ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberCodespacesPostBody""" + + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyType", + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1362.py b/githubkit/versions/ghec_v2022_11_28/types/group_1362.py index f15be5df1..287c5d8d9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1362.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1362.py @@ -28,4 +28,22 @@ class ReposOwnerRepoPullsPullNumberCommentsPostBodyType(TypedDict): subject_type: NotRequired[Literal["line", "file"]] -__all__ = ("ReposOwnerRepoPullsPullNumberCommentsPostBodyType",) +class ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberCommentsPostBody""" + + body: str + commit_id: str + path: str + position: NotRequired[int] + side: NotRequired[Literal["LEFT", "RIGHT"]] + line: NotRequired[int] + start_line: NotRequired[int] + start_side: NotRequired[Literal["LEFT", "RIGHT", "side"]] + in_reply_to: NotRequired[int] + subject_type: NotRequired[Literal["line", "file"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCommentsPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1363.py b/githubkit/versions/ghec_v2022_11_28/types/group_1363.py index fdc9c5a0e..55a18c186 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1363.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1363.py @@ -18,4 +18,15 @@ class ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType(TypedDic body: str -__all__ = ("ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType",) +class ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1364.py b/githubkit/versions/ghec_v2022_11_28/types/group_1364.py index 743310547..6d48c3bd0 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1364.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1364.py @@ -22,4 +22,16 @@ class ReposOwnerRepoPullsPullNumberMergePutBodyType(TypedDict): merge_method: NotRequired[Literal["merge", "squash", "rebase"]] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutBodyType",) +class ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutBody""" + + commit_title: NotRequired[str] + commit_message: NotRequired[str] + sha: NotRequired[str] + merge_method: NotRequired[Literal["merge", "squash", "rebase"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutBodyType", + "ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1365.py b/githubkit/versions/ghec_v2022_11_28/types/group_1365.py index 797f629f0..4a2bc61ab 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1365.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1365.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberMergePutResponse405Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutResponse405Type",) +class ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutResponse405""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutResponse405Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1366.py b/githubkit/versions/ghec_v2022_11_28/types/group_1366.py index 8525d9950..fd3064e74 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1366.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1366.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberMergePutResponse409Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutResponse409Type",) +class ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutResponse409""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutResponse409Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1367.py b/githubkit/versions/ghec_v2022_11_28/types/group_1367.py index c92fe8585..76976548b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1367.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1367.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type(TypedDic team_reviewers: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0""" + + reviewers: list[str] + team_reviewers: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1368.py b/githubkit/versions/ghec_v2022_11_28/types/group_1368.py index e461ce1cf..661533362 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1368.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1368.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type(TypedDic team_reviewers: list[str] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1""" + + reviewers: NotRequired[list[str]] + team_reviewers: list[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1369.py b/githubkit/versions/ghec_v2022_11_28/types/group_1369.py index 43201ae1f..5b3daf5df 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1369.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1369.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType(TypedDict): team_reviewers: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBody""" + + reviewers: list[str] + team_reviewers: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType", + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1370.py b/githubkit/versions/ghec_v2022_11_28/types/group_1370.py index bf17592a6..3eeb0e4fe 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1370.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1370.py @@ -24,6 +24,19 @@ class ReposOwnerRepoPullsPullNumberReviewsPostBodyType(TypedDict): ] +class ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberReviewsPostBody""" + + commit_id: NotRequired[str] + body: NotRequired[str] + event: NotRequired[Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"]] + comments: NotRequired[ + list[ + ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType(TypedDict): """ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItems""" @@ -36,7 +49,23 @@ class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType(TypedDic start_side: NotRequired[str] +class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItems""" + + path: str + position: NotRequired[int] + body: str + line: NotRequired[int] + side: NotRequired[str] + start_line: NotRequired[int] + start_side: NotRequired[str] + + __all__ = ( "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse", "ReposOwnerRepoPullsPullNumberReviewsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1371.py b/githubkit/versions/ghec_v2022_11_28/types/group_1371.py index 05cccf0c0..d18f49600 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1371.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1371.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1372.py b/githubkit/versions/ghec_v2022_11_28/types/group_1372.py index 412543923..c879fcfcd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1372.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1372.py @@ -20,4 +20,16 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType(TypedDic event: NotRequired[Literal["DISMISS"]] -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBody""" + + message: str + event: NotRequired[Literal["DISMISS"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1373.py b/githubkit/versions/ghec_v2022_11_28/types/group_1373.py index d03c573ae..d1e6c9525 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1373.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1373.py @@ -20,4 +20,16 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType(TypedDict): event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"] -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBody""" + + body: NotRequired[str] + event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1374.py b/githubkit/versions/ghec_v2022_11_28/types/group_1374.py index c102fe4d6..3295b6ecd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1374.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1374.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType(TypedDict): expected_head_sha: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType",) +class ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberUpdateBranchPutBody""" + + expected_head_sha: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1375.py b/githubkit/versions/ghec_v2022_11_28/types/group_1375.py index e633d70f9..8a760e24c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1375.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1375.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type(TypedDict): url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type",) +class ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202""" + + message: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1376.py b/githubkit/versions/ghec_v2022_11_28/types/group_1376.py index 4065bba0c..4eb50cdd1 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1376.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1376.py @@ -27,4 +27,21 @@ class ReposOwnerRepoReleasesPostBodyType(TypedDict): make_latest: NotRequired[Literal["true", "false", "legacy"]] -__all__ = ("ReposOwnerRepoReleasesPostBodyType",) +class ReposOwnerRepoReleasesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesPostBody""" + + tag_name: str + target_commitish: NotRequired[str] + name: NotRequired[str] + body: NotRequired[str] + draft: NotRequired[bool] + prerelease: NotRequired[bool] + discussion_category_name: NotRequired[str] + generate_release_notes: NotRequired[bool] + make_latest: NotRequired[Literal["true", "false", "legacy"]] + + +__all__ = ( + "ReposOwnerRepoReleasesPostBodyType", + "ReposOwnerRepoReleasesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1377.py b/githubkit/versions/ghec_v2022_11_28/types/group_1377.py index 0ddd0a8bf..f77eb63b6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1377.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1377.py @@ -20,4 +20,15 @@ class ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType(TypedDict): state: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType",) +class ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesAssetsAssetIdPatchBody""" + + name: NotRequired[str] + label: NotRequired[str] + state: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType", + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1378.py b/githubkit/versions/ghec_v2022_11_28/types/group_1378.py index 2f21e468e..ef7af7773 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1378.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1378.py @@ -21,4 +21,16 @@ class ReposOwnerRepoReleasesGenerateNotesPostBodyType(TypedDict): configuration_file_path: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesGenerateNotesPostBodyType",) +class ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesGenerateNotesPostBody""" + + tag_name: str + target_commitish: NotRequired[str] + previous_tag_name: NotRequired[str] + configuration_file_path: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesGenerateNotesPostBodyType", + "ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1379.py b/githubkit/versions/ghec_v2022_11_28/types/group_1379.py index 2300351d5..70b3fa12c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1379.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1379.py @@ -26,4 +26,20 @@ class ReposOwnerRepoReleasesReleaseIdPatchBodyType(TypedDict): discussion_category_name: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesReleaseIdPatchBodyType",) +class ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesReleaseIdPatchBody""" + + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + name: NotRequired[str] + body: NotRequired[str] + draft: NotRequired[bool] + prerelease: NotRequired[bool] + make_latest: NotRequired[Literal["true", "false", "legacy"]] + discussion_category_name: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesReleaseIdPatchBodyType", + "ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1380.py b/githubkit/versions/ghec_v2022_11_28/types/group_1380.py index d85bf8d37..3fdcf2cd4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1380.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1380.py @@ -19,4 +19,13 @@ class ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType(TypedDict): content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"] -__all__ = ("ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType",) +class ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesReleaseIdReactionsPostBody""" + + content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"] + + +__all__ = ( + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType", + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1381.py b/githubkit/versions/ghec_v2022_11_28/types/group_1381.py index f94823d98..bfa68afd9 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1381.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1381.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType -from .group_0110 import RepositoryRulesetConditionsType +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0110 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0165 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0163 import RepositoryRuleMergeQueueType -from .group_0165 import RepositoryRuleCopilotCodeReviewType class ReposOwnerRepoRulesetsPostBodyType(TypedDict): @@ -78,4 +139,45 @@ class ReposOwnerRepoRulesetsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoRulesetsPostBodyType",) +class ReposOwnerRepoRulesetsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoRulesetsPostBody""" + + name: str + target: NotRequired[Literal["branch", "tag", "push"]] + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[RepositoryRulesetConditionsTypeForResponse] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + + +__all__ = ( + "ReposOwnerRepoRulesetsPostBodyType", + "ReposOwnerRepoRulesetsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1382.py b/githubkit/versions/ghec_v2022_11_28/types/group_1382.py index 49d968170..2e8e64e03 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1382.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1382.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0105 import RepositoryRulesetBypassActorType -from .group_0110 import RepositoryRulesetConditionsType +from .group_0105 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0110 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0124 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0125 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0127 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0128 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0131 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0133 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0135 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0137 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0139 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0141 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0143 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0145 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0147 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0149 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0151 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0154 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0156 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0165 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0125 import RepositoryRuleUpdateType -from .group_0127 import RepositoryRuleRequiredLinearHistoryType -from .group_0128 import RepositoryRuleRequiredDeploymentsType -from .group_0131 import RepositoryRulePullRequestType -from .group_0133 import RepositoryRuleRequiredStatusChecksType -from .group_0135 import RepositoryRuleCommitMessagePatternType -from .group_0137 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0139 import RepositoryRuleCommitterEmailPatternType -from .group_0141 import RepositoryRuleBranchNamePatternType -from .group_0143 import RepositoryRuleTagNamePatternType -from .group_0145 import RepositoryRuleFilePathRestrictionType -from .group_0147 import RepositoryRuleMaxFilePathLengthType -from .group_0149 import RepositoryRuleFileExtensionRestrictionType -from .group_0151 import RepositoryRuleMaxFileSizeType -from .group_0154 import RepositoryRuleWorkflowsType -from .group_0156 import RepositoryRuleCodeScanningType -from .group_0163 import RepositoryRuleMergeQueueType -from .group_0165 import RepositoryRuleCopilotCodeReviewType class ReposOwnerRepoRulesetsRulesetIdPutBodyType(TypedDict): @@ -78,4 +139,45 @@ class ReposOwnerRepoRulesetsRulesetIdPutBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoRulesetsRulesetIdPutBodyType",) +class ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoRulesetsRulesetIdPutBody""" + + name: NotRequired[str] + target: NotRequired[Literal["branch", "tag", "push"]] + enforcement: NotRequired[Literal["disabled", "active", "evaluate"]] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[RepositoryRulesetConditionsTypeForResponse] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + + +__all__ = ( + "ReposOwnerRepoRulesetsRulesetIdPutBodyType", + "ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1383.py b/githubkit/versions/ghec_v2022_11_28/types/group_1383.py index a675763dc..ce4eb926e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1383.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1383.py @@ -23,4 +23,19 @@ class ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type(TypedDict resolution_comment: NotRequired[Union[str, None]] -__all__ = ("ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type",) +class ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0""" + + state: Literal["open", "resolved"] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolution_comment: NotRequired[Union[str, None]] + + +__all__ = ( + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type", + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1384.py b/githubkit/versions/ghec_v2022_11_28/types/group_1384.py index ca4fd9976..e6fe726b2 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1384.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1384.py @@ -20,4 +20,16 @@ class ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType(TypedDict): placeholder_id: str -__all__ = ("ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType",) +class ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoSecretScanningPushProtectionBypassesPostBody""" + + reason: Literal["false_positive", "used_in_tests", "will_fix_later"] + placeholder_id: str + + +__all__ = ( + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType", + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1385.py b/githubkit/versions/ghec_v2022_11_28/types/group_1385.py index f5eb2b08d..f2ea2ea65 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1385.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1385.py @@ -22,4 +22,16 @@ class ReposOwnerRepoStatusesShaPostBodyType(TypedDict): context: NotRequired[str] -__all__ = ("ReposOwnerRepoStatusesShaPostBodyType",) +class ReposOwnerRepoStatusesShaPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoStatusesShaPostBody""" + + state: Literal["error", "failure", "pending", "success"] + target_url: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + context: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoStatusesShaPostBodyType", + "ReposOwnerRepoStatusesShaPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1386.py b/githubkit/versions/ghec_v2022_11_28/types/group_1386.py index bf3b98dcb..7eea9c0c8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1386.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1386.py @@ -19,4 +19,14 @@ class ReposOwnerRepoSubscriptionPutBodyType(TypedDict): ignored: NotRequired[bool] -__all__ = ("ReposOwnerRepoSubscriptionPutBodyType",) +class ReposOwnerRepoSubscriptionPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoSubscriptionPutBody""" + + subscribed: NotRequired[bool] + ignored: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoSubscriptionPutBodyType", + "ReposOwnerRepoSubscriptionPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1387.py b/githubkit/versions/ghec_v2022_11_28/types/group_1387.py index 492fdc91e..2d210a4e8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1387.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1387.py @@ -18,4 +18,13 @@ class ReposOwnerRepoTagsProtectionPostBodyType(TypedDict): pattern: str -__all__ = ("ReposOwnerRepoTagsProtectionPostBodyType",) +class ReposOwnerRepoTagsProtectionPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTagsProtectionPostBody""" + + pattern: str + + +__all__ = ( + "ReposOwnerRepoTagsProtectionPostBodyType", + "ReposOwnerRepoTagsProtectionPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1388.py b/githubkit/versions/ghec_v2022_11_28/types/group_1388.py index f6f94cfa4..deb459aca 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1388.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1388.py @@ -18,4 +18,13 @@ class ReposOwnerRepoTopicsPutBodyType(TypedDict): names: list[str] -__all__ = ("ReposOwnerRepoTopicsPutBodyType",) +class ReposOwnerRepoTopicsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTopicsPutBody""" + + names: list[str] + + +__all__ = ( + "ReposOwnerRepoTopicsPutBodyType", + "ReposOwnerRepoTopicsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1389.py b/githubkit/versions/ghec_v2022_11_28/types/group_1389.py index 4f00c0f54..563c33438 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1389.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1389.py @@ -20,4 +20,15 @@ class ReposOwnerRepoTransferPostBodyType(TypedDict): team_ids: NotRequired[list[int]] -__all__ = ("ReposOwnerRepoTransferPostBodyType",) +class ReposOwnerRepoTransferPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTransferPostBody""" + + new_owner: str + new_name: NotRequired[str] + team_ids: NotRequired[list[int]] + + +__all__ = ( + "ReposOwnerRepoTransferPostBodyType", + "ReposOwnerRepoTransferPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1390.py b/githubkit/versions/ghec_v2022_11_28/types/group_1390.py index f8f62bc0c..2fd11f5ef 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1390.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1390.py @@ -22,4 +22,17 @@ class ReposTemplateOwnerTemplateRepoGeneratePostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("ReposTemplateOwnerTemplateRepoGeneratePostBodyType",) +class ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse(TypedDict): + """ReposTemplateOwnerTemplateRepoGeneratePostBody""" + + owner: NotRequired[str] + name: str + description: NotRequired[str] + include_all_branches: NotRequired[bool] + private: NotRequired[bool] + + +__all__ = ( + "ReposTemplateOwnerTemplateRepoGeneratePostBodyType", + "ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1391.py b/githubkit/versions/ghec_v2022_11_28/types/group_1391.py index f4878ed75..1dca8c03d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1391.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1391.py @@ -25,6 +25,19 @@ class ScimV2OrganizationsOrgUsersPostBodyType(TypedDict): active: NotRequired[bool] +class ScimV2OrganizationsOrgUsersPostBodyTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersPostBody""" + + user_name: str + display_name: NotRequired[str] + name: ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse + emails: list[ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse] + schemas: NotRequired[list[str]] + external_id: NotRequired[str] + groups: NotRequired[list[str]] + active: NotRequired[bool] + + class ScimV2OrganizationsOrgUsersPostBodyPropNameType(TypedDict): """ScimV2OrganizationsOrgUsersPostBodyPropName @@ -37,6 +50,18 @@ class ScimV2OrganizationsOrgUsersPostBodyPropNameType(TypedDict): formatted: NotRequired[str] +class ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersPostBodyPropName + + Examples: + {'givenName': 'Jane', 'familyName': 'User'} + """ + + given_name: str + family_name: str + formatted: NotRequired[str] + + class ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType(TypedDict): """ScimV2OrganizationsOrgUsersPostBodyPropEmailsItems""" @@ -45,8 +70,19 @@ class ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType(TypedDict): type: NotRequired[str] +class ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersPostBodyPropEmailsItems""" + + value: str + primary: NotRequired[bool] + type: NotRequired[str] + + __all__ = ( "ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsType", + "ScimV2OrganizationsOrgUsersPostBodyPropEmailsItemsTypeForResponse", "ScimV2OrganizationsOrgUsersPostBodyPropNameType", + "ScimV2OrganizationsOrgUsersPostBodyPropNameTypeForResponse", "ScimV2OrganizationsOrgUsersPostBodyType", + "ScimV2OrganizationsOrgUsersPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1392.py b/githubkit/versions/ghec_v2022_11_28/types/group_1392.py index 7aaa7ebc8..6cc19aea4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1392.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1392.py @@ -25,6 +25,21 @@ class ScimV2OrganizationsOrgUsersScimUserIdPutBodyType(TypedDict): emails: list[ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType] +class ScimV2OrganizationsOrgUsersScimUserIdPutBodyTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersScimUserIdPutBody""" + + schemas: NotRequired[list[str]] + display_name: NotRequired[str] + external_id: NotRequired[str] + groups: NotRequired[list[str]] + active: NotRequired[bool] + user_name: str + name: ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse + emails: list[ + ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse + ] + + class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType(TypedDict): """ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropName @@ -37,6 +52,18 @@ class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType(TypedDict): formatted: NotRequired[str] +class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropName + + Examples: + {'givenName': 'Jane', 'familyName': 'User'} + """ + + given_name: str + family_name: str + formatted: NotRequired[str] + + class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType(TypedDict): """ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItems""" @@ -45,8 +72,21 @@ class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType(TypedDict) primary: NotRequired[bool] +class ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse( + TypedDict +): + """ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItems""" + + type: NotRequired[str] + value: str + primary: NotRequired[bool] + + __all__ = ( "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropEmailsItemsTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyPropNameTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPutBodyType", + "ScimV2OrganizationsOrgUsersScimUserIdPutBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1393.py b/githubkit/versions/ghec_v2022_11_28/types/group_1393.py index b3d378206..a5702f6cf 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1393.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1393.py @@ -22,6 +22,15 @@ class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType(TypedDict): ] +class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyTypeForResponse(TypedDict): + """ScimV2OrganizationsOrgUsersScimUserIdPatchBody""" + + schemas: NotRequired[list[str]] + operations: list[ + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse + ] + + class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType(TypedDict): """ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItems""" @@ -38,6 +47,24 @@ class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType(Type ] +class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse( + TypedDict +): + """ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItems""" + + op: Literal["add", "remove", "replace"] + path: NotRequired[str] + value: NotRequired[ + Union[ + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse, + list[ + ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse + ], + str, + ] + ] + + class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0Type( TypedDict ): @@ -50,6 +77,18 @@ class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValue family_name: NotRequired[Union[str, None]] +class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse( + TypedDict +): + """ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0""" + + active: NotRequired[Union[bool, None]] + user_name: NotRequired[Union[str, None]] + external_id: NotRequired[Union[str, None]] + given_name: NotRequired[Union[str, None]] + family_name: NotRequired[Union[str, None]] + + class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsType( TypedDict ): @@ -61,9 +100,24 @@ class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValue primary: NotRequired[bool] +class ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse( + TypedDict +): + """ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1 + Items + """ + + value: NotRequired[str] + primary: NotRequired[bool] + + __all__ = ( "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0Type", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof0TypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsPropValueOneof1ItemsTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyPropOperationsItemsTypeForResponse", "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyType", + "ScimV2OrganizationsOrgUsersScimUserIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1394.py b/githubkit/versions/ghec_v2022_11_28/types/group_1394.py index 6accad501..8e2b86917 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1394.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1394.py @@ -26,4 +26,20 @@ class TeamsTeamIdPatchBodyType(TypedDict): parent_team_id: NotRequired[Union[int, None]] -__all__ = ("TeamsTeamIdPatchBodyType",) +class TeamsTeamIdPatchBodyTypeForResponse(TypedDict): + """TeamsTeamIdPatchBody""" + + name: str + description: NotRequired[str] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push", "admin"]] + parent_team_id: NotRequired[Union[int, None]] + + +__all__ = ( + "TeamsTeamIdPatchBodyType", + "TeamsTeamIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1395.py b/githubkit/versions/ghec_v2022_11_28/types/group_1395.py index 5fc734f17..a5ee69ed7 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1395.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1395.py @@ -20,4 +20,15 @@ class TeamsTeamIdDiscussionsPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("TeamsTeamIdDiscussionsPostBodyType",) +class TeamsTeamIdDiscussionsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsPostBody""" + + title: str + body: str + private: NotRequired[bool] + + +__all__ = ( + "TeamsTeamIdDiscussionsPostBodyType", + "TeamsTeamIdDiscussionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1396.py b/githubkit/versions/ghec_v2022_11_28/types/group_1396.py index 97be26f9a..5ea08fb68 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1396.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1396.py @@ -19,4 +19,14 @@ class TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType(TypedDict): body: NotRequired[str] -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1397.py b/githubkit/versions/ghec_v2022_11_28/types/group_1397.py index 49b6126e3..86a6f4a1a 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1397.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1397.py @@ -18,4 +18,13 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType(TypedDict): body: str -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1398.py b/githubkit/versions/ghec_v2022_11_28/types/group_1398.py index aba26488a..3f3548203 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1398.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1398.py @@ -20,4 +20,15 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType( body: str -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse( + TypedDict +): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBody""" + + body: str + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1399.py b/githubkit/versions/ghec_v2022_11_28/types/group_1399.py index ea06c9bbf..e100e8dc8 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1399.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1399.py @@ -23,6 +23,17 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBo ] +class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + __all__ = ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1400.py b/githubkit/versions/ghec_v2022_11_28/types/group_1400.py index 02edb1cc8..bea48b27e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1400.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1400.py @@ -21,4 +21,15 @@ class TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType(TypedDict): ] -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1401.py b/githubkit/versions/ghec_v2022_11_28/types/group_1401.py index 4c1b9ea73..7ce0f661e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1401.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1401.py @@ -19,4 +19,13 @@ class TeamsTeamIdMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["member", "maintainer"]] -__all__ = ("TeamsTeamIdMembershipsUsernamePutBodyType",) +class TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """TeamsTeamIdMembershipsUsernamePutBody""" + + role: NotRequired[Literal["member", "maintainer"]] + + +__all__ = ( + "TeamsTeamIdMembershipsUsernamePutBodyType", + "TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1402.py b/githubkit/versions/ghec_v2022_11_28/types/group_1402.py index 0fc6bc372..6d9b66d03 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1402.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1402.py @@ -19,4 +19,13 @@ class TeamsTeamIdProjectsProjectIdPutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("TeamsTeamIdProjectsProjectIdPutBodyType",) +class TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse(TypedDict): + """TeamsTeamIdProjectsProjectIdPutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "TeamsTeamIdProjectsProjectIdPutBodyType", + "TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1403.py b/githubkit/versions/ghec_v2022_11_28/types/group_1403.py index 27e574fd9..3f9708921 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1403.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1403.py @@ -19,4 +19,14 @@ class TeamsTeamIdProjectsProjectIdPutResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("TeamsTeamIdProjectsProjectIdPutResponse403Type",) +class TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse(TypedDict): + """TeamsTeamIdProjectsProjectIdPutResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "TeamsTeamIdProjectsProjectIdPutResponse403Type", + "TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1404.py b/githubkit/versions/ghec_v2022_11_28/types/group_1404.py index 218231963..25201b28c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1404.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1404.py @@ -19,4 +19,13 @@ class TeamsTeamIdReposOwnerRepoPutBodyType(TypedDict): permission: NotRequired[Literal["pull", "push", "admin"]] -__all__ = ("TeamsTeamIdReposOwnerRepoPutBodyType",) +class TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse(TypedDict): + """TeamsTeamIdReposOwnerRepoPutBody""" + + permission: NotRequired[Literal["pull", "push", "admin"]] + + +__all__ = ( + "TeamsTeamIdReposOwnerRepoPutBodyType", + "TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1405.py b/githubkit/versions/ghec_v2022_11_28/types/group_1405.py index 55352f689..f44b31e88 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1405.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1405.py @@ -19,6 +19,15 @@ class TeamsTeamIdTeamSyncGroupMappingsPatchBodyType(TypedDict): synced_at: NotRequired[str] +class TeamsTeamIdTeamSyncGroupMappingsPatchBodyTypeForResponse(TypedDict): + """TeamsTeamIdTeamSyncGroupMappingsPatchBody""" + + groups: list[ + TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse + ] + synced_at: NotRequired[str] + + class TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType(TypedDict): """TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItems""" @@ -30,7 +39,22 @@ class TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType(TypedDict): description: NotRequired[str] +class TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse( + TypedDict +): + """TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItems""" + + group_id: str + group_name: str + group_description: str + id: NotRequired[str] + name: NotRequired[str] + description: NotRequired[str] + + __all__ = ( "TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsType", + "TeamsTeamIdTeamSyncGroupMappingsPatchBodyPropGroupsItemsTypeForResponse", "TeamsTeamIdTeamSyncGroupMappingsPatchBodyType", + "TeamsTeamIdTeamSyncGroupMappingsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1406.py b/githubkit/versions/ghec_v2022_11_28/types/group_1406.py index 0cc0c51fd..3d022be99 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1406.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1406.py @@ -26,4 +26,20 @@ class UserPatchBodyType(TypedDict): bio: NotRequired[str] -__all__ = ("UserPatchBodyType",) +class UserPatchBodyTypeForResponse(TypedDict): + """UserPatchBody""" + + name: NotRequired[str] + email: NotRequired[str] + blog: NotRequired[str] + twitter_username: NotRequired[Union[str, None]] + company: NotRequired[str] + location: NotRequired[str] + hireable: NotRequired[bool] + bio: NotRequired[str] + + +__all__ = ( + "UserPatchBodyType", + "UserPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1407.py b/githubkit/versions/ghec_v2022_11_28/types/group_1407.py index 6a3d3fab4..1492b43fd 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1407.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1407.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0228 import CodespaceType +from .group_0228 import CodespaceType, CodespaceTypeForResponse class UserCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("UserCodespacesGetResponse200Type",) +class UserCodespacesGetResponse200TypeForResponse(TypedDict): + """UserCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "UserCodespacesGetResponse200Type", + "UserCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1408.py b/githubkit/versions/ghec_v2022_11_28/types/group_1408.py index ca44ecf9e..56232bf6c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1408.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1408.py @@ -30,4 +30,24 @@ class UserCodespacesPostBodyOneof0Type(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("UserCodespacesPostBodyOneof0Type",) +class UserCodespacesPostBodyOneof0TypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof0""" + + repository_id: int + ref: NotRequired[str] + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "UserCodespacesPostBodyOneof0Type", + "UserCodespacesPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1409.py b/githubkit/versions/ghec_v2022_11_28/types/group_1409.py index ad32a685a..402f5ad2b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1409.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1409.py @@ -25,6 +25,18 @@ class UserCodespacesPostBodyOneof1Type(TypedDict): idle_timeout_minutes: NotRequired[int] +class UserCodespacesPostBodyOneof1TypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof1""" + + pull_request: UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + + class UserCodespacesPostBodyOneof1PropPullRequestType(TypedDict): """UserCodespacesPostBodyOneof1PropPullRequest @@ -35,7 +47,19 @@ class UserCodespacesPostBodyOneof1PropPullRequestType(TypedDict): repository_id: int +class UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof1PropPullRequest + + Pull request number for this codespace + """ + + pull_request_number: int + repository_id: int + + __all__ = ( "UserCodespacesPostBodyOneof1PropPullRequestType", + "UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse", "UserCodespacesPostBodyOneof1Type", + "UserCodespacesPostBodyOneof1TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1410.py b/githubkit/versions/ghec_v2022_11_28/types/group_1410.py index 1e27e71b8..e209d7002 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1410.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1410.py @@ -21,6 +21,13 @@ class UserCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[CodespacesSecretType] +class UserCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """UserCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[CodespacesSecretTypeForResponse] + + class CodespacesSecretType(TypedDict): """Codespaces Secret @@ -34,7 +41,22 @@ class CodespacesSecretType(TypedDict): selected_repositories_url: str +class CodespacesSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Secrets for a GitHub Codespace. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: str + + __all__ = ( "CodespacesSecretType", + "CodespacesSecretTypeForResponse", "UserCodespacesSecretsGetResponse200Type", + "UserCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1411.py b/githubkit/versions/ghec_v2022_11_28/types/group_1411.py index 6ec0707c1..a42e7b33d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1411.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1411.py @@ -21,4 +21,15 @@ class UserCodespacesSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[Union[int, str]]] -__all__ = ("UserCodespacesSecretsSecretNamePutBodyType",) +class UserCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """UserCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: str + selected_repository_ids: NotRequired[list[Union[int, str]]] + + +__all__ = ( + "UserCodespacesSecretsSecretNamePutBodyType", + "UserCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1412.py b/githubkit/versions/ghec_v2022_11_28/types/group_1412.py index 2bfbbfc48..a76d34f92 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1412.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1412.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0214 import MinimalRepositoryType +from .group_0214 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type",) +class UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """UserCodespacesSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1413.py b/githubkit/versions/ghec_v2022_11_28/types/group_1413.py index 69b6c64de..34eecfd39 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1413.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1413.py @@ -18,4 +18,13 @@ class UserCodespacesSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("UserCodespacesSecretsSecretNameRepositoriesPutBodyType",) +class UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """UserCodespacesSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "UserCodespacesSecretsSecretNameRepositoriesPutBodyType", + "UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1414.py b/githubkit/versions/ghec_v2022_11_28/types/group_1414.py index 73deadc8f..3c879a35d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1414.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1414.py @@ -20,4 +20,15 @@ class UserCodespacesCodespaceNamePatchBodyType(TypedDict): recent_folders: NotRequired[list[str]] -__all__ = ("UserCodespacesCodespaceNamePatchBodyType",) +class UserCodespacesCodespaceNamePatchBodyTypeForResponse(TypedDict): + """UserCodespacesCodespaceNamePatchBody""" + + machine: NotRequired[str] + display_name: NotRequired[str] + recent_folders: NotRequired[list[str]] + + +__all__ = ( + "UserCodespacesCodespaceNamePatchBodyType", + "UserCodespacesCodespaceNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1415.py b/githubkit/versions/ghec_v2022_11_28/types/group_1415.py index 92c2c9269..5c2e3f534 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1415.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1415.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0227 import CodespaceMachineType +from .group_0227 import CodespaceMachineType, CodespaceMachineTypeForResponse class UserCodespacesCodespaceNameMachinesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserCodespacesCodespaceNameMachinesGetResponse200Type(TypedDict): machines: list[CodespaceMachineType] -__all__ = ("UserCodespacesCodespaceNameMachinesGetResponse200Type",) +class UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse(TypedDict): + """UserCodespacesCodespaceNameMachinesGetResponse200""" + + total_count: int + machines: list[CodespaceMachineTypeForResponse] + + +__all__ = ( + "UserCodespacesCodespaceNameMachinesGetResponse200Type", + "UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1416.py b/githubkit/versions/ghec_v2022_11_28/types/group_1416.py index 90f680aa4..10ea65ede 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1416.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1416.py @@ -19,4 +19,14 @@ class UserCodespacesCodespaceNamePublishPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("UserCodespacesCodespaceNamePublishPostBodyType",) +class UserCodespacesCodespaceNamePublishPostBodyTypeForResponse(TypedDict): + """UserCodespacesCodespaceNamePublishPostBody""" + + name: NotRequired[str] + private: NotRequired[bool] + + +__all__ = ( + "UserCodespacesCodespaceNamePublishPostBodyType", + "UserCodespacesCodespaceNamePublishPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1417.py b/githubkit/versions/ghec_v2022_11_28/types/group_1417.py index 741f85377..402599197 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1417.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1417.py @@ -19,4 +19,13 @@ class UserEmailVisibilityPatchBodyType(TypedDict): visibility: Literal["public", "private"] -__all__ = ("UserEmailVisibilityPatchBodyType",) +class UserEmailVisibilityPatchBodyTypeForResponse(TypedDict): + """UserEmailVisibilityPatchBody""" + + visibility: Literal["public", "private"] + + +__all__ = ( + "UserEmailVisibilityPatchBodyType", + "UserEmailVisibilityPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1418.py b/githubkit/versions/ghec_v2022_11_28/types/group_1418.py index fa445ed2c..ee1362b4e 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1418.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1418.py @@ -22,4 +22,17 @@ class UserEmailsPostBodyOneof0Type(TypedDict): emails: list[str] -__all__ = ("UserEmailsPostBodyOneof0Type",) +class UserEmailsPostBodyOneof0TypeForResponse(TypedDict): + """UserEmailsPostBodyOneof0 + + Examples: + {'emails': ['octocat@github.com', 'mona@github.com']} + """ + + emails: list[str] + + +__all__ = ( + "UserEmailsPostBodyOneof0Type", + "UserEmailsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1419.py b/githubkit/versions/ghec_v2022_11_28/types/group_1419.py index 85a754f60..d59327882 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1419.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1419.py @@ -27,4 +27,22 @@ class UserEmailsDeleteBodyOneof0Type(TypedDict): emails: list[str] -__all__ = ("UserEmailsDeleteBodyOneof0Type",) +class UserEmailsDeleteBodyOneof0TypeForResponse(TypedDict): + """UserEmailsDeleteBodyOneof0 + + Deletes one or more email addresses from your GitHub account. Must contain at + least one email address. **Note:** Alternatively, you can pass a single email + address or an `array` of emails addresses directly, but we recommend that you + pass an object using the `emails` key. + + Examples: + {'emails': ['octocat@github.com', 'mona@github.com']} + """ + + emails: list[str] + + +__all__ = ( + "UserEmailsDeleteBodyOneof0Type", + "UserEmailsDeleteBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1420.py b/githubkit/versions/ghec_v2022_11_28/types/group_1420.py index bef46dc62..b6df9f8c6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1420.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1420.py @@ -19,4 +19,14 @@ class UserGpgKeysPostBodyType(TypedDict): armored_public_key: str -__all__ = ("UserGpgKeysPostBodyType",) +class UserGpgKeysPostBodyTypeForResponse(TypedDict): + """UserGpgKeysPostBody""" + + name: NotRequired[str] + armored_public_key: str + + +__all__ = ( + "UserGpgKeysPostBodyType", + "UserGpgKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1421.py b/githubkit/versions/ghec_v2022_11_28/types/group_1421.py index 069eb3383..a32cca120 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1421.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1421.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0018 import InstallationType +from .group_0018 import InstallationType, InstallationTypeForResponse class UserInstallationsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserInstallationsGetResponse200Type(TypedDict): installations: list[InstallationType] -__all__ = ("UserInstallationsGetResponse200Type",) +class UserInstallationsGetResponse200TypeForResponse(TypedDict): + """UserInstallationsGetResponse200""" + + total_count: int + installations: list[InstallationTypeForResponse] + + +__all__ = ( + "UserInstallationsGetResponse200Type", + "UserInstallationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1422.py b/githubkit/versions/ghec_v2022_11_28/types/group_1422.py index 8e85a1d81..a7d5c53d6 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1422.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1422.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class UserInstallationsInstallationIdRepositoriesGetResponse200Type(TypedDict): @@ -22,4 +22,17 @@ class UserInstallationsInstallationIdRepositoriesGetResponse200Type(TypedDict): repositories: list[RepositoryType] -__all__ = ("UserInstallationsInstallationIdRepositoriesGetResponse200Type",) +class UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """UserInstallationsInstallationIdRepositoriesGetResponse200""" + + total_count: int + repository_selection: NotRequired[str] + repositories: list[RepositoryTypeForResponse] + + +__all__ = ( + "UserInstallationsInstallationIdRepositoriesGetResponse200Type", + "UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1423.py b/githubkit/versions/ghec_v2022_11_28/types/group_1423.py index 9f9dd053b..e7f40ba7d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1423.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1423.py @@ -16,4 +16,11 @@ class UserInteractionLimitsGetResponse200Anyof1Type(TypedDict): """UserInteractionLimitsGetResponse200Anyof1""" -__all__ = ("UserInteractionLimitsGetResponse200Anyof1Type",) +class UserInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """UserInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "UserInteractionLimitsGetResponse200Anyof1Type", + "UserInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1424.py b/githubkit/versions/ghec_v2022_11_28/types/group_1424.py index 5ec08a5e0..86fc4f614 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1424.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1424.py @@ -19,4 +19,14 @@ class UserKeysPostBodyType(TypedDict): key: str -__all__ = ("UserKeysPostBodyType",) +class UserKeysPostBodyTypeForResponse(TypedDict): + """UserKeysPostBody""" + + title: NotRequired[str] + key: str + + +__all__ = ( + "UserKeysPostBodyType", + "UserKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1425.py b/githubkit/versions/ghec_v2022_11_28/types/group_1425.py index 718052573..ba76fe3ff 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1425.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1425.py @@ -19,4 +19,13 @@ class UserMembershipsOrgsOrgPatchBodyType(TypedDict): state: Literal["active"] -__all__ = ("UserMembershipsOrgsOrgPatchBodyType",) +class UserMembershipsOrgsOrgPatchBodyTypeForResponse(TypedDict): + """UserMembershipsOrgsOrgPatchBody""" + + state: Literal["active"] + + +__all__ = ( + "UserMembershipsOrgsOrgPatchBodyType", + "UserMembershipsOrgsOrgPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1426.py b/githubkit/versions/ghec_v2022_11_28/types/group_1426.py index 586d41155..30ccbc906 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1426.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1426.py @@ -27,4 +27,21 @@ class UserMigrationsPostBodyType(TypedDict): repositories: list[str] -__all__ = ("UserMigrationsPostBodyType",) +class UserMigrationsPostBodyTypeForResponse(TypedDict): + """UserMigrationsPostBody""" + + lock_repositories: NotRequired[bool] + exclude_metadata: NotRequired[bool] + exclude_git_data: NotRequired[bool] + exclude_attachments: NotRequired[bool] + exclude_releases: NotRequired[bool] + exclude_owner_projects: NotRequired[bool] + org_metadata_only: NotRequired[bool] + exclude: NotRequired[list[Literal["repositories"]]] + repositories: list[str] + + +__all__ = ( + "UserMigrationsPostBodyType", + "UserMigrationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1427.py b/githubkit/versions/ghec_v2022_11_28/types/group_1427.py index 354d7b410..92f5e19fb 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1427.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1427.py @@ -43,4 +43,37 @@ class UserReposPostBodyType(TypedDict): is_template: NotRequired[bool] -__all__ = ("UserReposPostBodyType",) +class UserReposPostBodyTypeForResponse(TypedDict): + """UserReposPostBody""" + + name: str + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_discussions: NotRequired[bool] + team_id: NotRequired[int] + auto_init: NotRequired[bool] + gitignore_template: NotRequired[str] + license_template: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + has_downloads: NotRequired[bool] + is_template: NotRequired[bool] + + +__all__ = ( + "UserReposPostBodyType", + "UserReposPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1428.py b/githubkit/versions/ghec_v2022_11_28/types/group_1428.py index 7c5bf8edc..4fb42cc70 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1428.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1428.py @@ -23,4 +23,18 @@ class UserSocialAccountsPostBodyType(TypedDict): account_urls: list[str] -__all__ = ("UserSocialAccountsPostBodyType",) +class UserSocialAccountsPostBodyTypeForResponse(TypedDict): + """UserSocialAccountsPostBody + + Examples: + {'account_urls': ['https://www.linkedin.com/company/github/', + 'https://twitter.com/github']} + """ + + account_urls: list[str] + + +__all__ = ( + "UserSocialAccountsPostBodyType", + "UserSocialAccountsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1429.py b/githubkit/versions/ghec_v2022_11_28/types/group_1429.py index 5e8ecaf24..071db2ed4 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1429.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1429.py @@ -23,4 +23,18 @@ class UserSocialAccountsDeleteBodyType(TypedDict): account_urls: list[str] -__all__ = ("UserSocialAccountsDeleteBodyType",) +class UserSocialAccountsDeleteBodyTypeForResponse(TypedDict): + """UserSocialAccountsDeleteBody + + Examples: + {'account_urls': ['https://www.linkedin.com/company/github/', + 'https://twitter.com/github']} + """ + + account_urls: list[str] + + +__all__ = ( + "UserSocialAccountsDeleteBodyType", + "UserSocialAccountsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1430.py b/githubkit/versions/ghec_v2022_11_28/types/group_1430.py index 712df953e..8e33bd482 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1430.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1430.py @@ -19,4 +19,14 @@ class UserSshSigningKeysPostBodyType(TypedDict): key: str -__all__ = ("UserSshSigningKeysPostBodyType",) +class UserSshSigningKeysPostBodyTypeForResponse(TypedDict): + """UserSshSigningKeysPostBody""" + + title: NotRequired[str] + key: str + + +__all__ = ( + "UserSshSigningKeysPostBodyType", + "UserSshSigningKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1431.py b/githubkit/versions/ghec_v2022_11_28/types/group_1431.py index 2ab7931f2..af53afd24 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1431.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1431.py @@ -19,4 +19,14 @@ class UsersUsernameAttestationsBulkListPostBodyType(TypedDict): predicate_type: NotRequired[str] -__all__ = ("UsersUsernameAttestationsBulkListPostBodyType",) +class UsersUsernameAttestationsBulkListPostBodyTypeForResponse(TypedDict): + """UsersUsernameAttestationsBulkListPostBody""" + + subject_digests: list[str] + predicate_type: NotRequired[str] + + +__all__ = ( + "UsersUsernameAttestationsBulkListPostBodyType", + "UsersUsernameAttestationsBulkListPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1432.py b/githubkit/versions/ghec_v2022_11_28/types/group_1432.py index 322969d86..67dde9c6c 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1432.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1432.py @@ -24,6 +24,17 @@ class UsersUsernameAttestationsBulkListPostResponse200Type(TypedDict): ] +class UsersUsernameAttestationsBulkListPostResponse200TypeForResponse(TypedDict): + """UsersUsernameAttestationsBulkListPostResponse200""" + + attestations_subject_digests: NotRequired[ + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse + ] + page_info: NotRequired[ + UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse + ] + + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType: TypeAlias = dict[ str, Any ] @@ -33,6 +44,15 @@ class UsersUsernameAttestationsBulkListPostResponse200Type(TypedDict): """ +UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigests + +Mapping of subject digest to bundles. +""" + + class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): """UsersUsernameAttestationsBulkListPostResponse200PropPageInfo @@ -45,8 +65,25 @@ class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType(TypedDict previous: NotRequired[str] +class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsBulkListPostResponse200PropPageInfo + + Information about the current page. + """ + + has_next: NotRequired[bool] + has_previous: NotRequired[bool] + next_: NotRequired[str] + previous: NotRequired[str] + + __all__ = ( "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType", + "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200Type", + "UsersUsernameAttestationsBulkListPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1433.py b/githubkit/versions/ghec_v2022_11_28/types/group_1433.py index 5145f707c..1d097f1c5 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1433.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1433.py @@ -18,4 +18,13 @@ class UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type(TypedDict): subject_digests: list[str] -__all__ = ("UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type",) +class UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse(TypedDict): + """UsersUsernameAttestationsDeleteRequestPostBodyOneof0""" + + subject_digests: list[str] + + +__all__ = ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1434.py b/githubkit/versions/ghec_v2022_11_28/types/group_1434.py index 913848fca..d8d926369 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1434.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1434.py @@ -18,4 +18,13 @@ class UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type(TypedDict): attestation_ids: list[int] -__all__ = ("UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type",) +class UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse(TypedDict): + """UsersUsernameAttestationsDeleteRequestPostBodyOneof1""" + + attestation_ids: list[int] + + +__all__ = ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1435.py b/githubkit/versions/ghec_v2022_11_28/types/group_1435.py index 392437161..74a63773d 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1435.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1435.py @@ -23,6 +23,16 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """UsersUsernameAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -36,6 +46,19 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsT initiator: NotRequired[str] +class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -57,6 +80,27 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP ] +class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun + dle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -65,6 +109,14 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP """ +UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun +dlePropVerificationMaterial +""" + + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -73,10 +125,23 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP """ +UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun +dlePropDsseEnvelope +""" + + __all__ = ( "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200Type", + "UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1436.py b/githubkit/versions/ghec_v2022_11_28/types/group_1436.py index 25686efdf..e12a2545b 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1436.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1436.py @@ -20,4 +20,14 @@ class UsersUsernameProjectsV2ProjectNumberItemsPostBodyType(TypedDict): id: int -__all__ = ("UsersUsernameProjectsV2ProjectNumberItemsPostBodyType",) +class UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse(TypedDict): + """UsersUsernameProjectsV2ProjectNumberItemsPostBody""" + + type: Literal["Issue", "PullRequest"] + id: int + + +__all__ = ( + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/ghec_v2022_11_28/types/group_1437.py b/githubkit/versions/ghec_v2022_11_28/types/group_1437.py index 63e95c565..de1c9f537 100644 --- a/githubkit/versions/ghec_v2022_11_28/types/group_1437.py +++ b/githubkit/versions/ghec_v2022_11_28/types/group_1437.py @@ -21,6 +21,16 @@ class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType(TypedDict): ] +class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse( + TypedDict +): + """UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBody""" + + fields: list[ + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse + ] + + class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType( TypedDict ): @@ -30,7 +40,18 @@ class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTyp value: Union[str, float, None] +class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse( + TypedDict +): + """UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" + + id: int + value: Union[str, float, None] + + __all__ = ( "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/rest/actions.py b/githubkit/versions/v2022_11_28/rest/actions.py index 68cbcadc7..9e2e42da5 100644 --- a/githubkit/versions/v2022_11_28/rest/actions.py +++ b/githubkit/versions/v2022_11_28/rest/actions.py @@ -102,119 +102,122 @@ WorkflowUsage, ) from ..types import ( - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ActionsArtifactAndLogRetentionType, - ActionsCacheListType, - ActionsCacheUsageByRepositoryType, - ActionsCacheUsageOrgEnterpriseType, + ActionsCacheListTypeForResponse, + ActionsCacheUsageByRepositoryTypeForResponse, + ActionsCacheUsageOrgEnterpriseTypeForResponse, ActionsForkPrContributorApprovalType, + ActionsForkPrContributorApprovalTypeForResponse, ActionsForkPrWorkflowsPrivateReposRequestType, - ActionsForkPrWorkflowsPrivateReposType, - ActionsGetDefaultWorkflowPermissionsType, - ActionsHostedRunnerCustomImageType, - ActionsHostedRunnerCustomImageVersionType, - ActionsHostedRunnerLimitsType, - ActionsHostedRunnerType, - ActionsOrganizationPermissionsType, - ActionsPublicKeyType, - ActionsRepositoryPermissionsType, - ActionsSecretType, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, + ActionsHostedRunnerCustomImageTypeForResponse, + ActionsHostedRunnerCustomImageVersionTypeForResponse, + ActionsHostedRunnerLimitsTypeForResponse, + ActionsHostedRunnerTypeForResponse, + ActionsOrganizationPermissionsTypeForResponse, + ActionsPublicKeyTypeForResponse, + ActionsRepositoryPermissionsTypeForResponse, + ActionsSecretTypeForResponse, ActionsSetDefaultWorkflowPermissionsType, - ActionsVariableType, + ActionsVariableTypeForResponse, ActionsWorkflowAccessToRepositoryType, - ArtifactType, - AuthenticationTokenType, - DeploymentType, - EmptyObjectType, - EnvironmentApprovalsType, - JobType, - OidcCustomSubRepoType, - OrganizationActionsSecretType, - OrganizationActionsVariableType, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, - OrgsOrgActionsHostedRunnersGetResponse200Type, + ActionsWorkflowAccessToRepositoryTypeForResponse, + ArtifactTypeForResponse, + AuthenticationTokenTypeForResponse, + DeploymentTypeForResponse, + EmptyObjectTypeForResponse, + EnvironmentApprovalsTypeForResponse, + JobTypeForResponse, + OidcCustomSubRepoTypeForResponse, + OrganizationActionsSecretTypeForResponse, + OrganizationActionsVariableTypeForResponse, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, OrgsOrgActionsHostedRunnersPostBodyPropImageType, OrgsOrgActionsHostedRunnersPostBodyType, OrgsOrgActionsPermissionsPutBodyType, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsPermissionsRepositoriesPutBodyType, OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsPostBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, - OrgsOrgActionsRunnersGetResponse200Type, - OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, - OrgsOrgActionsSecretsGetResponse200Type, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, OrgsOrgActionsSecretsSecretNamePutBodyType, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType, - OrgsOrgActionsVariablesGetResponse200Type, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, OrgsOrgActionsVariablesNamePatchBodyType, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, OrgsOrgActionsVariablesNameRepositoriesPutBodyType, OrgsOrgActionsVariablesPostBodyType, - PendingDeploymentType, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + PendingDeploymentTypeForResponse, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ReposOwnerRepoActionsPermissionsPutBodyType, ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, - ReposOwnerRepoActionsRunsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ReposOwnerRepoActionsVariablesNamePatchBodyType, ReposOwnerRepoActionsVariablesPostBodyType, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType, ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType, ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, ReviewCustomGatesCommentRequiredType, ReviewCustomGatesStateRequiredType, - RunnerApplicationType, - RunnerGroupsOrgType, - RunnerType, + RunnerApplicationTypeForResponse, + RunnerGroupsOrgTypeForResponse, + RunnerTypeForResponse, SelectedActionsType, - SelfHostedRunnersSettingsType, - WorkflowRunType, - WorkflowRunUsageType, - WorkflowType, - WorkflowUsageType, + SelectedActionsTypeForResponse, + SelfHostedRunnersSettingsTypeForResponse, + WorkflowRunTypeForResponse, + WorkflowRunUsageTypeForResponse, + WorkflowTypeForResponse, + WorkflowUsageTypeForResponse, ) @@ -239,7 +242,9 @@ def get_actions_cache_usage_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-org GET /orgs/{org}/actions/cache/usage @@ -272,7 +277,9 @@ async def async_get_actions_cache_usage_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseType]: + ) -> Response[ + ActionsCacheUsageOrgEnterprise, ActionsCacheUsageOrgEnterpriseTypeForResponse + ]: """actions/get-actions-cache-usage-for-org GET /orgs/{org}/actions/cache/usage @@ -309,7 +316,7 @@ def get_actions_cache_usage_by_repo_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsCacheUsageByRepositoryGetResponse200, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, ]: """actions/get-actions-cache-usage-by-repo-for-org @@ -353,7 +360,7 @@ async def async_get_actions_cache_usage_by_repo_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsCacheUsageByRepositoryGetResponse200, - OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, ]: """actions/get-actions-cache-usage-by-repo-for-org @@ -397,7 +404,7 @@ def list_hosted_runners_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersGetResponse200, - OrgsOrgActionsHostedRunnersGetResponse200Type, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-org @@ -440,7 +447,7 @@ async def async_list_hosted_runners_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersGetResponse200, - OrgsOrgActionsHostedRunnersGetResponse200Type, + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-hosted-runners-for-org @@ -481,7 +488,7 @@ def create_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def create_hosted_runner_for_org( @@ -498,7 +505,7 @@ def create_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def create_hosted_runner_for_org( self, @@ -508,7 +515,7 @@ def create_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-org POST /orgs/{org}/actions/hosted-runners @@ -551,7 +558,7 @@ async def async_create_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersPostBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_create_hosted_runner_for_org( @@ -568,7 +575,7 @@ async def async_create_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_gen: Missing[bool] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_create_hosted_runner_for_org( self, @@ -578,7 +585,7 @@ async def async_create_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersPostBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/create-hosted-runner-for-org POST /orgs/{org}/actions/hosted-runners @@ -621,7 +628,7 @@ def list_custom_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-org @@ -656,7 +663,7 @@ async def async_list_custom_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, ]: """actions/list-custom-images-for-org @@ -690,7 +697,9 @@ def get_custom_image_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-org GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id} @@ -723,7 +732,9 @@ async def async_get_custom_image_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageType]: + ) -> Response[ + ActionsHostedRunnerCustomImage, ActionsHostedRunnerCustomImageTypeForResponse + ]: """actions/get-custom-image-for-org GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id} @@ -818,7 +829,7 @@ def list_custom_image_versions_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-org @@ -856,7 +867,7 @@ async def async_list_custom_image_versions_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200, - OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, ]: """actions/list-custom-image-versions-for-org @@ -894,7 +905,8 @@ def get_custom_image_version_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-org @@ -930,7 +942,8 @@ async def async_get_custom_image_version_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsHostedRunnerCustomImageVersion, ActionsHostedRunnerCustomImageVersionType + ActionsHostedRunnerCustomImageVersion, + ActionsHostedRunnerCustomImageVersionTypeForResponse, ]: """actions/get-custom-image-version-for-org @@ -1027,7 +1040,7 @@ def get_hosted_runners_github_owned_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-org @@ -1060,7 +1073,7 @@ async def async_get_hosted_runners_github_owned_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200, - OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-github-owned-images-for-org @@ -1093,7 +1106,7 @@ def get_hosted_runners_partner_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-org @@ -1126,7 +1139,7 @@ async def async_get_hosted_runners_partner_images_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200, - OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-partner-images-for-org @@ -1157,7 +1170,7 @@ def get_hosted_runners_limits_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-org GET /orgs/{org}/actions/hosted-runners/limits @@ -1187,7 +1200,7 @@ async def async_get_hosted_runners_limits_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsType]: + ) -> Response[ActionsHostedRunnerLimits, ActionsHostedRunnerLimitsTypeForResponse]: """actions/get-hosted-runners-limits-for-org GET /orgs/{org}/actions/hosted-runners/limits @@ -1219,7 +1232,7 @@ def get_hosted_runners_machine_specs_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersMachineSizesGetResponse200, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-org @@ -1252,7 +1265,7 @@ async def async_get_hosted_runners_machine_specs_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersMachineSizesGetResponse200, - OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-machine-specs-for-org @@ -1285,7 +1298,7 @@ def get_hosted_runners_platforms_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersPlatformsGetResponse200, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-org @@ -1318,7 +1331,7 @@ async def async_get_hosted_runners_platforms_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsHostedRunnersPlatformsGetResponse200, - OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, ]: """actions/get-hosted-runners-platforms-for-org @@ -1350,7 +1363,7 @@ def get_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-org GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1383,7 +1396,7 @@ async def async_get_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/get-hosted-runner-for-org GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1416,7 +1429,7 @@ def delete_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-org DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1447,7 +1460,7 @@ async def async_delete_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/delete-hosted-runner-for-org DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1480,7 +1493,7 @@ def update_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload def update_hosted_runner_for_org( @@ -1496,7 +1509,7 @@ def update_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... def update_hosted_runner_for_org( self, @@ -1507,7 +1520,7 @@ def update_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-org PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1556,7 +1569,7 @@ async def async_update_hosted_runner_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... @overload async def async_update_hosted_runner_for_org( @@ -1572,7 +1585,7 @@ async def async_update_hosted_runner_for_org( maximum_runners: Missing[int] = UNSET, enable_static_ip: Missing[bool] = UNSET, image_version: Missing[Union[str, None]] = UNSET, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: ... + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: ... async def async_update_hosted_runner_for_org( self, @@ -1583,7 +1596,7 @@ async def async_update_hosted_runner_for_org( stream: bool = False, data: Missing[OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ActionsHostedRunner, ActionsHostedRunnerType]: + ) -> Response[ActionsHostedRunner, ActionsHostedRunnerTypeForResponse]: """actions/update-hosted-runner-for-org PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id} @@ -1629,7 +1642,9 @@ def get_github_actions_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsOrganizationPermissions, ActionsOrganizationPermissionsType]: + ) -> Response[ + ActionsOrganizationPermissions, ActionsOrganizationPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-organization GET /orgs/{org}/actions/permissions @@ -1661,7 +1676,9 @@ async def async_get_github_actions_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsOrganizationPermissions, ActionsOrganizationPermissionsType]: + ) -> Response[ + ActionsOrganizationPermissions, ActionsOrganizationPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-organization GET /orgs/{org}/actions/permissions @@ -1827,7 +1844,7 @@ def get_artifact_and_log_retention_settings_organization( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-organization @@ -1866,7 +1883,7 @@ async def async_get_artifact_and_log_retention_settings_organization( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-organization @@ -2044,7 +2061,8 @@ def get_fork_pr_contributor_approval_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-organization @@ -2081,7 +2099,8 @@ async def async_get_fork_pr_contributor_approval_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-organization @@ -2270,7 +2289,8 @@ def get_private_repo_fork_pr_workflows_settings_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-organization @@ -2306,7 +2326,8 @@ async def async_get_private_repo_fork_pr_workflows_settings_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-organization @@ -2493,7 +2514,7 @@ def list_selected_repositories_enabled_github_actions_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsRepositoriesGetResponse200, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-enabled-github-actions-organization @@ -2536,7 +2557,7 @@ async def async_list_selected_repositories_enabled_github_actions_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsRepositoriesGetResponse200, - OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-enabled-github-actions-organization @@ -2829,7 +2850,7 @@ def get_allowed_actions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-organization GET /orgs/{org}/actions/permissions/selected-actions @@ -2861,7 +2882,7 @@ async def async_get_allowed_actions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-organization GET /orgs/{org}/actions/permissions/selected-actions @@ -3025,7 +3046,7 @@ def get_self_hosted_runners_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsType]: + ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsTypeForResponse]: """actions/get-self-hosted-runners-permissions-organization GET /orgs/{org}/actions/permissions/self-hosted-runners @@ -3061,7 +3082,7 @@ async def async_get_self_hosted_runners_permissions_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsType]: + ) -> Response[SelfHostedRunnersSettings, SelfHostedRunnersSettingsTypeForResponse]: """actions/get-self-hosted-runners-permissions-organization GET /orgs/{org}/actions/permissions/self-hosted-runners @@ -3253,7 +3274,7 @@ def list_selected_repositories_self_hosted_runners_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-self-hosted-runners-organization @@ -3303,7 +3324,7 @@ async def async_list_selected_repositories_self_hosted_runners_organization( stream: bool = False, ) -> Response[ OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200, - OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repositories-self-hosted-runners-organization @@ -3656,7 +3677,8 @@ def get_github_actions_default_workflow_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-organization @@ -3692,7 +3714,8 @@ async def async_get_github_actions_default_workflow_permissions_organization( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-organization @@ -3866,7 +3889,7 @@ def list_self_hosted_runner_groups_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsGetResponse200, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runner-groups-for-org @@ -3911,7 +3934,7 @@ async def async_list_self_hosted_runner_groups_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsGetResponse200, - OrgsOrgActionsRunnerGroupsGetResponse200Type, + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runner-groups-for-org @@ -3953,7 +3976,7 @@ def create_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload def create_self_hosted_runner_group_for_org( @@ -3971,7 +3994,7 @@ def create_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... def create_self_hosted_runner_group_for_org( self, @@ -3981,7 +4004,7 @@ def create_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/create-self-hosted-runner-group-for-org POST /orgs/{org}/actions/runner-groups @@ -4025,7 +4048,7 @@ async def async_create_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsPostBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload async def async_create_self_hosted_runner_group_for_org( @@ -4043,7 +4066,7 @@ async def async_create_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[str] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... async def async_create_self_hosted_runner_group_for_org( self, @@ -4053,7 +4076,7 @@ async def async_create_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsPostBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/create-self-hosted-runner-group-for-org POST /orgs/{org}/actions/runner-groups @@ -4096,7 +4119,7 @@ def get_self_hosted_runner_group_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/get-self-hosted-runner-group-for-org GET /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -4129,7 +4152,7 @@ async def async_get_self_hosted_runner_group_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/get-self-hosted-runner-group-for-org GET /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -4224,7 +4247,7 @@ def update_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload def update_self_hosted_runner_group_for_org( @@ -4241,7 +4264,7 @@ def update_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... def update_self_hosted_runner_group_for_org( self, @@ -4252,7 +4275,7 @@ def update_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/update-self-hosted-runner-group-for-org PATCH /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -4302,7 +4325,7 @@ async def async_update_self_hosted_runner_group_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... @overload async def async_update_self_hosted_runner_group_for_org( @@ -4319,7 +4342,7 @@ async def async_update_self_hosted_runner_group_for_org( restricted_to_workflows: Missing[bool] = UNSET, selected_workflows: Missing[list[str]] = UNSET, network_configuration_id: Missing[Union[str, None]] = UNSET, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: ... + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: ... async def async_update_self_hosted_runner_group_for_org( self, @@ -4330,7 +4353,7 @@ async def async_update_self_hosted_runner_group_for_org( stream: bool = False, data: Missing[OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgType]: + ) -> Response[RunnerGroupsOrg, RunnerGroupsOrgTypeForResponse]: """actions/update-self-hosted-runner-group-for-org PATCH /orgs/{org}/actions/runner-groups/{runner_group_id} @@ -4382,7 +4405,7 @@ def list_github_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-github-hosted-runners-in-group-for-org @@ -4428,7 +4451,7 @@ async def async_list_github_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, ]: """actions/list-github-hosted-runners-in-group-for-org @@ -4474,7 +4497,7 @@ def list_repo_access_to_self_hosted_runner_group_in_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, ]: """actions/list-repo-access-to-self-hosted-runner-group-in-org @@ -4520,7 +4543,7 @@ async def async_list_repo_access_to_self_hosted_runner_group_in_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, ]: """actions/list-repo-access-to-self-hosted-runner-group-in-org @@ -4832,7 +4855,7 @@ def list_self_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-in-group-for-org @@ -4878,7 +4901,7 @@ async def async_list_self_hosted_runners_in_group_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200, - OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-in-group-for-org @@ -5189,7 +5212,8 @@ def list_self_hosted_runners_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsRunnersGetResponse200, OrgsOrgActionsRunnersGetResponse200Type + OrgsOrgActionsRunnersGetResponse200, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-org @@ -5235,7 +5259,8 @@ async def async_list_self_hosted_runners_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsRunnersGetResponse200, OrgsOrgActionsRunnersGetResponse200Type + OrgsOrgActionsRunnersGetResponse200, + OrgsOrgActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-org @@ -5277,7 +5302,7 @@ def list_runner_applications_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-org GET /orgs/{org}/actions/runners/downloads @@ -5311,7 +5336,7 @@ async def async_list_runner_applications_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-org GET /orgs/{org}/actions/runners/downloads @@ -5349,7 +5374,7 @@ def generate_runner_jitconfig_for_org( data: OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -5366,7 +5391,7 @@ def generate_runner_jitconfig_for_org( work_folder: Missing[str] = UNSET, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... def generate_runner_jitconfig_for_org( @@ -5379,7 +5404,7 @@ def generate_runner_jitconfig_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-org @@ -5440,7 +5465,7 @@ async def async_generate_runner_jitconfig_for_org( data: OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -5457,7 +5482,7 @@ async def async_generate_runner_jitconfig_for_org( work_folder: Missing[str] = UNSET, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... async def async_generate_runner_jitconfig_for_org( @@ -5470,7 +5495,7 @@ async def async_generate_runner_jitconfig_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-org @@ -5527,7 +5552,7 @@ def create_registration_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-org POST /orgs/{org}/actions/runners/registration-token @@ -5567,7 +5592,7 @@ async def async_create_registration_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-org POST /orgs/{org}/actions/runners/registration-token @@ -5607,7 +5632,7 @@ def create_remove_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-org POST /orgs/{org}/actions/runners/remove-token @@ -5647,7 +5672,7 @@ async def async_create_remove_token_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-org POST /orgs/{org}/actions/runners/remove-token @@ -5688,7 +5713,7 @@ def get_self_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-org GET /orgs/{org}/actions/runners/{runner_id} @@ -5723,7 +5748,7 @@ async def async_get_self_hosted_runner_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-org GET /orgs/{org}/actions/runners/{runner_id} @@ -5834,7 +5859,7 @@ def list_labels_for_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-org @@ -5878,7 +5903,7 @@ async def async_list_labels_for_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-org @@ -5924,7 +5949,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -5939,7 +5964,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def set_custom_labels_for_self_hosted_runner_for_org( @@ -5953,7 +5978,7 @@ def set_custom_labels_for_self_hosted_runner_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-org @@ -6015,7 +6040,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -6030,7 +6055,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_set_custom_labels_for_self_hosted_runner_for_org( @@ -6044,7 +6069,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-org @@ -6106,7 +6131,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -6121,7 +6146,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def add_custom_labels_to_self_hosted_runner_for_org( @@ -6135,7 +6160,7 @@ def add_custom_labels_to_self_hosted_runner_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-org @@ -6196,7 +6221,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( data: OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -6211,7 +6236,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_add_custom_labels_to_self_hosted_runner_for_org( @@ -6225,7 +6250,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_org( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-org @@ -6284,7 +6309,7 @@ def remove_all_custom_labels_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-org @@ -6329,7 +6354,7 @@ async def async_remove_all_custom_labels_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-org @@ -6375,7 +6400,7 @@ def remove_custom_label_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-org @@ -6426,7 +6451,7 @@ async def async_remove_custom_label_from_self_hosted_runner_for_org( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-org @@ -6476,7 +6501,8 @@ def list_org_secrets( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsSecretsGetResponse200, OrgsOrgActionsSecretsGetResponse200Type + OrgsOrgActionsSecretsGetResponse200, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-org-secrets @@ -6521,7 +6547,8 @@ async def async_list_org_secrets( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsSecretsGetResponse200, OrgsOrgActionsSecretsGetResponse200Type + OrgsOrgActionsSecretsGetResponse200, + OrgsOrgActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-org-secrets @@ -6563,7 +6590,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-org-public-key GET /orgs/{org}/actions/secrets/public-key @@ -6598,7 +6625,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-org-public-key GET /orgs/{org}/actions/secrets/public-key @@ -6634,7 +6661,7 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretType]: + ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretTypeForResponse]: """actions/get-org-secret GET /orgs/{org}/actions/secrets/{secret_name} @@ -6669,7 +6696,7 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretType]: + ) -> Response[OrganizationActionsSecret, OrganizationActionsSecretTypeForResponse]: """actions/get-org-secret GET /orgs/{org}/actions/secrets/{secret_name} @@ -6706,7 +6733,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -6721,7 +6748,7 @@ def create_or_update_org_secret( key_id: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -6732,7 +6759,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-org-secret PUT /orgs/{org}/actions/secrets/{secret_name} @@ -6780,7 +6807,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -6795,7 +6822,7 @@ async def async_create_or_update_org_secret( key_id: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -6806,7 +6833,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-org-secret PUT /orgs/{org}/actions/secrets/{secret_name} @@ -6920,7 +6947,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-secret @@ -6967,7 +6994,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-secret @@ -7302,7 +7329,8 @@ def list_org_variables( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsVariablesGetResponse200, OrgsOrgActionsVariablesGetResponse200Type + OrgsOrgActionsVariablesGetResponse200, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-org-variables @@ -7346,7 +7374,8 @@ async def async_list_org_variables( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgActionsVariablesGetResponse200, OrgsOrgActionsVariablesGetResponse200Type + OrgsOrgActionsVariablesGetResponse200, + OrgsOrgActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-org-variables @@ -7389,7 +7418,7 @@ def create_org_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_org_variable( @@ -7403,7 +7432,7 @@ def create_org_variable( value: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_org_variable( self, @@ -7413,7 +7442,7 @@ def create_org_variable( stream: bool = False, data: Missing[OrgsOrgActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-org-variable POST /orgs/{org}/actions/variables @@ -7459,7 +7488,7 @@ async def async_create_org_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_org_variable( @@ -7473,7 +7502,7 @@ async def async_create_org_variable( value: str, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_org_variable( self, @@ -7483,7 +7512,7 @@ async def async_create_org_variable( stream: bool = False, data: Missing[OrgsOrgActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-org-variable POST /orgs/{org}/actions/variables @@ -7528,7 +7557,9 @@ def get_org_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsVariable, OrganizationActionsVariableType]: + ) -> Response[ + OrganizationActionsVariable, OrganizationActionsVariableTypeForResponse + ]: """actions/get-org-variable GET /orgs/{org}/actions/variables/{name} @@ -7563,7 +7594,9 @@ async def async_get_org_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationActionsVariable, OrganizationActionsVariableType]: + ) -> Response[ + OrganizationActionsVariable, OrganizationActionsVariableTypeForResponse + ]: """actions/get-org-variable GET /orgs/{org}/actions/variables/{name} @@ -7808,7 +7841,7 @@ def list_selected_repos_for_org_variable( stream: bool = False, ) -> Response[ OrgsOrgActionsVariablesNameRepositoriesGetResponse200, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-variable @@ -7856,7 +7889,7 @@ async def async_list_selected_repos_for_org_variable( stream: bool = False, ) -> Response[ OrgsOrgActionsVariablesNameRepositoriesGetResponse200, - OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, ]: """actions/list-selected-repos-for-org-variable @@ -8195,7 +8228,7 @@ def list_artifacts_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsArtifactsGetResponse200, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ]: """actions/list-artifacts-for-repo @@ -8243,7 +8276,7 @@ async def async_list_artifacts_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsArtifactsGetResponse200, - ReposOwnerRepoActionsArtifactsGetResponse200Type, + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, ]: """actions/list-artifacts-for-repo @@ -8287,7 +8320,7 @@ def get_artifact( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Artifact, ArtifactType]: + ) -> Response[Artifact, ArtifactTypeForResponse]: """actions/get-artifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} @@ -8323,7 +8356,7 @@ async def async_get_artifact( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Artifact, ArtifactType]: + ) -> Response[Artifact, ArtifactTypeForResponse]: """actions/get-artifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} @@ -8494,7 +8527,9 @@ def get_actions_cache_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryType]: + ) -> Response[ + ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryTypeForResponse + ]: """actions/get-actions-cache-usage GET /repos/{owner}/{repo}/actions/cache/usage @@ -8530,7 +8565,9 @@ async def async_get_actions_cache_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryType]: + ) -> Response[ + ActionsCacheUsageByRepository, ActionsCacheUsageByRepositoryTypeForResponse + ]: """actions/get-actions-cache-usage GET /repos/{owner}/{repo}/actions/cache/usage @@ -8574,7 +8611,7 @@ def get_actions_cache_list( direction: Missing[Literal["asc", "desc"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/get-actions-cache-list GET /repos/{owner}/{repo}/actions/caches @@ -8625,7 +8662,7 @@ async def async_get_actions_cache_list( direction: Missing[Literal["asc", "desc"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/get-actions-cache-list GET /repos/{owner}/{repo}/actions/caches @@ -8670,7 +8707,7 @@ def delete_actions_cache_by_key( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/delete-actions-cache-by-key DELETE /repos/{owner}/{repo}/actions/caches @@ -8711,7 +8748,7 @@ async def async_delete_actions_cache_by_key( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsCacheList, ActionsCacheListType]: + ) -> Response[ActionsCacheList, ActionsCacheListTypeForResponse]: """actions/delete-actions-cache-by-key DELETE /repos/{owner}/{repo}/actions/caches @@ -8813,7 +8850,7 @@ def get_job_for_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Job, JobType]: + ) -> Response[Job, JobTypeForResponse]: """actions/get-job-for-workflow-run GET /repos/{owner}/{repo}/actions/jobs/{job_id} @@ -8849,7 +8886,7 @@ async def async_get_job_for_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Job, JobType]: + ) -> Response[Job, JobTypeForResponse]: """actions/get-job-for-workflow-run GET /repos/{owner}/{repo}/actions/jobs/{job_id} @@ -8957,7 +8994,7 @@ def re_run_job_for_workflow_run( data: Missing[ Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_job_for_workflow_run( @@ -8970,7 +9007,7 @@ def re_run_job_for_workflow_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_job_for_workflow_run( self, @@ -8984,7 +9021,7 @@ def re_run_job_for_workflow_run( Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-job-for-workflow-run POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun @@ -9043,7 +9080,7 @@ async def async_re_run_job_for_workflow_run( data: Missing[ Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_job_for_workflow_run( @@ -9056,7 +9093,7 @@ async def async_re_run_job_for_workflow_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_job_for_workflow_run( self, @@ -9070,7 +9107,7 @@ async def async_re_run_job_for_workflow_run( Union[ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-job-for-workflow-run POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun @@ -9124,7 +9161,7 @@ def get_custom_oidc_sub_claim_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoType]: + ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoTypeForResponse]: """actions/get-custom-oidc-sub-claim-for-repo GET /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -9161,7 +9198,7 @@ async def async_get_custom_oidc_sub_claim_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoType]: + ) -> Response[OidcCustomSubRepo, OidcCustomSubRepoTypeForResponse]: """actions/get-custom-oidc-sub-claim-for-repo GET /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -9200,7 +9237,7 @@ def set_custom_oidc_sub_claim_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def set_custom_oidc_sub_claim_for_repo( @@ -9213,7 +9250,7 @@ def set_custom_oidc_sub_claim_for_repo( stream: bool = False, use_default: bool, include_claim_keys: Missing[list[str]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def set_custom_oidc_sub_claim_for_repo( self, @@ -9224,7 +9261,7 @@ def set_custom_oidc_sub_claim_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoActionsOidcCustomizationSubPutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/set-custom-oidc-sub-claim-for-repo PUT /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -9281,7 +9318,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_set_custom_oidc_sub_claim_for_repo( @@ -9294,7 +9331,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( stream: bool = False, use_default: bool, include_claim_keys: Missing[list[str]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_set_custom_oidc_sub_claim_for_repo( self, @@ -9305,7 +9342,7 @@ async def async_set_custom_oidc_sub_claim_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoActionsOidcCustomizationSubPutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/set-custom-oidc-sub-claim-for-repo PUT /repos/{owner}/{repo}/actions/oidc/customization/sub @@ -9364,7 +9401,7 @@ def list_repo_organization_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationSecretsGetResponse200, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-organization-secrets @@ -9411,7 +9448,7 @@ async def async_list_repo_organization_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationSecretsGetResponse200, - ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-organization-secrets @@ -9458,7 +9495,7 @@ def list_repo_organization_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationVariablesGetResponse200, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-organization-variables @@ -9504,7 +9541,7 @@ async def async_list_repo_organization_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsOrganizationVariablesGetResponse200, - ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-organization-variables @@ -9546,7 +9583,9 @@ def get_github_actions_permissions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsRepositoryPermissions, ActionsRepositoryPermissionsType]: + ) -> Response[ + ActionsRepositoryPermissions, ActionsRepositoryPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-repository GET /repos/{owner}/{repo}/actions/permissions @@ -9579,7 +9618,9 @@ async def async_get_github_actions_permissions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsRepositoryPermissions, ActionsRepositoryPermissionsType]: + ) -> Response[ + ActionsRepositoryPermissions, ActionsRepositoryPermissionsTypeForResponse + ]: """actions/get-github-actions-permissions-repository GET /repos/{owner}/{repo}/actions/permissions @@ -9751,7 +9792,8 @@ def get_workflow_access_to_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsWorkflowAccessToRepository, ActionsWorkflowAccessToRepositoryType + ActionsWorkflowAccessToRepository, + ActionsWorkflowAccessToRepositoryTypeForResponse, ]: """actions/get-workflow-access-to-repository @@ -9788,7 +9830,8 @@ async def async_get_workflow_access_to_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsWorkflowAccessToRepository, ActionsWorkflowAccessToRepositoryType + ActionsWorkflowAccessToRepository, + ActionsWorkflowAccessToRepositoryTypeForResponse, ]: """actions/get-workflow-access-to-repository @@ -9964,7 +10007,7 @@ def get_artifact_and_log_retention_settings_repository( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-repository @@ -10003,7 +10046,7 @@ async def async_get_artifact_and_log_retention_settings_repository( stream: bool = False, ) -> Response[ ActionsArtifactAndLogRetentionResponse, - ActionsArtifactAndLogRetentionResponseType, + ActionsArtifactAndLogRetentionResponseTypeForResponse, ]: """actions/get-artifact-and-log-retention-settings-repository @@ -10183,7 +10226,8 @@ def get_fork_pr_contributor_approval_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-repository @@ -10221,7 +10265,8 @@ async def async_get_fork_pr_contributor_approval_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrContributorApproval, ActionsForkPrContributorApprovalType + ActionsForkPrContributorApproval, + ActionsForkPrContributorApprovalTypeForResponse, ]: """actions/get-fork-pr-contributor-approval-permissions-repository @@ -10417,7 +10462,8 @@ def get_private_repo_fork_pr_workflows_settings_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-repository @@ -10458,7 +10504,8 @@ async def async_get_private_repo_fork_pr_workflows_settings_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsForkPrWorkflowsPrivateRepos, ActionsForkPrWorkflowsPrivateReposType + ActionsForkPrWorkflowsPrivateRepos, + ActionsForkPrWorkflowsPrivateReposTypeForResponse, ]: """actions/get-private-repo-fork-pr-workflows-settings-repository @@ -10658,7 +10705,7 @@ def get_allowed_actions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-repository GET /repos/{owner}/{repo}/actions/permissions/selected-actions @@ -10691,7 +10738,7 @@ async def async_get_allowed_actions_repository( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SelectedActions, SelectedActionsType]: + ) -> Response[SelectedActions, SelectedActionsTypeForResponse]: """actions/get-allowed-actions-repository GET /repos/{owner}/{repo}/actions/permissions/selected-actions @@ -10863,7 +10910,8 @@ def get_github_actions_default_workflow_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-repository @@ -10900,7 +10948,8 @@ async def async_get_github_actions_default_workflow_permissions_repository( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ActionsGetDefaultWorkflowPermissions, ActionsGetDefaultWorkflowPermissionsType + ActionsGetDefaultWorkflowPermissions, + ActionsGetDefaultWorkflowPermissionsTypeForResponse, ]: """actions/get-github-actions-default-workflow-permissions-repository @@ -11083,7 +11132,7 @@ def list_self_hosted_runners_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunnersGetResponse200, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-repo @@ -11131,7 +11180,7 @@ async def async_list_self_hosted_runners_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunnersGetResponse200, - ReposOwnerRepoActionsRunnersGetResponse200Type, + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, ]: """actions/list-self-hosted-runners-for-repo @@ -11174,7 +11223,7 @@ def list_runner_applications_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-repo GET /repos/{owner}/{repo}/actions/runners/downloads @@ -11209,7 +11258,7 @@ async def async_list_runner_applications_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RunnerApplication], list[RunnerApplicationType]]: + ) -> Response[list[RunnerApplication], list[RunnerApplicationTypeForResponse]]: """actions/list-runner-applications-for-repo GET /repos/{owner}/{repo}/actions/runners/downloads @@ -11248,7 +11297,7 @@ def generate_runner_jitconfig_for_repo( data: ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -11266,7 +11315,7 @@ def generate_runner_jitconfig_for_repo( work_folder: Missing[str] = UNSET, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... def generate_runner_jitconfig_for_repo( @@ -11282,7 +11331,7 @@ def generate_runner_jitconfig_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-repo @@ -11344,7 +11393,7 @@ async def async_generate_runner_jitconfig_for_repo( data: ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... @overload @@ -11362,7 +11411,7 @@ async def async_generate_runner_jitconfig_for_repo( work_folder: Missing[str] = UNSET, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: ... async def async_generate_runner_jitconfig_for_repo( @@ -11378,7 +11427,7 @@ async def async_generate_runner_jitconfig_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersGenerateJitconfigPostResponse201, - OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, ]: """actions/generate-runner-jitconfig-for-repo @@ -11436,7 +11485,7 @@ def create_registration_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-repo POST /repos/{owner}/{repo}/actions/runners/registration-token @@ -11477,7 +11526,7 @@ async def async_create_registration_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-registration-token-for-repo POST /repos/{owner}/{repo}/actions/runners/registration-token @@ -11518,7 +11567,7 @@ def create_remove_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-repo POST /repos/{owner}/{repo}/actions/runners/remove-token @@ -11559,7 +11608,7 @@ async def async_create_remove_token_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[AuthenticationToken, AuthenticationTokenType]: + ) -> Response[AuthenticationToken, AuthenticationTokenTypeForResponse]: """actions/create-remove-token-for-repo POST /repos/{owner}/{repo}/actions/runners/remove-token @@ -11601,7 +11650,7 @@ def get_self_hosted_runner_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-repo GET /repos/{owner}/{repo}/actions/runners/{runner_id} @@ -11637,7 +11686,7 @@ async def async_get_self_hosted_runner_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Runner, RunnerType]: + ) -> Response[Runner, RunnerTypeForResponse]: """actions/get-self-hosted-runner-for-repo GET /repos/{owner}/{repo}/actions/runners/{runner_id} @@ -11751,7 +11800,7 @@ def list_labels_for_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-repo @@ -11796,7 +11845,7 @@ async def async_list_labels_for_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/list-labels-for-self-hosted-runner-for-repo @@ -11843,7 +11892,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -11859,7 +11908,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def set_custom_labels_for_self_hosted_runner_for_repo( @@ -11874,7 +11923,7 @@ def set_custom_labels_for_self_hosted_runner_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-repo @@ -11937,7 +11986,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -11953,7 +12002,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_set_custom_labels_for_self_hosted_runner_for_repo( @@ -11968,7 +12017,7 @@ async def async_set_custom_labels_for_self_hosted_runner_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/set-custom-labels-for-self-hosted-runner-for-repo @@ -12031,7 +12080,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -12047,7 +12096,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... def add_custom_labels_to_self_hosted_runner_for_repo( @@ -12062,7 +12111,7 @@ def add_custom_labels_to_self_hosted_runner_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-repo @@ -12124,7 +12173,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( data: ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... @overload @@ -12140,7 +12189,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( labels: list[str], ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: ... async def async_add_custom_labels_to_self_hosted_runner_for_repo( @@ -12155,7 +12204,7 @@ async def async_add_custom_labels_to_self_hosted_runner_for_repo( **kwargs, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/add-custom-labels-to-self-hosted-runner-for-repo @@ -12215,7 +12264,7 @@ def remove_all_custom_labels_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-repo @@ -12261,7 +12310,7 @@ async def async_remove_all_custom_labels_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, ]: """actions/remove-all-custom-labels-from-self-hosted-runner-for-repo @@ -12308,7 +12357,7 @@ def remove_custom_label_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-repo @@ -12360,7 +12409,7 @@ async def async_remove_custom_label_from_self_hosted_runner_for_repo( stream: bool = False, ) -> Response[ OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200, - OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, ]: """actions/remove-custom-label-from-self-hosted-runner-for-repo @@ -12437,7 +12486,7 @@ def list_workflow_runs_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsGetResponse200, - ReposOwnerRepoActionsRunsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs-for-repo @@ -12518,7 +12567,7 @@ async def async_list_workflow_runs_for_repo( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsGetResponse200, - ReposOwnerRepoActionsRunsGetResponse200Type, + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs-for-repo @@ -12572,7 +12621,7 @@ def get_workflow_run( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run GET /repos/{owner}/{repo}/actions/runs/{run_id} @@ -12614,7 +12663,7 @@ async def async_get_workflow_run( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run GET /repos/{owner}/{repo}/actions/runs/{run_id} @@ -12721,7 +12770,9 @@ def get_reviews_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnvironmentApprovals], list[EnvironmentApprovalsType]]: + ) -> Response[ + list[EnvironmentApprovals], list[EnvironmentApprovalsTypeForResponse] + ]: """actions/get-reviews-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals @@ -12755,7 +12806,9 @@ async def async_get_reviews_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnvironmentApprovals], list[EnvironmentApprovalsType]]: + ) -> Response[ + list[EnvironmentApprovals], list[EnvironmentApprovalsTypeForResponse] + ]: """actions/get-reviews-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals @@ -12789,7 +12842,7 @@ def approve_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/approve-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve @@ -12827,7 +12880,7 @@ async def async_approve_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/approve-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve @@ -12870,7 +12923,7 @@ def list_workflow_run_artifacts( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, ]: """actions/list-workflow-run-artifacts @@ -12919,7 +12972,7 @@ async def async_list_workflow_run_artifacts( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200, - ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, ]: """actions/list-workflow-run-artifacts @@ -12965,7 +13018,7 @@ def get_workflow_run_attempt( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run-attempt GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} @@ -13008,7 +13061,7 @@ async def async_get_workflow_run_attempt( exclude_pull_requests: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRun, WorkflowRunType]: + ) -> Response[WorkflowRun, WorkflowRunTypeForResponse]: """actions/get-workflow-run-attempt GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} @@ -13054,7 +13107,7 @@ def list_jobs_for_workflow_run_attempt( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run-attempt @@ -13109,7 +13162,7 @@ async def async_list_jobs_for_workflow_run_attempt( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run-attempt @@ -13229,7 +13282,7 @@ def cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel @@ -13266,7 +13319,7 @@ async def async_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel @@ -13509,7 +13562,7 @@ def force_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/force-cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel @@ -13547,7 +13600,7 @@ async def async_force_cancel_workflow_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/force-cancel-workflow-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel @@ -13590,7 +13643,7 @@ def list_jobs_for_workflow_run( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run @@ -13640,7 +13693,7 @@ async def async_list_jobs_for_workflow_run( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsRunsRunIdJobsGetResponse200, - ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, ]: """actions/list-jobs-for-workflow-run @@ -13827,7 +13880,7 @@ def get_pending_deployments_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PendingDeployment], list[PendingDeploymentType]]: + ) -> Response[list[PendingDeployment], list[PendingDeploymentTypeForResponse]]: """actions/get-pending-deployments-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -13863,7 +13916,7 @@ async def async_get_pending_deployments_for_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PendingDeployment], list[PendingDeploymentType]]: + ) -> Response[list[PendingDeployment], list[PendingDeploymentTypeForResponse]]: """actions/get-pending-deployments-for-run GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -13901,7 +13954,7 @@ def review_pending_deployments_for_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... @overload def review_pending_deployments_for_run( @@ -13916,7 +13969,7 @@ def review_pending_deployments_for_run( environment_ids: list[int], state: Literal["approved", "rejected"], comment: str, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... def review_pending_deployments_for_run( self, @@ -13930,7 +13983,7 @@ def review_pending_deployments_for_run( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """actions/review-pending-deployments-for-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -13983,7 +14036,7 @@ async def async_review_pending_deployments_for_run( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... @overload async def async_review_pending_deployments_for_run( @@ -13998,7 +14051,7 @@ async def async_review_pending_deployments_for_run( environment_ids: list[int], state: Literal["approved", "rejected"], comment: str, - ) -> Response[list[Deployment], list[DeploymentType]]: ... + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: ... async def async_review_pending_deployments_for_run( self, @@ -14012,7 +14065,7 @@ async def async_review_pending_deployments_for_run( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """actions/review-pending-deployments-for-run POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments @@ -14067,7 +14120,7 @@ def re_run_workflow( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_workflow( @@ -14080,7 +14133,7 @@ def re_run_workflow( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_workflow( self, @@ -14094,7 +14147,7 @@ def re_run_workflow( Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun @@ -14146,7 +14199,7 @@ async def async_re_run_workflow( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_workflow( @@ -14159,7 +14212,7 @@ async def async_re_run_workflow( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_workflow( self, @@ -14173,7 +14226,7 @@ async def async_re_run_workflow( Union[ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun @@ -14225,7 +14278,7 @@ def re_run_workflow_failed_jobs( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def re_run_workflow_failed_jobs( @@ -14238,7 +14291,7 @@ def re_run_workflow_failed_jobs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def re_run_workflow_failed_jobs( self, @@ -14252,7 +14305,7 @@ def re_run_workflow_failed_jobs( Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow-failed-jobs POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs @@ -14307,7 +14360,7 @@ async def async_re_run_workflow_failed_jobs( data: Missing[ Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_re_run_workflow_failed_jobs( @@ -14320,7 +14373,7 @@ async def async_re_run_workflow_failed_jobs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, enable_debug_logging: Missing[bool] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_re_run_workflow_failed_jobs( self, @@ -14334,7 +14387,7 @@ async def async_re_run_workflow_failed_jobs( Union[ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/re-run-workflow-failed-jobs POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs @@ -14385,7 +14438,7 @@ def get_workflow_run_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRunUsage, WorkflowRunUsageType]: + ) -> Response[WorkflowRunUsage, WorkflowRunUsageTypeForResponse]: """actions/get-workflow-run-usage GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing @@ -14424,7 +14477,7 @@ async def async_get_workflow_run_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowRunUsage, WorkflowRunUsageType]: + ) -> Response[WorkflowRunUsage, WorkflowRunUsageTypeForResponse]: """actions/get-workflow-run-usage GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing @@ -14466,7 +14519,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsSecretsGetResponse200, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-secrets @@ -14513,7 +14566,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsSecretsGetResponse200, - ReposOwnerRepoActionsSecretsGetResponse200Type, + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, ]: """actions/list-repo-secrets @@ -14556,7 +14609,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-repo-public-key GET /repos/{owner}/{repo}/actions/secrets/public-key @@ -14592,7 +14645,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-repo-public-key GET /repos/{owner}/{repo}/actions/secrets/public-key @@ -14629,7 +14682,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-repo-secret GET /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -14665,7 +14718,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-repo-secret GET /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -14703,7 +14756,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -14717,7 +14770,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -14729,7 +14782,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-repo-secret PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -14780,7 +14833,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -14794,7 +14847,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -14806,7 +14859,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoActionsSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-repo-secret PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} @@ -14924,7 +14977,7 @@ def list_repo_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsVariablesGetResponse200, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-variables @@ -14970,7 +15023,7 @@ async def async_list_repo_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsVariablesGetResponse200, - ReposOwnerRepoActionsVariablesGetResponse200Type, + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, ]: """actions/list-repo-variables @@ -15014,7 +15067,7 @@ def create_repo_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_repo_variable( @@ -15027,7 +15080,7 @@ def create_repo_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_repo_variable( self, @@ -15038,7 +15091,7 @@ def create_repo_variable( stream: bool = False, data: Missing[ReposOwnerRepoActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-repo-variable POST /repos/{owner}/{repo}/actions/variables @@ -15085,7 +15138,7 @@ async def async_create_repo_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoActionsVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_repo_variable( @@ -15098,7 +15151,7 @@ async def async_create_repo_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_repo_variable( self, @@ -15109,7 +15162,7 @@ async def async_create_repo_variable( stream: bool = False, data: Missing[ReposOwnerRepoActionsVariablesPostBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-repo-variable POST /repos/{owner}/{repo}/actions/variables @@ -15155,7 +15208,7 @@ def get_repo_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-repo-variable GET /repos/{owner}/{repo}/actions/variables/{name} @@ -15191,7 +15244,7 @@ async def async_get_repo_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-repo-variable GET /repos/{owner}/{repo}/actions/variables/{name} @@ -15444,7 +15497,7 @@ def list_repo_workflows( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsGetResponse200, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ]: """actions/list-repo-workflows @@ -15490,7 +15543,7 @@ async def async_list_repo_workflows( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsGetResponse200, - ReposOwnerRepoActionsWorkflowsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, ]: """actions/list-repo-workflows @@ -15533,7 +15586,7 @@ def get_workflow( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Workflow, WorkflowType]: + ) -> Response[Workflow, WorkflowTypeForResponse]: """actions/get-workflow GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} @@ -15570,7 +15623,7 @@ async def async_get_workflow( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Workflow, WorkflowType]: + ) -> Response[Workflow, WorkflowTypeForResponse]: """actions/get-workflow GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} @@ -15918,7 +15971,7 @@ def list_workflow_runs( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs @@ -16000,7 +16053,7 @@ async def async_list_workflow_runs( stream: bool = False, ) -> Response[ ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200, - ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, ]: """actions/list-workflow-runs @@ -16053,7 +16106,7 @@ def get_workflow_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowUsage, WorkflowUsageType]: + ) -> Response[WorkflowUsage, WorkflowUsageTypeForResponse]: """actions/get-workflow-usage GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing @@ -16094,7 +16147,7 @@ async def async_get_workflow_usage( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WorkflowUsage, WorkflowUsageType]: + ) -> Response[WorkflowUsage, WorkflowUsageTypeForResponse]: """actions/get-workflow-usage GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing @@ -16139,7 +16192,7 @@ def list_environment_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ]: """actions/list-environment-secrets @@ -16189,7 +16242,7 @@ async def async_list_environment_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, ]: """actions/list-environment-secrets @@ -16235,7 +16288,7 @@ def get_environment_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-environment-public-key GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key @@ -16274,7 +16327,7 @@ async def async_get_environment_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsPublicKey, ActionsPublicKeyType]: + ) -> Response[ActionsPublicKey, ActionsPublicKeyTypeForResponse]: """actions/get-environment-public-key GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key @@ -16314,7 +16367,7 @@ def get_environment_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-environment-secret GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -16351,7 +16404,7 @@ async def async_get_environment_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsSecret, ActionsSecretType]: + ) -> Response[ActionsSecret, ActionsSecretTypeForResponse]: """actions/get-environment-secret GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -16390,7 +16443,7 @@ def create_or_update_environment_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_environment_secret( @@ -16405,7 +16458,7 @@ def create_or_update_environment_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_environment_secret( self, @@ -16420,7 +16473,7 @@ def create_or_update_environment_secret( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-environment-secret PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -16475,7 +16528,7 @@ async def async_create_or_update_environment_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_environment_secret( @@ -16490,7 +16543,7 @@ async def async_create_or_update_environment_secret( stream: bool = False, encrypted_value: str, key_id: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_environment_secret( self, @@ -16505,7 +16558,7 @@ async def async_create_or_update_environment_secret( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-or-update-environment-secret PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} @@ -16629,7 +16682,7 @@ def list_environment_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ]: """actions/list-environment-variables @@ -16678,7 +16731,7 @@ async def async_list_environment_variables( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, ]: """actions/list-environment-variables @@ -16725,7 +16778,7 @@ def create_environment_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_environment_variable( @@ -16739,7 +16792,7 @@ def create_environment_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_environment_variable( self, @@ -16753,7 +16806,7 @@ def create_environment_variable( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-environment-variable POST /repos/{owner}/{repo}/environments/{environment_name}/variables @@ -16806,7 +16859,7 @@ async def async_create_environment_variable( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_environment_variable( @@ -16820,7 +16873,7 @@ async def async_create_environment_variable( stream: bool = False, name: str, value: str, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_environment_variable( self, @@ -16834,7 +16887,7 @@ async def async_create_environment_variable( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType ] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """actions/create-environment-variable POST /repos/{owner}/{repo}/environments/{environment_name}/variables @@ -16886,7 +16939,7 @@ def get_environment_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-environment-variable GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} @@ -16923,7 +16976,7 @@ async def async_get_environment_variable( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsVariable, ActionsVariableType]: + ) -> Response[ActionsVariable, ActionsVariableTypeForResponse]: """actions/get-environment-variable GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} diff --git a/githubkit/versions/v2022_11_28/rest/activity.py b/githubkit/versions/v2022_11_28/rest/activity.py index 1013a71bb..91a5f7a0f 100644 --- a/githubkit/versions/v2022_11_28/rest/activity.py +++ b/githubkit/versions/v2022_11_28/rest/activity.py @@ -43,22 +43,22 @@ ThreadSubscription, ) from ..types import ( - EventType, - FeedType, - MinimalRepositoryType, + EventTypeForResponse, + FeedTypeForResponse, + MinimalRepositoryTypeForResponse, NotificationsPutBodyType, - NotificationsPutResponse202Type, + NotificationsPutResponse202TypeForResponse, NotificationsThreadsThreadIdSubscriptionPutBodyType, - RepositorySubscriptionType, - RepositoryType, + RepositorySubscriptionTypeForResponse, + RepositoryTypeForResponse, ReposOwnerRepoNotificationsPutBodyType, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ReposOwnerRepoSubscriptionPutBodyType, - SimpleUserType, - StargazerType, - StarredRepositoryType, - ThreadSubscriptionType, - ThreadType, + SimpleUserTypeForResponse, + StargazerTypeForResponse, + StarredRepositoryTypeForResponse, + ThreadSubscriptionTypeForResponse, + ThreadTypeForResponse, ) @@ -84,7 +84,7 @@ def list_public_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events GET /events @@ -126,7 +126,7 @@ async def async_list_public_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events GET /events @@ -166,7 +166,7 @@ def get_feeds( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Feed, FeedType]: + ) -> Response[Feed, FeedTypeForResponse]: """activity/get-feeds GET /feeds @@ -208,7 +208,7 @@ async def async_get_feeds( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Feed, FeedType]: + ) -> Response[Feed, FeedTypeForResponse]: """activity/get-feeds GET /feeds @@ -254,7 +254,7 @@ def list_public_events_for_repo_network( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-repo-network GET /networks/{owner}/{repo}/events @@ -298,7 +298,7 @@ async def async_list_public_events_for_repo_network( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-repo-network GET /networks/{owner}/{repo}/events @@ -344,7 +344,7 @@ def list_notifications_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-notifications-for-authenticated-user GET /notifications @@ -394,7 +394,7 @@ async def async_list_notifications_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-notifications-for-authenticated-user GET /notifications @@ -440,7 +440,9 @@ def mark_notifications_as_read( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... @overload def mark_notifications_as_read( @@ -451,7 +453,9 @@ def mark_notifications_as_read( stream: bool = False, last_read_at: Missing[datetime] = UNSET, read: Missing[bool] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... def mark_notifications_as_read( self, @@ -460,7 +464,9 @@ def mark_notifications_as_read( stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, **kwargs, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: """activity/mark-notifications-as-read PUT /notifications @@ -509,7 +515,9 @@ async def async_mark_notifications_as_read( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... @overload async def async_mark_notifications_as_read( @@ -520,7 +528,9 @@ async def async_mark_notifications_as_read( stream: bool = False, last_read_at: Missing[datetime] = UNSET, read: Missing[bool] = UNSET, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: ... + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: ... async def async_mark_notifications_as_read( self, @@ -529,7 +539,9 @@ async def async_mark_notifications_as_read( stream: bool = False, data: Missing[NotificationsPutBodyType] = UNSET, **kwargs, - ) -> Response[NotificationsPutResponse202, NotificationsPutResponse202Type]: + ) -> Response[ + NotificationsPutResponse202, NotificationsPutResponse202TypeForResponse + ]: """activity/mark-notifications-as-read PUT /notifications @@ -577,7 +589,7 @@ def get_thread( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Thread, ThreadType]: + ) -> Response[Thread, ThreadTypeForResponse]: """activity/get-thread GET /notifications/threads/{thread_id} @@ -611,7 +623,7 @@ async def async_get_thread( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Thread, ThreadType]: + ) -> Response[Thread, ThreadTypeForResponse]: """activity/get-thread GET /notifications/threads/{thread_id} @@ -763,7 +775,7 @@ def get_thread_subscription_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/get-thread-subscription-for-authenticated-user GET /notifications/threads/{thread_id}/subscription @@ -799,7 +811,7 @@ async def async_get_thread_subscription_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/get-thread-subscription-for-authenticated-user GET /notifications/threads/{thread_id}/subscription @@ -837,7 +849,7 @@ def set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... @overload def set_thread_subscription( @@ -848,7 +860,7 @@ def set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ignored: Missing[bool] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... def set_thread_subscription( self, @@ -858,7 +870,7 @@ def set_thread_subscription( stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/set-thread-subscription PUT /notifications/threads/{thread_id}/subscription @@ -914,7 +926,7 @@ async def async_set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... @overload async def async_set_thread_subscription( @@ -925,7 +937,7 @@ async def async_set_thread_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ignored: Missing[bool] = UNSET, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: ... + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: ... async def async_set_thread_subscription( self, @@ -935,7 +947,7 @@ async def async_set_thread_subscription( stream: bool = False, data: Missing[NotificationsThreadsThreadIdSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[ThreadSubscription, ThreadSubscriptionType]: + ) -> Response[ThreadSubscription, ThreadSubscriptionTypeForResponse]: """activity/set-thread-subscription PUT /notifications/threads/{thread_id}/subscription @@ -1057,7 +1069,7 @@ def list_public_org_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-org-events GET /orgs/{org}/events @@ -1096,7 +1108,7 @@ async def async_list_public_org_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-org-events GET /orgs/{org}/events @@ -1136,7 +1148,7 @@ def list_repo_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-repo-events GET /repos/{owner}/{repo}/events @@ -1176,7 +1188,7 @@ async def async_list_repo_events( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-repo-events GET /repos/{owner}/{repo}/events @@ -1220,7 +1232,7 @@ def list_repo_notifications_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-repo-notifications-for-authenticated-user GET /repos/{owner}/{repo}/notifications @@ -1267,7 +1279,7 @@ async def async_list_repo_notifications_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Thread], list[ThreadType]]: + ) -> Response[list[Thread], list[ThreadTypeForResponse]]: """activity/list-repo-notifications-for-authenticated-user GET /repos/{owner}/{repo}/notifications @@ -1312,7 +1324,7 @@ def mark_repo_notifications_as_read( data: Missing[ReposOwnerRepoNotificationsPutBodyType] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... @overload @@ -1327,7 +1339,7 @@ def mark_repo_notifications_as_read( last_read_at: Missing[datetime] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... def mark_repo_notifications_as_read( @@ -1341,7 +1353,7 @@ def mark_repo_notifications_as_read( **kwargs, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: """activity/mark-repo-notifications-as-read @@ -1390,7 +1402,7 @@ async def async_mark_repo_notifications_as_read( data: Missing[ReposOwnerRepoNotificationsPutBodyType] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... @overload @@ -1405,7 +1417,7 @@ async def async_mark_repo_notifications_as_read( last_read_at: Missing[datetime] = UNSET, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: ... async def async_mark_repo_notifications_as_read( @@ -1419,7 +1431,7 @@ async def async_mark_repo_notifications_as_read( **kwargs, ) -> Response[ ReposOwnerRepoNotificationsPutResponse202, - ReposOwnerRepoNotificationsPutResponse202Type, + ReposOwnerRepoNotificationsPutResponse202TypeForResponse, ]: """activity/mark-repo-notifications-as-read @@ -1468,7 +1480,7 @@ def list_stargazers_for_repo( stream: bool = False, ) -> Response[ Union[list[SimpleUser], list[Stargazer]], - Union[list[SimpleUserType], list[StargazerType]], + Union[list[SimpleUserTypeForResponse], list[StargazerTypeForResponse]], ]: """activity/list-stargazers-for-repo @@ -1519,7 +1531,7 @@ async def async_list_stargazers_for_repo( stream: bool = False, ) -> Response[ Union[list[SimpleUser], list[Stargazer]], - Union[list[SimpleUserType], list[StargazerType]], + Union[list[SimpleUserTypeForResponse], list[StargazerTypeForResponse]], ]: """activity/list-stargazers-for-repo @@ -1568,7 +1580,7 @@ def list_watchers_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """activity/list-watchers-for-repo GET /repos/{owner}/{repo}/subscribers @@ -1607,7 +1619,7 @@ async def async_list_watchers_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """activity/list-watchers-for-repo GET /repos/{owner}/{repo}/subscribers @@ -1644,7 +1656,7 @@ def get_repo_subscription( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/get-repo-subscription GET /repos/{owner}/{repo}/subscription @@ -1678,7 +1690,7 @@ async def async_get_repo_subscription( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/get-repo-subscription GET /repos/{owner}/{repo}/subscription @@ -1714,7 +1726,7 @@ def set_repo_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... @overload def set_repo_subscription( @@ -1727,7 +1739,7 @@ def set_repo_subscription( stream: bool = False, subscribed: Missing[bool] = UNSET, ignored: Missing[bool] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... def set_repo_subscription( self, @@ -1738,7 +1750,7 @@ def set_repo_subscription( stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/set-repo-subscription PUT /repos/{owner}/{repo}/subscription @@ -1781,7 +1793,7 @@ async def async_set_repo_subscription( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... @overload async def async_set_repo_subscription( @@ -1794,7 +1806,7 @@ async def async_set_repo_subscription( stream: bool = False, subscribed: Missing[bool] = UNSET, ignored: Missing[bool] = UNSET, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: ... + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: ... async def async_set_repo_subscription( self, @@ -1805,7 +1817,7 @@ async def async_set_repo_subscription( stream: bool = False, data: Missing[ReposOwnerRepoSubscriptionPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositorySubscription, RepositorySubscriptionType]: + ) -> Response[RepositorySubscription, RepositorySubscriptionTypeForResponse]: """activity/set-repo-subscription PUT /repos/{owner}/{repo}/subscription @@ -1904,7 +1916,7 @@ def list_repos_starred_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """activity/list-repos-starred-by-authenticated-user GET /user/starred @@ -1953,7 +1965,7 @@ async def async_list_repos_starred_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """activity/list-repos-starred-by-authenticated-user GET /user/starred @@ -2210,7 +2222,7 @@ def list_watched_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-watched-repos-for-authenticated-user GET /user/subscriptions @@ -2251,7 +2263,7 @@ async def async_list_watched_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-watched-repos-for-authenticated-user GET /user/subscriptions @@ -2293,7 +2305,7 @@ def list_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-events-for-authenticated-user GET /users/{username}/events @@ -2334,7 +2346,7 @@ async def async_list_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-events-for-authenticated-user GET /users/{username}/events @@ -2376,7 +2388,7 @@ def list_org_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-org-events-for-authenticated-user GET /users/{username}/events/orgs/{org} @@ -2418,7 +2430,7 @@ async def async_list_org_events_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-org-events-for-authenticated-user GET /users/{username}/events/orgs/{org} @@ -2459,7 +2471,7 @@ def list_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-user GET /users/{username}/events/public @@ -2498,7 +2510,7 @@ async def async_list_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-public-events-for-user GET /users/{username}/events/public @@ -2537,7 +2549,7 @@ def list_received_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-events-for-user GET /users/{username}/received_events @@ -2579,7 +2591,7 @@ async def async_list_received_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-events-for-user GET /users/{username}/received_events @@ -2621,7 +2633,7 @@ def list_received_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-public-events-for-user GET /users/{username}/received_events/public @@ -2660,7 +2672,7 @@ async def async_list_received_public_events_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Event], list[EventType]]: + ) -> Response[list[Event], list[EventTypeForResponse]]: """activity/list-received-public-events-for-user GET /users/{username}/received_events/public @@ -2703,7 +2715,7 @@ def list_repos_starred_by_user( stream: bool = False, ) -> Response[ Union[list[StarredRepository], list[Repository]], - Union[list[StarredRepositoryType], list[RepositoryType]], + Union[list[StarredRepositoryTypeForResponse], list[RepositoryTypeForResponse]], ]: """activity/list-repos-starred-by-user @@ -2754,7 +2766,7 @@ async def async_list_repos_starred_by_user( stream: bool = False, ) -> Response[ Union[list[StarredRepository], list[Repository]], - Union[list[StarredRepositoryType], list[RepositoryType]], + Union[list[StarredRepositoryTypeForResponse], list[RepositoryTypeForResponse]], ]: """activity/list-repos-starred-by-user @@ -2801,7 +2813,7 @@ def list_repos_watched_by_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-repos-watched-by-user GET /users/{username}/subscriptions @@ -2839,7 +2851,7 @@ async def async_list_repos_watched_by_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """activity/list-repos-watched-by-user GET /users/{username}/subscriptions diff --git a/githubkit/versions/v2022_11_28/rest/apps.py b/githubkit/versions/v2022_11_28/rest/apps.py index 9788b6621..f9fe511d5 100644 --- a/githubkit/versions/v2022_11_28/rest/apps.py +++ b/githubkit/versions/v2022_11_28/rest/apps.py @@ -48,29 +48,29 @@ ) from ..types import ( AppHookConfigPatchBodyType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, AppInstallationsInstallationIdAccessTokensPostBodyType, ApplicationsClientIdGrantDeleteBodyType, ApplicationsClientIdTokenDeleteBodyType, ApplicationsClientIdTokenPatchBodyType, ApplicationsClientIdTokenPostBodyType, ApplicationsClientIdTokenScopedPostBodyType, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, AppPermissionsType, - AuthorizationType, - HookDeliveryItemType, - HookDeliveryType, - InstallationRepositoriesGetResponse200Type, - InstallationTokenType, - InstallationType, - IntegrationInstallationRequestType, - IntegrationType, - MarketplaceListingPlanType, - MarketplacePurchaseType, - UserInstallationsGetResponse200Type, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, - UserMarketplacePurchaseType, - WebhookConfigType, + AuthorizationTypeForResponse, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + InstallationRepositoriesGetResponse200TypeForResponse, + InstallationTokenTypeForResponse, + InstallationTypeForResponse, + IntegrationInstallationRequestTypeForResponse, + IntegrationTypeForResponse, + MarketplaceListingPlanTypeForResponse, + MarketplacePurchaseTypeForResponse, + UserInstallationsGetResponse200TypeForResponse, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, + UserMarketplacePurchaseTypeForResponse, + WebhookConfigTypeForResponse, ) @@ -94,7 +94,7 @@ def get_authenticated( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-authenticated GET /app @@ -127,7 +127,7 @@ async def async_get_authenticated( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-authenticated GET /app @@ -163,7 +163,7 @@ def create_from_manifest( stream: bool = False, ) -> Response[ AppManifestsCodeConversionsPostResponse201, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, ]: """apps/create-from-manifest @@ -204,7 +204,7 @@ async def async_create_from_manifest( stream: bool = False, ) -> Response[ AppManifestsCodeConversionsPostResponse201, - AppManifestsCodeConversionsPostResponse201Type, + AppManifestsCodeConversionsPostResponse201TypeForResponse, ]: """apps/create-from-manifest @@ -242,7 +242,7 @@ def get_webhook_config_for_app( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/get-webhook-config-for-app GET /app/hook/config @@ -273,7 +273,7 @@ async def async_get_webhook_config_for_app( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/get-webhook-config-for-app GET /app/hook/config @@ -306,7 +306,7 @@ def update_webhook_config_for_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AppHookConfigPatchBodyType, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_app( @@ -319,7 +319,7 @@ def update_webhook_config_for_app( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_app( self, @@ -328,7 +328,7 @@ def update_webhook_config_for_app( stream: bool = False, data: Missing[AppHookConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/update-webhook-config-for-app PATCH /app/hook/config @@ -371,7 +371,7 @@ async def async_update_webhook_config_for_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: AppHookConfigPatchBodyType, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_app( @@ -384,7 +384,7 @@ async def async_update_webhook_config_for_app( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_app( self, @@ -393,7 +393,7 @@ async def async_update_webhook_config_for_app( stream: bool = False, data: Missing[AppHookConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """apps/update-webhook-config-for-app PATCH /app/hook/config @@ -436,7 +436,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """apps/list-webhook-deliveries GET /app/hook/deliveries @@ -479,7 +479,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """apps/list-webhook-deliveries GET /app/hook/deliveries @@ -521,7 +521,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """apps/get-webhook-delivery GET /app/hook/deliveries/{delivery_id} @@ -557,7 +557,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """apps/get-webhook-delivery GET /app/hook/deliveries/{delivery_id} @@ -595,7 +595,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """apps/redeliver-webhook-delivery @@ -638,7 +638,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """apps/redeliver-webhook-delivery @@ -681,7 +681,8 @@ def list_installation_requests_for_authenticated_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[IntegrationInstallationRequest], list[IntegrationInstallationRequestType] + list[IntegrationInstallationRequest], + list[IntegrationInstallationRequestTypeForResponse], ]: """apps/list-installation-requests-for-authenticated-app @@ -723,7 +724,8 @@ async def async_list_installation_requests_for_authenticated_app( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[IntegrationInstallationRequest], list[IntegrationInstallationRequestType] + list[IntegrationInstallationRequest], + list[IntegrationInstallationRequestTypeForResponse], ]: """apps/list-installation-requests-for-authenticated-app @@ -766,7 +768,7 @@ def list_installations( outdated: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Installation], list[InstallationType]]: + ) -> Response[list[Installation], list[InstallationTypeForResponse]]: """apps/list-installations GET /app/installations @@ -809,7 +811,7 @@ async def async_list_installations( outdated: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Installation], list[InstallationType]]: + ) -> Response[list[Installation], list[InstallationTypeForResponse]]: """apps/list-installations GET /app/installations @@ -849,7 +851,7 @@ def get_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-installation GET /app/installations/{installation_id} @@ -884,7 +886,7 @@ async def async_get_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-installation GET /app/installations/{installation_id} @@ -989,7 +991,7 @@ def create_installation_access_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... @overload def create_installation_access_token( @@ -1002,7 +1004,7 @@ def create_installation_access_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... def create_installation_access_token( self, @@ -1012,7 +1014,7 @@ def create_installation_access_token( stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, **kwargs, - ) -> Response[InstallationToken, InstallationTokenType]: + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: """apps/create-installation-access-token POST /app/installations/{installation_id}/access_tokens @@ -1073,7 +1075,7 @@ async def async_create_installation_access_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... @overload async def async_create_installation_access_token( @@ -1086,7 +1088,7 @@ async def async_create_installation_access_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[InstallationToken, InstallationTokenType]: ... + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: ... async def async_create_installation_access_token( self, @@ -1096,7 +1098,7 @@ async def async_create_installation_access_token( stream: bool = False, data: Missing[AppInstallationsInstallationIdAccessTokensPostBodyType] = UNSET, **kwargs, - ) -> Response[InstallationToken, InstallationTokenType]: + ) -> Response[InstallationToken, InstallationTokenTypeForResponse]: """apps/create-installation-access-token POST /app/installations/{installation_id}/access_tokens @@ -1425,7 +1427,7 @@ def check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def check_token( @@ -1436,7 +1438,7 @@ def check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def check_token( self, @@ -1446,7 +1448,7 @@ def check_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/check-token POST /applications/{client_id}/token @@ -1497,7 +1499,7 @@ async def async_check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_check_token( @@ -1508,7 +1510,7 @@ async def async_check_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_check_token( self, @@ -1518,7 +1520,7 @@ async def async_check_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/check-token POST /applications/{client_id}/token @@ -1699,7 +1701,7 @@ def reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPatchBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def reset_token( @@ -1710,7 +1712,7 @@ def reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def reset_token( self, @@ -1720,7 +1722,7 @@ def reset_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPatchBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/reset-token PATCH /applications/{client_id}/token @@ -1769,7 +1771,7 @@ async def async_reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenPatchBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_reset_token( @@ -1780,7 +1782,7 @@ async def async_reset_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, access_token: str, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_reset_token( self, @@ -1790,7 +1792,7 @@ async def async_reset_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenPatchBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/reset-token PATCH /applications/{client_id}/token @@ -1839,7 +1841,7 @@ def scope_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenScopedPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload def scope_token( @@ -1855,7 +1857,7 @@ def scope_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... def scope_token( self, @@ -1865,7 +1867,7 @@ def scope_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenScopedPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/scope-token POST /applications/{client_id}/token/scoped @@ -1922,7 +1924,7 @@ async def async_scope_token( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ApplicationsClientIdTokenScopedPostBodyType, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... @overload async def async_scope_token( @@ -1938,7 +1940,7 @@ async def async_scope_token( repositories: Missing[list[str]] = UNSET, repository_ids: Missing[list[int]] = UNSET, permissions: Missing[AppPermissionsType] = UNSET, - ) -> Response[Authorization, AuthorizationType]: ... + ) -> Response[Authorization, AuthorizationTypeForResponse]: ... async def async_scope_token( self, @@ -1948,7 +1950,7 @@ async def async_scope_token( stream: bool = False, data: Missing[ApplicationsClientIdTokenScopedPostBodyType] = UNSET, **kwargs, - ) -> Response[Authorization, AuthorizationType]: + ) -> Response[Authorization, AuthorizationTypeForResponse]: """apps/scope-token POST /applications/{client_id}/token/scoped @@ -2003,7 +2005,7 @@ def get_by_slug( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-by-slug GET /apps/{app_slug} @@ -2040,7 +2042,7 @@ async def async_get_by_slug( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Union[Integration, None], Union[IntegrationType, None]]: + ) -> Response[Union[Integration, None], Union[IntegrationTypeForResponse, None]]: """apps/get-by-slug GET /apps/{app_slug} @@ -2080,7 +2082,7 @@ def list_repos_accessible_to_installation( stream: bool = False, ) -> Response[ InstallationRepositoriesGetResponse200, - InstallationRepositoriesGetResponse200Type, + InstallationRepositoriesGetResponse200TypeForResponse, ]: """apps/list-repos-accessible-to-installation @@ -2124,7 +2126,7 @@ async def async_list_repos_accessible_to_installation( stream: bool = False, ) -> Response[ InstallationRepositoriesGetResponse200, - InstallationRepositoriesGetResponse200Type, + InstallationRepositoriesGetResponse200TypeForResponse, ]: """apps/list-repos-accessible-to-installation @@ -2221,7 +2223,7 @@ def get_subscription_plan_for_account( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account GET /marketplace_listing/accounts/{account_id} @@ -2257,7 +2259,7 @@ async def async_get_subscription_plan_for_account( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account GET /marketplace_listing/accounts/{account_id} @@ -2294,7 +2296,9 @@ def list_plans( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans GET /marketplace_listing/plans @@ -2337,7 +2341,9 @@ async def async_list_plans( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans GET /marketplace_listing/plans @@ -2383,7 +2389,7 @@ def list_accounts_for_plan( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan GET /marketplace_listing/plans/{plan_id}/accounts @@ -2432,7 +2438,7 @@ async def async_list_accounts_for_plan( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan GET /marketplace_listing/plans/{plan_id}/accounts @@ -2477,7 +2483,7 @@ def get_subscription_plan_for_account_stubbed( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account-stubbed GET /marketplace_listing/stubbed/accounts/{account_id} @@ -2512,7 +2518,7 @@ async def async_get_subscription_plan_for_account_stubbed( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[MarketplacePurchase, MarketplacePurchaseType]: + ) -> Response[MarketplacePurchase, MarketplacePurchaseTypeForResponse]: """apps/get-subscription-plan-for-account-stubbed GET /marketplace_listing/stubbed/accounts/{account_id} @@ -2548,7 +2554,9 @@ def list_plans_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans-stubbed GET /marketplace_listing/stubbed/plans @@ -2590,7 +2598,9 @@ async def async_list_plans_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplaceListingPlan], list[MarketplaceListingPlanType]]: + ) -> Response[ + list[MarketplaceListingPlan], list[MarketplaceListingPlanTypeForResponse] + ]: """apps/list-plans-stubbed GET /marketplace_listing/stubbed/plans @@ -2635,7 +2645,7 @@ def list_accounts_for_plan_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan-stubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts @@ -2682,7 +2692,7 @@ async def async_list_accounts_for_plan_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseType]]: + ) -> Response[list[MarketplacePurchase], list[MarketplacePurchaseTypeForResponse]]: """apps/list-accounts-for-plan-stubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts @@ -2725,7 +2735,7 @@ def get_org_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-org-installation GET /orgs/{org}/installation @@ -2757,7 +2767,7 @@ async def async_get_org_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-org-installation GET /orgs/{org}/installation @@ -2790,7 +2800,7 @@ def get_repo_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-repo-installation GET /repos/{owner}/{repo}/installation @@ -2826,7 +2836,7 @@ async def async_get_repo_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-repo-installation GET /repos/{owner}/{repo}/installation @@ -2862,7 +2872,9 @@ def list_installations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserInstallationsGetResponse200, UserInstallationsGetResponse200Type]: + ) -> Response[ + UserInstallationsGetResponse200, UserInstallationsGetResponse200TypeForResponse + ]: """apps/list-installations-for-authenticated-user GET /user/installations @@ -2907,7 +2919,9 @@ async def async_list_installations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserInstallationsGetResponse200, UserInstallationsGetResponse200Type]: + ) -> Response[ + UserInstallationsGetResponse200, UserInstallationsGetResponse200TypeForResponse + ]: """apps/list-installations-for-authenticated-user GET /user/installations @@ -2955,7 +2969,7 @@ def list_installation_repos_for_authenticated_user( stream: bool = False, ) -> Response[ UserInstallationsInstallationIdRepositoriesGetResponse200, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, ]: """apps/list-installation-repos-for-authenticated-user @@ -3007,7 +3021,7 @@ async def async_list_installation_repos_for_authenticated_user( stream: bool = False, ) -> Response[ UserInstallationsInstallationIdRepositoriesGetResponse200, - UserInstallationsInstallationIdRepositoriesGetResponse200Type, + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, ]: """apps/list-installation-repos-for-authenticated-user @@ -3200,7 +3214,9 @@ def list_subscriptions_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user GET /user/marketplace_purchases @@ -3241,7 +3257,9 @@ async def async_list_subscriptions_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user GET /user/marketplace_purchases @@ -3282,7 +3300,9 @@ def list_subscriptions_for_authenticated_user_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user-stubbed GET /user/marketplace_purchases/stubbed @@ -3322,7 +3342,9 @@ async def async_list_subscriptions_for_authenticated_user_stubbed( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserMarketplacePurchase], list[UserMarketplacePurchaseType]]: + ) -> Response[ + list[UserMarketplacePurchase], list[UserMarketplacePurchaseTypeForResponse] + ]: """apps/list-subscriptions-for-authenticated-user-stubbed GET /user/marketplace_purchases/stubbed @@ -3361,7 +3383,7 @@ def get_user_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-user-installation GET /users/{username}/installation @@ -3393,7 +3415,7 @@ async def async_get_user_installation( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Installation, InstallationType]: + ) -> Response[Installation, InstallationTypeForResponse]: """apps/get-user-installation GET /users/{username}/installation diff --git a/githubkit/versions/v2022_11_28/rest/billing.py b/githubkit/versions/v2022_11_28/rest/billing.py index 6247a878a..2c5bc708e 100644 --- a/githubkit/versions/v2022_11_28/rest/billing.py +++ b/githubkit/versions/v2022_11_28/rest/billing.py @@ -43,21 +43,21 @@ PackagesBillingUsage, ) from ..types import ( - ActionsBillingUsageType, - BillingPremiumRequestUsageReportOrgType, - BillingPremiumRequestUsageReportUserType, - BillingUsageReportType, - BillingUsageReportUserType, - BillingUsageSummaryReportOrgType, - BillingUsageSummaryReportUserType, - CombinedBillingUsageType, - DeleteBudgetType, - GetAllBudgetsType, - GetBudgetType, + ActionsBillingUsageTypeForResponse, + BillingPremiumRequestUsageReportOrgTypeForResponse, + BillingPremiumRequestUsageReportUserTypeForResponse, + BillingUsageReportTypeForResponse, + BillingUsageReportUserTypeForResponse, + BillingUsageSummaryReportOrgTypeForResponse, + BillingUsageSummaryReportUserTypeForResponse, + CombinedBillingUsageTypeForResponse, + DeleteBudgetTypeForResponse, + GetAllBudgetsTypeForResponse, + GetBudgetTypeForResponse, OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, - PackagesBillingUsageType, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, + PackagesBillingUsageTypeForResponse, ) @@ -82,7 +82,7 @@ def get_all_budgets_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets-org GET /organizations/{org}/settings/billing/budgets @@ -120,7 +120,7 @@ async def async_get_all_budgets_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetAllBudgets, GetAllBudgetsType]: + ) -> Response[GetAllBudgets, GetAllBudgetsTypeForResponse]: """billing/get-all-budgets-org GET /organizations/{org}/settings/billing/budgets @@ -159,7 +159,7 @@ def get_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget-org GET /organizations/{org}/settings/billing/budgets/{budget_id} @@ -200,7 +200,7 @@ async def async_get_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GetBudget, GetBudgetType]: + ) -> Response[GetBudget, GetBudgetTypeForResponse]: """billing/get-budget-org GET /organizations/{org}/settings/billing/budgets/{budget_id} @@ -241,7 +241,7 @@ def delete_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget-org DELETE /organizations/{org}/settings/billing/budgets/{budget_id} @@ -282,7 +282,7 @@ async def async_delete_budget_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeleteBudget, DeleteBudgetType]: + ) -> Response[DeleteBudget, DeleteBudgetTypeForResponse]: """billing/delete-budget-org DELETE /organizations/{org}/settings/billing/budgets/{budget_id} @@ -327,7 +327,7 @@ def update_budget_org( data: OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... @overload @@ -352,7 +352,7 @@ def update_budget_org( budget_product_sku: Missing[str] = UNSET, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... def update_budget_org( @@ -368,7 +368,7 @@ def update_budget_org( **kwargs, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: """billing/update-budget-org @@ -432,7 +432,7 @@ async def async_update_budget_org( data: OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... @overload @@ -457,7 +457,7 @@ async def async_update_budget_org( budget_product_sku: Missing[str] = UNSET, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: ... async def async_update_budget_org( @@ -473,7 +473,7 @@ async def async_update_budget_org( **kwargs, ) -> Response[ OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200, - OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, ]: """billing/update-budget-org @@ -539,7 +539,8 @@ def get_github_billing_premium_request_usage_report_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportOrg, BillingPremiumRequestUsageReportOrgType + BillingPremiumRequestUsageReportOrg, + BillingPremiumRequestUsageReportOrgTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-org @@ -600,7 +601,8 @@ async def async_get_github_billing_premium_request_usage_report_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportOrg, BillingPremiumRequestUsageReportOrgType + BillingPremiumRequestUsageReportOrg, + BillingPremiumRequestUsageReportOrgTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-org @@ -657,7 +659,7 @@ def get_github_billing_usage_report_org( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-org GET /organizations/{org}/settings/billing/usage @@ -705,7 +707,7 @@ async def async_get_github_billing_usage_report_org( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReport, BillingUsageReportType]: + ) -> Response[BillingUsageReport, BillingUsageReportTypeForResponse]: """billing/get-github-billing-usage-report-org GET /organizations/{org}/settings/billing/usage @@ -756,7 +758,9 @@ def get_github_billing_usage_summary_report_org( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgType]: + ) -> Response[ + BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-org GET /organizations/{org}/settings/billing/usage/summary @@ -817,7 +821,9 @@ async def async_get_github_billing_usage_summary_report_org( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgType]: + ) -> Response[ + BillingUsageSummaryReportOrg, BillingUsageSummaryReportOrgTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-org GET /organizations/{org}/settings/billing/usage/summary @@ -872,7 +878,7 @@ def get_github_actions_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-org GET /orgs/{org}/settings/billing/actions @@ -906,7 +912,7 @@ async def async_get_github_actions_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-org GET /orgs/{org}/settings/billing/actions @@ -940,7 +946,7 @@ def get_github_packages_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-org GET /orgs/{org}/settings/billing/packages @@ -974,7 +980,7 @@ async def async_get_github_packages_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-org GET /orgs/{org}/settings/billing/packages @@ -1008,7 +1014,7 @@ def get_shared_storage_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-org GET /orgs/{org}/settings/billing/shared-storage @@ -1042,7 +1048,7 @@ async def async_get_shared_storage_billing_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-org GET /orgs/{org}/settings/billing/shared-storage @@ -1076,7 +1082,7 @@ def get_github_actions_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-user GET /users/{username}/settings/billing/actions @@ -1110,7 +1116,7 @@ async def async_get_github_actions_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ActionsBillingUsage, ActionsBillingUsageType]: + ) -> Response[ActionsBillingUsage, ActionsBillingUsageTypeForResponse]: """billing/get-github-actions-billing-user GET /users/{username}/settings/billing/actions @@ -1144,7 +1150,7 @@ def get_github_packages_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-user GET /users/{username}/settings/billing/packages @@ -1178,7 +1184,7 @@ async def async_get_github_packages_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackagesBillingUsage, PackagesBillingUsageType]: + ) -> Response[PackagesBillingUsage, PackagesBillingUsageTypeForResponse]: """billing/get-github-packages-billing-user GET /users/{username}/settings/billing/packages @@ -1218,7 +1224,8 @@ def get_github_billing_premium_request_usage_report_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportUser, BillingPremiumRequestUsageReportUserType + BillingPremiumRequestUsageReportUser, + BillingPremiumRequestUsageReportUserTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-user @@ -1277,7 +1284,8 @@ async def async_get_github_billing_premium_request_usage_report_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - BillingPremiumRequestUsageReportUser, BillingPremiumRequestUsageReportUserType + BillingPremiumRequestUsageReportUser, + BillingPremiumRequestUsageReportUserTypeForResponse, ]: """billing/get-github-billing-premium-request-usage-report-user @@ -1330,7 +1338,7 @@ def get_shared_storage_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-user GET /users/{username}/settings/billing/shared-storage @@ -1364,7 +1372,7 @@ async def async_get_shared_storage_billing_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedBillingUsage, CombinedBillingUsageType]: + ) -> Response[CombinedBillingUsage, CombinedBillingUsageTypeForResponse]: """billing/get-shared-storage-billing-user GET /users/{username}/settings/billing/shared-storage @@ -1401,7 +1409,7 @@ def get_github_billing_usage_report_user( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReportUser, BillingUsageReportUserType]: + ) -> Response[BillingUsageReportUser, BillingUsageReportUserTypeForResponse]: """billing/get-github-billing-usage-report-user GET /users/{username}/settings/billing/usage @@ -1449,7 +1457,7 @@ async def async_get_github_billing_usage_report_user( day: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageReportUser, BillingUsageReportUserType]: + ) -> Response[BillingUsageReportUser, BillingUsageReportUserTypeForResponse]: """billing/get-github-billing-usage-report-user GET /users/{username}/settings/billing/usage @@ -1500,7 +1508,9 @@ def get_github_billing_usage_summary_report_user( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportUser, BillingUsageSummaryReportUserType]: + ) -> Response[ + BillingUsageSummaryReportUser, BillingUsageSummaryReportUserTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-user GET /users/{username}/settings/billing/usage/summary @@ -1562,7 +1572,9 @@ async def async_get_github_billing_usage_summary_report_user( sku: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BillingUsageSummaryReportUser, BillingUsageSummaryReportUserType]: + ) -> Response[ + BillingUsageSummaryReportUser, BillingUsageSummaryReportUserTypeForResponse + ]: """billing/get-github-billing-usage-summary-report-user GET /users/{username}/settings/billing/usage/summary diff --git a/githubkit/versions/v2022_11_28/rest/campaigns.py b/githubkit/versions/v2022_11_28/rest/campaigns.py index 5caaa9142..fe015f940 100644 --- a/githubkit/versions/v2022_11_28/rest/campaigns.py +++ b/githubkit/versions/v2022_11_28/rest/campaigns.py @@ -30,7 +30,7 @@ from ..models import CampaignSummary from ..types import ( - CampaignSummaryType, + CampaignSummaryTypeForResponse, OrgsOrgCampaignsCampaignNumberPatchBodyType, OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type, @@ -64,7 +64,7 @@ def list_org_campaigns( sort: Missing[Literal["created", "updated", "ends_at", "published"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CampaignSummary], list[CampaignSummaryType]]: + ) -> Response[list[CampaignSummary], list[CampaignSummaryTypeForResponse]]: """campaigns/list-org-campaigns GET /orgs/{org}/campaigns @@ -116,7 +116,7 @@ async def async_list_org_campaigns( sort: Missing[Literal["created", "updated", "ends_at", "published"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CampaignSummary], list[CampaignSummaryType]]: + ) -> Response[list[CampaignSummary], list[CampaignSummaryTypeForResponse]]: """campaigns/list-org-campaigns GET /orgs/{org}/campaigns @@ -167,7 +167,7 @@ def create_campaign( data: Union[ OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type ], - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def create_campaign( @@ -187,7 +187,7 @@ def create_campaign( list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None ], generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def create_campaign( @@ -207,7 +207,7 @@ def create_campaign( Union[list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None] ] = UNSET, generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... def create_campaign( self, @@ -221,7 +221,7 @@ def create_campaign( ] ] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/create-campaign POST /orgs/{org}/campaigns @@ -289,7 +289,7 @@ async def async_create_campaign( data: Union[ OrgsOrgCampaignsPostBodyOneof0Type, OrgsOrgCampaignsPostBodyOneof1Type ], - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_create_campaign( @@ -309,7 +309,7 @@ async def async_create_campaign( list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None ], generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_create_campaign( @@ -329,7 +329,7 @@ async def async_create_campaign( Union[list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType], None] ] = UNSET, generate_issues: Missing[bool] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... async def async_create_campaign( self, @@ -343,7 +343,7 @@ async def async_create_campaign( ] ] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/create-campaign POST /orgs/{org}/campaigns @@ -408,7 +408,7 @@ def get_campaign_summary( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/get-campaign-summary GET /orgs/{org}/campaigns/{campaign_number} @@ -448,7 +448,7 @@ async def async_get_campaign_summary( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/get-campaign-summary GET /orgs/{org}/campaigns/{campaign_number} @@ -566,7 +566,7 @@ def update_campaign( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCampaignsCampaignNumberPatchBodyType, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload def update_campaign( @@ -584,7 +584,7 @@ def update_campaign( ends_at: Missing[datetime] = UNSET, contact_link: Missing[Union[str, None]] = UNSET, state: Missing[Literal["open", "closed"]] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... def update_campaign( self, @@ -595,7 +595,7 @@ def update_campaign( stream: bool = False, data: Missing[OrgsOrgCampaignsCampaignNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/update-campaign PATCH /orgs/{org}/campaigns/{campaign_number} @@ -653,7 +653,7 @@ async def async_update_campaign( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCampaignsCampaignNumberPatchBodyType, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... @overload async def async_update_campaign( @@ -671,7 +671,7 @@ async def async_update_campaign( ends_at: Missing[datetime] = UNSET, contact_link: Missing[Union[str, None]] = UNSET, state: Missing[Literal["open", "closed"]] = UNSET, - ) -> Response[CampaignSummary, CampaignSummaryType]: ... + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: ... async def async_update_campaign( self, @@ -682,7 +682,7 @@ async def async_update_campaign( stream: bool = False, data: Missing[OrgsOrgCampaignsCampaignNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CampaignSummary, CampaignSummaryType]: + ) -> Response[CampaignSummary, CampaignSummaryTypeForResponse]: """campaigns/update-campaign PATCH /orgs/{org}/campaigns/{campaign_number} diff --git a/githubkit/versions/v2022_11_28/rest/checks.py b/githubkit/versions/v2022_11_28/rest/checks.py index 67994b1b8..1f9ef58e8 100644 --- a/githubkit/versions/v2022_11_28/rest/checks.py +++ b/githubkit/versions/v2022_11_28/rest/checks.py @@ -39,11 +39,11 @@ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, ) from ..types import ( - CheckAnnotationType, - CheckRunType, - CheckSuitePreferenceType, - CheckSuiteType, - EmptyObjectType, + CheckAnnotationTypeForResponse, + CheckRunTypeForResponse, + CheckSuitePreferenceTypeForResponse, + CheckSuiteTypeForResponse, + EmptyObjectTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, @@ -52,12 +52,12 @@ ReposOwnerRepoCheckRunsPostBodyOneof1Type, ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, ReposOwnerRepoCheckRunsPostBodyPropOutputType, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ReposOwnerRepoCheckSuitesPostBodyType, ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType, ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ) @@ -88,7 +88,7 @@ def create( ReposOwnerRepoCheckRunsPostBodyOneof0Type, ReposOwnerRepoCheckRunsPostBodyOneof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def create( @@ -120,7 +120,7 @@ def create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def create( @@ -156,7 +156,7 @@ def create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... def create( self, @@ -172,7 +172,7 @@ def create( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/create POST /repos/{owner}/{repo}/check-runs @@ -237,7 +237,7 @@ async def async_create( ReposOwnerRepoCheckRunsPostBodyOneof0Type, ReposOwnerRepoCheckRunsPostBodyOneof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_create( @@ -269,7 +269,7 @@ async def async_create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_create( @@ -305,7 +305,7 @@ async def async_create( actions: Missing[ list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... async def async_create( self, @@ -321,7 +321,7 @@ async def async_create( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/create POST /repos/{owner}/{repo}/check-runs @@ -382,7 +382,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/get GET /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -419,7 +419,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/get GET /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -461,7 +461,7 @@ def update( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def update( @@ -495,7 +495,7 @@ def update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload def update( @@ -531,7 +531,7 @@ def update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... def update( self, @@ -548,7 +548,7 @@ def update( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/update PATCH /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -612,7 +612,7 @@ async def async_update( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ], - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_update( @@ -646,7 +646,7 @@ async def async_update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... @overload async def async_update( @@ -682,7 +682,7 @@ async def async_update( actions: Missing[ list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType] ] = UNSET, - ) -> Response[CheckRun, CheckRunType]: ... + ) -> Response[CheckRun, CheckRunTypeForResponse]: ... async def async_update( self, @@ -699,7 +699,7 @@ async def async_update( ] ] = UNSET, **kwargs, - ) -> Response[CheckRun, CheckRunType]: + ) -> Response[CheckRun, CheckRunTypeForResponse]: """checks/update PATCH /repos/{owner}/{repo}/check-runs/{check_run_id} @@ -760,7 +760,7 @@ def list_annotations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CheckAnnotation], list[CheckAnnotationType]]: + ) -> Response[list[CheckAnnotation], list[CheckAnnotationTypeForResponse]]: """checks/list-annotations GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations @@ -802,7 +802,7 @@ async def async_list_annotations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CheckAnnotation], list[CheckAnnotationType]]: + ) -> Response[list[CheckAnnotation], list[CheckAnnotationTypeForResponse]]: """checks/list-annotations GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations @@ -842,7 +842,7 @@ def rerequest_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-run POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest @@ -881,7 +881,7 @@ async def async_rerequest_run( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-run POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest @@ -921,7 +921,7 @@ def create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPostBodyType, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... @overload def create_suite( @@ -933,7 +933,7 @@ def create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, head_sha: str, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... def create_suite( self, @@ -944,7 +944,7 @@ def create_suite( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPostBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/create-suite POST /repos/{owner}/{repo}/check-suites @@ -992,7 +992,7 @@ async def async_create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPostBodyType, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... @overload async def async_create_suite( @@ -1004,7 +1004,7 @@ async def async_create_suite( headers: Optional[Mapping[str, str]] = None, stream: bool = False, head_sha: str, - ) -> Response[CheckSuite, CheckSuiteType]: ... + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: ... async def async_create_suite( self, @@ -1015,7 +1015,7 @@ async def async_create_suite( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPostBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/create-suite POST /repos/{owner}/{repo}/check-suites @@ -1063,7 +1063,7 @@ def set_suites_preferences( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... @overload def set_suites_preferences( @@ -1079,7 +1079,7 @@ def set_suites_preferences( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType ] ] = UNSET, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... def set_suites_preferences( self, @@ -1090,7 +1090,7 @@ def set_suites_preferences( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPreferencesPatchBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: """checks/set-suites-preferences PATCH /repos/{owner}/{repo}/check-suites/preferences @@ -1139,7 +1139,7 @@ async def async_set_suites_preferences( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... @overload async def async_set_suites_preferences( @@ -1155,7 +1155,7 @@ async def async_set_suites_preferences( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType ] ] = UNSET, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: ... + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: ... async def async_set_suites_preferences( self, @@ -1166,7 +1166,7 @@ async def async_set_suites_preferences( stream: bool = False, data: Missing[ReposOwnerRepoCheckSuitesPreferencesPatchBodyType] = UNSET, **kwargs, - ) -> Response[CheckSuitePreference, CheckSuitePreferenceType]: + ) -> Response[CheckSuitePreference, CheckSuitePreferenceTypeForResponse]: """checks/set-suites-preferences PATCH /repos/{owner}/{repo}/check-suites/preferences @@ -1214,7 +1214,7 @@ def get_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/get-suite GET /repos/{owner}/{repo}/check-suites/{check_suite_id} @@ -1251,7 +1251,7 @@ async def async_get_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckSuite, CheckSuiteType]: + ) -> Response[CheckSuite, CheckSuiteTypeForResponse]: """checks/get-suite GET /repos/{owner}/{repo}/check-suites/{check_suite_id} @@ -1295,7 +1295,7 @@ def list_for_suite( stream: bool = False, ) -> Response[ ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-suite @@ -1351,7 +1351,7 @@ async def async_list_for_suite( stream: bool = False, ) -> Response[ ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200, - ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-suite @@ -1400,7 +1400,7 @@ def rerequest_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-suite POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest @@ -1432,7 +1432,7 @@ async def async_rerequest_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """checks/rerequest-suite POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest @@ -1472,7 +1472,7 @@ def list_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckRunsGetResponse200, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-ref @@ -1530,7 +1530,7 @@ async def async_list_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckRunsGetResponse200, - ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, ]: """checks/list-for-ref @@ -1586,7 +1586,7 @@ def list_suites_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ]: """checks/list-suites-for-ref @@ -1638,7 +1638,7 @@ async def async_list_suites_for_ref( stream: bool = False, ) -> Response[ ReposOwnerRepoCommitsRefCheckSuitesGetResponse200, - ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, ]: """checks/list-suites-for-ref diff --git a/githubkit/versions/v2022_11_28/rest/classroom.py b/githubkit/versions/v2022_11_28/rest/classroom.py index 9240c892e..baef550f9 100644 --- a/githubkit/versions/v2022_11_28/rest/classroom.py +++ b/githubkit/versions/v2022_11_28/rest/classroom.py @@ -31,12 +31,12 @@ SimpleClassroomAssignment, ) from ..types import ( - ClassroomAcceptedAssignmentType, - ClassroomAssignmentGradeType, - ClassroomAssignmentType, - ClassroomType, - SimpleClassroomAssignmentType, - SimpleClassroomType, + ClassroomAcceptedAssignmentTypeForResponse, + ClassroomAssignmentGradeTypeForResponse, + ClassroomAssignmentTypeForResponse, + ClassroomTypeForResponse, + SimpleClassroomAssignmentTypeForResponse, + SimpleClassroomTypeForResponse, ) @@ -61,7 +61,7 @@ def get_an_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ClassroomAssignment, ClassroomAssignmentType]: + ) -> Response[ClassroomAssignment, ClassroomAssignmentTypeForResponse]: """classroom/get-an-assignment GET /assignments/{assignment_id} @@ -94,7 +94,7 @@ async def async_get_an_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ClassroomAssignment, ClassroomAssignmentType]: + ) -> Response[ClassroomAssignment, ClassroomAssignmentTypeForResponse]: """classroom/get-an-assignment GET /assignments/{assignment_id} @@ -130,7 +130,8 @@ def list_accepted_assignments_for_an_assignment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ClassroomAcceptedAssignment], list[ClassroomAcceptedAssignmentType] + list[ClassroomAcceptedAssignment], + list[ClassroomAcceptedAssignmentTypeForResponse], ]: """classroom/list-accepted-assignments-for-an-assignment @@ -170,7 +171,8 @@ async def async_list_accepted_assignments_for_an_assignment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ClassroomAcceptedAssignment], list[ClassroomAcceptedAssignmentType] + list[ClassroomAcceptedAssignment], + list[ClassroomAcceptedAssignmentTypeForResponse], ]: """classroom/list-accepted-assignments-for-an-assignment @@ -207,7 +209,9 @@ def get_assignment_grades( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeType]]: + ) -> Response[ + list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeTypeForResponse] + ]: """classroom/get-assignment-grades GET /assignments/{assignment_id}/grades @@ -240,7 +244,9 @@ async def async_get_assignment_grades( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeType]]: + ) -> Response[ + list[ClassroomAssignmentGrade], list[ClassroomAssignmentGradeTypeForResponse] + ]: """classroom/get-assignment-grades GET /assignments/{assignment_id}/grades @@ -274,7 +280,7 @@ def list_classrooms( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroom], list[SimpleClassroomType]]: + ) -> Response[list[SimpleClassroom], list[SimpleClassroomTypeForResponse]]: """classroom/list-classrooms GET /classrooms @@ -311,7 +317,7 @@ async def async_list_classrooms( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroom], list[SimpleClassroomType]]: + ) -> Response[list[SimpleClassroom], list[SimpleClassroomTypeForResponse]]: """classroom/list-classrooms GET /classrooms @@ -347,7 +353,7 @@ def get_a_classroom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Classroom, ClassroomType]: + ) -> Response[Classroom, ClassroomTypeForResponse]: """classroom/get-a-classroom GET /classrooms/{classroom_id} @@ -380,7 +386,7 @@ async def async_get_a_classroom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Classroom, ClassroomType]: + ) -> Response[Classroom, ClassroomTypeForResponse]: """classroom/get-a-classroom GET /classrooms/{classroom_id} @@ -415,7 +421,9 @@ def list_assignments_for_a_classroom( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentType]]: + ) -> Response[ + list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentTypeForResponse] + ]: """classroom/list-assignments-for-a-classroom GET /classrooms/{classroom_id}/assignments @@ -453,7 +461,9 @@ async def async_list_assignments_for_a_classroom( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentType]]: + ) -> Response[ + list[SimpleClassroomAssignment], list[SimpleClassroomAssignmentTypeForResponse] + ]: """classroom/list-assignments-for-a-classroom GET /classrooms/{classroom_id}/assignments diff --git a/githubkit/versions/v2022_11_28/rest/code_scanning.py b/githubkit/versions/v2022_11_28/rest/code_scanning.py index 68f0b91a0..b74c0d6e8 100644 --- a/githubkit/versions/v2022_11_28/rest/code_scanning.py +++ b/githubkit/versions/v2022_11_28/rest/code_scanning.py @@ -46,23 +46,23 @@ EmptyObject, ) from ..types import ( - CodeScanningAlertInstanceType, - CodeScanningAlertItemsType, - CodeScanningAlertType, - CodeScanningAnalysisDeletionType, - CodeScanningAnalysisType, - CodeScanningAutofixCommitsResponseType, + CodeScanningAlertInstanceTypeForResponse, + CodeScanningAlertItemsTypeForResponse, + CodeScanningAlertTypeForResponse, + CodeScanningAnalysisDeletionTypeForResponse, + CodeScanningAnalysisTypeForResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, CodeScanningAutofixCommitsType, - CodeScanningAutofixType, - CodeScanningCodeqlDatabaseType, - CodeScanningDefaultSetupType, + CodeScanningAutofixTypeForResponse, + CodeScanningCodeqlDatabaseTypeForResponse, + CodeScanningDefaultSetupTypeForResponse, CodeScanningDefaultSetupUpdateType, - CodeScanningOrganizationAlertItemsType, - CodeScanningSarifsReceiptType, - CodeScanningSarifsStatusType, - CodeScanningVariantAnalysisRepoTaskType, - CodeScanningVariantAnalysisType, - EmptyObjectType, + CodeScanningOrganizationAlertItemsTypeForResponse, + CodeScanningSarifsReceiptTypeForResponse, + CodeScanningSarifsStatusTypeForResponse, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, + CodeScanningVariantAnalysisTypeForResponse, + EmptyObjectTypeForResponse, ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, @@ -106,7 +106,7 @@ def list_alerts_for_org( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-org @@ -177,7 +177,7 @@ async def async_list_alerts_for_org( stream: bool = False, ) -> Response[ list[CodeScanningOrganizationAlertItems], - list[CodeScanningOrganizationAlertItemsType], + list[CodeScanningOrganizationAlertItemsTypeForResponse], ]: """code-scanning/list-alerts-for-org @@ -249,7 +249,9 @@ def list_alerts_for_repo( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertItems], list[CodeScanningAlertItemsType]]: + ) -> Response[ + list[CodeScanningAlertItems], list[CodeScanningAlertItemsTypeForResponse] + ]: """code-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/code-scanning/alerts @@ -321,7 +323,9 @@ async def async_list_alerts_for_repo( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertItems], list[CodeScanningAlertItemsType]]: + ) -> Response[ + list[CodeScanningAlertItems], list[CodeScanningAlertItemsTypeForResponse] + ]: """code-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/code-scanning/alerts @@ -380,7 +384,7 @@ def get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/get-alert GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -419,7 +423,7 @@ async def async_get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/get-alert GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -460,7 +464,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... @overload def update_alert( @@ -478,7 +482,7 @@ def update_alert( ] = UNSET, dismissed_comment: Missing[Union[str, None]] = UNSET, create_request: Missing[bool] = UNSET, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... def update_alert( self, @@ -490,7 +494,7 @@ def update_alert( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/update-alert PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -548,7 +552,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -566,7 +570,7 @@ async def async_update_alert( ] = UNSET, dismissed_comment: Missing[Union[str, None]] = UNSET, create_request: Missing[bool] = UNSET, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: ... + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: ... async def async_update_alert( self, @@ -578,7 +582,7 @@ async def async_update_alert( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningAlert, CodeScanningAlertType]: + ) -> Response[CodeScanningAlert, CodeScanningAlertTypeForResponse]: """code-scanning/update-alert PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} @@ -634,7 +638,7 @@ def get_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/get-autofix GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -674,7 +678,7 @@ async def async_get_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/get-autofix GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -714,7 +718,7 @@ def create_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/create-autofix POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -758,7 +762,7 @@ async def async_create_autofix( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAutofix, CodeScanningAutofixType]: + ) -> Response[CodeScanningAutofix, CodeScanningAutofixTypeForResponse]: """code-scanning/create-autofix POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix @@ -805,7 +809,8 @@ def commit_autofix( stream: bool = False, data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... @overload @@ -821,7 +826,8 @@ def commit_autofix( target_ref: Missing[str] = UNSET, message: Missing[str] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... def commit_autofix( @@ -835,7 +841,8 @@ def commit_autofix( data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, **kwargs, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: """code-scanning/commit-autofix @@ -900,7 +907,8 @@ async def async_commit_autofix( stream: bool = False, data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... @overload @@ -916,7 +924,8 @@ async def async_commit_autofix( target_ref: Missing[str] = UNSET, message: Missing[str] = UNSET, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: ... async def async_commit_autofix( @@ -930,7 +939,8 @@ async def async_commit_autofix( data: Missing[Union[CodeScanningAutofixCommitsType, None]] = UNSET, **kwargs, ) -> Response[ - CodeScanningAutofixCommitsResponse, CodeScanningAutofixCommitsResponseType + CodeScanningAutofixCommitsResponse, + CodeScanningAutofixCommitsResponseTypeForResponse, ]: """code-scanning/commit-autofix @@ -996,7 +1006,9 @@ def list_alert_instances( pr: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceType]]: + ) -> Response[ + list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceTypeForResponse] + ]: """code-scanning/list-alert-instances GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances @@ -1047,7 +1059,9 @@ async def async_list_alert_instances( pr: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceType]]: + ) -> Response[ + list[CodeScanningAlertInstance], list[CodeScanningAlertInstanceTypeForResponse] + ]: """code-scanning/list-alert-instances GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances @@ -1102,7 +1116,9 @@ def list_recent_analyses( sort: Missing[Literal["created"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAnalysis], list[CodeScanningAnalysisType]]: + ) -> Response[ + list[CodeScanningAnalysis], list[CodeScanningAnalysisTypeForResponse] + ]: """code-scanning/list-recent-analyses GET /repos/{owner}/{repo}/code-scanning/analyses @@ -1174,7 +1190,9 @@ async def async_list_recent_analyses( sort: Missing[Literal["created"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeScanningAnalysis], list[CodeScanningAnalysisType]]: + ) -> Response[ + list[CodeScanningAnalysis], list[CodeScanningAnalysisTypeForResponse] + ]: """code-scanning/list-recent-analyses GET /repos/{owner}/{repo}/code-scanning/analyses @@ -1238,7 +1256,7 @@ def get_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisType]: + ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisTypeForResponse]: """code-scanning/get-analysis GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1292,7 +1310,7 @@ async def async_get_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisType]: + ) -> Response[CodeScanningAnalysis, CodeScanningAnalysisTypeForResponse]: """code-scanning/get-analysis GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1347,7 +1365,9 @@ def delete_analysis( confirm_delete: Missing[Union[str, None]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionType]: + ) -> Response[ + CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionTypeForResponse + ]: """code-scanning/delete-analysis DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1458,7 +1478,9 @@ async def async_delete_analysis( confirm_delete: Missing[Union[str, None]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionType]: + ) -> Response[ + CodeScanningAnalysisDeletion, CodeScanningAnalysisDeletionTypeForResponse + ]: """code-scanning/delete-analysis DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} @@ -1568,7 +1590,8 @@ def list_codeql_databases( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[CodeScanningCodeqlDatabase], list[CodeScanningCodeqlDatabaseType] + list[CodeScanningCodeqlDatabase], + list[CodeScanningCodeqlDatabaseTypeForResponse], ]: """code-scanning/list-codeql-databases @@ -1612,7 +1635,8 @@ async def async_list_codeql_databases( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[CodeScanningCodeqlDatabase], list[CodeScanningCodeqlDatabaseType] + list[CodeScanningCodeqlDatabase], + list[CodeScanningCodeqlDatabaseTypeForResponse], ]: """code-scanning/list-codeql-databases @@ -1656,7 +1680,9 @@ def get_codeql_database( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseType]: + ) -> Response[ + CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseTypeForResponse + ]: """code-scanning/get-codeql-database GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language} @@ -1705,7 +1731,9 @@ async def async_get_codeql_database( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseType]: + ) -> Response[ + CodeScanningCodeqlDatabase, CodeScanningCodeqlDatabaseTypeForResponse + ]: """code-scanning/get-codeql-database GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language} @@ -1835,7 +1863,9 @@ def create_variant_analysis( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -1861,7 +1891,9 @@ def create_variant_analysis( repositories: list[str], repository_lists: Missing[list[str]] = UNSET, repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -1887,7 +1919,9 @@ def create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: list[str], repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload def create_variant_analysis( @@ -1913,7 +1947,9 @@ def create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: Missing[list[str]] = UNSET, repository_owners: list[str], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... def create_variant_analysis( self, @@ -1930,7 +1966,9 @@ def create_variant_analysis( ] ] = UNSET, **kwargs, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/create-variant-analysis POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses @@ -2005,7 +2043,9 @@ async def async_create_variant_analysis( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2031,7 +2071,9 @@ async def async_create_variant_analysis( repositories: list[str], repository_lists: Missing[list[str]] = UNSET, repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2057,7 +2099,9 @@ async def async_create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: list[str], repository_owners: Missing[list[str]] = UNSET, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... @overload async def async_create_variant_analysis( @@ -2083,7 +2127,9 @@ async def async_create_variant_analysis( repositories: Missing[list[str]] = UNSET, repository_lists: Missing[list[str]] = UNSET, repository_owners: list[str], - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: ... + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: ... async def async_create_variant_analysis( self, @@ -2100,7 +2146,9 @@ async def async_create_variant_analysis( ] ] = UNSET, **kwargs, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/create-variant-analysis POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses @@ -2170,7 +2218,9 @@ def get_variant_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/get-variant-analysis GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id} @@ -2212,7 +2262,9 @@ async def async_get_variant_analysis( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningVariantAnalysis, CodeScanningVariantAnalysisType]: + ) -> Response[ + CodeScanningVariantAnalysis, CodeScanningVariantAnalysisTypeForResponse + ]: """code-scanning/get-variant-analysis GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id} @@ -2257,7 +2309,8 @@ def get_variant_analysis_repo_task( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningVariantAnalysisRepoTask, CodeScanningVariantAnalysisRepoTaskType + CodeScanningVariantAnalysisRepoTask, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, ]: """code-scanning/get-variant-analysis-repo-task @@ -2303,7 +2356,8 @@ async def async_get_variant_analysis_repo_task( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - CodeScanningVariantAnalysisRepoTask, CodeScanningVariantAnalysisRepoTaskType + CodeScanningVariantAnalysisRepoTask, + CodeScanningVariantAnalysisRepoTaskTypeForResponse, ]: """code-scanning/get-variant-analysis-repo-task @@ -2345,7 +2399,7 @@ def get_default_setup( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupType]: + ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupTypeForResponse]: """code-scanning/get-default-setup GET /repos/{owner}/{repo}/code-scanning/default-setup @@ -2383,7 +2437,7 @@ async def async_get_default_setup( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupType]: + ) -> Response[CodeScanningDefaultSetup, CodeScanningDefaultSetupTypeForResponse]: """code-scanning/get-default-setup GET /repos/{owner}/{repo}/code-scanning/default-setup @@ -2423,7 +2477,7 @@ def update_default_setup( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CodeScanningDefaultSetupUpdateType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def update_default_setup( @@ -2454,7 +2508,7 @@ def update_default_setup( ] ] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def update_default_setup( self, @@ -2465,7 +2519,7 @@ def update_default_setup( stream: bool = False, data: Missing[CodeScanningDefaultSetupUpdateType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """code-scanning/update-default-setup PATCH /repos/{owner}/{repo}/code-scanning/default-setup @@ -2522,7 +2576,7 @@ async def async_update_default_setup( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CodeScanningDefaultSetupUpdateType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_update_default_setup( @@ -2553,7 +2607,7 @@ async def async_update_default_setup( ] ] ] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_update_default_setup( self, @@ -2564,7 +2618,7 @@ async def async_update_default_setup( stream: bool = False, data: Missing[CodeScanningDefaultSetupUpdateType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """code-scanning/update-default-setup PATCH /repos/{owner}/{repo}/code-scanning/default-setup @@ -2621,7 +2675,9 @@ def upload_sarif( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningSarifsPostBodyType, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... @overload def upload_sarif( @@ -2639,7 +2695,9 @@ def upload_sarif( started_at: Missing[datetime] = UNSET, tool_name: Missing[str] = UNSET, validate_: Missing[bool] = UNSET, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... def upload_sarif( self, @@ -2650,7 +2708,7 @@ def upload_sarif( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningSarifsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: + ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse]: """code-scanning/upload-sarif POST /repos/{owner}/{repo}/code-scanning/sarifs @@ -2736,7 +2794,9 @@ async def async_upload_sarif( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodeScanningSarifsPostBodyType, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... @overload async def async_upload_sarif( @@ -2754,7 +2814,9 @@ async def async_upload_sarif( started_at: Missing[datetime] = UNSET, tool_name: Missing[str] = UNSET, validate_: Missing[bool] = UNSET, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: ... + ) -> Response[ + CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse + ]: ... async def async_upload_sarif( self, @@ -2765,7 +2827,7 @@ async def async_upload_sarif( stream: bool = False, data: Missing[ReposOwnerRepoCodeScanningSarifsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptType]: + ) -> Response[CodeScanningSarifsReceipt, CodeScanningSarifsReceiptTypeForResponse]: """code-scanning/upload-sarif POST /repos/{owner}/{repo}/code-scanning/sarifs @@ -2850,7 +2912,7 @@ def get_sarif( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusType]: + ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusTypeForResponse]: """code-scanning/get-sarif GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} @@ -2887,7 +2949,7 @@ async def async_get_sarif( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusType]: + ) -> Response[CodeScanningSarifsStatus, CodeScanningSarifsStatusTypeForResponse]: """code-scanning/get-sarif GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} diff --git a/githubkit/versions/v2022_11_28/rest/code_security.py b/githubkit/versions/v2022_11_28/rest/code_security.py index c27e5de6a..408a4cfc2 100644 --- a/githubkit/versions/v2022_11_28/rest/code_security.py +++ b/githubkit/versions/v2022_11_28/rest/code_security.py @@ -37,23 +37,23 @@ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, CodeScanningDefaultSetupOptionsType, CodeScanningOptionsType, - CodeSecurityConfigurationForRepositoryType, - CodeSecurityConfigurationRepositoriesType, - CodeSecurityConfigurationType, - CodeSecurityDefaultConfigurationsItemsType, + CodeSecurityConfigurationForRepositoryTypeForResponse, + CodeSecurityConfigurationRepositoriesTypeForResponse, + CodeSecurityConfigurationTypeForResponse, + CodeSecurityDefaultConfigurationsItemsTypeForResponse, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType, OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, @@ -88,7 +88,9 @@ def get_configurations_for_enterprise( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-enterprise GET /enterprises/{enterprise}/code-security/configurations @@ -136,7 +138,9 @@ async def async_get_configurations_for_enterprise( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-enterprise GET /enterprises/{enterprise}/code-security/configurations @@ -183,7 +187,9 @@ def create_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def create_configuration_for_enterprise( @@ -241,7 +247,9 @@ def create_configuration_for_enterprise( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def create_configuration_for_enterprise( self, @@ -253,7 +261,7 @@ def create_configuration_for_enterprise( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration-for-enterprise POST /enterprises/{enterprise}/code-security/configurations @@ -310,7 +318,9 @@ async def async_create_configuration_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_create_configuration_for_enterprise( @@ -368,7 +378,9 @@ async def async_create_configuration_for_enterprise( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_create_configuration_for_enterprise( self, @@ -380,7 +392,7 @@ async def async_create_configuration_for_enterprise( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration-for-enterprise POST /enterprises/{enterprise}/code-security/configurations @@ -437,7 +449,7 @@ def get_default_configurations_for_enterprise( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations-for-enterprise @@ -474,7 +486,7 @@ async def async_get_default_configurations_for_enterprise( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations-for-enterprise @@ -510,7 +522,7 @@ def get_single_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-single-configuration-for-enterprise GET /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -551,7 +563,7 @@ async def async_get_single_configuration_for_enterprise( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-single-configuration-for-enterprise GET /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -682,7 +694,9 @@ def update_enterprise_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def update_enterprise_configuration( @@ -740,7 +754,9 @@ def update_enterprise_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def update_enterprise_configuration( self, @@ -753,7 +769,7 @@ def update_enterprise_configuration( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-enterprise-configuration PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -814,7 +830,9 @@ async def async_update_enterprise_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_update_enterprise_configuration( @@ -872,7 +890,9 @@ async def async_update_enterprise_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_update_enterprise_configuration( self, @@ -885,7 +905,7 @@ async def async_update_enterprise_configuration( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-enterprise-configuration PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id} @@ -948,7 +968,7 @@ def attach_enterprise_configuration( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -963,7 +983,7 @@ def attach_enterprise_configuration( scope: Literal["all", "all_without_configurations"], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def attach_enterprise_configuration( @@ -979,7 +999,7 @@ def attach_enterprise_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-enterprise-configuration @@ -1043,7 +1063,7 @@ async def async_attach_enterprise_configuration( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -1058,7 +1078,7 @@ async def async_attach_enterprise_configuration( scope: Literal["all", "all_without_configurations"], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_attach_enterprise_configuration( @@ -1074,7 +1094,7 @@ async def async_attach_enterprise_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-enterprise-configuration @@ -1138,7 +1158,7 @@ def set_configuration_as_default_for_enterprise( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -1155,7 +1175,7 @@ def set_configuration_as_default_for_enterprise( ] = UNSET, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... def set_configuration_as_default_for_enterprise( @@ -1171,7 +1191,7 @@ def set_configuration_as_default_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default-for-enterprise @@ -1234,7 +1254,7 @@ async def async_set_configuration_as_default_for_enterprise( data: EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -1251,7 +1271,7 @@ async def async_set_configuration_as_default_for_enterprise( ] = UNSET, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... async def async_set_configuration_as_default_for_enterprise( @@ -1267,7 +1287,7 @@ async def async_set_configuration_as_default_for_enterprise( **kwargs, ) -> Response[ EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default-for-enterprise @@ -1332,7 +1352,7 @@ def get_repositories_for_enterprise_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-enterprise-configuration @@ -1386,7 +1406,7 @@ async def async_get_repositories_for_enterprise_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-enterprise-configuration @@ -1437,7 +1457,9 @@ def get_configurations_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-org GET /orgs/{org}/code-security/configurations @@ -1487,7 +1509,9 @@ async def async_get_configurations_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeSecurityConfiguration], list[CodeSecurityConfigurationType]]: + ) -> Response[ + list[CodeSecurityConfiguration], list[CodeSecurityConfigurationTypeForResponse] + ]: """code-security/get-configurations-for-org GET /orgs/{org}/code-security/configurations @@ -1535,7 +1559,9 @@ def create_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def create_configuration( @@ -1599,7 +1625,9 @@ def create_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def create_configuration( self, @@ -1609,7 +1637,7 @@ def create_configuration( stream: bool = False, data: Missing[OrgsOrgCodeSecurityConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration POST /orgs/{org}/code-security/configurations @@ -1658,7 +1686,9 @@ async def async_create_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsPostBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_create_configuration( @@ -1722,7 +1752,9 @@ async def async_create_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_create_configuration( self, @@ -1732,7 +1764,7 @@ async def async_create_configuration( stream: bool = False, data: Missing[OrgsOrgCodeSecurityConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/create-configuration POST /orgs/{org}/code-security/configurations @@ -1781,7 +1813,7 @@ def get_default_configurations( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations @@ -1822,7 +1854,7 @@ async def async_get_default_configurations( stream: bool = False, ) -> Response[ list[CodeSecurityDefaultConfigurationsItems], - list[CodeSecurityDefaultConfigurationsItemsType], + list[CodeSecurityDefaultConfigurationsItemsTypeForResponse], ]: """code-security/get-default-configurations @@ -2018,7 +2050,7 @@ def get_configuration( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-configuration GET /orgs/{org}/code-security/configurations/{configuration_id} @@ -2057,7 +2089,7 @@ async def async_get_configuration( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/get-configuration GET /orgs/{org}/code-security/configurations/{configuration_id} @@ -2182,7 +2214,9 @@ def update_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload def update_configuration( @@ -2246,7 +2280,9 @@ def update_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... def update_configuration( self, @@ -2259,7 +2295,7 @@ def update_configuration( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-configuration PATCH /orgs/{org}/code-security/configurations/{configuration_id} @@ -2311,7 +2347,9 @@ async def async_update_configuration( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... @overload async def async_update_configuration( @@ -2375,7 +2413,9 @@ async def async_update_configuration( Literal["enabled", "disabled", "not_set"] ] = UNSET, enforcement: Missing[Literal["enforced", "unenforced"]] = UNSET, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: ... + ) -> Response[ + CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse + ]: ... async def async_update_configuration( self, @@ -2388,7 +2428,7 @@ async def async_update_configuration( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationType]: + ) -> Response[CodeSecurityConfiguration, CodeSecurityConfigurationTypeForResponse]: """code-security/update-configuration PATCH /orgs/{org}/code-security/configurations/{configuration_id} @@ -2442,7 +2482,7 @@ def attach_configuration( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -2464,7 +2504,7 @@ def attach_configuration( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def attach_configuration( @@ -2480,7 +2520,7 @@ def attach_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-configuration @@ -2537,7 +2577,7 @@ async def async_attach_configuration( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -2559,7 +2599,7 @@ async def async_attach_configuration( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_attach_configuration( @@ -2575,7 +2615,7 @@ async def async_attach_configuration( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """code-security/attach-configuration @@ -2632,7 +2672,7 @@ def set_configuration_as_default( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -2649,7 +2689,7 @@ def set_configuration_as_default( ] = UNSET, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... def set_configuration_as_default( @@ -2665,7 +2705,7 @@ def set_configuration_as_default( **kwargs, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default @@ -2727,7 +2767,7 @@ async def async_set_configuration_as_default( data: OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... @overload @@ -2744,7 +2784,7 @@ async def async_set_configuration_as_default( ] = UNSET, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: ... async def async_set_configuration_as_default( @@ -2760,7 +2800,7 @@ async def async_set_configuration_as_default( **kwargs, ) -> Response[ OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200, - OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, ]: """code-security/set-configuration-as-default @@ -2824,7 +2864,7 @@ def get_repositories_for_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-configuration @@ -2880,7 +2920,7 @@ async def async_get_repositories_for_configuration( stream: bool = False, ) -> Response[ list[CodeSecurityConfigurationRepositories], - list[CodeSecurityConfigurationRepositoriesType], + list[CodeSecurityConfigurationRepositoriesTypeForResponse], ]: """code-security/get-repositories-for-configuration @@ -2932,7 +2972,7 @@ def get_configuration_for_repository( stream: bool = False, ) -> Response[ CodeSecurityConfigurationForRepository, - CodeSecurityConfigurationForRepositoryType, + CodeSecurityConfigurationForRepositoryTypeForResponse, ]: """code-security/get-configuration-for-repository @@ -2974,7 +3014,7 @@ async def async_get_configuration_for_repository( stream: bool = False, ) -> Response[ CodeSecurityConfigurationForRepository, - CodeSecurityConfigurationForRepositoryType, + CodeSecurityConfigurationForRepositoryTypeForResponse, ]: """code-security/get-configuration-for-repository diff --git a/githubkit/versions/v2022_11_28/rest/codes_of_conduct.py b/githubkit/versions/v2022_11_28/rest/codes_of_conduct.py index c3b12446b..023b085c3 100644 --- a/githubkit/versions/v2022_11_28/rest/codes_of_conduct.py +++ b/githubkit/versions/v2022_11_28/rest/codes_of_conduct.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import CodeOfConduct - from ..types import CodeOfConductType + from ..types import CodeOfConductTypeForResponse class CodesOfConductClient: @@ -43,7 +43,7 @@ def get_all_codes_of_conduct( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeOfConduct], list[CodeOfConductType]]: + ) -> Response[list[CodeOfConduct], list[CodeOfConductTypeForResponse]]: """codes-of-conduct/get-all-codes-of-conduct GET /codes_of_conduct @@ -72,7 +72,7 @@ async def async_get_all_codes_of_conduct( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CodeOfConduct], list[CodeOfConductType]]: + ) -> Response[list[CodeOfConduct], list[CodeOfConductTypeForResponse]]: """codes-of-conduct/get-all-codes-of-conduct GET /codes_of_conduct @@ -102,7 +102,7 @@ def get_conduct_code( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeOfConduct, CodeOfConductType]: + ) -> Response[CodeOfConduct, CodeOfConductTypeForResponse]: """codes-of-conduct/get-conduct-code GET /codes_of_conduct/{key} @@ -135,7 +135,7 @@ async def async_get_conduct_code( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeOfConduct, CodeOfConductType]: + ) -> Response[CodeOfConduct, CodeOfConductTypeForResponse]: """codes-of-conduct/get-conduct-code GET /codes_of_conduct/{key} diff --git a/githubkit/versions/v2022_11_28/rest/codespaces.py b/githubkit/versions/v2022_11_28/rest/codespaces.py index 422d8059d..9b27b6e31 100644 --- a/githubkit/versions/v2022_11_28/rest/codespaces.py +++ b/githubkit/versions/v2022_11_28/rest/codespaces.py @@ -54,44 +54,44 @@ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - CodespaceExportDetailsType, - CodespacesOrgSecretType, - CodespacesPermissionsCheckForDevcontainerType, - CodespacesPublicKeyType, - CodespacesSecretType, - CodespacesUserPublicKeyType, - CodespaceType, - CodespaceWithFullRepositoryType, - EmptyObjectType, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + CodespaceExportDetailsTypeForResponse, + CodespacesOrgSecretTypeForResponse, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, + CodespacesPublicKeyTypeForResponse, + CodespacesSecretTypeForResponse, + CodespacesUserPublicKeyTypeForResponse, + CodespaceTypeForResponse, + CodespaceWithFullRepositoryTypeForResponse, + EmptyObjectTypeForResponse, OrgsOrgCodespacesAccessPutBodyType, OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType, OrgsOrgCodespacesAccessSelectedUsersPostBodyType, - OrgsOrgCodespacesGetResponse200Type, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesGetResponse200TypeForResponse, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, OrgsOrgCodespacesSecretsSecretNamePutBodyType, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, - RepoCodespacesSecretType, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, - ReposOwnerRepoCodespacesGetResponse200Type, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, - ReposOwnerRepoCodespacesNewGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, + RepoCodespacesSecretTypeForResponse, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ReposOwnerRepoCodespacesPostBodyType, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, UserCodespacesCodespaceNamePatchBodyType, UserCodespacesCodespaceNamePublishPostBodyType, - UserCodespacesGetResponse200Type, + UserCodespacesGetResponse200TypeForResponse, UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1PropPullRequestType, UserCodespacesPostBodyOneof1Type, - UserCodespacesSecretsGetResponse200Type, + UserCodespacesSecretsGetResponse200TypeForResponse, UserCodespacesSecretsSecretNamePutBodyType, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, UserCodespacesSecretsSecretNameRepositoriesPutBodyType, ) @@ -119,7 +119,9 @@ def list_in_organization( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200Type]: + ) -> Response[ + OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-in-organization GET /orgs/{org}/codespaces @@ -165,7 +167,9 @@ async def async_list_in_organization( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200Type]: + ) -> Response[ + OrgsOrgCodespacesGetResponse200, OrgsOrgCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-in-organization GET /orgs/{org}/codespaces @@ -673,7 +677,7 @@ def list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsGetResponse200, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-org-secrets @@ -717,7 +721,7 @@ async def async_list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsGetResponse200, - OrgsOrgCodespacesSecretsGetResponse200Type, + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-org-secrets @@ -757,7 +761,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-org-public-key GET /orgs/{org}/codespaces/secrets/public-key @@ -788,7 +792,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-org-public-key GET /orgs/{org}/codespaces/secrets/public-key @@ -820,7 +824,7 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretType]: + ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretTypeForResponse]: """codespaces/get-org-secret GET /orgs/{org}/codespaces/secrets/{secret_name} @@ -853,7 +857,7 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretType]: + ) -> Response[CodespacesOrgSecret, CodespacesOrgSecretTypeForResponse]: """codespaces/get-org-secret GET /orgs/{org}/codespaces/secrets/{secret_name} @@ -888,7 +892,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -903,7 +907,7 @@ def create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -914,7 +918,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-org-secret PUT /orgs/{org}/codespaces/secrets/{secret_name} @@ -969,7 +973,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -984,7 +988,7 @@ async def async_create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[int]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -995,7 +999,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-org-secret PUT /orgs/{org}/codespaces/secrets/{secret_name} @@ -1122,7 +1126,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-selected-repos-for-org-secret @@ -1173,7 +1177,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-selected-repos-for-org-secret @@ -1540,7 +1544,7 @@ def get_codespaces_for_user_in_org( stream: bool = False, ) -> Response[ OrgsOrgMembersUsernameCodespacesGetResponse200, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, ]: """codespaces/get-codespaces-for-user-in-org @@ -1590,7 +1594,7 @@ async def async_get_codespaces_for_user_in_org( stream: bool = False, ) -> Response[ OrgsOrgMembersUsernameCodespacesGetResponse200, - OrgsOrgMembersUsernameCodespacesGetResponse200Type, + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, ]: """codespaces/get-codespaces-for-user-in-org @@ -1639,7 +1643,7 @@ def delete_from_organization( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-from-organization @@ -1685,7 +1689,7 @@ async def async_delete_from_organization( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-from-organization @@ -1729,7 +1733,7 @@ def stop_in_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-in-organization POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop @@ -1769,7 +1773,7 @@ async def async_stop_in_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-in-organization POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop @@ -1812,7 +1816,7 @@ def list_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesGetResponse200, - ReposOwnerRepoCodespacesGetResponse200Type, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, ]: """codespaces/list-in-repository-for-authenticated-user @@ -1862,7 +1866,7 @@ async def async_list_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesGetResponse200, - ReposOwnerRepoCodespacesGetResponse200Type, + ReposOwnerRepoCodespacesGetResponse200TypeForResponse, ]: """codespaces/list-in-repository-for-authenticated-user @@ -1910,7 +1914,7 @@ def create_with_repo_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_with_repo_for_authenticated_user( @@ -1934,7 +1938,7 @@ def create_with_repo_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_with_repo_for_authenticated_user( self, @@ -1945,7 +1949,7 @@ def create_with_repo_for_authenticated_user( stream: bool = False, data: Missing[Union[ReposOwnerRepoCodespacesPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-repo-for-authenticated-user POST /repos/{owner}/{repo}/codespaces @@ -2006,7 +2010,7 @@ async def async_create_with_repo_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_with_repo_for_authenticated_user( @@ -2030,7 +2034,7 @@ async def async_create_with_repo_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_with_repo_for_authenticated_user( self, @@ -2041,7 +2045,7 @@ async def async_create_with_repo_for_authenticated_user( stream: bool = False, data: Missing[Union[ReposOwnerRepoCodespacesPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-repo-for-authenticated-user POST /repos/{owner}/{repo}/codespaces @@ -2104,7 +2108,7 @@ def list_devcontainers_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesDevcontainersGetResponse200, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, ]: """codespaces/list-devcontainers-in-repository-for-authenticated-user @@ -2159,7 +2163,7 @@ async def async_list_devcontainers_in_repository_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesDevcontainersGetResponse200, - ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, ]: """codespaces/list-devcontainers-in-repository-for-authenticated-user @@ -2215,7 +2219,7 @@ def repo_machines_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesMachinesGetResponse200, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, ]: """codespaces/repo-machines-for-authenticated-user @@ -2267,7 +2271,7 @@ async def async_repo_machines_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesMachinesGetResponse200, - ReposOwnerRepoCodespacesMachinesGetResponse200Type, + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, ]: """codespaces/repo-machines-for-authenticated-user @@ -2318,7 +2322,7 @@ def pre_flight_with_repo_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesNewGetResponse200, - ReposOwnerRepoCodespacesNewGetResponse200Type, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ]: """codespaces/pre-flight-with-repo-for-authenticated-user @@ -2367,7 +2371,7 @@ async def async_pre_flight_with_repo_for_authenticated_user( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesNewGetResponse200, - ReposOwnerRepoCodespacesNewGetResponse200Type, + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, ]: """codespaces/pre-flight-with-repo-for-authenticated-user @@ -2416,7 +2420,7 @@ def check_permissions_for_devcontainer( stream: bool = False, ) -> Response[ CodespacesPermissionsCheckForDevcontainer, - CodespacesPermissionsCheckForDevcontainerType, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, ]: """codespaces/check-permissions-for-devcontainer @@ -2472,7 +2476,7 @@ async def async_check_permissions_for_devcontainer( stream: bool = False, ) -> Response[ CodespacesPermissionsCheckForDevcontainer, - CodespacesPermissionsCheckForDevcontainerType, + CodespacesPermissionsCheckForDevcontainerTypeForResponse, ]: """codespaces/check-permissions-for-devcontainer @@ -2528,7 +2532,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesSecretsGetResponse200, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-repo-secrets @@ -2573,7 +2577,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoCodespacesSecretsGetResponse200, - ReposOwnerRepoCodespacesSecretsGetResponse200Type, + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-repo-secrets @@ -2614,7 +2618,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-repo-public-key GET /repos/{owner}/{repo}/codespaces/secrets/public-key @@ -2648,7 +2652,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesPublicKey, CodespacesPublicKeyType]: + ) -> Response[CodespacesPublicKey, CodespacesPublicKeyTypeForResponse]: """codespaces/get-repo-public-key GET /repos/{owner}/{repo}/codespaces/secrets/public-key @@ -2683,7 +2687,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretType]: + ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretTypeForResponse]: """codespaces/get-repo-secret GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2717,7 +2721,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretType]: + ) -> Response[RepoCodespacesSecret, RepoCodespacesSecretTypeForResponse]: """codespaces/get-repo-secret GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2753,7 +2757,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -2767,7 +2771,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -2779,7 +2783,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-repo-secret PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2831,7 +2835,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -2845,7 +2849,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -2857,7 +2861,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-repo-secret PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name} @@ -2971,7 +2975,7 @@ def create_with_pr_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_with_pr_for_authenticated_user( @@ -2995,7 +2999,7 @@ def create_with_pr_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_with_pr_for_authenticated_user( self, @@ -3009,7 +3013,7 @@ def create_with_pr_for_authenticated_user( Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-pr-for-authenticated-user POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces @@ -3070,7 +3074,7 @@ async def async_create_with_pr_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_with_pr_for_authenticated_user( @@ -3094,7 +3098,7 @@ async def async_create_with_pr_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_with_pr_for_authenticated_user( self, @@ -3108,7 +3112,7 @@ async def async_create_with_pr_for_authenticated_user( Union[ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-with-pr-for-authenticated-user POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces @@ -3167,7 +3171,9 @@ def list_for_authenticated_user( repository_id: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserCodespacesGetResponse200, UserCodespacesGetResponse200Type]: + ) -> Response[ + UserCodespacesGetResponse200, UserCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-for-authenticated-user GET /user/codespaces @@ -3214,7 +3220,9 @@ async def async_list_for_authenticated_user( repository_id: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[UserCodespacesGetResponse200, UserCodespacesGetResponse200Type]: + ) -> Response[ + UserCodespacesGetResponse200, UserCodespacesGetResponse200TypeForResponse + ]: """codespaces/list-for-authenticated-user GET /user/codespaces @@ -3260,7 +3268,7 @@ def create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -3283,7 +3291,7 @@ def create_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -3301,7 +3309,7 @@ def create_for_authenticated_user( devcontainer_path: Missing[str] = UNSET, working_directory: Missing[str] = UNSET, idle_timeout_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def create_for_authenticated_user( self, @@ -3312,7 +3320,7 @@ def create_for_authenticated_user( Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-for-authenticated-user POST /user/codespaces @@ -3373,7 +3381,7 @@ async def async_create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type], - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -3396,7 +3404,7 @@ async def async_create_for_authenticated_user( idle_timeout_minutes: Missing[int] = UNSET, display_name: Missing[str] = UNSET, retention_period_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -3414,7 +3422,7 @@ async def async_create_for_authenticated_user( devcontainer_path: Missing[str] = UNSET, working_directory: Missing[str] = UNSET, idle_timeout_minutes: Missing[int] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_create_for_authenticated_user( self, @@ -3425,7 +3433,7 @@ async def async_create_for_authenticated_user( Union[UserCodespacesPostBodyOneof0Type, UserCodespacesPostBodyOneof1Type] ] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/create-for-authenticated-user POST /user/codespaces @@ -3487,7 +3495,8 @@ def list_secrets_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - UserCodespacesSecretsGetResponse200, UserCodespacesSecretsGetResponse200Type + UserCodespacesSecretsGetResponse200, + UserCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-secrets-for-authenticated-user @@ -3531,7 +3540,8 @@ async def async_list_secrets_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - UserCodespacesSecretsGetResponse200, UserCodespacesSecretsGetResponse200Type + UserCodespacesSecretsGetResponse200, + UserCodespacesSecretsGetResponse200TypeForResponse, ]: """codespaces/list-secrets-for-authenticated-user @@ -3572,7 +3582,7 @@ def get_public_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyType]: + ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyTypeForResponse]: """codespaces/get-public-key-for-authenticated-user GET /user/codespaces/secrets/public-key @@ -3605,7 +3615,7 @@ async def async_get_public_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyType]: + ) -> Response[CodespacesUserPublicKey, CodespacesUserPublicKeyTypeForResponse]: """codespaces/get-public-key-for-authenticated-user GET /user/codespaces/secrets/public-key @@ -3639,7 +3649,7 @@ def get_secret_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesSecret, CodespacesSecretType]: + ) -> Response[CodespacesSecret, CodespacesSecretTypeForResponse]: """codespaces/get-secret-for-authenticated-user GET /user/codespaces/secrets/{secret_name} @@ -3673,7 +3683,7 @@ async def async_get_secret_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespacesSecret, CodespacesSecretType]: + ) -> Response[CodespacesSecret, CodespacesSecretTypeForResponse]: """codespaces/get-secret-for-authenticated-user GET /user/codespaces/secrets/{secret_name} @@ -3709,7 +3719,7 @@ def create_or_update_secret_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_secret_for_authenticated_user( @@ -3722,7 +3732,7 @@ def create_or_update_secret_for_authenticated_user( encrypted_value: Missing[str] = UNSET, key_id: str, selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_secret_for_authenticated_user( self, @@ -3732,7 +3742,7 @@ def create_or_update_secret_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-secret-for-authenticated-user PUT /user/codespaces/secrets/{secret_name} @@ -3788,7 +3798,7 @@ async def async_create_or_update_secret_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_secret_for_authenticated_user( @@ -3801,7 +3811,7 @@ async def async_create_or_update_secret_for_authenticated_user( encrypted_value: Missing[str] = UNSET, key_id: str, selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_secret_for_authenticated_user( self, @@ -3811,7 +3821,7 @@ async def async_create_or_update_secret_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """codespaces/create-or-update-secret-for-authenticated-user PUT /user/codespaces/secrets/{secret_name} @@ -3929,7 +3939,7 @@ def list_repositories_for_secret_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-repositories-for-secret-for-authenticated-user @@ -3975,7 +3985,7 @@ async def async_list_repositories_for_secret_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesSecretsSecretNameRepositoriesGetResponse200, - UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """codespaces/list-repositories-for-secret-for-authenticated-user @@ -4333,7 +4343,7 @@ def get_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/get-for-authenticated-user GET /user/codespaces/{codespace_name} @@ -4371,7 +4381,7 @@ async def async_get_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/get-for-authenticated-user GET /user/codespaces/{codespace_name} @@ -4411,7 +4421,7 @@ def delete_for_authenticated_user( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-for-authenticated-user @@ -4455,7 +4465,7 @@ async def async_delete_for_authenticated_user( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """codespaces/delete-for-authenticated-user @@ -4499,7 +4509,7 @@ def update_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload def update_for_authenticated_user( @@ -4512,7 +4522,7 @@ def update_for_authenticated_user( machine: Missing[str] = UNSET, display_name: Missing[str] = UNSET, recent_folders: Missing[list[str]] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... def update_for_authenticated_user( self, @@ -4522,7 +4532,7 @@ def update_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/update-for-authenticated-user PATCH /user/codespaces/{codespace_name} @@ -4573,7 +4583,7 @@ async def async_update_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... @overload async def async_update_for_authenticated_user( @@ -4586,7 +4596,7 @@ async def async_update_for_authenticated_user( machine: Missing[str] = UNSET, display_name: Missing[str] = UNSET, recent_folders: Missing[list[str]] = UNSET, - ) -> Response[Codespace, CodespaceType]: ... + ) -> Response[Codespace, CodespaceTypeForResponse]: ... async def async_update_for_authenticated_user( self, @@ -4596,7 +4606,7 @@ async def async_update_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/update-for-authenticated-user PATCH /user/codespaces/{codespace_name} @@ -4645,7 +4655,7 @@ def export_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/export-for-authenticated-user POST /user/codespaces/{codespace_name}/exports @@ -4686,7 +4696,7 @@ async def async_export_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/export-for-authenticated-user POST /user/codespaces/{codespace_name}/exports @@ -4728,7 +4738,7 @@ def get_export_details_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/get-export-details-for-authenticated-user GET /user/codespaces/{codespace_name}/exports/{export_id} @@ -4764,7 +4774,7 @@ async def async_get_export_details_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodespaceExportDetails, CodespaceExportDetailsType]: + ) -> Response[CodespaceExportDetails, CodespaceExportDetailsTypeForResponse]: """codespaces/get-export-details-for-authenticated-user GET /user/codespaces/{codespace_name}/exports/{export_id} @@ -4801,7 +4811,7 @@ def codespace_machines_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesCodespaceNameMachinesGetResponse200, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, ]: """codespaces/codespace-machines-for-authenticated-user @@ -4845,7 +4855,7 @@ async def async_codespace_machines_for_authenticated_user( stream: bool = False, ) -> Response[ UserCodespacesCodespaceNameMachinesGetResponse200, - UserCodespacesCodespaceNameMachinesGetResponse200Type, + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, ]: """codespaces/codespace-machines-for-authenticated-user @@ -4889,7 +4899,9 @@ def publish_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesCodespaceNamePublishPostBodyType, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... @overload def publish_for_authenticated_user( @@ -4901,7 +4913,9 @@ def publish_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... def publish_for_authenticated_user( self, @@ -4911,7 +4925,9 @@ def publish_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePublishPostBodyType] = UNSET, **kwargs, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: """codespaces/publish-for-authenticated-user POST /user/codespaces/{codespace_name}/publish @@ -4972,7 +4988,9 @@ async def async_publish_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserCodespacesCodespaceNamePublishPostBodyType, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... @overload async def async_publish_for_authenticated_user( @@ -4984,7 +5002,9 @@ async def async_publish_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: ... + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: ... async def async_publish_for_authenticated_user( self, @@ -4994,7 +5014,9 @@ async def async_publish_for_authenticated_user( stream: bool = False, data: Missing[UserCodespacesCodespaceNamePublishPostBodyType] = UNSET, **kwargs, - ) -> Response[CodespaceWithFullRepository, CodespaceWithFullRepositoryType]: + ) -> Response[ + CodespaceWithFullRepository, CodespaceWithFullRepositoryTypeForResponse + ]: """codespaces/publish-for-authenticated-user POST /user/codespaces/{codespace_name}/publish @@ -5053,7 +5075,7 @@ def start_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/start-for-authenticated-user POST /user/codespaces/{codespace_name}/start @@ -5094,7 +5116,7 @@ async def async_start_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/start-for-authenticated-user POST /user/codespaces/{codespace_name}/start @@ -5135,7 +5157,7 @@ def stop_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-for-authenticated-user POST /user/codespaces/{codespace_name}/stop @@ -5173,7 +5195,7 @@ async def async_stop_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Codespace, CodespaceType]: + ) -> Response[Codespace, CodespaceTypeForResponse]: """codespaces/stop-for-authenticated-user POST /user/codespaces/{codespace_name}/stop diff --git a/githubkit/versions/v2022_11_28/rest/copilot.py b/githubkit/versions/v2022_11_28/rest/copilot.py index 3028bc608..5024270b6 100644 --- a/githubkit/versions/v2022_11_28/rest/copilot.py +++ b/githubkit/versions/v2022_11_28/rest/copilot.py @@ -36,18 +36,18 @@ OrgsOrgCopilotBillingSelectedUsersPostResponse201, ) from ..types import ( - CopilotOrganizationDetailsType, - CopilotSeatDetailsType, - CopilotUsageMetricsDayType, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + CopilotOrganizationDetailsTypeForResponse, + CopilotSeatDetailsTypeForResponse, + CopilotUsageMetricsDayTypeForResponse, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedTeamsPostBodyType, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, OrgsOrgCopilotBillingSelectedUsersPostBodyType, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ) @@ -72,7 +72,9 @@ def get_copilot_organization_details( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotOrganizationDetails, CopilotOrganizationDetailsType]: + ) -> Response[ + CopilotOrganizationDetails, CopilotOrganizationDetailsTypeForResponse + ]: """copilot/get-copilot-organization-details GET /orgs/{org}/copilot/billing @@ -117,7 +119,9 @@ async def async_get_copilot_organization_details( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotOrganizationDetails, CopilotOrganizationDetailsType]: + ) -> Response[ + CopilotOrganizationDetails, CopilotOrganizationDetailsTypeForResponse + ]: """copilot/get-copilot-organization-details GET /orgs/{org}/copilot/billing @@ -166,7 +170,7 @@ def list_copilot_seats( stream: bool = False, ) -> Response[ OrgsOrgCopilotBillingSeatsGetResponse200, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats @@ -222,7 +226,7 @@ async def async_list_copilot_seats( stream: bool = False, ) -> Response[ OrgsOrgCopilotBillingSeatsGetResponse200, - OrgsOrgCopilotBillingSeatsGetResponse200Type, + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, ]: """copilot/list-copilot-seats @@ -278,7 +282,7 @@ def add_copilot_seats_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -292,7 +296,7 @@ def add_copilot_seats_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_teams( @@ -305,7 +309,7 @@ def add_copilot_seats_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-teams @@ -374,7 +378,7 @@ async def async_add_copilot_seats_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... @overload @@ -388,7 +392,7 @@ async def async_add_copilot_seats_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_teams( @@ -401,7 +405,7 @@ async def async_add_copilot_seats_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsPostResponse201, - OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-teams @@ -470,7 +474,7 @@ def cancel_copilot_seat_assignment_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -484,7 +488,7 @@ def cancel_copilot_seat_assignment_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seat_assignment_for_teams( @@ -497,7 +501,7 @@ def cancel_copilot_seat_assignment_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-teams @@ -565,7 +569,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( data: OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... @overload @@ -579,7 +583,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( selected_teams: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seat_assignment_for_teams( @@ -592,7 +596,7 @@ async def async_cancel_copilot_seat_assignment_for_teams( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200, - OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-teams @@ -660,7 +664,7 @@ def add_copilot_seats_for_users( data: OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -674,7 +678,7 @@ def add_copilot_seats_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... def add_copilot_seats_for_users( @@ -687,7 +691,7 @@ def add_copilot_seats_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-users @@ -756,7 +760,7 @@ async def async_add_copilot_seats_for_users( data: OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... @overload @@ -770,7 +774,7 @@ async def async_add_copilot_seats_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: ... async def async_add_copilot_seats_for_users( @@ -783,7 +787,7 @@ async def async_add_copilot_seats_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersPostResponse201, - OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, ]: """copilot/add-copilot-seats-for-users @@ -852,7 +856,7 @@ def cancel_copilot_seat_assignment_for_users( data: OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -866,7 +870,7 @@ def cancel_copilot_seat_assignment_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... def cancel_copilot_seat_assignment_for_users( @@ -879,7 +883,7 @@ def cancel_copilot_seat_assignment_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-users @@ -947,7 +951,7 @@ async def async_cancel_copilot_seat_assignment_for_users( data: OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... @overload @@ -961,7 +965,7 @@ async def async_cancel_copilot_seat_assignment_for_users( selected_usernames: list[str], ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: ... async def async_cancel_copilot_seat_assignment_for_users( @@ -974,7 +978,7 @@ async def async_cancel_copilot_seat_assignment_for_users( **kwargs, ) -> Response[ OrgsOrgCopilotBillingSelectedUsersDeleteResponse200, - OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, ]: """copilot/cancel-copilot-seat-assignment-for-users @@ -1042,7 +1046,9 @@ def copilot_metrics_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-organization GET /orgs/{org}/copilot/metrics @@ -1102,7 +1108,9 @@ async def async_copilot_metrics_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-organization GET /orgs/{org}/copilot/metrics @@ -1159,7 +1167,7 @@ def get_copilot_seat_details_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotSeatDetails, CopilotSeatDetailsType]: + ) -> Response[CopilotSeatDetails, CopilotSeatDetailsTypeForResponse]: """copilot/get-copilot-seat-details-for-user GET /orgs/{org}/members/{username}/copilot @@ -1206,7 +1214,7 @@ async def async_get_copilot_seat_details_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CopilotSeatDetails, CopilotSeatDetailsType]: + ) -> Response[CopilotSeatDetails, CopilotSeatDetailsTypeForResponse]: """copilot/get-copilot-seat-details-for-user GET /orgs/{org}/members/{username}/copilot @@ -1257,7 +1265,9 @@ def copilot_metrics_for_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-team GET /orgs/{org}/team/{team_slug}/copilot/metrics @@ -1318,7 +1328,9 @@ async def async_copilot_metrics_for_team( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayType]]: + ) -> Response[ + list[CopilotUsageMetricsDay], list[CopilotUsageMetricsDayTypeForResponse] + ]: """copilot/copilot-metrics-for-team GET /orgs/{org}/team/{team_slug}/copilot/metrics diff --git a/githubkit/versions/v2022_11_28/rest/credentials.py b/githubkit/versions/v2022_11_28/rest/credentials.py index 68161b763..91becb183 100644 --- a/githubkit/versions/v2022_11_28/rest/credentials.py +++ b/githubkit/versions/v2022_11_28/rest/credentials.py @@ -25,7 +25,7 @@ from ..models import AppHookDeliveriesDeliveryIdAttemptsPostResponse202 from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, CredentialsRevokePostBodyType, ) @@ -54,7 +54,7 @@ def revoke( data: CredentialsRevokePostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -67,7 +67,7 @@ def revoke( credentials: list[str], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def revoke( @@ -79,7 +79,7 @@ def revoke( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """credentials/revoke @@ -144,7 +144,7 @@ async def async_revoke( data: CredentialsRevokePostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -157,7 +157,7 @@ async def async_revoke( credentials: list[str], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_revoke( @@ -169,7 +169,7 @@ async def async_revoke( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """credentials/revoke diff --git a/githubkit/versions/v2022_11_28/rest/dependabot.py b/githubkit/versions/v2022_11_28/rest/dependabot.py index 4c671407b..0ee28441f 100644 --- a/githubkit/versions/v2022_11_28/rest/dependabot.py +++ b/githubkit/versions/v2022_11_28/rest/dependabot.py @@ -40,21 +40,21 @@ ReposOwnerRepoDependabotSecretsGetResponse200, ) from ..types import ( - DependabotAlertType, - DependabotAlertWithRepositoryType, - DependabotPublicKeyType, - DependabotRepositoryAccessDetailsType, - DependabotSecretType, - EmptyObjectType, - OrganizationDependabotSecretType, + DependabotAlertTypeForResponse, + DependabotAlertWithRepositoryTypeForResponse, + DependabotPublicKeyTypeForResponse, + DependabotRepositoryAccessDetailsTypeForResponse, + DependabotSecretTypeForResponse, + EmptyObjectTypeForResponse, + OrganizationDependabotSecretTypeForResponse, OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType, OrganizationsOrgDependabotRepositoryAccessPatchBodyType, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, OrgsOrgDependabotSecretsSecretNamePutBodyType, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType, ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, ) @@ -93,7 +93,8 @@ def list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-enterprise @@ -168,7 +169,8 @@ async def async_list_alerts_for_enterprise( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-enterprise @@ -233,7 +235,8 @@ def repository_access_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - DependabotRepositoryAccessDetails, DependabotRepositoryAccessDetailsType + DependabotRepositoryAccessDetails, + DependabotRepositoryAccessDetailsTypeForResponse, ]: """dependabot/repository-access-for-org @@ -280,7 +283,8 @@ async def async_repository_access_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - DependabotRepositoryAccessDetails, DependabotRepositoryAccessDetailsType + DependabotRepositoryAccessDetails, + DependabotRepositoryAccessDetailsTypeForResponse, ]: """dependabot/repository-access-for-org @@ -666,7 +670,8 @@ def list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-org @@ -746,7 +751,8 @@ async def async_list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[DependabotAlertWithRepository], list[DependabotAlertWithRepositoryType] + list[DependabotAlertWithRepository], + list[DependabotAlertWithRepositoryTypeForResponse], ]: """dependabot/list-alerts-for-org @@ -814,7 +820,7 @@ def list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsGetResponse200, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-org-secrets @@ -858,7 +864,7 @@ async def async_list_org_secrets( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsGetResponse200, - OrgsOrgDependabotSecretsGetResponse200Type, + OrgsOrgDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-org-secrets @@ -898,7 +904,7 @@ def get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-org-public-key GET /orgs/{org}/dependabot/secrets/public-key @@ -931,7 +937,7 @@ async def async_get_org_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-org-public-key GET /orgs/{org}/dependabot/secrets/public-key @@ -965,7 +971,9 @@ def get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationDependabotSecret, OrganizationDependabotSecretType]: + ) -> Response[ + OrganizationDependabotSecret, OrganizationDependabotSecretTypeForResponse + ]: """dependabot/get-org-secret GET /orgs/{org}/dependabot/secrets/{secret_name} @@ -998,7 +1006,9 @@ async def async_get_org_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationDependabotSecret, OrganizationDependabotSecretType]: + ) -> Response[ + OrganizationDependabotSecret, OrganizationDependabotSecretTypeForResponse + ]: """dependabot/get-org-secret GET /orgs/{org}/dependabot/secrets/{secret_name} @@ -1033,7 +1043,7 @@ def create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_org_secret( @@ -1048,7 +1058,7 @@ def create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_org_secret( self, @@ -1059,7 +1069,7 @@ def create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-org-secret PUT /orgs/{org}/dependabot/secrets/{secret_name} @@ -1105,7 +1115,7 @@ async def async_create_or_update_org_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_org_secret( @@ -1120,7 +1130,7 @@ async def async_create_or_update_org_secret( key_id: Missing[str] = UNSET, visibility: Literal["all", "private", "selected"], selected_repository_ids: Missing[list[Union[int, str]]] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_org_secret( self, @@ -1131,7 +1141,7 @@ async def async_create_or_update_org_secret( stream: bool = False, data: Missing[OrgsOrgDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-org-secret PUT /orgs/{org}/dependabot/secrets/{secret_name} @@ -1239,7 +1249,7 @@ def list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """dependabot/list-selected-repos-for-org-secret @@ -1286,7 +1296,7 @@ async def async_list_selected_repos_for_org_secret( stream: bool = False, ) -> Response[ OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200, - OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, ]: """dependabot/list-selected-repos-for-org-secret @@ -1632,7 +1642,7 @@ def list_alerts_for_repo( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependabotAlert], list[DependabotAlertType]]: + ) -> Response[list[DependabotAlert], list[DependabotAlertTypeForResponse]]: """dependabot/list-alerts-for-repo GET /repos/{owner}/{repo}/dependabot/alerts @@ -1699,7 +1709,7 @@ async def async_list_alerts_for_repo( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependabotAlert], list[DependabotAlertType]]: + ) -> Response[list[DependabotAlert], list[DependabotAlertTypeForResponse]]: """dependabot/list-alerts-for-repo GET /repos/{owner}/{repo}/dependabot/alerts @@ -1754,7 +1764,7 @@ def get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/get-alert GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1790,7 +1800,7 @@ async def async_get_alert( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/get-alert GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1828,7 +1838,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... @overload def update_alert( @@ -1851,7 +1861,7 @@ def update_alert( ] ] = UNSET, dismissed_comment: Missing[str] = UNSET, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... def update_alert( self, @@ -1863,7 +1873,7 @@ def update_alert( stream: bool = False, data: Missing[ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/update-alert PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -1923,7 +1933,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -1946,7 +1956,7 @@ async def async_update_alert( ] ] = UNSET, dismissed_comment: Missing[str] = UNSET, - ) -> Response[DependabotAlert, DependabotAlertType]: ... + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: ... async def async_update_alert( self, @@ -1958,7 +1968,7 @@ async def async_update_alert( stream: bool = False, data: Missing[ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[DependabotAlert, DependabotAlertType]: + ) -> Response[DependabotAlert, DependabotAlertTypeForResponse]: """dependabot/update-alert PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number} @@ -2019,7 +2029,7 @@ def list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoDependabotSecretsGetResponse200, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-repo-secrets @@ -2064,7 +2074,7 @@ async def async_list_repo_secrets( stream: bool = False, ) -> Response[ ReposOwnerRepoDependabotSecretsGetResponse200, - ReposOwnerRepoDependabotSecretsGetResponse200Type, + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, ]: """dependabot/list-repo-secrets @@ -2105,7 +2115,7 @@ def get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-repo-public-key GET /repos/{owner}/{repo}/dependabot/secrets/public-key @@ -2140,7 +2150,7 @@ async def async_get_repo_public_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotPublicKey, DependabotPublicKeyType]: + ) -> Response[DependabotPublicKey, DependabotPublicKeyTypeForResponse]: """dependabot/get-repo-public-key GET /repos/{owner}/{repo}/dependabot/secrets/public-key @@ -2176,7 +2186,7 @@ def get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotSecret, DependabotSecretType]: + ) -> Response[DependabotSecret, DependabotSecretTypeForResponse]: """dependabot/get-repo-secret GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2210,7 +2220,7 @@ async def async_get_repo_secret( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependabotSecret, DependabotSecretType]: + ) -> Response[DependabotSecret, DependabotSecretTypeForResponse]: """dependabot/get-repo-secret GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2246,7 +2256,7 @@ def create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def create_or_update_repo_secret( @@ -2260,7 +2270,7 @@ def create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def create_or_update_repo_secret( self, @@ -2272,7 +2282,7 @@ def create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-repo-secret PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name} @@ -2324,7 +2334,7 @@ async def async_create_or_update_repo_secret( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_create_or_update_repo_secret( @@ -2338,7 +2348,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, encrypted_value: Missing[str] = UNSET, key_id: Missing[str] = UNSET, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_create_or_update_repo_secret( self, @@ -2350,7 +2360,7 @@ async def async_create_or_update_repo_secret( stream: bool = False, data: Missing[ReposOwnerRepoDependabotSecretsSecretNamePutBodyType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """dependabot/create-or-update-repo-secret PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name} diff --git a/githubkit/versions/v2022_11_28/rest/dependency_graph.py b/githubkit/versions/v2022_11_28/rest/dependency_graph.py index f6a17bdb5..595fa2588 100644 --- a/githubkit/versions/v2022_11_28/rest/dependency_graph.py +++ b/githubkit/versions/v2022_11_28/rest/dependency_graph.py @@ -33,10 +33,10 @@ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, ) from ..types import ( - DependencyGraphDiffItemsType, - DependencyGraphSpdxSbomType, + DependencyGraphDiffItemsTypeForResponse, + DependencyGraphSpdxSbomTypeForResponse, MetadataType, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, SnapshotPropDetectorType, SnapshotPropJobType, SnapshotPropManifestsType, @@ -68,7 +68,9 @@ def diff_range( name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsType]]: + ) -> Response[ + list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsTypeForResponse] + ]: """dependency-graph/diff-range GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead} @@ -110,7 +112,9 @@ async def async_diff_range( name: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsType]]: + ) -> Response[ + list[DependencyGraphDiffItems], list[DependencyGraphDiffItemsTypeForResponse] + ]: """dependency-graph/diff-range GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead} @@ -150,7 +154,7 @@ def export_sbom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomType]: + ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomTypeForResponse]: """dependency-graph/export-sbom GET /repos/{owner}/{repo}/dependency-graph/sbom @@ -185,7 +189,7 @@ async def async_export_sbom( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomType]: + ) -> Response[DependencyGraphSpdxSbom, DependencyGraphSpdxSbomTypeForResponse]: """dependency-graph/export-sbom GET /repos/{owner}/{repo}/dependency-graph/sbom @@ -224,7 +228,7 @@ def create_repository_snapshot( data: SnapshotType, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... @overload @@ -246,7 +250,7 @@ def create_repository_snapshot( scanned: datetime, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... def create_repository_snapshot( @@ -260,7 +264,7 @@ def create_repository_snapshot( **kwargs, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: """dependency-graph/create-repository-snapshot @@ -313,7 +317,7 @@ async def async_create_repository_snapshot( data: SnapshotType, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... @overload @@ -335,7 +339,7 @@ async def async_create_repository_snapshot( scanned: datetime, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: ... async def async_create_repository_snapshot( @@ -349,7 +353,7 @@ async def async_create_repository_snapshot( **kwargs, ) -> Response[ ReposOwnerRepoDependencyGraphSnapshotsPostResponse201, - ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, ]: """dependency-graph/create-repository-snapshot diff --git a/githubkit/versions/v2022_11_28/rest/emojis.py b/githubkit/versions/v2022_11_28/rest/emojis.py index 6a3a32cc5..afa77d541 100644 --- a/githubkit/versions/v2022_11_28/rest/emojis.py +++ b/githubkit/versions/v2022_11_28/rest/emojis.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import EmojisGetResponse200 - from ..types import EmojisGetResponse200Type + from ..types import EmojisGetResponse200TypeForResponse class EmojisClient: @@ -43,7 +43,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmojisGetResponse200, EmojisGetResponse200Type]: + ) -> Response[EmojisGetResponse200, EmojisGetResponse200TypeForResponse]: """emojis/get GET /emojis @@ -72,7 +72,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EmojisGetResponse200, EmojisGetResponse200Type]: + ) -> Response[EmojisGetResponse200, EmojisGetResponse200TypeForResponse]: """emojis/get GET /emojis diff --git a/githubkit/versions/v2022_11_28/rest/enterprise_team_memberships.py b/githubkit/versions/v2022_11_28/rest/enterprise_team_memberships.py index 0a63467ae..19714800e 100644 --- a/githubkit/versions/v2022_11_28/rest/enterprise_team_memberships.py +++ b/githubkit/versions/v2022_11_28/rest/enterprise_team_memberships.py @@ -29,7 +29,7 @@ from ..types import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - SimpleUserType, + SimpleUserTypeForResponse, ) @@ -57,7 +57,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/list GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships @@ -96,7 +96,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/list GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships @@ -135,7 +135,7 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def bulk_add( @@ -147,7 +147,7 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def bulk_add( self, @@ -160,7 +160,7 @@ def bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add @@ -208,7 +208,7 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_bulk_add( @@ -220,7 +220,7 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_bulk_add( self, @@ -233,7 +233,7 @@ async def async_bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add @@ -281,7 +281,7 @@ def bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def bulk_remove( @@ -293,7 +293,7 @@ def bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def bulk_remove( self, @@ -306,7 +306,7 @@ def bulk_remove( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-remove POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove @@ -354,7 +354,7 @@ async def async_bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_bulk_remove( @@ -366,7 +366,7 @@ async def async_bulk_remove( headers: Optional[Mapping[str, str]] = None, stream: bool = False, usernames: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_bulk_remove( self, @@ -379,7 +379,7 @@ async def async_bulk_remove( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """enterprise-team-memberships/bulk-remove POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove @@ -426,7 +426,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/get GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -460,7 +460,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/get GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -494,7 +494,7 @@ def add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} @@ -528,7 +528,7 @@ async def async_add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SimpleUser, SimpleUserType]: + ) -> Response[SimpleUser, SimpleUserTypeForResponse]: """enterprise-team-memberships/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username} diff --git a/githubkit/versions/v2022_11_28/rest/enterprise_team_organizations.py b/githubkit/versions/v2022_11_28/rest/enterprise_team_organizations.py index dec27b6bd..4f5bf7273 100644 --- a/githubkit/versions/v2022_11_28/rest/enterprise_team_organizations.py +++ b/githubkit/versions/v2022_11_28/rest/enterprise_team_organizations.py @@ -29,7 +29,7 @@ from ..types import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType, - OrganizationSimpleType, + OrganizationSimpleTypeForResponse, ) @@ -57,7 +57,7 @@ def get_assignments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/get-assignments GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations @@ -96,7 +96,7 @@ async def async_get_assignments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/get-assignments GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations @@ -135,7 +135,9 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... @overload def bulk_add( @@ -147,7 +149,9 @@ def bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, organization_slugs: list[str], - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... def bulk_add( self, @@ -160,7 +164,7 @@ def bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add @@ -208,7 +212,9 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... @overload async def async_bulk_add( @@ -220,7 +226,9 @@ async def async_bulk_add( headers: Optional[Mapping[str, str]] = None, stream: bool = False, organization_slugs: list[str], - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: ... + ) -> Response[ + list[OrganizationSimple], list[OrganizationSimpleTypeForResponse] + ]: ... async def async_bulk_add( self, @@ -233,7 +241,7 @@ async def async_bulk_add( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """enterprise-team-organizations/bulk-add POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add @@ -424,7 +432,7 @@ def get_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/get-assignment GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -457,7 +465,7 @@ async def async_get_assignment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/get-assignment GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -490,7 +498,7 @@ def add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} @@ -522,7 +530,7 @@ async def async_add( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationSimple, OrganizationSimpleType]: + ) -> Response[OrganizationSimple, OrganizationSimpleTypeForResponse]: """enterprise-team-organizations/add PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org} diff --git a/githubkit/versions/v2022_11_28/rest/enterprise_teams.py b/githubkit/versions/v2022_11_28/rest/enterprise_teams.py index 674176dbf..1bed37123 100644 --- a/githubkit/versions/v2022_11_28/rest/enterprise_teams.py +++ b/githubkit/versions/v2022_11_28/rest/enterprise_teams.py @@ -31,7 +31,7 @@ from ..types import ( EnterprisesEnterpriseTeamsPostBodyType, EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - EnterpriseTeamType, + EnterpriseTeamTypeForResponse, ) @@ -58,7 +58,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-teams/list GET /enterprises/{enterprise}/teams @@ -99,7 +99,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamType]]: + ) -> Response[list[EnterpriseTeam], list[EnterpriseTeamTypeForResponse]]: """enterprise-teams/list GET /enterprises/{enterprise}/teams @@ -140,7 +140,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsPostBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload def create( @@ -157,7 +157,7 @@ def create( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... def create( self, @@ -167,7 +167,7 @@ def create( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/create POST /enterprises/{enterprise}/teams @@ -209,7 +209,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsPostBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload async def async_create( @@ -226,7 +226,7 @@ async def async_create( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... async def async_create( self, @@ -236,7 +236,7 @@ async def async_create( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/create POST /enterprises/{enterprise}/teams @@ -277,7 +277,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/get GET /enterprises/{enterprise}/teams/{team_slug} @@ -311,7 +311,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/get GET /enterprises/{enterprise}/teams/{team_slug} @@ -417,7 +417,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload def update( @@ -435,7 +435,7 @@ def update( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... def update( self, @@ -446,7 +446,7 @@ def update( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/update PATCH /enterprises/{enterprise}/teams/{team_slug} @@ -498,7 +498,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... @overload async def async_update( @@ -516,7 +516,7 @@ async def async_update( Literal["disabled", "selected", "all"] ] = UNSET, group_id: Missing[Union[str, None]] = UNSET, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: ... + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: ... async def async_update( self, @@ -527,7 +527,7 @@ async def async_update( stream: bool = False, data: Missing[EnterprisesEnterpriseTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[EnterpriseTeam, EnterpriseTeamType]: + ) -> Response[EnterpriseTeam, EnterpriseTeamTypeForResponse]: """enterprise-teams/update PATCH /enterprises/{enterprise}/teams/{team_slug} diff --git a/githubkit/versions/v2022_11_28/rest/gists.py b/githubkit/versions/v2022_11_28/rest/gists.py index 41cdad564..346d45876 100644 --- a/githubkit/versions/v2022_11_28/rest/gists.py +++ b/githubkit/versions/v2022_11_28/rest/gists.py @@ -30,14 +30,14 @@ from ..models import BaseGist, GistComment, GistCommit, GistSimple from ..types import ( - BaseGistType, - GistCommentType, - GistCommitType, + BaseGistTypeForResponse, + GistCommentTypeForResponse, + GistCommitTypeForResponse, GistsGistIdCommentsCommentIdPatchBodyType, GistsGistIdCommentsPostBodyType, GistsGistIdPatchBodyPropFilesType, GistsGistIdPatchBodyType, - GistSimpleType, + GistSimpleTypeForResponse, GistsPostBodyPropFilesType, GistsPostBodyType, ) @@ -66,7 +66,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list GET /gists @@ -108,7 +108,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list GET /gists @@ -149,7 +149,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsPostBodyType, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload def create( @@ -161,7 +161,7 @@ def create( description: Missing[str] = UNSET, files: GistsPostBodyPropFilesType, public: Missing[Union[bool, Literal["true", "false"]]] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... def create( self, @@ -170,7 +170,7 @@ def create( stream: bool = False, data: Missing[GistsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/create POST /gists @@ -219,7 +219,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsPostBodyType, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload async def async_create( @@ -231,7 +231,7 @@ async def async_create( description: Missing[str] = UNSET, files: GistsPostBodyPropFilesType, public: Missing[Union[bool, Literal["true", "false"]]] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... async def async_create( self, @@ -240,7 +240,7 @@ async def async_create( stream: bool = False, data: Missing[GistsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/create POST /gists @@ -290,7 +290,7 @@ def list_public( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-public GET /gists/public @@ -335,7 +335,7 @@ async def async_list_public( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-public GET /gists/public @@ -380,7 +380,7 @@ def list_starred( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-starred GET /gists/starred @@ -423,7 +423,7 @@ async def async_list_starred( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-starred GET /gists/starred @@ -464,7 +464,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get GET /gists/{gist_id} @@ -503,7 +503,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get GET /gists/{gist_id} @@ -606,7 +606,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[GistsGistIdPatchBodyType, None], - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload def update( @@ -618,7 +618,7 @@ def update( stream: bool = False, description: Missing[str] = UNSET, files: Missing[GistsGistIdPatchBodyPropFilesType] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... def update( self, @@ -628,7 +628,7 @@ def update( stream: bool = False, data: Missing[Union[GistsGistIdPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/update PATCH /gists/{gist_id} @@ -690,7 +690,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Union[GistsGistIdPatchBodyType, None], - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... @overload async def async_update( @@ -702,7 +702,7 @@ async def async_update( stream: bool = False, description: Missing[str] = UNSET, files: Missing[GistsGistIdPatchBodyPropFilesType] = UNSET, - ) -> Response[GistSimple, GistSimpleType]: ... + ) -> Response[GistSimple, GistSimpleTypeForResponse]: ... async def async_update( self, @@ -712,7 +712,7 @@ async def async_update( stream: bool = False, data: Missing[Union[GistsGistIdPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/update PATCH /gists/{gist_id} @@ -774,7 +774,7 @@ def list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistComment], list[GistCommentType]]: + ) -> Response[list[GistComment], list[GistCommentTypeForResponse]]: """gists/list-comments GET /gists/{gist_id}/comments @@ -821,7 +821,7 @@ async def async_list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistComment], list[GistCommentType]]: + ) -> Response[list[GistComment], list[GistCommentTypeForResponse]]: """gists/list-comments GET /gists/{gist_id}/comments @@ -868,7 +868,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsPostBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload def create_comment( @@ -879,7 +879,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... def create_comment( self, @@ -889,7 +889,7 @@ def create_comment( stream: bool = False, data: Missing[GistsGistIdCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/create-comment POST /gists/{gist_id}/comments @@ -940,7 +940,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsPostBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload async def async_create_comment( @@ -951,7 +951,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... async def async_create_comment( self, @@ -961,7 +961,7 @@ async def async_create_comment( stream: bool = False, data: Missing[GistsGistIdCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/create-comment POST /gists/{gist_id}/comments @@ -1011,7 +1011,7 @@ def get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/get-comment GET /gists/{gist_id}/comments/{comment_id} @@ -1051,7 +1051,7 @@ async def async_get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/get-comment GET /gists/{gist_id}/comments/{comment_id} @@ -1157,7 +1157,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsCommentIdPatchBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload def update_comment( @@ -1169,7 +1169,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... def update_comment( self, @@ -1180,7 +1180,7 @@ def update_comment( stream: bool = False, data: Missing[GistsGistIdCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/update-comment PATCH /gists/{gist_id}/comments/{comment_id} @@ -1235,7 +1235,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: GistsGistIdCommentsCommentIdPatchBodyType, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... @overload async def async_update_comment( @@ -1247,7 +1247,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[GistComment, GistCommentType]: ... + ) -> Response[GistComment, GistCommentTypeForResponse]: ... async def async_update_comment( self, @@ -1258,7 +1258,7 @@ async def async_update_comment( stream: bool = False, data: Missing[GistsGistIdCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[GistComment, GistCommentType]: + ) -> Response[GistComment, GistCommentTypeForResponse]: """gists/update-comment PATCH /gists/{gist_id}/comments/{comment_id} @@ -1312,7 +1312,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistCommit], list[GistCommitType]]: + ) -> Response[list[GistCommit], list[GistCommitTypeForResponse]]: """gists/list-commits GET /gists/{gist_id}/commits @@ -1352,7 +1352,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistCommit], list[GistCommitType]]: + ) -> Response[list[GistCommit], list[GistCommitTypeForResponse]]: """gists/list-commits GET /gists/{gist_id}/commits @@ -1392,7 +1392,7 @@ def list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistSimple], list[GistSimpleType]]: + ) -> Response[list[GistSimple], list[GistSimpleTypeForResponse]]: """gists/list-forks GET /gists/{gist_id}/forks @@ -1432,7 +1432,7 @@ async def async_list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GistSimple], list[GistSimpleType]]: + ) -> Response[list[GistSimple], list[GistSimpleTypeForResponse]]: """gists/list-forks GET /gists/{gist_id}/forks @@ -1470,7 +1470,7 @@ def fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BaseGist, BaseGistType]: + ) -> Response[BaseGist, BaseGistTypeForResponse]: """gists/fork POST /gists/{gist_id}/forks @@ -1503,7 +1503,7 @@ async def async_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BaseGist, BaseGistType]: + ) -> Response[BaseGist, BaseGistTypeForResponse]: """gists/fork POST /gists/{gist_id}/forks @@ -1727,7 +1727,7 @@ def get_revision( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get-revision GET /gists/{gist_id}/{sha} @@ -1768,7 +1768,7 @@ async def async_get_revision( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GistSimple, GistSimpleType]: + ) -> Response[GistSimple, GistSimpleTypeForResponse]: """gists/get-revision GET /gists/{gist_id}/{sha} @@ -1811,7 +1811,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-for-user GET /users/{username}/gists @@ -1854,7 +1854,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BaseGist], list[BaseGistType]]: + ) -> Response[list[BaseGist], list[BaseGistTypeForResponse]]: """gists/list-for-user GET /users/{username}/gists diff --git a/githubkit/versions/v2022_11_28/rest/git.py b/githubkit/versions/v2022_11_28/rest/git.py index 23c50b365..75cc2bdb8 100644 --- a/githubkit/versions/v2022_11_28/rest/git.py +++ b/githubkit/versions/v2022_11_28/rest/git.py @@ -29,11 +29,11 @@ from ..models import Blob, GitCommit, GitRef, GitTag, GitTree, ShortBlob from ..types import ( - BlobType, - GitCommitType, - GitRefType, - GitTagType, - GitTreeType, + BlobTypeForResponse, + GitCommitTypeForResponse, + GitRefTypeForResponse, + GitTagTypeForResponse, + GitTreeTypeForResponse, ReposOwnerRepoGitBlobsPostBodyType, ReposOwnerRepoGitCommitsPostBodyPropAuthorType, ReposOwnerRepoGitCommitsPostBodyPropCommitterType, @@ -44,7 +44,7 @@ ReposOwnerRepoGitTagsPostBodyType, ReposOwnerRepoGitTreesPostBodyPropTreeItemsType, ReposOwnerRepoGitTreesPostBodyType, - ShortBlobType, + ShortBlobTypeForResponse, ) @@ -72,7 +72,7 @@ def create_blob( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitBlobsPostBodyType, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... @overload def create_blob( @@ -85,7 +85,7 @@ def create_blob( stream: bool = False, content: str, encoding: Missing[str] = UNSET, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... def create_blob( self, @@ -96,7 +96,7 @@ def create_blob( stream: bool = False, data: Missing[ReposOwnerRepoGitBlobsPostBodyType] = UNSET, **kwargs, - ) -> Response[ShortBlob, ShortBlobType]: + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: """git/create-blob POST /repos/{owner}/{repo}/git/blobs @@ -151,7 +151,7 @@ async def async_create_blob( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitBlobsPostBodyType, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... @overload async def async_create_blob( @@ -164,7 +164,7 @@ async def async_create_blob( stream: bool = False, content: str, encoding: Missing[str] = UNSET, - ) -> Response[ShortBlob, ShortBlobType]: ... + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: ... async def async_create_blob( self, @@ -175,7 +175,7 @@ async def async_create_blob( stream: bool = False, data: Missing[ReposOwnerRepoGitBlobsPostBodyType] = UNSET, **kwargs, - ) -> Response[ShortBlob, ShortBlobType]: + ) -> Response[ShortBlob, ShortBlobTypeForResponse]: """git/create-blob POST /repos/{owner}/{repo}/git/blobs @@ -229,7 +229,7 @@ def get_blob( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Blob, BlobType]: + ) -> Response[Blob, BlobTypeForResponse]: """git/get-blob GET /repos/{owner}/{repo}/git/blobs/{file_sha} @@ -274,7 +274,7 @@ async def async_get_blob( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Blob, BlobType]: + ) -> Response[Blob, BlobTypeForResponse]: """git/get-blob GET /repos/{owner}/{repo}/git/blobs/{file_sha} @@ -320,7 +320,7 @@ def create_commit( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitCommitsPostBodyType, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... @overload def create_commit( @@ -337,7 +337,7 @@ def create_commit( author: Missing[ReposOwnerRepoGitCommitsPostBodyPropAuthorType] = UNSET, committer: Missing[ReposOwnerRepoGitCommitsPostBodyPropCommitterType] = UNSET, signature: Missing[str] = UNSET, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... def create_commit( self, @@ -348,7 +348,7 @@ def create_commit( stream: bool = False, data: Missing[ReposOwnerRepoGitCommitsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/create-commit POST /repos/{owner}/{repo}/git/commits @@ -431,7 +431,7 @@ async def async_create_commit( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitCommitsPostBodyType, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... @overload async def async_create_commit( @@ -448,7 +448,7 @@ async def async_create_commit( author: Missing[ReposOwnerRepoGitCommitsPostBodyPropAuthorType] = UNSET, committer: Missing[ReposOwnerRepoGitCommitsPostBodyPropCommitterType] = UNSET, signature: Missing[str] = UNSET, - ) -> Response[GitCommit, GitCommitType]: ... + ) -> Response[GitCommit, GitCommitTypeForResponse]: ... async def async_create_commit( self, @@ -459,7 +459,7 @@ async def async_create_commit( stream: bool = False, data: Missing[ReposOwnerRepoGitCommitsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/create-commit POST /repos/{owner}/{repo}/git/commits @@ -541,7 +541,7 @@ def get_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/get-commit GET /repos/{owner}/{repo}/git/commits/{commit_sha} @@ -609,7 +609,7 @@ async def async_get_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitCommit, GitCommitType]: + ) -> Response[GitCommit, GitCommitTypeForResponse]: """git/get-commit GET /repos/{owner}/{repo}/git/commits/{commit_sha} @@ -677,7 +677,7 @@ def list_matching_refs( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GitRef], list[GitRefType]]: + ) -> Response[list[GitRef], list[GitRefTypeForResponse]]: """git/list-matching-refs GET /repos/{owner}/{repo}/git/matching-refs/{ref} @@ -719,7 +719,7 @@ async def async_list_matching_refs( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GitRef], list[GitRefType]]: + ) -> Response[list[GitRef], list[GitRefTypeForResponse]]: """git/list-matching-refs GET /repos/{owner}/{repo}/git/matching-refs/{ref} @@ -761,7 +761,7 @@ def get_ref( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/get-ref GET /repos/{owner}/{repo}/git/ref/{ref} @@ -800,7 +800,7 @@ async def async_get_ref( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/get-ref GET /repos/{owner}/{repo}/git/ref/{ref} @@ -840,7 +840,7 @@ def create_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsPostBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload def create_ref( @@ -853,7 +853,7 @@ def create_ref( stream: bool = False, ref: str, sha: str, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... def create_ref( self, @@ -864,7 +864,7 @@ def create_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/create-ref POST /repos/{owner}/{repo}/git/refs @@ -916,7 +916,7 @@ async def async_create_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsPostBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload async def async_create_ref( @@ -929,7 +929,7 @@ async def async_create_ref( stream: bool = False, ref: str, sha: str, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... async def async_create_ref( self, @@ -940,7 +940,7 @@ async def async_create_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/create-ref POST /repos/{owner}/{repo}/git/refs @@ -1061,7 +1061,7 @@ def update_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsRefPatchBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload def update_ref( @@ -1075,7 +1075,7 @@ def update_ref( stream: bool = False, sha: str, force: Missing[bool] = UNSET, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... def update_ref( self, @@ -1087,7 +1087,7 @@ def update_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsRefPatchBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/update-ref PATCH /repos/{owner}/{repo}/git/refs/{ref} @@ -1140,7 +1140,7 @@ async def async_update_ref( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitRefsRefPatchBodyType, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... @overload async def async_update_ref( @@ -1154,7 +1154,7 @@ async def async_update_ref( stream: bool = False, sha: str, force: Missing[bool] = UNSET, - ) -> Response[GitRef, GitRefType]: ... + ) -> Response[GitRef, GitRefTypeForResponse]: ... async def async_update_ref( self, @@ -1166,7 +1166,7 @@ async def async_update_ref( stream: bool = False, data: Missing[ReposOwnerRepoGitRefsRefPatchBodyType] = UNSET, **kwargs, - ) -> Response[GitRef, GitRefType]: + ) -> Response[GitRef, GitRefTypeForResponse]: """git/update-ref PATCH /repos/{owner}/{repo}/git/refs/{ref} @@ -1218,7 +1218,7 @@ def create_tag( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTagsPostBodyType, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... @overload def create_tag( @@ -1234,7 +1234,7 @@ def create_tag( object_: str, type: Literal["commit", "tree", "blob"], tagger: Missing[ReposOwnerRepoGitTagsPostBodyPropTaggerType] = UNSET, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... def create_tag( self, @@ -1245,7 +1245,7 @@ def create_tag( stream: bool = False, data: Missing[ReposOwnerRepoGitTagsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/create-tag POST /repos/{owner}/{repo}/git/tags @@ -1327,7 +1327,7 @@ async def async_create_tag( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTagsPostBodyType, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... @overload async def async_create_tag( @@ -1343,7 +1343,7 @@ async def async_create_tag( object_: str, type: Literal["commit", "tree", "blob"], tagger: Missing[ReposOwnerRepoGitTagsPostBodyPropTaggerType] = UNSET, - ) -> Response[GitTag, GitTagType]: ... + ) -> Response[GitTag, GitTagTypeForResponse]: ... async def async_create_tag( self, @@ -1354,7 +1354,7 @@ async def async_create_tag( stream: bool = False, data: Missing[ReposOwnerRepoGitTagsPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/create-tag POST /repos/{owner}/{repo}/git/tags @@ -1435,7 +1435,7 @@ def get_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/get-tag GET /repos/{owner}/{repo}/git/tags/{tag_sha} @@ -1499,7 +1499,7 @@ async def async_get_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTag, GitTagType]: + ) -> Response[GitTag, GitTagTypeForResponse]: """git/get-tag GET /repos/{owner}/{repo}/git/tags/{tag_sha} @@ -1564,7 +1564,7 @@ def create_tree( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTreesPostBodyType, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... @overload def create_tree( @@ -1577,7 +1577,7 @@ def create_tree( stream: bool = False, tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsType], base_tree: Missing[str] = UNSET, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... def create_tree( self, @@ -1588,7 +1588,7 @@ def create_tree( stream: bool = False, data: Missing[ReposOwnerRepoGitTreesPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/create-tree POST /repos/{owner}/{repo}/git/trees @@ -1646,7 +1646,7 @@ async def async_create_tree( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoGitTreesPostBodyType, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... @overload async def async_create_tree( @@ -1659,7 +1659,7 @@ async def async_create_tree( stream: bool = False, tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsType], base_tree: Missing[str] = UNSET, - ) -> Response[GitTree, GitTreeType]: ... + ) -> Response[GitTree, GitTreeTypeForResponse]: ... async def async_create_tree( self, @@ -1670,7 +1670,7 @@ async def async_create_tree( stream: bool = False, data: Missing[ReposOwnerRepoGitTreesPostBodyType] = UNSET, **kwargs, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/create-tree POST /repos/{owner}/{repo}/git/trees @@ -1728,7 +1728,7 @@ def get_tree( recursive: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/get-tree GET /repos/{owner}/{repo}/git/trees/{tree_sha} @@ -1776,7 +1776,7 @@ async def async_get_tree( recursive: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitTree, GitTreeType]: + ) -> Response[GitTree, GitTreeTypeForResponse]: """git/get-tree GET /repos/{owner}/{repo}/git/trees/{tree_sha} diff --git a/githubkit/versions/v2022_11_28/rest/gitignore.py b/githubkit/versions/v2022_11_28/rest/gitignore.py index 2c141a766..c323fb43e 100644 --- a/githubkit/versions/v2022_11_28/rest/gitignore.py +++ b/githubkit/versions/v2022_11_28/rest/gitignore.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import GitignoreTemplate - from ..types import GitignoreTemplateType + from ..types import GitignoreTemplateTypeForResponse class GitignoreClient: @@ -98,7 +98,7 @@ def get_template( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitignoreTemplate, GitignoreTemplateType]: + ) -> Response[GitignoreTemplate, GitignoreTemplateTypeForResponse]: """gitignore/get-template GET /gitignore/templates/{name} @@ -132,7 +132,7 @@ async def async_get_template( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GitignoreTemplate, GitignoreTemplateType]: + ) -> Response[GitignoreTemplate, GitignoreTemplateTypeForResponse]: """gitignore/get-template GET /gitignore/templates/{name} diff --git a/githubkit/versions/v2022_11_28/rest/hosted_compute.py b/githubkit/versions/v2022_11_28/rest/hosted_compute.py index d746e9fbb..1692c24dd 100644 --- a/githubkit/versions/v2022_11_28/rest/hosted_compute.py +++ b/githubkit/versions/v2022_11_28/rest/hosted_compute.py @@ -33,9 +33,9 @@ OrgsOrgSettingsNetworkConfigurationsGetResponse200, ) from ..types import ( - NetworkConfigurationType, - NetworkSettingsType, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + NetworkConfigurationTypeForResponse, + NetworkSettingsTypeForResponse, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, OrgsOrgSettingsNetworkConfigurationsPostBodyType, ) @@ -66,7 +66,7 @@ def list_network_configurations_for_org( stream: bool = False, ) -> Response[ OrgsOrgSettingsNetworkConfigurationsGetResponse200, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-org @@ -109,7 +109,7 @@ async def async_list_network_configurations_for_org( stream: bool = False, ) -> Response[ OrgsOrgSettingsNetworkConfigurationsGetResponse200, - OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, ]: """hosted-compute/list-network-configurations-for-org @@ -150,7 +150,7 @@ def create_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def create_network_configuration_for_org( @@ -163,7 +163,7 @@ def create_network_configuration_for_org( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def create_network_configuration_for_org( self, @@ -173,7 +173,7 @@ def create_network_configuration_for_org( stream: bool = False, data: Missing[OrgsOrgSettingsNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-org POST /orgs/{org}/settings/network-configurations @@ -222,7 +222,7 @@ async def async_create_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsPostBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_create_network_configuration_for_org( @@ -235,7 +235,7 @@ async def async_create_network_configuration_for_org( name: str, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: list[str], - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_create_network_configuration_for_org( self, @@ -245,7 +245,7 @@ async def async_create_network_configuration_for_org( stream: bool = False, data: Missing[OrgsOrgSettingsNetworkConfigurationsPostBodyType] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/create-network-configuration-for-org POST /orgs/{org}/settings/network-configurations @@ -293,7 +293,7 @@ def get_network_configuration_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-org GET /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -326,7 +326,7 @@ async def async_get_network_configuration_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/get-network-configuration-for-org GET /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -421,7 +421,7 @@ def update_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload def update_network_configuration_for_org( @@ -435,7 +435,7 @@ def update_network_configuration_for_org( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... def update_network_configuration_for_org( self, @@ -448,7 +448,7 @@ def update_network_configuration_for_org( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-org PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -499,7 +499,7 @@ async def async_update_network_configuration_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... @overload async def async_update_network_configuration_for_org( @@ -513,7 +513,7 @@ async def async_update_network_configuration_for_org( name: Missing[str] = UNSET, compute_service: Missing[Literal["none", "actions"]] = UNSET, network_settings_ids: Missing[list[str]] = UNSET, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: ... + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: ... async def async_update_network_configuration_for_org( self, @@ -526,7 +526,7 @@ async def async_update_network_configuration_for_org( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[NetworkConfiguration, NetworkConfigurationType]: + ) -> Response[NetworkConfiguration, NetworkConfigurationTypeForResponse]: """hosted-compute/update-network-configuration-for-org PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id} @@ -575,7 +575,7 @@ def get_network_settings_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-org GET /orgs/{org}/settings/network-settings/{network_settings_id} @@ -608,7 +608,7 @@ async def async_get_network_settings_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[NetworkSettings, NetworkSettingsType]: + ) -> Response[NetworkSettings, NetworkSettingsTypeForResponse]: """hosted-compute/get-network-settings-for-org GET /orgs/{org}/settings/network-settings/{network_settings_id} diff --git a/githubkit/versions/v2022_11_28/rest/interactions.py b/githubkit/versions/v2022_11_28/rest/interactions.py index 2b28351dd..27959f701 100644 --- a/githubkit/versions/v2022_11_28/rest/interactions.py +++ b/githubkit/versions/v2022_11_28/rest/interactions.py @@ -34,11 +34,11 @@ UserInteractionLimitsGetResponse200Anyof1, ) from ..types import ( - InteractionLimitResponseType, + InteractionLimitResponseTypeForResponse, InteractionLimitType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, - UserInteractionLimitsGetResponse200Anyof1Type, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ) @@ -66,8 +66,8 @@ def get_restrictions_for_org( ) -> Response[ Union[InteractionLimitResponse, OrgsOrgInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-org @@ -109,8 +109,8 @@ async def async_get_restrictions_for_org( ) -> Response[ Union[InteractionLimitResponse, OrgsOrgInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, - OrgsOrgInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-org @@ -151,7 +151,9 @@ def set_restrictions_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_org( @@ -165,7 +167,9 @@ def set_restrictions_for_org( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_org( self, @@ -175,7 +179,7 @@ def set_restrictions_for_org( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-org PUT /orgs/{org}/interaction-limits @@ -220,7 +224,9 @@ async def async_set_restrictions_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_org( @@ -234,7 +240,9 @@ async def async_set_restrictions_for_org( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_org( self, @@ -244,7 +252,7 @@ async def async_set_restrictions_for_org( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-org PUT /orgs/{org}/interaction-limits @@ -348,8 +356,8 @@ def get_restrictions_for_repo( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1, ], Union[ - InteractionLimitResponseType, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-repo @@ -396,8 +404,8 @@ async def async_get_restrictions_for_repo( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1, ], Union[ - InteractionLimitResponseType, - ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, + InteractionLimitResponseTypeForResponse, + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-repo @@ -440,7 +448,9 @@ def set_restrictions_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_repo( @@ -455,7 +465,9 @@ def set_restrictions_for_repo( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_repo( self, @@ -466,7 +478,7 @@ def set_restrictions_for_repo( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-repo PUT /repos/{owner}/{repo}/interaction-limits @@ -510,7 +522,9 @@ async def async_set_restrictions_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_repo( @@ -525,7 +539,9 @@ async def async_set_restrictions_for_repo( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_repo( self, @@ -536,7 +552,7 @@ async def async_set_restrictions_for_repo( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-repo PUT /repos/{owner}/{repo}/interaction-limits @@ -637,7 +653,8 @@ def get_restrictions_for_authenticated_user( ) -> Response[ Union[InteractionLimitResponse, UserInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, UserInteractionLimitsGetResponse200Anyof1Type + InteractionLimitResponseTypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-authenticated-user @@ -678,7 +695,8 @@ async def async_get_restrictions_for_authenticated_user( ) -> Response[ Union[InteractionLimitResponse, UserInteractionLimitsGetResponse200Anyof1], Union[ - InteractionLimitResponseType, UserInteractionLimitsGetResponse200Anyof1Type + InteractionLimitResponseTypeForResponse, + UserInteractionLimitsGetResponse200Anyof1TypeForResponse, ], ]: """interactions/get-restrictions-for-authenticated-user @@ -718,7 +736,9 @@ def set_restrictions_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload def set_restrictions_for_authenticated_user( @@ -731,7 +751,9 @@ def set_restrictions_for_authenticated_user( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... def set_restrictions_for_authenticated_user( self, @@ -740,7 +762,7 @@ def set_restrictions_for_authenticated_user( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-authenticated-user PUT /user/interaction-limits @@ -784,7 +806,9 @@ async def async_set_restrictions_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: InteractionLimitType, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... @overload async def async_set_restrictions_for_authenticated_user( @@ -797,7 +821,9 @@ async def async_set_restrictions_for_authenticated_user( expiry: Missing[ Literal["one_day", "three_days", "one_week", "one_month", "six_months"] ] = UNSET, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: ... + ) -> Response[ + InteractionLimitResponse, InteractionLimitResponseTypeForResponse + ]: ... async def async_set_restrictions_for_authenticated_user( self, @@ -806,7 +832,7 @@ async def async_set_restrictions_for_authenticated_user( stream: bool = False, data: Missing[InteractionLimitType] = UNSET, **kwargs, - ) -> Response[InteractionLimitResponse, InteractionLimitResponseType]: + ) -> Response[InteractionLimitResponse, InteractionLimitResponseTypeForResponse]: """interactions/set-restrictions-for-authenticated-user PUT /user/interaction-limits diff --git a/githubkit/versions/v2022_11_28/rest/issues.py b/githubkit/versions/v2022_11_28/rest/issues.py index 8e9917d3b..a4a442198 100644 --- a/githubkit/versions/v2022_11_28/rest/issues.py +++ b/githubkit/versions/v2022_11_28/rest/issues.py @@ -61,21 +61,21 @@ UnlabeledIssueEvent, ) from ..types import ( - AddedToProjectIssueEventType, - AssignedIssueEventType, - ConvertedNoteToIssueIssueEventType, - DemilestonedIssueEventType, - IssueCommentType, - IssueEventType, - IssueType, - LabeledIssueEventType, - LabelType, - LockedIssueEventType, - MilestonedIssueEventType, - MilestoneType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - RenamedIssueEventType, + AddedToProjectIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + IssueCommentTypeForResponse, + IssueEventTypeForResponse, + IssueTypeForResponse, + LabeledIssueEventTypeForResponse, + LabelTypeForResponse, + LockedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + MilestoneTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType, ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType, @@ -101,21 +101,21 @@ ReposOwnerRepoLabelsPostBodyType, ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType, ReposOwnerRepoMilestonesPostBodyType, - ReviewDismissedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - SimpleUserType, - StateChangeIssueEventType, - TimelineAssignedIssueEventType, - TimelineCommentEventType, - TimelineCommitCommentedEventType, - TimelineCommittedEventType, - TimelineCrossReferencedEventType, - TimelineLineCommentedEventType, - TimelineReviewedEventType, - TimelineUnassignedIssueEventType, - UnassignedIssueEventType, - UnlabeledIssueEventType, + ReviewDismissedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + SimpleUserTypeForResponse, + StateChangeIssueEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, ) @@ -153,7 +153,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list GET /issues @@ -228,7 +228,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list GET /issues @@ -301,7 +301,7 @@ def list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-org GET /orgs/{org}/issues @@ -368,7 +368,7 @@ async def async_list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-org GET /orgs/{org}/issues @@ -427,7 +427,7 @@ def list_assignees( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """issues/list-assignees GET /repos/{owner}/{repo}/assignees @@ -469,7 +469,7 @@ async def async_list_assignees( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """issues/list-assignees GET /repos/{owner}/{repo}/assignees @@ -597,7 +597,7 @@ def list_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-repo GET /repos/{owner}/{repo}/issues @@ -670,7 +670,7 @@ async def async_list_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-repo GET /repos/{owner}/{repo}/issues @@ -733,7 +733,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def create( @@ -753,7 +753,7 @@ def create( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def create( self, @@ -764,7 +764,7 @@ def create( stream: bool = False, data: Missing[ReposOwnerRepoIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/create POST /repos/{owner}/{repo}/issues @@ -831,7 +831,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_create( @@ -851,7 +851,7 @@ async def async_create( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_create( self, @@ -862,7 +862,7 @@ async def async_create( stream: bool = False, data: Missing[ReposOwnerRepoIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/create POST /repos/{owner}/{repo}/issues @@ -932,7 +932,7 @@ def list_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments-for-repo GET /repos/{owner}/{repo}/issues/comments @@ -990,7 +990,7 @@ async def async_list_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments-for-repo GET /repos/{owner}/{repo}/issues/comments @@ -1044,7 +1044,7 @@ def get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/get-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1086,7 +1086,7 @@ async def async_get_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/get-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1188,7 +1188,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload def update_comment( @@ -1201,7 +1201,7 @@ def update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... def update_comment( self, @@ -1213,7 +1213,7 @@ def update_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/update-comment PATCH /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1273,7 +1273,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload async def async_update_comment( @@ -1286,7 +1286,7 @@ async def async_update_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... async def async_update_comment( self, @@ -1298,7 +1298,7 @@ async def async_update_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/update-comment PATCH /repos/{owner}/{repo}/issues/comments/{comment_id} @@ -1357,7 +1357,7 @@ def list_events_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueEvent], list[IssueEventType]]: + ) -> Response[list[IssueEvent], list[IssueEventTypeForResponse]]: """issues/list-events-for-repo GET /repos/{owner}/{repo}/issues/events @@ -1399,7 +1399,7 @@ async def async_list_events_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueEvent], list[IssueEventType]]: + ) -> Response[list[IssueEvent], list[IssueEventTypeForResponse]]: """issues/list-events-for-repo GET /repos/{owner}/{repo}/issues/events @@ -1440,7 +1440,7 @@ def get_event( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueEvent, IssueEventType]: + ) -> Response[IssueEvent, IssueEventTypeForResponse]: """issues/get-event GET /repos/{owner}/{repo}/issues/events/{event_id} @@ -1477,7 +1477,7 @@ async def async_get_event( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[IssueEvent, IssueEventType]: + ) -> Response[IssueEvent, IssueEventTypeForResponse]: """issues/get-event GET /repos/{owner}/{repo}/issues/events/{event_id} @@ -1514,7 +1514,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get GET /repos/{owner}/{repo}/issues/{issue_number} @@ -1565,7 +1565,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get GET /repos/{owner}/{repo}/issues/{issue_number} @@ -1618,7 +1618,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def update( @@ -1648,7 +1648,7 @@ def update( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def update( self, @@ -1660,7 +1660,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/update PATCH /repos/{owner}/{repo}/issues/{issue_number} @@ -1724,7 +1724,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_update( @@ -1754,7 +1754,7 @@ async def async_update( ] = UNSET, assignees: Missing[list[str]] = UNSET, type: Missing[Union[str, None]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_update( self, @@ -1766,7 +1766,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/update PATCH /repos/{owner}/{repo}/issues/{issue_number} @@ -1830,7 +1830,7 @@ def add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_assignees( @@ -1843,7 +1843,7 @@ def add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_assignees( self, @@ -1855,7 +1855,7 @@ def add_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-assignees POST /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -1901,7 +1901,7 @@ async def async_add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_assignees( @@ -1914,7 +1914,7 @@ async def async_add_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_assignees( self, @@ -1926,7 +1926,7 @@ async def async_add_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-assignees POST /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -1972,7 +1972,7 @@ def remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def remove_assignees( @@ -1985,7 +1985,7 @@ def remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def remove_assignees( self, @@ -1997,7 +1997,7 @@ def remove_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-assignees DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -2043,7 +2043,7 @@ async def async_remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_remove_assignees( @@ -2056,7 +2056,7 @@ async def async_remove_assignees( headers: Optional[Mapping[str, str]] = None, stream: bool = False, assignees: Missing[list[str]] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_remove_assignees( self, @@ -2068,7 +2068,7 @@ async def async_remove_assignees( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-assignees DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees @@ -2193,7 +2193,7 @@ def list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments GET /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2248,7 +2248,7 @@ async def async_list_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[IssueComment], list[IssueCommentType]]: + ) -> Response[list[IssueComment], list[IssueCommentTypeForResponse]]: """issues/list-comments GET /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2302,7 +2302,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload def create_comment( @@ -2315,7 +2315,7 @@ def create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... def create_comment( self, @@ -2327,7 +2327,7 @@ def create_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/create-comment POST /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2396,7 +2396,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... @overload async def async_create_comment( @@ -2409,7 +2409,7 @@ async def async_create_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[IssueComment, IssueCommentType]: ... + ) -> Response[IssueComment, IssueCommentTypeForResponse]: ... async def async_create_comment( self, @@ -2421,7 +2421,7 @@ async def async_create_comment( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[IssueComment, IssueCommentType]: + ) -> Response[IssueComment, IssueCommentTypeForResponse]: """issues/create-comment POST /repos/{owner}/{repo}/issues/{issue_number}/comments @@ -2490,7 +2490,7 @@ def list_dependencies_blocked_by( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocked-by GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2541,7 +2541,7 @@ async def async_list_dependencies_blocked_by( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocked-by GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2592,7 +2592,7 @@ def add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_blocked_by_dependency( @@ -2605,7 +2605,7 @@ def add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_blocked_by_dependency( self, @@ -2619,7 +2619,7 @@ def add_blocked_by_dependency( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-blocked-by-dependency POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2687,7 +2687,7 @@ async def async_add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_blocked_by_dependency( @@ -2700,7 +2700,7 @@ async def async_add_blocked_by_dependency( headers: Optional[Mapping[str, str]] = None, stream: bool = False, issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_blocked_by_dependency( self, @@ -2714,7 +2714,7 @@ async def async_add_blocked_by_dependency( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-blocked-by-dependency POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by @@ -2781,7 +2781,7 @@ def remove_dependency_blocked_by( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-dependency-blocked-by DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id} @@ -2831,7 +2831,7 @@ async def async_remove_dependency_blocked_by( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-dependency-blocked-by DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id} @@ -2882,7 +2882,7 @@ def list_dependencies_blocking( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocking GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking @@ -2933,7 +2933,7 @@ async def async_list_dependencies_blocking( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-dependencies-blocking GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking @@ -3006,21 +3006,21 @@ def list_events( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - AssignedIssueEventType, - UnassignedIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, ] ], ]: @@ -3125,21 +3125,21 @@ async def async_list_events( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - AssignedIssueEventType, - UnassignedIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + AssignedIssueEventTypeForResponse, + UnassignedIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, ] ], ]: @@ -3222,7 +3222,7 @@ def list_labels_on_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-on-issue GET /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3266,7 +3266,7 @@ async def async_list_labels_on_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-on-issue GET /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3318,7 +3318,7 @@ def set_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def set_labels( @@ -3331,7 +3331,7 @@ def set_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def set_labels( @@ -3346,7 +3346,7 @@ def set_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... def set_labels( self, @@ -3366,7 +3366,7 @@ def set_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/set-labels PUT /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3446,7 +3446,7 @@ async def async_set_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_set_labels( @@ -3459,7 +3459,7 @@ async def async_set_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_set_labels( @@ -3474,7 +3474,7 @@ async def async_set_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... async def async_set_labels( self, @@ -3494,7 +3494,7 @@ async def async_set_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/set-labels PUT /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3574,7 +3574,7 @@ def add_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def add_labels( @@ -3587,7 +3587,7 @@ def add_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload def add_labels( @@ -3602,7 +3602,7 @@ def add_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... def add_labels( self, @@ -3622,7 +3622,7 @@ def add_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/add-labels POST /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3702,7 +3702,7 @@ async def async_add_labels( str, ] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_add_labels( @@ -3715,7 +3715,7 @@ async def async_add_labels( headers: Optional[Mapping[str, str]] = None, stream: bool = False, labels: Missing[list[str]] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... @overload async def async_add_labels( @@ -3730,7 +3730,7 @@ async def async_add_labels( labels: Missing[ list[ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType] ] = UNSET, - ) -> Response[list[Label], list[LabelType]]: ... + ) -> Response[list[Label], list[LabelTypeForResponse]]: ... async def async_add_labels( self, @@ -3750,7 +3750,7 @@ async def async_add_labels( ] ] = UNSET, **kwargs, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/add-labels POST /repos/{owner}/{repo}/issues/{issue_number}/labels @@ -3891,7 +3891,7 @@ def remove_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/remove-label DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} @@ -3928,7 +3928,7 @@ async def async_remove_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/remove-label DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} @@ -4214,7 +4214,7 @@ def get_parent( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get-parent GET /repos/{owner}/{repo}/issues/{issue_number}/parent @@ -4257,7 +4257,7 @@ async def async_get_parent( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/get-parent GET /repos/{owner}/{repo}/issues/{issue_number}/parent @@ -4302,7 +4302,7 @@ def remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def remove_sub_issue( @@ -4315,7 +4315,7 @@ def remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, sub_issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def remove_sub_issue( self, @@ -4327,7 +4327,7 @@ def remove_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-sub-issue DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue @@ -4389,7 +4389,7 @@ async def async_remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_remove_sub_issue( @@ -4402,7 +4402,7 @@ async def async_remove_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, sub_issue_id: int, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_remove_sub_issue( self, @@ -4414,7 +4414,7 @@ async def async_remove_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/remove-sub-issue DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue @@ -4476,7 +4476,7 @@ def list_sub_issues( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-sub-issues GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4527,7 +4527,7 @@ async def async_list_sub_issues( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-sub-issues GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4578,7 +4578,7 @@ def add_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def add_sub_issue( @@ -4592,7 +4592,7 @@ def add_sub_issue( stream: bool = False, sub_issue_id: int, replace_parent: Missing[bool] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def add_sub_issue( self, @@ -4604,7 +4604,7 @@ def add_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-sub-issue POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4672,7 +4672,7 @@ async def async_add_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_add_sub_issue( @@ -4686,7 +4686,7 @@ async def async_add_sub_issue( stream: bool = False, sub_issue_id: int, replace_parent: Missing[bool] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_add_sub_issue( self, @@ -4698,7 +4698,7 @@ async def async_add_sub_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/add-sub-issue POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues @@ -4766,7 +4766,7 @@ def reprioritize_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload def reprioritize_sub_issue( @@ -4781,7 +4781,7 @@ def reprioritize_sub_issue( sub_issue_id: int, after_id: Missing[int] = UNSET, before_id: Missing[int] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... def reprioritize_sub_issue( self, @@ -4795,7 +4795,7 @@ def reprioritize_sub_issue( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/reprioritize-sub-issue PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority @@ -4853,7 +4853,7 @@ async def async_reprioritize_sub_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... @overload async def async_reprioritize_sub_issue( @@ -4868,7 +4868,7 @@ async def async_reprioritize_sub_issue( sub_issue_id: int, after_id: Missing[int] = UNSET, before_id: Missing[int] = UNSET, - ) -> Response[Issue, IssueType]: ... + ) -> Response[Issue, IssueTypeForResponse]: ... async def async_reprioritize_sub_issue( self, @@ -4882,7 +4882,7 @@ async def async_reprioritize_sub_issue( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType ] = UNSET, **kwargs, - ) -> Response[Issue, IssueType]: + ) -> Response[Issue, IssueTypeForResponse]: """issues/reprioritize-sub-issue PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority @@ -4969,28 +4969,28 @@ def list_events_for_timeline( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, - TimelineCommentEventType, - TimelineCrossReferencedEventType, - TimelineCommittedEventType, - TimelineReviewedEventType, - TimelineLineCommentedEventType, - TimelineCommitCommentedEventType, - TimelineAssignedIssueEventType, - TimelineUnassignedIssueEventType, - StateChangeIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + StateChangeIssueEventTypeForResponse, ] ], ]: @@ -5117,28 +5117,28 @@ async def async_list_events_for_timeline( ], list[ Union[ - LabeledIssueEventType, - UnlabeledIssueEventType, - MilestonedIssueEventType, - DemilestonedIssueEventType, - RenamedIssueEventType, - ReviewRequestedIssueEventType, - ReviewRequestRemovedIssueEventType, - ReviewDismissedIssueEventType, - LockedIssueEventType, - AddedToProjectIssueEventType, - MovedColumnInProjectIssueEventType, - RemovedFromProjectIssueEventType, - ConvertedNoteToIssueIssueEventType, - TimelineCommentEventType, - TimelineCrossReferencedEventType, - TimelineCommittedEventType, - TimelineReviewedEventType, - TimelineLineCommentedEventType, - TimelineCommitCommentedEventType, - TimelineAssignedIssueEventType, - TimelineUnassignedIssueEventType, - StateChangeIssueEventType, + LabeledIssueEventTypeForResponse, + UnlabeledIssueEventTypeForResponse, + MilestonedIssueEventTypeForResponse, + DemilestonedIssueEventTypeForResponse, + RenamedIssueEventTypeForResponse, + ReviewRequestedIssueEventTypeForResponse, + ReviewRequestRemovedIssueEventTypeForResponse, + ReviewDismissedIssueEventTypeForResponse, + LockedIssueEventTypeForResponse, + AddedToProjectIssueEventTypeForResponse, + MovedColumnInProjectIssueEventTypeForResponse, + RemovedFromProjectIssueEventTypeForResponse, + ConvertedNoteToIssueIssueEventTypeForResponse, + TimelineCommentEventTypeForResponse, + TimelineCrossReferencedEventTypeForResponse, + TimelineCommittedEventTypeForResponse, + TimelineReviewedEventTypeForResponse, + TimelineLineCommentedEventTypeForResponse, + TimelineCommitCommentedEventTypeForResponse, + TimelineAssignedIssueEventTypeForResponse, + TimelineUnassignedIssueEventTypeForResponse, + StateChangeIssueEventTypeForResponse, ] ], ]: @@ -5235,7 +5235,7 @@ def list_labels_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-repo GET /repos/{owner}/{repo}/labels @@ -5277,7 +5277,7 @@ async def async_list_labels_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-repo GET /repos/{owner}/{repo}/labels @@ -5319,7 +5319,7 @@ def create_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoLabelsPostBodyType, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload def create_label( @@ -5333,7 +5333,7 @@ def create_label( name: str, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... def create_label( self, @@ -5344,7 +5344,7 @@ def create_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsPostBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/create-label POST /repos/{owner}/{repo}/labels @@ -5396,7 +5396,7 @@ async def async_create_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoLabelsPostBodyType, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload async def async_create_label( @@ -5410,7 +5410,7 @@ async def async_create_label( name: str, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... async def async_create_label( self, @@ -5421,7 +5421,7 @@ async def async_create_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsPostBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/create-label POST /repos/{owner}/{repo}/labels @@ -5472,7 +5472,7 @@ def get_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/get-label GET /repos/{owner}/{repo}/labels/{name} @@ -5507,7 +5507,7 @@ async def async_get_label( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/get-label GET /repos/{owner}/{repo}/labels/{name} @@ -5602,7 +5602,7 @@ def update_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload def update_label( @@ -5617,7 +5617,7 @@ def update_label( new_name: Missing[str] = UNSET, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... def update_label( self, @@ -5629,7 +5629,7 @@ def update_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/update-label PATCH /repos/{owner}/{repo}/labels/{name} @@ -5673,7 +5673,7 @@ async def async_update_label( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... @overload async def async_update_label( @@ -5688,7 +5688,7 @@ async def async_update_label( new_name: Missing[str] = UNSET, color: Missing[str] = UNSET, description: Missing[str] = UNSET, - ) -> Response[Label, LabelType]: ... + ) -> Response[Label, LabelTypeForResponse]: ... async def async_update_label( self, @@ -5700,7 +5700,7 @@ async def async_update_label( stream: bool = False, data: Missing[ReposOwnerRepoLabelsNamePatchBodyType] = UNSET, **kwargs, - ) -> Response[Label, LabelType]: + ) -> Response[Label, LabelTypeForResponse]: """issues/update-label PATCH /repos/{owner}/{repo}/labels/{name} @@ -5746,7 +5746,7 @@ def list_milestones( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Milestone], list[MilestoneType]]: + ) -> Response[list[Milestone], list[MilestoneTypeForResponse]]: """issues/list-milestones GET /repos/{owner}/{repo}/milestones @@ -5794,7 +5794,7 @@ async def async_list_milestones( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Milestone], list[MilestoneType]]: + ) -> Response[list[Milestone], list[MilestoneTypeForResponse]]: """issues/list-milestones GET /repos/{owner}/{repo}/milestones @@ -5839,7 +5839,7 @@ def create_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMilestonesPostBodyType, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload def create_milestone( @@ -5854,7 +5854,7 @@ def create_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... def create_milestone( self, @@ -5865,7 +5865,7 @@ def create_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesPostBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/create-milestone POST /repos/{owner}/{repo}/milestones @@ -5917,7 +5917,7 @@ async def async_create_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMilestonesPostBodyType, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload async def async_create_milestone( @@ -5932,7 +5932,7 @@ async def async_create_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... async def async_create_milestone( self, @@ -5943,7 +5943,7 @@ async def async_create_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesPostBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/create-milestone POST /repos/{owner}/{repo}/milestones @@ -5994,7 +5994,7 @@ def get_milestone( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/get-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6029,7 +6029,7 @@ async def async_get_milestone( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/get-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6134,7 +6134,7 @@ def update_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload def update_milestone( @@ -6150,7 +6150,7 @@ def update_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... def update_milestone( self, @@ -6162,7 +6162,7 @@ def update_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/update-milestone PATCH /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6206,7 +6206,7 @@ async def async_update_milestone( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... @overload async def async_update_milestone( @@ -6222,7 +6222,7 @@ async def async_update_milestone( state: Missing[Literal["open", "closed"]] = UNSET, description: Missing[str] = UNSET, due_on: Missing[datetime] = UNSET, - ) -> Response[Milestone, MilestoneType]: ... + ) -> Response[Milestone, MilestoneTypeForResponse]: ... async def async_update_milestone( self, @@ -6234,7 +6234,7 @@ async def async_update_milestone( stream: bool = False, data: Missing[ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[Milestone, MilestoneType]: + ) -> Response[Milestone, MilestoneTypeForResponse]: """issues/update-milestone PATCH /repos/{owner}/{repo}/milestones/{milestone_number} @@ -6278,7 +6278,7 @@ def list_labels_for_milestone( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels @@ -6318,7 +6318,7 @@ async def async_list_labels_for_milestone( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Label], list[LabelType]]: + ) -> Response[list[Label], list[LabelTypeForResponse]]: """issues/list-labels-for-milestone GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels @@ -6363,7 +6363,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-authenticated-user GET /user/issues @@ -6427,7 +6427,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Issue], list[IssueType]]: + ) -> Response[list[Issue], list[IssueTypeForResponse]]: """issues/list-for-authenticated-user GET /user/issues diff --git a/githubkit/versions/v2022_11_28/rest/licenses.py b/githubkit/versions/v2022_11_28/rest/licenses.py index 234a5adea..af616f157 100644 --- a/githubkit/versions/v2022_11_28/rest/licenses.py +++ b/githubkit/versions/v2022_11_28/rest/licenses.py @@ -23,7 +23,11 @@ from githubkit.utils import UNSET from ..models import License, LicenseContent, LicenseSimple - from ..types import LicenseContentType, LicenseSimpleType, LicenseType + from ..types import ( + LicenseContentTypeForResponse, + LicenseSimpleTypeForResponse, + LicenseTypeForResponse, + ) class LicensesClient: @@ -49,7 +53,7 @@ def get_all_commonly_used( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[LicenseSimple], list[LicenseSimpleType]]: + ) -> Response[list[LicenseSimple], list[LicenseSimpleTypeForResponse]]: """licenses/get-all-commonly-used GET /licenses @@ -88,7 +92,7 @@ async def async_get_all_commonly_used( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[LicenseSimple], list[LicenseSimpleType]]: + ) -> Response[list[LicenseSimple], list[LicenseSimpleTypeForResponse]]: """licenses/get-all-commonly-used GET /licenses @@ -125,7 +129,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[License, LicenseType]: + ) -> Response[License, LicenseTypeForResponse]: """licenses/get GET /licenses/{license} @@ -159,7 +163,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[License, LicenseType]: + ) -> Response[License, LicenseTypeForResponse]: """licenses/get GET /licenses/{license} @@ -195,7 +199,7 @@ def get_for_repo( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[LicenseContent, LicenseContentType]: + ) -> Response[LicenseContent, LicenseContentTypeForResponse]: """licenses/get-for-repo GET /repos/{owner}/{repo}/license @@ -240,7 +244,7 @@ async def async_get_for_repo( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[LicenseContent, LicenseContentType]: + ) -> Response[LicenseContent, LicenseContentTypeForResponse]: """licenses/get-for-repo GET /repos/{owner}/{repo}/license diff --git a/githubkit/versions/v2022_11_28/rest/meta.py b/githubkit/versions/v2022_11_28/rest/meta.py index 24784d02d..03d2a33cf 100644 --- a/githubkit/versions/v2022_11_28/rest/meta.py +++ b/githubkit/versions/v2022_11_28/rest/meta.py @@ -25,7 +25,7 @@ from githubkit.utils import UNSET from ..models import ApiOverview, Root - from ..types import ApiOverviewType, RootType + from ..types import ApiOverviewTypeForResponse, RootTypeForResponse class MetaClient: @@ -48,7 +48,7 @@ def root( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Root, RootType]: + ) -> Response[Root, RootTypeForResponse]: """meta/root GET / @@ -77,7 +77,7 @@ async def async_root( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Root, RootType]: + ) -> Response[Root, RootTypeForResponse]: """meta/root GET / @@ -106,7 +106,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiOverview, ApiOverviewType]: + ) -> Response[ApiOverview, ApiOverviewTypeForResponse]: """meta/get GET /meta @@ -142,7 +142,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiOverview, ApiOverviewType]: + ) -> Response[ApiOverview, ApiOverviewTypeForResponse]: """meta/get GET /meta @@ -244,7 +244,7 @@ def get_all_versions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[date], list[date]]: + ) -> Response[list[date], list[str]]: """meta/get-all-versions GET /versions @@ -278,7 +278,7 @@ async def async_get_all_versions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[date], list[date]]: + ) -> Response[list[date], list[str]]: """meta/get-all-versions GET /versions diff --git a/githubkit/versions/v2022_11_28/rest/migrations.py b/githubkit/versions/v2022_11_28/rest/migrations.py index 6f316826d..dea5e179a 100644 --- a/githubkit/versions/v2022_11_28/rest/migrations.py +++ b/githubkit/versions/v2022_11_28/rest/migrations.py @@ -35,12 +35,12 @@ PorterLargeFile, ) from ..types import ( - ImportType, - MigrationType, - MinimalRepositoryType, + ImportTypeForResponse, + MigrationTypeForResponse, + MinimalRepositoryTypeForResponse, OrgsOrgMigrationsPostBodyType, - PorterAuthorType, - PorterLargeFileType, + PorterAuthorTypeForResponse, + PorterLargeFileTypeForResponse, ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType, ReposOwnerRepoImportLfsPatchBodyType, ReposOwnerRepoImportPatchBodyType, @@ -73,7 +73,7 @@ def list_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-org GET /orgs/{org}/migrations @@ -115,7 +115,7 @@ async def async_list_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-org GET /orgs/{org}/migrations @@ -156,7 +156,7 @@ def start_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload def start_for_org( @@ -175,7 +175,7 @@ def start_for_org( exclude_owner_projects: Missing[bool] = UNSET, org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... def start_for_org( self, @@ -185,7 +185,7 @@ def start_for_org( stream: bool = False, data: Missing[OrgsOrgMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-org POST /orgs/{org}/migrations @@ -236,7 +236,7 @@ async def async_start_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload async def async_start_for_org( @@ -255,7 +255,7 @@ async def async_start_for_org( exclude_owner_projects: Missing[bool] = UNSET, org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... async def async_start_for_org( self, @@ -265,7 +265,7 @@ async def async_start_for_org( stream: bool = False, data: Missing[OrgsOrgMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-org POST /orgs/{org}/migrations @@ -316,7 +316,7 @@ def get_status_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-org GET /orgs/{org}/migrations/{migration_id} @@ -363,7 +363,7 @@ async def async_get_status_for_org( exclude: Missing[list[Literal["repositories"]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-org GET /orgs/{org}/migrations/{migration_id} @@ -611,7 +611,7 @@ def list_repos_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-org GET /orgs/{org}/migrations/{migration_id}/repositories @@ -653,7 +653,7 @@ async def async_list_repos_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-org GET /orgs/{org}/migrations/{migration_id}/repositories @@ -693,7 +693,7 @@ def get_import_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/get-import-status GET /repos/{owner}/{repo}/import @@ -764,7 +764,7 @@ async def async_get_import_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/get-import-status GET /repos/{owner}/{repo}/import @@ -837,7 +837,7 @@ def start_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportPutBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def start_import( @@ -853,7 +853,7 @@ def start_import( vcs_username: Missing[str] = UNSET, vcs_password: Missing[str] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def start_import( self, @@ -864,7 +864,7 @@ def start_import( stream: bool = False, data: Missing[ReposOwnerRepoImportPutBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/start-import PUT /repos/{owner}/{repo}/import @@ -922,7 +922,7 @@ async def async_start_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportPutBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_start_import( @@ -938,7 +938,7 @@ async def async_start_import( vcs_username: Missing[str] = UNSET, vcs_password: Missing[str] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_start_import( self, @@ -949,7 +949,7 @@ async def async_start_import( stream: bool = False, data: Missing[ReposOwnerRepoImportPutBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/start-import PUT /repos/{owner}/{repo}/import @@ -1079,7 +1079,7 @@ def update_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def update_import( @@ -1094,7 +1094,7 @@ def update_import( vcs_password: Missing[str] = UNSET, vcs: Missing[Literal["subversion", "tfvc", "git", "mercurial"]] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def update_import( self, @@ -1105,7 +1105,7 @@ def update_import( stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/update-import PATCH /repos/{owner}/{repo}/import @@ -1163,7 +1163,7 @@ async def async_update_import( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_update_import( @@ -1178,7 +1178,7 @@ async def async_update_import( vcs_password: Missing[str] = UNSET, vcs: Missing[Literal["subversion", "tfvc", "git", "mercurial"]] = UNSET, tfvc_project: Missing[str] = UNSET, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_update_import( self, @@ -1189,7 +1189,7 @@ async def async_update_import( stream: bool = False, data: Missing[Union[ReposOwnerRepoImportPatchBodyType, None]] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/update-import PATCH /repos/{owner}/{repo}/import @@ -1246,7 +1246,7 @@ def get_commit_authors( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterAuthor], list[PorterAuthorType]]: + ) -> Response[list[PorterAuthor], list[PorterAuthorTypeForResponse]]: """DEPRECATED migrations/get-commit-authors GET /repos/{owner}/{repo}/import/authors @@ -1292,7 +1292,7 @@ async def async_get_commit_authors( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterAuthor], list[PorterAuthorType]]: + ) -> Response[list[PorterAuthor], list[PorterAuthorTypeForResponse]]: """DEPRECATED migrations/get-commit-authors GET /repos/{owner}/{repo}/import/authors @@ -1340,7 +1340,7 @@ def map_commit_author( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... @overload def map_commit_author( @@ -1354,7 +1354,7 @@ def map_commit_author( stream: bool = False, email: Missing[str] = UNSET, name: Missing[str] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... def map_commit_author( self, @@ -1366,7 +1366,7 @@ def map_commit_author( stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PorterAuthor, PorterAuthorType]: + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: """DEPRECATED migrations/map-commit-author PATCH /repos/{owner}/{repo}/import/authors/{author_id} @@ -1426,7 +1426,7 @@ async def async_map_commit_author( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... @overload async def async_map_commit_author( @@ -1440,7 +1440,7 @@ async def async_map_commit_author( stream: bool = False, email: Missing[str] = UNSET, name: Missing[str] = UNSET, - ) -> Response[PorterAuthor, PorterAuthorType]: ... + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: ... async def async_map_commit_author( self, @@ -1452,7 +1452,7 @@ async def async_map_commit_author( stream: bool = False, data: Missing[ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PorterAuthor, PorterAuthorType]: + ) -> Response[PorterAuthor, PorterAuthorTypeForResponse]: """DEPRECATED migrations/map-commit-author PATCH /repos/{owner}/{repo}/import/authors/{author_id} @@ -1509,7 +1509,7 @@ def get_large_files( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterLargeFile], list[PorterLargeFileType]]: + ) -> Response[list[PorterLargeFile], list[PorterLargeFileTypeForResponse]]: """DEPRECATED migrations/get-large-files GET /repos/{owner}/{repo}/import/large_files @@ -1546,7 +1546,7 @@ async def async_get_large_files( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PorterLargeFile], list[PorterLargeFileType]]: + ) -> Response[list[PorterLargeFile], list[PorterLargeFileTypeForResponse]]: """DEPRECATED migrations/get-large-files GET /repos/{owner}/{repo}/import/large_files @@ -1585,7 +1585,7 @@ def set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportLfsPatchBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload def set_lfs_preference( @@ -1597,7 +1597,7 @@ def set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, use_lfs: Literal["opt_in", "opt_out"], - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... def set_lfs_preference( self, @@ -1608,7 +1608,7 @@ def set_lfs_preference( stream: bool = False, data: Missing[ReposOwnerRepoImportLfsPatchBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/set-lfs-preference PATCH /repos/{owner}/{repo}/import/lfs @@ -1667,7 +1667,7 @@ async def async_set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoImportLfsPatchBodyType, - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... @overload async def async_set_lfs_preference( @@ -1679,7 +1679,7 @@ async def async_set_lfs_preference( headers: Optional[Mapping[str, str]] = None, stream: bool = False, use_lfs: Literal["opt_in", "opt_out"], - ) -> Response[Import, ImportType]: ... + ) -> Response[Import, ImportTypeForResponse]: ... async def async_set_lfs_preference( self, @@ -1690,7 +1690,7 @@ async def async_set_lfs_preference( stream: bool = False, data: Missing[ReposOwnerRepoImportLfsPatchBodyType] = UNSET, **kwargs, - ) -> Response[Import, ImportType]: + ) -> Response[Import, ImportTypeForResponse]: """DEPRECATED migrations/set-lfs-preference PATCH /repos/{owner}/{repo}/import/lfs @@ -1747,7 +1747,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-authenticated-user GET /user/migrations @@ -1788,7 +1788,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Migration], list[MigrationType]]: + ) -> Response[list[Migration], list[MigrationTypeForResponse]]: """migrations/list-for-authenticated-user GET /user/migrations @@ -1829,7 +1829,7 @@ def start_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload def start_for_authenticated_user( @@ -1847,7 +1847,7 @@ def start_for_authenticated_user( org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, repositories: list[str], - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... def start_for_authenticated_user( self, @@ -1856,7 +1856,7 @@ def start_for_authenticated_user( stream: bool = False, data: Missing[UserMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-authenticated-user POST /user/migrations @@ -1907,7 +1907,7 @@ async def async_start_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMigrationsPostBodyType, - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... @overload async def async_start_for_authenticated_user( @@ -1925,7 +1925,7 @@ async def async_start_for_authenticated_user( org_metadata_only: Missing[bool] = UNSET, exclude: Missing[list[Literal["repositories"]]] = UNSET, repositories: list[str], - ) -> Response[Migration, MigrationType]: ... + ) -> Response[Migration, MigrationTypeForResponse]: ... async def async_start_for_authenticated_user( self, @@ -1934,7 +1934,7 @@ async def async_start_for_authenticated_user( stream: bool = False, data: Missing[UserMigrationsPostBodyType] = UNSET, **kwargs, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/start-for-authenticated-user POST /user/migrations @@ -1985,7 +1985,7 @@ def get_status_for_authenticated_user( exclude: Missing[list[str]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-authenticated-user GET /user/migrations/{migration_id} @@ -2033,7 +2033,7 @@ async def async_get_status_for_authenticated_user( exclude: Missing[list[str]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Migration, MigrationType]: + ) -> Response[Migration, MigrationTypeForResponse]: """migrations/get-status-for-authenticated-user GET /user/migrations/{migration_id} @@ -2326,7 +2326,7 @@ def list_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-authenticated-user GET /user/migrations/{migration_id}/repositories @@ -2367,7 +2367,7 @@ async def async_list_repos_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """migrations/list-repos-for-authenticated-user GET /user/migrations/{migration_id}/repositories diff --git a/githubkit/versions/v2022_11_28/rest/oidc.py b/githubkit/versions/v2022_11_28/rest/oidc.py index b1a742548..754db2c91 100644 --- a/githubkit/versions/v2022_11_28/rest/oidc.py +++ b/githubkit/versions/v2022_11_28/rest/oidc.py @@ -24,7 +24,11 @@ from githubkit.response import Response from ..models import EmptyObject, OidcCustomSub - from ..types import EmptyObjectType, OidcCustomSubType + from ..types import ( + EmptyObjectTypeForResponse, + OidcCustomSubType, + OidcCustomSubTypeForResponse, + ) class OidcClient: @@ -48,7 +52,7 @@ def get_oidc_custom_sub_template_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSub, OidcCustomSubType]: + ) -> Response[OidcCustomSub, OidcCustomSubTypeForResponse]: """oidc/get-oidc-custom-sub-template-for-org GET /orgs/{org}/actions/oidc/customization/sub @@ -80,7 +84,7 @@ async def async_get_oidc_custom_sub_template_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OidcCustomSub, OidcCustomSubType]: + ) -> Response[OidcCustomSub, OidcCustomSubTypeForResponse]: """oidc/get-oidc-custom-sub-template-for-org GET /orgs/{org}/actions/oidc/customization/sub @@ -114,7 +118,7 @@ def update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OidcCustomSubType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload def update_oidc_custom_sub_template_for_org( @@ -125,7 +129,7 @@ def update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, include_claim_keys: list[str], - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... def update_oidc_custom_sub_template_for_org( self, @@ -135,7 +139,7 @@ def update_oidc_custom_sub_template_for_org( stream: bool = False, data: Missing[OidcCustomSubType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """oidc/update-oidc-custom-sub-template-for-org PUT /orgs/{org}/actions/oidc/customization/sub @@ -183,7 +187,7 @@ async def async_update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OidcCustomSubType, - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... @overload async def async_update_oidc_custom_sub_template_for_org( @@ -194,7 +198,7 @@ async def async_update_oidc_custom_sub_template_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, include_claim_keys: list[str], - ) -> Response[EmptyObject, EmptyObjectType]: ... + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: ... async def async_update_oidc_custom_sub_template_for_org( self, @@ -204,7 +208,7 @@ async def async_update_oidc_custom_sub_template_for_org( stream: bool = False, data: Missing[OidcCustomSubType] = UNSET, **kwargs, - ) -> Response[EmptyObject, EmptyObjectType]: + ) -> Response[EmptyObject, EmptyObjectTypeForResponse]: """oidc/update-oidc-custom-sub-template-for-org PUT /orgs/{org}/actions/oidc/customization/sub diff --git a/githubkit/versions/v2022_11_28/rest/orgs.py b/githubkit/versions/v2022_11_28/rest/orgs.py index 636d9bc11..53ead08ff 100644 --- a/githubkit/versions/v2022_11_28/rest/orgs.py +++ b/githubkit/versions/v2022_11_28/rest/orgs.py @@ -70,52 +70,54 @@ WebhookConfig, ) from ..types import ( - ApiInsightsRouteStatsItemsType, - ApiInsightsSubjectStatsItemsType, - ApiInsightsSummaryStatsType, - ApiInsightsTimeStatsItemsType, - ApiInsightsUserStatsItemsType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + ApiInsightsRouteStatsItemsTypeForResponse, + ApiInsightsSubjectStatsItemsTypeForResponse, + ApiInsightsSummaryStatsTypeForResponse, + ApiInsightsTimeStatsItemsTypeForResponse, + ApiInsightsUserStatsItemsTypeForResponse, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, CustomPropertySetPayloadType, CustomPropertyType, + CustomPropertyTypeForResponse, CustomPropertyValueType, - HookDeliveryItemType, - HookDeliveryType, - ImmutableReleasesOrganizationSettingsType, - IssueTypeType, - MinimalRepositoryType, + CustomPropertyValueTypeForResponse, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + ImmutableReleasesOrganizationSettingsTypeForResponse, + IssueTypeTypeForResponse, + MinimalRepositoryTypeForResponse, OrganizationCreateIssueTypeType, - OrganizationFullType, - OrganizationInvitationType, - OrganizationProgrammaticAccessGrantRequestType, - OrganizationProgrammaticAccessGrantType, - OrganizationRoleType, - OrganizationSimpleType, + OrganizationFullTypeForResponse, + OrganizationInvitationTypeForResponse, + OrganizationProgrammaticAccessGrantRequestTypeForResponse, + OrganizationProgrammaticAccessGrantTypeForResponse, + OrganizationRoleTypeForResponse, + OrganizationSimpleTypeForResponse, OrganizationsOrgOrgPropertiesValuesPatchBodyType, OrganizationUpdateIssueTypeType, - OrgHookType, - OrgMembershipType, - OrgRepoCustomPropertyValuesType, + OrgHookTypeForResponse, + OrgMembershipTypeForResponse, + OrgRepoCustomPropertyValuesTypeForResponse, OrgsOrgArtifactsMetadataStorageRecordPostBodyType, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, OrgsOrgAttestationsBulkListPostBodyType, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type, OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type, - OrgsOrgAttestationsRepositoriesGetResponse200ItemsType, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, + OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, OrgsOrgHooksHookIdConfigPatchBodyType, OrgsOrgHooksHookIdPatchBodyPropConfigType, OrgsOrgHooksHookIdPatchBodyType, OrgsOrgHooksPostBodyPropConfigType, OrgsOrgHooksPostBodyType, - OrgsOrgInstallationsGetResponse200Type, + OrgsOrgInstallationsGetResponse200TypeForResponse, OrgsOrgInvitationsPostBodyType, OrgsOrgMembershipsUsernamePutBodyType, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, OrgsOrgOutsideCollaboratorsUsernamePutBodyType, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, OrgsOrgPatchBodyType, OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType, OrgsOrgPersonalAccessTokenRequestsPostBodyType, @@ -125,17 +127,17 @@ OrgsOrgPropertiesValuesPatchBodyType, OrgsOrgSecurityProductEnablementPostBodyType, OrgsOrgSettingsImmutableReleasesPutBodyType, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType, - RulesetVersionType, - RulesetVersionWithStateType, - SimpleUserType, - TeamRoleAssignmentType, - TeamSimpleType, - TeamType, + RulesetVersionTypeForResponse, + RulesetVersionWithStateTypeForResponse, + SimpleUserTypeForResponse, + TeamRoleAssignmentTypeForResponse, + TeamSimpleTypeForResponse, + TeamTypeForResponse, UserMembershipsOrgsOrgPatchBodyType, - UserRoleAssignmentType, - WebhookConfigType, + UserRoleAssignmentTypeForResponse, + WebhookConfigTypeForResponse, ) @@ -161,7 +163,7 @@ def list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list GET /organizations @@ -201,7 +203,7 @@ async def async_list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list GET /organizations @@ -240,7 +242,7 @@ def custom_properties_for_orgs_get_organization_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """orgs/custom-properties-for-orgs-get-organization-values GET /organizations/{org}/org-properties/values @@ -281,7 +283,7 @@ async def async_custom_properties_for_orgs_get_organization_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """orgs/custom-properties-for-orgs-get-organization-values GET /organizations/{org}/org-properties/values @@ -484,7 +486,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/get GET /orgs/{org} @@ -525,7 +527,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/get GET /orgs/{org} @@ -568,7 +570,7 @@ def delete( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/delete @@ -614,7 +616,7 @@ async def async_delete( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/delete @@ -660,7 +662,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... @overload def update( @@ -706,7 +708,7 @@ def update( secret_scanning_push_protection_custom_link_enabled: Missing[bool] = UNSET, secret_scanning_push_protection_custom_link: Missing[str] = UNSET, deploy_keys_enabled_for_repositories: Missing[bool] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... def update( self, @@ -716,7 +718,7 @@ def update( stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/update PATCH /orgs/{org} @@ -780,7 +782,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... @overload async def async_update( @@ -826,7 +828,7 @@ async def async_update( secret_scanning_push_protection_custom_link_enabled: Missing[bool] = UNSET, secret_scanning_push_protection_custom_link: Missing[str] = UNSET, deploy_keys_enabled_for_repositories: Missing[bool] = UNSET, - ) -> Response[OrganizationFull, OrganizationFullType]: ... + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: ... async def async_update( self, @@ -836,7 +838,7 @@ async def async_update( stream: bool = False, data: Missing[OrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationFull, OrganizationFullType]: + ) -> Response[OrganizationFull, OrganizationFullTypeForResponse]: """orgs/update PATCH /orgs/{org} @@ -902,7 +904,7 @@ def create_artifact_storage_record( data: OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... @overload @@ -924,7 +926,7 @@ def create_artifact_storage_record( github_repository: Missing[str] = UNSET, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... def create_artifact_storage_record( @@ -937,7 +939,7 @@ def create_artifact_storage_record( **kwargs, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: """orgs/create-artifact-storage-record @@ -989,7 +991,7 @@ async def async_create_artifact_storage_record( data: OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... @overload @@ -1011,7 +1013,7 @@ async def async_create_artifact_storage_record( github_repository: Missing[str] = UNSET, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: ... async def async_create_artifact_storage_record( @@ -1024,7 +1026,7 @@ async def async_create_artifact_storage_record( **kwargs, ) -> Response[ OrgsOrgArtifactsMetadataStorageRecordPostResponse200, - OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, ]: """orgs/create-artifact-storage-record @@ -1075,7 +1077,7 @@ def list_artifact_storage_records( stream: bool = False, ) -> Response[ OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, ]: """orgs/list-artifact-storage-records @@ -1113,7 +1115,7 @@ async def async_list_artifact_storage_records( stream: bool = False, ) -> Response[ OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200, - OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, ]: """orgs/list-artifact-storage-records @@ -1155,7 +1157,7 @@ def list_attestations_bulk( data: OrgsOrgAttestationsBulkListPostBodyType, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -1173,7 +1175,7 @@ def list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... def list_attestations_bulk( @@ -1189,7 +1191,7 @@ def list_attestations_bulk( **kwargs, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: """orgs/list-attestations-bulk @@ -1251,7 +1253,7 @@ async def async_list_attestations_bulk( data: OrgsOrgAttestationsBulkListPostBodyType, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -1269,7 +1271,7 @@ async def async_list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: ... async def async_list_attestations_bulk( @@ -1285,7 +1287,7 @@ async def async_list_attestations_bulk( **kwargs, ) -> Response[ OrgsOrgAttestationsBulkListPostResponse200, - OrgsOrgAttestationsBulkListPostResponse200Type, + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, ]: """orgs/list-attestations-bulk @@ -1604,7 +1606,7 @@ def list_attestation_repositories( stream: bool = False, ) -> Response[ list[OrgsOrgAttestationsRepositoriesGetResponse200Items], - list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsType], + list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse], ]: """orgs/list-attestation-repositories @@ -1650,7 +1652,7 @@ async def async_list_attestation_repositories( stream: bool = False, ) -> Response[ list[OrgsOrgAttestationsRepositoriesGetResponse200Items], - list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsType], + list[OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse], ]: """orgs/list-attestation-repositories @@ -1765,7 +1767,7 @@ def list_attestations( stream: bool = False, ) -> Response[ OrgsOrgAttestationsSubjectDigestGetResponse200, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """orgs/list-attestations @@ -1815,7 +1817,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ OrgsOrgAttestationsSubjectDigestGetResponse200, - OrgsOrgAttestationsSubjectDigestGetResponse200Type, + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """orgs/list-attestations @@ -1860,7 +1862,7 @@ def list_blocked_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-blocked-users GET /orgs/{org}/blocks @@ -1898,7 +1900,7 @@ async def async_list_blocked_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-blocked-users GET /orgs/{org}/blocks @@ -2124,7 +2126,9 @@ def list_failed_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-failed-invitations GET /orgs/{org}/failed_invitations @@ -2165,7 +2169,9 @@ async def async_list_failed_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-failed-invitations GET /orgs/{org}/failed_invitations @@ -2206,7 +2212,7 @@ def list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgHook], list[OrgHookType]]: + ) -> Response[list[OrgHook], list[OrgHookTypeForResponse]]: """orgs/list-webhooks GET /orgs/{org}/hooks @@ -2252,7 +2258,7 @@ async def async_list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgHook], list[OrgHookType]]: + ) -> Response[list[OrgHook], list[OrgHookTypeForResponse]]: """orgs/list-webhooks GET /orgs/{org}/hooks @@ -2298,7 +2304,7 @@ def create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgHooksPostBodyType, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload def create_webhook( @@ -2312,7 +2318,7 @@ def create_webhook( config: OrgsOrgHooksPostBodyPropConfigType, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... def create_webhook( self, @@ -2322,7 +2328,7 @@ def create_webhook( stream: bool = False, data: Missing[OrgsOrgHooksPostBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/create-webhook POST /orgs/{org}/hooks @@ -2373,7 +2379,7 @@ async def async_create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgHooksPostBodyType, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload async def async_create_webhook( @@ -2387,7 +2393,7 @@ async def async_create_webhook( config: OrgsOrgHooksPostBodyPropConfigType, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... async def async_create_webhook( self, @@ -2397,7 +2403,7 @@ async def async_create_webhook( stream: bool = False, data: Missing[OrgsOrgHooksPostBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/create-webhook POST /orgs/{org}/hooks @@ -2447,7 +2453,7 @@ def get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/get-webhook GET /orgs/{org}/hooks/{hook_id} @@ -2487,7 +2493,7 @@ async def async_get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/get-webhook GET /orgs/{org}/hooks/{hook_id} @@ -2605,7 +2611,7 @@ def update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload def update_webhook( @@ -2620,7 +2626,7 @@ def update_webhook( events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, name: Missing[str] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... def update_webhook( self, @@ -2631,7 +2637,7 @@ def update_webhook( stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/update-webhook PATCH /orgs/{org}/hooks/{hook_id} @@ -2692,7 +2698,7 @@ async def async_update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... @overload async def async_update_webhook( @@ -2707,7 +2713,7 @@ async def async_update_webhook( events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, name: Missing[str] = UNSET, - ) -> Response[OrgHook, OrgHookType]: ... + ) -> Response[OrgHook, OrgHookTypeForResponse]: ... async def async_update_webhook( self, @@ -2718,7 +2724,7 @@ async def async_update_webhook( stream: bool = False, data: Missing[OrgsOrgHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgHook, OrgHookType]: + ) -> Response[OrgHook, OrgHookTypeForResponse]: """orgs/update-webhook PATCH /orgs/{org}/hooks/{hook_id} @@ -2777,7 +2783,7 @@ def get_webhook_config_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/get-webhook-config-for-org GET /orgs/{org}/hooks/{hook_id}/config @@ -2813,7 +2819,7 @@ async def async_get_webhook_config_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/get-webhook-config-for-org GET /orgs/{org}/hooks/{hook_id}/config @@ -2851,7 +2857,7 @@ def update_webhook_config_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_org( @@ -2866,7 +2872,7 @@ def update_webhook_config_for_org( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_org( self, @@ -2877,7 +2883,7 @@ def update_webhook_config_for_org( stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/update-webhook-config-for-org PATCH /orgs/{org}/hooks/{hook_id}/config @@ -2925,7 +2931,7 @@ async def async_update_webhook_config_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_org( @@ -2940,7 +2946,7 @@ async def async_update_webhook_config_for_org( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_org( self, @@ -2951,7 +2957,7 @@ async def async_update_webhook_config_for_org( stream: bool = False, data: Missing[OrgsOrgHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """orgs/update-webhook-config-for-org PATCH /orgs/{org}/hooks/{hook_id}/config @@ -2999,7 +3005,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """orgs/list-webhook-deliveries GET /orgs/{org}/hooks/{hook_id}/deliveries @@ -3047,7 +3053,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """orgs/list-webhook-deliveries GET /orgs/{org}/hooks/{hook_id}/deliveries @@ -3094,7 +3100,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """orgs/get-webhook-delivery GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} @@ -3135,7 +3141,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """orgs/get-webhook-delivery GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} @@ -3178,7 +3184,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/redeliver-webhook-delivery @@ -3226,7 +3232,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/redeliver-webhook-delivery @@ -3375,7 +3381,8 @@ def get_route_stats_by_actor( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsRouteStatsItems], list[ApiInsightsRouteStatsItemsType] + list[ApiInsightsRouteStatsItems], + list[ApiInsightsRouteStatsItemsTypeForResponse], ]: """api-insights/get-route-stats-by-actor @@ -3444,7 +3451,8 @@ async def async_get_route_stats_by_actor( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsRouteStatsItems], list[ApiInsightsRouteStatsItemsType] + list[ApiInsightsRouteStatsItems], + list[ApiInsightsRouteStatsItemsTypeForResponse], ]: """api-insights/get-route-stats-by-actor @@ -3504,7 +3512,8 @@ def get_subject_stats( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsSubjectStatsItems], list[ApiInsightsSubjectStatsItemsType] + list[ApiInsightsSubjectStatsItems], + list[ApiInsightsSubjectStatsItemsTypeForResponse], ]: """api-insights/get-subject-stats @@ -3564,7 +3573,8 @@ async def async_get_subject_stats( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[ApiInsightsSubjectStatsItems], list[ApiInsightsSubjectStatsItemsType] + list[ApiInsightsSubjectStatsItems], + list[ApiInsightsSubjectStatsItemsTypeForResponse], ]: """api-insights/get-subject-stats @@ -3608,7 +3618,7 @@ def get_summary_stats( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats GET /orgs/{org}/insights/api/summary-stats @@ -3646,7 +3656,7 @@ async def async_get_summary_stats( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats GET /orgs/{org}/insights/api/summary-stats @@ -3685,7 +3695,7 @@ def get_summary_stats_by_user( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-user GET /orgs/{org}/insights/api/summary-stats/users/{user_id} @@ -3724,7 +3734,7 @@ async def async_get_summary_stats_by_user( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-user GET /orgs/{org}/insights/api/summary-stats/users/{user_id} @@ -3770,7 +3780,7 @@ def get_summary_stats_by_actor( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-actor GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id} @@ -3816,7 +3826,7 @@ async def async_get_summary_stats_by_actor( max_timestamp: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsType]: + ) -> Response[ApiInsightsSummaryStats, ApiInsightsSummaryStatsTypeForResponse]: """api-insights/get-summary-stats-by-actor GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id} @@ -3855,7 +3865,9 @@ def get_time_stats( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats GET /orgs/{org}/insights/api/time-stats @@ -3895,7 +3907,9 @@ async def async_get_time_stats( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats GET /orgs/{org}/insights/api/time-stats @@ -3936,7 +3950,9 @@ def get_time_stats_by_user( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-user GET /orgs/{org}/insights/api/time-stats/users/{user_id} @@ -3977,7 +3993,9 @@ async def async_get_time_stats_by_user( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-user GET /orgs/{org}/insights/api/time-stats/users/{user_id} @@ -4025,7 +4043,9 @@ def get_time_stats_by_actor( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-actor GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id} @@ -4073,7 +4093,9 @@ async def async_get_time_stats_by_actor( timestamp_increment: str, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsType]]: + ) -> Response[ + list[ApiInsightsTimeStatsItems], list[ApiInsightsTimeStatsItemsTypeForResponse] + ]: """api-insights/get-time-stats-by-actor GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id} @@ -4128,7 +4150,9 @@ def get_user_stats( actor_name_substring: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsType]]: + ) -> Response[ + list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsTypeForResponse] + ]: """api-insights/get-user-stats GET /orgs/{org}/insights/api/user-stats/{user_id} @@ -4187,7 +4211,9 @@ async def async_get_user_stats( actor_name_substring: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsType]]: + ) -> Response[ + list[ApiInsightsUserStatsItems], list[ApiInsightsUserStatsItemsTypeForResponse] + ]: """api-insights/get-user-stats GET /orgs/{org}/insights/api/user-stats/{user_id} @@ -4231,7 +4257,8 @@ def list_app_installations( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgInstallationsGetResponse200, OrgsOrgInstallationsGetResponse200Type + OrgsOrgInstallationsGetResponse200, + OrgsOrgInstallationsGetResponse200TypeForResponse, ]: """orgs/list-app-installations @@ -4276,7 +4303,8 @@ async def async_list_app_installations( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - OrgsOrgInstallationsGetResponse200, OrgsOrgInstallationsGetResponse200Type + OrgsOrgInstallationsGetResponse200, + OrgsOrgInstallationsGetResponse200TypeForResponse, ]: """orgs/list-app-installations @@ -4326,7 +4354,9 @@ def list_pending_invitations( invitation_source: Missing[Literal["all", "member", "scim"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-pending-invitations GET /orgs/{org}/invitations @@ -4378,7 +4408,9 @@ async def async_list_pending_invitations( invitation_source: Missing[Literal["all", "member", "scim"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """orgs/list-pending-invitations GET /orgs/{org}/invitations @@ -4424,7 +4456,7 @@ def create_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... @overload def create_invitation( @@ -4440,7 +4472,7 @@ def create_invitation( Literal["admin", "direct_member", "billing_manager", "reinstate"] ] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... def create_invitation( self, @@ -4450,7 +4482,7 @@ def create_invitation( stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: """orgs/create-invitation POST /orgs/{org}/invitations @@ -4504,7 +4536,7 @@ async def async_create_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... @overload async def async_create_invitation( @@ -4520,7 +4552,7 @@ async def async_create_invitation( Literal["admin", "direct_member", "billing_manager", "reinstate"] ] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: ... + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: ... async def async_create_invitation( self, @@ -4530,7 +4562,7 @@ async def async_create_invitation( stream: bool = False, data: Missing[OrgsOrgInvitationsPostBodyType] = UNSET, **kwargs, - ) -> Response[OrganizationInvitation, OrganizationInvitationType]: + ) -> Response[OrganizationInvitation, OrganizationInvitationTypeForResponse]: """orgs/create-invitation POST /orgs/{org}/invitations @@ -4657,7 +4689,7 @@ def list_invitation_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """orgs/list-invitation-teams GET /orgs/{org}/invitations/{invitation_id}/teams @@ -4699,7 +4731,7 @@ async def async_list_invitation_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """orgs/list-invitation-teams GET /orgs/{org}/invitations/{invitation_id}/teams @@ -4738,7 +4770,9 @@ def list_issue_types( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[IssueType, None]], list[Union[IssueTypeType, None]]]: + ) -> Response[ + list[Union[IssueType, None]], list[Union[IssueTypeTypeForResponse, None]] + ]: """orgs/list-issue-types GET /orgs/{org}/issue-types @@ -4773,7 +4807,9 @@ async def async_list_issue_types( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[IssueType, None]], list[Union[IssueTypeType, None]]]: + ) -> Response[ + list[Union[IssueType, None]], list[Union[IssueTypeTypeForResponse, None]] + ]: """orgs/list-issue-types GET /orgs/{org}/issue-types @@ -4810,7 +4846,7 @@ def create_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCreateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload def create_issue_type( @@ -4831,7 +4867,7 @@ def create_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... def create_issue_type( self, @@ -4841,7 +4877,7 @@ def create_issue_type( stream: bool = False, data: Missing[OrganizationCreateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/create-issue-type POST /orgs/{org}/issue-types @@ -4899,7 +4935,7 @@ async def async_create_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationCreateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload async def async_create_issue_type( @@ -4920,7 +4956,7 @@ async def async_create_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... async def async_create_issue_type( self, @@ -4930,7 +4966,7 @@ async def async_create_issue_type( stream: bool = False, data: Missing[OrganizationCreateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/create-issue-type POST /orgs/{org}/issue-types @@ -4989,7 +5025,7 @@ def update_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationUpdateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload def update_issue_type( @@ -5011,7 +5047,7 @@ def update_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... def update_issue_type( self, @@ -5022,7 +5058,7 @@ def update_issue_type( stream: bool = False, data: Missing[OrganizationUpdateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/update-issue-type PUT /orgs/{org}/issue-types/{issue_type_id} @@ -5081,7 +5117,7 @@ async def async_update_issue_type( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrganizationUpdateIssueTypeType, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... @overload async def async_update_issue_type( @@ -5103,7 +5139,7 @@ async def async_update_issue_type( ], ] ] = UNSET, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: ... + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: ... async def async_update_issue_type( self, @@ -5114,7 +5150,7 @@ async def async_update_issue_type( stream: bool = False, data: Missing[OrganizationUpdateIssueTypeType] = UNSET, **kwargs, - ) -> Response[Union[IssueType, None], Union[IssueTypeType, None]]: + ) -> Response[Union[IssueType, None], Union[IssueTypeTypeForResponse, None]]: """orgs/update-issue-type PUT /orgs/{org}/issue-types/{issue_type_id} @@ -5252,7 +5288,7 @@ def list_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-members GET /orgs/{org}/members @@ -5297,7 +5333,7 @@ async def async_list_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-members GET /orgs/{org}/members @@ -5469,7 +5505,7 @@ def get_membership_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-user GET /orgs/{org}/memberships/{username} @@ -5504,7 +5540,7 @@ async def async_get_membership_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-user GET /orgs/{org}/memberships/{username} @@ -5541,7 +5577,7 @@ def set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload def set_membership_for_user( @@ -5553,7 +5589,7 @@ def set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["admin", "member"]] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... def set_membership_for_user( self, @@ -5564,7 +5600,7 @@ def set_membership_for_user( stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/set-membership-for-user PUT /orgs/{org}/memberships/{username} @@ -5624,7 +5660,7 @@ async def async_set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload async def async_set_membership_for_user( @@ -5636,7 +5672,7 @@ async def async_set_membership_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["admin", "member"]] = UNSET, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... async def async_set_membership_for_user( self, @@ -5647,7 +5683,7 @@ async def async_set_membership_for_user( stream: bool = False, data: Missing[OrgsOrgMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/set-membership-for-user PUT /orgs/{org}/memberships/{username} @@ -5784,7 +5820,7 @@ def list_org_roles( stream: bool = False, ) -> Response[ OrgsOrgOrganizationRolesGetResponse200, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, ]: """orgs/list-org-roles @@ -5832,7 +5868,7 @@ async def async_list_org_roles( stream: bool = False, ) -> Response[ OrgsOrgOrganizationRolesGetResponse200, - OrgsOrgOrganizationRolesGetResponse200Type, + OrgsOrgOrganizationRolesGetResponse200TypeForResponse, ]: """orgs/list-org-roles @@ -6275,7 +6311,7 @@ def get_org_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/get-org-role GET /orgs/{org}/organization-roles/{role_id} @@ -6317,7 +6353,7 @@ async def async_get_org_role( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrganizationRole, OrganizationRoleType]: + ) -> Response[OrganizationRole, OrganizationRoleTypeForResponse]: """orgs/get-org-role GET /orgs/{org}/organization-roles/{role_id} @@ -6361,7 +6397,7 @@ def list_org_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentType]]: + ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentTypeForResponse]]: """orgs/list-org-role-teams GET /orgs/{org}/organization-roles/{role_id}/teams @@ -6405,7 +6441,7 @@ async def async_list_org_role_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentType]]: + ) -> Response[list[TeamRoleAssignment], list[TeamRoleAssignmentTypeForResponse]]: """orgs/list-org-role-teams GET /orgs/{org}/organization-roles/{role_id}/teams @@ -6449,7 +6485,7 @@ def list_org_role_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentType]]: + ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentTypeForResponse]]: """orgs/list-org-role-users GET /orgs/{org}/organization-roles/{role_id}/users @@ -6493,7 +6529,7 @@ async def async_list_org_role_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentType]]: + ) -> Response[list[UserRoleAssignment], list[UserRoleAssignmentTypeForResponse]]: """orgs/list-org-role-users GET /orgs/{org}/organization-roles/{role_id}/users @@ -6537,7 +6573,7 @@ def list_outside_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-outside-collaborators GET /orgs/{org}/outside_collaborators @@ -6577,7 +6613,7 @@ async def async_list_outside_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-outside-collaborators GET /orgs/{org}/outside_collaborators @@ -6619,7 +6655,7 @@ def convert_member_to_outside_collaborator( data: Missing[OrgsOrgOutsideCollaboratorsUsernamePutBodyType] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... @overload @@ -6634,7 +6670,7 @@ def convert_member_to_outside_collaborator( async_: Missing[bool] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... def convert_member_to_outside_collaborator( @@ -6648,7 +6684,7 @@ def convert_member_to_outside_collaborator( **kwargs, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: """orgs/convert-member-to-outside-collaborator @@ -6703,7 +6739,7 @@ async def async_convert_member_to_outside_collaborator( data: Missing[OrgsOrgOutsideCollaboratorsUsernamePutBodyType] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... @overload @@ -6718,7 +6754,7 @@ async def async_convert_member_to_outside_collaborator( async_: Missing[bool] = UNSET, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: ... async def async_convert_member_to_outside_collaborator( @@ -6732,7 +6768,7 @@ async def async_convert_member_to_outside_collaborator( **kwargs, ) -> Response[ OrgsOrgOutsideCollaboratorsUsernamePutResponse202, - OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, ]: """orgs/convert-member-to-outside-collaborator @@ -6860,7 +6896,7 @@ def list_pat_grant_requests( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrantRequest], - list[OrganizationProgrammaticAccessGrantRequestType], + list[OrganizationProgrammaticAccessGrantRequestTypeForResponse], ]: """orgs/list-pat-grant-requests @@ -6929,7 +6965,7 @@ async def async_list_pat_grant_requests( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrantRequest], - list[OrganizationProgrammaticAccessGrantRequestType], + list[OrganizationProgrammaticAccessGrantRequestTypeForResponse], ]: """orgs/list-pat-grant-requests @@ -6990,7 +7026,7 @@ def review_pat_grant_requests_in_bulk( data: OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -7006,7 +7042,7 @@ def review_pat_grant_requests_in_bulk( reason: Missing[Union[str, None]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def review_pat_grant_requests_in_bulk( @@ -7019,7 +7055,7 @@ def review_pat_grant_requests_in_bulk( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/review-pat-grant-requests-in-bulk @@ -7079,7 +7115,7 @@ async def async_review_pat_grant_requests_in_bulk( data: OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -7095,7 +7131,7 @@ async def async_review_pat_grant_requests_in_bulk( reason: Missing[Union[str, None]] = UNSET, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_review_pat_grant_requests_in_bulk( @@ -7108,7 +7144,7 @@ async def async_review_pat_grant_requests_in_bulk( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/review-pat-grant-requests-in-bulk @@ -7331,7 +7367,7 @@ def list_pat_grant_request_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-request-repositories GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories @@ -7379,7 +7415,7 @@ async def async_list_pat_grant_request_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-request-repositories GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories @@ -7436,7 +7472,7 @@ def list_pat_grants( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrant], - list[OrganizationProgrammaticAccessGrantType], + list[OrganizationProgrammaticAccessGrantTypeForResponse], ]: """orgs/list-pat-grants @@ -7505,7 +7541,7 @@ async def async_list_pat_grants( stream: bool = False, ) -> Response[ list[OrganizationProgrammaticAccessGrant], - list[OrganizationProgrammaticAccessGrantType], + list[OrganizationProgrammaticAccessGrantTypeForResponse], ]: """orgs/list-pat-grants @@ -7566,7 +7602,7 @@ def update_pat_accesses( data: OrgsOrgPersonalAccessTokensPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -7581,7 +7617,7 @@ def update_pat_accesses( pat_ids: list[int], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... def update_pat_accesses( @@ -7594,7 +7630,7 @@ def update_pat_accesses( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/update-pat-accesses @@ -7652,7 +7688,7 @@ async def async_update_pat_accesses( data: OrgsOrgPersonalAccessTokensPostBodyType, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... @overload @@ -7667,7 +7703,7 @@ async def async_update_pat_accesses( pat_ids: list[int], ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: ... async def async_update_pat_accesses( @@ -7680,7 +7716,7 @@ async def async_update_pat_accesses( **kwargs, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """orgs/update-pat-accesses @@ -7891,7 +7927,7 @@ def list_pat_grant_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-repositories GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories @@ -7937,7 +7973,7 @@ async def async_list_pat_grant_repositories( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """orgs/list-pat-grant-repositories GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories @@ -7980,7 +8016,7 @@ def custom_properties_for_repos_get_organization_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-get-organization-definitions GET /orgs/{org}/properties/schema @@ -8015,7 +8051,7 @@ async def async_custom_properties_for_repos_get_organization_definitions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-get-organization-definitions GET /orgs/{org}/properties/schema @@ -8052,7 +8088,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgPropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload def custom_properties_for_repos_create_or_update_organization_definitions( @@ -8063,7 +8099,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... def custom_properties_for_repos_create_or_update_organization_definitions( self, @@ -8073,7 +8109,7 @@ def custom_properties_for_repos_create_or_update_organization_definitions( stream: bool = False, data: Missing[OrgsOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-create-or-update-organization-definitions PATCH /orgs/{org}/properties/schema @@ -8131,7 +8167,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgPropertiesSchemaPatchBodyType, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... @overload async def async_custom_properties_for_repos_create_or_update_organization_definitions( @@ -8142,7 +8178,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, properties: list[CustomPropertyType], - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: ... + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: ... async def async_custom_properties_for_repos_create_or_update_organization_definitions( self, @@ -8152,7 +8188,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini stream: bool = False, data: Missing[OrgsOrgPropertiesSchemaPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[CustomProperty], list[CustomPropertyType]]: + ) -> Response[list[CustomProperty], list[CustomPropertyTypeForResponse]]: """orgs/custom-properties-for-repos-create-or-update-organization-definitions PATCH /orgs/{org}/properties/schema @@ -8209,7 +8245,7 @@ def custom_properties_for_repos_get_organization_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-get-organization-definition GET /orgs/{org}/properties/schema/{custom_property_name} @@ -8245,7 +8281,7 @@ async def async_custom_properties_for_repos_get_organization_definition( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-get-organization-definition GET /orgs/{org}/properties/schema/{custom_property_name} @@ -8283,7 +8319,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload def custom_properties_for_repos_create_or_update_organization_definition( @@ -8302,7 +8338,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... def custom_properties_for_repos_create_or_update_organization_definition( self, @@ -8313,7 +8349,7 @@ def custom_properties_for_repos_create_or_update_organization_definition( stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-create-or-update-organization-definition PUT /orgs/{org}/properties/schema/{custom_property_name} @@ -8364,7 +8400,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: CustomPropertySetPayloadType, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... @overload async def async_custom_properties_for_repos_create_or_update_organization_definition( @@ -8383,7 +8419,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini values_editable_by: Missing[ Union[None, Literal["org_actors", "org_and_repo_actors"]] ] = UNSET, - ) -> Response[CustomProperty, CustomPropertyType]: ... + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: ... async def async_custom_properties_for_repos_create_or_update_organization_definition( self, @@ -8394,7 +8430,7 @@ async def async_custom_properties_for_repos_create_or_update_organization_defini stream: bool = False, data: Missing[CustomPropertySetPayloadType] = UNSET, **kwargs, - ) -> Response[CustomProperty, CustomPropertyType]: + ) -> Response[CustomProperty, CustomPropertyTypeForResponse]: """orgs/custom-properties-for-repos-create-or-update-organization-definition PUT /orgs/{org}/properties/schema/{custom_property_name} @@ -8522,7 +8558,8 @@ def custom_properties_for_repos_get_organization_values( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrgRepoCustomPropertyValues], list[OrgRepoCustomPropertyValuesType] + list[OrgRepoCustomPropertyValues], + list[OrgRepoCustomPropertyValuesTypeForResponse], ]: """orgs/custom-properties-for-repos-get-organization-values @@ -8569,7 +8606,8 @@ async def async_custom_properties_for_repos_get_organization_values( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrgRepoCustomPropertyValues], list[OrgRepoCustomPropertyValuesType] + list[OrgRepoCustomPropertyValues], + list[OrgRepoCustomPropertyValuesTypeForResponse], ]: """orgs/custom-properties-for-repos-get-organization-values @@ -8776,7 +8814,7 @@ def list_public_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-public-members GET /orgs/{org}/public_members @@ -8814,7 +8852,7 @@ async def async_list_public_members( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """orgs/list-public-members GET /orgs/{org}/public_members @@ -9037,7 +9075,7 @@ def get_org_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """orgs/get-org-ruleset-history GET /orgs/{org}/rulesets/{ruleset_id}/history @@ -9080,7 +9118,7 @@ async def async_get_org_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """orgs/get-org-ruleset-history GET /orgs/{org}/rulesets/{ruleset_id}/history @@ -9122,7 +9160,7 @@ def get_org_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """orgs/get-org-ruleset-version GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id} @@ -9158,7 +9196,7 @@ async def async_get_org_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """orgs/get-org-ruleset-version GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id} @@ -9192,7 +9230,7 @@ def list_security_manager_teams( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamSimple], list[TeamSimpleType]]: + ) -> Response[list[TeamSimple], list[TeamSimpleTypeForResponse]]: """DEPRECATED orgs/list-security-manager-teams GET /orgs/{org}/security-managers @@ -9223,7 +9261,7 @@ async def async_list_security_manager_teams( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamSimple], list[TeamSimpleType]]: + ) -> Response[list[TeamSimple], list[TeamSimpleTypeForResponse]]: """DEPRECATED orgs/list-security-manager-teams GET /orgs/{org}/security-managers @@ -9371,7 +9409,8 @@ def get_immutable_releases_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ImmutableReleasesOrganizationSettings, ImmutableReleasesOrganizationSettingsType + ImmutableReleasesOrganizationSettings, + ImmutableReleasesOrganizationSettingsTypeForResponse, ]: """orgs/get-immutable-releases-settings @@ -9405,7 +9444,8 @@ async def async_get_immutable_releases_settings( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ImmutableReleasesOrganizationSettings, ImmutableReleasesOrganizationSettingsType + ImmutableReleasesOrganizationSettings, + ImmutableReleasesOrganizationSettingsTypeForResponse, ]: """orgs/get-immutable-releases-settings @@ -9572,7 +9612,7 @@ def get_immutable_releases_settings_repositories( stream: bool = False, ) -> Response[ OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, ]: """orgs/get-immutable-releases-settings-repositories @@ -9615,7 +9655,7 @@ async def async_get_immutable_releases_settings_repositories( stream: bool = False, ) -> Response[ OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200, - OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, ]: """orgs/get-immutable-releases-settings-repositories @@ -10108,7 +10148,7 @@ def list_memberships_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgMembership], list[OrgMembershipType]]: + ) -> Response[list[OrgMembership], list[OrgMembershipTypeForResponse]]: """orgs/list-memberships-for-authenticated-user GET /user/memberships/orgs @@ -10152,7 +10192,7 @@ async def async_list_memberships_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrgMembership], list[OrgMembershipType]]: + ) -> Response[list[OrgMembership], list[OrgMembershipTypeForResponse]]: """orgs/list-memberships-for-authenticated-user GET /user/memberships/orgs @@ -10194,7 +10234,7 @@ def get_membership_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-authenticated-user GET /user/memberships/orgs/{org} @@ -10228,7 +10268,7 @@ async def async_get_membership_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/get-membership-for-authenticated-user GET /user/memberships/orgs/{org} @@ -10264,7 +10304,7 @@ def update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMembershipsOrgsOrgPatchBodyType, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload def update_membership_for_authenticated_user( @@ -10275,7 +10315,7 @@ def update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, state: Literal["active"], - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... def update_membership_for_authenticated_user( self, @@ -10285,7 +10325,7 @@ def update_membership_for_authenticated_user( stream: bool = False, data: Missing[UserMembershipsOrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/update-membership-for-authenticated-user PATCH /user/memberships/orgs/{org} @@ -10337,7 +10377,7 @@ async def async_update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserMembershipsOrgsOrgPatchBodyType, - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... @overload async def async_update_membership_for_authenticated_user( @@ -10348,7 +10388,7 @@ async def async_update_membership_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, state: Literal["active"], - ) -> Response[OrgMembership, OrgMembershipType]: ... + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: ... async def async_update_membership_for_authenticated_user( self, @@ -10358,7 +10398,7 @@ async def async_update_membership_for_authenticated_user( stream: bool = False, data: Missing[UserMembershipsOrgsOrgPatchBodyType] = UNSET, **kwargs, - ) -> Response[OrgMembership, OrgMembershipType]: + ) -> Response[OrgMembership, OrgMembershipTypeForResponse]: """orgs/update-membership-for-authenticated-user PATCH /user/memberships/orgs/{org} @@ -10409,7 +10449,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-authenticated-user GET /user/orgs @@ -10455,7 +10495,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-authenticated-user GET /user/orgs @@ -10502,7 +10542,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-user GET /users/{username}/orgs @@ -10542,7 +10582,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationSimple], list[OrganizationSimpleType]]: + ) -> Response[list[OrganizationSimple], list[OrganizationSimpleTypeForResponse]]: """orgs/list-for-user GET /users/{username}/orgs diff --git a/githubkit/versions/v2022_11_28/rest/packages.py b/githubkit/versions/v2022_11_28/rest/packages.py index 5550a9b12..84c6d930f 100644 --- a/githubkit/versions/v2022_11_28/rest/packages.py +++ b/githubkit/versions/v2022_11_28/rest/packages.py @@ -25,7 +25,7 @@ from githubkit.utils import UNSET from ..models import Package, PackageVersion - from ..types import PackageType, PackageVersionType + from ..types import PackageTypeForResponse, PackageVersionTypeForResponse class PackagesClient: @@ -49,7 +49,7 @@ def list_docker_migration_conflicting_packages_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-organization GET /orgs/{org}/docker/conflicts @@ -85,7 +85,7 @@ async def async_list_docker_migration_conflicting_packages_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-organization GET /orgs/{org}/docker/conflicts @@ -127,7 +127,7 @@ def list_packages_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-organization GET /orgs/{org}/packages @@ -177,7 +177,7 @@ async def async_list_packages_for_organization( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-organization GET /orgs/{org}/packages @@ -225,7 +225,7 @@ def get_package_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-organization GET /orgs/{org}/packages/{package_type}/{package_name} @@ -261,7 +261,7 @@ async def async_get_package_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-organization GET /orgs/{org}/packages/{package_type}/{package_name} @@ -488,7 +488,7 @@ def get_all_package_versions_for_package_owned_by_org( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-org GET /orgs/{org}/packages/{package_type}/{package_name}/versions @@ -539,7 +539,7 @@ async def async_get_all_package_versions_for_package_owned_by_org( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-org GET /orgs/{org}/packages/{package_type}/{package_name}/versions @@ -588,7 +588,7 @@ def get_package_version_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-organization GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -625,7 +625,7 @@ async def async_get_package_version_for_organization( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-organization GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -836,7 +836,7 @@ def list_docker_migration_conflicting_packages_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-authenticated-user GET /user/docker/conflicts @@ -867,7 +867,7 @@ async def async_list_docker_migration_conflicting_packages_for_authenticated_use *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-authenticated-user GET /user/docker/conflicts @@ -904,7 +904,7 @@ def list_packages_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-authenticated-user GET /user/packages @@ -950,7 +950,7 @@ async def async_list_packages_for_authenticated_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-authenticated-user GET /user/packages @@ -994,7 +994,7 @@ def get_package_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-authenticated-user GET /user/packages/{package_type}/{package_name} @@ -1029,7 +1029,7 @@ async def async_get_package_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-authenticated-user GET /user/packages/{package_type}/{package_name} @@ -1243,7 +1243,7 @@ def get_all_package_versions_for_package_owned_by_authenticated_user( state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-authenticated-user GET /user/packages/{package_type}/{package_name}/versions @@ -1293,7 +1293,7 @@ async def async_get_all_package_versions_for_package_owned_by_authenticated_user state: Missing[Literal["active", "deleted"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-authenticated-user GET /user/packages/{package_type}/{package_name}/versions @@ -1341,7 +1341,7 @@ def get_package_version_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-authenticated-user GET /user/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -1377,7 +1377,7 @@ async def async_get_package_version_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-authenticated-user GET /user/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -1581,7 +1581,7 @@ def list_docker_migration_conflicting_packages_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-user GET /users/{username}/docker/conflicts @@ -1617,7 +1617,7 @@ async def async_list_docker_migration_conflicting_packages_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-docker-migration-conflicting-packages-for-user GET /users/{username}/docker/conflicts @@ -1659,7 +1659,7 @@ def list_packages_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-user GET /users/{username}/packages @@ -1709,7 +1709,7 @@ async def async_list_packages_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Package], list[PackageType]]: + ) -> Response[list[Package], list[PackageTypeForResponse]]: """packages/list-packages-for-user GET /users/{username}/packages @@ -1757,7 +1757,7 @@ def get_package_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-user GET /users/{username}/packages/{package_type}/{package_name} @@ -1793,7 +1793,7 @@ async def async_get_package_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Package, PackageType]: + ) -> Response[Package, PackageTypeForResponse]: """packages/get-package-for-user GET /users/{username}/packages/{package_type}/{package_name} @@ -2017,7 +2017,7 @@ def get_all_package_versions_for_package_owned_by_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-user GET /users/{username}/packages/{package_type}/{package_name}/versions @@ -2058,7 +2058,7 @@ async def async_get_all_package_versions_for_package_owned_by_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PackageVersion], list[PackageVersionType]]: + ) -> Response[list[PackageVersion], list[PackageVersionTypeForResponse]]: """packages/get-all-package-versions-for-package-owned-by-user GET /users/{username}/packages/{package_type}/{package_name}/versions @@ -2100,7 +2100,7 @@ def get_package_version_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-user GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} @@ -2137,7 +2137,7 @@ async def async_get_package_version_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PackageVersion, PackageVersionType]: + ) -> Response[PackageVersion, PackageVersionTypeForResponse]: """packages/get-package-version-for-user GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} diff --git a/githubkit/versions/v2022_11_28/rest/private_registries.py b/githubkit/versions/v2022_11_28/rest/private_registries.py index 44f5d82b8..ca2694130 100644 --- a/githubkit/versions/v2022_11_28/rest/private_registries.py +++ b/githubkit/versions/v2022_11_28/rest/private_registries.py @@ -34,11 +34,11 @@ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, ) from ..types import ( - OrgPrivateRegistryConfigurationType, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgPrivateRegistryConfigurationTypeForResponse, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, OrgsOrgPrivateRegistriesPostBodyType, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, OrgsOrgPrivateRegistriesSecretNamePatchBodyType, ) @@ -68,7 +68,7 @@ def list_org_private_registries( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesGetResponse200, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, ]: """private-registries/list-org-private-registries @@ -117,7 +117,7 @@ async def async_list_org_private_registries( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesGetResponse200, - OrgsOrgPrivateRegistriesGetResponse200Type, + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, ]: """private-registries/list-org-private-registries @@ -166,7 +166,7 @@ def create_org_private_registry( data: OrgsOrgPrivateRegistriesPostBodyType, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... @overload @@ -203,7 +203,7 @@ def create_org_private_registry( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... def create_org_private_registry( @@ -216,7 +216,7 @@ def create_org_private_registry( **kwargs, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: """private-registries/create-org-private-registry @@ -273,7 +273,7 @@ async def async_create_org_private_registry( data: OrgsOrgPrivateRegistriesPostBodyType, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... @overload @@ -310,7 +310,7 @@ async def async_create_org_private_registry( selected_repository_ids: Missing[list[int]] = UNSET, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: ... async def async_create_org_private_registry( @@ -323,7 +323,7 @@ async def async_create_org_private_registry( **kwargs, ) -> Response[ OrgPrivateRegistryConfigurationWithSelectedRepositories, - OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, ]: """private-registries/create-org-private-registry @@ -378,7 +378,7 @@ def get_org_public_key( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, ]: """private-registries/get-org-public-key @@ -417,7 +417,7 @@ async def async_get_org_public_key( stream: bool = False, ) -> Response[ OrgsOrgPrivateRegistriesPublicKeyGetResponse200, - OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, ]: """private-registries/get-org-public-key @@ -455,7 +455,9 @@ def get_org_private_registry( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationType]: + ) -> Response[ + OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationTypeForResponse + ]: """private-registries/get-org-private-registry GET /orgs/{org}/private-registries/{secret_name} @@ -492,7 +494,9 @@ async def async_get_org_private_registry( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationType]: + ) -> Response[ + OrgPrivateRegistryConfiguration, OrgPrivateRegistryConfigurationTypeForResponse + ]: """private-registries/get-org-private-registry GET /orgs/{org}/private-registries/{secret_name} diff --git a/githubkit/versions/v2022_11_28/rest/projects.py b/githubkit/versions/v2022_11_28/rest/projects.py index d82e2d73a..3d1de28af 100644 --- a/githubkit/versions/v2022_11_28/rest/projects.py +++ b/githubkit/versions/v2022_11_28/rest/projects.py @@ -38,10 +38,10 @@ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ProjectsV2FieldType, - ProjectsV2ItemSimpleType, - ProjectsV2ItemWithContentType, - ProjectsV2Type, + ProjectsV2FieldTypeForResponse, + ProjectsV2ItemSimpleTypeForResponse, + ProjectsV2ItemWithContentTypeForResponse, + ProjectsV2TypeForResponse, UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, @@ -73,7 +73,7 @@ def list_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-org GET /orgs/{org}/projectsV2 @@ -119,7 +119,7 @@ async def async_list_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-org GET /orgs/{org}/projectsV2 @@ -162,7 +162,7 @@ def get_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-org GET /orgs/{org}/projectsV2/{project_number} @@ -197,7 +197,7 @@ async def async_get_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-org GET /orgs/{org}/projectsV2/{project_number} @@ -234,7 +234,7 @@ def create_draft_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def create_draft_item_for_org( @@ -247,7 +247,7 @@ def create_draft_item_for_org( stream: bool = False, title: str, body: Missing[str] = UNSET, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def create_draft_item_for_org( self, @@ -258,7 +258,7 @@ def create_draft_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/create-draft-item-for-org POST /orgs/{org}/projectsV2/{project_number}/drafts @@ -311,7 +311,7 @@ async def async_create_draft_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_create_draft_item_for_org( @@ -324,7 +324,7 @@ async def async_create_draft_item_for_org( stream: bool = False, title: str, body: Missing[str] = UNSET, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_create_draft_item_for_org( self, @@ -335,7 +335,7 @@ async def async_create_draft_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/create-draft-item-for-org POST /orgs/{org}/projectsV2/{project_number}/drafts @@ -389,7 +389,7 @@ def list_fields_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-org GET /orgs/{org}/projectsV2/{project_number}/fields @@ -434,7 +434,7 @@ async def async_list_fields_for_org( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-org GET /orgs/{org}/projectsV2/{project_number}/fields @@ -477,7 +477,7 @@ def get_field_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-org GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id} @@ -513,7 +513,7 @@ async def async_get_field_for_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-org GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id} @@ -553,7 +553,9 @@ def list_items_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-org GET /orgs/{org}/projectsV2/{project_number}/items @@ -602,7 +604,9 @@ async def async_list_items_for_org( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-org GET /orgs/{org}/projectsV2/{project_number}/items @@ -648,7 +652,7 @@ def add_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def add_item_for_org( @@ -661,7 +665,7 @@ def add_item_for_org( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def add_item_for_org( self, @@ -672,7 +676,7 @@ def add_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-org POST /orgs/{org}/projectsV2/{project_number}/items @@ -725,7 +729,7 @@ async def async_add_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_add_item_for_org( @@ -738,7 +742,7 @@ async def async_add_item_for_org( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_add_item_for_org( self, @@ -749,7 +753,7 @@ async def async_add_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-org POST /orgs/{org}/projectsV2/{project_number}/items @@ -802,7 +806,7 @@ def get_org_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-org-item GET /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -844,7 +848,7 @@ async def async_get_org_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-org-item GET /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -957,7 +961,9 @@ def update_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload def update_item_for_org( @@ -972,7 +978,9 @@ def update_item_for_org( fields: list[ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... def update_item_for_org( self, @@ -984,7 +992,7 @@ def update_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-org PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -1041,7 +1049,9 @@ async def async_update_item_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload async def async_update_item_for_org( @@ -1056,7 +1066,9 @@ async def async_update_item_for_org( fields: list[ OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... async def async_update_item_for_org( self, @@ -1068,7 +1080,7 @@ async def async_update_item_for_org( stream: bool = False, data: Missing[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-org PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id} @@ -1125,7 +1137,7 @@ def list_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-user GET /users/{username}/projectsV2 @@ -1171,7 +1183,7 @@ async def async_list_for_user( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2], list[ProjectsV2Type]]: + ) -> Response[list[ProjectsV2], list[ProjectsV2TypeForResponse]]: """projects/list-for-user GET /users/{username}/projectsV2 @@ -1214,7 +1226,7 @@ def get_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-user GET /users/{username}/projectsV2/{project_number} @@ -1249,7 +1261,7 @@ async def async_get_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2, ProjectsV2Type]: + ) -> Response[ProjectsV2, ProjectsV2TypeForResponse]: """projects/get-for-user GET /users/{username}/projectsV2/{project_number} @@ -1287,7 +1299,7 @@ def list_fields_for_user( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-user GET /users/{username}/projectsV2/{project_number}/fields @@ -1332,7 +1344,7 @@ async def async_list_fields_for_user( after: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldType]]: + ) -> Response[list[ProjectsV2Field], list[ProjectsV2FieldTypeForResponse]]: """projects/list-fields-for-user GET /users/{username}/projectsV2/{project_number}/fields @@ -1375,7 +1387,7 @@ def get_field_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-user GET /users/{username}/projectsV2/{project_number}/fields/{field_id} @@ -1411,7 +1423,7 @@ async def async_get_field_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2Field, ProjectsV2FieldType]: + ) -> Response[ProjectsV2Field, ProjectsV2FieldTypeForResponse]: """projects/get-field-for-user GET /users/{username}/projectsV2/{project_number}/fields/{field_id} @@ -1451,7 +1463,9 @@ def list_items_for_user( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-user GET /users/{username}/projectsV2/{project_number}/items @@ -1500,7 +1514,9 @@ async def async_list_items_for_user( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentType]]: + ) -> Response[ + list[ProjectsV2ItemWithContent], list[ProjectsV2ItemWithContentTypeForResponse] + ]: """projects/list-items-for-user GET /users/{username}/projectsV2/{project_number}/items @@ -1546,7 +1562,7 @@ def add_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload def add_item_for_user( @@ -1559,7 +1575,7 @@ def add_item_for_user( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... def add_item_for_user( self, @@ -1570,7 +1586,7 @@ def add_item_for_user( stream: bool = False, data: Missing[UsersUsernameProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-user POST /users/{username}/projectsV2/{project_number}/items @@ -1623,7 +1639,7 @@ async def async_add_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... @overload async def async_add_item_for_user( @@ -1636,7 +1652,7 @@ async def async_add_item_for_user( stream: bool = False, type: Literal["Issue", "PullRequest"], id: int, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: ... + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: ... async def async_add_item_for_user( self, @@ -1647,7 +1663,7 @@ async def async_add_item_for_user( stream: bool = False, data: Missing[UsersUsernameProjectsV2ProjectNumberItemsPostBodyType] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleType]: + ) -> Response[ProjectsV2ItemSimple, ProjectsV2ItemSimpleTypeForResponse]: """projects/add-item-for-user POST /users/{username}/projectsV2/{project_number}/items @@ -1700,7 +1716,7 @@ def get_user_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-user-item GET /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1742,7 +1758,7 @@ async def async_get_user_item( fields: Missing[Union[str, list[str]]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/get-user-item GET /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1855,7 +1871,9 @@ def update_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload def update_item_for_user( @@ -1870,7 +1888,9 @@ def update_item_for_user( fields: list[ UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... def update_item_for_user( self, @@ -1884,7 +1904,7 @@ def update_item_for_user( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-user PATCH /users/{username}/projectsV2/{project_number}/items/{item_id} @@ -1941,7 +1961,9 @@ async def async_update_item_for_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... @overload async def async_update_item_for_user( @@ -1956,7 +1978,9 @@ async def async_update_item_for_user( fields: list[ UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType ], - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: ... + ) -> Response[ + ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse + ]: ... async def async_update_item_for_user( self, @@ -1970,7 +1994,7 @@ async def async_update_item_for_user( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType ] = UNSET, **kwargs, - ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentType]: + ) -> Response[ProjectsV2ItemWithContent, ProjectsV2ItemWithContentTypeForResponse]: """projects/update-item-for-user PATCH /users/{username}/projectsV2/{project_number}/items/{item_id} diff --git a/githubkit/versions/v2022_11_28/rest/projects_classic.py b/githubkit/versions/v2022_11_28/rest/projects_classic.py index 9d983b86c..e2072d29c 100644 --- a/githubkit/versions/v2022_11_28/rest/projects_classic.py +++ b/githubkit/versions/v2022_11_28/rest/projects_classic.py @@ -34,13 +34,13 @@ SimpleUser, ) from ..types import ( - ProjectCollaboratorPermissionType, - ProjectColumnType, + ProjectCollaboratorPermissionTypeForResponse, + ProjectColumnTypeForResponse, ProjectsColumnsColumnIdMovesPostBodyType, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ProjectsColumnsColumnIdPatchBodyType, ProjectsProjectIdCollaboratorsUsernamePutBodyType, - SimpleUserType, + SimpleUserTypeForResponse, ) @@ -65,7 +65,7 @@ def get_column( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/get-column GET /projects/columns/{column_id} @@ -102,7 +102,7 @@ async def async_get_column( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/get-column GET /projects/columns/{column_id} @@ -211,7 +211,7 @@ def update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ProjectsColumnsColumnIdPatchBodyType, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... @overload def update_column( @@ -222,7 +222,7 @@ def update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... def update_column( self, @@ -232,7 +232,7 @@ def update_column( stream: bool = False, data: Missing[ProjectsColumnsColumnIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/update-column PATCH /projects/columns/{column_id} @@ -280,7 +280,7 @@ async def async_update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ProjectsColumnsColumnIdPatchBodyType, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... @overload async def async_update_column( @@ -291,7 +291,7 @@ async def async_update_column( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[ProjectColumn, ProjectColumnType]: ... + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: ... async def async_update_column( self, @@ -301,7 +301,7 @@ async def async_update_column( stream: bool = False, data: Missing[ProjectsColumnsColumnIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ProjectColumn, ProjectColumnType]: + ) -> Response[ProjectColumn, ProjectColumnTypeForResponse]: """DEPRECATED projects-classic/update-column PATCH /projects/columns/{column_id} @@ -351,7 +351,7 @@ def move_column( data: ProjectsColumnsColumnIdMovesPostBodyType, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -365,7 +365,7 @@ def move_column( position: str, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... def move_column( @@ -378,7 +378,7 @@ def move_column( **kwargs, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-column @@ -435,7 +435,7 @@ async def async_move_column( data: ProjectsColumnsColumnIdMovesPostBodyType, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... @overload @@ -449,7 +449,7 @@ async def async_move_column( position: str, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: ... async def async_move_column( @@ -462,7 +462,7 @@ async def async_move_column( **kwargs, ) -> Response[ ProjectsColumnsColumnIdMovesPostResponse201, - ProjectsColumnsColumnIdMovesPostResponse201Type, + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, ]: """DEPRECATED projects-classic/move-column @@ -518,7 +518,7 @@ def list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED projects-classic/list-collaborators GET /projects/{project_id}/collaborators @@ -566,7 +566,7 @@ async def async_list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED projects-classic/list-collaborators GET /projects/{project_id}/collaborators @@ -858,7 +858,9 @@ def get_permission_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCollaboratorPermission, ProjectCollaboratorPermissionType]: + ) -> Response[ + ProjectCollaboratorPermission, ProjectCollaboratorPermissionTypeForResponse + ]: """DEPRECATED projects-classic/get-permission-for-user GET /projects/{project_id}/collaborators/{username}/permission @@ -897,7 +899,9 @@ async def async_get_permission_for_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProjectCollaboratorPermission, ProjectCollaboratorPermissionType]: + ) -> Response[ + ProjectCollaboratorPermission, ProjectCollaboratorPermissionTypeForResponse + ]: """DEPRECATED projects-classic/get-permission-for-user GET /projects/{project_id}/collaborators/{username}/permission diff --git a/githubkit/versions/v2022_11_28/rest/pulls.py b/githubkit/versions/v2022_11_28/rest/pulls.py index f264e4f24..bea2d871e 100644 --- a/githubkit/versions/v2022_11_28/rest/pulls.py +++ b/githubkit/versions/v2022_11_28/rest/pulls.py @@ -41,14 +41,14 @@ ReviewComment, ) from ..types import ( - CommitType, - DiffEntryType, - PullRequestMergeResultType, - PullRequestReviewCommentType, - PullRequestReviewRequestType, - PullRequestReviewType, - PullRequestSimpleType, - PullRequestType, + CommitTypeForResponse, + DiffEntryTypeForResponse, + PullRequestMergeResultTypeForResponse, + PullRequestReviewCommentTypeForResponse, + PullRequestReviewRequestTypeForResponse, + PullRequestReviewTypeForResponse, + PullRequestSimpleTypeForResponse, + PullRequestTypeForResponse, ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, ReposOwnerRepoPullsPostBodyType, ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, @@ -64,8 +64,8 @@ ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, - ReviewCommentType, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, + ReviewCommentTypeForResponse, ) @@ -100,7 +100,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """pulls/list GET /repos/{owner}/{repo}/pulls @@ -167,7 +167,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """pulls/list GET /repos/{owner}/{repo}/pulls @@ -227,7 +227,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPostBodyType, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload def create( @@ -246,7 +246,7 @@ def create( maintainer_can_modify: Missing[bool] = UNSET, draft: Missing[bool] = UNSET, issue: Missing[int] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... def create( self, @@ -257,7 +257,7 @@ def create( stream: bool = False, data: Missing[ReposOwnerRepoPullsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/create POST /repos/{owner}/{repo}/pulls @@ -320,7 +320,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPostBodyType, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload async def async_create( @@ -339,7 +339,7 @@ async def async_create( maintainer_can_modify: Missing[bool] = UNSET, draft: Missing[bool] = UNSET, issue: Missing[int] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... async def async_create( self, @@ -350,7 +350,7 @@ async def async_create( stream: bool = False, data: Missing[ReposOwnerRepoPullsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/create POST /repos/{owner}/{repo}/pulls @@ -416,7 +416,9 @@ def list_review_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments-for-repo GET /repos/{owner}/{repo}/pulls/comments @@ -469,7 +471,9 @@ async def async_list_review_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments-for-repo GET /repos/{owner}/{repo}/pulls/comments @@ -518,7 +522,7 @@ def get_review_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/get-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -560,7 +564,7 @@ async def async_get_review_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/get-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -672,7 +676,9 @@ def update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def update_review_comment( @@ -685,7 +691,9 @@ def update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def update_review_comment( self, @@ -697,7 +705,7 @@ def update_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/update-review-comment PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -753,7 +761,9 @@ async def async_update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_update_review_comment( @@ -766,7 +776,9 @@ async def async_update_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_update_review_comment( self, @@ -778,7 +790,7 @@ async def async_update_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/update-review-comment PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id} @@ -832,7 +844,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/get GET /repos/{owner}/{repo}/pulls/{pull_number} @@ -892,7 +904,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/get GET /repos/{owner}/{repo}/pulls/{pull_number} @@ -954,7 +966,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload def update( @@ -971,7 +983,7 @@ def update( state: Missing[Literal["open", "closed"]] = UNSET, base: Missing[str] = UNSET, maintainer_can_modify: Missing[bool] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... def update( self, @@ -983,7 +995,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/update PATCH /repos/{owner}/{repo}/pulls/{pull_number} @@ -1045,7 +1057,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... @overload async def async_update( @@ -1062,7 +1074,7 @@ async def async_update( state: Missing[Literal["open", "closed"]] = UNSET, base: Missing[str] = UNSET, maintainer_can_modify: Missing[bool] = UNSET, - ) -> Response[PullRequest, PullRequestType]: ... + ) -> Response[PullRequest, PullRequestTypeForResponse]: ... async def async_update( self, @@ -1074,7 +1086,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[PullRequest, PullRequestType]: + ) -> Response[PullRequest, PullRequestTypeForResponse]: """pulls/update PATCH /repos/{owner}/{repo}/pulls/{pull_number} @@ -1139,7 +1151,9 @@ def list_review_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments GET /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1193,7 +1207,9 @@ async def async_list_review_comments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReviewComment], list[PullRequestReviewCommentType]]: + ) -> Response[ + list[PullRequestReviewComment], list[PullRequestReviewCommentTypeForResponse] + ]: """pulls/list-review-comments GET /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1244,7 +1260,9 @@ def create_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def create_review_comment( @@ -1266,7 +1284,9 @@ def create_review_comment( start_side: Missing[Literal["LEFT", "RIGHT", "side"]] = UNSET, in_reply_to: Missing[int] = UNSET, subject_type: Missing[Literal["line", "file"]] = UNSET, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def create_review_comment( self, @@ -1278,7 +1298,7 @@ def create_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1347,7 +1367,9 @@ async def async_create_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_create_review_comment( @@ -1369,7 +1391,9 @@ async def async_create_review_comment( start_side: Missing[Literal["LEFT", "RIGHT", "side"]] = UNSET, in_reply_to: Missing[int] = UNSET, subject_type: Missing[Literal["line", "file"]] = UNSET, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_create_review_comment( self, @@ -1381,7 +1405,7 @@ async def async_create_review_comment( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments @@ -1451,7 +1475,9 @@ def create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload def create_reply_for_review_comment( @@ -1465,7 +1491,9 @@ def create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... def create_reply_for_review_comment( self, @@ -1480,7 +1508,7 @@ def create_reply_for_review_comment( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-reply-for-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies @@ -1544,7 +1572,9 @@ async def async_create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... @overload async def async_create_reply_for_review_comment( @@ -1558,7 +1588,9 @@ async def async_create_reply_for_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: ... + ) -> Response[ + PullRequestReviewComment, PullRequestReviewCommentTypeForResponse + ]: ... async def async_create_reply_for_review_comment( self, @@ -1573,7 +1605,7 @@ async def async_create_reply_for_review_comment( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReviewComment, PullRequestReviewCommentType]: + ) -> Response[PullRequestReviewComment, PullRequestReviewCommentTypeForResponse]: """pulls/create-reply-for-review-comment POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies @@ -1636,7 +1668,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """pulls/list-commits GET /repos/{owner}/{repo}/pulls/{pull_number}/commits @@ -1685,7 +1717,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """pulls/list-commits GET /repos/{owner}/{repo}/pulls/{pull_number}/commits @@ -1734,7 +1766,7 @@ def list_files( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DiffEntry], list[DiffEntryType]]: + ) -> Response[list[DiffEntry], list[DiffEntryTypeForResponse]]: """pulls/list-files GET /repos/{owner}/{repo}/pulls/{pull_number}/files @@ -1794,7 +1826,7 @@ async def async_list_files( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DiffEntry], list[DiffEntryType]]: + ) -> Response[list[DiffEntry], list[DiffEntryTypeForResponse]]: """pulls/list-files GET /repos/{owner}/{repo}/pulls/{pull_number}/files @@ -1916,7 +1948,7 @@ def merge( data: Missing[ Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... @overload def merge( @@ -1932,7 +1964,7 @@ def merge( commit_message: Missing[str] = UNSET, sha: Missing[str] = UNSET, merge_method: Missing[Literal["merge", "squash", "rebase"]] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... def merge( self, @@ -1946,7 +1978,7 @@ def merge( Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: """pulls/merge PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge @@ -2011,7 +2043,7 @@ async def async_merge( data: Missing[ Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... @overload async def async_merge( @@ -2027,7 +2059,7 @@ async def async_merge( commit_message: Missing[str] = UNSET, sha: Missing[str] = UNSET, merge_method: Missing[Literal["merge", "squash", "rebase"]] = UNSET, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: ... + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: ... async def async_merge( self, @@ -2041,7 +2073,7 @@ async def async_merge( Union[ReposOwnerRepoPullsPullNumberMergePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[PullRequestMergeResult, PullRequestMergeResultType]: + ) -> Response[PullRequestMergeResult, PullRequestMergeResultTypeForResponse]: """pulls/merge PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge @@ -2102,7 +2134,7 @@ def list_requested_reviewers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestType]: + ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestTypeForResponse]: """pulls/list-requested-reviewers GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2134,7 +2166,7 @@ async def async_list_requested_reviewers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestType]: + ) -> Response[PullRequestReviewRequest, PullRequestReviewRequestTypeForResponse]: """pulls/list-requested-reviewers GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2173,7 +2205,7 @@ def request_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ] ] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def request_reviewers( @@ -2187,7 +2219,7 @@ def request_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def request_reviewers( @@ -2201,7 +2233,7 @@ def request_reviewers( stream: bool = False, reviewers: Missing[list[str]] = UNSET, team_reviewers: list[str], - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... def request_reviewers( self, @@ -2218,7 +2250,7 @@ def request_reviewers( ] ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/request-reviewers POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2284,7 +2316,7 @@ async def async_request_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ] ] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_request_reviewers( @@ -2298,7 +2330,7 @@ async def async_request_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_request_reviewers( @@ -2312,7 +2344,7 @@ async def async_request_reviewers( stream: bool = False, reviewers: Missing[list[str]] = UNSET, team_reviewers: list[str], - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... async def async_request_reviewers( self, @@ -2329,7 +2361,7 @@ async def async_request_reviewers( ] ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/request-reviewers POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2390,7 +2422,7 @@ def remove_requested_reviewers( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload def remove_requested_reviewers( @@ -2404,7 +2436,7 @@ def remove_requested_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... def remove_requested_reviewers( self, @@ -2418,7 +2450,7 @@ def remove_requested_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/remove-requested-reviewers DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2471,7 +2503,7 @@ async def async_remove_requested_reviewers( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... @overload async def async_remove_requested_reviewers( @@ -2485,7 +2517,7 @@ async def async_remove_requested_reviewers( stream: bool = False, reviewers: list[str], team_reviewers: Missing[list[str]] = UNSET, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: ... + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: ... async def async_remove_requested_reviewers( self, @@ -2499,7 +2531,7 @@ async def async_remove_requested_reviewers( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestSimple, PullRequestSimpleType]: + ) -> Response[PullRequestSimple, PullRequestSimpleTypeForResponse]: """pulls/remove-requested-reviewers DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers @@ -2552,7 +2584,7 @@ def list_reviews( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReview], list[PullRequestReviewType]]: + ) -> Response[list[PullRequestReview], list[PullRequestReviewTypeForResponse]]: """pulls/list-reviews GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2599,7 +2631,7 @@ async def async_list_reviews( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestReview], list[PullRequestReviewType]]: + ) -> Response[list[PullRequestReview], list[PullRequestReviewTypeForResponse]]: """pulls/list-reviews GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2646,7 +2678,7 @@ def create_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def create_review( @@ -2664,7 +2696,7 @@ def create_review( comments: Missing[ list[ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType] ] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def create_review( self, @@ -2676,7 +2708,7 @@ def create_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/create-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2747,7 +2779,7 @@ async def async_create_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_create_review( @@ -2765,7 +2797,7 @@ async def async_create_review( comments: Missing[ list[ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType] ] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_create_review( self, @@ -2777,7 +2809,7 @@ async def async_create_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsPostBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/create-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews @@ -2847,7 +2879,7 @@ def get_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/get-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -2890,7 +2922,7 @@ async def async_get_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/get-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -2935,7 +2967,7 @@ def update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def update_review( @@ -2949,7 +2981,7 @@ def update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def update_review( self, @@ -2962,7 +2994,7 @@ def update_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/update-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3023,7 +3055,7 @@ async def async_update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_update_review( @@ -3037,7 +3069,7 @@ async def async_update_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_update_review( self, @@ -3050,7 +3082,7 @@ async def async_update_review( stream: bool = False, data: Missing[ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/update-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3109,7 +3141,7 @@ def delete_pending_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/delete-pending-review DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3153,7 +3185,7 @@ async def async_delete_pending_review( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/delete-pending-review DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} @@ -3199,7 +3231,7 @@ def list_comments_for_review( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReviewComment], list[ReviewCommentType]]: + ) -> Response[list[ReviewComment], list[ReviewCommentTypeForResponse]]: """pulls/list-comments-for-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments @@ -3250,7 +3282,7 @@ async def async_list_comments_for_review( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReviewComment], list[ReviewCommentType]]: + ) -> Response[list[ReviewComment], list[ReviewCommentTypeForResponse]]: """pulls/list-comments-for-review GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments @@ -3301,7 +3333,7 @@ def dismiss_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def dismiss_review( @@ -3316,7 +3348,7 @@ def dismiss_review( stream: bool = False, message: str, event: Missing[Literal["DISMISS"]] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def dismiss_review( self, @@ -3331,7 +3363,7 @@ def dismiss_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/dismiss-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals @@ -3399,7 +3431,7 @@ async def async_dismiss_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_dismiss_review( @@ -3414,7 +3446,7 @@ async def async_dismiss_review( stream: bool = False, message: str, event: Missing[Literal["DISMISS"]] = UNSET, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_dismiss_review( self, @@ -3429,7 +3461,7 @@ async def async_dismiss_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/dismiss-review PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals @@ -3497,7 +3529,7 @@ def submit_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload def submit_review( @@ -3512,7 +3544,7 @@ def submit_review( stream: bool = False, body: Missing[str] = UNSET, event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"], - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... def submit_review( self, @@ -3527,7 +3559,7 @@ def submit_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/submit-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events @@ -3591,7 +3623,7 @@ async def async_submit_review( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... @overload async def async_submit_review( @@ -3606,7 +3638,7 @@ async def async_submit_review( stream: bool = False, body: Missing[str] = UNSET, event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"], - ) -> Response[PullRequestReview, PullRequestReviewType]: ... + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: ... async def async_submit_review( self, @@ -3621,7 +3653,7 @@ async def async_submit_review( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType ] = UNSET, **kwargs, - ) -> Response[PullRequestReview, PullRequestReviewType]: + ) -> Response[PullRequestReview, PullRequestReviewTypeForResponse]: """pulls/submit-review POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events @@ -3688,7 +3720,7 @@ def update_branch( ] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... @overload @@ -3704,7 +3736,7 @@ def update_branch( expected_head_sha: Missing[str] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... def update_branch( @@ -3721,7 +3753,7 @@ def update_branch( **kwargs, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: """pulls/update-branch @@ -3784,7 +3816,7 @@ async def async_update_branch( ] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... @overload @@ -3800,7 +3832,7 @@ async def async_update_branch( expected_head_sha: Missing[str] = UNSET, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: ... async def async_update_branch( @@ -3817,7 +3849,7 @@ async def async_update_branch( **kwargs, ) -> Response[ ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202, - ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, ]: """pulls/update-branch diff --git a/githubkit/versions/v2022_11_28/rest/rate_limit.py b/githubkit/versions/v2022_11_28/rest/rate_limit.py index d3bf53ae4..3a482b7b7 100644 --- a/githubkit/versions/v2022_11_28/rest/rate_limit.py +++ b/githubkit/versions/v2022_11_28/rest/rate_limit.py @@ -20,7 +20,7 @@ from githubkit.response import Response from ..models import RateLimitOverview - from ..types import RateLimitOverviewType + from ..types import RateLimitOverviewTypeForResponse class RateLimitClient: @@ -43,7 +43,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RateLimitOverview, RateLimitOverviewType]: + ) -> Response[RateLimitOverview, RateLimitOverviewTypeForResponse]: """rate-limit/get GET /rate_limit @@ -91,7 +91,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RateLimitOverview, RateLimitOverviewType]: + ) -> Response[RateLimitOverview, RateLimitOverviewTypeForResponse]: """rate-limit/get GET /rate_limit diff --git a/githubkit/versions/v2022_11_28/rest/reactions.py b/githubkit/versions/v2022_11_28/rest/reactions.py index 90e0dba43..b6536df77 100644 --- a/githubkit/versions/v2022_11_28/rest/reactions.py +++ b/githubkit/versions/v2022_11_28/rest/reactions.py @@ -31,7 +31,7 @@ from ..types import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ReactionType, + ReactionTypeForResponse, ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, @@ -73,7 +73,7 @@ def list_for_team_discussion_comment_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -125,7 +125,7 @@ async def async_list_for_team_discussion_comment_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -172,7 +172,7 @@ def create_for_team_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_comment_in_org( @@ -188,7 +188,7 @@ def create_for_team_discussion_comment_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_comment_in_org( self, @@ -203,7 +203,7 @@ def create_for_team_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -261,7 +261,7 @@ async def async_create_for_team_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_comment_in_org( @@ -277,7 +277,7 @@ async def async_create_for_team_discussion_comment_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_comment_in_org( self, @@ -292,7 +292,7 @@ async def async_create_for_team_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -426,7 +426,7 @@ def list_for_team_discussion_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -477,7 +477,7 @@ async def async_list_for_team_discussion_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-team-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -523,7 +523,7 @@ def create_for_team_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_in_org( @@ -538,7 +538,7 @@ def create_for_team_discussion_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_in_org( self, @@ -552,7 +552,7 @@ def create_for_team_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -608,7 +608,7 @@ async def async_create_for_team_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_in_org( @@ -623,7 +623,7 @@ async def async_create_for_team_discussion_in_org( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_in_org( self, @@ -637,7 +637,7 @@ async def async_create_for_team_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-team-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions @@ -768,7 +768,7 @@ def list_for_commit_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -817,7 +817,7 @@ async def async_list_for_commit_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -861,7 +861,7 @@ def create_for_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_commit_comment( @@ -876,7 +876,7 @@ def create_for_commit_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_commit_comment( self, @@ -888,7 +888,7 @@ def create_for_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-commit-comment POST /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -941,7 +941,7 @@ async def async_create_for_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_commit_comment( @@ -956,7 +956,7 @@ async def async_create_for_commit_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_commit_comment( self, @@ -968,7 +968,7 @@ async def async_create_for_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-commit-comment POST /repos/{owner}/{repo}/comments/{comment_id}/reactions @@ -1092,7 +1092,7 @@ def list_for_issue_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1141,7 +1141,7 @@ async def async_list_for_issue_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue-comment GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1185,7 +1185,7 @@ def create_for_issue_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_issue_comment( @@ -1200,7 +1200,7 @@ def create_for_issue_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_issue_comment( self, @@ -1214,7 +1214,7 @@ def create_for_issue_comment( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue-comment POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1267,7 +1267,7 @@ async def async_create_for_issue_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_issue_comment( @@ -1282,7 +1282,7 @@ async def async_create_for_issue_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_issue_comment( self, @@ -1296,7 +1296,7 @@ async def async_create_for_issue_comment( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue-comment POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions @@ -1420,7 +1420,7 @@ def list_for_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue GET /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1470,7 +1470,7 @@ async def async_list_for_issue( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-issue GET /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1515,7 +1515,7 @@ def create_for_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_issue( @@ -1530,7 +1530,7 @@ def create_for_issue( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_issue( self, @@ -1542,7 +1542,7 @@ def create_for_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue POST /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1595,7 +1595,7 @@ async def async_create_for_issue( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_issue( @@ -1610,7 +1610,7 @@ async def async_create_for_issue( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_issue( self, @@ -1622,7 +1622,7 @@ async def async_create_for_issue( stream: bool = False, data: Missing[ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-issue POST /repos/{owner}/{repo}/issues/{issue_number}/reactions @@ -1746,7 +1746,7 @@ def list_for_pull_request_review_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-pull-request-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1795,7 +1795,7 @@ async def async_list_for_pull_request_review_comment( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-pull-request-review-comment GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1839,7 +1839,7 @@ def create_for_pull_request_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_pull_request_review_comment( @@ -1854,7 +1854,7 @@ def create_for_pull_request_review_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_pull_request_review_comment( self, @@ -1868,7 +1868,7 @@ def create_for_pull_request_review_comment( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-pull-request-review-comment POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -1921,7 +1921,7 @@ async def async_create_for_pull_request_review_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_pull_request_review_comment( @@ -1936,7 +1936,7 @@ async def async_create_for_pull_request_review_comment( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_pull_request_review_comment( self, @@ -1950,7 +1950,7 @@ async def async_create_for_pull_request_review_comment( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-pull-request-review-comment POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions @@ -2076,7 +2076,7 @@ def list_for_release( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-release GET /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2123,7 +2123,7 @@ async def async_list_for_release( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """reactions/list-for-release GET /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2167,7 +2167,7 @@ def create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_release( @@ -2180,7 +2180,7 @@ def create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_release( self, @@ -2192,7 +2192,7 @@ def create_for_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-release POST /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2245,7 +2245,7 @@ async def async_create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_release( @@ -2258,7 +2258,7 @@ async def async_create_for_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_release( self, @@ -2270,7 +2270,7 @@ async def async_create_for_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """reactions/create-for-release POST /repos/{owner}/{repo}/releases/{release_id}/reactions @@ -2394,7 +2394,7 @@ def list_for_team_discussion_comment_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2445,7 +2445,7 @@ async def async_list_for_team_discussion_comment_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2491,7 +2491,7 @@ def create_for_team_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_comment_legacy( @@ -2506,7 +2506,7 @@ def create_for_team_discussion_comment_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_comment_legacy( self, @@ -2520,7 +2520,7 @@ def create_for_team_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2577,7 +2577,7 @@ async def async_create_for_team_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_comment_legacy( @@ -2592,7 +2592,7 @@ async def async_create_for_team_discussion_comment_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_comment_legacy( self, @@ -2606,7 +2606,7 @@ async def async_create_for_team_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions @@ -2667,7 +2667,7 @@ def list_for_team_discussion_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2717,7 +2717,7 @@ async def async_list_for_team_discussion_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Reaction], list[ReactionType]]: + ) -> Response[list[Reaction], list[ReactionTypeForResponse]]: """DEPRECATED reactions/list-for-team-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2762,7 +2762,7 @@ def create_for_team_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload def create_for_team_discussion_legacy( @@ -2776,7 +2776,7 @@ def create_for_team_discussion_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... def create_for_team_discussion_legacy( self, @@ -2789,7 +2789,7 @@ def create_for_team_discussion_legacy( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-legacy POST /teams/{team_id}/discussions/{discussion_number}/reactions @@ -2844,7 +2844,7 @@ async def async_create_for_team_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... @overload async def async_create_for_team_discussion_legacy( @@ -2858,7 +2858,7 @@ async def async_create_for_team_discussion_legacy( content: Literal[ "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" ], - ) -> Response[Reaction, ReactionType]: ... + ) -> Response[Reaction, ReactionTypeForResponse]: ... async def async_create_for_team_discussion_legacy( self, @@ -2871,7 +2871,7 @@ async def async_create_for_team_discussion_legacy( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType ] = UNSET, **kwargs, - ) -> Response[Reaction, ReactionType]: + ) -> Response[Reaction, ReactionTypeForResponse]: """DEPRECATED reactions/create-for-team-discussion-legacy POST /teams/{team_id}/discussions/{discussion_number}/reactions diff --git a/githubkit/versions/v2022_11_28/rest/repos.py b/githubkit/versions/v2022_11_28/rest/repos.py index 9ed12f868..b91419b73 100644 --- a/githubkit/versions/v2022_11_28/rest/repos.py +++ b/githubkit/versions/v2022_11_28/rest/repos.py @@ -134,50 +134,51 @@ WebhookConfig, ) from ..types import ( - ActivityType, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - AutolinkType, - BranchProtectionType, - BranchRestrictionPolicyType, - BranchShortType, - BranchWithProtectionType, - CheckAutomatedSecurityFixesType, - CheckImmutableReleasesType, - CloneTrafficType, - CodeownersErrorsType, - CollaboratorType, - CombinedCommitStatusType, - CommitActivityType, - CommitCommentType, - CommitComparisonType, - CommitType, - CommunityProfileType, - ContentDirectoryItemsType, - ContentFileType, - ContentSubmoduleType, - ContentSymlinkType, - ContentTrafficType, - ContributorActivityType, - ContributorType, + ActivityTypeForResponse, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + AutolinkTypeForResponse, + BranchProtectionTypeForResponse, + BranchRestrictionPolicyTypeForResponse, + BranchShortTypeForResponse, + BranchWithProtectionTypeForResponse, + CheckAutomatedSecurityFixesTypeForResponse, + CheckImmutableReleasesTypeForResponse, + CloneTrafficTypeForResponse, + CodeownersErrorsTypeForResponse, + CollaboratorTypeForResponse, + CombinedCommitStatusTypeForResponse, + CommitActivityTypeForResponse, + CommitCommentTypeForResponse, + CommitComparisonTypeForResponse, + CommitTypeForResponse, + CommunityProfileTypeForResponse, + ContentDirectoryItemsTypeForResponse, + ContentFileTypeForResponse, + ContentSubmoduleTypeForResponse, + ContentSymlinkTypeForResponse, + ContentTrafficTypeForResponse, + ContributorActivityTypeForResponse, + ContributorTypeForResponse, CustomPropertyValueType, - DeployKeyType, + CustomPropertyValueTypeForResponse, + DeployKeyTypeForResponse, DeploymentBranchPolicyNamePatternType, DeploymentBranchPolicyNamePatternWithTypeType, DeploymentBranchPolicySettingsType, - DeploymentBranchPolicyType, - DeploymentProtectionRuleType, - DeploymentStatusType, - DeploymentType, - EnvironmentType, - FileCommitType, - FullRepositoryType, - HookDeliveryItemType, - HookDeliveryType, - HookType, - IntegrationType, - LanguageType, - MergedUpstreamType, - MinimalRepositoryType, + DeploymentBranchPolicyTypeForResponse, + DeploymentProtectionRuleTypeForResponse, + DeploymentStatusTypeForResponse, + DeploymentTypeForResponse, + EnvironmentTypeForResponse, + FileCommitTypeForResponse, + FullRepositoryTypeForResponse, + HookDeliveryItemTypeForResponse, + HookDeliveryTypeForResponse, + HookTypeForResponse, + IntegrationTypeForResponse, + LanguageTypeForResponse, + MergedUpstreamTypeForResponse, + MinimalRepositoryTypeForResponse, OrgRulesetConditionsOneof0Type, OrgRulesetConditionsOneof1Type, OrgRulesetConditionsOneof2Type, @@ -185,23 +186,23 @@ OrgsOrgReposPostBodyType, OrgsOrgRulesetsPostBodyType, OrgsOrgRulesetsRulesetIdPutBodyType, - PageBuildStatusType, - PageBuildType, - PageDeploymentType, - PagesDeploymentStatusType, - PagesHealthCheckType, - PageType, - ParticipationStatsType, - ProtectedBranchAdminEnforcedType, - ProtectedBranchPullRequestReviewType, - ProtectedBranchType, - PullRequestSimpleType, - ReferrerTrafficType, - ReleaseAssetType, - ReleaseNotesContentType, - ReleaseType, - RepositoryCollaboratorPermissionType, - RepositoryInvitationType, + PageBuildStatusTypeForResponse, + PageBuildTypeForResponse, + PageDeploymentTypeForResponse, + PagesDeploymentStatusTypeForResponse, + PagesHealthCheckTypeForResponse, + PageTypeForResponse, + ParticipationStatsTypeForResponse, + ProtectedBranchAdminEnforcedTypeForResponse, + ProtectedBranchPullRequestReviewTypeForResponse, + ProtectedBranchTypeForResponse, + PullRequestSimpleTypeForResponse, + ReferrerTrafficTypeForResponse, + ReleaseAssetTypeForResponse, + ReleaseNotesContentTypeForResponse, + ReleaseTypeForResponse, + RepositoryCollaboratorPermissionTypeForResponse, + RepositoryInvitationTypeForResponse, RepositoryRuleBranchNamePatternType, RepositoryRuleCodeScanningType, RepositoryRuleCommitAuthorEmailPatternType, @@ -210,28 +211,28 @@ RepositoryRuleCopilotCodeReviewType, RepositoryRuleCreationType, RepositoryRuleDeletionType, - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, RepositoryRuleFileExtensionRestrictionType, RepositoryRuleFilePathRestrictionType, RepositoryRuleMaxFilePathLengthType, @@ -245,15 +246,15 @@ RepositoryRuleRequiredStatusChecksType, RepositoryRulesetBypassActorType, RepositoryRulesetConditionsType, - RepositoryRulesetType, + RepositoryRulesetTypeForResponse, RepositoryRuleTagNamePatternType, RepositoryRuleUpdateType, RepositoryRuleWorkflowsType, - RepositoryType, + RepositoryTypeForResponse, ReposOwnerRepoAttestationsPostBodyPropBundleType, ReposOwnerRepoAttestationsPostBodyType, - ReposOwnerRepoAttestationsPostResponse201Type, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ReposOwnerRepoAutolinksPostBodyType, ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType, ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType, @@ -291,13 +292,13 @@ ReposOwnerRepoDeploymentsPostBodyType, ReposOwnerRepoDispatchesPostBodyPropClientPayloadType, ReposOwnerRepoDispatchesPostBodyType, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType, ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ReposOwnerRepoForksPostBodyType, ReposOwnerRepoHooksHookIdConfigPatchBodyType, ReposOwnerRepoHooksHookIdPatchBodyType, @@ -319,7 +320,7 @@ ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType, ReposOwnerRepoPatchBodyType, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ReposOwnerRepoPropertiesValuesPatchBodyType, ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType, ReposOwnerRepoReleasesGenerateNotesPostBodyType, @@ -332,21 +333,22 @@ ReposOwnerRepoTopicsPutBodyType, ReposOwnerRepoTransferPostBodyType, ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - RulesetVersionType, - RulesetVersionWithStateType, - RuleSuitesItemsType, - RuleSuiteType, - ShortBranchType, - SimpleUserType, - StatusCheckPolicyType, - StatusType, - TagProtectionType, - TagType, - TeamType, - TopicType, + RulesetVersionTypeForResponse, + RulesetVersionWithStateTypeForResponse, + RuleSuitesItemsTypeForResponse, + RuleSuiteTypeForResponse, + ShortBranchTypeForResponse, + SimpleUserTypeForResponse, + StatusCheckPolicyTypeForResponse, + StatusTypeForResponse, + TagProtectionTypeForResponse, + TagTypeForResponse, + TeamTypeForResponse, + TopicTypeForResponse, UserReposPostBodyType, - ViewTrafficType, + ViewTrafficTypeForResponse, WebhookConfigType, + WebhookConfigTypeForResponse, ) @@ -378,7 +380,7 @@ def list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-org GET /orgs/{org}/repos @@ -427,7 +429,7 @@ async def async_list_for_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-org GET /orgs/{org}/repos @@ -471,7 +473,7 @@ def create_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_in_org( @@ -512,7 +514,7 @@ def create_in_org( custom_properties: Missing[ OrgsOrgReposPostBodyPropCustomPropertiesType ] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_in_org( self, @@ -522,7 +524,7 @@ def create_in_org( stream: bool = False, data: Missing[OrgsOrgReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-in-org POST /orgs/{org}/repos @@ -575,7 +577,7 @@ async def async_create_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_in_org( @@ -616,7 +618,7 @@ async def async_create_in_org( custom_properties: Missing[ OrgsOrgReposPostBodyPropCustomPropertiesType ] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_in_org( self, @@ -626,7 +628,7 @@ async def async_create_in_org( stream: bool = False, data: Missing[OrgsOrgReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-in-org POST /orgs/{org}/repos @@ -680,7 +682,7 @@ def get_org_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-org-rulesets GET /orgs/{org}/rulesets @@ -724,7 +726,7 @@ async def async_get_org_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-org-rulesets GET /orgs/{org}/rulesets @@ -767,7 +769,7 @@ def create_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def create_org_ruleset( @@ -814,7 +816,7 @@ def create_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def create_org_ruleset( self, @@ -824,7 +826,7 @@ def create_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-org-ruleset POST /orgs/{org}/rulesets @@ -870,7 +872,7 @@ async def async_create_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_create_org_ruleset( @@ -917,7 +919,7 @@ async def async_create_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_create_org_ruleset( self, @@ -927,7 +929,7 @@ async def async_create_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-org-ruleset POST /orgs/{org}/rulesets @@ -978,7 +980,7 @@ def get_org_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-org-rule-suites GET /orgs/{org}/rulesets/rule-suites @@ -1031,7 +1033,7 @@ async def async_get_org_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-org-rule-suites GET /orgs/{org}/rulesets/rule-suites @@ -1078,7 +1080,7 @@ def get_org_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-org-rule-suite GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id} @@ -1114,7 +1116,7 @@ async def async_get_org_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-org-rule-suite GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id} @@ -1150,7 +1152,7 @@ def get_org_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-org-ruleset GET /orgs/{org}/rulesets/{ruleset_id} @@ -1188,7 +1190,7 @@ async def async_get_org_ruleset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-org-ruleset GET /orgs/{org}/rulesets/{ruleset_id} @@ -1228,7 +1230,7 @@ def update_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def update_org_ruleset( @@ -1276,7 +1278,7 @@ def update_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def update_org_ruleset( self, @@ -1287,7 +1289,7 @@ def update_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-org-ruleset PUT /orgs/{org}/rulesets/{ruleset_id} @@ -1338,7 +1340,7 @@ async def async_update_org_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_update_org_ruleset( @@ -1386,7 +1388,7 @@ async def async_update_org_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_update_org_ruleset( self, @@ -1397,7 +1399,7 @@ async def async_update_org_ruleset( stream: bool = False, data: Missing[OrgsOrgRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-org-ruleset PUT /orgs/{org}/rulesets/{ruleset_id} @@ -1514,7 +1516,7 @@ def get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/get GET /repos/{owner}/{repo} @@ -1553,7 +1555,7 @@ async def async_get( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/get GET /repos/{owner}/{repo} @@ -1674,7 +1676,7 @@ def update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def update( @@ -1716,7 +1718,7 @@ def update( archived: Missing[bool] = UNSET, allow_forking: Missing[bool] = UNSET, web_commit_signoff_required: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def update( self, @@ -1727,7 +1729,7 @@ def update( stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/update PATCH /repos/{owner}/{repo} @@ -1780,7 +1782,7 @@ async def async_update( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_update( @@ -1822,7 +1824,7 @@ async def async_update( archived: Missing[bool] = UNSET, allow_forking: Missing[bool] = UNSET, web_commit_signoff_required: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_update( self, @@ -1833,7 +1835,7 @@ async def async_update( stream: bool = False, data: Missing[ReposOwnerRepoPatchBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/update PATCH /repos/{owner}/{repo} @@ -1903,7 +1905,7 @@ def list_activities( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Activity], list[ActivityType]]: + ) -> Response[list[Activity], list[ActivityTypeForResponse]]: """repos/list-activities GET /repos/{owner}/{repo}/activity @@ -1971,7 +1973,7 @@ async def async_list_activities( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Activity], list[ActivityType]]: + ) -> Response[list[Activity], list[ActivityTypeForResponse]]: """repos/list-activities GET /repos/{owner}/{repo}/activity @@ -2024,7 +2026,7 @@ def create_attestation( data: ReposOwnerRepoAttestationsPostBodyType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... @overload @@ -2039,7 +2041,7 @@ def create_attestation( bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... def create_attestation( @@ -2053,7 +2055,7 @@ def create_attestation( **kwargs, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: """repos/create-attestation @@ -2112,7 +2114,7 @@ async def async_create_attestation( data: ReposOwnerRepoAttestationsPostBodyType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... @overload @@ -2127,7 +2129,7 @@ async def async_create_attestation( bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: ... async def async_create_attestation( @@ -2141,7 +2143,7 @@ async def async_create_attestation( **kwargs, ) -> Response[ ReposOwnerRepoAttestationsPostResponse201, - ReposOwnerRepoAttestationsPostResponse201Type, + ReposOwnerRepoAttestationsPostResponse201TypeForResponse, ]: """repos/create-attestation @@ -2203,7 +2205,7 @@ def list_attestations( stream: bool = False, ) -> Response[ ReposOwnerRepoAttestationsSubjectDigestGetResponse200, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """repos/list-attestations @@ -2254,7 +2256,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ ReposOwnerRepoAttestationsSubjectDigestGetResponse200, - ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """repos/list-attestations @@ -2298,7 +2300,7 @@ def list_autolinks( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Autolink], list[AutolinkType]]: + ) -> Response[list[Autolink], list[AutolinkTypeForResponse]]: """repos/list-autolinks GET /repos/{owner}/{repo}/autolinks @@ -2331,7 +2333,7 @@ async def async_list_autolinks( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Autolink], list[AutolinkType]]: + ) -> Response[list[Autolink], list[AutolinkTypeForResponse]]: """repos/list-autolinks GET /repos/{owner}/{repo}/autolinks @@ -2366,7 +2368,7 @@ def create_autolink( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoAutolinksPostBodyType, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... @overload def create_autolink( @@ -2380,7 +2382,7 @@ def create_autolink( key_prefix: str, url_template: str, is_alphanumeric: Missing[bool] = UNSET, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... def create_autolink( self, @@ -2391,7 +2393,7 @@ def create_autolink( stream: bool = False, data: Missing[ReposOwnerRepoAutolinksPostBodyType] = UNSET, **kwargs, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/create-autolink POST /repos/{owner}/{repo}/autolinks @@ -2437,7 +2439,7 @@ async def async_create_autolink( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoAutolinksPostBodyType, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... @overload async def async_create_autolink( @@ -2451,7 +2453,7 @@ async def async_create_autolink( key_prefix: str, url_template: str, is_alphanumeric: Missing[bool] = UNSET, - ) -> Response[Autolink, AutolinkType]: ... + ) -> Response[Autolink, AutolinkTypeForResponse]: ... async def async_create_autolink( self, @@ -2462,7 +2464,7 @@ async def async_create_autolink( stream: bool = False, data: Missing[ReposOwnerRepoAutolinksPostBodyType] = UNSET, **kwargs, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/create-autolink POST /repos/{owner}/{repo}/autolinks @@ -2507,7 +2509,7 @@ def get_autolink( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/get-autolink GET /repos/{owner}/{repo}/autolinks/{autolink_id} @@ -2544,7 +2546,7 @@ async def async_get_autolink( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Autolink, AutolinkType]: + ) -> Response[Autolink, AutolinkTypeForResponse]: """repos/get-autolink GET /repos/{owner}/{repo}/autolinks/{autolink_id} @@ -2652,7 +2654,9 @@ def check_automated_security_fixes( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesType]: + ) -> Response[ + CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesTypeForResponse + ]: """repos/check-automated-security-fixes GET /repos/{owner}/{repo}/automated-security-fixes @@ -2684,7 +2688,9 @@ async def async_check_automated_security_fixes( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesType]: + ) -> Response[ + CheckAutomatedSecurityFixes, CheckAutomatedSecurityFixesTypeForResponse + ]: """repos/check-automated-security-fixes GET /repos/{owner}/{repo}/automated-security-fixes @@ -2831,7 +2837,7 @@ def list_branches( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ShortBranch], list[ShortBranchType]]: + ) -> Response[list[ShortBranch], list[ShortBranchTypeForResponse]]: """repos/list-branches GET /repos/{owner}/{repo}/branches @@ -2873,7 +2879,7 @@ async def async_list_branches( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ShortBranch], list[ShortBranchType]]: + ) -> Response[list[ShortBranch], list[ShortBranchTypeForResponse]]: """repos/list-branches GET /repos/{owner}/{repo}/branches @@ -2913,7 +2919,7 @@ def get_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/get-branch GET /repos/{owner}/{repo}/branches/{branch} @@ -2946,7 +2952,7 @@ async def async_get_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/get-branch GET /repos/{owner}/{repo}/branches/{branch} @@ -2979,7 +2985,7 @@ def get_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchProtection, BranchProtectionType]: + ) -> Response[BranchProtection, BranchProtectionTypeForResponse]: """repos/get-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection @@ -3014,7 +3020,7 @@ async def async_get_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchProtection, BranchProtectionType]: + ) -> Response[BranchProtection, BranchProtectionTypeForResponse]: """repos/get-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection @@ -3051,7 +3057,7 @@ def update_branch_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionPutBodyType, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... @overload def update_branch_protection( @@ -3082,7 +3088,7 @@ def update_branch_protection( required_conversation_resolution: Missing[bool] = UNSET, lock_branch: Missing[bool] = UNSET, allow_fork_syncing: Missing[bool] = UNSET, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... def update_branch_protection( self, @@ -3094,7 +3100,7 @@ def update_branch_protection( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchProtectionPutBodyType] = UNSET, **kwargs, - ) -> Response[ProtectedBranch, ProtectedBranchType]: + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: """repos/update-branch-protection PUT /repos/{owner}/{repo}/branches/{branch}/protection @@ -3158,7 +3164,7 @@ async def async_update_branch_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionPutBodyType, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... @overload async def async_update_branch_protection( @@ -3189,7 +3195,7 @@ async def async_update_branch_protection( required_conversation_resolution: Missing[bool] = UNSET, lock_branch: Missing[bool] = UNSET, allow_fork_syncing: Missing[bool] = UNSET, - ) -> Response[ProtectedBranch, ProtectedBranchType]: ... + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: ... async def async_update_branch_protection( self, @@ -3201,7 +3207,7 @@ async def async_update_branch_protection( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchProtectionPutBodyType] = UNSET, **kwargs, - ) -> Response[ProtectedBranch, ProtectedBranchType]: + ) -> Response[ProtectedBranch, ProtectedBranchTypeForResponse]: """repos/update-branch-protection PUT /repos/{owner}/{repo}/branches/{branch}/protection @@ -3331,7 +3337,9 @@ def get_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-admin-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3363,7 +3371,9 @@ async def async_get_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-admin-branch-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3395,7 +3405,9 @@ def set_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/set-admin-branch-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3429,7 +3441,9 @@ async def async_set_admin_branch_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/set-admin-branch-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins @@ -3536,7 +3550,8 @@ def get_pull_request_review_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/get-pull-request-review-protection @@ -3570,7 +3585,8 @@ async def async_get_pull_request_review_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/get-pull-request-review-protection @@ -3676,7 +3692,8 @@ def update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... @overload @@ -3700,7 +3717,8 @@ def update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... def update_pull_request_review_protection( @@ -3716,7 +3734,8 @@ def update_pull_request_review_protection( ] = UNSET, **kwargs, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/update-pull-request-review-protection @@ -3779,7 +3798,8 @@ async def async_update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... @overload @@ -3803,7 +3823,8 @@ async def async_update_pull_request_review_protection( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType ] = UNSET, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: ... async def async_update_pull_request_review_protection( @@ -3819,7 +3840,8 @@ async def async_update_pull_request_review_protection( ] = UNSET, **kwargs, ) -> Response[ - ProtectedBranchPullRequestReview, ProtectedBranchPullRequestReviewType + ProtectedBranchPullRequestReview, + ProtectedBranchPullRequestReviewTypeForResponse, ]: """repos/update-pull-request-review-protection @@ -3877,7 +3899,9 @@ def get_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-commit-signature-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -3917,7 +3941,9 @@ async def async_get_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/get-commit-signature-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -3957,7 +3983,9 @@ def create_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/create-commit-signature-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -3994,7 +4022,9 @@ async def async_create_commit_signature_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedType]: + ) -> Response[ + ProtectedBranchAdminEnforced, ProtectedBranchAdminEnforcedTypeForResponse + ]: """repos/create-commit-signature-protection POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures @@ -4103,7 +4133,7 @@ def get_status_checks_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/get-status-checks-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4140,7 +4170,7 @@ async def async_get_status_checks_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/get-status-checks-protection GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4243,7 +4273,7 @@ def update_status_check_protection( data: Missing[ ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... @overload def update_status_check_protection( @@ -4262,7 +4292,7 @@ def update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType ] ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... def update_status_check_protection( self, @@ -4276,7 +4306,7 @@ def update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, **kwargs, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/update-status-check-protection PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -4338,7 +4368,7 @@ async def async_update_status_check_protection( data: Missing[ ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... @overload async def async_update_status_check_protection( @@ -4357,7 +4387,7 @@ async def async_update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType ] ] = UNSET, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: ... + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: ... async def async_update_status_check_protection( self, @@ -4371,7 +4401,7 @@ async def async_update_status_check_protection( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType ] = UNSET, **kwargs, - ) -> Response[StatusCheckPolicy, StatusCheckPolicyType]: + ) -> Response[StatusCheckPolicy, StatusCheckPolicyTypeForResponse]: """repos/update-status-check-protection PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks @@ -5071,7 +5101,7 @@ def get_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyType]: + ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyTypeForResponse]: """repos/get-access-restrictions GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions @@ -5111,7 +5141,7 @@ async def async_get_access_restrictions( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyType]: + ) -> Response[BranchRestrictionPolicy, BranchRestrictionPolicyTypeForResponse]: """repos/get-access-restrictions GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions @@ -5213,7 +5243,9 @@ def get_apps_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/get-apps-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5252,7 +5284,9 @@ async def async_get_apps_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/get-apps-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5294,7 +5328,7 @@ def set_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5309,7 +5343,7 @@ def set_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def set_app_access_restrictions( @@ -5324,7 +5358,9 @@ def set_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/set-app-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5382,7 +5418,7 @@ async def async_set_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5397,7 +5433,7 @@ async def async_set_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_set_app_access_restrictions( @@ -5412,7 +5448,9 @@ async def async_set_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/set-app-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5470,7 +5508,7 @@ def add_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5485,7 +5523,7 @@ def add_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def add_app_access_restrictions( @@ -5500,7 +5538,9 @@ def add_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/add-app-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5558,7 +5598,7 @@ async def async_add_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5573,7 +5613,7 @@ async def async_add_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_add_app_access_restrictions( @@ -5588,7 +5628,9 @@ async def async_add_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/add-app-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5646,7 +5688,7 @@ def remove_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5661,7 +5703,7 @@ def remove_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... def remove_app_access_restrictions( @@ -5676,7 +5718,9 @@ def remove_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/remove-app-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5734,7 +5778,7 @@ async def async_remove_app_access_restrictions( stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... @overload @@ -5749,7 +5793,7 @@ async def async_remove_app_access_restrictions( stream: bool = False, apps: list[str], ) -> Response[ - list[Union[Integration, None]], list[Union[IntegrationType, None]] + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] ]: ... async def async_remove_app_access_restrictions( @@ -5764,7 +5808,9 @@ async def async_remove_app_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[Union[Integration, None]], list[Union[IntegrationType, None]]]: + ) -> Response[ + list[Union[Integration, None]], list[Union[IntegrationTypeForResponse, None]] + ]: """repos/remove-app-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps @@ -5819,7 +5865,7 @@ def get_teams_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/get-teams-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -5856,7 +5902,7 @@ async def async_get_teams_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/get-teams-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -5900,7 +5946,7 @@ def set_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def set_team_access_restrictions( @@ -5913,7 +5959,7 @@ def set_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def set_team_access_restrictions( self, @@ -5930,7 +5976,7 @@ def set_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/set-team-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -5996,7 +6042,7 @@ async def async_set_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_set_team_access_restrictions( @@ -6009,7 +6055,7 @@ async def async_set_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_set_team_access_restrictions( self, @@ -6026,7 +6072,7 @@ async def async_set_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/set-team-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6092,7 +6138,7 @@ def add_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def add_team_access_restrictions( @@ -6105,7 +6151,7 @@ def add_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def add_team_access_restrictions( self, @@ -6122,7 +6168,7 @@ def add_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/add-team-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6188,7 +6234,7 @@ async def async_add_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_add_team_access_restrictions( @@ -6201,7 +6247,7 @@ async def async_add_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_add_team_access_restrictions( self, @@ -6218,7 +6264,7 @@ async def async_add_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/add-team-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6284,7 +6330,7 @@ def remove_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload def remove_team_access_restrictions( @@ -6297,7 +6343,7 @@ def remove_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... def remove_team_access_restrictions( self, @@ -6314,7 +6360,7 @@ def remove_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/remove-team-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6380,7 +6426,7 @@ async def async_remove_team_access_restrictions( list[str], ] ] = UNSET, - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... @overload async def async_remove_team_access_restrictions( @@ -6393,7 +6439,7 @@ async def async_remove_team_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, teams: list[str], - ) -> Response[list[Team], list[TeamType]]: ... + ) -> Response[list[Team], list[TeamTypeForResponse]]: ... async def async_remove_team_access_restrictions( self, @@ -6410,7 +6456,7 @@ async def async_remove_team_access_restrictions( ] ] = UNSET, **kwargs, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/remove-team-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams @@ -6469,7 +6515,7 @@ def get_users_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/get-users-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6506,7 +6552,7 @@ async def async_get_users_with_access_to_protected_branch( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/get-users-with-access-to-protected-branch GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6545,7 +6591,7 @@ def set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def set_user_access_restrictions( @@ -6558,7 +6604,7 @@ def set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def set_user_access_restrictions( self, @@ -6572,7 +6618,7 @@ def set_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/set-user-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6631,7 +6677,7 @@ async def async_set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_set_user_access_restrictions( @@ -6644,7 +6690,7 @@ async def async_set_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_set_user_access_restrictions( self, @@ -6658,7 +6704,7 @@ async def async_set_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/set-user-access-restrictions PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6717,7 +6763,7 @@ def add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def add_user_access_restrictions( @@ -6730,7 +6776,7 @@ def add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def add_user_access_restrictions( self, @@ -6744,7 +6790,7 @@ def add_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/add-user-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6803,7 +6849,7 @@ async def async_add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_add_user_access_restrictions( @@ -6816,7 +6862,7 @@ async def async_add_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_add_user_access_restrictions( self, @@ -6830,7 +6876,7 @@ async def async_add_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/add-user-access-restrictions POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6889,7 +6935,7 @@ def remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload def remove_user_access_restrictions( @@ -6902,7 +6948,7 @@ def remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... def remove_user_access_restrictions( self, @@ -6916,7 +6962,7 @@ def remove_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/remove-user-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -6975,7 +7021,7 @@ async def async_remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... @overload async def async_remove_user_access_restrictions( @@ -6988,7 +7034,7 @@ async def async_remove_user_access_restrictions( headers: Optional[Mapping[str, str]] = None, stream: bool = False, users: list[str], - ) -> Response[list[SimpleUser], list[SimpleUserType]]: ... + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: ... async def async_remove_user_access_restrictions( self, @@ -7002,7 +7048,7 @@ async def async_remove_user_access_restrictions( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType ] = UNSET, **kwargs, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """repos/remove-user-access-restrictions DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users @@ -7061,7 +7107,7 @@ def rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchRenamePostBodyType, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... @overload def rename_branch( @@ -7074,7 +7120,7 @@ def rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, new_name: str, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... def rename_branch( self, @@ -7086,7 +7132,7 @@ def rename_branch( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchRenamePostBodyType] = UNSET, **kwargs, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/rename-branch POST /repos/{owner}/{repo}/branches/{branch}/rename @@ -7149,7 +7195,7 @@ async def async_rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoBranchesBranchRenamePostBodyType, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... @overload async def async_rename_branch( @@ -7162,7 +7208,7 @@ async def async_rename_branch( headers: Optional[Mapping[str, str]] = None, stream: bool = False, new_name: str, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: ... + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: ... async def async_rename_branch( self, @@ -7174,7 +7220,7 @@ async def async_rename_branch( stream: bool = False, data: Missing[ReposOwnerRepoBranchesBranchRenamePostBodyType] = UNSET, **kwargs, - ) -> Response[BranchWithProtection, BranchWithProtectionType]: + ) -> Response[BranchWithProtection, BranchWithProtectionTypeForResponse]: """repos/rename-branch POST /repos/{owner}/{repo}/branches/{branch}/rename @@ -7235,7 +7281,7 @@ def codeowners_errors( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeownersErrors, CodeownersErrorsType]: + ) -> Response[CodeownersErrors, CodeownersErrorsTypeForResponse]: """repos/codeowners-errors GET /repos/{owner}/{repo}/codeowners/errors @@ -7277,7 +7323,7 @@ async def async_codeowners_errors( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CodeownersErrors, CodeownersErrorsType]: + ) -> Response[CodeownersErrors, CodeownersErrorsTypeForResponse]: """repos/codeowners-errors GET /repos/{owner}/{repo}/codeowners/errors @@ -7324,7 +7370,7 @@ def list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Collaborator], list[CollaboratorType]]: + ) -> Response[list[Collaborator], list[CollaboratorTypeForResponse]]: """repos/list-collaborators GET /repos/{owner}/{repo}/collaborators @@ -7379,7 +7425,7 @@ async def async_list_collaborators( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Collaborator], list[CollaboratorType]]: + ) -> Response[list[Collaborator], list[CollaboratorTypeForResponse]]: """repos/list-collaborators GET /repos/{owner}/{repo}/collaborators @@ -7503,7 +7549,7 @@ def add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload def add_collaborator( @@ -7516,7 +7562,7 @@ def add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, permission: Missing[str] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... def add_collaborator( self, @@ -7528,7 +7574,7 @@ def add_collaborator( stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/add-collaborator PUT /repos/{owner}/{repo}/collaborators/{username} @@ -7607,7 +7653,7 @@ async def async_add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload async def async_add_collaborator( @@ -7620,7 +7666,7 @@ async def async_add_collaborator( headers: Optional[Mapping[str, str]] = None, stream: bool = False, permission: Missing[str] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... async def async_add_collaborator( self, @@ -7632,7 +7678,7 @@ async def async_add_collaborator( stream: bool = False, data: Missing[ReposOwnerRepoCollaboratorsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/add-collaborator PUT /repos/{owner}/{repo}/collaborators/{username} @@ -7822,7 +7868,8 @@ def get_collaborator_permission_level( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - RepositoryCollaboratorPermission, RepositoryCollaboratorPermissionType + RepositoryCollaboratorPermission, + RepositoryCollaboratorPermissionTypeForResponse, ]: """repos/get-collaborator-permission-level @@ -7867,7 +7914,8 @@ async def async_get_collaborator_permission_level( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - RepositoryCollaboratorPermission, RepositoryCollaboratorPermissionType + RepositoryCollaboratorPermission, + RepositoryCollaboratorPermissionTypeForResponse, ]: """repos/get-collaborator-permission-level @@ -7912,7 +7960,7 @@ def list_commit_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-commit-comments-for-repo GET /repos/{owner}/{repo}/comments @@ -7958,7 +8006,7 @@ async def async_list_commit_comments_for_repo( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-commit-comments-for-repo GET /repos/{owner}/{repo}/comments @@ -8003,7 +8051,7 @@ def get_commit_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/get-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id} @@ -8045,7 +8093,7 @@ async def async_get_commit_comment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/get-commit-comment GET /repos/{owner}/{repo}/comments/{comment_id} @@ -8153,7 +8201,7 @@ def update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdPatchBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload def update_commit_comment( @@ -8166,7 +8214,7 @@ def update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... def update_commit_comment( self, @@ -8178,7 +8226,7 @@ def update_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/update-commit-comment PATCH /repos/{owner}/{repo}/comments/{comment_id} @@ -8236,7 +8284,7 @@ async def async_update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommentsCommentIdPatchBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload async def async_update_commit_comment( @@ -8249,7 +8297,7 @@ async def async_update_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... async def async_update_commit_comment( self, @@ -8261,7 +8309,7 @@ async def async_update_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommentsCommentIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/update-commit-comment PATCH /repos/{owner}/{repo}/comments/{comment_id} @@ -8324,7 +8372,7 @@ def list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """repos/list-commits GET /repos/{owner}/{repo}/commits @@ -8409,7 +8457,7 @@ async def async_list_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Commit], list[CommitType]]: + ) -> Response[list[Commit], list[CommitTypeForResponse]]: """repos/list-commits GET /repos/{owner}/{repo}/commits @@ -8487,7 +8535,7 @@ def list_branches_for_head_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BranchShort], list[BranchShortType]]: + ) -> Response[list[BranchShort], list[BranchShortTypeForResponse]]: """repos/list-branches-for-head-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head @@ -8525,7 +8573,7 @@ async def async_list_branches_for_head_commit( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[BranchShort], list[BranchShortType]]: + ) -> Response[list[BranchShort], list[BranchShortTypeForResponse]]: """repos/list-branches-for-head-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head @@ -8565,7 +8613,7 @@ def list_comments_for_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-comments-for-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -8612,7 +8660,7 @@ async def async_list_comments_for_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitComment], list[CommitCommentType]]: + ) -> Response[list[CommitComment], list[CommitCommentTypeForResponse]]: """repos/list-comments-for-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -8659,7 +8707,7 @@ def create_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload def create_commit_comment( @@ -8675,7 +8723,7 @@ def create_commit_comment( path: Missing[str] = UNSET, position: Missing[int] = UNSET, line: Missing[int] = UNSET, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... def create_commit_comment( self, @@ -8687,7 +8735,7 @@ def create_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommitsCommitShaCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/create-commit-comment POST /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -8751,7 +8799,7 @@ async def async_create_commit_comment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... @overload async def async_create_commit_comment( @@ -8767,7 +8815,7 @@ async def async_create_commit_comment( path: Missing[str] = UNSET, position: Missing[int] = UNSET, line: Missing[int] = UNSET, - ) -> Response[CommitComment, CommitCommentType]: ... + ) -> Response[CommitComment, CommitCommentTypeForResponse]: ... async def async_create_commit_comment( self, @@ -8779,7 +8827,7 @@ async def async_create_commit_comment( stream: bool = False, data: Missing[ReposOwnerRepoCommitsCommitShaCommentsPostBodyType] = UNSET, **kwargs, - ) -> Response[CommitComment, CommitCommentType]: + ) -> Response[CommitComment, CommitCommentTypeForResponse]: """repos/create-commit-comment POST /repos/{owner}/{repo}/commits/{commit_sha}/comments @@ -8843,7 +8891,7 @@ def list_pull_requests_associated_with_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """repos/list-pull-requests-associated-with-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls @@ -8888,7 +8936,7 @@ async def async_list_pull_requests_associated_with_commit( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PullRequestSimple], list[PullRequestSimpleType]]: + ) -> Response[list[PullRequestSimple], list[PullRequestSimpleTypeForResponse]]: """repos/list-pull-requests-associated-with-commit GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls @@ -8933,7 +8981,7 @@ def get_commit( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/get-commit GET /repos/{owner}/{repo}/commits/{ref} @@ -9019,7 +9067,7 @@ async def async_get_commit( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/get-commit GET /repos/{owner}/{repo}/commits/{ref} @@ -9105,7 +9153,7 @@ def get_combined_status_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedCommitStatus, CombinedCommitStatusType]: + ) -> Response[CombinedCommitStatus, CombinedCommitStatusTypeForResponse]: """repos/get-combined-status-for-ref GET /repos/{owner}/{repo}/commits/{ref}/status @@ -9155,7 +9203,7 @@ async def async_get_combined_status_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CombinedCommitStatus, CombinedCommitStatusType]: + ) -> Response[CombinedCommitStatus, CombinedCommitStatusTypeForResponse]: """repos/get-combined-status-for-ref GET /repos/{owner}/{repo}/commits/{ref}/status @@ -9205,7 +9253,7 @@ def list_commit_statuses_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Status], list[StatusType]]: + ) -> Response[list[Status], list[StatusTypeForResponse]]: """repos/list-commit-statuses-for-ref GET /repos/{owner}/{repo}/commits/{ref}/statuses @@ -9247,7 +9295,7 @@ async def async_list_commit_statuses_for_ref( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Status], list[StatusType]]: + ) -> Response[list[Status], list[StatusTypeForResponse]]: """repos/list-commit-statuses-for-ref GET /repos/{owner}/{repo}/commits/{ref}/statuses @@ -9286,7 +9334,7 @@ def get_community_profile_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommunityProfile, CommunityProfileType]: + ) -> Response[CommunityProfile, CommunityProfileTypeForResponse]: r"""repos/get-community-profile-metrics GET /repos/{owner}/{repo}/community/profile @@ -9327,7 +9375,7 @@ async def async_get_community_profile_metrics( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommunityProfile, CommunityProfileType]: + ) -> Response[CommunityProfile, CommunityProfileTypeForResponse]: r"""repos/get-community-profile-metrics GET /repos/{owner}/{repo}/community/profile @@ -9371,7 +9419,7 @@ def compare_commits( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComparison, CommitComparisonType]: + ) -> Response[CommitComparison, CommitComparisonTypeForResponse]: """repos/compare-commits GET /repos/{owner}/{repo}/compare/{basehead} @@ -9466,7 +9514,7 @@ async def async_compare_commits( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CommitComparison, CommitComparisonType]: + ) -> Response[CommitComparison, CommitComparisonTypeForResponse]: """repos/compare-commits GET /repos/{owner}/{repo}/compare/{basehead} @@ -9565,10 +9613,10 @@ def get_content( list[ContentDirectoryItems], ContentFile, ContentSymlink, ContentSubmodule ], Union[ - list[ContentDirectoryItemsType], - ContentFileType, - ContentSymlinkType, - ContentSubmoduleType, + list[ContentDirectoryItemsTypeForResponse], + ContentFileTypeForResponse, + ContentSymlinkTypeForResponse, + ContentSubmoduleTypeForResponse, ], ]: """repos/get-content @@ -9654,10 +9702,10 @@ async def async_get_content( list[ContentDirectoryItems], ContentFile, ContentSymlink, ContentSubmodule ], Union[ - list[ContentDirectoryItemsType], - ContentFileType, - ContentSymlinkType, - ContentSubmoduleType, + list[ContentDirectoryItemsTypeForResponse], + ContentFileTypeForResponse, + ContentSymlinkTypeForResponse, + ContentSubmoduleTypeForResponse, ], ]: """repos/get-content @@ -9739,7 +9787,7 @@ def create_or_update_file_contents( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathPutBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload def create_or_update_file_contents( @@ -9757,7 +9805,7 @@ def create_or_update_file_contents( branch: Missing[str] = UNSET, committer: Missing[ReposOwnerRepoContentsPathPutBodyPropCommitterType] = UNSET, author: Missing[ReposOwnerRepoContentsPathPutBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... def create_or_update_file_contents( self, @@ -9769,7 +9817,7 @@ def create_or_update_file_contents( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathPutBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/create-or-update-file-contents PUT /repos/{owner}/{repo}/contents/{path} @@ -9831,7 +9879,7 @@ async def async_create_or_update_file_contents( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathPutBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload async def async_create_or_update_file_contents( @@ -9849,7 +9897,7 @@ async def async_create_or_update_file_contents( branch: Missing[str] = UNSET, committer: Missing[ReposOwnerRepoContentsPathPutBodyPropCommitterType] = UNSET, author: Missing[ReposOwnerRepoContentsPathPutBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... async def async_create_or_update_file_contents( self, @@ -9861,7 +9909,7 @@ async def async_create_or_update_file_contents( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathPutBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/create-or-update-file-contents PUT /repos/{owner}/{repo}/contents/{path} @@ -9923,7 +9971,7 @@ def delete_file( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathDeleteBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload def delete_file( @@ -9942,7 +9990,7 @@ def delete_file( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType ] = UNSET, author: Missing[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... def delete_file( self, @@ -9954,7 +10002,7 @@ def delete_file( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathDeleteBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/delete-file DELETE /repos/{owner}/{repo}/contents/{path} @@ -10019,7 +10067,7 @@ async def async_delete_file( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoContentsPathDeleteBodyType, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... @overload async def async_delete_file( @@ -10038,7 +10086,7 @@ async def async_delete_file( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType ] = UNSET, author: Missing[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] = UNSET, - ) -> Response[FileCommit, FileCommitType]: ... + ) -> Response[FileCommit, FileCommitTypeForResponse]: ... async def async_delete_file( self, @@ -10050,7 +10098,7 @@ async def async_delete_file( stream: bool = False, data: Missing[ReposOwnerRepoContentsPathDeleteBodyType] = UNSET, **kwargs, - ) -> Response[FileCommit, FileCommitType]: + ) -> Response[FileCommit, FileCommitTypeForResponse]: """repos/delete-file DELETE /repos/{owner}/{repo}/contents/{path} @@ -10115,7 +10163,7 @@ def list_contributors( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Contributor], list[ContributorType]]: + ) -> Response[list[Contributor], list[ContributorTypeForResponse]]: """repos/list-contributors GET /repos/{owner}/{repo}/contributors @@ -10162,7 +10210,7 @@ async def async_list_contributors( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Contributor], list[ContributorType]]: + ) -> Response[list[Contributor], list[ContributorTypeForResponse]]: """repos/list-contributors GET /repos/{owner}/{repo}/contributors @@ -10212,7 +10260,7 @@ def list_deployments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """repos/list-deployments GET /repos/{owner}/{repo}/deployments @@ -10259,7 +10307,7 @@ async def async_list_deployments( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Deployment], list[DeploymentType]]: + ) -> Response[list[Deployment], list[DeploymentTypeForResponse]]: """repos/list-deployments GET /repos/{owner}/{repo}/deployments @@ -10302,7 +10350,7 @@ def create_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsPostBodyType, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... @overload def create_deployment( @@ -10324,7 +10372,7 @@ def create_deployment( description: Missing[Union[str, None]] = UNSET, transient_environment: Missing[bool] = UNSET, production_environment: Missing[bool] = UNSET, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... def create_deployment( self, @@ -10335,7 +10383,7 @@ def create_deployment( stream: bool = False, data: Missing[ReposOwnerRepoDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/create-deployment POST /repos/{owner}/{repo}/deployments @@ -10432,7 +10480,7 @@ async def async_create_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsPostBodyType, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... @overload async def async_create_deployment( @@ -10454,7 +10502,7 @@ async def async_create_deployment( description: Missing[Union[str, None]] = UNSET, transient_environment: Missing[bool] = UNSET, production_environment: Missing[bool] = UNSET, - ) -> Response[Deployment, DeploymentType]: ... + ) -> Response[Deployment, DeploymentTypeForResponse]: ... async def async_create_deployment( self, @@ -10465,7 +10513,7 @@ async def async_create_deployment( stream: bool = False, data: Missing[ReposOwnerRepoDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/create-deployment POST /repos/{owner}/{repo}/deployments @@ -10561,7 +10609,7 @@ def get_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/get-deployment GET /repos/{owner}/{repo}/deployments/{deployment_id} @@ -10594,7 +10642,7 @@ async def async_get_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Deployment, DeploymentType]: + ) -> Response[Deployment, DeploymentTypeForResponse]: """repos/get-deployment GET /repos/{owner}/{repo}/deployments/{deployment_id} @@ -10717,7 +10765,7 @@ def list_deployment_statuses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeploymentStatus], list[DeploymentStatusType]]: + ) -> Response[list[DeploymentStatus], list[DeploymentStatusTypeForResponse]]: """repos/list-deployment-statuses GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -10760,7 +10808,7 @@ async def async_list_deployment_statuses( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeploymentStatus], list[DeploymentStatusType]]: + ) -> Response[list[DeploymentStatus], list[DeploymentStatusTypeForResponse]]: """repos/list-deployment-statuses GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -10803,7 +10851,7 @@ def create_deployment_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... @overload def create_deployment_status( @@ -10830,7 +10878,7 @@ def create_deployment_status( environment: Missing[str] = UNSET, environment_url: Missing[str] = UNSET, auto_inactive: Missing[bool] = UNSET, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... def create_deployment_status( self, @@ -10844,7 +10892,7 @@ def create_deployment_status( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/create-deployment-status POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -10899,7 +10947,7 @@ async def async_create_deployment_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... @overload async def async_create_deployment_status( @@ -10926,7 +10974,7 @@ async def async_create_deployment_status( environment: Missing[str] = UNSET, environment_url: Missing[str] = UNSET, auto_inactive: Missing[bool] = UNSET, - ) -> Response[DeploymentStatus, DeploymentStatusType]: ... + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: ... async def async_create_deployment_status( self, @@ -10940,7 +10988,7 @@ async def async_create_deployment_status( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/create-deployment-status POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses @@ -10994,7 +11042,7 @@ def get_deployment_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/get-deployment-status GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} @@ -11030,7 +11078,7 @@ async def async_get_deployment_status( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentStatus, DeploymentStatusType]: + ) -> Response[DeploymentStatus, DeploymentStatusTypeForResponse]: """repos/get-deployment-status GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} @@ -11232,7 +11280,7 @@ def get_all_environments( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsGetResponse200, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ]: """repos/get-all-environments @@ -11278,7 +11326,7 @@ async def async_get_all_environments( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsGetResponse200, - ReposOwnerRepoEnvironmentsGetResponse200Type, + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, ]: """repos/get-all-environments @@ -11321,7 +11369,7 @@ def get_environment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/get-environment GET /repos/{owner}/{repo}/environments/{environment_name} @@ -11358,7 +11406,7 @@ async def async_get_environment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/get-environment GET /repos/{owner}/{repo}/environments/{environment_name} @@ -11399,7 +11447,7 @@ def create_or_update_environment( data: Missing[ Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... @overload def create_or_update_environment( @@ -11424,7 +11472,7 @@ def create_or_update_environment( deployment_branch_policy: Missing[ Union[DeploymentBranchPolicySettingsType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... def create_or_update_environment( self, @@ -11438,7 +11486,7 @@ def create_or_update_environment( Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/create-or-update-environment PUT /repos/{owner}/{repo}/environments/{environment_name} @@ -11503,7 +11551,7 @@ async def async_create_or_update_environment( data: Missing[ Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... @overload async def async_create_or_update_environment( @@ -11528,7 +11576,7 @@ async def async_create_or_update_environment( deployment_branch_policy: Missing[ Union[DeploymentBranchPolicySettingsType, None] ] = UNSET, - ) -> Response[Environment, EnvironmentType]: ... + ) -> Response[Environment, EnvironmentTypeForResponse]: ... async def async_create_or_update_environment( self, @@ -11542,7 +11590,7 @@ async def async_create_or_update_environment( Union[ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, None] ] = UNSET, **kwargs, - ) -> Response[Environment, EnvironmentType]: + ) -> Response[Environment, EnvironmentTypeForResponse]: """repos/create-or-update-environment PUT /repos/{owner}/{repo}/environments/{environment_name} @@ -11665,7 +11713,7 @@ def list_deployment_branch_policies( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, ]: """repos/list-deployment-branch-policies @@ -11714,7 +11762,7 @@ async def async_list_deployment_branch_policies( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, ]: """repos/list-deployment-branch-policies @@ -11761,7 +11809,7 @@ def create_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternWithTypeType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload def create_deployment_branch_policy( @@ -11775,7 +11823,7 @@ def create_deployment_branch_policy( stream: bool = False, name: str, type: Missing[Literal["branch", "tag"]] = UNSET, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... def create_deployment_branch_policy( self, @@ -11787,7 +11835,7 @@ def create_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternWithTypeType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/create-deployment-branch-policy POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies @@ -11837,7 +11885,7 @@ async def async_create_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternWithTypeType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload async def async_create_deployment_branch_policy( @@ -11851,7 +11899,7 @@ async def async_create_deployment_branch_policy( stream: bool = False, name: str, type: Missing[Literal["branch", "tag"]] = UNSET, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... async def async_create_deployment_branch_policy( self, @@ -11863,7 +11911,7 @@ async def async_create_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternWithTypeType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/create-deployment-branch-policy POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies @@ -11912,7 +11960,7 @@ def get_deployment_branch_policy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/get-deployment-branch-policy GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -11949,7 +11997,7 @@ async def async_get_deployment_branch_policy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/get-deployment-branch-policy GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -11988,7 +12036,7 @@ def update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload def update_deployment_branch_policy( @@ -12002,7 +12050,7 @@ def update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... def update_deployment_branch_policy( self, @@ -12015,7 +12063,7 @@ def update_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/update-deployment-branch-policy PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -12062,7 +12110,7 @@ async def async_update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: DeploymentBranchPolicyNamePatternType, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... @overload async def async_update_deployment_branch_policy( @@ -12076,7 +12124,7 @@ async def async_update_deployment_branch_policy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, name: str, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: ... + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: ... async def async_update_deployment_branch_policy( self, @@ -12089,7 +12137,7 @@ async def async_update_deployment_branch_policy( stream: bool = False, data: Missing[DeploymentBranchPolicyNamePatternType] = UNSET, **kwargs, - ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyType]: + ) -> Response[DeploymentBranchPolicy, DeploymentBranchPolicyTypeForResponse]: """repos/update-deployment-branch-policy PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} @@ -12199,7 +12247,7 @@ def get_all_deployment_protection_rules( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ]: """repos/get-all-deployment-protection-rules @@ -12240,7 +12288,7 @@ async def async_get_all_deployment_protection_rules( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, ]: """repos/get-all-deployment-protection-rules @@ -12281,7 +12329,9 @@ def create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... @overload def create_deployment_protection_rule( @@ -12294,7 +12344,9 @@ def create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, integration_id: Missing[int] = UNSET, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... def create_deployment_protection_rule( self, @@ -12308,7 +12360,7 @@ def create_deployment_protection_rule( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/create-deployment-protection-rule POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules @@ -12364,7 +12416,9 @@ async def async_create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... @overload async def async_create_deployment_protection_rule( @@ -12377,7 +12431,9 @@ async def async_create_deployment_protection_rule( headers: Optional[Mapping[str, str]] = None, stream: bool = False, integration_id: Missing[int] = UNSET, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: ... + ) -> Response[ + DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse + ]: ... async def async_create_deployment_protection_rule( self, @@ -12391,7 +12447,7 @@ async def async_create_deployment_protection_rule( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType ] = UNSET, **kwargs, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/create-deployment-protection-rule POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules @@ -12449,7 +12505,7 @@ def list_custom_deployment_rule_integrations( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, ]: """repos/list-custom-deployment-rule-integrations @@ -12502,7 +12558,7 @@ async def async_list_custom_deployment_rule_integrations( stream: bool = False, ) -> Response[ ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200, - ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, ]: """repos/list-custom-deployment-rule-integrations @@ -12552,7 +12608,7 @@ def get_custom_deployment_protection_rule( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/get-custom-deployment-protection-rule GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} @@ -12589,7 +12645,7 @@ async def async_get_custom_deployment_protection_rule( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleType]: + ) -> Response[DeploymentProtectionRule, DeploymentProtectionRuleTypeForResponse]: """repos/get-custom-deployment-protection-rule GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} @@ -12695,7 +12751,7 @@ def list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-forks GET /repos/{owner}/{repo}/forks @@ -12737,7 +12793,7 @@ async def async_list_forks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-forks GET /repos/{owner}/{repo}/forks @@ -12778,7 +12834,7 @@ def create_fork( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_fork( @@ -12792,7 +12848,7 @@ def create_fork( organization: Missing[str] = UNSET, name: Missing[str] = UNSET, default_branch_only: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_fork( self, @@ -12803,7 +12859,7 @@ def create_fork( stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-fork POST /repos/{owner}/{repo}/forks @@ -12865,7 +12921,7 @@ async def async_create_fork( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_fork( @@ -12879,7 +12935,7 @@ async def async_create_fork( organization: Missing[str] = UNSET, name: Missing[str] = UNSET, default_branch_only: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_fork( self, @@ -12890,7 +12946,7 @@ async def async_create_fork( stream: bool = False, data: Missing[Union[ReposOwnerRepoForksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-fork POST /repos/{owner}/{repo}/forks @@ -12952,7 +13008,7 @@ def list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Hook], list[HookType]]: + ) -> Response[list[Hook], list[HookTypeForResponse]]: """repos/list-webhooks GET /repos/{owner}/{repo}/hooks @@ -12994,7 +13050,7 @@ async def async_list_webhooks( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Hook], list[HookType]]: + ) -> Response[list[Hook], list[HookTypeForResponse]]: """repos/list-webhooks GET /repos/{owner}/{repo}/hooks @@ -13036,7 +13092,7 @@ def create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload def create_webhook( @@ -13051,7 +13107,7 @@ def create_webhook( config: Missing[ReposOwnerRepoHooksPostBodyPropConfigType] = UNSET, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... def create_webhook( self, @@ -13062,7 +13118,7 @@ def create_webhook( stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/create-webhook POST /repos/{owner}/{repo}/hooks @@ -13118,7 +13174,7 @@ async def async_create_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload async def async_create_webhook( @@ -13133,7 +13189,7 @@ async def async_create_webhook( config: Missing[ReposOwnerRepoHooksPostBodyPropConfigType] = UNSET, events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... async def async_create_webhook( self, @@ -13144,7 +13200,7 @@ async def async_create_webhook( stream: bool = False, data: Missing[Union[ReposOwnerRepoHooksPostBodyType, None]] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/create-webhook POST /repos/{owner}/{repo}/hooks @@ -13199,7 +13255,7 @@ def get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/get-webhook GET /repos/{owner}/{repo}/hooks/{hook_id} @@ -13234,7 +13290,7 @@ async def async_get_webhook( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/get-webhook GET /repos/{owner}/{repo}/hooks/{hook_id} @@ -13343,7 +13399,7 @@ def update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoHooksHookIdPatchBodyType, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload def update_webhook( @@ -13360,7 +13416,7 @@ def update_webhook( add_events: Missing[list[str]] = UNSET, remove_events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... def update_webhook( self, @@ -13372,7 +13428,7 @@ def update_webhook( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/update-webhook PATCH /repos/{owner}/{repo}/hooks/{hook_id} @@ -13425,7 +13481,7 @@ async def async_update_webhook( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoHooksHookIdPatchBodyType, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... @overload async def async_update_webhook( @@ -13442,7 +13498,7 @@ async def async_update_webhook( add_events: Missing[list[str]] = UNSET, remove_events: Missing[list[str]] = UNSET, active: Missing[bool] = UNSET, - ) -> Response[Hook, HookType]: ... + ) -> Response[Hook, HookTypeForResponse]: ... async def async_update_webhook( self, @@ -13454,7 +13510,7 @@ async def async_update_webhook( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Hook, HookType]: + ) -> Response[Hook, HookTypeForResponse]: """repos/update-webhook PATCH /repos/{owner}/{repo}/hooks/{hook_id} @@ -13505,7 +13561,7 @@ def get_webhook_config_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/get-webhook-config-for-repo GET /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -13539,7 +13595,7 @@ async def async_get_webhook_config_for_repo( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/get-webhook-config-for-repo GET /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -13575,7 +13631,7 @@ def update_webhook_config_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload def update_webhook_config_for_repo( @@ -13591,7 +13647,7 @@ def update_webhook_config_for_repo( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... def update_webhook_config_for_repo( self, @@ -13603,7 +13659,7 @@ def update_webhook_config_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/update-webhook-config-for-repo PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -13649,7 +13705,7 @@ async def async_update_webhook_config_for_repo( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... @overload async def async_update_webhook_config_for_repo( @@ -13665,7 +13721,7 @@ async def async_update_webhook_config_for_repo( content_type: Missing[str] = UNSET, secret: Missing[str] = UNSET, insecure_ssl: Missing[Union[str, float]] = UNSET, - ) -> Response[WebhookConfig, WebhookConfigType]: ... + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: ... async def async_update_webhook_config_for_repo( self, @@ -13677,7 +13733,7 @@ async def async_update_webhook_config_for_repo( stream: bool = False, data: Missing[ReposOwnerRepoHooksHookIdConfigPatchBodyType] = UNSET, **kwargs, - ) -> Response[WebhookConfig, WebhookConfigType]: + ) -> Response[WebhookConfig, WebhookConfigTypeForResponse]: """repos/update-webhook-config-for-repo PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config @@ -13723,7 +13779,7 @@ def list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """repos/list-webhook-deliveries GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries @@ -13767,7 +13823,7 @@ async def async_list_webhook_deliveries( cursor: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemType]]: + ) -> Response[list[HookDeliveryItem], list[HookDeliveryItemTypeForResponse]]: """repos/list-webhook-deliveries GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries @@ -13810,7 +13866,7 @@ def get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """repos/get-webhook-delivery GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} @@ -13847,7 +13903,7 @@ async def async_get_webhook_delivery( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[HookDelivery, HookDeliveryType]: + ) -> Response[HookDelivery, HookDeliveryTypeForResponse]: """repos/get-webhook-delivery GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} @@ -13886,7 +13942,7 @@ def redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/redeliver-webhook-delivery @@ -13930,7 +13986,7 @@ async def async_redeliver_webhook_delivery( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """repos/redeliver-webhook-delivery @@ -14112,7 +14168,7 @@ def check_immutable_releases( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckImmutableReleases, CheckImmutableReleasesType]: + ) -> Response[CheckImmutableReleases, CheckImmutableReleasesTypeForResponse]: """repos/check-immutable-releases GET /repos/{owner}/{repo}/immutable-releases @@ -14145,7 +14201,7 @@ async def async_check_immutable_releases( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CheckImmutableReleases, CheckImmutableReleasesType]: + ) -> Response[CheckImmutableReleases, CheckImmutableReleasesTypeForResponse]: """repos/check-immutable-releases GET /repos/{owner}/{repo}/immutable-releases @@ -14312,7 +14368,9 @@ def list_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations GET /repos/{owner}/{repo}/invitations @@ -14351,7 +14409,9 @@ async def async_list_invitations( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations GET /repos/{owner}/{repo}/invitations @@ -14445,7 +14505,7 @@ def update_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload def update_invitation( @@ -14460,7 +14520,7 @@ def update_invitation( permissions: Missing[ Literal["read", "write", "maintain", "triage", "admin"] ] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... def update_invitation( self, @@ -14472,7 +14532,7 @@ def update_invitation( stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/update-invitation PATCH /repos/{owner}/{repo}/invitations/{invitation_id} @@ -14519,7 +14579,7 @@ async def async_update_invitation( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... @overload async def async_update_invitation( @@ -14534,7 +14594,7 @@ async def async_update_invitation( permissions: Missing[ Literal["read", "write", "maintain", "triage", "admin"] ] = UNSET, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: ... + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: ... async def async_update_invitation( self, @@ -14546,7 +14606,7 @@ async def async_update_invitation( stream: bool = False, data: Missing[ReposOwnerRepoInvitationsInvitationIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryInvitation, RepositoryInvitationType]: + ) -> Response[RepositoryInvitation, RepositoryInvitationTypeForResponse]: """repos/update-invitation PATCH /repos/{owner}/{repo}/invitations/{invitation_id} @@ -14592,7 +14652,7 @@ def list_deploy_keys( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeployKey], list[DeployKeyType]]: + ) -> Response[list[DeployKey], list[DeployKeyTypeForResponse]]: """repos/list-deploy-keys GET /repos/{owner}/{repo}/keys @@ -14629,7 +14689,7 @@ async def async_list_deploy_keys( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[DeployKey], list[DeployKeyType]]: + ) -> Response[list[DeployKey], list[DeployKeyTypeForResponse]]: """repos/list-deploy-keys GET /repos/{owner}/{repo}/keys @@ -14666,7 +14726,7 @@ def create_deploy_key( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoKeysPostBodyType, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... @overload def create_deploy_key( @@ -14680,7 +14740,7 @@ def create_deploy_key( title: Missing[str] = UNSET, key: str, read_only: Missing[bool] = UNSET, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... def create_deploy_key( self, @@ -14691,7 +14751,7 @@ def create_deploy_key( stream: bool = False, data: Missing[ReposOwnerRepoKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/create-deploy-key POST /repos/{owner}/{repo}/keys @@ -14737,7 +14797,7 @@ async def async_create_deploy_key( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoKeysPostBodyType, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... @overload async def async_create_deploy_key( @@ -14751,7 +14811,7 @@ async def async_create_deploy_key( title: Missing[str] = UNSET, key: str, read_only: Missing[bool] = UNSET, - ) -> Response[DeployKey, DeployKeyType]: ... + ) -> Response[DeployKey, DeployKeyTypeForResponse]: ... async def async_create_deploy_key( self, @@ -14762,7 +14822,7 @@ async def async_create_deploy_key( stream: bool = False, data: Missing[ReposOwnerRepoKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/create-deploy-key POST /repos/{owner}/{repo}/keys @@ -14807,7 +14867,7 @@ def get_deploy_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/get-deploy-key GET /repos/{owner}/{repo}/keys/{key_id} @@ -14840,7 +14900,7 @@ async def async_get_deploy_key( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[DeployKey, DeployKeyType]: + ) -> Response[DeployKey, DeployKeyTypeForResponse]: """repos/get-deploy-key GET /repos/{owner}/{repo}/keys/{key_id} @@ -14930,7 +14990,7 @@ def list_languages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Language, LanguageType]: + ) -> Response[Language, LanguageTypeForResponse]: """repos/list-languages GET /repos/{owner}/{repo}/languages @@ -14961,7 +15021,7 @@ async def async_list_languages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Language, LanguageType]: + ) -> Response[Language, LanguageTypeForResponse]: """repos/list-languages GET /repos/{owner}/{repo}/languages @@ -14994,7 +15054,7 @@ def merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergeUpstreamPostBodyType, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... @overload def merge_upstream( @@ -15006,7 +15066,7 @@ def merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, branch: str, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... def merge_upstream( self, @@ -15017,7 +15077,7 @@ def merge_upstream( stream: bool = False, data: Missing[ReposOwnerRepoMergeUpstreamPostBodyType] = UNSET, **kwargs, - ) -> Response[MergedUpstream, MergedUpstreamType]: + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: """repos/merge-upstream POST /repos/{owner}/{repo}/merge-upstream @@ -15061,7 +15121,7 @@ async def async_merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergeUpstreamPostBodyType, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... @overload async def async_merge_upstream( @@ -15073,7 +15133,7 @@ async def async_merge_upstream( headers: Optional[Mapping[str, str]] = None, stream: bool = False, branch: str, - ) -> Response[MergedUpstream, MergedUpstreamType]: ... + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: ... async def async_merge_upstream( self, @@ -15084,7 +15144,7 @@ async def async_merge_upstream( stream: bool = False, data: Missing[ReposOwnerRepoMergeUpstreamPostBodyType] = UNSET, **kwargs, - ) -> Response[MergedUpstream, MergedUpstreamType]: + ) -> Response[MergedUpstream, MergedUpstreamTypeForResponse]: """repos/merge-upstream POST /repos/{owner}/{repo}/merge-upstream @@ -15128,7 +15188,7 @@ def merge( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergesPostBodyType, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... @overload def merge( @@ -15142,7 +15202,7 @@ def merge( base: str, head: str, commit_message: Missing[str] = UNSET, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... def merge( self, @@ -15153,7 +15213,7 @@ def merge( stream: bool = False, data: Missing[ReposOwnerRepoMergesPostBodyType] = UNSET, **kwargs, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/merge POST /repos/{owner}/{repo}/merges @@ -15203,7 +15263,7 @@ async def async_merge( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoMergesPostBodyType, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... @overload async def async_merge( @@ -15217,7 +15277,7 @@ async def async_merge( base: str, head: str, commit_message: Missing[str] = UNSET, - ) -> Response[Commit, CommitType]: ... + ) -> Response[Commit, CommitTypeForResponse]: ... async def async_merge( self, @@ -15228,7 +15288,7 @@ async def async_merge( stream: bool = False, data: Missing[ReposOwnerRepoMergesPostBodyType] = UNSET, **kwargs, - ) -> Response[Commit, CommitType]: + ) -> Response[Commit, CommitTypeForResponse]: """repos/merge POST /repos/{owner}/{repo}/merges @@ -15276,7 +15336,7 @@ def get_pages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/get-pages GET /repos/{owner}/{repo}/pages @@ -15312,7 +15372,7 @@ async def async_get_pages( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/get-pages GET /repos/{owner}/{repo}/pages @@ -15741,7 +15801,7 @@ def create_pages_site( ReposOwnerRepoPagesPostBodyAnyof1Type, None, ], - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload def create_pages_site( @@ -15754,7 +15814,7 @@ def create_pages_site( stream: bool = False, build_type: Missing[Literal["legacy", "workflow"]] = UNSET, source: ReposOwnerRepoPagesPostBodyPropSourceType, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload def create_pages_site( @@ -15767,7 +15827,7 @@ def create_pages_site( stream: bool = False, build_type: Literal["legacy", "workflow"], source: Missing[ReposOwnerRepoPagesPostBodyPropSourceType] = UNSET, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... def create_pages_site( self, @@ -15785,7 +15845,7 @@ def create_pages_site( ] ] = UNSET, **kwargs, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/create-pages-site POST /repos/{owner}/{repo}/pages @@ -15857,7 +15917,7 @@ async def async_create_pages_site( ReposOwnerRepoPagesPostBodyAnyof1Type, None, ], - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload async def async_create_pages_site( @@ -15870,7 +15930,7 @@ async def async_create_pages_site( stream: bool = False, build_type: Missing[Literal["legacy", "workflow"]] = UNSET, source: ReposOwnerRepoPagesPostBodyPropSourceType, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... @overload async def async_create_pages_site( @@ -15883,7 +15943,7 @@ async def async_create_pages_site( stream: bool = False, build_type: Literal["legacy", "workflow"], source: Missing[ReposOwnerRepoPagesPostBodyPropSourceType] = UNSET, - ) -> Response[Page, PageType]: ... + ) -> Response[Page, PageTypeForResponse]: ... async def async_create_pages_site( self, @@ -15901,7 +15961,7 @@ async def async_create_pages_site( ] ] = UNSET, **kwargs, - ) -> Response[Page, PageType]: + ) -> Response[Page, PageTypeForResponse]: """repos/create-pages-site POST /repos/{owner}/{repo}/pages @@ -16046,7 +16106,7 @@ def list_pages_builds( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PageBuild], list[PageBuildType]]: + ) -> Response[list[PageBuild], list[PageBuildTypeForResponse]]: """repos/list-pages-builds GET /repos/{owner}/{repo}/pages/builds @@ -16087,7 +16147,7 @@ async def async_list_pages_builds( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[PageBuild], list[PageBuildType]]: + ) -> Response[list[PageBuild], list[PageBuildTypeForResponse]]: """repos/list-pages-builds GET /repos/{owner}/{repo}/pages/builds @@ -16126,7 +16186,7 @@ def request_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuildStatus, PageBuildStatusType]: + ) -> Response[PageBuildStatus, PageBuildStatusTypeForResponse]: """repos/request-pages-build POST /repos/{owner}/{repo}/pages/builds @@ -16159,7 +16219,7 @@ async def async_request_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuildStatus, PageBuildStatusType]: + ) -> Response[PageBuildStatus, PageBuildStatusTypeForResponse]: """repos/request-pages-build POST /repos/{owner}/{repo}/pages/builds @@ -16192,7 +16252,7 @@ def get_latest_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-latest-pages-build GET /repos/{owner}/{repo}/pages/builds/latest @@ -16225,7 +16285,7 @@ async def async_get_latest_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-latest-pages-build GET /repos/{owner}/{repo}/pages/builds/latest @@ -16259,7 +16319,7 @@ def get_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-pages-build GET /repos/{owner}/{repo}/pages/builds/{build_id} @@ -16293,7 +16353,7 @@ async def async_get_pages_build( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PageBuild, PageBuildType]: + ) -> Response[PageBuild, PageBuildTypeForResponse]: """repos/get-pages-build GET /repos/{owner}/{repo}/pages/builds/{build_id} @@ -16328,7 +16388,7 @@ def create_pages_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPagesDeploymentsPostBodyType, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... @overload def create_pages_deployment( @@ -16344,7 +16404,7 @@ def create_pages_deployment( environment: Missing[str] = UNSET, pages_build_version: str = "GITHUB_SHA", oidc_token: str, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... def create_pages_deployment( self, @@ -16355,7 +16415,7 @@ def create_pages_deployment( stream: bool = False, data: Missing[ReposOwnerRepoPagesDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PageDeployment, PageDeploymentType]: + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: """repos/create-pages-deployment POST /repos/{owner}/{repo}/pages/deployments @@ -16410,7 +16470,7 @@ async def async_create_pages_deployment( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoPagesDeploymentsPostBodyType, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... @overload async def async_create_pages_deployment( @@ -16426,7 +16486,7 @@ async def async_create_pages_deployment( environment: Missing[str] = UNSET, pages_build_version: str = "GITHUB_SHA", oidc_token: str, - ) -> Response[PageDeployment, PageDeploymentType]: ... + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: ... async def async_create_pages_deployment( self, @@ -16437,7 +16497,7 @@ async def async_create_pages_deployment( stream: bool = False, data: Missing[ReposOwnerRepoPagesDeploymentsPostBodyType] = UNSET, **kwargs, - ) -> Response[PageDeployment, PageDeploymentType]: + ) -> Response[PageDeployment, PageDeploymentTypeForResponse]: """repos/create-pages-deployment POST /repos/{owner}/{repo}/pages/deployments @@ -16491,7 +16551,7 @@ def get_pages_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusType]: + ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusTypeForResponse]: """repos/get-pages-deployment GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id} @@ -16528,7 +16588,7 @@ async def async_get_pages_deployment( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusType]: + ) -> Response[PagesDeploymentStatus, PagesDeploymentStatusTypeForResponse]: """repos/get-pages-deployment GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id} @@ -16636,7 +16696,7 @@ def get_pages_health_check( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesHealthCheck, PagesHealthCheckType]: + ) -> Response[PagesHealthCheck, PagesHealthCheckTypeForResponse]: """repos/get-pages-health-check GET /repos/{owner}/{repo}/pages/health @@ -16676,7 +16736,7 @@ async def async_get_pages_health_check( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[PagesHealthCheck, PagesHealthCheckType]: + ) -> Response[PagesHealthCheck, PagesHealthCheckTypeForResponse]: """repos/get-pages-health-check GET /repos/{owner}/{repo}/pages/health @@ -16718,7 +16778,7 @@ def check_private_vulnerability_reporting( stream: bool = False, ) -> Response[ ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ]: """repos/check-private-vulnerability-reporting @@ -16758,7 +16818,7 @@ async def async_check_private_vulnerability_reporting( stream: bool = False, ) -> Response[ ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200, - ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, ]: """repos/check-private-vulnerability-reporting @@ -16928,7 +16988,7 @@ def custom_properties_for_repos_get_repository_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """repos/custom-properties-for-repos-get-repository-values GET /repos/{owner}/{repo}/properties/values @@ -16964,7 +17024,7 @@ async def async_custom_properties_for_repos_get_repository_values( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueType]]: + ) -> Response[list[CustomPropertyValue], list[CustomPropertyValueTypeForResponse]]: """repos/custom-properties-for-repos-get-repository-values GET /repos/{owner}/{repo}/properties/values @@ -17155,7 +17215,7 @@ def get_readme( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme GET /repos/{owner}/{repo}/readme @@ -17201,7 +17261,7 @@ async def async_get_readme( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme GET /repos/{owner}/{repo}/readme @@ -17248,7 +17308,7 @@ def get_readme_in_directory( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme-in-directory GET /repos/{owner}/{repo}/readme/{dir} @@ -17295,7 +17355,7 @@ async def async_get_readme_in_directory( ref: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ContentFile, ContentFileType]: + ) -> Response[ContentFile, ContentFileTypeForResponse]: """repos/get-readme-in-directory GET /repos/{owner}/{repo}/readme/{dir} @@ -17342,7 +17402,7 @@ def list_releases( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Release], list[ReleaseType]]: + ) -> Response[list[Release], list[ReleaseTypeForResponse]]: """repos/list-releases GET /repos/{owner}/{repo}/releases @@ -17386,7 +17446,7 @@ async def async_list_releases( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Release], list[ReleaseType]]: + ) -> Response[list[Release], list[ReleaseTypeForResponse]]: """repos/list-releases GET /repos/{owner}/{repo}/releases @@ -17430,7 +17490,7 @@ def create_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesPostBodyType, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload def create_release( @@ -17450,7 +17510,7 @@ def create_release( discussion_category_name: Missing[str] = UNSET, generate_release_notes: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... def create_release( self, @@ -17461,7 +17521,7 @@ def create_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesPostBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/create-release POST /repos/{owner}/{repo}/releases @@ -17515,7 +17575,7 @@ async def async_create_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesPostBodyType, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload async def async_create_release( @@ -17535,7 +17595,7 @@ async def async_create_release( discussion_category_name: Missing[str] = UNSET, generate_release_notes: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... async def async_create_release( self, @@ -17546,7 +17606,7 @@ async def async_create_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesPostBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/create-release POST /repos/{owner}/{repo}/releases @@ -17599,7 +17659,7 @@ def get_release_asset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/get-release-asset GET /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -17640,7 +17700,7 @@ async def async_get_release_asset( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/get-release-asset GET /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -17737,7 +17797,7 @@ def update_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... @overload def update_release_asset( @@ -17752,7 +17812,7 @@ def update_release_asset( name: Missing[str] = UNSET, label: Missing[str] = UNSET, state: Missing[str] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... def update_release_asset( self, @@ -17764,7 +17824,7 @@ def update_release_asset( stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/update-release-asset PATCH /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -17810,7 +17870,7 @@ async def async_update_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... @overload async def async_update_release_asset( @@ -17825,7 +17885,7 @@ async def async_update_release_asset( name: Missing[str] = UNSET, label: Missing[str] = UNSET, state: Missing[str] = UNSET, - ) -> Response[ReleaseAsset, ReleaseAssetType]: ... + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: ... async def async_update_release_asset( self, @@ -17837,7 +17897,7 @@ async def async_update_release_asset( stream: bool = False, data: Missing[ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/update-release-asset PATCH /repos/{owner}/{repo}/releases/assets/{asset_id} @@ -17882,7 +17942,7 @@ def generate_release_notes( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesGenerateNotesPostBodyType, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... @overload def generate_release_notes( @@ -17897,7 +17957,7 @@ def generate_release_notes( target_commitish: Missing[str] = UNSET, previous_tag_name: Missing[str] = UNSET, configuration_file_path: Missing[str] = UNSET, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... def generate_release_notes( self, @@ -17908,7 +17968,7 @@ def generate_release_notes( stream: bool = False, data: Missing[ReposOwnerRepoReleasesGenerateNotesPostBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: """repos/generate-release-notes POST /repos/{owner}/{repo}/releases/generate-notes @@ -17960,7 +18020,7 @@ async def async_generate_release_notes( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoReleasesGenerateNotesPostBodyType, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... @overload async def async_generate_release_notes( @@ -17975,7 +18035,7 @@ async def async_generate_release_notes( target_commitish: Missing[str] = UNSET, previous_tag_name: Missing[str] = UNSET, configuration_file_path: Missing[str] = UNSET, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: ... + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: ... async def async_generate_release_notes( self, @@ -17986,7 +18046,7 @@ async def async_generate_release_notes( stream: bool = False, data: Missing[ReposOwnerRepoReleasesGenerateNotesPostBodyType] = UNSET, **kwargs, - ) -> Response[ReleaseNotesContent, ReleaseNotesContentType]: + ) -> Response[ReleaseNotesContent, ReleaseNotesContentTypeForResponse]: """repos/generate-release-notes POST /repos/{owner}/{repo}/releases/generate-notes @@ -18036,7 +18096,7 @@ def get_latest_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-latest-release GET /repos/{owner}/{repo}/releases/latest @@ -18069,7 +18129,7 @@ async def async_get_latest_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-latest-release GET /repos/{owner}/{repo}/releases/latest @@ -18103,7 +18163,7 @@ def get_release_by_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release-by-tag GET /repos/{owner}/{repo}/releases/tags/{tag} @@ -18138,7 +18198,7 @@ async def async_get_release_by_tag( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release-by-tag GET /repos/{owner}/{repo}/releases/tags/{tag} @@ -18173,7 +18233,7 @@ def get_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release GET /repos/{owner}/{repo}/releases/{release_id} @@ -18209,7 +18269,7 @@ async def async_get_release( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/get-release GET /repos/{owner}/{repo}/releases/{release_id} @@ -18305,7 +18365,7 @@ def update_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload def update_release( @@ -18325,7 +18385,7 @@ def update_release( prerelease: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, discussion_category_name: Missing[str] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... def update_release( self, @@ -18337,7 +18397,7 @@ def update_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/update-release PATCH /repos/{owner}/{repo}/releases/{release_id} @@ -18388,7 +18448,7 @@ async def async_update_release( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... @overload async def async_update_release( @@ -18408,7 +18468,7 @@ async def async_update_release( prerelease: Missing[bool] = UNSET, make_latest: Missing[Literal["true", "false", "legacy"]] = UNSET, discussion_category_name: Missing[str] = UNSET, - ) -> Response[Release, ReleaseType]: ... + ) -> Response[Release, ReleaseTypeForResponse]: ... async def async_update_release( self, @@ -18420,7 +18480,7 @@ async def async_update_release( stream: bool = False, data: Missing[ReposOwnerRepoReleasesReleaseIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[Release, ReleaseType]: + ) -> Response[Release, ReleaseTypeForResponse]: """repos/update-release PATCH /repos/{owner}/{repo}/releases/{release_id} @@ -18471,7 +18531,7 @@ def list_release_assets( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReleaseAsset], list[ReleaseAssetType]]: + ) -> Response[list[ReleaseAsset], list[ReleaseAssetTypeForResponse]]: """repos/list-release-assets GET /repos/{owner}/{repo}/releases/{release_id}/assets @@ -18509,7 +18569,7 @@ async def async_list_release_assets( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReleaseAsset], list[ReleaseAssetType]]: + ) -> Response[list[ReleaseAsset], list[ReleaseAssetTypeForResponse]]: """repos/list-release-assets GET /repos/{owner}/{repo}/releases/{release_id}/assets @@ -18548,7 +18608,7 @@ def upload_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: FileTypes, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/upload-release-asset POST /repos/{owner}/{repo}/releases/{release_id}/assets @@ -18615,7 +18675,7 @@ async def async_upload_release_asset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: FileTypes, - ) -> Response[ReleaseAsset, ReleaseAssetType]: + ) -> Response[ReleaseAsset, ReleaseAssetTypeForResponse]: """repos/upload-release-asset POST /repos/{owner}/{repo}/releases/{release_id}/assets @@ -18710,28 +18770,28 @@ def get_branch_rules( ], list[ Union[ - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, ] ], ]: @@ -18856,28 +18916,28 @@ async def async_get_branch_rules( ], list[ Union[ - RepositoryRuleDetailedOneof0Type, - RepositoryRuleDetailedOneof1Type, - RepositoryRuleDetailedOneof2Type, - RepositoryRuleDetailedOneof3Type, - RepositoryRuleDetailedOneof4Type, - RepositoryRuleDetailedOneof5Type, - RepositoryRuleDetailedOneof6Type, - RepositoryRuleDetailedOneof7Type, - RepositoryRuleDetailedOneof8Type, - RepositoryRuleDetailedOneof9Type, - RepositoryRuleDetailedOneof10Type, - RepositoryRuleDetailedOneof11Type, - RepositoryRuleDetailedOneof12Type, - RepositoryRuleDetailedOneof13Type, - RepositoryRuleDetailedOneof14Type, - RepositoryRuleDetailedOneof15Type, - RepositoryRuleDetailedOneof16Type, - RepositoryRuleDetailedOneof17Type, - RepositoryRuleDetailedOneof18Type, - RepositoryRuleDetailedOneof19Type, - RepositoryRuleDetailedOneof20Type, - RepositoryRuleDetailedOneof21Type, + RepositoryRuleDetailedOneof0TypeForResponse, + RepositoryRuleDetailedOneof1TypeForResponse, + RepositoryRuleDetailedOneof2TypeForResponse, + RepositoryRuleDetailedOneof3TypeForResponse, + RepositoryRuleDetailedOneof4TypeForResponse, + RepositoryRuleDetailedOneof5TypeForResponse, + RepositoryRuleDetailedOneof6TypeForResponse, + RepositoryRuleDetailedOneof7TypeForResponse, + RepositoryRuleDetailedOneof8TypeForResponse, + RepositoryRuleDetailedOneof9TypeForResponse, + RepositoryRuleDetailedOneof10TypeForResponse, + RepositoryRuleDetailedOneof11TypeForResponse, + RepositoryRuleDetailedOneof12TypeForResponse, + RepositoryRuleDetailedOneof13TypeForResponse, + RepositoryRuleDetailedOneof14TypeForResponse, + RepositoryRuleDetailedOneof15TypeForResponse, + RepositoryRuleDetailedOneof16TypeForResponse, + RepositoryRuleDetailedOneof17TypeForResponse, + RepositoryRuleDetailedOneof18TypeForResponse, + RepositoryRuleDetailedOneof19TypeForResponse, + RepositoryRuleDetailedOneof20TypeForResponse, + RepositoryRuleDetailedOneof21TypeForResponse, ] ], ]: @@ -18974,7 +19034,7 @@ def get_repo_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-repo-rulesets GET /repos/{owner}/{repo}/rulesets @@ -19021,7 +19081,7 @@ async def async_get_repo_rulesets( targets: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetType]]: + ) -> Response[list[RepositoryRuleset], list[RepositoryRulesetTypeForResponse]]: """repos/get-repo-rulesets GET /repos/{owner}/{repo}/rulesets @@ -19066,7 +19126,7 @@ def create_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def create_repo_ruleset( @@ -19110,7 +19170,7 @@ def create_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def create_repo_ruleset( self, @@ -19121,7 +19181,7 @@ def create_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-repo-ruleset POST /repos/{owner}/{repo}/rulesets @@ -19172,7 +19232,7 @@ async def async_create_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoRulesetsPostBodyType, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_create_repo_ruleset( @@ -19216,7 +19276,7 @@ async def async_create_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_create_repo_ruleset( self, @@ -19227,7 +19287,7 @@ async def async_create_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsPostBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/create-repo-ruleset POST /repos/{owner}/{repo}/rulesets @@ -19282,7 +19342,7 @@ def get_repo_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-repo-rule-suites GET /repos/{owner}/{repo}/rulesets/rule-suites @@ -19334,7 +19394,7 @@ async def async_get_repo_rule_suites( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsType]]: + ) -> Response[list[RuleSuitesItems], list[RuleSuitesItemsTypeForResponse]]: """repos/get-repo-rule-suites GET /repos/{owner}/{repo}/rulesets/rule-suites @@ -19381,7 +19441,7 @@ def get_repo_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-repo-rule-suite GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} @@ -19418,7 +19478,7 @@ async def async_get_repo_rule_suite( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RuleSuite, RuleSuiteType]: + ) -> Response[RuleSuite, RuleSuiteTypeForResponse]: """repos/get-repo-rule-suite GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} @@ -19456,7 +19516,7 @@ def get_repo_ruleset( includes_parents: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-repo-ruleset GET /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -19501,7 +19561,7 @@ async def async_get_repo_ruleset( includes_parents: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/get-repo-ruleset GET /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -19547,7 +19607,7 @@ def update_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload def update_repo_ruleset( @@ -19592,7 +19652,7 @@ def update_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... def update_repo_ruleset( self, @@ -19604,7 +19664,7 @@ def update_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-repo-ruleset PUT /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -19656,7 +19716,7 @@ async def async_update_repo_ruleset( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... @overload async def async_update_repo_ruleset( @@ -19701,7 +19761,7 @@ async def async_update_repo_ruleset( ] ] ] = UNSET, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: ... + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: ... async def async_update_repo_ruleset( self, @@ -19713,7 +19773,7 @@ async def async_update_repo_ruleset( stream: bool = False, data: Missing[ReposOwnerRepoRulesetsRulesetIdPutBodyType] = UNSET, **kwargs, - ) -> Response[RepositoryRuleset, RepositoryRulesetType]: + ) -> Response[RepositoryRuleset, RepositoryRulesetTypeForResponse]: """repos/update-repo-ruleset PUT /repos/{owner}/{repo}/rulesets/{ruleset_id} @@ -19835,7 +19895,7 @@ def get_repo_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """repos/get-repo-ruleset-history GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history @@ -19879,7 +19939,7 @@ async def async_get_repo_ruleset_history( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RulesetVersion], list[RulesetVersionType]]: + ) -> Response[list[RulesetVersion], list[RulesetVersionTypeForResponse]]: """repos/get-repo-ruleset-history GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history @@ -19922,7 +19982,7 @@ def get_repo_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """repos/get-repo-ruleset-version GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id} @@ -19959,7 +20019,7 @@ async def async_get_repo_ruleset_version( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RulesetVersionWithState, RulesetVersionWithStateType]: + ) -> Response[RulesetVersionWithState, RulesetVersionWithStateTypeForResponse]: """repos/get-repo-ruleset-version GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id} @@ -20060,7 +20120,7 @@ def get_commit_activity_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitActivity], list[CommitActivityType]]: + ) -> Response[list[CommitActivity], list[CommitActivityTypeForResponse]]: """repos/get-commit-activity-stats GET /repos/{owner}/{repo}/stats/commit_activity @@ -20091,7 +20151,7 @@ async def async_get_commit_activity_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[CommitActivity], list[CommitActivityType]]: + ) -> Response[list[CommitActivity], list[CommitActivityTypeForResponse]]: """repos/get-commit-activity-stats GET /repos/{owner}/{repo}/stats/commit_activity @@ -20122,7 +20182,7 @@ def get_contributors_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContributorActivity], list[ContributorActivityType]]: + ) -> Response[list[ContributorActivity], list[ContributorActivityTypeForResponse]]: """repos/get-contributors-stats GET /repos/{owner}/{repo}/stats/contributors @@ -20162,7 +20222,7 @@ async def async_get_contributors_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContributorActivity], list[ContributorActivityType]]: + ) -> Response[list[ContributorActivity], list[ContributorActivityTypeForResponse]]: """repos/get-contributors-stats GET /repos/{owner}/{repo}/stats/contributors @@ -20202,7 +20262,7 @@ def get_participation_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ParticipationStats, ParticipationStatsType]: + ) -> Response[ParticipationStats, ParticipationStatsTypeForResponse]: """repos/get-participation-stats GET /repos/{owner}/{repo}/stats/participation @@ -20240,7 +20300,7 @@ async def async_get_participation_stats( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ParticipationStats, ParticipationStatsType]: + ) -> Response[ParticipationStats, ParticipationStatsTypeForResponse]: """repos/get-participation-stats GET /repos/{owner}/{repo}/stats/participation @@ -20351,7 +20411,7 @@ def create_commit_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoStatusesShaPostBodyType, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... @overload def create_commit_status( @@ -20367,7 +20427,7 @@ def create_commit_status( target_url: Missing[Union[str, None]] = UNSET, description: Missing[Union[str, None]] = UNSET, context: Missing[str] = UNSET, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... def create_commit_status( self, @@ -20379,7 +20439,7 @@ def create_commit_status( stream: bool = False, data: Missing[ReposOwnerRepoStatusesShaPostBodyType] = UNSET, **kwargs, - ) -> Response[Status, StatusType]: + ) -> Response[Status, StatusTypeForResponse]: """repos/create-commit-status POST /repos/{owner}/{repo}/statuses/{sha} @@ -20425,7 +20485,7 @@ async def async_create_commit_status( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoStatusesShaPostBodyType, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... @overload async def async_create_commit_status( @@ -20441,7 +20501,7 @@ async def async_create_commit_status( target_url: Missing[Union[str, None]] = UNSET, description: Missing[Union[str, None]] = UNSET, context: Missing[str] = UNSET, - ) -> Response[Status, StatusType]: ... + ) -> Response[Status, StatusTypeForResponse]: ... async def async_create_commit_status( self, @@ -20453,7 +20513,7 @@ async def async_create_commit_status( stream: bool = False, data: Missing[ReposOwnerRepoStatusesShaPostBodyType] = UNSET, **kwargs, - ) -> Response[Status, StatusType]: + ) -> Response[Status, StatusTypeForResponse]: """repos/create-commit-status POST /repos/{owner}/{repo}/statuses/{sha} @@ -20498,7 +20558,7 @@ def list_tags( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Tag], list[TagType]]: + ) -> Response[list[Tag], list[TagTypeForResponse]]: """repos/list-tags GET /repos/{owner}/{repo}/tags @@ -20535,7 +20595,7 @@ async def async_list_tags( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Tag], list[TagType]]: + ) -> Response[list[Tag], list[TagTypeForResponse]]: """repos/list-tags GET /repos/{owner}/{repo}/tags @@ -20570,7 +20630,7 @@ def list_tag_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TagProtection], list[TagProtectionType]]: + ) -> Response[list[TagProtection], list[TagProtectionTypeForResponse]]: """DEPRECATED repos/list-tag-protection GET /repos/{owner}/{repo}/tags/protection @@ -20610,7 +20670,7 @@ async def async_list_tag_protection( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TagProtection], list[TagProtectionType]]: + ) -> Response[list[TagProtection], list[TagProtectionTypeForResponse]]: """DEPRECATED repos/list-tag-protection GET /repos/{owner}/{repo}/tags/protection @@ -20652,7 +20712,7 @@ def create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTagsProtectionPostBodyType, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... @overload def create_tag_protection( @@ -20664,7 +20724,7 @@ def create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, pattern: str, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... def create_tag_protection( self, @@ -20675,7 +20735,7 @@ def create_tag_protection( stream: bool = False, data: Missing[ReposOwnerRepoTagsProtectionPostBodyType] = UNSET, **kwargs, - ) -> Response[TagProtection, TagProtectionType]: + ) -> Response[TagProtection, TagProtectionTypeForResponse]: """DEPRECATED repos/create-tag-protection POST /repos/{owner}/{repo}/tags/protection @@ -20730,7 +20790,7 @@ async def async_create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTagsProtectionPostBodyType, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... @overload async def async_create_tag_protection( @@ -20742,7 +20802,7 @@ async def async_create_tag_protection( headers: Optional[Mapping[str, str]] = None, stream: bool = False, pattern: str, - ) -> Response[TagProtection, TagProtectionType]: ... + ) -> Response[TagProtection, TagProtectionTypeForResponse]: ... async def async_create_tag_protection( self, @@ -20753,7 +20813,7 @@ async def async_create_tag_protection( stream: bool = False, data: Missing[ReposOwnerRepoTagsProtectionPostBodyType] = UNSET, **kwargs, - ) -> Response[TagProtection, TagProtectionType]: + ) -> Response[TagProtection, TagProtectionTypeForResponse]: """DEPRECATED repos/create-tag-protection POST /repos/{owner}/{repo}/tags/protection @@ -20954,7 +21014,7 @@ def list_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/list-teams GET /repos/{owner}/{repo}/teams @@ -21000,7 +21060,7 @@ async def async_list_teams( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """repos/list-teams GET /repos/{owner}/{repo}/teams @@ -21046,7 +21106,7 @@ def get_all_topics( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/get-all-topics GET /repos/{owner}/{repo}/topics @@ -21086,7 +21146,7 @@ async def async_get_all_topics( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/get-all-topics GET /repos/{owner}/{repo}/topics @@ -21126,7 +21186,7 @@ def replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTopicsPutBodyType, - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... @overload def replace_all_topics( @@ -21138,7 +21198,7 @@ def replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, names: list[str], - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... def replace_all_topics( self, @@ -21149,7 +21209,7 @@ def replace_all_topics( stream: bool = False, data: Missing[ReposOwnerRepoTopicsPutBodyType] = UNSET, **kwargs, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/replace-all-topics PUT /repos/{owner}/{repo}/topics @@ -21199,7 +21259,7 @@ async def async_replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTopicsPutBodyType, - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... @overload async def async_replace_all_topics( @@ -21211,7 +21271,7 @@ async def async_replace_all_topics( headers: Optional[Mapping[str, str]] = None, stream: bool = False, names: list[str], - ) -> Response[Topic, TopicType]: ... + ) -> Response[Topic, TopicTypeForResponse]: ... async def async_replace_all_topics( self, @@ -21222,7 +21282,7 @@ async def async_replace_all_topics( stream: bool = False, data: Missing[ReposOwnerRepoTopicsPutBodyType] = UNSET, **kwargs, - ) -> Response[Topic, TopicType]: + ) -> Response[Topic, TopicTypeForResponse]: """repos/replace-all-topics PUT /repos/{owner}/{repo}/topics @@ -21271,7 +21331,7 @@ def get_clones( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CloneTraffic, CloneTrafficType]: + ) -> Response[CloneTraffic, CloneTrafficTypeForResponse]: """repos/get-clones GET /repos/{owner}/{repo}/traffic/clones @@ -21311,7 +21371,7 @@ async def async_get_clones( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[CloneTraffic, CloneTrafficType]: + ) -> Response[CloneTraffic, CloneTrafficTypeForResponse]: """repos/get-clones GET /repos/{owner}/{repo}/traffic/clones @@ -21350,7 +21410,7 @@ def get_top_paths( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContentTraffic], list[ContentTrafficType]]: + ) -> Response[list[ContentTraffic], list[ContentTrafficTypeForResponse]]: """repos/get-top-paths GET /repos/{owner}/{repo}/traffic/popular/paths @@ -21384,7 +21444,7 @@ async def async_get_top_paths( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ContentTraffic], list[ContentTrafficType]]: + ) -> Response[list[ContentTraffic], list[ContentTrafficTypeForResponse]]: """repos/get-top-paths GET /repos/{owner}/{repo}/traffic/popular/paths @@ -21418,7 +21478,7 @@ def get_top_referrers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficType]]: + ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficTypeForResponse]]: """repos/get-top-referrers GET /repos/{owner}/{repo}/traffic/popular/referrers @@ -21452,7 +21512,7 @@ async def async_get_top_referrers( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficType]]: + ) -> Response[list[ReferrerTraffic], list[ReferrerTrafficTypeForResponse]]: """repos/get-top-referrers GET /repos/{owner}/{repo}/traffic/popular/referrers @@ -21487,7 +21547,7 @@ def get_views( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ViewTraffic, ViewTrafficType]: + ) -> Response[ViewTraffic, ViewTrafficTypeForResponse]: """repos/get-views GET /repos/{owner}/{repo}/traffic/views @@ -21527,7 +21587,7 @@ async def async_get_views( per: Missing[Literal["day", "week"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[ViewTraffic, ViewTrafficType]: + ) -> Response[ViewTraffic, ViewTrafficTypeForResponse]: """repos/get-views GET /repos/{owner}/{repo}/traffic/views @@ -21568,7 +21628,7 @@ def transfer( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTransferPostBodyType, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... @overload def transfer( @@ -21582,7 +21642,7 @@ def transfer( new_owner: str, new_name: Missing[str] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... def transfer( self, @@ -21593,7 +21653,7 @@ def transfer( stream: bool = False, data: Missing[ReposOwnerRepoTransferPostBodyType] = UNSET, **kwargs, - ) -> Response[MinimalRepository, MinimalRepositoryType]: + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: """repos/transfer POST /repos/{owner}/{repo}/transfer @@ -21636,7 +21696,7 @@ async def async_transfer( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoTransferPostBodyType, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... @overload async def async_transfer( @@ -21650,7 +21710,7 @@ async def async_transfer( new_owner: str, new_name: Missing[str] = UNSET, team_ids: Missing[list[int]] = UNSET, - ) -> Response[MinimalRepository, MinimalRepositoryType]: ... + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: ... async def async_transfer( self, @@ -21661,7 +21721,7 @@ async def async_transfer( stream: bool = False, data: Missing[ReposOwnerRepoTransferPostBodyType] = UNSET, **kwargs, - ) -> Response[MinimalRepository, MinimalRepositoryType]: + ) -> Response[MinimalRepository, MinimalRepositoryTypeForResponse]: """repos/transfer POST /repos/{owner}/{repo}/transfer @@ -21946,7 +22006,7 @@ def create_using_template( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_using_template( @@ -21962,7 +22022,7 @@ def create_using_template( description: Missing[str] = UNSET, include_all_branches: Missing[bool] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_using_template( self, @@ -21973,7 +22033,7 @@ def create_using_template( stream: bool = False, data: Missing[ReposTemplateOwnerTemplateRepoGeneratePostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-using-template POST /repos/{template_owner}/{template_repo}/generate @@ -22023,7 +22083,7 @@ async def async_create_using_template( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposTemplateOwnerTemplateRepoGeneratePostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_using_template( @@ -22039,7 +22099,7 @@ async def async_create_using_template( description: Missing[str] = UNSET, include_all_branches: Missing[bool] = UNSET, private: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_using_template( self, @@ -22050,7 +22110,7 @@ async def async_create_using_template( stream: bool = False, data: Missing[ReposTemplateOwnerTemplateRepoGeneratePostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-using-template POST /repos/{template_owner}/{template_repo}/generate @@ -22097,7 +22157,7 @@ def list_public( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-public GET /repositories @@ -22139,7 +22199,7 @@ async def async_list_public( since: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-public GET /repositories @@ -22189,7 +22249,7 @@ def list_for_authenticated_user( before: Missing[datetime] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """repos/list-for-authenticated-user GET /user/repos @@ -22247,7 +22307,7 @@ async def async_list_for_authenticated_user( before: Missing[datetime] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Repository], list[RepositoryType]]: + ) -> Response[list[Repository], list[RepositoryTypeForResponse]]: """repos/list-for-authenticated-user GET /user/repos @@ -22298,7 +22358,7 @@ def create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload def create_for_authenticated_user( @@ -22334,7 +22394,7 @@ def create_for_authenticated_user( merge_commit_message: Missing[Literal["PR_BODY", "PR_TITLE", "BLANK"]] = UNSET, has_downloads: Missing[bool] = UNSET, is_template: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... def create_for_authenticated_user( self, @@ -22343,7 +22403,7 @@ def create_for_authenticated_user( stream: bool = False, data: Missing[UserReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-for-authenticated-user POST /user/repos @@ -22398,7 +22458,7 @@ async def async_create_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserReposPostBodyType, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... @overload async def async_create_for_authenticated_user( @@ -22434,7 +22494,7 @@ async def async_create_for_authenticated_user( merge_commit_message: Missing[Literal["PR_BODY", "PR_TITLE", "BLANK"]] = UNSET, has_downloads: Missing[bool] = UNSET, is_template: Missing[bool] = UNSET, - ) -> Response[FullRepository, FullRepositoryType]: ... + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: ... async def async_create_for_authenticated_user( self, @@ -22443,7 +22503,7 @@ async def async_create_for_authenticated_user( stream: bool = False, data: Missing[UserReposPostBodyType] = UNSET, **kwargs, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """repos/create-for-authenticated-user POST /user/repos @@ -22498,7 +22558,9 @@ def list_invitations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations-for-authenticated-user GET /user/repository_invitations @@ -22540,7 +22602,9 @@ async def async_list_invitations_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryInvitation], list[RepositoryInvitationType]]: + ) -> Response[ + list[RepositoryInvitation], list[RepositoryInvitationTypeForResponse] + ]: """repos/list-invitations-for-authenticated-user GET /user/repository_invitations @@ -22714,7 +22778,7 @@ def list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-user GET /users/{username}/repos @@ -22758,7 +22822,7 @@ async def async_list_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """repos/list-for-user GET /users/{username}/repos diff --git a/githubkit/versions/v2022_11_28/rest/search.py b/githubkit/versions/v2022_11_28/rest/search.py index f742e2f54..754dc64b6 100644 --- a/githubkit/versions/v2022_11_28/rest/search.py +++ b/githubkit/versions/v2022_11_28/rest/search.py @@ -34,13 +34,13 @@ SearchUsersGetResponse200, ) from ..types import ( - SearchCodeGetResponse200Type, - SearchCommitsGetResponse200Type, - SearchIssuesGetResponse200Type, - SearchLabelsGetResponse200Type, - SearchRepositoriesGetResponse200Type, - SearchTopicsGetResponse200Type, - SearchUsersGetResponse200Type, + SearchCodeGetResponse200TypeForResponse, + SearchCommitsGetResponse200TypeForResponse, + SearchIssuesGetResponse200TypeForResponse, + SearchLabelsGetResponse200TypeForResponse, + SearchRepositoriesGetResponse200TypeForResponse, + SearchTopicsGetResponse200TypeForResponse, + SearchUsersGetResponse200TypeForResponse, ) @@ -69,7 +69,7 @@ def code( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200Type]: + ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200TypeForResponse]: """search/code GET /search/code @@ -141,7 +141,7 @@ async def async_code( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200Type]: + ) -> Response[SearchCodeGetResponse200, SearchCodeGetResponse200TypeForResponse]: """search/code GET /search/code @@ -213,7 +213,9 @@ def commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCommitsGetResponse200, SearchCommitsGetResponse200Type]: + ) -> Response[ + SearchCommitsGetResponse200, SearchCommitsGetResponse200TypeForResponse + ]: """search/commits GET /search/commits @@ -263,7 +265,9 @@ async def async_commits( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchCommitsGetResponse200, SearchCommitsGetResponse200Type]: + ) -> Response[ + SearchCommitsGetResponse200, SearchCommitsGetResponse200TypeForResponse + ]: """search/commits GET /search/commits @@ -328,7 +332,9 @@ def issues_and_pull_requests( advanced_search: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchIssuesGetResponse200, SearchIssuesGetResponse200Type]: + ) -> Response[ + SearchIssuesGetResponse200, SearchIssuesGetResponse200TypeForResponse + ]: """search/issues-and-pull-requests GET /search/issues @@ -409,7 +415,9 @@ async def async_issues_and_pull_requests( advanced_search: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchIssuesGetResponse200, SearchIssuesGetResponse200Type]: + ) -> Response[ + SearchIssuesGetResponse200, SearchIssuesGetResponse200TypeForResponse + ]: """search/issues-and-pull-requests GET /search/issues @@ -476,7 +484,9 @@ def labels( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchLabelsGetResponse200, SearchLabelsGetResponse200Type]: + ) -> Response[ + SearchLabelsGetResponse200, SearchLabelsGetResponse200TypeForResponse + ]: """search/labels GET /search/labels @@ -534,7 +544,9 @@ async def async_labels( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchLabelsGetResponse200, SearchLabelsGetResponse200Type]: + ) -> Response[ + SearchLabelsGetResponse200, SearchLabelsGetResponse200TypeForResponse + ]: """search/labels GET /search/labels @@ -594,7 +606,8 @@ def repos( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SearchRepositoriesGetResponse200, SearchRepositoriesGetResponse200Type + SearchRepositoriesGetResponse200, + SearchRepositoriesGetResponse200TypeForResponse, ]: """search/repos @@ -657,7 +670,8 @@ async def async_repos( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SearchRepositoriesGetResponse200, SearchRepositoriesGetResponse200Type + SearchRepositoriesGetResponse200, + SearchRepositoriesGetResponse200TypeForResponse, ]: """search/repos @@ -715,7 +729,9 @@ def topics( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchTopicsGetResponse200, SearchTopicsGetResponse200Type]: + ) -> Response[ + SearchTopicsGetResponse200, SearchTopicsGetResponse200TypeForResponse + ]: r"""search/topics GET /search/topics @@ -762,7 +778,9 @@ async def async_topics( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchTopicsGetResponse200, SearchTopicsGetResponse200Type]: + ) -> Response[ + SearchTopicsGetResponse200, SearchTopicsGetResponse200TypeForResponse + ]: r"""search/topics GET /search/topics @@ -811,7 +829,7 @@ def users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200Type]: + ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200TypeForResponse]: """search/users GET /search/users @@ -872,7 +890,7 @@ async def async_users( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200Type]: + ) -> Response[SearchUsersGetResponse200, SearchUsersGetResponse200TypeForResponse]: """search/users GET /search/users diff --git a/githubkit/versions/v2022_11_28/rest/secret_scanning.py b/githubkit/versions/v2022_11_28/rest/secret_scanning.py index 0bbf1c707..7bfb23922 100644 --- a/githubkit/versions/v2022_11_28/rest/secret_scanning.py +++ b/githubkit/versions/v2022_11_28/rest/secret_scanning.py @@ -37,18 +37,18 @@ SecretScanningScanHistory, ) from ..types import ( - OrganizationSecretScanningAlertType, + OrganizationSecretScanningAlertTypeForResponse, OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, - SecretScanningAlertType, - SecretScanningLocationType, - SecretScanningPatternConfigurationType, - SecretScanningPushProtectionBypassType, - SecretScanningScanHistoryType, + SecretScanningAlertTypeForResponse, + SecretScanningLocationTypeForResponse, + SecretScanningPatternConfigurationTypeForResponse, + SecretScanningPushProtectionBypassTypeForResponse, + SecretScanningScanHistoryTypeForResponse, ) @@ -87,7 +87,8 @@ def list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-org @@ -161,7 +162,8 @@ async def async_list_alerts_for_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - list[OrganizationSecretScanningAlert], list[OrganizationSecretScanningAlertType] + list[OrganizationSecretScanningAlert], + list[OrganizationSecretScanningAlertTypeForResponse], ]: """secret-scanning/list-alerts-for-org @@ -222,7 +224,8 @@ def list_org_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-org-pattern-configs @@ -260,7 +263,8 @@ async def async_list_org_pattern_configs( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - SecretScanningPatternConfiguration, SecretScanningPatternConfigurationType + SecretScanningPatternConfiguration, + SecretScanningPatternConfigurationTypeForResponse, ]: """secret-scanning/list-org-pattern-configs @@ -301,7 +305,7 @@ def update_org_pattern_configs( data: OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -325,7 +329,7 @@ def update_org_pattern_configs( ] = UNSET, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... def update_org_pattern_configs( @@ -338,7 +342,7 @@ def update_org_pattern_configs( **kwargs, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-org-pattern-configs @@ -399,7 +403,7 @@ async def async_update_org_pattern_configs( data: OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... @overload @@ -423,7 +427,7 @@ async def async_update_org_pattern_configs( ] = UNSET, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: ... async def async_update_org_pattern_configs( @@ -436,7 +440,7 @@ async def async_update_org_pattern_configs( **kwargs, ) -> Response[ OrgsOrgSecretScanningPatternConfigurationsPatchResponse200, - OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, ]: """secret-scanning/update-org-pattern-configs @@ -507,7 +511,7 @@ def list_alerts_for_repo( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertType]]: + ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertTypeForResponse]]: """secret-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/secret-scanning/alerts @@ -575,7 +579,7 @@ async def async_list_alerts_for_repo( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertType]]: + ) -> Response[list[SecretScanningAlert], list[SecretScanningAlertTypeForResponse]]: """secret-scanning/list-alerts-for-repo GET /repos/{owner}/{repo}/secret-scanning/alerts @@ -632,7 +636,7 @@ def get_alert( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/get-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -677,7 +681,7 @@ async def async_get_alert( hide_secret: Missing[bool] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/get-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -723,7 +727,7 @@ def update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... @overload def update_alert( @@ -742,7 +746,7 @@ def update_alert( ] ] = UNSET, resolution_comment: Missing[Union[str, None]] = UNSET, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... def update_alert( self, @@ -756,7 +760,7 @@ def update_alert( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type ] = UNSET, **kwargs, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/update-alert PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -813,7 +817,7 @@ async def async_update_alert( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... @overload async def async_update_alert( @@ -832,7 +836,7 @@ async def async_update_alert( ] ] = UNSET, resolution_comment: Missing[Union[str, None]] = UNSET, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: ... + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: ... async def async_update_alert( self, @@ -846,7 +850,7 @@ async def async_update_alert( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type ] = UNSET, **kwargs, - ) -> Response[SecretScanningAlert, SecretScanningAlertType]: + ) -> Response[SecretScanningAlert, SecretScanningAlertTypeForResponse]: """secret-scanning/update-alert PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} @@ -903,7 +907,9 @@ def list_locations_for_alert( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningLocation], list[SecretScanningLocationType]]: + ) -> Response[ + list[SecretScanningLocation], list[SecretScanningLocationTypeForResponse] + ]: """secret-scanning/list-locations-for-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations @@ -950,7 +956,9 @@ async def async_list_locations_for_alert( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SecretScanningLocation], list[SecretScanningLocationType]]: + ) -> Response[ + list[SecretScanningLocation], list[SecretScanningLocationTypeForResponse] + ]: """secret-scanning/list-locations-for-alert GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations @@ -997,7 +1005,8 @@ def create_push_protection_bypass( stream: bool = False, data: ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... @overload @@ -1012,7 +1021,8 @@ def create_push_protection_bypass( reason: Literal["false_positive", "used_in_tests", "will_fix_later"], placeholder_id: str, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... def create_push_protection_bypass( @@ -1027,7 +1037,8 @@ def create_push_protection_bypass( ] = UNSET, **kwargs, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: """secret-scanning/create-push-protection-bypass @@ -1085,7 +1096,8 @@ async def async_create_push_protection_bypass( stream: bool = False, data: ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... @overload @@ -1100,7 +1112,8 @@ async def async_create_push_protection_bypass( reason: Literal["false_positive", "used_in_tests", "will_fix_later"], placeholder_id: str, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: ... async def async_create_push_protection_bypass( @@ -1115,7 +1128,8 @@ async def async_create_push_protection_bypass( ] = UNSET, **kwargs, ) -> Response[ - SecretScanningPushProtectionBypass, SecretScanningPushProtectionBypassType + SecretScanningPushProtectionBypass, + SecretScanningPushProtectionBypassTypeForResponse, ]: """secret-scanning/create-push-protection-bypass @@ -1170,7 +1184,7 @@ def get_scan_history( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryType]: + ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryTypeForResponse]: """secret-scanning/get-scan-history GET /repos/{owner}/{repo}/secret-scanning/scan-history @@ -1209,7 +1223,7 @@ async def async_get_scan_history( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryType]: + ) -> Response[SecretScanningScanHistory, SecretScanningScanHistoryTypeForResponse]: """secret-scanning/get-scan-history GET /repos/{owner}/{repo}/secret-scanning/scan-history diff --git a/githubkit/versions/v2022_11_28/rest/security_advisories.py b/githubkit/versions/v2022_11_28/rest/security_advisories.py index 176b08b62..7b1660220 100644 --- a/githubkit/versions/v2022_11_28/rest/security_advisories.py +++ b/githubkit/versions/v2022_11_28/rest/security_advisories.py @@ -34,15 +34,15 @@ RepositoryAdvisory, ) from ..types import ( - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, - FullRepositoryType, - GlobalAdvisoryType, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + FullRepositoryTypeForResponse, + GlobalAdvisoryTypeForResponse, PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType, PrivateVulnerabilityReportCreateType, RepositoryAdvisoryCreatePropCreditsItemsType, RepositoryAdvisoryCreatePropVulnerabilitiesItemsType, RepositoryAdvisoryCreateType, - RepositoryAdvisoryType, + RepositoryAdvisoryTypeForResponse, RepositoryAdvisoryUpdatePropCreditsItemsType, RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType, RepositoryAdvisoryUpdateType, @@ -107,7 +107,7 @@ def list_global_advisories( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryType]]: + ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryTypeForResponse]]: """security-advisories/list-global-advisories GET /advisories @@ -202,7 +202,7 @@ async def async_list_global_advisories( ] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryType]]: + ) -> Response[list[GlobalAdvisory], list[GlobalAdvisoryTypeForResponse]]: """security-advisories/list-global-advisories GET /advisories @@ -260,7 +260,7 @@ def get_global_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GlobalAdvisory, GlobalAdvisoryType]: + ) -> Response[GlobalAdvisory, GlobalAdvisoryTypeForResponse]: """security-advisories/get-global-advisory GET /advisories/{ghsa_id} @@ -293,7 +293,7 @@ async def async_get_global_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GlobalAdvisory, GlobalAdvisoryType]: + ) -> Response[GlobalAdvisory, GlobalAdvisoryTypeForResponse]: """security-advisories/get-global-advisory GET /advisories/{ghsa_id} @@ -332,7 +332,7 @@ def list_org_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-org-repository-advisories GET /orgs/{org}/security-advisories @@ -386,7 +386,7 @@ async def async_list_org_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-org-repository-advisories GET /orgs/{org}/security-advisories @@ -441,7 +441,7 @@ def list_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-repository-advisories GET /repos/{owner}/{repo}/security-advisories @@ -496,7 +496,7 @@ async def async_list_repository_advisories( state: Missing[Literal["triage", "draft", "published", "closed"]] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryType]]: + ) -> Response[list[RepositoryAdvisory], list[RepositoryAdvisoryTypeForResponse]]: """security-advisories/list-repository-advisories GET /repos/{owner}/{repo}/security-advisories @@ -547,7 +547,7 @@ def create_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def create_repository_advisory( @@ -571,7 +571,7 @@ def create_repository_advisory( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def create_repository_advisory( self, @@ -582,7 +582,7 @@ def create_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-repository-advisory POST /repos/{owner}/{repo}/security-advisories @@ -639,7 +639,7 @@ async def async_create_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_create_repository_advisory( @@ -663,7 +663,7 @@ async def async_create_repository_advisory( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_create_repository_advisory( self, @@ -674,7 +674,7 @@ async def async_create_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-repository-advisory POST /repos/{owner}/{repo}/security-advisories @@ -731,7 +731,7 @@ def create_private_vulnerability_report( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PrivateVulnerabilityReportCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def create_private_vulnerability_report( @@ -755,7 +755,7 @@ def create_private_vulnerability_report( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def create_private_vulnerability_report( self, @@ -766,7 +766,7 @@ def create_private_vulnerability_report( stream: bool = False, data: Missing[PrivateVulnerabilityReportCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-private-vulnerability-report POST /repos/{owner}/{repo}/security-advisories/reports @@ -820,7 +820,7 @@ async def async_create_private_vulnerability_report( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: PrivateVulnerabilityReportCreateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_create_private_vulnerability_report( @@ -844,7 +844,7 @@ async def async_create_private_vulnerability_report( ] = UNSET, cvss_vector_string: Missing[Union[str, None]] = UNSET, start_private_fork: Missing[bool] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_create_private_vulnerability_report( self, @@ -855,7 +855,7 @@ async def async_create_private_vulnerability_report( stream: bool = False, data: Missing[PrivateVulnerabilityReportCreateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/create-private-vulnerability-report POST /repos/{owner}/{repo}/security-advisories/reports @@ -908,7 +908,7 @@ def get_repository_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/get-repository-advisory GET /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -951,7 +951,7 @@ async def async_get_repository_advisory( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/get-repository-advisory GET /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -996,7 +996,7 @@ def update_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryUpdateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload def update_repository_advisory( @@ -1025,7 +1025,7 @@ def update_repository_advisory( state: Missing[Literal["published", "closed", "draft"]] = UNSET, collaborating_users: Missing[Union[list[str], None]] = UNSET, collaborating_teams: Missing[Union[list[str], None]] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... def update_repository_advisory( self, @@ -1037,7 +1037,7 @@ def update_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryUpdateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/update-repository-advisory PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -1096,7 +1096,7 @@ async def async_update_repository_advisory( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: RepositoryAdvisoryUpdateType, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... @overload async def async_update_repository_advisory( @@ -1125,7 +1125,7 @@ async def async_update_repository_advisory( state: Missing[Literal["published", "closed", "draft"]] = UNSET, collaborating_users: Missing[Union[list[str], None]] = UNSET, collaborating_teams: Missing[Union[list[str], None]] = UNSET, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: ... + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: ... async def async_update_repository_advisory( self, @@ -1137,7 +1137,7 @@ async def async_update_repository_advisory( stream: bool = False, data: Missing[RepositoryAdvisoryUpdateType] = UNSET, **kwargs, - ) -> Response[RepositoryAdvisory, RepositoryAdvisoryType]: + ) -> Response[RepositoryAdvisory, RepositoryAdvisoryTypeForResponse]: """security-advisories/update-repository-advisory PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id} @@ -1196,7 +1196,7 @@ def create_repository_advisory_cve_request( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """security-advisories/create-repository-advisory-cve-request @@ -1247,7 +1247,7 @@ async def async_create_repository_advisory_cve_request( stream: bool = False, ) -> Response[ AppHookDeliveriesDeliveryIdAttemptsPostResponse202, - AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, ]: """security-advisories/create-repository-advisory-cve-request @@ -1296,7 +1296,7 @@ def create_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """security-advisories/create-fork POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks @@ -1337,7 +1337,7 @@ async def async_create_fork( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[FullRepository, FullRepositoryType]: + ) -> Response[FullRepository, FullRepositoryTypeForResponse]: """security-advisories/create-fork POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks diff --git a/githubkit/versions/v2022_11_28/rest/teams.py b/githubkit/versions/v2022_11_28/rest/teams.py index 401697ea7..d3b433e7a 100644 --- a/githubkit/versions/v2022_11_28/rest/teams.py +++ b/githubkit/versions/v2022_11_28/rest/teams.py @@ -40,8 +40,8 @@ TeamRepository, ) from ..types import ( - MinimalRepositoryType, - OrganizationInvitationType, + MinimalRepositoryTypeForResponse, + OrganizationInvitationTypeForResponse, OrgsOrgTeamsPostBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, @@ -51,13 +51,13 @@ OrgsOrgTeamsTeamSlugPatchBodyType, OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType, OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType, - SimpleUserType, - TeamDiscussionCommentType, - TeamDiscussionType, - TeamFullType, - TeamMembershipType, - TeamProjectType, - TeamRepositoryType, + SimpleUserTypeForResponse, + TeamDiscussionCommentTypeForResponse, + TeamDiscussionTypeForResponse, + TeamFullTypeForResponse, + TeamMembershipTypeForResponse, + TeamProjectTypeForResponse, + TeamRepositoryTypeForResponse, TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType, @@ -66,7 +66,7 @@ TeamsTeamIdPatchBodyType, TeamsTeamIdProjectsProjectIdPutBodyType, TeamsTeamIdReposOwnerRepoPutBodyType, - TeamType, + TeamTypeForResponse, ) @@ -93,7 +93,7 @@ def list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list GET /orgs/{org}/teams @@ -134,7 +134,7 @@ async def async_list( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list GET /orgs/{org}/teams @@ -175,7 +175,7 @@ def create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsPostBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def create( @@ -195,7 +195,7 @@ def create( ] = UNSET, permission: Missing[Literal["pull", "push"]] = UNSET, parent_team_id: Missing[int] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def create( self, @@ -205,7 +205,7 @@ def create( stream: bool = False, data: Missing[OrgsOrgTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/create POST /orgs/{org}/teams @@ -253,7 +253,7 @@ async def async_create( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsPostBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_create( @@ -273,7 +273,7 @@ async def async_create( ] = UNSET, permission: Missing[Literal["pull", "push"]] = UNSET, parent_team_id: Missing[int] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_create( self, @@ -283,7 +283,7 @@ async def async_create( stream: bool = False, data: Missing[OrgsOrgTeamsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/create POST /orgs/{org}/teams @@ -330,7 +330,7 @@ def get_by_name( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/get-by-name GET /orgs/{org}/teams/{team_slug} @@ -367,7 +367,7 @@ async def async_get_by_name( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/get-by-name GET /orgs/{org}/teams/{team_slug} @@ -472,7 +472,7 @@ def update_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def update_in_org( @@ -491,7 +491,7 @@ def update_in_org( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def update_in_org( self, @@ -502,7 +502,7 @@ def update_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/update-in-org PATCH /orgs/{org}/teams/{team_slug} @@ -558,7 +558,7 @@ async def async_update_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_update_in_org( @@ -577,7 +577,7 @@ async def async_update_in_org( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_update_in_org( self, @@ -588,7 +588,7 @@ async def async_update_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """teams/update-in-org PATCH /orgs/{org}/teams/{team_slug} @@ -646,7 +646,7 @@ def list_discussions_in_org( pinned: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """teams/list-discussions-in-org GET /orgs/{org}/teams/{team_slug}/discussions @@ -694,7 +694,7 @@ async def async_list_discussions_in_org( pinned: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """teams/list-discussions-in-org GET /orgs/{org}/teams/{team_slug}/discussions @@ -740,7 +740,7 @@ def create_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def create_discussion_in_org( @@ -754,7 +754,7 @@ def create_discussion_in_org( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def create_discussion_in_org( self, @@ -765,7 +765,7 @@ def create_discussion_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/create-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions @@ -815,7 +815,7 @@ async def async_create_discussion_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_create_discussion_in_org( @@ -829,7 +829,7 @@ async def async_create_discussion_in_org( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_create_discussion_in_org( self, @@ -840,7 +840,7 @@ async def async_create_discussion_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/create-discussion-in-org POST /orgs/{org}/teams/{team_slug}/discussions @@ -889,7 +889,7 @@ def get_discussion_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/get-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -926,7 +926,7 @@ async def async_get_discussion_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/get-discussion-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1035,7 +1035,7 @@ def update_discussion_in_org( data: Missing[ OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def update_discussion_in_org( @@ -1049,7 +1049,7 @@ def update_discussion_in_org( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def update_discussion_in_org( self, @@ -1063,7 +1063,7 @@ def update_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/update-discussion-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1119,7 +1119,7 @@ async def async_update_discussion_in_org( data: Missing[ OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_update_discussion_in_org( @@ -1133,7 +1133,7 @@ async def async_update_discussion_in_org( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_update_discussion_in_org( self, @@ -1147,7 +1147,7 @@ async def async_update_discussion_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """teams/update-discussion-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} @@ -1202,7 +1202,9 @@ def list_discussion_comments_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """teams/list-discussion-comments-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1249,7 +1251,9 @@ async def async_list_discussion_comments_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """teams/list-discussion-comments-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1295,7 +1299,7 @@ def create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def create_discussion_comment_in_org( @@ -1308,7 +1312,7 @@ def create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def create_discussion_comment_in_org( self, @@ -1322,7 +1326,7 @@ def create_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/create-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1378,7 +1382,7 @@ async def async_create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_create_discussion_comment_in_org( @@ -1391,7 +1395,7 @@ async def async_create_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_create_discussion_comment_in_org( self, @@ -1405,7 +1409,7 @@ async def async_create_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/create-discussion-comment-in-org POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments @@ -1460,7 +1464,7 @@ def get_discussion_comment_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/get-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1498,7 +1502,7 @@ async def async_get_discussion_comment_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/get-discussion-comment-in-org GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1608,7 +1612,7 @@ def update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def update_discussion_comment_in_org( @@ -1622,7 +1626,7 @@ def update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def update_discussion_comment_in_org( self, @@ -1637,7 +1641,7 @@ def update_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/update-discussion-comment-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1693,7 +1697,7 @@ async def async_update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_update_discussion_comment_in_org( @@ -1707,7 +1711,7 @@ async def async_update_discussion_comment_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_update_discussion_comment_in_org( self, @@ -1722,7 +1726,7 @@ async def async_update_discussion_comment_in_org( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """teams/update-discussion-comment-in-org PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} @@ -1776,7 +1780,9 @@ def list_pending_invitations_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """teams/list-pending-invitations-in-org GET /orgs/{org}/teams/{team_slug}/invitations @@ -1818,7 +1824,9 @@ async def async_list_pending_invitations_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """teams/list-pending-invitations-in-org GET /orgs/{org}/teams/{team_slug}/invitations @@ -1861,7 +1869,7 @@ def list_members_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """teams/list-members-in-org GET /orgs/{org}/teams/{team_slug}/members @@ -1904,7 +1912,7 @@ async def async_list_members_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """teams/list-members-in-org GET /orgs/{org}/teams/{team_slug}/members @@ -1945,7 +1953,7 @@ def get_membership_for_user_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/get-membership-for-user-in-org GET /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -1988,7 +1996,7 @@ async def async_get_membership_for_user_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/get-membership-for-user-in-org GET /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2033,7 +2041,7 @@ def add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload def add_or_update_membership_for_user_in_org( @@ -2046,7 +2054,7 @@ def add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... def add_or_update_membership_for_user_in_org( self, @@ -2058,7 +2066,7 @@ def add_or_update_membership_for_user_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/add-or-update-membership-for-user-in-org PUT /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2120,7 +2128,7 @@ async def async_add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload async def async_add_or_update_membership_for_user_in_org( @@ -2133,7 +2141,7 @@ async def async_add_or_update_membership_for_user_in_org( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... async def async_add_or_update_membership_for_user_in_org( self, @@ -2145,7 +2153,7 @@ async def async_add_or_update_membership_for_user_in_org( stream: bool = False, data: Missing[OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """teams/add-or-update-membership-for-user-in-org PUT /orgs/{org}/teams/{team_slug}/memberships/{username} @@ -2282,7 +2290,7 @@ def list_projects_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-in-org GET /orgs/{org}/teams/{team_slug}/projects @@ -2323,7 +2331,7 @@ async def async_list_projects_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-in-org GET /orgs/{org}/teams/{team_slug}/projects @@ -2363,7 +2371,7 @@ def check_permissions_for_project_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-in-org GET /orgs/{org}/teams/{team_slug}/projects/{project_id} @@ -2398,7 +2406,7 @@ async def async_check_permissions_for_project_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-in-org GET /orgs/{org}/teams/{team_slug}/projects/{project_id} @@ -2664,7 +2672,7 @@ def list_repos_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """teams/list-repos-in-org GET /orgs/{org}/teams/{team_slug}/repos @@ -2706,7 +2714,7 @@ async def async_list_repos_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """teams/list-repos-in-org GET /orgs/{org}/teams/{team_slug}/repos @@ -2748,7 +2756,7 @@ def check_permissions_for_repo_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """teams/check-permissions-for-repo-in-org GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} @@ -2791,7 +2799,7 @@ async def async_check_permissions_for_repo_in_org( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """teams/check-permissions-for-repo-in-org GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} @@ -3052,7 +3060,7 @@ def list_child_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list-child-in-org GET /orgs/{org}/teams/{team_slug}/teams @@ -3094,7 +3102,7 @@ async def async_list_child_in_org( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """teams/list-child-in-org GET /orgs/{org}/teams/{team_slug}/teams @@ -3133,7 +3141,7 @@ def get_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/get-legacy GET /teams/{team_id} @@ -3167,7 +3175,7 @@ async def async_get_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/get-legacy GET /teams/{team_id} @@ -3279,7 +3287,7 @@ def update_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdPatchBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload def update_legacy( @@ -3297,7 +3305,7 @@ def update_legacy( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... def update_legacy( self, @@ -3307,7 +3315,7 @@ def update_legacy( stream: bool = False, data: Missing[TeamsTeamIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/update-legacy PATCH /teams/{team_id} @@ -3360,7 +3368,7 @@ async def async_update_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdPatchBodyType, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... @overload async def async_update_legacy( @@ -3378,7 +3386,7 @@ async def async_update_legacy( ] = UNSET, permission: Missing[Literal["pull", "push", "admin"]] = UNSET, parent_team_id: Missing[Union[int, None]] = UNSET, - ) -> Response[TeamFull, TeamFullType]: ... + ) -> Response[TeamFull, TeamFullTypeForResponse]: ... async def async_update_legacy( self, @@ -3388,7 +3396,7 @@ async def async_update_legacy( stream: bool = False, data: Missing[TeamsTeamIdPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamFull, TeamFullType]: + ) -> Response[TeamFull, TeamFullTypeForResponse]: """DEPRECATED teams/update-legacy PATCH /teams/{team_id} @@ -3442,7 +3450,7 @@ def list_discussions_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """DEPRECATED teams/list-discussions-legacy GET /teams/{team_id}/discussions @@ -3487,7 +3495,7 @@ async def async_list_discussions_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussion], list[TeamDiscussionType]]: + ) -> Response[list[TeamDiscussion], list[TeamDiscussionTypeForResponse]]: """DEPRECATED teams/list-discussions-legacy GET /teams/{team_id}/discussions @@ -3531,7 +3539,7 @@ def create_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def create_discussion_legacy( @@ -3544,7 +3552,7 @@ def create_discussion_legacy( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def create_discussion_legacy( self, @@ -3554,7 +3562,7 @@ def create_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/create-discussion-legacy POST /teams/{team_id}/discussions @@ -3603,7 +3611,7 @@ async def async_create_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsPostBodyType, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_create_discussion_legacy( @@ -3616,7 +3624,7 @@ async def async_create_discussion_legacy( title: str, body: str, private: Missing[bool] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_create_discussion_legacy( self, @@ -3626,7 +3634,7 @@ async def async_create_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsPostBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/create-discussion-legacy POST /teams/{team_id}/discussions @@ -3674,7 +3682,7 @@ def get_discussion_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/get-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number} @@ -3710,7 +3718,7 @@ async def async_get_discussion_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/get-discussion-legacy GET /teams/{team_id}/discussions/{discussion_number} @@ -3814,7 +3822,7 @@ def update_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload def update_discussion_legacy( @@ -3827,7 +3835,7 @@ def update_discussion_legacy( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... def update_discussion_legacy( self, @@ -3838,7 +3846,7 @@ def update_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/update-discussion-legacy PATCH /teams/{team_id}/discussions/{discussion_number} @@ -3891,7 +3899,7 @@ async def async_update_discussion_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... @overload async def async_update_discussion_legacy( @@ -3904,7 +3912,7 @@ async def async_update_discussion_legacy( stream: bool = False, title: Missing[str] = UNSET, body: Missing[str] = UNSET, - ) -> Response[TeamDiscussion, TeamDiscussionType]: ... + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: ... async def async_update_discussion_legacy( self, @@ -3915,7 +3923,7 @@ async def async_update_discussion_legacy( stream: bool = False, data: Missing[TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType] = UNSET, **kwargs, - ) -> Response[TeamDiscussion, TeamDiscussionType]: + ) -> Response[TeamDiscussion, TeamDiscussionTypeForResponse]: """DEPRECATED teams/update-discussion-legacy PATCH /teams/{team_id}/discussions/{discussion_number} @@ -3969,7 +3977,9 @@ def list_discussion_comments_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """DEPRECATED teams/list-discussion-comments-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments @@ -4015,7 +4025,9 @@ async def async_list_discussion_comments_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamDiscussionComment], list[TeamDiscussionCommentType]]: + ) -> Response[ + list[TeamDiscussionComment], list[TeamDiscussionCommentTypeForResponse] + ]: """DEPRECATED teams/list-discussion-comments-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments @@ -4060,7 +4072,7 @@ def create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def create_discussion_comment_legacy( @@ -4072,7 +4084,7 @@ def create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def create_discussion_comment_legacy( self, @@ -4085,7 +4097,7 @@ def create_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/create-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments @@ -4140,7 +4152,7 @@ async def async_create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_create_discussion_comment_legacy( @@ -4152,7 +4164,7 @@ async def async_create_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_create_discussion_comment_legacy( self, @@ -4165,7 +4177,7 @@ async def async_create_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/create-discussion-comment-legacy POST /teams/{team_id}/discussions/{discussion_number}/comments @@ -4219,7 +4231,7 @@ def get_discussion_comment_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/get-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -4256,7 +4268,7 @@ async def async_get_discussion_comment_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/get-discussion-comment-legacy GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -4363,7 +4375,7 @@ def update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload def update_discussion_comment_legacy( @@ -4376,7 +4388,7 @@ def update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... def update_discussion_comment_legacy( self, @@ -4390,7 +4402,7 @@ def update_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/update-discussion-comment-legacy PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -4445,7 +4457,7 @@ async def async_update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... @overload async def async_update_discussion_comment_legacy( @@ -4458,7 +4470,7 @@ async def async_update_discussion_comment_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, body: str, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: ... + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: ... async def async_update_discussion_comment_legacy( self, @@ -4472,7 +4484,7 @@ async def async_update_discussion_comment_legacy( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType ] = UNSET, **kwargs, - ) -> Response[TeamDiscussionComment, TeamDiscussionCommentType]: + ) -> Response[TeamDiscussionComment, TeamDiscussionCommentTypeForResponse]: """DEPRECATED teams/update-discussion-comment-legacy PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} @@ -4525,7 +4537,9 @@ def list_pending_invitations_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """DEPRECATED teams/list-pending-invitations-legacy GET /teams/{team_id}/invitations @@ -4566,7 +4580,9 @@ async def async_list_pending_invitations_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[OrganizationInvitation], list[OrganizationInvitationType]]: + ) -> Response[ + list[OrganizationInvitation], list[OrganizationInvitationTypeForResponse] + ]: """DEPRECATED teams/list-pending-invitations-legacy GET /teams/{team_id}/invitations @@ -4608,7 +4624,7 @@ def list_members_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED teams/list-members-legacy GET /teams/{team_id}/members @@ -4654,7 +4670,7 @@ async def async_list_members_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """DEPRECATED teams/list-members-legacy GET /teams/{team_id}/members @@ -4928,7 +4944,7 @@ def get_membership_for_user_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/get-membership-for-user-legacy GET /teams/{team_id}/memberships/{username} @@ -4972,7 +4988,7 @@ async def async_get_membership_for_user_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/get-membership-for-user-legacy GET /teams/{team_id}/memberships/{username} @@ -5018,7 +5034,7 @@ def add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload def add_or_update_membership_for_user_legacy( @@ -5030,7 +5046,7 @@ def add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... def add_or_update_membership_for_user_legacy( self, @@ -5041,7 +5057,7 @@ def add_or_update_membership_for_user_legacy( stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/add-or-update-membership-for-user-legacy PUT /teams/{team_id}/memberships/{username} @@ -5103,7 +5119,7 @@ async def async_add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... @overload async def async_add_or_update_membership_for_user_legacy( @@ -5115,7 +5131,7 @@ async def async_add_or_update_membership_for_user_legacy( headers: Optional[Mapping[str, str]] = None, stream: bool = False, role: Missing[Literal["member", "maintainer"]] = UNSET, - ) -> Response[TeamMembership, TeamMembershipType]: ... + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: ... async def async_add_or_update_membership_for_user_legacy( self, @@ -5126,7 +5142,7 @@ async def async_add_or_update_membership_for_user_legacy( stream: bool = False, data: Missing[TeamsTeamIdMembershipsUsernamePutBodyType] = UNSET, **kwargs, - ) -> Response[TeamMembership, TeamMembershipType]: + ) -> Response[TeamMembership, TeamMembershipTypeForResponse]: """DEPRECATED teams/add-or-update-membership-for-user-legacy PUT /teams/{team_id}/memberships/{username} @@ -5261,7 +5277,7 @@ def list_projects_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-legacy GET /teams/{team_id}/projects @@ -5304,7 +5320,7 @@ async def async_list_projects_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamProject], list[TeamProjectType]]: + ) -> Response[list[TeamProject], list[TeamProjectTypeForResponse]]: """DEPRECATED teams/list-projects-legacy GET /teams/{team_id}/projects @@ -5346,7 +5362,7 @@ def check_permissions_for_project_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-legacy GET /teams/{team_id}/projects/{project_id} @@ -5380,7 +5396,7 @@ async def async_check_permissions_for_project_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamProject, TeamProjectType]: + ) -> Response[TeamProject, TeamProjectTypeForResponse]: """DEPRECATED teams/check-permissions-for-project-legacy GET /teams/{team_id}/projects/{project_id} @@ -5641,7 +5657,7 @@ def list_repos_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """DEPRECATED teams/list-repos-legacy GET /teams/{team_id}/repos @@ -5683,7 +5699,7 @@ async def async_list_repos_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[MinimalRepository], list[MinimalRepositoryType]]: + ) -> Response[list[MinimalRepository], list[MinimalRepositoryTypeForResponse]]: """DEPRECATED teams/list-repos-legacy GET /teams/{team_id}/repos @@ -5725,7 +5741,7 @@ def check_permissions_for_repo_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """DEPRECATED teams/check-permissions-for-repo-legacy GET /teams/{team_id}/repos/{owner}/{repo} @@ -5764,7 +5780,7 @@ async def async_check_permissions_for_repo_legacy( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[TeamRepository, TeamRepositoryType]: + ) -> Response[TeamRepository, TeamRepositoryTypeForResponse]: """DEPRECATED teams/check-permissions-for-repo-legacy GET /teams/{team_id}/repos/{owner}/{repo} @@ -6029,7 +6045,7 @@ def list_child_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """DEPRECATED teams/list-child-legacy GET /teams/{team_id}/teams @@ -6073,7 +6089,7 @@ async def async_list_child_legacy( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Team], list[TeamType]]: + ) -> Response[list[Team], list[TeamTypeForResponse]]: """DEPRECATED teams/list-child-legacy GET /teams/{team_id}/teams @@ -6116,7 +6132,7 @@ def list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamFull], list[TeamFullType]]: + ) -> Response[list[TeamFull], list[TeamFullTypeForResponse]]: """teams/list-for-authenticated-user GET /user/teams @@ -6162,7 +6178,7 @@ async def async_list_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[TeamFull], list[TeamFullType]]: + ) -> Response[list[TeamFull], list[TeamFullTypeForResponse]]: """teams/list-for-authenticated-user GET /user/teams diff --git a/githubkit/versions/v2022_11_28/rest/users.py b/githubkit/versions/v2022_11_28/rest/users.py index 1100cff4c..56a910e1d 100644 --- a/githubkit/versions/v2022_11_28/rest/users.py +++ b/githubkit/versions/v2022_11_28/rest/users.py @@ -42,16 +42,16 @@ UsersUsernameAttestationsSubjectDigestGetResponse200, ) from ..types import ( - EmailType, - GpgKeyType, - HovercardType, - KeySimpleType, - KeyType, - PrivateUserType, - PublicUserType, - SimpleUserType, - SocialAccountType, - SshSigningKeyType, + EmailTypeForResponse, + GpgKeyTypeForResponse, + HovercardTypeForResponse, + KeySimpleTypeForResponse, + KeyTypeForResponse, + PrivateUserTypeForResponse, + PublicUserTypeForResponse, + SimpleUserTypeForResponse, + SocialAccountTypeForResponse, + SshSigningKeyTypeForResponse, UserEmailsDeleteBodyOneof0Type, UserEmailsPostBodyOneof0Type, UserEmailVisibilityPatchBodyType, @@ -62,10 +62,10 @@ UserSocialAccountsPostBodyType, UserSshSigningKeysPostBodyType, UsersUsernameAttestationsBulkListPostBodyType, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type, UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ) @@ -90,7 +90,8 @@ def get_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-authenticated @@ -127,7 +128,8 @@ async def async_get_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-authenticated @@ -165,7 +167,7 @@ def update_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... @overload def update_authenticated( @@ -182,7 +184,7 @@ def update_authenticated( location: Missing[str] = UNSET, hireable: Missing[bool] = UNSET, bio: Missing[str] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... def update_authenticated( self, @@ -191,7 +193,7 @@ def update_authenticated( stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, **kwargs, - ) -> Response[PrivateUser, PrivateUserType]: + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: """users/update-authenticated PATCH /user @@ -238,7 +240,7 @@ async def async_update_authenticated( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... @overload async def async_update_authenticated( @@ -255,7 +257,7 @@ async def async_update_authenticated( location: Missing[str] = UNSET, hireable: Missing[bool] = UNSET, bio: Missing[str] = UNSET, - ) -> Response[PrivateUser, PrivateUserType]: ... + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: ... async def async_update_authenticated( self, @@ -264,7 +266,7 @@ async def async_update_authenticated( stream: bool = False, data: Missing[UserPatchBodyType] = UNSET, **kwargs, - ) -> Response[PrivateUser, PrivateUserType]: + ) -> Response[PrivateUser, PrivateUserTypeForResponse]: """users/update-authenticated PATCH /user @@ -311,7 +313,7 @@ def list_blocked_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-blocked-by-authenticated-user GET /user/blocks @@ -353,7 +355,7 @@ async def async_list_blocked_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-blocked-by-authenticated-user GET /user/blocks @@ -601,7 +603,7 @@ def set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserEmailVisibilityPatchBodyType, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload def set_primary_email_visibility_for_authenticated_user( @@ -611,7 +613,7 @@ def set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, visibility: Literal["public", "private"], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... def set_primary_email_visibility_for_authenticated_user( self, @@ -620,7 +622,7 @@ def set_primary_email_visibility_for_authenticated_user( stream: bool = False, data: Missing[UserEmailVisibilityPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/set-primary-email-visibility-for-authenticated-user PATCH /user/email/visibility @@ -672,7 +674,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserEmailVisibilityPatchBodyType, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload async def async_set_primary_email_visibility_for_authenticated_user( @@ -682,7 +684,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, visibility: Literal["public", "private"], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... async def async_set_primary_email_visibility_for_authenticated_user( self, @@ -691,7 +693,7 @@ async def async_set_primary_email_visibility_for_authenticated_user( stream: bool = False, data: Missing[UserEmailVisibilityPatchBodyType] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/set-primary-email-visibility-for-authenticated-user PATCH /user/email/visibility @@ -743,7 +745,7 @@ def list_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-emails-for-authenticated-user GET /user/emails @@ -788,7 +790,7 @@ async def async_list_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-emails-for-authenticated-user GET /user/emails @@ -833,7 +835,7 @@ def add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload def add_email_for_authenticated_user( @@ -843,7 +845,7 @@ def add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, emails: list[str], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... def add_email_for_authenticated_user( self, @@ -852,7 +854,7 @@ def add_email_for_authenticated_user( stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/add-email-for-authenticated-user POST /user/emails @@ -915,7 +917,7 @@ async def async_add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... @overload async def async_add_email_for_authenticated_user( @@ -925,7 +927,7 @@ async def async_add_email_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, emails: list[str], - ) -> Response[list[Email], list[EmailType]]: ... + ) -> Response[list[Email], list[EmailTypeForResponse]]: ... async def async_add_email_for_authenticated_user( self, @@ -934,7 +936,7 @@ async def async_add_email_for_authenticated_user( stream: bool = False, data: Missing[Union[UserEmailsPostBodyOneof0Type, list[str], str]] = UNSET, **kwargs, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/add-email-for-authenticated-user POST /user/emails @@ -1149,7 +1151,7 @@ def list_followers_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-authenticated-user GET /user/followers @@ -1190,7 +1192,7 @@ async def async_list_followers_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-authenticated-user GET /user/followers @@ -1231,7 +1233,7 @@ def list_followed_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followed-by-authenticated-user GET /user/following @@ -1272,7 +1274,7 @@ async def async_list_followed_by_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followed-by-authenticated-user GET /user/following @@ -1519,7 +1521,7 @@ def list_gpg_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-authenticated-user GET /user/gpg_keys @@ -1563,7 +1565,7 @@ async def async_list_gpg_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-authenticated-user GET /user/gpg_keys @@ -1607,7 +1609,7 @@ def create_gpg_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserGpgKeysPostBodyType, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... @overload def create_gpg_key_for_authenticated_user( @@ -1618,7 +1620,7 @@ def create_gpg_key_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, armored_public_key: str, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... def create_gpg_key_for_authenticated_user( self, @@ -1627,7 +1629,7 @@ def create_gpg_key_for_authenticated_user( stream: bool = False, data: Missing[UserGpgKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/create-gpg-key-for-authenticated-user POST /user/gpg_keys @@ -1676,7 +1678,7 @@ async def async_create_gpg_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserGpgKeysPostBodyType, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... @overload async def async_create_gpg_key_for_authenticated_user( @@ -1687,7 +1689,7 @@ async def async_create_gpg_key_for_authenticated_user( stream: bool = False, name: Missing[str] = UNSET, armored_public_key: str, - ) -> Response[GpgKey, GpgKeyType]: ... + ) -> Response[GpgKey, GpgKeyTypeForResponse]: ... async def async_create_gpg_key_for_authenticated_user( self, @@ -1696,7 +1698,7 @@ async def async_create_gpg_key_for_authenticated_user( stream: bool = False, data: Missing[UserGpgKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/create-gpg-key-for-authenticated-user POST /user/gpg_keys @@ -1744,7 +1746,7 @@ def get_gpg_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/get-gpg-key-for-authenticated-user GET /user/gpg_keys/{gpg_key_id} @@ -1781,7 +1783,7 @@ async def async_get_gpg_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[GpgKey, GpgKeyType]: + ) -> Response[GpgKey, GpgKeyTypeForResponse]: """users/get-gpg-key-for-authenticated-user GET /user/gpg_keys/{gpg_key_id} @@ -1893,7 +1895,7 @@ def list_public_ssh_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Key], list[KeyType]]: + ) -> Response[list[Key], list[KeyTypeForResponse]]: """users/list-public-ssh-keys-for-authenticated-user GET /user/keys @@ -1937,7 +1939,7 @@ async def async_list_public_ssh_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Key], list[KeyType]]: + ) -> Response[list[Key], list[KeyTypeForResponse]]: """users/list-public-ssh-keys-for-authenticated-user GET /user/keys @@ -1981,7 +1983,7 @@ def create_public_ssh_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserKeysPostBodyType, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... @overload def create_public_ssh_key_for_authenticated_user( @@ -1992,7 +1994,7 @@ def create_public_ssh_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... def create_public_ssh_key_for_authenticated_user( self, @@ -2001,7 +2003,7 @@ def create_public_ssh_key_for_authenticated_user( stream: bool = False, data: Missing[UserKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/create-public-ssh-key-for-authenticated-user POST /user/keys @@ -2050,7 +2052,7 @@ async def async_create_public_ssh_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserKeysPostBodyType, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... @overload async def async_create_public_ssh_key_for_authenticated_user( @@ -2061,7 +2063,7 @@ async def async_create_public_ssh_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[Key, KeyType]: ... + ) -> Response[Key, KeyTypeForResponse]: ... async def async_create_public_ssh_key_for_authenticated_user( self, @@ -2070,7 +2072,7 @@ async def async_create_public_ssh_key_for_authenticated_user( stream: bool = False, data: Missing[UserKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/create-public-ssh-key-for-authenticated-user POST /user/keys @@ -2118,7 +2120,7 @@ def get_public_ssh_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/get-public-ssh-key-for-authenticated-user GET /user/keys/{key_id} @@ -2155,7 +2157,7 @@ async def async_get_public_ssh_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Key, KeyType]: + ) -> Response[Key, KeyTypeForResponse]: """users/get-public-ssh-key-for-authenticated-user GET /user/keys/{key_id} @@ -2265,7 +2267,7 @@ def list_public_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-public-emails-for-authenticated-user GET /user/public_emails @@ -2311,7 +2313,7 @@ async def async_list_public_emails_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[Email], list[EmailType]]: + ) -> Response[list[Email], list[EmailTypeForResponse]]: """users/list-public-emails-for-authenticated-user GET /user/public_emails @@ -2357,7 +2359,7 @@ def list_social_accounts_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-authenticated-user GET /user/social_accounts @@ -2399,7 +2401,7 @@ async def async_list_social_accounts_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-authenticated-user GET /user/social_accounts @@ -2441,7 +2443,7 @@ def add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSocialAccountsPostBodyType, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... @overload def add_social_account_for_authenticated_user( @@ -2451,7 +2453,7 @@ def add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, account_urls: list[str], - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... def add_social_account_for_authenticated_user( self, @@ -2460,7 +2462,7 @@ def add_social_account_for_authenticated_user( stream: bool = False, data: Missing[UserSocialAccountsPostBodyType] = UNSET, **kwargs, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/add-social-account-for-authenticated-user POST /user/social_accounts @@ -2514,7 +2516,7 @@ async def async_add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSocialAccountsPostBodyType, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... @overload async def async_add_social_account_for_authenticated_user( @@ -2524,7 +2526,7 @@ async def async_add_social_account_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, account_urls: list[str], - ) -> Response[list[SocialAccount], list[SocialAccountType]]: ... + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: ... async def async_add_social_account_for_authenticated_user( self, @@ -2533,7 +2535,7 @@ async def async_add_social_account_for_authenticated_user( stream: bool = False, data: Missing[UserSocialAccountsPostBodyType] = UNSET, **kwargs, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/add-social-account-for-authenticated-user POST /user/social_accounts @@ -2721,7 +2723,7 @@ def list_ssh_signing_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-authenticated-user GET /user/ssh_signing_keys @@ -2765,7 +2767,7 @@ async def async_list_ssh_signing_keys_for_authenticated_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-authenticated-user GET /user/ssh_signing_keys @@ -2809,7 +2811,7 @@ def create_ssh_signing_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSshSigningKeysPostBodyType, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... @overload def create_ssh_signing_key_for_authenticated_user( @@ -2820,7 +2822,7 @@ def create_ssh_signing_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... def create_ssh_signing_key_for_authenticated_user( self, @@ -2829,7 +2831,7 @@ def create_ssh_signing_key_for_authenticated_user( stream: bool = False, data: Missing[UserSshSigningKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/create-ssh-signing-key-for-authenticated-user POST /user/ssh_signing_keys @@ -2883,7 +2885,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( headers: Optional[Mapping[str, str]] = None, stream: bool = False, data: UserSshSigningKeysPostBodyType, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... @overload async def async_create_ssh_signing_key_for_authenticated_user( @@ -2894,7 +2896,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( stream: bool = False, title: Missing[str] = UNSET, key: str, - ) -> Response[SshSigningKey, SshSigningKeyType]: ... + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: ... async def async_create_ssh_signing_key_for_authenticated_user( self, @@ -2903,7 +2905,7 @@ async def async_create_ssh_signing_key_for_authenticated_user( stream: bool = False, data: Missing[UserSshSigningKeysPostBodyType] = UNSET, **kwargs, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/create-ssh-signing-key-for-authenticated-user POST /user/ssh_signing_keys @@ -2956,7 +2958,7 @@ def get_ssh_signing_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/get-ssh-signing-key-for-authenticated-user GET /user/ssh_signing_keys/{ssh_signing_key_id} @@ -2993,7 +2995,7 @@ async def async_get_ssh_signing_key_for_authenticated_user( *, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[SshSigningKey, SshSigningKeyType]: + ) -> Response[SshSigningKey, SshSigningKeyTypeForResponse]: """users/get-ssh-signing-key-for-authenticated-user GET /user/ssh_signing_keys/{ssh_signing_key_id} @@ -3103,7 +3105,8 @@ def get_by_id( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-id @@ -3146,7 +3149,8 @@ async def async_get_by_id( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-id @@ -3189,7 +3193,7 @@ def list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list GET /users @@ -3228,7 +3232,7 @@ async def async_list( per_page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list GET /users @@ -3267,7 +3271,8 @@ def get_by_username( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-username @@ -3310,7 +3315,8 @@ async def async_get_by_username( headers: Optional[Mapping[str, str]] = None, stream: bool = False, ) -> Response[ - Union[PrivateUser, PublicUser], Union[PrivateUserType, PublicUserType] + Union[PrivateUser, PublicUser], + Union[PrivateUserTypeForResponse, PublicUserTypeForResponse], ]: """users/get-by-username @@ -3359,7 +3365,7 @@ def list_attestations_bulk( data: UsersUsernameAttestationsBulkListPostBodyType, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -3377,7 +3383,7 @@ def list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... def list_attestations_bulk( @@ -3393,7 +3399,7 @@ def list_attestations_bulk( **kwargs, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: """users/list-attestations-bulk @@ -3455,7 +3461,7 @@ async def async_list_attestations_bulk( data: UsersUsernameAttestationsBulkListPostBodyType, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... @overload @@ -3473,7 +3479,7 @@ async def async_list_attestations_bulk( predicate_type: Missing[str] = UNSET, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: ... async def async_list_attestations_bulk( @@ -3489,7 +3495,7 @@ async def async_list_attestations_bulk( **kwargs, ) -> Response[ UsersUsernameAttestationsBulkListPostResponse200, - UsersUsernameAttestationsBulkListPostResponse200Type, + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, ]: """users/list-attestations-bulk @@ -3877,7 +3883,7 @@ def list_attestations( stream: bool = False, ) -> Response[ UsersUsernameAttestationsSubjectDigestGetResponse200, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """users/list-attestations @@ -3933,7 +3939,7 @@ async def async_list_attestations( stream: bool = False, ) -> Response[ UsersUsernameAttestationsSubjectDigestGetResponse200, - UsersUsernameAttestationsSubjectDigestGetResponse200Type, + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, ]: """users/list-attestations @@ -3984,7 +3990,7 @@ def list_followers_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-user GET /users/{username}/followers @@ -4022,7 +4028,7 @@ async def async_list_followers_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-followers-for-user GET /users/{username}/followers @@ -4060,7 +4066,7 @@ def list_following_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-following-for-user GET /users/{username}/following @@ -4098,7 +4104,7 @@ async def async_list_following_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SimpleUser], list[SimpleUserType]]: + ) -> Response[list[SimpleUser], list[SimpleUserTypeForResponse]]: """users/list-following-for-user GET /users/{username}/following @@ -4190,7 +4196,7 @@ def list_gpg_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-user GET /users/{username}/gpg_keys @@ -4228,7 +4234,7 @@ async def async_list_gpg_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[GpgKey], list[GpgKeyType]]: + ) -> Response[list[GpgKey], list[GpgKeyTypeForResponse]]: """users/list-gpg-keys-for-user GET /users/{username}/gpg_keys @@ -4268,7 +4274,7 @@ def get_context_for_user( subject_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hovercard, HovercardType]: + ) -> Response[Hovercard, HovercardTypeForResponse]: """users/get-context-for-user GET /users/{username}/hovercard @@ -4316,7 +4322,7 @@ async def async_get_context_for_user( subject_id: Missing[str] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[Hovercard, HovercardType]: + ) -> Response[Hovercard, HovercardTypeForResponse]: """users/get-context-for-user GET /users/{username}/hovercard @@ -4362,7 +4368,7 @@ def list_public_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[KeySimple], list[KeySimpleType]]: + ) -> Response[list[KeySimple], list[KeySimpleTypeForResponse]]: """users/list-public-keys-for-user GET /users/{username}/keys @@ -4400,7 +4406,7 @@ async def async_list_public_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[KeySimple], list[KeySimpleType]]: + ) -> Response[list[KeySimple], list[KeySimpleTypeForResponse]]: """users/list-public-keys-for-user GET /users/{username}/keys @@ -4438,7 +4444,7 @@ def list_social_accounts_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-user GET /users/{username}/social_accounts @@ -4476,7 +4482,7 @@ async def async_list_social_accounts_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SocialAccount], list[SocialAccountType]]: + ) -> Response[list[SocialAccount], list[SocialAccountTypeForResponse]]: """users/list-social-accounts-for-user GET /users/{username}/social_accounts @@ -4514,7 +4520,7 @@ def list_ssh_signing_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-user GET /users/{username}/ssh_signing_keys @@ -4552,7 +4558,7 @@ async def async_list_ssh_signing_keys_for_user( page: Missing[int] = UNSET, headers: Optional[Mapping[str, str]] = None, stream: bool = False, - ) -> Response[list[SshSigningKey], list[SshSigningKeyType]]: + ) -> Response[list[SshSigningKey], list[SshSigningKeyTypeForResponse]]: """users/list-ssh-signing-keys-for-user GET /users/{username}/ssh_signing_keys diff --git a/githubkit/versions/v2022_11_28/types/__init__.py b/githubkit/versions/v2022_11_28/types/__init__.py index 2cb2d5c62..8d6fe566e 100644 --- a/githubkit/versions/v2022_11_28/types/__init__.py +++ b/githubkit/versions/v2022_11_28/types/__init__.py @@ -11,13667 +11,28647 @@ if TYPE_CHECKING: from .group_0000 import RootType as RootType + from .group_0000 import RootTypeForResponse as RootTypeForResponse from .group_0001 import CvssSeveritiesPropCvssV3Type as CvssSeveritiesPropCvssV3Type + from .group_0001 import ( + CvssSeveritiesPropCvssV3TypeForResponse as CvssSeveritiesPropCvssV3TypeForResponse, + ) from .group_0001 import CvssSeveritiesPropCvssV4Type as CvssSeveritiesPropCvssV4Type + from .group_0001 import ( + CvssSeveritiesPropCvssV4TypeForResponse as CvssSeveritiesPropCvssV4TypeForResponse, + ) from .group_0001 import CvssSeveritiesType as CvssSeveritiesType + from .group_0001 import ( + CvssSeveritiesTypeForResponse as CvssSeveritiesTypeForResponse, + ) from .group_0002 import SecurityAdvisoryEpssType as SecurityAdvisoryEpssType + from .group_0002 import ( + SecurityAdvisoryEpssTypeForResponse as SecurityAdvisoryEpssTypeForResponse, + ) from .group_0003 import SimpleUserType as SimpleUserType + from .group_0003 import SimpleUserTypeForResponse as SimpleUserTypeForResponse from .group_0004 import GlobalAdvisoryPropCvssType as GlobalAdvisoryPropCvssType + from .group_0004 import ( + GlobalAdvisoryPropCvssTypeForResponse as GlobalAdvisoryPropCvssTypeForResponse, + ) from .group_0004 import ( GlobalAdvisoryPropCwesItemsType as GlobalAdvisoryPropCwesItemsType, ) + from .group_0004 import ( + GlobalAdvisoryPropCwesItemsTypeForResponse as GlobalAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0004 import ( GlobalAdvisoryPropIdentifiersItemsType as GlobalAdvisoryPropIdentifiersItemsType, ) + from .group_0004 import ( + GlobalAdvisoryPropIdentifiersItemsTypeForResponse as GlobalAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0004 import GlobalAdvisoryType as GlobalAdvisoryType + from .group_0004 import ( + GlobalAdvisoryTypeForResponse as GlobalAdvisoryTypeForResponse, + ) from .group_0004 import VulnerabilityPropPackageType as VulnerabilityPropPackageType + from .group_0004 import ( + VulnerabilityPropPackageTypeForResponse as VulnerabilityPropPackageTypeForResponse, + ) from .group_0004 import VulnerabilityType as VulnerabilityType + from .group_0004 import VulnerabilityTypeForResponse as VulnerabilityTypeForResponse from .group_0005 import ( GlobalAdvisoryPropCreditsItemsType as GlobalAdvisoryPropCreditsItemsType, ) + from .group_0005 import ( + GlobalAdvisoryPropCreditsItemsTypeForResponse as GlobalAdvisoryPropCreditsItemsTypeForResponse, + ) from .group_0006 import BasicErrorType as BasicErrorType + from .group_0006 import BasicErrorTypeForResponse as BasicErrorTypeForResponse from .group_0007 import ValidationErrorSimpleType as ValidationErrorSimpleType + from .group_0007 import ( + ValidationErrorSimpleTypeForResponse as ValidationErrorSimpleTypeForResponse, + ) from .group_0008 import EnterpriseType as EnterpriseType + from .group_0008 import EnterpriseTypeForResponse as EnterpriseTypeForResponse from .group_0009 import ( IntegrationPropPermissionsType as IntegrationPropPermissionsType, ) + from .group_0009 import ( + IntegrationPropPermissionsTypeForResponse as IntegrationPropPermissionsTypeForResponse, + ) from .group_0010 import IntegrationType as IntegrationType + from .group_0010 import IntegrationTypeForResponse as IntegrationTypeForResponse from .group_0011 import WebhookConfigType as WebhookConfigType + from .group_0011 import WebhookConfigTypeForResponse as WebhookConfigTypeForResponse from .group_0012 import HookDeliveryItemType as HookDeliveryItemType + from .group_0012 import ( + HookDeliveryItemTypeForResponse as HookDeliveryItemTypeForResponse, + ) from .group_0013 import ScimErrorType as ScimErrorType + from .group_0013 import ScimErrorTypeForResponse as ScimErrorTypeForResponse from .group_0014 import ( ValidationErrorPropErrorsItemsType as ValidationErrorPropErrorsItemsType, ) + from .group_0014 import ( + ValidationErrorPropErrorsItemsTypeForResponse as ValidationErrorPropErrorsItemsTypeForResponse, + ) from .group_0014 import ValidationErrorType as ValidationErrorType + from .group_0014 import ( + ValidationErrorTypeForResponse as ValidationErrorTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropRequestPropHeadersType as HookDeliveryPropRequestPropHeadersType, ) + from .group_0015 import ( + HookDeliveryPropRequestPropHeadersTypeForResponse as HookDeliveryPropRequestPropHeadersTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropRequestPropPayloadType as HookDeliveryPropRequestPropPayloadType, ) + from .group_0015 import ( + HookDeliveryPropRequestPropPayloadTypeForResponse as HookDeliveryPropRequestPropPayloadTypeForResponse, + ) from .group_0015 import HookDeliveryPropRequestType as HookDeliveryPropRequestType + from .group_0015 import ( + HookDeliveryPropRequestTypeForResponse as HookDeliveryPropRequestTypeForResponse, + ) from .group_0015 import ( HookDeliveryPropResponsePropHeadersType as HookDeliveryPropResponsePropHeadersType, ) + from .group_0015 import ( + HookDeliveryPropResponsePropHeadersTypeForResponse as HookDeliveryPropResponsePropHeadersTypeForResponse, + ) from .group_0015 import HookDeliveryPropResponseType as HookDeliveryPropResponseType + from .group_0015 import ( + HookDeliveryPropResponseTypeForResponse as HookDeliveryPropResponseTypeForResponse, + ) from .group_0015 import HookDeliveryType as HookDeliveryType + from .group_0015 import HookDeliveryTypeForResponse as HookDeliveryTypeForResponse from .group_0016 import ( IntegrationInstallationRequestType as IntegrationInstallationRequestType, ) + from .group_0016 import ( + IntegrationInstallationRequestTypeForResponse as IntegrationInstallationRequestTypeForResponse, + ) from .group_0017 import AppPermissionsType as AppPermissionsType + from .group_0017 import ( + AppPermissionsTypeForResponse as AppPermissionsTypeForResponse, + ) from .group_0018 import InstallationType as InstallationType + from .group_0018 import InstallationTypeForResponse as InstallationTypeForResponse from .group_0019 import LicenseSimpleType as LicenseSimpleType + from .group_0019 import LicenseSimpleTypeForResponse as LicenseSimpleTypeForResponse from .group_0020 import ( RepositoryPropCodeSearchIndexStatusType as RepositoryPropCodeSearchIndexStatusType, ) + from .group_0020 import ( + RepositoryPropCodeSearchIndexStatusTypeForResponse as RepositoryPropCodeSearchIndexStatusTypeForResponse, + ) from .group_0020 import ( RepositoryPropPermissionsType as RepositoryPropPermissionsType, ) + from .group_0020 import ( + RepositoryPropPermissionsTypeForResponse as RepositoryPropPermissionsTypeForResponse, + ) from .group_0020 import RepositoryType as RepositoryType + from .group_0020 import RepositoryTypeForResponse as RepositoryTypeForResponse from .group_0021 import InstallationTokenType as InstallationTokenType + from .group_0021 import ( + InstallationTokenTypeForResponse as InstallationTokenTypeForResponse, + ) from .group_0022 import ScopedInstallationType as ScopedInstallationType + from .group_0022 import ( + ScopedInstallationTypeForResponse as ScopedInstallationTypeForResponse, + ) from .group_0023 import AuthorizationPropAppType as AuthorizationPropAppType + from .group_0023 import ( + AuthorizationPropAppTypeForResponse as AuthorizationPropAppTypeForResponse, + ) from .group_0023 import AuthorizationType as AuthorizationType + from .group_0023 import AuthorizationTypeForResponse as AuthorizationTypeForResponse from .group_0024 import ( SimpleClassroomRepositoryType as SimpleClassroomRepositoryType, ) + from .group_0024 import ( + SimpleClassroomRepositoryTypeForResponse as SimpleClassroomRepositoryTypeForResponse, + ) from .group_0025 import ClassroomAssignmentType as ClassroomAssignmentType + from .group_0025 import ( + ClassroomAssignmentTypeForResponse as ClassroomAssignmentTypeForResponse, + ) from .group_0025 import ClassroomType as ClassroomType + from .group_0025 import ClassroomTypeForResponse as ClassroomTypeForResponse from .group_0025 import ( SimpleClassroomOrganizationType as SimpleClassroomOrganizationType, ) + from .group_0025 import ( + SimpleClassroomOrganizationTypeForResponse as SimpleClassroomOrganizationTypeForResponse, + ) from .group_0026 import ( ClassroomAcceptedAssignmentType as ClassroomAcceptedAssignmentType, ) + from .group_0026 import ( + ClassroomAcceptedAssignmentTypeForResponse as ClassroomAcceptedAssignmentTypeForResponse, + ) from .group_0026 import ( SimpleClassroomAssignmentType as SimpleClassroomAssignmentType, ) + from .group_0026 import ( + SimpleClassroomAssignmentTypeForResponse as SimpleClassroomAssignmentTypeForResponse, + ) from .group_0026 import SimpleClassroomType as SimpleClassroomType + from .group_0026 import ( + SimpleClassroomTypeForResponse as SimpleClassroomTypeForResponse, + ) from .group_0026 import SimpleClassroomUserType as SimpleClassroomUserType + from .group_0026 import ( + SimpleClassroomUserTypeForResponse as SimpleClassroomUserTypeForResponse, + ) from .group_0027 import ClassroomAssignmentGradeType as ClassroomAssignmentGradeType + from .group_0027 import ( + ClassroomAssignmentGradeTypeForResponse as ClassroomAssignmentGradeTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType as CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType, ) + from .group_0028 import ( + CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse as CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationPropCodeScanningOptionsType as CodeSecurityConfigurationPropCodeScanningOptionsType, ) + from .group_0028 import ( + CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse as CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType as CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0028 import ( + CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse as CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_0028 import ( + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType, ) + from .group_0028 import ( + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse as CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_0028 import ( CodeSecurityConfigurationType as CodeSecurityConfigurationType, ) + from .group_0028 import ( + CodeSecurityConfigurationTypeForResponse as CodeSecurityConfigurationTypeForResponse, + ) from .group_0029 import CodeScanningOptionsType as CodeScanningOptionsType + from .group_0029 import ( + CodeScanningOptionsTypeForResponse as CodeScanningOptionsTypeForResponse, + ) from .group_0030 import ( CodeScanningDefaultSetupOptionsType as CodeScanningDefaultSetupOptionsType, ) + from .group_0030 import ( + CodeScanningDefaultSetupOptionsTypeForResponse as CodeScanningDefaultSetupOptionsTypeForResponse, + ) from .group_0031 import ( CodeSecurityDefaultConfigurationsItemsType as CodeSecurityDefaultConfigurationsItemsType, ) + from .group_0031 import ( + CodeSecurityDefaultConfigurationsItemsTypeForResponse as CodeSecurityDefaultConfigurationsItemsTypeForResponse, + ) from .group_0032 import SimpleRepositoryType as SimpleRepositoryType + from .group_0032 import ( + SimpleRepositoryTypeForResponse as SimpleRepositoryTypeForResponse, + ) from .group_0033 import ( CodeSecurityConfigurationRepositoriesType as CodeSecurityConfigurationRepositoriesType, ) + from .group_0033 import ( + CodeSecurityConfigurationRepositoriesTypeForResponse as CodeSecurityConfigurationRepositoriesTypeForResponse, + ) from .group_0034 import DependabotAlertPackageType as DependabotAlertPackageType + from .group_0034 import ( + DependabotAlertPackageTypeForResponse as DependabotAlertPackageTypeForResponse, + ) from .group_0035 import ( DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType as DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType, ) + from .group_0035 import ( + DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse as DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse, + ) from .group_0035 import ( DependabotAlertSecurityVulnerabilityType as DependabotAlertSecurityVulnerabilityType, ) + from .group_0035 import ( + DependabotAlertSecurityVulnerabilityTypeForResponse as DependabotAlertSecurityVulnerabilityTypeForResponse, + ) from .group_0036 import ( DependabotAlertSecurityAdvisoryPropCvssType as DependabotAlertSecurityAdvisoryPropCvssType, ) + from .group_0036 import ( + DependabotAlertSecurityAdvisoryPropCvssTypeForResponse as DependabotAlertSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0036 import ( DependabotAlertSecurityAdvisoryPropCwesItemsType as DependabotAlertSecurityAdvisoryPropCwesItemsType, ) + from .group_0036 import ( + DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0036 import ( DependabotAlertSecurityAdvisoryPropIdentifiersItemsType as DependabotAlertSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0036 import ( + DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0036 import ( DependabotAlertSecurityAdvisoryPropReferencesItemsType as DependabotAlertSecurityAdvisoryPropReferencesItemsType, ) + from .group_0036 import ( + DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse as DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0036 import ( DependabotAlertSecurityAdvisoryType as DependabotAlertSecurityAdvisoryType, ) + from .group_0036 import ( + DependabotAlertSecurityAdvisoryTypeForResponse as DependabotAlertSecurityAdvisoryTypeForResponse, + ) from .group_0037 import ( DependabotAlertWithRepositoryType as DependabotAlertWithRepositoryType, ) + from .group_0037 import ( + DependabotAlertWithRepositoryTypeForResponse as DependabotAlertWithRepositoryTypeForResponse, + ) from .group_0038 import ( DependabotAlertWithRepositoryPropDependencyType as DependabotAlertWithRepositoryPropDependencyType, ) + from .group_0038 import ( + DependabotAlertWithRepositoryPropDependencyTypeForResponse as DependabotAlertWithRepositoryPropDependencyTypeForResponse, + ) from .group_0039 import OrganizationSimpleType as OrganizationSimpleType + from .group_0039 import ( + OrganizationSimpleTypeForResponse as OrganizationSimpleTypeForResponse, + ) from .group_0040 import MilestoneType as MilestoneType + from .group_0040 import MilestoneTypeForResponse as MilestoneTypeForResponse from .group_0041 import IssueTypeType as IssueTypeType + from .group_0041 import IssueTypeTypeForResponse as IssueTypeTypeForResponse from .group_0042 import ReactionRollupType as ReactionRollupType + from .group_0042 import ( + ReactionRollupTypeForResponse as ReactionRollupTypeForResponse, + ) from .group_0043 import IssueDependenciesSummaryType as IssueDependenciesSummaryType + from .group_0043 import ( + IssueDependenciesSummaryTypeForResponse as IssueDependenciesSummaryTypeForResponse, + ) from .group_0043 import SubIssuesSummaryType as SubIssuesSummaryType + from .group_0043 import ( + SubIssuesSummaryTypeForResponse as SubIssuesSummaryTypeForResponse, + ) from .group_0044 import ( IssueFieldValuePropSingleSelectOptionType as IssueFieldValuePropSingleSelectOptionType, ) + from .group_0044 import ( + IssueFieldValuePropSingleSelectOptionTypeForResponse as IssueFieldValuePropSingleSelectOptionTypeForResponse, + ) from .group_0044 import IssueFieldValueType as IssueFieldValueType + from .group_0044 import ( + IssueFieldValueTypeForResponse as IssueFieldValueTypeForResponse, + ) from .group_0045 import ( IssuePropLabelsItemsOneof1Type as IssuePropLabelsItemsOneof1Type, ) + from .group_0045 import ( + IssuePropLabelsItemsOneof1TypeForResponse as IssuePropLabelsItemsOneof1TypeForResponse, + ) from .group_0045 import IssuePropPullRequestType as IssuePropPullRequestType + from .group_0045 import ( + IssuePropPullRequestTypeForResponse as IssuePropPullRequestTypeForResponse, + ) from .group_0045 import IssueType as IssueType + from .group_0045 import IssueTypeForResponse as IssueTypeForResponse from .group_0046 import IssueCommentType as IssueCommentType + from .group_0046 import IssueCommentTypeForResponse as IssueCommentTypeForResponse from .group_0047 import ActorType as ActorType + from .group_0047 import ActorTypeForResponse as ActorTypeForResponse from .group_0047 import ( EventPropPayloadPropPagesItemsType as EventPropPayloadPropPagesItemsType, ) + from .group_0047 import ( + EventPropPayloadPropPagesItemsTypeForResponse as EventPropPayloadPropPagesItemsTypeForResponse, + ) from .group_0047 import EventPropPayloadType as EventPropPayloadType + from .group_0047 import ( + EventPropPayloadTypeForResponse as EventPropPayloadTypeForResponse, + ) from .group_0047 import EventPropRepoType as EventPropRepoType + from .group_0047 import EventPropRepoTypeForResponse as EventPropRepoTypeForResponse from .group_0047 import EventType as EventType + from .group_0047 import EventTypeForResponse as EventTypeForResponse from .group_0048 import FeedPropLinksType as FeedPropLinksType + from .group_0048 import FeedPropLinksTypeForResponse as FeedPropLinksTypeForResponse from .group_0048 import FeedType as FeedType + from .group_0048 import FeedTypeForResponse as FeedTypeForResponse from .group_0048 import LinkWithTypeType as LinkWithTypeType + from .group_0048 import LinkWithTypeTypeForResponse as LinkWithTypeTypeForResponse from .group_0049 import BaseGistPropFilesType as BaseGistPropFilesType + from .group_0049 import ( + BaseGistPropFilesTypeForResponse as BaseGistPropFilesTypeForResponse, + ) from .group_0049 import BaseGistType as BaseGistType + from .group_0049 import BaseGistTypeForResponse as BaseGistTypeForResponse from .group_0050 import ( GistHistoryPropChangeStatusType as GistHistoryPropChangeStatusType, ) + from .group_0050 import ( + GistHistoryPropChangeStatusTypeForResponse as GistHistoryPropChangeStatusTypeForResponse, + ) from .group_0050 import GistHistoryType as GistHistoryType + from .group_0050 import GistHistoryTypeForResponse as GistHistoryTypeForResponse from .group_0050 import ( GistSimplePropForkOfPropFilesType as GistSimplePropForkOfPropFilesType, ) + from .group_0050 import ( + GistSimplePropForkOfPropFilesTypeForResponse as GistSimplePropForkOfPropFilesTypeForResponse, + ) from .group_0050 import GistSimplePropForkOfType as GistSimplePropForkOfType + from .group_0050 import ( + GistSimplePropForkOfTypeForResponse as GistSimplePropForkOfTypeForResponse, + ) from .group_0051 import GistSimplePropFilesType as GistSimplePropFilesType + from .group_0051 import ( + GistSimplePropFilesTypeForResponse as GistSimplePropFilesTypeForResponse, + ) from .group_0051 import GistSimplePropForksItemsType as GistSimplePropForksItemsType + from .group_0051 import ( + GistSimplePropForksItemsTypeForResponse as GistSimplePropForksItemsTypeForResponse, + ) from .group_0051 import GistSimpleType as GistSimpleType + from .group_0051 import GistSimpleTypeForResponse as GistSimpleTypeForResponse from .group_0051 import PublicUserPropPlanType as PublicUserPropPlanType + from .group_0051 import ( + PublicUserPropPlanTypeForResponse as PublicUserPropPlanTypeForResponse, + ) from .group_0051 import PublicUserType as PublicUserType + from .group_0051 import PublicUserTypeForResponse as PublicUserTypeForResponse from .group_0052 import GistCommentType as GistCommentType + from .group_0052 import GistCommentTypeForResponse as GistCommentTypeForResponse from .group_0053 import ( GistCommitPropChangeStatusType as GistCommitPropChangeStatusType, ) + from .group_0053 import ( + GistCommitPropChangeStatusTypeForResponse as GistCommitPropChangeStatusTypeForResponse, + ) from .group_0053 import GistCommitType as GistCommitType + from .group_0053 import GistCommitTypeForResponse as GistCommitTypeForResponse from .group_0054 import GitignoreTemplateType as GitignoreTemplateType + from .group_0054 import ( + GitignoreTemplateTypeForResponse as GitignoreTemplateTypeForResponse, + ) from .group_0055 import LicenseType as LicenseType + from .group_0055 import LicenseTypeForResponse as LicenseTypeForResponse from .group_0056 import MarketplaceListingPlanType as MarketplaceListingPlanType + from .group_0056 import ( + MarketplaceListingPlanTypeForResponse as MarketplaceListingPlanTypeForResponse, + ) from .group_0057 import MarketplacePurchaseType as MarketplacePurchaseType + from .group_0057 import ( + MarketplacePurchaseTypeForResponse as MarketplacePurchaseTypeForResponse, + ) from .group_0058 import ( MarketplacePurchasePropMarketplacePendingChangeType as MarketplacePurchasePropMarketplacePendingChangeType, ) + from .group_0058 import ( + MarketplacePurchasePropMarketplacePendingChangeTypeForResponse as MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, + ) from .group_0058 import ( MarketplacePurchasePropMarketplacePurchaseType as MarketplacePurchasePropMarketplacePurchaseType, ) + from .group_0058 import ( + MarketplacePurchasePropMarketplacePurchaseTypeForResponse as MarketplacePurchasePropMarketplacePurchaseTypeForResponse, + ) from .group_0059 import ( ApiOverviewPropDomainsPropActionsInboundType as ApiOverviewPropDomainsPropActionsInboundType, ) + from .group_0059 import ( + ApiOverviewPropDomainsPropActionsInboundTypeForResponse as ApiOverviewPropDomainsPropActionsInboundTypeForResponse, + ) from .group_0059 import ( ApiOverviewPropDomainsPropArtifactAttestationsType as ApiOverviewPropDomainsPropArtifactAttestationsType, ) + from .group_0059 import ( + ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse as ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse, + ) from .group_0059 import ApiOverviewPropDomainsType as ApiOverviewPropDomainsType + from .group_0059 import ( + ApiOverviewPropDomainsTypeForResponse as ApiOverviewPropDomainsTypeForResponse, + ) from .group_0059 import ( ApiOverviewPropSshKeyFingerprintsType as ApiOverviewPropSshKeyFingerprintsType, ) + from .group_0059 import ( + ApiOverviewPropSshKeyFingerprintsTypeForResponse as ApiOverviewPropSshKeyFingerprintsTypeForResponse, + ) from .group_0059 import ApiOverviewType as ApiOverviewType + from .group_0059 import ApiOverviewTypeForResponse as ApiOverviewTypeForResponse from .group_0060 import ( SecurityAndAnalysisPropAdvancedSecurityType as SecurityAndAnalysisPropAdvancedSecurityType, ) + from .group_0060 import ( + SecurityAndAnalysisPropAdvancedSecurityTypeForResponse as SecurityAndAnalysisPropAdvancedSecurityTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropCodeSecurityType as SecurityAndAnalysisPropCodeSecurityType, ) + from .group_0060 import ( + SecurityAndAnalysisPropCodeSecurityTypeForResponse as SecurityAndAnalysisPropCodeSecurityTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropDependabotSecurityUpdatesType as SecurityAndAnalysisPropDependabotSecurityUpdatesType, ) + from .group_0060 import ( + SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse as SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropSecretScanningAiDetectionType as SecurityAndAnalysisPropSecretScanningAiDetectionType, ) + from .group_0060 import ( + SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse as SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropSecretScanningNonProviderPatternsType as SecurityAndAnalysisPropSecretScanningNonProviderPatternsType, ) + from .group_0060 import ( + SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse as SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropSecretScanningPushProtectionType as SecurityAndAnalysisPropSecretScanningPushProtectionType, ) + from .group_0060 import ( + SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse as SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse, + ) from .group_0060 import ( SecurityAndAnalysisPropSecretScanningType as SecurityAndAnalysisPropSecretScanningType, ) + from .group_0060 import ( + SecurityAndAnalysisPropSecretScanningTypeForResponse as SecurityAndAnalysisPropSecretScanningTypeForResponse, + ) from .group_0060 import SecurityAndAnalysisType as SecurityAndAnalysisType + from .group_0060 import ( + SecurityAndAnalysisTypeForResponse as SecurityAndAnalysisTypeForResponse, + ) from .group_0061 import CodeOfConductType as CodeOfConductType + from .group_0061 import CodeOfConductTypeForResponse as CodeOfConductTypeForResponse from .group_0061 import ( MinimalRepositoryPropCustomPropertiesType as MinimalRepositoryPropCustomPropertiesType, ) + from .group_0061 import ( + MinimalRepositoryPropCustomPropertiesTypeForResponse as MinimalRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0061 import ( MinimalRepositoryPropLicenseType as MinimalRepositoryPropLicenseType, ) + from .group_0061 import ( + MinimalRepositoryPropLicenseTypeForResponse as MinimalRepositoryPropLicenseTypeForResponse, + ) from .group_0061 import ( MinimalRepositoryPropPermissionsType as MinimalRepositoryPropPermissionsType, ) + from .group_0061 import ( + MinimalRepositoryPropPermissionsTypeForResponse as MinimalRepositoryPropPermissionsTypeForResponse, + ) from .group_0061 import MinimalRepositoryType as MinimalRepositoryType + from .group_0061 import ( + MinimalRepositoryTypeForResponse as MinimalRepositoryTypeForResponse, + ) from .group_0062 import ThreadPropSubjectType as ThreadPropSubjectType + from .group_0062 import ( + ThreadPropSubjectTypeForResponse as ThreadPropSubjectTypeForResponse, + ) from .group_0062 import ThreadType as ThreadType + from .group_0062 import ThreadTypeForResponse as ThreadTypeForResponse from .group_0063 import ThreadSubscriptionType as ThreadSubscriptionType + from .group_0063 import ( + ThreadSubscriptionTypeForResponse as ThreadSubscriptionTypeForResponse, + ) from .group_0064 import ( DependabotRepositoryAccessDetailsType as DependabotRepositoryAccessDetailsType, ) + from .group_0064 import ( + DependabotRepositoryAccessDetailsTypeForResponse as DependabotRepositoryAccessDetailsTypeForResponse, + ) from .group_0065 import CustomPropertyValueType as CustomPropertyValueType + from .group_0065 import ( + CustomPropertyValueTypeForResponse as CustomPropertyValueTypeForResponse, + ) from .group_0066 import BudgetPropBudgetAlertingType as BudgetPropBudgetAlertingType + from .group_0066 import ( + BudgetPropBudgetAlertingTypeForResponse as BudgetPropBudgetAlertingTypeForResponse, + ) from .group_0066 import BudgetType as BudgetType + from .group_0066 import BudgetTypeForResponse as BudgetTypeForResponse from .group_0066 import GetAllBudgetsType as GetAllBudgetsType + from .group_0066 import GetAllBudgetsTypeForResponse as GetAllBudgetsTypeForResponse from .group_0067 import ( GetBudgetPropBudgetAlertingType as GetBudgetPropBudgetAlertingType, ) + from .group_0067 import ( + GetBudgetPropBudgetAlertingTypeForResponse as GetBudgetPropBudgetAlertingTypeForResponse, + ) from .group_0067 import GetBudgetType as GetBudgetType + from .group_0067 import GetBudgetTypeForResponse as GetBudgetTypeForResponse from .group_0068 import DeleteBudgetType as DeleteBudgetType + from .group_0068 import DeleteBudgetTypeForResponse as DeleteBudgetTypeForResponse from .group_0069 import ( BillingPremiumRequestUsageReportOrgPropTimePeriodType as BillingPremiumRequestUsageReportOrgPropTimePeriodType, ) + from .group_0069 import ( + BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse as BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse, + ) from .group_0069 import ( BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType as BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType, ) + from .group_0069 import ( + BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse as BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse, + ) from .group_0069 import ( BillingPremiumRequestUsageReportOrgType as BillingPremiumRequestUsageReportOrgType, ) + from .group_0069 import ( + BillingPremiumRequestUsageReportOrgTypeForResponse as BillingPremiumRequestUsageReportOrgTypeForResponse, + ) from .group_0070 import ( BillingUsageReportPropUsageItemsItemsType as BillingUsageReportPropUsageItemsItemsType, ) + from .group_0070 import ( + BillingUsageReportPropUsageItemsItemsTypeForResponse as BillingUsageReportPropUsageItemsItemsTypeForResponse, + ) from .group_0070 import BillingUsageReportType as BillingUsageReportType + from .group_0070 import ( + BillingUsageReportTypeForResponse as BillingUsageReportTypeForResponse, + ) from .group_0071 import ( BillingUsageSummaryReportOrgPropTimePeriodType as BillingUsageSummaryReportOrgPropTimePeriodType, ) + from .group_0071 import ( + BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse as BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse, + ) from .group_0071 import ( BillingUsageSummaryReportOrgPropUsageItemsItemsType as BillingUsageSummaryReportOrgPropUsageItemsItemsType, ) + from .group_0071 import ( + BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse as BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse, + ) from .group_0071 import ( BillingUsageSummaryReportOrgType as BillingUsageSummaryReportOrgType, ) + from .group_0071 import ( + BillingUsageSummaryReportOrgTypeForResponse as BillingUsageSummaryReportOrgTypeForResponse, + ) from .group_0072 import OrganizationFullPropPlanType as OrganizationFullPropPlanType + from .group_0072 import ( + OrganizationFullPropPlanTypeForResponse as OrganizationFullPropPlanTypeForResponse, + ) from .group_0072 import OrganizationFullType as OrganizationFullType + from .group_0072 import ( + OrganizationFullTypeForResponse as OrganizationFullTypeForResponse, + ) from .group_0073 import ( ActionsCacheUsageOrgEnterpriseType as ActionsCacheUsageOrgEnterpriseType, ) + from .group_0073 import ( + ActionsCacheUsageOrgEnterpriseTypeForResponse as ActionsCacheUsageOrgEnterpriseTypeForResponse, + ) from .group_0074 import ( ActionsHostedRunnerMachineSpecType as ActionsHostedRunnerMachineSpecType, ) + from .group_0074 import ( + ActionsHostedRunnerMachineSpecTypeForResponse as ActionsHostedRunnerMachineSpecTypeForResponse, + ) from .group_0075 import ( ActionsHostedRunnerPoolImageType as ActionsHostedRunnerPoolImageType, ) + from .group_0075 import ( + ActionsHostedRunnerPoolImageTypeForResponse as ActionsHostedRunnerPoolImageTypeForResponse, + ) from .group_0075 import ActionsHostedRunnerType as ActionsHostedRunnerType + from .group_0075 import ( + ActionsHostedRunnerTypeForResponse as ActionsHostedRunnerTypeForResponse, + ) from .group_0075 import PublicIpType as PublicIpType + from .group_0075 import PublicIpTypeForResponse as PublicIpTypeForResponse from .group_0076 import ( ActionsHostedRunnerCuratedImageType as ActionsHostedRunnerCuratedImageType, ) + from .group_0076 import ( + ActionsHostedRunnerCuratedImageTypeForResponse as ActionsHostedRunnerCuratedImageTypeForResponse, + ) from .group_0077 import ( ActionsHostedRunnerLimitsPropPublicIpsType as ActionsHostedRunnerLimitsPropPublicIpsType, ) + from .group_0077 import ( + ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse as ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse, + ) from .group_0077 import ( ActionsHostedRunnerLimitsType as ActionsHostedRunnerLimitsType, ) + from .group_0077 import ( + ActionsHostedRunnerLimitsTypeForResponse as ActionsHostedRunnerLimitsTypeForResponse, + ) from .group_0078 import OidcCustomSubType as OidcCustomSubType + from .group_0078 import OidcCustomSubTypeForResponse as OidcCustomSubTypeForResponse from .group_0079 import ( ActionsOrganizationPermissionsType as ActionsOrganizationPermissionsType, ) + from .group_0079 import ( + ActionsOrganizationPermissionsTypeForResponse as ActionsOrganizationPermissionsTypeForResponse, + ) from .group_0080 import ( ActionsArtifactAndLogRetentionResponseType as ActionsArtifactAndLogRetentionResponseType, ) + from .group_0080 import ( + ActionsArtifactAndLogRetentionResponseTypeForResponse as ActionsArtifactAndLogRetentionResponseTypeForResponse, + ) from .group_0081 import ( ActionsArtifactAndLogRetentionType as ActionsArtifactAndLogRetentionType, ) + from .group_0081 import ( + ActionsArtifactAndLogRetentionTypeForResponse as ActionsArtifactAndLogRetentionTypeForResponse, + ) from .group_0082 import ( ActionsForkPrContributorApprovalType as ActionsForkPrContributorApprovalType, ) + from .group_0082 import ( + ActionsForkPrContributorApprovalTypeForResponse as ActionsForkPrContributorApprovalTypeForResponse, + ) from .group_0083 import ( ActionsForkPrWorkflowsPrivateReposType as ActionsForkPrWorkflowsPrivateReposType, ) + from .group_0083 import ( + ActionsForkPrWorkflowsPrivateReposTypeForResponse as ActionsForkPrWorkflowsPrivateReposTypeForResponse, + ) from .group_0084 import ( ActionsForkPrWorkflowsPrivateReposRequestType as ActionsForkPrWorkflowsPrivateReposRequestType, ) + from .group_0084 import ( + ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse as ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse, + ) from .group_0085 import SelectedActionsType as SelectedActionsType + from .group_0085 import ( + SelectedActionsTypeForResponse as SelectedActionsTypeForResponse, + ) from .group_0086 import ( SelfHostedRunnersSettingsType as SelfHostedRunnersSettingsType, ) + from .group_0086 import ( + SelfHostedRunnersSettingsTypeForResponse as SelfHostedRunnersSettingsTypeForResponse, + ) from .group_0087 import ( ActionsGetDefaultWorkflowPermissionsType as ActionsGetDefaultWorkflowPermissionsType, ) + from .group_0087 import ( + ActionsGetDefaultWorkflowPermissionsTypeForResponse as ActionsGetDefaultWorkflowPermissionsTypeForResponse, + ) from .group_0088 import ( ActionsSetDefaultWorkflowPermissionsType as ActionsSetDefaultWorkflowPermissionsType, ) + from .group_0088 import ( + ActionsSetDefaultWorkflowPermissionsTypeForResponse as ActionsSetDefaultWorkflowPermissionsTypeForResponse, + ) from .group_0089 import RunnerLabelType as RunnerLabelType + from .group_0089 import RunnerLabelTypeForResponse as RunnerLabelTypeForResponse from .group_0090 import RunnerType as RunnerType + from .group_0090 import RunnerTypeForResponse as RunnerTypeForResponse from .group_0091 import RunnerApplicationType as RunnerApplicationType + from .group_0091 import ( + RunnerApplicationTypeForResponse as RunnerApplicationTypeForResponse, + ) from .group_0092 import ( AuthenticationTokenPropPermissionsType as AuthenticationTokenPropPermissionsType, ) + from .group_0092 import ( + AuthenticationTokenPropPermissionsTypeForResponse as AuthenticationTokenPropPermissionsTypeForResponse, + ) from .group_0092 import AuthenticationTokenType as AuthenticationTokenType + from .group_0092 import ( + AuthenticationTokenTypeForResponse as AuthenticationTokenTypeForResponse, + ) from .group_0093 import ActionsPublicKeyType as ActionsPublicKeyType + from .group_0093 import ( + ActionsPublicKeyTypeForResponse as ActionsPublicKeyTypeForResponse, + ) from .group_0094 import TeamSimpleType as TeamSimpleType + from .group_0094 import TeamSimpleTypeForResponse as TeamSimpleTypeForResponse from .group_0095 import TeamPropPermissionsType as TeamPropPermissionsType + from .group_0095 import ( + TeamPropPermissionsTypeForResponse as TeamPropPermissionsTypeForResponse, + ) from .group_0095 import TeamType as TeamType + from .group_0095 import TeamTypeForResponse as TeamTypeForResponse from .group_0096 import ( CampaignSummaryPropAlertStatsType as CampaignSummaryPropAlertStatsType, ) + from .group_0096 import ( + CampaignSummaryPropAlertStatsTypeForResponse as CampaignSummaryPropAlertStatsTypeForResponse, + ) from .group_0096 import CampaignSummaryType as CampaignSummaryType + from .group_0096 import ( + CampaignSummaryTypeForResponse as CampaignSummaryTypeForResponse, + ) from .group_0097 import ( CodeScanningAlertRuleSummaryType as CodeScanningAlertRuleSummaryType, ) + from .group_0097 import ( + CodeScanningAlertRuleSummaryTypeForResponse as CodeScanningAlertRuleSummaryTypeForResponse, + ) from .group_0098 import CodeScanningAnalysisToolType as CodeScanningAnalysisToolType + from .group_0098 import ( + CodeScanningAnalysisToolTypeForResponse as CodeScanningAnalysisToolTypeForResponse, + ) from .group_0099 import ( CodeScanningAlertInstancePropMessageType as CodeScanningAlertInstancePropMessageType, ) + from .group_0099 import ( + CodeScanningAlertInstancePropMessageTypeForResponse as CodeScanningAlertInstancePropMessageTypeForResponse, + ) from .group_0099 import ( CodeScanningAlertInstanceType as CodeScanningAlertInstanceType, ) + from .group_0099 import ( + CodeScanningAlertInstanceTypeForResponse as CodeScanningAlertInstanceTypeForResponse, + ) from .group_0099 import ( CodeScanningAlertLocationType as CodeScanningAlertLocationType, ) + from .group_0099 import ( + CodeScanningAlertLocationTypeForResponse as CodeScanningAlertLocationTypeForResponse, + ) from .group_0100 import ( CodeScanningOrganizationAlertItemsType as CodeScanningOrganizationAlertItemsType, ) + from .group_0100 import ( + CodeScanningOrganizationAlertItemsTypeForResponse as CodeScanningOrganizationAlertItemsTypeForResponse, + ) from .group_0101 import CodespaceMachineType as CodespaceMachineType + from .group_0101 import ( + CodespaceMachineTypeForResponse as CodespaceMachineTypeForResponse, + ) from .group_0102 import CodespacePropGitStatusType as CodespacePropGitStatusType + from .group_0102 import ( + CodespacePropGitStatusTypeForResponse as CodespacePropGitStatusTypeForResponse, + ) from .group_0102 import ( CodespacePropRuntimeConstraintsType as CodespacePropRuntimeConstraintsType, ) + from .group_0102 import ( + CodespacePropRuntimeConstraintsTypeForResponse as CodespacePropRuntimeConstraintsTypeForResponse, + ) from .group_0102 import CodespaceType as CodespaceType + from .group_0102 import CodespaceTypeForResponse as CodespaceTypeForResponse from .group_0103 import CodespacesPublicKeyType as CodespacesPublicKeyType + from .group_0103 import ( + CodespacesPublicKeyTypeForResponse as CodespacesPublicKeyTypeForResponse, + ) from .group_0104 import ( CopilotOrganizationDetailsType as CopilotOrganizationDetailsType, ) + from .group_0104 import ( + CopilotOrganizationDetailsTypeForResponse as CopilotOrganizationDetailsTypeForResponse, + ) from .group_0104 import ( CopilotOrganizationSeatBreakdownType as CopilotOrganizationSeatBreakdownType, ) + from .group_0104 import ( + CopilotOrganizationSeatBreakdownTypeForResponse as CopilotOrganizationSeatBreakdownTypeForResponse, + ) from .group_0105 import CopilotSeatDetailsType as CopilotSeatDetailsType + from .group_0105 import ( + CopilotSeatDetailsTypeForResponse as CopilotSeatDetailsTypeForResponse, + ) from .group_0105 import EnterpriseTeamType as EnterpriseTeamType + from .group_0105 import ( + EnterpriseTeamTypeForResponse as EnterpriseTeamTypeForResponse, + ) from .group_0105 import ( OrgsOrgCopilotBillingSeatsGetResponse200Type as OrgsOrgCopilotBillingSeatsGetResponse200Type, ) + from .group_0105 import ( + OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse as OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse, + ) from .group_0106 import ( CopilotDotcomChatPropModelsItemsType as CopilotDotcomChatPropModelsItemsType, ) + from .group_0106 import ( + CopilotDotcomChatPropModelsItemsTypeForResponse as CopilotDotcomChatPropModelsItemsTypeForResponse, + ) from .group_0106 import CopilotDotcomChatType as CopilotDotcomChatType + from .group_0106 import ( + CopilotDotcomChatTypeForResponse as CopilotDotcomChatTypeForResponse, + ) from .group_0106 import ( CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType as CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType, ) + from .group_0106 import ( + CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse as CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse, + ) from .group_0106 import ( CopilotDotcomPullRequestsPropRepositoriesItemsType as CopilotDotcomPullRequestsPropRepositoriesItemsType, ) + from .group_0106 import ( + CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse as CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse, + ) from .group_0106 import ( CopilotDotcomPullRequestsType as CopilotDotcomPullRequestsType, ) + from .group_0106 import ( + CopilotDotcomPullRequestsTypeForResponse as CopilotDotcomPullRequestsTypeForResponse, + ) from .group_0106 import ( CopilotIdeChatPropEditorsItemsPropModelsItemsType as CopilotIdeChatPropEditorsItemsPropModelsItemsType, ) + from .group_0106 import ( + CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse as CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse, + ) from .group_0106 import ( CopilotIdeChatPropEditorsItemsType as CopilotIdeChatPropEditorsItemsType, ) + from .group_0106 import ( + CopilotIdeChatPropEditorsItemsTypeForResponse as CopilotIdeChatPropEditorsItemsTypeForResponse, + ) from .group_0106 import CopilotIdeChatType as CopilotIdeChatType + from .group_0106 import ( + CopilotIdeChatTypeForResponse as CopilotIdeChatTypeForResponse, + ) from .group_0106 import ( CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType, ) + from .group_0106 import ( + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse, + ) from .group_0106 import ( CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType, ) + from .group_0106 import ( + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse, + ) from .group_0106 import ( CopilotIdeCodeCompletionsPropEditorsItemsType as CopilotIdeCodeCompletionsPropEditorsItemsType, ) + from .group_0106 import ( + CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse as CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse, + ) from .group_0106 import ( CopilotIdeCodeCompletionsPropLanguagesItemsType as CopilotIdeCodeCompletionsPropLanguagesItemsType, ) + from .group_0106 import ( + CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse as CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse, + ) from .group_0106 import ( CopilotIdeCodeCompletionsType as CopilotIdeCodeCompletionsType, ) + from .group_0106 import ( + CopilotIdeCodeCompletionsTypeForResponse as CopilotIdeCodeCompletionsTypeForResponse, + ) from .group_0106 import CopilotUsageMetricsDayType as CopilotUsageMetricsDayType + from .group_0106 import ( + CopilotUsageMetricsDayTypeForResponse as CopilotUsageMetricsDayTypeForResponse, + ) from .group_0107 import DependabotPublicKeyType as DependabotPublicKeyType + from .group_0107 import ( + DependabotPublicKeyTypeForResponse as DependabotPublicKeyTypeForResponse, + ) from .group_0108 import PackageType as PackageType + from .group_0108 import PackageTypeForResponse as PackageTypeForResponse from .group_0109 import OrganizationInvitationType as OrganizationInvitationType + from .group_0109 import ( + OrganizationInvitationTypeForResponse as OrganizationInvitationTypeForResponse, + ) from .group_0110 import OrgHookPropConfigType as OrgHookPropConfigType + from .group_0110 import ( + OrgHookPropConfigTypeForResponse as OrgHookPropConfigTypeForResponse, + ) from .group_0110 import OrgHookType as OrgHookType + from .group_0110 import OrgHookTypeForResponse as OrgHookTypeForResponse from .group_0111 import ( ApiInsightsRouteStatsItemsType as ApiInsightsRouteStatsItemsType, ) + from .group_0111 import ( + ApiInsightsRouteStatsItemsTypeForResponse as ApiInsightsRouteStatsItemsTypeForResponse, + ) from .group_0112 import ( ApiInsightsSubjectStatsItemsType as ApiInsightsSubjectStatsItemsType, ) + from .group_0112 import ( + ApiInsightsSubjectStatsItemsTypeForResponse as ApiInsightsSubjectStatsItemsTypeForResponse, + ) from .group_0113 import ApiInsightsSummaryStatsType as ApiInsightsSummaryStatsType + from .group_0113 import ( + ApiInsightsSummaryStatsTypeForResponse as ApiInsightsSummaryStatsTypeForResponse, + ) from .group_0114 import ( ApiInsightsTimeStatsItemsType as ApiInsightsTimeStatsItemsType, ) + from .group_0114 import ( + ApiInsightsTimeStatsItemsTypeForResponse as ApiInsightsTimeStatsItemsTypeForResponse, + ) from .group_0115 import ( ApiInsightsUserStatsItemsType as ApiInsightsUserStatsItemsType, ) + from .group_0115 import ( + ApiInsightsUserStatsItemsTypeForResponse as ApiInsightsUserStatsItemsTypeForResponse, + ) from .group_0116 import InteractionLimitResponseType as InteractionLimitResponseType + from .group_0116 import ( + InteractionLimitResponseTypeForResponse as InteractionLimitResponseTypeForResponse, + ) from .group_0117 import InteractionLimitType as InteractionLimitType + from .group_0117 import ( + InteractionLimitTypeForResponse as InteractionLimitTypeForResponse, + ) from .group_0118 import ( OrganizationCreateIssueTypeType as OrganizationCreateIssueTypeType, ) + from .group_0118 import ( + OrganizationCreateIssueTypeTypeForResponse as OrganizationCreateIssueTypeTypeForResponse, + ) from .group_0119 import ( OrganizationUpdateIssueTypeType as OrganizationUpdateIssueTypeType, ) + from .group_0119 import ( + OrganizationUpdateIssueTypeTypeForResponse as OrganizationUpdateIssueTypeTypeForResponse, + ) from .group_0120 import ( OrgMembershipPropPermissionsType as OrgMembershipPropPermissionsType, ) + from .group_0120 import ( + OrgMembershipPropPermissionsTypeForResponse as OrgMembershipPropPermissionsTypeForResponse, + ) from .group_0120 import OrgMembershipType as OrgMembershipType + from .group_0120 import OrgMembershipTypeForResponse as OrgMembershipTypeForResponse from .group_0121 import MigrationType as MigrationType + from .group_0121 import MigrationTypeForResponse as MigrationTypeForResponse from .group_0122 import OrganizationRoleType as OrganizationRoleType + from .group_0122 import ( + OrganizationRoleTypeForResponse as OrganizationRoleTypeForResponse, + ) from .group_0122 import ( OrgsOrgOrganizationRolesGetResponse200Type as OrgsOrgOrganizationRolesGetResponse200Type, ) + from .group_0122 import ( + OrgsOrgOrganizationRolesGetResponse200TypeForResponse as OrgsOrgOrganizationRolesGetResponse200TypeForResponse, + ) from .group_0123 import ( TeamRoleAssignmentPropPermissionsType as TeamRoleAssignmentPropPermissionsType, ) + from .group_0123 import ( + TeamRoleAssignmentPropPermissionsTypeForResponse as TeamRoleAssignmentPropPermissionsTypeForResponse, + ) from .group_0123 import TeamRoleAssignmentType as TeamRoleAssignmentType + from .group_0123 import ( + TeamRoleAssignmentTypeForResponse as TeamRoleAssignmentTypeForResponse, + ) from .group_0124 import UserRoleAssignmentType as UserRoleAssignmentType + from .group_0124 import ( + UserRoleAssignmentTypeForResponse as UserRoleAssignmentTypeForResponse, + ) from .group_0125 import ( PackageVersionPropMetadataPropContainerType as PackageVersionPropMetadataPropContainerType, ) + from .group_0125 import ( + PackageVersionPropMetadataPropContainerTypeForResponse as PackageVersionPropMetadataPropContainerTypeForResponse, + ) from .group_0125 import ( PackageVersionPropMetadataPropDockerType as PackageVersionPropMetadataPropDockerType, ) + from .group_0125 import ( + PackageVersionPropMetadataPropDockerTypeForResponse as PackageVersionPropMetadataPropDockerTypeForResponse, + ) from .group_0125 import ( PackageVersionPropMetadataType as PackageVersionPropMetadataType, ) + from .group_0125 import ( + PackageVersionPropMetadataTypeForResponse as PackageVersionPropMetadataTypeForResponse, + ) from .group_0125 import PackageVersionType as PackageVersionType + from .group_0125 import ( + PackageVersionTypeForResponse as PackageVersionTypeForResponse, + ) from .group_0126 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType, ) + from .group_0126 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse, + ) from .group_0126 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType, ) + from .group_0126 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse, + ) from .group_0126 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType, ) + from .group_0126 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse, + ) from .group_0126 import ( OrganizationProgrammaticAccessGrantRequestPropPermissionsType as OrganizationProgrammaticAccessGrantRequestPropPermissionsType, ) + from .group_0126 import ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse as OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse, + ) from .group_0126 import ( OrganizationProgrammaticAccessGrantRequestType as OrganizationProgrammaticAccessGrantRequestType, ) + from .group_0126 import ( + OrganizationProgrammaticAccessGrantRequestTypeForResponse as OrganizationProgrammaticAccessGrantRequestTypeForResponse, + ) from .group_0127 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType as OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType, ) + from .group_0127 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse, + ) from .group_0127 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType as OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType, ) + from .group_0127 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse, + ) from .group_0127 import ( OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType as OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType, ) + from .group_0127 import ( + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse, + ) from .group_0127 import ( OrganizationProgrammaticAccessGrantPropPermissionsType as OrganizationProgrammaticAccessGrantPropPermissionsType, ) + from .group_0127 import ( + OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse as OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse, + ) from .group_0127 import ( OrganizationProgrammaticAccessGrantType as OrganizationProgrammaticAccessGrantType, ) + from .group_0127 import ( + OrganizationProgrammaticAccessGrantTypeForResponse as OrganizationProgrammaticAccessGrantTypeForResponse, + ) from .group_0128 import ( OrgPrivateRegistryConfigurationWithSelectedRepositoriesType as OrgPrivateRegistryConfigurationWithSelectedRepositoriesType, ) + from .group_0128 import ( + OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse as OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse, + ) from .group_0129 import ProjectsV2StatusUpdateType as ProjectsV2StatusUpdateType + from .group_0129 import ( + ProjectsV2StatusUpdateTypeForResponse as ProjectsV2StatusUpdateTypeForResponse, + ) from .group_0130 import ProjectsV2Type as ProjectsV2Type + from .group_0130 import ProjectsV2TypeForResponse as ProjectsV2TypeForResponse from .group_0131 import LinkType as LinkType + from .group_0131 import LinkTypeForResponse as LinkTypeForResponse from .group_0132 import AutoMergeType as AutoMergeType + from .group_0132 import AutoMergeTypeForResponse as AutoMergeTypeForResponse from .group_0133 import ( PullRequestSimplePropLabelsItemsType as PullRequestSimplePropLabelsItemsType, ) + from .group_0133 import ( + PullRequestSimplePropLabelsItemsTypeForResponse as PullRequestSimplePropLabelsItemsTypeForResponse, + ) from .group_0133 import PullRequestSimpleType as PullRequestSimpleType + from .group_0133 import ( + PullRequestSimpleTypeForResponse as PullRequestSimpleTypeForResponse, + ) from .group_0134 import ( PullRequestSimplePropBaseType as PullRequestSimplePropBaseType, ) + from .group_0134 import ( + PullRequestSimplePropBaseTypeForResponse as PullRequestSimplePropBaseTypeForResponse, + ) from .group_0134 import ( PullRequestSimplePropHeadType as PullRequestSimplePropHeadType, ) + from .group_0134 import ( + PullRequestSimplePropHeadTypeForResponse as PullRequestSimplePropHeadTypeForResponse, + ) from .group_0135 import ( PullRequestSimplePropLinksType as PullRequestSimplePropLinksType, ) + from .group_0135 import ( + PullRequestSimplePropLinksTypeForResponse as PullRequestSimplePropLinksTypeForResponse, + ) from .group_0136 import ProjectsV2DraftIssueType as ProjectsV2DraftIssueType + from .group_0136 import ( + ProjectsV2DraftIssueTypeForResponse as ProjectsV2DraftIssueTypeForResponse, + ) from .group_0137 import ProjectsV2ItemSimpleType as ProjectsV2ItemSimpleType + from .group_0137 import ( + ProjectsV2ItemSimpleTypeForResponse as ProjectsV2ItemSimpleTypeForResponse, + ) from .group_0138 import ( ProjectsV2FieldPropConfigurationType as ProjectsV2FieldPropConfigurationType, ) + from .group_0138 import ( + ProjectsV2FieldPropConfigurationTypeForResponse as ProjectsV2FieldPropConfigurationTypeForResponse, + ) from .group_0138 import ProjectsV2FieldType as ProjectsV2FieldType + from .group_0138 import ( + ProjectsV2FieldTypeForResponse as ProjectsV2FieldTypeForResponse, + ) from .group_0138 import ( ProjectsV2IterationSettingsPropTitleType as ProjectsV2IterationSettingsPropTitleType, ) + from .group_0138 import ( + ProjectsV2IterationSettingsPropTitleTypeForResponse as ProjectsV2IterationSettingsPropTitleTypeForResponse, + ) from .group_0138 import ( ProjectsV2IterationSettingsType as ProjectsV2IterationSettingsType, ) + from .group_0138 import ( + ProjectsV2IterationSettingsTypeForResponse as ProjectsV2IterationSettingsTypeForResponse, + ) from .group_0138 import ( ProjectsV2SingleSelectOptionsPropDescriptionType as ProjectsV2SingleSelectOptionsPropDescriptionType, ) + from .group_0138 import ( + ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse as ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse, + ) from .group_0138 import ( ProjectsV2SingleSelectOptionsPropNameType as ProjectsV2SingleSelectOptionsPropNameType, ) + from .group_0138 import ( + ProjectsV2SingleSelectOptionsPropNameTypeForResponse as ProjectsV2SingleSelectOptionsPropNameTypeForResponse, + ) from .group_0138 import ( ProjectsV2SingleSelectOptionsType as ProjectsV2SingleSelectOptionsType, ) + from .group_0138 import ( + ProjectsV2SingleSelectOptionsTypeForResponse as ProjectsV2SingleSelectOptionsTypeForResponse, + ) from .group_0139 import ( ProjectsV2ItemWithContentPropContentType as ProjectsV2ItemWithContentPropContentType, ) + from .group_0139 import ( + ProjectsV2ItemWithContentPropContentTypeForResponse as ProjectsV2ItemWithContentPropContentTypeForResponse, + ) from .group_0139 import ( ProjectsV2ItemWithContentPropFieldsItemsType as ProjectsV2ItemWithContentPropFieldsItemsType, ) + from .group_0139 import ( + ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse as ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse, + ) from .group_0139 import ( ProjectsV2ItemWithContentType as ProjectsV2ItemWithContentType, ) + from .group_0139 import ( + ProjectsV2ItemWithContentTypeForResponse as ProjectsV2ItemWithContentTypeForResponse, + ) from .group_0140 import CustomPropertyType as CustomPropertyType + from .group_0140 import ( + CustomPropertyTypeForResponse as CustomPropertyTypeForResponse, + ) from .group_0141 import CustomPropertySetPayloadType as CustomPropertySetPayloadType + from .group_0141 import ( + CustomPropertySetPayloadTypeForResponse as CustomPropertySetPayloadTypeForResponse, + ) from .group_0142 import ( OrgRepoCustomPropertyValuesType as OrgRepoCustomPropertyValuesType, ) + from .group_0142 import ( + OrgRepoCustomPropertyValuesTypeForResponse as OrgRepoCustomPropertyValuesTypeForResponse, + ) from .group_0143 import CodeOfConductSimpleType as CodeOfConductSimpleType + from .group_0143 import ( + CodeOfConductSimpleTypeForResponse as CodeOfConductSimpleTypeForResponse, + ) from .group_0144 import ( FullRepositoryPropCustomPropertiesType as FullRepositoryPropCustomPropertiesType, ) + from .group_0144 import ( + FullRepositoryPropCustomPropertiesTypeForResponse as FullRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0144 import ( FullRepositoryPropPermissionsType as FullRepositoryPropPermissionsType, ) + from .group_0144 import ( + FullRepositoryPropPermissionsTypeForResponse as FullRepositoryPropPermissionsTypeForResponse, + ) from .group_0144 import FullRepositoryType as FullRepositoryType + from .group_0144 import ( + FullRepositoryTypeForResponse as FullRepositoryTypeForResponse, + ) from .group_0145 import ( RepositoryRulesetBypassActorType as RepositoryRulesetBypassActorType, ) + from .group_0145 import ( + RepositoryRulesetBypassActorTypeForResponse as RepositoryRulesetBypassActorTypeForResponse, + ) from .group_0146 import ( RepositoryRulesetConditionsType as RepositoryRulesetConditionsType, ) + from .group_0146 import ( + RepositoryRulesetConditionsTypeForResponse as RepositoryRulesetConditionsTypeForResponse, + ) from .group_0147 import ( RepositoryRulesetConditionsPropRefNameType as RepositoryRulesetConditionsPropRefNameType, ) + from .group_0147 import ( + RepositoryRulesetConditionsPropRefNameTypeForResponse as RepositoryRulesetConditionsPropRefNameTypeForResponse, + ) from .group_0148 import ( RepositoryRulesetConditionsRepositoryNameTargetType as RepositoryRulesetConditionsRepositoryNameTargetType, ) + from .group_0148 import ( + RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse as RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse, + ) from .group_0149 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType as RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, ) + from .group_0149 import ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse as RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, + ) from .group_0150 import ( RepositoryRulesetConditionsRepositoryIdTargetType as RepositoryRulesetConditionsRepositoryIdTargetType, ) + from .group_0150 import ( + RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse as RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse, + ) from .group_0151 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType as RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, ) + from .group_0151 import ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse as RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, + ) from .group_0152 import ( RepositoryRulesetConditionsRepositoryPropertyTargetType as RepositoryRulesetConditionsRepositoryPropertyTargetType, ) + from .group_0152 import ( + RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse as RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse, + ) from .group_0153 import ( RepositoryRulesetConditionsRepositoryPropertySpecType as RepositoryRulesetConditionsRepositoryPropertySpecType, ) + from .group_0153 import ( + RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse as RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse, + ) from .group_0153 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType as RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, ) + from .group_0153 import ( + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse as RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, + ) from .group_0154 import ( OrgRulesetConditionsOneof0Type as OrgRulesetConditionsOneof0Type, ) + from .group_0154 import ( + OrgRulesetConditionsOneof0TypeForResponse as OrgRulesetConditionsOneof0TypeForResponse, + ) from .group_0155 import ( OrgRulesetConditionsOneof1Type as OrgRulesetConditionsOneof1Type, ) + from .group_0155 import ( + OrgRulesetConditionsOneof1TypeForResponse as OrgRulesetConditionsOneof1TypeForResponse, + ) from .group_0156 import ( OrgRulesetConditionsOneof2Type as OrgRulesetConditionsOneof2Type, ) + from .group_0156 import ( + OrgRulesetConditionsOneof2TypeForResponse as OrgRulesetConditionsOneof2TypeForResponse, + ) from .group_0157 import RepositoryRuleCreationType as RepositoryRuleCreationType + from .group_0157 import ( + RepositoryRuleCreationTypeForResponse as RepositoryRuleCreationTypeForResponse, + ) from .group_0157 import RepositoryRuleDeletionType as RepositoryRuleDeletionType + from .group_0157 import ( + RepositoryRuleDeletionTypeForResponse as RepositoryRuleDeletionTypeForResponse, + ) from .group_0157 import ( RepositoryRuleNonFastForwardType as RepositoryRuleNonFastForwardType, ) + from .group_0157 import ( + RepositoryRuleNonFastForwardTypeForResponse as RepositoryRuleNonFastForwardTypeForResponse, + ) from .group_0157 import ( RepositoryRuleRequiredSignaturesType as RepositoryRuleRequiredSignaturesType, ) + from .group_0157 import ( + RepositoryRuleRequiredSignaturesTypeForResponse as RepositoryRuleRequiredSignaturesTypeForResponse, + ) from .group_0158 import RepositoryRuleUpdateType as RepositoryRuleUpdateType + from .group_0158 import ( + RepositoryRuleUpdateTypeForResponse as RepositoryRuleUpdateTypeForResponse, + ) from .group_0159 import ( RepositoryRuleUpdatePropParametersType as RepositoryRuleUpdatePropParametersType, ) + from .group_0159 import ( + RepositoryRuleUpdatePropParametersTypeForResponse as RepositoryRuleUpdatePropParametersTypeForResponse, + ) from .group_0160 import ( RepositoryRuleRequiredLinearHistoryType as RepositoryRuleRequiredLinearHistoryType, ) + from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryTypeForResponse as RepositoryRuleRequiredLinearHistoryTypeForResponse, + ) from .group_0161 import RepositoryRuleMergeQueueType as RepositoryRuleMergeQueueType + from .group_0161 import ( + RepositoryRuleMergeQueueTypeForResponse as RepositoryRuleMergeQueueTypeForResponse, + ) from .group_0162 import ( RepositoryRuleMergeQueuePropParametersType as RepositoryRuleMergeQueuePropParametersType, ) + from .group_0162 import ( + RepositoryRuleMergeQueuePropParametersTypeForResponse as RepositoryRuleMergeQueuePropParametersTypeForResponse, + ) from .group_0163 import ( RepositoryRuleRequiredDeploymentsType as RepositoryRuleRequiredDeploymentsType, ) + from .group_0163 import ( + RepositoryRuleRequiredDeploymentsTypeForResponse as RepositoryRuleRequiredDeploymentsTypeForResponse, + ) from .group_0164 import ( RepositoryRuleRequiredDeploymentsPropParametersType as RepositoryRuleRequiredDeploymentsPropParametersType, ) + from .group_0164 import ( + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse as RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, + ) from .group_0165 import ( RepositoryRuleParamsRequiredReviewerConfigurationType as RepositoryRuleParamsRequiredReviewerConfigurationType, ) + from .group_0165 import ( + RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse as RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse, + ) from .group_0165 import ( RepositoryRuleParamsReviewerType as RepositoryRuleParamsReviewerType, ) + from .group_0165 import ( + RepositoryRuleParamsReviewerTypeForResponse as RepositoryRuleParamsReviewerTypeForResponse, + ) from .group_0166 import ( RepositoryRulePullRequestType as RepositoryRulePullRequestType, ) + from .group_0166 import ( + RepositoryRulePullRequestTypeForResponse as RepositoryRulePullRequestTypeForResponse, + ) from .group_0167 import ( RepositoryRulePullRequestPropParametersType as RepositoryRulePullRequestPropParametersType, ) + from .group_0167 import ( + RepositoryRulePullRequestPropParametersTypeForResponse as RepositoryRulePullRequestPropParametersTypeForResponse, + ) from .group_0168 import ( RepositoryRuleRequiredStatusChecksType as RepositoryRuleRequiredStatusChecksType, ) + from .group_0168 import ( + RepositoryRuleRequiredStatusChecksTypeForResponse as RepositoryRuleRequiredStatusChecksTypeForResponse, + ) from .group_0169 import ( RepositoryRuleParamsStatusCheckConfigurationType as RepositoryRuleParamsStatusCheckConfigurationType, ) + from .group_0169 import ( + RepositoryRuleParamsStatusCheckConfigurationTypeForResponse as RepositoryRuleParamsStatusCheckConfigurationTypeForResponse, + ) from .group_0169 import ( RepositoryRuleRequiredStatusChecksPropParametersType as RepositoryRuleRequiredStatusChecksPropParametersType, ) + from .group_0169 import ( + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse as RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, + ) from .group_0170 import ( RepositoryRuleCommitMessagePatternType as RepositoryRuleCommitMessagePatternType, ) + from .group_0170 import ( + RepositoryRuleCommitMessagePatternTypeForResponse as RepositoryRuleCommitMessagePatternTypeForResponse, + ) from .group_0171 import ( RepositoryRuleCommitMessagePatternPropParametersType as RepositoryRuleCommitMessagePatternPropParametersType, ) + from .group_0171 import ( + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse as RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, + ) from .group_0172 import ( RepositoryRuleCommitAuthorEmailPatternType as RepositoryRuleCommitAuthorEmailPatternType, ) + from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternTypeForResponse as RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + ) from .group_0173 import ( RepositoryRuleCommitAuthorEmailPatternPropParametersType as RepositoryRuleCommitAuthorEmailPatternPropParametersType, ) + from .group_0173 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse as RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, + ) from .group_0174 import ( RepositoryRuleCommitterEmailPatternType as RepositoryRuleCommitterEmailPatternType, ) + from .group_0174 import ( + RepositoryRuleCommitterEmailPatternTypeForResponse as RepositoryRuleCommitterEmailPatternTypeForResponse, + ) from .group_0175 import ( RepositoryRuleCommitterEmailPatternPropParametersType as RepositoryRuleCommitterEmailPatternPropParametersType, ) + from .group_0175 import ( + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse as RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, + ) from .group_0176 import ( RepositoryRuleBranchNamePatternType as RepositoryRuleBranchNamePatternType, ) + from .group_0176 import ( + RepositoryRuleBranchNamePatternTypeForResponse as RepositoryRuleBranchNamePatternTypeForResponse, + ) from .group_0177 import ( RepositoryRuleBranchNamePatternPropParametersType as RepositoryRuleBranchNamePatternPropParametersType, ) + from .group_0177 import ( + RepositoryRuleBranchNamePatternPropParametersTypeForResponse as RepositoryRuleBranchNamePatternPropParametersTypeForResponse, + ) from .group_0178 import ( RepositoryRuleTagNamePatternType as RepositoryRuleTagNamePatternType, ) + from .group_0178 import ( + RepositoryRuleTagNamePatternTypeForResponse as RepositoryRuleTagNamePatternTypeForResponse, + ) from .group_0179 import ( RepositoryRuleTagNamePatternPropParametersType as RepositoryRuleTagNamePatternPropParametersType, ) + from .group_0179 import ( + RepositoryRuleTagNamePatternPropParametersTypeForResponse as RepositoryRuleTagNamePatternPropParametersTypeForResponse, + ) from .group_0180 import ( RepositoryRuleFilePathRestrictionType as RepositoryRuleFilePathRestrictionType, ) + from .group_0180 import ( + RepositoryRuleFilePathRestrictionTypeForResponse as RepositoryRuleFilePathRestrictionTypeForResponse, + ) from .group_0181 import ( RepositoryRuleFilePathRestrictionPropParametersType as RepositoryRuleFilePathRestrictionPropParametersType, ) + from .group_0181 import ( + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse as RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, + ) from .group_0182 import ( RepositoryRuleMaxFilePathLengthType as RepositoryRuleMaxFilePathLengthType, ) + from .group_0182 import ( + RepositoryRuleMaxFilePathLengthTypeForResponse as RepositoryRuleMaxFilePathLengthTypeForResponse, + ) from .group_0183 import ( RepositoryRuleMaxFilePathLengthPropParametersType as RepositoryRuleMaxFilePathLengthPropParametersType, ) + from .group_0183 import ( + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse as RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, + ) from .group_0184 import ( RepositoryRuleFileExtensionRestrictionType as RepositoryRuleFileExtensionRestrictionType, ) + from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionTypeForResponse as RepositoryRuleFileExtensionRestrictionTypeForResponse, + ) from .group_0185 import ( RepositoryRuleFileExtensionRestrictionPropParametersType as RepositoryRuleFileExtensionRestrictionPropParametersType, ) + from .group_0185 import ( + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse as RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, + ) from .group_0186 import ( RepositoryRuleMaxFileSizeType as RepositoryRuleMaxFileSizeType, ) + from .group_0186 import ( + RepositoryRuleMaxFileSizeTypeForResponse as RepositoryRuleMaxFileSizeTypeForResponse, + ) from .group_0187 import ( RepositoryRuleMaxFileSizePropParametersType as RepositoryRuleMaxFileSizePropParametersType, ) + from .group_0187 import ( + RepositoryRuleMaxFileSizePropParametersTypeForResponse as RepositoryRuleMaxFileSizePropParametersTypeForResponse, + ) from .group_0188 import ( RepositoryRuleParamsRestrictedCommitsType as RepositoryRuleParamsRestrictedCommitsType, ) + from .group_0188 import ( + RepositoryRuleParamsRestrictedCommitsTypeForResponse as RepositoryRuleParamsRestrictedCommitsTypeForResponse, + ) from .group_0189 import RepositoryRuleWorkflowsType as RepositoryRuleWorkflowsType + from .group_0189 import ( + RepositoryRuleWorkflowsTypeForResponse as RepositoryRuleWorkflowsTypeForResponse, + ) from .group_0190 import ( RepositoryRuleParamsWorkflowFileReferenceType as RepositoryRuleParamsWorkflowFileReferenceType, ) + from .group_0190 import ( + RepositoryRuleParamsWorkflowFileReferenceTypeForResponse as RepositoryRuleParamsWorkflowFileReferenceTypeForResponse, + ) from .group_0190 import ( RepositoryRuleWorkflowsPropParametersType as RepositoryRuleWorkflowsPropParametersType, ) + from .group_0190 import ( + RepositoryRuleWorkflowsPropParametersTypeForResponse as RepositoryRuleWorkflowsPropParametersTypeForResponse, + ) from .group_0191 import ( RepositoryRuleCodeScanningType as RepositoryRuleCodeScanningType, ) + from .group_0191 import ( + RepositoryRuleCodeScanningTypeForResponse as RepositoryRuleCodeScanningTypeForResponse, + ) from .group_0192 import ( RepositoryRuleCodeScanningPropParametersType as RepositoryRuleCodeScanningPropParametersType, ) + from .group_0192 import ( + RepositoryRuleCodeScanningPropParametersTypeForResponse as RepositoryRuleCodeScanningPropParametersTypeForResponse, + ) from .group_0192 import ( RepositoryRuleParamsCodeScanningToolType as RepositoryRuleParamsCodeScanningToolType, ) + from .group_0192 import ( + RepositoryRuleParamsCodeScanningToolTypeForResponse as RepositoryRuleParamsCodeScanningToolTypeForResponse, + ) from .group_0193 import ( RepositoryRuleCopilotCodeReviewType as RepositoryRuleCopilotCodeReviewType, ) + from .group_0193 import ( + RepositoryRuleCopilotCodeReviewTypeForResponse as RepositoryRuleCopilotCodeReviewTypeForResponse, + ) from .group_0194 import ( RepositoryRuleCopilotCodeReviewPropParametersType as RepositoryRuleCopilotCodeReviewPropParametersType, ) + from .group_0194 import ( + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse as RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, + ) from .group_0195 import ( RepositoryRulesetPropLinksPropHtmlType as RepositoryRulesetPropLinksPropHtmlType, ) + from .group_0195 import ( + RepositoryRulesetPropLinksPropHtmlTypeForResponse as RepositoryRulesetPropLinksPropHtmlTypeForResponse, + ) from .group_0195 import ( RepositoryRulesetPropLinksPropSelfType as RepositoryRulesetPropLinksPropSelfType, ) + from .group_0195 import ( + RepositoryRulesetPropLinksPropSelfTypeForResponse as RepositoryRulesetPropLinksPropSelfTypeForResponse, + ) from .group_0195 import ( RepositoryRulesetPropLinksType as RepositoryRulesetPropLinksType, ) + from .group_0195 import ( + RepositoryRulesetPropLinksTypeForResponse as RepositoryRulesetPropLinksTypeForResponse, + ) from .group_0195 import RepositoryRulesetType as RepositoryRulesetType + from .group_0195 import ( + RepositoryRulesetTypeForResponse as RepositoryRulesetTypeForResponse, + ) from .group_0196 import RuleSuitesItemsType as RuleSuitesItemsType + from .group_0196 import ( + RuleSuitesItemsTypeForResponse as RuleSuitesItemsTypeForResponse, + ) from .group_0197 import ( RuleSuitePropRuleEvaluationsItemsPropRuleSourceType as RuleSuitePropRuleEvaluationsItemsPropRuleSourceType, ) + from .group_0197 import ( + RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse as RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse, + ) from .group_0197 import ( RuleSuitePropRuleEvaluationsItemsType as RuleSuitePropRuleEvaluationsItemsType, ) + from .group_0197 import ( + RuleSuitePropRuleEvaluationsItemsTypeForResponse as RuleSuitePropRuleEvaluationsItemsTypeForResponse, + ) from .group_0197 import RuleSuiteType as RuleSuiteType + from .group_0197 import RuleSuiteTypeForResponse as RuleSuiteTypeForResponse from .group_0198 import RulesetVersionType as RulesetVersionType + from .group_0198 import ( + RulesetVersionTypeForResponse as RulesetVersionTypeForResponse, + ) from .group_0199 import RulesetVersionPropActorType as RulesetVersionPropActorType + from .group_0199 import ( + RulesetVersionPropActorTypeForResponse as RulesetVersionPropActorTypeForResponse, + ) from .group_0200 import RulesetVersionWithStateType as RulesetVersionWithStateType + from .group_0200 import ( + RulesetVersionWithStateTypeForResponse as RulesetVersionWithStateTypeForResponse, + ) from .group_0201 import ( RulesetVersionWithStateAllof1Type as RulesetVersionWithStateAllof1Type, ) + from .group_0201 import ( + RulesetVersionWithStateAllof1TypeForResponse as RulesetVersionWithStateAllof1TypeForResponse, + ) from .group_0202 import ( RulesetVersionWithStateAllof1PropStateType as RulesetVersionWithStateAllof1PropStateType, ) + from .group_0202 import ( + RulesetVersionWithStateAllof1PropStateTypeForResponse as RulesetVersionWithStateAllof1PropStateTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationCommitType as SecretScanningLocationCommitType, ) + from .group_0203 import ( + SecretScanningLocationCommitTypeForResponse as SecretScanningLocationCommitTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationDiscussionCommentType as SecretScanningLocationDiscussionCommentType, ) + from .group_0203 import ( + SecretScanningLocationDiscussionCommentTypeForResponse as SecretScanningLocationDiscussionCommentTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationDiscussionTitleType as SecretScanningLocationDiscussionTitleType, ) + from .group_0203 import ( + SecretScanningLocationDiscussionTitleTypeForResponse as SecretScanningLocationDiscussionTitleTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationIssueBodyType as SecretScanningLocationIssueBodyType, ) + from .group_0203 import ( + SecretScanningLocationIssueBodyTypeForResponse as SecretScanningLocationIssueBodyTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationPullRequestBodyType as SecretScanningLocationPullRequestBodyType, ) + from .group_0203 import ( + SecretScanningLocationPullRequestBodyTypeForResponse as SecretScanningLocationPullRequestBodyTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationPullRequestReviewType as SecretScanningLocationPullRequestReviewType, ) + from .group_0203 import ( + SecretScanningLocationPullRequestReviewTypeForResponse as SecretScanningLocationPullRequestReviewTypeForResponse, + ) from .group_0203 import ( SecretScanningLocationWikiCommitType as SecretScanningLocationWikiCommitType, ) + from .group_0203 import ( + SecretScanningLocationWikiCommitTypeForResponse as SecretScanningLocationWikiCommitTypeForResponse, + ) from .group_0204 import ( SecretScanningLocationIssueCommentType as SecretScanningLocationIssueCommentType, ) + from .group_0204 import ( + SecretScanningLocationIssueCommentTypeForResponse as SecretScanningLocationIssueCommentTypeForResponse, + ) from .group_0204 import ( SecretScanningLocationIssueTitleType as SecretScanningLocationIssueTitleType, ) + from .group_0204 import ( + SecretScanningLocationIssueTitleTypeForResponse as SecretScanningLocationIssueTitleTypeForResponse, + ) from .group_0204 import ( SecretScanningLocationPullRequestReviewCommentType as SecretScanningLocationPullRequestReviewCommentType, ) + from .group_0204 import ( + SecretScanningLocationPullRequestReviewCommentTypeForResponse as SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ) from .group_0204 import ( SecretScanningLocationPullRequestTitleType as SecretScanningLocationPullRequestTitleType, ) + from .group_0204 import ( + SecretScanningLocationPullRequestTitleTypeForResponse as SecretScanningLocationPullRequestTitleTypeForResponse, + ) from .group_0205 import ( SecretScanningLocationDiscussionBodyType as SecretScanningLocationDiscussionBodyType, ) + from .group_0205 import ( + SecretScanningLocationDiscussionBodyTypeForResponse as SecretScanningLocationDiscussionBodyTypeForResponse, + ) from .group_0205 import ( SecretScanningLocationPullRequestCommentType as SecretScanningLocationPullRequestCommentType, ) + from .group_0205 import ( + SecretScanningLocationPullRequestCommentTypeForResponse as SecretScanningLocationPullRequestCommentTypeForResponse, + ) from .group_0206 import ( OrganizationSecretScanningAlertType as OrganizationSecretScanningAlertType, ) + from .group_0206 import ( + OrganizationSecretScanningAlertTypeForResponse as OrganizationSecretScanningAlertTypeForResponse, + ) from .group_0207 import ( SecretScanningPatternConfigurationType as SecretScanningPatternConfigurationType, ) + from .group_0207 import ( + SecretScanningPatternConfigurationTypeForResponse as SecretScanningPatternConfigurationTypeForResponse, + ) from .group_0207 import ( SecretScanningPatternOverrideType as SecretScanningPatternOverrideType, ) + from .group_0207 import ( + SecretScanningPatternOverrideTypeForResponse as SecretScanningPatternOverrideTypeForResponse, + ) from .group_0208 import RepositoryAdvisoryCreditType as RepositoryAdvisoryCreditType + from .group_0208 import ( + RepositoryAdvisoryCreditTypeForResponse as RepositoryAdvisoryCreditTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryPropCreditsItemsType as RepositoryAdvisoryPropCreditsItemsType, ) + from .group_0209 import ( + RepositoryAdvisoryPropCreditsItemsTypeForResponse as RepositoryAdvisoryPropCreditsItemsTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryPropCvssType as RepositoryAdvisoryPropCvssType, ) + from .group_0209 import ( + RepositoryAdvisoryPropCvssTypeForResponse as RepositoryAdvisoryPropCvssTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryPropCwesItemsType as RepositoryAdvisoryPropCwesItemsType, ) + from .group_0209 import ( + RepositoryAdvisoryPropCwesItemsTypeForResponse as RepositoryAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryPropIdentifiersItemsType as RepositoryAdvisoryPropIdentifiersItemsType, ) + from .group_0209 import ( + RepositoryAdvisoryPropIdentifiersItemsTypeForResponse as RepositoryAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryPropSubmissionType as RepositoryAdvisoryPropSubmissionType, ) + from .group_0209 import ( + RepositoryAdvisoryPropSubmissionTypeForResponse as RepositoryAdvisoryPropSubmissionTypeForResponse, + ) from .group_0209 import RepositoryAdvisoryType as RepositoryAdvisoryType + from .group_0209 import ( + RepositoryAdvisoryTypeForResponse as RepositoryAdvisoryTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryVulnerabilityPropPackageType as RepositoryAdvisoryVulnerabilityPropPackageType, ) + from .group_0209 import ( + RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse as RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse, + ) from .group_0209 import ( RepositoryAdvisoryVulnerabilityType as RepositoryAdvisoryVulnerabilityType, ) + from .group_0209 import ( + RepositoryAdvisoryVulnerabilityTypeForResponse as RepositoryAdvisoryVulnerabilityTypeForResponse, + ) from .group_0210 import ( ActionsBillingUsagePropMinutesUsedBreakdownType as ActionsBillingUsagePropMinutesUsedBreakdownType, ) + from .group_0210 import ( + ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse as ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse, + ) from .group_0210 import ActionsBillingUsageType as ActionsBillingUsageType + from .group_0210 import ( + ActionsBillingUsageTypeForResponse as ActionsBillingUsageTypeForResponse, + ) from .group_0211 import PackagesBillingUsageType as PackagesBillingUsageType + from .group_0211 import ( + PackagesBillingUsageTypeForResponse as PackagesBillingUsageTypeForResponse, + ) from .group_0212 import CombinedBillingUsageType as CombinedBillingUsageType + from .group_0212 import ( + CombinedBillingUsageTypeForResponse as CombinedBillingUsageTypeForResponse, + ) from .group_0213 import ( ImmutableReleasesOrganizationSettingsType as ImmutableReleasesOrganizationSettingsType, ) + from .group_0213 import ( + ImmutableReleasesOrganizationSettingsTypeForResponse as ImmutableReleasesOrganizationSettingsTypeForResponse, + ) from .group_0214 import NetworkSettingsType as NetworkSettingsType + from .group_0214 import ( + NetworkSettingsTypeForResponse as NetworkSettingsTypeForResponse, + ) from .group_0215 import TeamFullType as TeamFullType + from .group_0215 import TeamFullTypeForResponse as TeamFullTypeForResponse from .group_0215 import TeamOrganizationPropPlanType as TeamOrganizationPropPlanType + from .group_0215 import ( + TeamOrganizationPropPlanTypeForResponse as TeamOrganizationPropPlanTypeForResponse, + ) from .group_0215 import TeamOrganizationType as TeamOrganizationType + from .group_0215 import ( + TeamOrganizationTypeForResponse as TeamOrganizationTypeForResponse, + ) from .group_0216 import TeamDiscussionType as TeamDiscussionType + from .group_0216 import ( + TeamDiscussionTypeForResponse as TeamDiscussionTypeForResponse, + ) from .group_0217 import TeamDiscussionCommentType as TeamDiscussionCommentType + from .group_0217 import ( + TeamDiscussionCommentTypeForResponse as TeamDiscussionCommentTypeForResponse, + ) from .group_0218 import ReactionType as ReactionType + from .group_0218 import ReactionTypeForResponse as ReactionTypeForResponse from .group_0219 import TeamMembershipType as TeamMembershipType + from .group_0219 import ( + TeamMembershipTypeForResponse as TeamMembershipTypeForResponse, + ) from .group_0220 import ( TeamProjectPropPermissionsType as TeamProjectPropPermissionsType, ) + from .group_0220 import ( + TeamProjectPropPermissionsTypeForResponse as TeamProjectPropPermissionsTypeForResponse, + ) from .group_0220 import TeamProjectType as TeamProjectType + from .group_0220 import TeamProjectTypeForResponse as TeamProjectTypeForResponse from .group_0221 import ( TeamRepositoryPropPermissionsType as TeamRepositoryPropPermissionsType, ) + from .group_0221 import ( + TeamRepositoryPropPermissionsTypeForResponse as TeamRepositoryPropPermissionsTypeForResponse, + ) from .group_0221 import TeamRepositoryType as TeamRepositoryType + from .group_0221 import ( + TeamRepositoryTypeForResponse as TeamRepositoryTypeForResponse, + ) from .group_0222 import ProjectColumnType as ProjectColumnType + from .group_0222 import ProjectColumnTypeForResponse as ProjectColumnTypeForResponse from .group_0223 import ( ProjectCollaboratorPermissionType as ProjectCollaboratorPermissionType, ) + from .group_0223 import ( + ProjectCollaboratorPermissionTypeForResponse as ProjectCollaboratorPermissionTypeForResponse, + ) from .group_0224 import RateLimitType as RateLimitType + from .group_0224 import RateLimitTypeForResponse as RateLimitTypeForResponse from .group_0225 import RateLimitOverviewType as RateLimitOverviewType + from .group_0225 import ( + RateLimitOverviewTypeForResponse as RateLimitOverviewTypeForResponse, + ) from .group_0226 import ( RateLimitOverviewPropResourcesType as RateLimitOverviewPropResourcesType, ) + from .group_0226 import ( + RateLimitOverviewPropResourcesTypeForResponse as RateLimitOverviewPropResourcesTypeForResponse, + ) from .group_0227 import ArtifactPropWorkflowRunType as ArtifactPropWorkflowRunType + from .group_0227 import ( + ArtifactPropWorkflowRunTypeForResponse as ArtifactPropWorkflowRunTypeForResponse, + ) from .group_0227 import ArtifactType as ArtifactType + from .group_0227 import ArtifactTypeForResponse as ArtifactTypeForResponse from .group_0228 import ( ActionsCacheListPropActionsCachesItemsType as ActionsCacheListPropActionsCachesItemsType, ) + from .group_0228 import ( + ActionsCacheListPropActionsCachesItemsTypeForResponse as ActionsCacheListPropActionsCachesItemsTypeForResponse, + ) from .group_0228 import ActionsCacheListType as ActionsCacheListType + from .group_0228 import ( + ActionsCacheListTypeForResponse as ActionsCacheListTypeForResponse, + ) from .group_0229 import JobPropStepsItemsType as JobPropStepsItemsType + from .group_0229 import ( + JobPropStepsItemsTypeForResponse as JobPropStepsItemsTypeForResponse, + ) from .group_0229 import JobType as JobType + from .group_0229 import JobTypeForResponse as JobTypeForResponse from .group_0230 import OidcCustomSubRepoType as OidcCustomSubRepoType + from .group_0230 import ( + OidcCustomSubRepoTypeForResponse as OidcCustomSubRepoTypeForResponse, + ) from .group_0231 import ActionsSecretType as ActionsSecretType + from .group_0231 import ActionsSecretTypeForResponse as ActionsSecretTypeForResponse from .group_0232 import ActionsVariableType as ActionsVariableType + from .group_0232 import ( + ActionsVariableTypeForResponse as ActionsVariableTypeForResponse, + ) from .group_0233 import ( ActionsRepositoryPermissionsType as ActionsRepositoryPermissionsType, ) + from .group_0233 import ( + ActionsRepositoryPermissionsTypeForResponse as ActionsRepositoryPermissionsTypeForResponse, + ) from .group_0234 import ( ActionsWorkflowAccessToRepositoryType as ActionsWorkflowAccessToRepositoryType, ) + from .group_0234 import ( + ActionsWorkflowAccessToRepositoryTypeForResponse as ActionsWorkflowAccessToRepositoryTypeForResponse, + ) from .group_0235 import ( PullRequestMinimalPropBasePropRepoType as PullRequestMinimalPropBasePropRepoType, ) + from .group_0235 import ( + PullRequestMinimalPropBasePropRepoTypeForResponse as PullRequestMinimalPropBasePropRepoTypeForResponse, + ) from .group_0235 import ( PullRequestMinimalPropBaseType as PullRequestMinimalPropBaseType, ) + from .group_0235 import ( + PullRequestMinimalPropBaseTypeForResponse as PullRequestMinimalPropBaseTypeForResponse, + ) from .group_0235 import ( PullRequestMinimalPropHeadPropRepoType as PullRequestMinimalPropHeadPropRepoType, ) + from .group_0235 import ( + PullRequestMinimalPropHeadPropRepoTypeForResponse as PullRequestMinimalPropHeadPropRepoTypeForResponse, + ) from .group_0235 import ( PullRequestMinimalPropHeadType as PullRequestMinimalPropHeadType, ) + from .group_0235 import ( + PullRequestMinimalPropHeadTypeForResponse as PullRequestMinimalPropHeadTypeForResponse, + ) from .group_0235 import PullRequestMinimalType as PullRequestMinimalType + from .group_0235 import ( + PullRequestMinimalTypeForResponse as PullRequestMinimalTypeForResponse, + ) from .group_0236 import SimpleCommitPropAuthorType as SimpleCommitPropAuthorType + from .group_0236 import ( + SimpleCommitPropAuthorTypeForResponse as SimpleCommitPropAuthorTypeForResponse, + ) from .group_0236 import ( SimpleCommitPropCommitterType as SimpleCommitPropCommitterType, ) + from .group_0236 import ( + SimpleCommitPropCommitterTypeForResponse as SimpleCommitPropCommitterTypeForResponse, + ) from .group_0236 import SimpleCommitType as SimpleCommitType + from .group_0236 import SimpleCommitTypeForResponse as SimpleCommitTypeForResponse from .group_0237 import ReferencedWorkflowType as ReferencedWorkflowType + from .group_0237 import ( + ReferencedWorkflowTypeForResponse as ReferencedWorkflowTypeForResponse, + ) from .group_0237 import WorkflowRunType as WorkflowRunType + from .group_0237 import WorkflowRunTypeForResponse as WorkflowRunTypeForResponse from .group_0238 import ( EnvironmentApprovalsPropEnvironmentsItemsType as EnvironmentApprovalsPropEnvironmentsItemsType, ) + from .group_0238 import ( + EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse as EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse, + ) from .group_0238 import EnvironmentApprovalsType as EnvironmentApprovalsType + from .group_0238 import ( + EnvironmentApprovalsTypeForResponse as EnvironmentApprovalsTypeForResponse, + ) from .group_0239 import ( ReviewCustomGatesCommentRequiredType as ReviewCustomGatesCommentRequiredType, ) + from .group_0239 import ( + ReviewCustomGatesCommentRequiredTypeForResponse as ReviewCustomGatesCommentRequiredTypeForResponse, + ) from .group_0240 import ( ReviewCustomGatesStateRequiredType as ReviewCustomGatesStateRequiredType, ) + from .group_0240 import ( + ReviewCustomGatesStateRequiredTypeForResponse as ReviewCustomGatesStateRequiredTypeForResponse, + ) from .group_0241 import ( PendingDeploymentPropEnvironmentType as PendingDeploymentPropEnvironmentType, ) + from .group_0241 import ( + PendingDeploymentPropEnvironmentTypeForResponse as PendingDeploymentPropEnvironmentTypeForResponse, + ) from .group_0241 import ( PendingDeploymentPropReviewersItemsType as PendingDeploymentPropReviewersItemsType, ) + from .group_0241 import ( + PendingDeploymentPropReviewersItemsTypeForResponse as PendingDeploymentPropReviewersItemsTypeForResponse, + ) from .group_0241 import PendingDeploymentType as PendingDeploymentType + from .group_0241 import ( + PendingDeploymentTypeForResponse as PendingDeploymentTypeForResponse, + ) from .group_0242 import ( DeploymentPropPayloadOneof0Type as DeploymentPropPayloadOneof0Type, ) + from .group_0242 import ( + DeploymentPropPayloadOneof0TypeForResponse as DeploymentPropPayloadOneof0TypeForResponse, + ) from .group_0242 import DeploymentType as DeploymentType + from .group_0242 import DeploymentTypeForResponse as DeploymentTypeForResponse from .group_0243 import ( WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType as WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillablePropMacosType as WorkflowRunUsagePropBillablePropMacosType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropMacosTypeForResponse as WorkflowRunUsagePropBillablePropMacosTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType as WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillablePropUbuntuType as WorkflowRunUsagePropBillablePropUbuntuType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropUbuntuTypeForResponse as WorkflowRunUsagePropBillablePropUbuntuTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType as WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse as WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillablePropWindowsType as WorkflowRunUsagePropBillablePropWindowsType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillablePropWindowsTypeForResponse as WorkflowRunUsagePropBillablePropWindowsTypeForResponse, + ) from .group_0243 import ( WorkflowRunUsagePropBillableType as WorkflowRunUsagePropBillableType, ) + from .group_0243 import ( + WorkflowRunUsagePropBillableTypeForResponse as WorkflowRunUsagePropBillableTypeForResponse, + ) from .group_0243 import WorkflowRunUsageType as WorkflowRunUsageType + from .group_0243 import ( + WorkflowRunUsageTypeForResponse as WorkflowRunUsageTypeForResponse, + ) from .group_0244 import ( WorkflowUsagePropBillablePropMacosType as WorkflowUsagePropBillablePropMacosType, ) + from .group_0244 import ( + WorkflowUsagePropBillablePropMacosTypeForResponse as WorkflowUsagePropBillablePropMacosTypeForResponse, + ) from .group_0244 import ( WorkflowUsagePropBillablePropUbuntuType as WorkflowUsagePropBillablePropUbuntuType, ) + from .group_0244 import ( + WorkflowUsagePropBillablePropUbuntuTypeForResponse as WorkflowUsagePropBillablePropUbuntuTypeForResponse, + ) from .group_0244 import ( WorkflowUsagePropBillablePropWindowsType as WorkflowUsagePropBillablePropWindowsType, ) + from .group_0244 import ( + WorkflowUsagePropBillablePropWindowsTypeForResponse as WorkflowUsagePropBillablePropWindowsTypeForResponse, + ) from .group_0244 import ( WorkflowUsagePropBillableType as WorkflowUsagePropBillableType, ) + from .group_0244 import ( + WorkflowUsagePropBillableTypeForResponse as WorkflowUsagePropBillableTypeForResponse, + ) from .group_0244 import WorkflowUsageType as WorkflowUsageType + from .group_0244 import WorkflowUsageTypeForResponse as WorkflowUsageTypeForResponse from .group_0245 import ActivityType as ActivityType + from .group_0245 import ActivityTypeForResponse as ActivityTypeForResponse from .group_0246 import AutolinkType as AutolinkType + from .group_0246 import AutolinkTypeForResponse as AutolinkTypeForResponse from .group_0247 import ( CheckAutomatedSecurityFixesType as CheckAutomatedSecurityFixesType, ) + from .group_0247 import ( + CheckAutomatedSecurityFixesTypeForResponse as CheckAutomatedSecurityFixesTypeForResponse, + ) from .group_0248 import ( ProtectedBranchPullRequestReviewType as ProtectedBranchPullRequestReviewType, ) + from .group_0248 import ( + ProtectedBranchPullRequestReviewTypeForResponse as ProtectedBranchPullRequestReviewTypeForResponse, + ) from .group_0249 import ( ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType as ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType, ) + from .group_0249 import ( + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse as ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_0249 import ( ProtectedBranchPullRequestReviewPropDismissalRestrictionsType as ProtectedBranchPullRequestReviewPropDismissalRestrictionsType, ) + from .group_0249 import ( + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse as ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse, + ) from .group_0250 import ( BranchRestrictionPolicyPropAppsItemsPropOwnerType as BranchRestrictionPolicyPropAppsItemsPropOwnerType, ) + from .group_0250 import ( + BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse as BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse, + ) from .group_0250 import ( BranchRestrictionPolicyPropAppsItemsPropPermissionsType as BranchRestrictionPolicyPropAppsItemsPropPermissionsType, ) + from .group_0250 import ( + BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse as BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse, + ) from .group_0250 import ( BranchRestrictionPolicyPropAppsItemsType as BranchRestrictionPolicyPropAppsItemsType, ) + from .group_0250 import ( + BranchRestrictionPolicyPropAppsItemsTypeForResponse as BranchRestrictionPolicyPropAppsItemsTypeForResponse, + ) from .group_0250 import ( BranchRestrictionPolicyPropUsersItemsType as BranchRestrictionPolicyPropUsersItemsType, ) + from .group_0250 import ( + BranchRestrictionPolicyPropUsersItemsTypeForResponse as BranchRestrictionPolicyPropUsersItemsTypeForResponse, + ) from .group_0250 import BranchRestrictionPolicyType as BranchRestrictionPolicyType + from .group_0250 import ( + BranchRestrictionPolicyTypeForResponse as BranchRestrictionPolicyTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropAllowDeletionsType as BranchProtectionPropAllowDeletionsType, ) + from .group_0251 import ( + BranchProtectionPropAllowDeletionsTypeForResponse as BranchProtectionPropAllowDeletionsTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropAllowForcePushesType as BranchProtectionPropAllowForcePushesType, ) + from .group_0251 import ( + BranchProtectionPropAllowForcePushesTypeForResponse as BranchProtectionPropAllowForcePushesTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropAllowForkSyncingType as BranchProtectionPropAllowForkSyncingType, ) + from .group_0251 import ( + BranchProtectionPropAllowForkSyncingTypeForResponse as BranchProtectionPropAllowForkSyncingTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropBlockCreationsType as BranchProtectionPropBlockCreationsType, ) + from .group_0251 import ( + BranchProtectionPropBlockCreationsTypeForResponse as BranchProtectionPropBlockCreationsTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropLockBranchType as BranchProtectionPropLockBranchType, ) + from .group_0251 import ( + BranchProtectionPropLockBranchTypeForResponse as BranchProtectionPropLockBranchTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropRequiredConversationResolutionType as BranchProtectionPropRequiredConversationResolutionType, ) + from .group_0251 import ( + BranchProtectionPropRequiredConversationResolutionTypeForResponse as BranchProtectionPropRequiredConversationResolutionTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropRequiredLinearHistoryType as BranchProtectionPropRequiredLinearHistoryType, ) + from .group_0251 import ( + BranchProtectionPropRequiredLinearHistoryTypeForResponse as BranchProtectionPropRequiredLinearHistoryTypeForResponse, + ) from .group_0251 import ( BranchProtectionPropRequiredSignaturesType as BranchProtectionPropRequiredSignaturesType, ) + from .group_0251 import ( + BranchProtectionPropRequiredSignaturesTypeForResponse as BranchProtectionPropRequiredSignaturesTypeForResponse, + ) from .group_0251 import BranchProtectionType as BranchProtectionType + from .group_0251 import ( + BranchProtectionTypeForResponse as BranchProtectionTypeForResponse, + ) from .group_0251 import ( ProtectedBranchAdminEnforcedType as ProtectedBranchAdminEnforcedType, ) + from .group_0251 import ( + ProtectedBranchAdminEnforcedTypeForResponse as ProtectedBranchAdminEnforcedTypeForResponse, + ) from .group_0251 import ( ProtectedBranchRequiredStatusCheckPropChecksItemsType as ProtectedBranchRequiredStatusCheckPropChecksItemsType, ) + from .group_0251 import ( + ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse as ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse, + ) from .group_0251 import ( ProtectedBranchRequiredStatusCheckType as ProtectedBranchRequiredStatusCheckType, ) + from .group_0251 import ( + ProtectedBranchRequiredStatusCheckTypeForResponse as ProtectedBranchRequiredStatusCheckTypeForResponse, + ) from .group_0252 import ShortBranchPropCommitType as ShortBranchPropCommitType + from .group_0252 import ( + ShortBranchPropCommitTypeForResponse as ShortBranchPropCommitTypeForResponse, + ) from .group_0252 import ShortBranchType as ShortBranchType + from .group_0252 import ShortBranchTypeForResponse as ShortBranchTypeForResponse from .group_0253 import GitUserType as GitUserType + from .group_0253 import GitUserTypeForResponse as GitUserTypeForResponse from .group_0254 import VerificationType as VerificationType + from .group_0254 import VerificationTypeForResponse as VerificationTypeForResponse from .group_0255 import DiffEntryType as DiffEntryType + from .group_0255 import DiffEntryTypeForResponse as DiffEntryTypeForResponse from .group_0256 import CommitPropParentsItemsType as CommitPropParentsItemsType + from .group_0256 import ( + CommitPropParentsItemsTypeForResponse as CommitPropParentsItemsTypeForResponse, + ) from .group_0256 import CommitPropStatsType as CommitPropStatsType + from .group_0256 import ( + CommitPropStatsTypeForResponse as CommitPropStatsTypeForResponse, + ) from .group_0256 import CommitType as CommitType + from .group_0256 import CommitTypeForResponse as CommitTypeForResponse from .group_0256 import EmptyObjectType as EmptyObjectType + from .group_0256 import EmptyObjectTypeForResponse as EmptyObjectTypeForResponse from .group_0257 import CommitPropCommitPropTreeType as CommitPropCommitPropTreeType + from .group_0257 import ( + CommitPropCommitPropTreeTypeForResponse as CommitPropCommitPropTreeTypeForResponse, + ) from .group_0257 import CommitPropCommitType as CommitPropCommitType + from .group_0257 import ( + CommitPropCommitTypeForResponse as CommitPropCommitTypeForResponse, + ) from .group_0258 import ( BranchWithProtectionPropLinksType as BranchWithProtectionPropLinksType, ) + from .group_0258 import ( + BranchWithProtectionPropLinksTypeForResponse as BranchWithProtectionPropLinksTypeForResponse, + ) from .group_0258 import BranchWithProtectionType as BranchWithProtectionType + from .group_0258 import ( + BranchWithProtectionTypeForResponse as BranchWithProtectionTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropAllowDeletionsType as ProtectedBranchPropAllowDeletionsType, ) + from .group_0259 import ( + ProtectedBranchPropAllowDeletionsTypeForResponse as ProtectedBranchPropAllowDeletionsTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropAllowForcePushesType as ProtectedBranchPropAllowForcePushesType, ) + from .group_0259 import ( + ProtectedBranchPropAllowForcePushesTypeForResponse as ProtectedBranchPropAllowForcePushesTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropAllowForkSyncingType as ProtectedBranchPropAllowForkSyncingType, ) + from .group_0259 import ( + ProtectedBranchPropAllowForkSyncingTypeForResponse as ProtectedBranchPropAllowForkSyncingTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropBlockCreationsType as ProtectedBranchPropBlockCreationsType, ) + from .group_0259 import ( + ProtectedBranchPropBlockCreationsTypeForResponse as ProtectedBranchPropBlockCreationsTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropEnforceAdminsType as ProtectedBranchPropEnforceAdminsType, ) + from .group_0259 import ( + ProtectedBranchPropEnforceAdminsTypeForResponse as ProtectedBranchPropEnforceAdminsTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropLockBranchType as ProtectedBranchPropLockBranchType, ) + from .group_0259 import ( + ProtectedBranchPropLockBranchTypeForResponse as ProtectedBranchPropLockBranchTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropRequiredConversationResolutionType as ProtectedBranchPropRequiredConversationResolutionType, ) + from .group_0259 import ( + ProtectedBranchPropRequiredConversationResolutionTypeForResponse as ProtectedBranchPropRequiredConversationResolutionTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropRequiredLinearHistoryType as ProtectedBranchPropRequiredLinearHistoryType, ) + from .group_0259 import ( + ProtectedBranchPropRequiredLinearHistoryTypeForResponse as ProtectedBranchPropRequiredLinearHistoryTypeForResponse, + ) from .group_0259 import ( ProtectedBranchPropRequiredSignaturesType as ProtectedBranchPropRequiredSignaturesType, ) + from .group_0259 import ( + ProtectedBranchPropRequiredSignaturesTypeForResponse as ProtectedBranchPropRequiredSignaturesTypeForResponse, + ) from .group_0259 import ProtectedBranchType as ProtectedBranchType + from .group_0259 import ( + ProtectedBranchTypeForResponse as ProtectedBranchTypeForResponse, + ) from .group_0259 import ( StatusCheckPolicyPropChecksItemsType as StatusCheckPolicyPropChecksItemsType, ) + from .group_0259 import ( + StatusCheckPolicyPropChecksItemsTypeForResponse as StatusCheckPolicyPropChecksItemsTypeForResponse, + ) from .group_0259 import StatusCheckPolicyType as StatusCheckPolicyType + from .group_0259 import ( + StatusCheckPolicyTypeForResponse as StatusCheckPolicyTypeForResponse, + ) from .group_0260 import ( ProtectedBranchPropRequiredPullRequestReviewsType as ProtectedBranchPropRequiredPullRequestReviewsType, ) + from .group_0260 import ( + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse, + ) from .group_0261 import ( ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType as ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, ) + from .group_0261 import ( + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_0261 import ( ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType as ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType, ) + from .group_0261 import ( + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse as ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, + ) from .group_0262 import DeploymentSimpleType as DeploymentSimpleType + from .group_0262 import ( + DeploymentSimpleTypeForResponse as DeploymentSimpleTypeForResponse, + ) from .group_0263 import CheckRunPropCheckSuiteType as CheckRunPropCheckSuiteType + from .group_0263 import ( + CheckRunPropCheckSuiteTypeForResponse as CheckRunPropCheckSuiteTypeForResponse, + ) from .group_0263 import CheckRunPropOutputType as CheckRunPropOutputType + from .group_0263 import ( + CheckRunPropOutputTypeForResponse as CheckRunPropOutputTypeForResponse, + ) from .group_0263 import CheckRunType as CheckRunType + from .group_0263 import CheckRunTypeForResponse as CheckRunTypeForResponse from .group_0264 import CheckAnnotationType as CheckAnnotationType + from .group_0264 import ( + CheckAnnotationTypeForResponse as CheckAnnotationTypeForResponse, + ) from .group_0265 import CheckSuiteType as CheckSuiteType + from .group_0265 import CheckSuiteTypeForResponse as CheckSuiteTypeForResponse from .group_0265 import ( ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type as ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type, ) + from .group_0265 import ( + ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse as ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse, + ) from .group_0266 import ( CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType as CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType, ) + from .group_0266 import ( + CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse as CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse, + ) from .group_0266 import ( CheckSuitePreferencePropPreferencesType as CheckSuitePreferencePropPreferencesType, ) + from .group_0266 import ( + CheckSuitePreferencePropPreferencesTypeForResponse as CheckSuitePreferencePropPreferencesTypeForResponse, + ) from .group_0266 import CheckSuitePreferenceType as CheckSuitePreferenceType + from .group_0266 import ( + CheckSuitePreferenceTypeForResponse as CheckSuitePreferenceTypeForResponse, + ) from .group_0267 import CodeScanningAlertItemsType as CodeScanningAlertItemsType + from .group_0267 import ( + CodeScanningAlertItemsTypeForResponse as CodeScanningAlertItemsTypeForResponse, + ) from .group_0268 import CodeScanningAlertRuleType as CodeScanningAlertRuleType + from .group_0268 import ( + CodeScanningAlertRuleTypeForResponse as CodeScanningAlertRuleTypeForResponse, + ) from .group_0268 import CodeScanningAlertType as CodeScanningAlertType + from .group_0268 import ( + CodeScanningAlertTypeForResponse as CodeScanningAlertTypeForResponse, + ) from .group_0269 import CodeScanningAutofixType as CodeScanningAutofixType + from .group_0269 import ( + CodeScanningAutofixTypeForResponse as CodeScanningAutofixTypeForResponse, + ) from .group_0270 import ( CodeScanningAutofixCommitsType as CodeScanningAutofixCommitsType, ) + from .group_0270 import ( + CodeScanningAutofixCommitsTypeForResponse as CodeScanningAutofixCommitsTypeForResponse, + ) from .group_0271 import ( CodeScanningAutofixCommitsResponseType as CodeScanningAutofixCommitsResponseType, ) + from .group_0271 import ( + CodeScanningAutofixCommitsResponseTypeForResponse as CodeScanningAutofixCommitsResponseTypeForResponse, + ) from .group_0272 import CodeScanningAnalysisType as CodeScanningAnalysisType + from .group_0272 import ( + CodeScanningAnalysisTypeForResponse as CodeScanningAnalysisTypeForResponse, + ) from .group_0273 import ( CodeScanningAnalysisDeletionType as CodeScanningAnalysisDeletionType, ) + from .group_0273 import ( + CodeScanningAnalysisDeletionTypeForResponse as CodeScanningAnalysisDeletionTypeForResponse, + ) from .group_0274 import ( CodeScanningCodeqlDatabaseType as CodeScanningCodeqlDatabaseType, ) + from .group_0274 import ( + CodeScanningCodeqlDatabaseTypeForResponse as CodeScanningCodeqlDatabaseTypeForResponse, + ) from .group_0275 import ( CodeScanningVariantAnalysisRepositoryType as CodeScanningVariantAnalysisRepositoryType, ) + from .group_0275 import ( + CodeScanningVariantAnalysisRepositoryTypeForResponse as CodeScanningVariantAnalysisRepositoryTypeForResponse, + ) from .group_0276 import ( CodeScanningVariantAnalysisSkippedRepoGroupType as CodeScanningVariantAnalysisSkippedRepoGroupType, ) + from .group_0276 import ( + CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse as CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse, + ) from .group_0277 import ( CodeScanningVariantAnalysisType as CodeScanningVariantAnalysisType, ) + from .group_0277 import ( + CodeScanningVariantAnalysisTypeForResponse as CodeScanningVariantAnalysisTypeForResponse, + ) from .group_0278 import ( CodeScanningVariantAnalysisPropScannedRepositoriesItemsType as CodeScanningVariantAnalysisPropScannedRepositoriesItemsType, ) + from .group_0278 import ( + CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse as CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse, + ) from .group_0279 import ( CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType as CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType, ) + from .group_0279 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse as CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse, + ) from .group_0279 import ( CodeScanningVariantAnalysisPropSkippedRepositoriesType as CodeScanningVariantAnalysisPropSkippedRepositoriesType, ) + from .group_0279 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse as CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse, + ) from .group_0280 import ( CodeScanningVariantAnalysisRepoTaskType as CodeScanningVariantAnalysisRepoTaskType, ) + from .group_0280 import ( + CodeScanningVariantAnalysisRepoTaskTypeForResponse as CodeScanningVariantAnalysisRepoTaskTypeForResponse, + ) from .group_0281 import CodeScanningDefaultSetupType as CodeScanningDefaultSetupType + from .group_0281 import ( + CodeScanningDefaultSetupTypeForResponse as CodeScanningDefaultSetupTypeForResponse, + ) from .group_0282 import ( CodeScanningDefaultSetupUpdateType as CodeScanningDefaultSetupUpdateType, ) + from .group_0282 import ( + CodeScanningDefaultSetupUpdateTypeForResponse as CodeScanningDefaultSetupUpdateTypeForResponse, + ) from .group_0283 import ( CodeScanningDefaultSetupUpdateResponseType as CodeScanningDefaultSetupUpdateResponseType, ) + from .group_0283 import ( + CodeScanningDefaultSetupUpdateResponseTypeForResponse as CodeScanningDefaultSetupUpdateResponseTypeForResponse, + ) from .group_0284 import ( CodeScanningSarifsReceiptType as CodeScanningSarifsReceiptType, ) + from .group_0284 import ( + CodeScanningSarifsReceiptTypeForResponse as CodeScanningSarifsReceiptTypeForResponse, + ) from .group_0285 import CodeScanningSarifsStatusType as CodeScanningSarifsStatusType + from .group_0285 import ( + CodeScanningSarifsStatusTypeForResponse as CodeScanningSarifsStatusTypeForResponse, + ) from .group_0286 import ( CodeSecurityConfigurationForRepositoryType as CodeSecurityConfigurationForRepositoryType, ) + from .group_0286 import ( + CodeSecurityConfigurationForRepositoryTypeForResponse as CodeSecurityConfigurationForRepositoryTypeForResponse, + ) from .group_0287 import ( CodeownersErrorsPropErrorsItemsType as CodeownersErrorsPropErrorsItemsType, ) + from .group_0287 import ( + CodeownersErrorsPropErrorsItemsTypeForResponse as CodeownersErrorsPropErrorsItemsTypeForResponse, + ) from .group_0287 import CodeownersErrorsType as CodeownersErrorsType + from .group_0287 import ( + CodeownersErrorsTypeForResponse as CodeownersErrorsTypeForResponse, + ) from .group_0288 import ( CodespacesPermissionsCheckForDevcontainerType as CodespacesPermissionsCheckForDevcontainerType, ) + from .group_0288 import ( + CodespacesPermissionsCheckForDevcontainerTypeForResponse as CodespacesPermissionsCheckForDevcontainerTypeForResponse, + ) from .group_0289 import RepositoryInvitationType as RepositoryInvitationType + from .group_0289 import ( + RepositoryInvitationTypeForResponse as RepositoryInvitationTypeForResponse, + ) from .group_0290 import ( CollaboratorPropPermissionsType as CollaboratorPropPermissionsType, ) + from .group_0290 import ( + CollaboratorPropPermissionsTypeForResponse as CollaboratorPropPermissionsTypeForResponse, + ) from .group_0290 import CollaboratorType as CollaboratorType + from .group_0290 import CollaboratorTypeForResponse as CollaboratorTypeForResponse from .group_0290 import ( RepositoryCollaboratorPermissionType as RepositoryCollaboratorPermissionType, ) + from .group_0290 import ( + RepositoryCollaboratorPermissionTypeForResponse as RepositoryCollaboratorPermissionTypeForResponse, + ) from .group_0291 import CommitCommentType as CommitCommentType + from .group_0291 import CommitCommentTypeForResponse as CommitCommentTypeForResponse from .group_0291 import ( TimelineCommitCommentedEventType as TimelineCommitCommentedEventType, ) + from .group_0291 import ( + TimelineCommitCommentedEventTypeForResponse as TimelineCommitCommentedEventTypeForResponse, + ) from .group_0292 import BranchShortPropCommitType as BranchShortPropCommitType + from .group_0292 import ( + BranchShortPropCommitTypeForResponse as BranchShortPropCommitTypeForResponse, + ) from .group_0292 import BranchShortType as BranchShortType + from .group_0292 import BranchShortTypeForResponse as BranchShortTypeForResponse from .group_0293 import CombinedCommitStatusType as CombinedCommitStatusType + from .group_0293 import ( + CombinedCommitStatusTypeForResponse as CombinedCommitStatusTypeForResponse, + ) from .group_0293 import SimpleCommitStatusType as SimpleCommitStatusType + from .group_0293 import ( + SimpleCommitStatusTypeForResponse as SimpleCommitStatusTypeForResponse, + ) from .group_0294 import StatusType as StatusType + from .group_0294 import StatusTypeForResponse as StatusTypeForResponse from .group_0295 import CommunityHealthFileType as CommunityHealthFileType + from .group_0295 import ( + CommunityHealthFileTypeForResponse as CommunityHealthFileTypeForResponse, + ) from .group_0295 import ( CommunityProfilePropFilesType as CommunityProfilePropFilesType, ) + from .group_0295 import ( + CommunityProfilePropFilesTypeForResponse as CommunityProfilePropFilesTypeForResponse, + ) from .group_0295 import CommunityProfileType as CommunityProfileType + from .group_0295 import ( + CommunityProfileTypeForResponse as CommunityProfileTypeForResponse, + ) from .group_0296 import CommitComparisonType as CommitComparisonType + from .group_0296 import ( + CommitComparisonTypeForResponse as CommitComparisonTypeForResponse, + ) from .group_0297 import ( ContentTreePropEntriesItemsPropLinksType as ContentTreePropEntriesItemsPropLinksType, ) + from .group_0297 import ( + ContentTreePropEntriesItemsPropLinksTypeForResponse as ContentTreePropEntriesItemsPropLinksTypeForResponse, + ) from .group_0297 import ( ContentTreePropEntriesItemsType as ContentTreePropEntriesItemsType, ) + from .group_0297 import ( + ContentTreePropEntriesItemsTypeForResponse as ContentTreePropEntriesItemsTypeForResponse, + ) from .group_0297 import ContentTreePropLinksType as ContentTreePropLinksType + from .group_0297 import ( + ContentTreePropLinksTypeForResponse as ContentTreePropLinksTypeForResponse, + ) from .group_0297 import ContentTreeType as ContentTreeType + from .group_0297 import ContentTreeTypeForResponse as ContentTreeTypeForResponse from .group_0298 import ( ContentDirectoryItemsPropLinksType as ContentDirectoryItemsPropLinksType, ) + from .group_0298 import ( + ContentDirectoryItemsPropLinksTypeForResponse as ContentDirectoryItemsPropLinksTypeForResponse, + ) from .group_0298 import ContentDirectoryItemsType as ContentDirectoryItemsType + from .group_0298 import ( + ContentDirectoryItemsTypeForResponse as ContentDirectoryItemsTypeForResponse, + ) from .group_0299 import ContentFilePropLinksType as ContentFilePropLinksType + from .group_0299 import ( + ContentFilePropLinksTypeForResponse as ContentFilePropLinksTypeForResponse, + ) from .group_0299 import ContentFileType as ContentFileType + from .group_0299 import ContentFileTypeForResponse as ContentFileTypeForResponse from .group_0300 import ContentSymlinkPropLinksType as ContentSymlinkPropLinksType + from .group_0300 import ( + ContentSymlinkPropLinksTypeForResponse as ContentSymlinkPropLinksTypeForResponse, + ) from .group_0300 import ContentSymlinkType as ContentSymlinkType + from .group_0300 import ( + ContentSymlinkTypeForResponse as ContentSymlinkTypeForResponse, + ) from .group_0301 import ( ContentSubmodulePropLinksType as ContentSubmodulePropLinksType, ) + from .group_0301 import ( + ContentSubmodulePropLinksTypeForResponse as ContentSubmodulePropLinksTypeForResponse, + ) from .group_0301 import ContentSubmoduleType as ContentSubmoduleType + from .group_0301 import ( + ContentSubmoduleTypeForResponse as ContentSubmoduleTypeForResponse, + ) from .group_0302 import ( FileCommitPropCommitPropAuthorType as FileCommitPropCommitPropAuthorType, ) + from .group_0302 import ( + FileCommitPropCommitPropAuthorTypeForResponse as FileCommitPropCommitPropAuthorTypeForResponse, + ) from .group_0302 import ( FileCommitPropCommitPropCommitterType as FileCommitPropCommitPropCommitterType, ) + from .group_0302 import ( + FileCommitPropCommitPropCommitterTypeForResponse as FileCommitPropCommitPropCommitterTypeForResponse, + ) from .group_0302 import ( FileCommitPropCommitPropParentsItemsType as FileCommitPropCommitPropParentsItemsType, ) + from .group_0302 import ( + FileCommitPropCommitPropParentsItemsTypeForResponse as FileCommitPropCommitPropParentsItemsTypeForResponse, + ) from .group_0302 import ( FileCommitPropCommitPropTreeType as FileCommitPropCommitPropTreeType, ) + from .group_0302 import ( + FileCommitPropCommitPropTreeTypeForResponse as FileCommitPropCommitPropTreeTypeForResponse, + ) from .group_0302 import ( FileCommitPropCommitPropVerificationType as FileCommitPropCommitPropVerificationType, ) + from .group_0302 import ( + FileCommitPropCommitPropVerificationTypeForResponse as FileCommitPropCommitPropVerificationTypeForResponse, + ) from .group_0302 import FileCommitPropCommitType as FileCommitPropCommitType + from .group_0302 import ( + FileCommitPropCommitTypeForResponse as FileCommitPropCommitTypeForResponse, + ) from .group_0302 import ( FileCommitPropContentPropLinksType as FileCommitPropContentPropLinksType, ) + from .group_0302 import ( + FileCommitPropContentPropLinksTypeForResponse as FileCommitPropContentPropLinksTypeForResponse, + ) from .group_0302 import FileCommitPropContentType as FileCommitPropContentType + from .group_0302 import ( + FileCommitPropContentTypeForResponse as FileCommitPropContentTypeForResponse, + ) from .group_0302 import FileCommitType as FileCommitType + from .group_0302 import FileCommitTypeForResponse as FileCommitTypeForResponse from .group_0303 import ( RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType as RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType, ) + from .group_0303 import ( + RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse as RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse, + ) from .group_0303 import ( RepositoryRuleViolationErrorPropMetadataPropSecretScanningType as RepositoryRuleViolationErrorPropMetadataPropSecretScanningType, ) + from .group_0303 import ( + RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse as RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse, + ) from .group_0303 import ( RepositoryRuleViolationErrorPropMetadataType as RepositoryRuleViolationErrorPropMetadataType, ) + from .group_0303 import ( + RepositoryRuleViolationErrorPropMetadataTypeForResponse as RepositoryRuleViolationErrorPropMetadataTypeForResponse, + ) from .group_0303 import ( RepositoryRuleViolationErrorType as RepositoryRuleViolationErrorType, ) + from .group_0303 import ( + RepositoryRuleViolationErrorTypeForResponse as RepositoryRuleViolationErrorTypeForResponse, + ) from .group_0304 import ContributorType as ContributorType + from .group_0304 import ContributorTypeForResponse as ContributorTypeForResponse from .group_0305 import DependabotAlertType as DependabotAlertType + from .group_0305 import ( + DependabotAlertTypeForResponse as DependabotAlertTypeForResponse, + ) from .group_0306 import ( DependabotAlertPropDependencyType as DependabotAlertPropDependencyType, ) + from .group_0306 import ( + DependabotAlertPropDependencyTypeForResponse as DependabotAlertPropDependencyTypeForResponse, + ) from .group_0307 import ( DependencyGraphDiffItemsPropVulnerabilitiesItemsType as DependencyGraphDiffItemsPropVulnerabilitiesItemsType, ) + from .group_0307 import ( + DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse as DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0307 import DependencyGraphDiffItemsType as DependencyGraphDiffItemsType + from .group_0307 import ( + DependencyGraphDiffItemsTypeForResponse as DependencyGraphDiffItemsTypeForResponse, + ) from .group_0308 import ( DependencyGraphSpdxSbomPropSbomPropCreationInfoType as DependencyGraphSpdxSbomPropSbomPropCreationInfoType, ) + from .group_0308 import ( + DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse as DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse, + ) from .group_0308 import ( DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType as DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType, ) + from .group_0308 import ( + DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse, + ) from .group_0308 import ( DependencyGraphSpdxSbomPropSbomPropPackagesItemsType as DependencyGraphSpdxSbomPropSbomPropPackagesItemsType, ) + from .group_0308 import ( + DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse, + ) from .group_0308 import ( DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType as DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType, ) + from .group_0308 import ( + DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse as DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse, + ) from .group_0308 import ( DependencyGraphSpdxSbomPropSbomType as DependencyGraphSpdxSbomPropSbomType, ) + from .group_0308 import ( + DependencyGraphSpdxSbomPropSbomTypeForResponse as DependencyGraphSpdxSbomPropSbomTypeForResponse, + ) from .group_0308 import DependencyGraphSpdxSbomType as DependencyGraphSpdxSbomType + from .group_0308 import ( + DependencyGraphSpdxSbomTypeForResponse as DependencyGraphSpdxSbomTypeForResponse, + ) from .group_0309 import MetadataType as MetadataType + from .group_0309 import MetadataTypeForResponse as MetadataTypeForResponse from .group_0310 import DependencyType as DependencyType + from .group_0310 import DependencyTypeForResponse as DependencyTypeForResponse from .group_0311 import ManifestPropFileType as ManifestPropFileType + from .group_0311 import ( + ManifestPropFileTypeForResponse as ManifestPropFileTypeForResponse, + ) from .group_0311 import ManifestPropResolvedType as ManifestPropResolvedType + from .group_0311 import ( + ManifestPropResolvedTypeForResponse as ManifestPropResolvedTypeForResponse, + ) from .group_0311 import ManifestType as ManifestType + from .group_0311 import ManifestTypeForResponse as ManifestTypeForResponse from .group_0312 import SnapshotPropDetectorType as SnapshotPropDetectorType + from .group_0312 import ( + SnapshotPropDetectorTypeForResponse as SnapshotPropDetectorTypeForResponse, + ) from .group_0312 import SnapshotPropJobType as SnapshotPropJobType + from .group_0312 import ( + SnapshotPropJobTypeForResponse as SnapshotPropJobTypeForResponse, + ) from .group_0312 import SnapshotPropManifestsType as SnapshotPropManifestsType + from .group_0312 import ( + SnapshotPropManifestsTypeForResponse as SnapshotPropManifestsTypeForResponse, + ) from .group_0312 import SnapshotType as SnapshotType + from .group_0312 import SnapshotTypeForResponse as SnapshotTypeForResponse from .group_0313 import DeploymentStatusType as DeploymentStatusType + from .group_0313 import ( + DeploymentStatusTypeForResponse as DeploymentStatusTypeForResponse, + ) from .group_0314 import ( DeploymentBranchPolicySettingsType as DeploymentBranchPolicySettingsType, ) + from .group_0314 import ( + DeploymentBranchPolicySettingsTypeForResponse as DeploymentBranchPolicySettingsTypeForResponse, + ) from .group_0315 import ( EnvironmentPropProtectionRulesItemsAnyof0Type as EnvironmentPropProtectionRulesItemsAnyof0Type, ) + from .group_0315 import ( + EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse, + ) from .group_0315 import ( EnvironmentPropProtectionRulesItemsAnyof2Type as EnvironmentPropProtectionRulesItemsAnyof2Type, ) + from .group_0315 import ( + EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse, + ) from .group_0315 import EnvironmentType as EnvironmentType + from .group_0315 import EnvironmentTypeForResponse as EnvironmentTypeForResponse from .group_0315 import ( ReposOwnerRepoEnvironmentsGetResponse200Type as ReposOwnerRepoEnvironmentsGetResponse200Type, ) + from .group_0315 import ( + ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse, + ) from .group_0316 import ( EnvironmentPropProtectionRulesItemsAnyof1Type as EnvironmentPropProtectionRulesItemsAnyof1Type, ) + from .group_0316 import ( + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse as EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, + ) from .group_0317 import ( EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType as EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType, ) + from .group_0317 import ( + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse as EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse, + ) from .group_0318 import ( DeploymentBranchPolicyNamePatternWithTypeType as DeploymentBranchPolicyNamePatternWithTypeType, ) + from .group_0318 import ( + DeploymentBranchPolicyNamePatternWithTypeTypeForResponse as DeploymentBranchPolicyNamePatternWithTypeTypeForResponse, + ) from .group_0319 import ( DeploymentBranchPolicyNamePatternType as DeploymentBranchPolicyNamePatternType, ) + from .group_0319 import ( + DeploymentBranchPolicyNamePatternTypeForResponse as DeploymentBranchPolicyNamePatternTypeForResponse, + ) from .group_0320 import CustomDeploymentRuleAppType as CustomDeploymentRuleAppType + from .group_0320 import ( + CustomDeploymentRuleAppTypeForResponse as CustomDeploymentRuleAppTypeForResponse, + ) from .group_0321 import DeploymentProtectionRuleType as DeploymentProtectionRuleType + from .group_0321 import ( + DeploymentProtectionRuleTypeForResponse as DeploymentProtectionRuleTypeForResponse, + ) from .group_0321 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type, ) + from .group_0321 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse, + ) from .group_0322 import ShortBlobType as ShortBlobType + from .group_0322 import ShortBlobTypeForResponse as ShortBlobTypeForResponse from .group_0323 import BlobType as BlobType + from .group_0323 import BlobTypeForResponse as BlobTypeForResponse from .group_0324 import GitCommitPropAuthorType as GitCommitPropAuthorType + from .group_0324 import ( + GitCommitPropAuthorTypeForResponse as GitCommitPropAuthorTypeForResponse, + ) from .group_0324 import GitCommitPropCommitterType as GitCommitPropCommitterType + from .group_0324 import ( + GitCommitPropCommitterTypeForResponse as GitCommitPropCommitterTypeForResponse, + ) from .group_0324 import ( GitCommitPropParentsItemsType as GitCommitPropParentsItemsType, ) + from .group_0324 import ( + GitCommitPropParentsItemsTypeForResponse as GitCommitPropParentsItemsTypeForResponse, + ) from .group_0324 import GitCommitPropTreeType as GitCommitPropTreeType + from .group_0324 import ( + GitCommitPropTreeTypeForResponse as GitCommitPropTreeTypeForResponse, + ) from .group_0324 import ( GitCommitPropVerificationType as GitCommitPropVerificationType, ) + from .group_0324 import ( + GitCommitPropVerificationTypeForResponse as GitCommitPropVerificationTypeForResponse, + ) from .group_0324 import GitCommitType as GitCommitType + from .group_0324 import GitCommitTypeForResponse as GitCommitTypeForResponse from .group_0325 import GitRefPropObjectType as GitRefPropObjectType + from .group_0325 import ( + GitRefPropObjectTypeForResponse as GitRefPropObjectTypeForResponse, + ) from .group_0325 import GitRefType as GitRefType + from .group_0325 import GitRefTypeForResponse as GitRefTypeForResponse from .group_0326 import GitTagPropObjectType as GitTagPropObjectType + from .group_0326 import ( + GitTagPropObjectTypeForResponse as GitTagPropObjectTypeForResponse, + ) from .group_0326 import GitTagPropTaggerType as GitTagPropTaggerType + from .group_0326 import ( + GitTagPropTaggerTypeForResponse as GitTagPropTaggerTypeForResponse, + ) from .group_0326 import GitTagType as GitTagType + from .group_0326 import GitTagTypeForResponse as GitTagTypeForResponse from .group_0327 import GitTreePropTreeItemsType as GitTreePropTreeItemsType + from .group_0327 import ( + GitTreePropTreeItemsTypeForResponse as GitTreePropTreeItemsTypeForResponse, + ) from .group_0327 import GitTreeType as GitTreeType + from .group_0327 import GitTreeTypeForResponse as GitTreeTypeForResponse from .group_0328 import HookResponseType as HookResponseType + from .group_0328 import HookResponseTypeForResponse as HookResponseTypeForResponse from .group_0329 import HookType as HookType + from .group_0329 import HookTypeForResponse as HookTypeForResponse from .group_0330 import CheckImmutableReleasesType as CheckImmutableReleasesType + from .group_0330 import ( + CheckImmutableReleasesTypeForResponse as CheckImmutableReleasesTypeForResponse, + ) from .group_0331 import ( ImportPropProjectChoicesItemsType as ImportPropProjectChoicesItemsType, ) + from .group_0331 import ( + ImportPropProjectChoicesItemsTypeForResponse as ImportPropProjectChoicesItemsTypeForResponse, + ) from .group_0331 import ImportType as ImportType + from .group_0331 import ImportTypeForResponse as ImportTypeForResponse from .group_0332 import PorterAuthorType as PorterAuthorType + from .group_0332 import PorterAuthorTypeForResponse as PorterAuthorTypeForResponse from .group_0333 import PorterLargeFileType as PorterLargeFileType + from .group_0333 import ( + PorterLargeFileTypeForResponse as PorterLargeFileTypeForResponse, + ) from .group_0334 import ( IssueEventDismissedReviewType as IssueEventDismissedReviewType, ) + from .group_0334 import ( + IssueEventDismissedReviewTypeForResponse as IssueEventDismissedReviewTypeForResponse, + ) from .group_0334 import IssueEventLabelType as IssueEventLabelType + from .group_0334 import ( + IssueEventLabelTypeForResponse as IssueEventLabelTypeForResponse, + ) from .group_0334 import IssueEventMilestoneType as IssueEventMilestoneType + from .group_0334 import ( + IssueEventMilestoneTypeForResponse as IssueEventMilestoneTypeForResponse, + ) from .group_0334 import IssueEventProjectCardType as IssueEventProjectCardType + from .group_0334 import ( + IssueEventProjectCardTypeForResponse as IssueEventProjectCardTypeForResponse, + ) from .group_0334 import IssueEventRenameType as IssueEventRenameType + from .group_0334 import ( + IssueEventRenameTypeForResponse as IssueEventRenameTypeForResponse, + ) from .group_0334 import IssueEventType as IssueEventType + from .group_0334 import IssueEventTypeForResponse as IssueEventTypeForResponse from .group_0335 import ( LabeledIssueEventPropLabelType as LabeledIssueEventPropLabelType, ) + from .group_0335 import ( + LabeledIssueEventPropLabelTypeForResponse as LabeledIssueEventPropLabelTypeForResponse, + ) from .group_0335 import LabeledIssueEventType as LabeledIssueEventType + from .group_0335 import ( + LabeledIssueEventTypeForResponse as LabeledIssueEventTypeForResponse, + ) from .group_0336 import ( UnlabeledIssueEventPropLabelType as UnlabeledIssueEventPropLabelType, ) + from .group_0336 import ( + UnlabeledIssueEventPropLabelTypeForResponse as UnlabeledIssueEventPropLabelTypeForResponse, + ) from .group_0336 import UnlabeledIssueEventType as UnlabeledIssueEventType + from .group_0336 import ( + UnlabeledIssueEventTypeForResponse as UnlabeledIssueEventTypeForResponse, + ) from .group_0337 import AssignedIssueEventType as AssignedIssueEventType + from .group_0337 import ( + AssignedIssueEventTypeForResponse as AssignedIssueEventTypeForResponse, + ) from .group_0338 import UnassignedIssueEventType as UnassignedIssueEventType + from .group_0338 import ( + UnassignedIssueEventTypeForResponse as UnassignedIssueEventTypeForResponse, + ) from .group_0339 import ( MilestonedIssueEventPropMilestoneType as MilestonedIssueEventPropMilestoneType, ) + from .group_0339 import ( + MilestonedIssueEventPropMilestoneTypeForResponse as MilestonedIssueEventPropMilestoneTypeForResponse, + ) from .group_0339 import MilestonedIssueEventType as MilestonedIssueEventType + from .group_0339 import ( + MilestonedIssueEventTypeForResponse as MilestonedIssueEventTypeForResponse, + ) from .group_0340 import ( DemilestonedIssueEventPropMilestoneType as DemilestonedIssueEventPropMilestoneType, ) + from .group_0340 import ( + DemilestonedIssueEventPropMilestoneTypeForResponse as DemilestonedIssueEventPropMilestoneTypeForResponse, + ) from .group_0340 import DemilestonedIssueEventType as DemilestonedIssueEventType + from .group_0340 import ( + DemilestonedIssueEventTypeForResponse as DemilestonedIssueEventTypeForResponse, + ) from .group_0341 import ( RenamedIssueEventPropRenameType as RenamedIssueEventPropRenameType, ) + from .group_0341 import ( + RenamedIssueEventPropRenameTypeForResponse as RenamedIssueEventPropRenameTypeForResponse, + ) from .group_0341 import RenamedIssueEventType as RenamedIssueEventType + from .group_0341 import ( + RenamedIssueEventTypeForResponse as RenamedIssueEventTypeForResponse, + ) from .group_0342 import ( ReviewRequestedIssueEventType as ReviewRequestedIssueEventType, ) + from .group_0342 import ( + ReviewRequestedIssueEventTypeForResponse as ReviewRequestedIssueEventTypeForResponse, + ) from .group_0343 import ( ReviewRequestRemovedIssueEventType as ReviewRequestRemovedIssueEventType, ) + from .group_0343 import ( + ReviewRequestRemovedIssueEventTypeForResponse as ReviewRequestRemovedIssueEventTypeForResponse, + ) from .group_0344 import ( ReviewDismissedIssueEventPropDismissedReviewType as ReviewDismissedIssueEventPropDismissedReviewType, ) + from .group_0344 import ( + ReviewDismissedIssueEventPropDismissedReviewTypeForResponse as ReviewDismissedIssueEventPropDismissedReviewTypeForResponse, + ) from .group_0344 import ( ReviewDismissedIssueEventType as ReviewDismissedIssueEventType, ) + from .group_0344 import ( + ReviewDismissedIssueEventTypeForResponse as ReviewDismissedIssueEventTypeForResponse, + ) from .group_0345 import LockedIssueEventType as LockedIssueEventType + from .group_0345 import ( + LockedIssueEventTypeForResponse as LockedIssueEventTypeForResponse, + ) from .group_0346 import ( AddedToProjectIssueEventPropProjectCardType as AddedToProjectIssueEventPropProjectCardType, ) + from .group_0346 import ( + AddedToProjectIssueEventPropProjectCardTypeForResponse as AddedToProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0346 import AddedToProjectIssueEventType as AddedToProjectIssueEventType + from .group_0346 import ( + AddedToProjectIssueEventTypeForResponse as AddedToProjectIssueEventTypeForResponse, + ) from .group_0347 import ( MovedColumnInProjectIssueEventPropProjectCardType as MovedColumnInProjectIssueEventPropProjectCardType, ) + from .group_0347 import ( + MovedColumnInProjectIssueEventPropProjectCardTypeForResponse as MovedColumnInProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0347 import ( MovedColumnInProjectIssueEventType as MovedColumnInProjectIssueEventType, ) + from .group_0347 import ( + MovedColumnInProjectIssueEventTypeForResponse as MovedColumnInProjectIssueEventTypeForResponse, + ) from .group_0348 import ( RemovedFromProjectIssueEventPropProjectCardType as RemovedFromProjectIssueEventPropProjectCardType, ) + from .group_0348 import ( + RemovedFromProjectIssueEventPropProjectCardTypeForResponse as RemovedFromProjectIssueEventPropProjectCardTypeForResponse, + ) from .group_0348 import ( RemovedFromProjectIssueEventType as RemovedFromProjectIssueEventType, ) + from .group_0348 import ( + RemovedFromProjectIssueEventTypeForResponse as RemovedFromProjectIssueEventTypeForResponse, + ) from .group_0349 import ( ConvertedNoteToIssueIssueEventPropProjectCardType as ConvertedNoteToIssueIssueEventPropProjectCardType, ) + from .group_0349 import ( + ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse as ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse, + ) from .group_0349 import ( ConvertedNoteToIssueIssueEventType as ConvertedNoteToIssueIssueEventType, ) + from .group_0349 import ( + ConvertedNoteToIssueIssueEventTypeForResponse as ConvertedNoteToIssueIssueEventTypeForResponse, + ) from .group_0350 import TimelineCommentEventType as TimelineCommentEventType + from .group_0350 import ( + TimelineCommentEventTypeForResponse as TimelineCommentEventTypeForResponse, + ) from .group_0351 import ( TimelineCrossReferencedEventType as TimelineCrossReferencedEventType, ) + from .group_0351 import ( + TimelineCrossReferencedEventTypeForResponse as TimelineCrossReferencedEventTypeForResponse, + ) from .group_0352 import ( TimelineCrossReferencedEventPropSourceType as TimelineCrossReferencedEventPropSourceType, ) + from .group_0352 import ( + TimelineCrossReferencedEventPropSourceTypeForResponse as TimelineCrossReferencedEventPropSourceTypeForResponse, + ) from .group_0353 import ( TimelineCommittedEventPropAuthorType as TimelineCommittedEventPropAuthorType, ) + from .group_0353 import ( + TimelineCommittedEventPropAuthorTypeForResponse as TimelineCommittedEventPropAuthorTypeForResponse, + ) from .group_0353 import ( TimelineCommittedEventPropCommitterType as TimelineCommittedEventPropCommitterType, ) + from .group_0353 import ( + TimelineCommittedEventPropCommitterTypeForResponse as TimelineCommittedEventPropCommitterTypeForResponse, + ) from .group_0353 import ( TimelineCommittedEventPropParentsItemsType as TimelineCommittedEventPropParentsItemsType, ) + from .group_0353 import ( + TimelineCommittedEventPropParentsItemsTypeForResponse as TimelineCommittedEventPropParentsItemsTypeForResponse, + ) from .group_0353 import ( TimelineCommittedEventPropTreeType as TimelineCommittedEventPropTreeType, ) + from .group_0353 import ( + TimelineCommittedEventPropTreeTypeForResponse as TimelineCommittedEventPropTreeTypeForResponse, + ) from .group_0353 import ( TimelineCommittedEventPropVerificationType as TimelineCommittedEventPropVerificationType, ) + from .group_0353 import ( + TimelineCommittedEventPropVerificationTypeForResponse as TimelineCommittedEventPropVerificationTypeForResponse, + ) from .group_0353 import TimelineCommittedEventType as TimelineCommittedEventType + from .group_0353 import ( + TimelineCommittedEventTypeForResponse as TimelineCommittedEventTypeForResponse, + ) from .group_0354 import ( TimelineReviewedEventPropLinksPropHtmlType as TimelineReviewedEventPropLinksPropHtmlType, ) + from .group_0354 import ( + TimelineReviewedEventPropLinksPropHtmlTypeForResponse as TimelineReviewedEventPropLinksPropHtmlTypeForResponse, + ) from .group_0354 import ( TimelineReviewedEventPropLinksPropPullRequestType as TimelineReviewedEventPropLinksPropPullRequestType, ) + from .group_0354 import ( + TimelineReviewedEventPropLinksPropPullRequestTypeForResponse as TimelineReviewedEventPropLinksPropPullRequestTypeForResponse, + ) from .group_0354 import ( TimelineReviewedEventPropLinksType as TimelineReviewedEventPropLinksType, ) + from .group_0354 import ( + TimelineReviewedEventPropLinksTypeForResponse as TimelineReviewedEventPropLinksTypeForResponse, + ) from .group_0354 import TimelineReviewedEventType as TimelineReviewedEventType + from .group_0354 import ( + TimelineReviewedEventTypeForResponse as TimelineReviewedEventTypeForResponse, + ) from .group_0355 import ( PullRequestReviewCommentPropLinksPropHtmlType as PullRequestReviewCommentPropLinksPropHtmlType, ) + from .group_0355 import ( + PullRequestReviewCommentPropLinksPropHtmlTypeForResponse as PullRequestReviewCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0355 import ( PullRequestReviewCommentPropLinksPropPullRequestType as PullRequestReviewCommentPropLinksPropPullRequestType, ) + from .group_0355 import ( + PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse as PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0355 import ( PullRequestReviewCommentPropLinksPropSelfType as PullRequestReviewCommentPropLinksPropSelfType, ) + from .group_0355 import ( + PullRequestReviewCommentPropLinksPropSelfTypeForResponse as PullRequestReviewCommentPropLinksPropSelfTypeForResponse, + ) from .group_0355 import ( PullRequestReviewCommentPropLinksType as PullRequestReviewCommentPropLinksType, ) + from .group_0355 import ( + PullRequestReviewCommentPropLinksTypeForResponse as PullRequestReviewCommentPropLinksTypeForResponse, + ) from .group_0355 import PullRequestReviewCommentType as PullRequestReviewCommentType + from .group_0355 import ( + PullRequestReviewCommentTypeForResponse as PullRequestReviewCommentTypeForResponse, + ) from .group_0355 import ( TimelineLineCommentedEventType as TimelineLineCommentedEventType, ) + from .group_0355 import ( + TimelineLineCommentedEventTypeForResponse as TimelineLineCommentedEventTypeForResponse, + ) from .group_0356 import ( TimelineAssignedIssueEventType as TimelineAssignedIssueEventType, ) + from .group_0356 import ( + TimelineAssignedIssueEventTypeForResponse as TimelineAssignedIssueEventTypeForResponse, + ) from .group_0357 import ( TimelineUnassignedIssueEventType as TimelineUnassignedIssueEventType, ) + from .group_0357 import ( + TimelineUnassignedIssueEventTypeForResponse as TimelineUnassignedIssueEventTypeForResponse, + ) from .group_0358 import StateChangeIssueEventType as StateChangeIssueEventType + from .group_0358 import ( + StateChangeIssueEventTypeForResponse as StateChangeIssueEventTypeForResponse, + ) from .group_0359 import DeployKeyType as DeployKeyType + from .group_0359 import DeployKeyTypeForResponse as DeployKeyTypeForResponse from .group_0360 import LanguageType as LanguageType + from .group_0360 import LanguageTypeForResponse as LanguageTypeForResponse from .group_0361 import LicenseContentPropLinksType as LicenseContentPropLinksType + from .group_0361 import ( + LicenseContentPropLinksTypeForResponse as LicenseContentPropLinksTypeForResponse, + ) from .group_0361 import LicenseContentType as LicenseContentType + from .group_0361 import ( + LicenseContentTypeForResponse as LicenseContentTypeForResponse, + ) from .group_0362 import MergedUpstreamType as MergedUpstreamType + from .group_0362 import ( + MergedUpstreamTypeForResponse as MergedUpstreamTypeForResponse, + ) from .group_0363 import PagesHttpsCertificateType as PagesHttpsCertificateType + from .group_0363 import ( + PagesHttpsCertificateTypeForResponse as PagesHttpsCertificateTypeForResponse, + ) from .group_0363 import PagesSourceHashType as PagesSourceHashType + from .group_0363 import ( + PagesSourceHashTypeForResponse as PagesSourceHashTypeForResponse, + ) from .group_0363 import PageType as PageType + from .group_0363 import PageTypeForResponse as PageTypeForResponse from .group_0364 import PageBuildPropErrorType as PageBuildPropErrorType + from .group_0364 import ( + PageBuildPropErrorTypeForResponse as PageBuildPropErrorTypeForResponse, + ) from .group_0364 import PageBuildType as PageBuildType + from .group_0364 import PageBuildTypeForResponse as PageBuildTypeForResponse from .group_0365 import PageBuildStatusType as PageBuildStatusType + from .group_0365 import ( + PageBuildStatusTypeForResponse as PageBuildStatusTypeForResponse, + ) from .group_0366 import PageDeploymentType as PageDeploymentType + from .group_0366 import ( + PageDeploymentTypeForResponse as PageDeploymentTypeForResponse, + ) from .group_0367 import PagesDeploymentStatusType as PagesDeploymentStatusType + from .group_0367 import ( + PagesDeploymentStatusTypeForResponse as PagesDeploymentStatusTypeForResponse, + ) from .group_0368 import ( PagesHealthCheckPropAltDomainType as PagesHealthCheckPropAltDomainType, ) + from .group_0368 import ( + PagesHealthCheckPropAltDomainTypeForResponse as PagesHealthCheckPropAltDomainTypeForResponse, + ) from .group_0368 import ( PagesHealthCheckPropDomainType as PagesHealthCheckPropDomainType, ) + from .group_0368 import ( + PagesHealthCheckPropDomainTypeForResponse as PagesHealthCheckPropDomainTypeForResponse, + ) from .group_0368 import PagesHealthCheckType as PagesHealthCheckType + from .group_0368 import ( + PagesHealthCheckTypeForResponse as PagesHealthCheckTypeForResponse, + ) from .group_0369 import PullRequestType as PullRequestType + from .group_0369 import PullRequestTypeForResponse as PullRequestTypeForResponse from .group_0370 import ( PullRequestPropLabelsItemsType as PullRequestPropLabelsItemsType, ) + from .group_0370 import ( + PullRequestPropLabelsItemsTypeForResponse as PullRequestPropLabelsItemsTypeForResponse, + ) from .group_0371 import PullRequestPropBaseType as PullRequestPropBaseType + from .group_0371 import ( + PullRequestPropBaseTypeForResponse as PullRequestPropBaseTypeForResponse, + ) from .group_0371 import PullRequestPropHeadType as PullRequestPropHeadType + from .group_0371 import ( + PullRequestPropHeadTypeForResponse as PullRequestPropHeadTypeForResponse, + ) from .group_0372 import PullRequestPropLinksType as PullRequestPropLinksType + from .group_0372 import ( + PullRequestPropLinksTypeForResponse as PullRequestPropLinksTypeForResponse, + ) from .group_0373 import PullRequestMergeResultType as PullRequestMergeResultType + from .group_0373 import ( + PullRequestMergeResultTypeForResponse as PullRequestMergeResultTypeForResponse, + ) from .group_0374 import PullRequestReviewRequestType as PullRequestReviewRequestType + from .group_0374 import ( + PullRequestReviewRequestTypeForResponse as PullRequestReviewRequestTypeForResponse, + ) from .group_0375 import ( PullRequestReviewPropLinksPropHtmlType as PullRequestReviewPropLinksPropHtmlType, ) + from .group_0375 import ( + PullRequestReviewPropLinksPropHtmlTypeForResponse as PullRequestReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0375 import ( PullRequestReviewPropLinksPropPullRequestType as PullRequestReviewPropLinksPropPullRequestType, ) + from .group_0375 import ( + PullRequestReviewPropLinksPropPullRequestTypeForResponse as PullRequestReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0375 import ( PullRequestReviewPropLinksType as PullRequestReviewPropLinksType, ) + from .group_0375 import ( + PullRequestReviewPropLinksTypeForResponse as PullRequestReviewPropLinksTypeForResponse, + ) from .group_0375 import PullRequestReviewType as PullRequestReviewType + from .group_0375 import ( + PullRequestReviewTypeForResponse as PullRequestReviewTypeForResponse, + ) from .group_0376 import ReviewCommentType as ReviewCommentType + from .group_0376 import ReviewCommentTypeForResponse as ReviewCommentTypeForResponse from .group_0377 import ReviewCommentPropLinksType as ReviewCommentPropLinksType + from .group_0377 import ( + ReviewCommentPropLinksTypeForResponse as ReviewCommentPropLinksTypeForResponse, + ) from .group_0378 import ReleaseAssetType as ReleaseAssetType + from .group_0378 import ReleaseAssetTypeForResponse as ReleaseAssetTypeForResponse from .group_0379 import ReleaseType as ReleaseType + from .group_0379 import ReleaseTypeForResponse as ReleaseTypeForResponse from .group_0380 import ReleaseNotesContentType as ReleaseNotesContentType + from .group_0380 import ( + ReleaseNotesContentTypeForResponse as ReleaseNotesContentTypeForResponse, + ) from .group_0381 import ( RepositoryRuleRulesetInfoType as RepositoryRuleRulesetInfoType, ) + from .group_0381 import ( + RepositoryRuleRulesetInfoTypeForResponse as RepositoryRuleRulesetInfoTypeForResponse, + ) from .group_0382 import ( RepositoryRuleDetailedOneof0Type as RepositoryRuleDetailedOneof0Type, ) + from .group_0382 import ( + RepositoryRuleDetailedOneof0TypeForResponse as RepositoryRuleDetailedOneof0TypeForResponse, + ) from .group_0383 import ( RepositoryRuleDetailedOneof1Type as RepositoryRuleDetailedOneof1Type, ) + from .group_0383 import ( + RepositoryRuleDetailedOneof1TypeForResponse as RepositoryRuleDetailedOneof1TypeForResponse, + ) from .group_0384 import ( RepositoryRuleDetailedOneof2Type as RepositoryRuleDetailedOneof2Type, ) + from .group_0384 import ( + RepositoryRuleDetailedOneof2TypeForResponse as RepositoryRuleDetailedOneof2TypeForResponse, + ) from .group_0385 import ( RepositoryRuleDetailedOneof3Type as RepositoryRuleDetailedOneof3Type, ) + from .group_0385 import ( + RepositoryRuleDetailedOneof3TypeForResponse as RepositoryRuleDetailedOneof3TypeForResponse, + ) from .group_0386 import ( RepositoryRuleDetailedOneof4Type as RepositoryRuleDetailedOneof4Type, ) + from .group_0386 import ( + RepositoryRuleDetailedOneof4TypeForResponse as RepositoryRuleDetailedOneof4TypeForResponse, + ) from .group_0387 import ( RepositoryRuleDetailedOneof5Type as RepositoryRuleDetailedOneof5Type, ) + from .group_0387 import ( + RepositoryRuleDetailedOneof5TypeForResponse as RepositoryRuleDetailedOneof5TypeForResponse, + ) from .group_0388 import ( RepositoryRuleDetailedOneof6Type as RepositoryRuleDetailedOneof6Type, ) + from .group_0388 import ( + RepositoryRuleDetailedOneof6TypeForResponse as RepositoryRuleDetailedOneof6TypeForResponse, + ) from .group_0389 import ( RepositoryRuleDetailedOneof7Type as RepositoryRuleDetailedOneof7Type, ) + from .group_0389 import ( + RepositoryRuleDetailedOneof7TypeForResponse as RepositoryRuleDetailedOneof7TypeForResponse, + ) from .group_0390 import ( RepositoryRuleDetailedOneof8Type as RepositoryRuleDetailedOneof8Type, ) + from .group_0390 import ( + RepositoryRuleDetailedOneof8TypeForResponse as RepositoryRuleDetailedOneof8TypeForResponse, + ) from .group_0391 import ( RepositoryRuleDetailedOneof9Type as RepositoryRuleDetailedOneof9Type, ) + from .group_0391 import ( + RepositoryRuleDetailedOneof9TypeForResponse as RepositoryRuleDetailedOneof9TypeForResponse, + ) from .group_0392 import ( RepositoryRuleDetailedOneof10Type as RepositoryRuleDetailedOneof10Type, ) + from .group_0392 import ( + RepositoryRuleDetailedOneof10TypeForResponse as RepositoryRuleDetailedOneof10TypeForResponse, + ) from .group_0393 import ( RepositoryRuleDetailedOneof11Type as RepositoryRuleDetailedOneof11Type, ) + from .group_0393 import ( + RepositoryRuleDetailedOneof11TypeForResponse as RepositoryRuleDetailedOneof11TypeForResponse, + ) from .group_0394 import ( RepositoryRuleDetailedOneof12Type as RepositoryRuleDetailedOneof12Type, ) + from .group_0394 import ( + RepositoryRuleDetailedOneof12TypeForResponse as RepositoryRuleDetailedOneof12TypeForResponse, + ) from .group_0395 import ( RepositoryRuleDetailedOneof13Type as RepositoryRuleDetailedOneof13Type, ) + from .group_0395 import ( + RepositoryRuleDetailedOneof13TypeForResponse as RepositoryRuleDetailedOneof13TypeForResponse, + ) from .group_0396 import ( RepositoryRuleDetailedOneof14Type as RepositoryRuleDetailedOneof14Type, ) + from .group_0396 import ( + RepositoryRuleDetailedOneof14TypeForResponse as RepositoryRuleDetailedOneof14TypeForResponse, + ) from .group_0397 import ( RepositoryRuleDetailedOneof15Type as RepositoryRuleDetailedOneof15Type, ) + from .group_0397 import ( + RepositoryRuleDetailedOneof15TypeForResponse as RepositoryRuleDetailedOneof15TypeForResponse, + ) from .group_0398 import ( RepositoryRuleDetailedOneof16Type as RepositoryRuleDetailedOneof16Type, ) + from .group_0398 import ( + RepositoryRuleDetailedOneof16TypeForResponse as RepositoryRuleDetailedOneof16TypeForResponse, + ) from .group_0399 import ( RepositoryRuleDetailedOneof17Type as RepositoryRuleDetailedOneof17Type, ) + from .group_0399 import ( + RepositoryRuleDetailedOneof17TypeForResponse as RepositoryRuleDetailedOneof17TypeForResponse, + ) from .group_0400 import ( RepositoryRuleDetailedOneof18Type as RepositoryRuleDetailedOneof18Type, ) + from .group_0400 import ( + RepositoryRuleDetailedOneof18TypeForResponse as RepositoryRuleDetailedOneof18TypeForResponse, + ) from .group_0401 import ( RepositoryRuleDetailedOneof19Type as RepositoryRuleDetailedOneof19Type, ) + from .group_0401 import ( + RepositoryRuleDetailedOneof19TypeForResponse as RepositoryRuleDetailedOneof19TypeForResponse, + ) from .group_0402 import ( RepositoryRuleDetailedOneof20Type as RepositoryRuleDetailedOneof20Type, ) + from .group_0402 import ( + RepositoryRuleDetailedOneof20TypeForResponse as RepositoryRuleDetailedOneof20TypeForResponse, + ) from .group_0403 import ( RepositoryRuleDetailedOneof21Type as RepositoryRuleDetailedOneof21Type, ) + from .group_0403 import ( + RepositoryRuleDetailedOneof21TypeForResponse as RepositoryRuleDetailedOneof21TypeForResponse, + ) from .group_0404 import SecretScanningAlertType as SecretScanningAlertType + from .group_0404 import ( + SecretScanningAlertTypeForResponse as SecretScanningAlertTypeForResponse, + ) from .group_0405 import SecretScanningLocationType as SecretScanningLocationType + from .group_0405 import ( + SecretScanningLocationTypeForResponse as SecretScanningLocationTypeForResponse, + ) from .group_0406 import ( SecretScanningPushProtectionBypassType as SecretScanningPushProtectionBypassType, ) + from .group_0406 import ( + SecretScanningPushProtectionBypassTypeForResponse as SecretScanningPushProtectionBypassTypeForResponse, + ) from .group_0407 import ( SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType, ) + from .group_0407 import ( + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse, + ) from .group_0407 import ( SecretScanningScanHistoryType as SecretScanningScanHistoryType, ) + from .group_0407 import ( + SecretScanningScanHistoryTypeForResponse as SecretScanningScanHistoryTypeForResponse, + ) from .group_0407 import SecretScanningScanType as SecretScanningScanType + from .group_0407 import ( + SecretScanningScanTypeForResponse as SecretScanningScanTypeForResponse, + ) from .group_0408 import ( SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type, ) + from .group_0408 import ( + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse as SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse, + ) from .group_0409 import ( RepositoryAdvisoryCreatePropCreditsItemsType as RepositoryAdvisoryCreatePropCreditsItemsType, ) + from .group_0409 import ( + RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse as RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse, + ) from .group_0409 import ( RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType as RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0409 import ( + RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse as RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0409 import ( RepositoryAdvisoryCreatePropVulnerabilitiesItemsType as RepositoryAdvisoryCreatePropVulnerabilitiesItemsType, ) + from .group_0409 import ( + RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse as RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0409 import RepositoryAdvisoryCreateType as RepositoryAdvisoryCreateType + from .group_0409 import ( + RepositoryAdvisoryCreateTypeForResponse as RepositoryAdvisoryCreateTypeForResponse, + ) from .group_0410 import ( PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0410 import ( + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0410 import ( PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType, ) + from .group_0410 import ( + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse as PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0410 import ( PrivateVulnerabilityReportCreateType as PrivateVulnerabilityReportCreateType, ) + from .group_0410 import ( + PrivateVulnerabilityReportCreateTypeForResponse as PrivateVulnerabilityReportCreateTypeForResponse, + ) from .group_0411 import ( RepositoryAdvisoryUpdatePropCreditsItemsType as RepositoryAdvisoryUpdatePropCreditsItemsType, ) + from .group_0411 import ( + RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse as RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse, + ) from .group_0411 import ( RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType, ) + from .group_0411 import ( + RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0411 import ( RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType, ) + from .group_0411 import ( + RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse as RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse, + ) from .group_0411 import RepositoryAdvisoryUpdateType as RepositoryAdvisoryUpdateType + from .group_0411 import ( + RepositoryAdvisoryUpdateTypeForResponse as RepositoryAdvisoryUpdateTypeForResponse, + ) from .group_0412 import StargazerType as StargazerType + from .group_0412 import StargazerTypeForResponse as StargazerTypeForResponse from .group_0413 import CommitActivityType as CommitActivityType + from .group_0413 import ( + CommitActivityTypeForResponse as CommitActivityTypeForResponse, + ) from .group_0414 import ( ContributorActivityPropWeeksItemsType as ContributorActivityPropWeeksItemsType, ) + from .group_0414 import ( + ContributorActivityPropWeeksItemsTypeForResponse as ContributorActivityPropWeeksItemsTypeForResponse, + ) from .group_0414 import ContributorActivityType as ContributorActivityType + from .group_0414 import ( + ContributorActivityTypeForResponse as ContributorActivityTypeForResponse, + ) from .group_0415 import ParticipationStatsType as ParticipationStatsType + from .group_0415 import ( + ParticipationStatsTypeForResponse as ParticipationStatsTypeForResponse, + ) from .group_0416 import RepositorySubscriptionType as RepositorySubscriptionType + from .group_0416 import ( + RepositorySubscriptionTypeForResponse as RepositorySubscriptionTypeForResponse, + ) from .group_0417 import TagPropCommitType as TagPropCommitType + from .group_0417 import TagPropCommitTypeForResponse as TagPropCommitTypeForResponse from .group_0417 import TagType as TagType + from .group_0417 import TagTypeForResponse as TagTypeForResponse from .group_0418 import TagProtectionType as TagProtectionType + from .group_0418 import TagProtectionTypeForResponse as TagProtectionTypeForResponse from .group_0419 import TopicType as TopicType + from .group_0419 import TopicTypeForResponse as TopicTypeForResponse from .group_0420 import TrafficType as TrafficType + from .group_0420 import TrafficTypeForResponse as TrafficTypeForResponse from .group_0421 import CloneTrafficType as CloneTrafficType + from .group_0421 import CloneTrafficTypeForResponse as CloneTrafficTypeForResponse from .group_0422 import ContentTrafficType as ContentTrafficType + from .group_0422 import ( + ContentTrafficTypeForResponse as ContentTrafficTypeForResponse, + ) from .group_0423 import ReferrerTrafficType as ReferrerTrafficType + from .group_0423 import ( + ReferrerTrafficTypeForResponse as ReferrerTrafficTypeForResponse, + ) from .group_0424 import ViewTrafficType as ViewTrafficType + from .group_0424 import ViewTrafficTypeForResponse as ViewTrafficTypeForResponse from .group_0425 import ( SearchResultTextMatchesItemsPropMatchesItemsType as SearchResultTextMatchesItemsPropMatchesItemsType, ) + from .group_0425 import ( + SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse as SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse, + ) from .group_0425 import ( SearchResultTextMatchesItemsType as SearchResultTextMatchesItemsType, ) + from .group_0425 import ( + SearchResultTextMatchesItemsTypeForResponse as SearchResultTextMatchesItemsTypeForResponse, + ) from .group_0426 import CodeSearchResultItemType as CodeSearchResultItemType + from .group_0426 import ( + CodeSearchResultItemTypeForResponse as CodeSearchResultItemTypeForResponse, + ) from .group_0426 import SearchCodeGetResponse200Type as SearchCodeGetResponse200Type + from .group_0426 import ( + SearchCodeGetResponse200TypeForResponse as SearchCodeGetResponse200TypeForResponse, + ) from .group_0427 import ( CommitSearchResultItemPropParentsItemsType as CommitSearchResultItemPropParentsItemsType, ) + from .group_0427 import ( + CommitSearchResultItemPropParentsItemsTypeForResponse as CommitSearchResultItemPropParentsItemsTypeForResponse, + ) from .group_0427 import CommitSearchResultItemType as CommitSearchResultItemType + from .group_0427 import ( + CommitSearchResultItemTypeForResponse as CommitSearchResultItemTypeForResponse, + ) from .group_0427 import ( SearchCommitsGetResponse200Type as SearchCommitsGetResponse200Type, ) + from .group_0427 import ( + SearchCommitsGetResponse200TypeForResponse as SearchCommitsGetResponse200TypeForResponse, + ) from .group_0428 import ( CommitSearchResultItemPropCommitPropAuthorType as CommitSearchResultItemPropCommitPropAuthorType, ) + from .group_0428 import ( + CommitSearchResultItemPropCommitPropAuthorTypeForResponse as CommitSearchResultItemPropCommitPropAuthorTypeForResponse, + ) from .group_0428 import ( CommitSearchResultItemPropCommitPropTreeType as CommitSearchResultItemPropCommitPropTreeType, ) + from .group_0428 import ( + CommitSearchResultItemPropCommitPropTreeTypeForResponse as CommitSearchResultItemPropCommitPropTreeTypeForResponse, + ) from .group_0428 import ( CommitSearchResultItemPropCommitType as CommitSearchResultItemPropCommitType, ) + from .group_0428 import ( + CommitSearchResultItemPropCommitTypeForResponse as CommitSearchResultItemPropCommitTypeForResponse, + ) from .group_0429 import ( IssueSearchResultItemPropLabelsItemsType as IssueSearchResultItemPropLabelsItemsType, ) + from .group_0429 import ( + IssueSearchResultItemPropLabelsItemsTypeForResponse as IssueSearchResultItemPropLabelsItemsTypeForResponse, + ) from .group_0429 import ( IssueSearchResultItemPropPullRequestType as IssueSearchResultItemPropPullRequestType, ) + from .group_0429 import ( + IssueSearchResultItemPropPullRequestTypeForResponse as IssueSearchResultItemPropPullRequestTypeForResponse, + ) from .group_0429 import IssueSearchResultItemType as IssueSearchResultItemType + from .group_0429 import ( + IssueSearchResultItemTypeForResponse as IssueSearchResultItemTypeForResponse, + ) from .group_0429 import ( SearchIssuesGetResponse200Type as SearchIssuesGetResponse200Type, ) + from .group_0429 import ( + SearchIssuesGetResponse200TypeForResponse as SearchIssuesGetResponse200TypeForResponse, + ) from .group_0430 import LabelSearchResultItemType as LabelSearchResultItemType + from .group_0430 import ( + LabelSearchResultItemTypeForResponse as LabelSearchResultItemTypeForResponse, + ) from .group_0430 import ( SearchLabelsGetResponse200Type as SearchLabelsGetResponse200Type, ) + from .group_0430 import ( + SearchLabelsGetResponse200TypeForResponse as SearchLabelsGetResponse200TypeForResponse, + ) from .group_0431 import ( RepoSearchResultItemPropPermissionsType as RepoSearchResultItemPropPermissionsType, ) + from .group_0431 import ( + RepoSearchResultItemPropPermissionsTypeForResponse as RepoSearchResultItemPropPermissionsTypeForResponse, + ) from .group_0431 import RepoSearchResultItemType as RepoSearchResultItemType + from .group_0431 import ( + RepoSearchResultItemTypeForResponse as RepoSearchResultItemTypeForResponse, + ) from .group_0431 import ( SearchRepositoriesGetResponse200Type as SearchRepositoriesGetResponse200Type, ) + from .group_0431 import ( + SearchRepositoriesGetResponse200TypeForResponse as SearchRepositoriesGetResponse200TypeForResponse, + ) from .group_0432 import ( SearchTopicsGetResponse200Type as SearchTopicsGetResponse200Type, ) + from .group_0432 import ( + SearchTopicsGetResponse200TypeForResponse as SearchTopicsGetResponse200TypeForResponse, + ) from .group_0432 import ( TopicSearchResultItemPropAliasesItemsPropTopicRelationType as TopicSearchResultItemPropAliasesItemsPropTopicRelationType, ) + from .group_0432 import ( + TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse as TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse, + ) from .group_0432 import ( TopicSearchResultItemPropAliasesItemsType as TopicSearchResultItemPropAliasesItemsType, ) + from .group_0432 import ( + TopicSearchResultItemPropAliasesItemsTypeForResponse as TopicSearchResultItemPropAliasesItemsTypeForResponse, + ) from .group_0432 import ( TopicSearchResultItemPropRelatedItemsPropTopicRelationType as TopicSearchResultItemPropRelatedItemsPropTopicRelationType, ) + from .group_0432 import ( + TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse as TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse, + ) from .group_0432 import ( TopicSearchResultItemPropRelatedItemsType as TopicSearchResultItemPropRelatedItemsType, ) + from .group_0432 import ( + TopicSearchResultItemPropRelatedItemsTypeForResponse as TopicSearchResultItemPropRelatedItemsTypeForResponse, + ) from .group_0432 import TopicSearchResultItemType as TopicSearchResultItemType + from .group_0432 import ( + TopicSearchResultItemTypeForResponse as TopicSearchResultItemTypeForResponse, + ) from .group_0433 import ( SearchUsersGetResponse200Type as SearchUsersGetResponse200Type, ) + from .group_0433 import ( + SearchUsersGetResponse200TypeForResponse as SearchUsersGetResponse200TypeForResponse, + ) from .group_0433 import UserSearchResultItemType as UserSearchResultItemType + from .group_0433 import ( + UserSearchResultItemTypeForResponse as UserSearchResultItemTypeForResponse, + ) from .group_0434 import PrivateUserPropPlanType as PrivateUserPropPlanType + from .group_0434 import ( + PrivateUserPropPlanTypeForResponse as PrivateUserPropPlanTypeForResponse, + ) from .group_0434 import PrivateUserType as PrivateUserType + from .group_0434 import PrivateUserTypeForResponse as PrivateUserTypeForResponse from .group_0435 import CodespacesUserPublicKeyType as CodespacesUserPublicKeyType + from .group_0435 import ( + CodespacesUserPublicKeyTypeForResponse as CodespacesUserPublicKeyTypeForResponse, + ) from .group_0436 import CodespaceExportDetailsType as CodespaceExportDetailsType + from .group_0436 import ( + CodespaceExportDetailsTypeForResponse as CodespaceExportDetailsTypeForResponse, + ) from .group_0437 import ( CodespaceWithFullRepositoryPropGitStatusType as CodespaceWithFullRepositoryPropGitStatusType, ) + from .group_0437 import ( + CodespaceWithFullRepositoryPropGitStatusTypeForResponse as CodespaceWithFullRepositoryPropGitStatusTypeForResponse, + ) from .group_0437 import ( CodespaceWithFullRepositoryPropRuntimeConstraintsType as CodespaceWithFullRepositoryPropRuntimeConstraintsType, ) + from .group_0437 import ( + CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse as CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse, + ) from .group_0437 import ( CodespaceWithFullRepositoryType as CodespaceWithFullRepositoryType, ) + from .group_0437 import ( + CodespaceWithFullRepositoryTypeForResponse as CodespaceWithFullRepositoryTypeForResponse, + ) from .group_0438 import EmailType as EmailType + from .group_0438 import EmailTypeForResponse as EmailTypeForResponse from .group_0439 import GpgKeyPropEmailsItemsType as GpgKeyPropEmailsItemsType + from .group_0439 import ( + GpgKeyPropEmailsItemsTypeForResponse as GpgKeyPropEmailsItemsTypeForResponse, + ) from .group_0439 import ( GpgKeyPropSubkeysItemsPropEmailsItemsType as GpgKeyPropSubkeysItemsPropEmailsItemsType, ) + from .group_0439 import ( + GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse as GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse, + ) from .group_0439 import GpgKeyPropSubkeysItemsType as GpgKeyPropSubkeysItemsType + from .group_0439 import ( + GpgKeyPropSubkeysItemsTypeForResponse as GpgKeyPropSubkeysItemsTypeForResponse, + ) from .group_0439 import GpgKeyType as GpgKeyType + from .group_0439 import GpgKeyTypeForResponse as GpgKeyTypeForResponse from .group_0440 import KeyType as KeyType + from .group_0440 import KeyTypeForResponse as KeyTypeForResponse from .group_0441 import MarketplaceAccountType as MarketplaceAccountType + from .group_0441 import ( + MarketplaceAccountTypeForResponse as MarketplaceAccountTypeForResponse, + ) from .group_0441 import UserMarketplacePurchaseType as UserMarketplacePurchaseType + from .group_0441 import ( + UserMarketplacePurchaseTypeForResponse as UserMarketplacePurchaseTypeForResponse, + ) from .group_0442 import SocialAccountType as SocialAccountType + from .group_0442 import SocialAccountTypeForResponse as SocialAccountTypeForResponse from .group_0443 import SshSigningKeyType as SshSigningKeyType + from .group_0443 import SshSigningKeyTypeForResponse as SshSigningKeyTypeForResponse from .group_0444 import StarredRepositoryType as StarredRepositoryType + from .group_0444 import ( + StarredRepositoryTypeForResponse as StarredRepositoryTypeForResponse, + ) from .group_0445 import ( HovercardPropContextsItemsType as HovercardPropContextsItemsType, ) + from .group_0445 import ( + HovercardPropContextsItemsTypeForResponse as HovercardPropContextsItemsTypeForResponse, + ) from .group_0445 import HovercardType as HovercardType + from .group_0445 import HovercardTypeForResponse as HovercardTypeForResponse from .group_0446 import KeySimpleType as KeySimpleType + from .group_0446 import KeySimpleTypeForResponse as KeySimpleTypeForResponse from .group_0447 import ( BillingPremiumRequestUsageReportUserPropTimePeriodType as BillingPremiumRequestUsageReportUserPropTimePeriodType, ) + from .group_0447 import ( + BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse as BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse, + ) from .group_0447 import ( BillingPremiumRequestUsageReportUserPropUsageItemsItemsType as BillingPremiumRequestUsageReportUserPropUsageItemsItemsType, ) + from .group_0447 import ( + BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse as BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0447 import ( BillingPremiumRequestUsageReportUserType as BillingPremiumRequestUsageReportUserType, ) + from .group_0447 import ( + BillingPremiumRequestUsageReportUserTypeForResponse as BillingPremiumRequestUsageReportUserTypeForResponse, + ) from .group_0448 import ( BillingUsageReportUserPropUsageItemsItemsType as BillingUsageReportUserPropUsageItemsItemsType, ) + from .group_0448 import ( + BillingUsageReportUserPropUsageItemsItemsTypeForResponse as BillingUsageReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0448 import BillingUsageReportUserType as BillingUsageReportUserType + from .group_0448 import ( + BillingUsageReportUserTypeForResponse as BillingUsageReportUserTypeForResponse, + ) from .group_0449 import ( BillingUsageSummaryReportUserPropTimePeriodType as BillingUsageSummaryReportUserPropTimePeriodType, ) + from .group_0449 import ( + BillingUsageSummaryReportUserPropTimePeriodTypeForResponse as BillingUsageSummaryReportUserPropTimePeriodTypeForResponse, + ) from .group_0449 import ( BillingUsageSummaryReportUserPropUsageItemsItemsType as BillingUsageSummaryReportUserPropUsageItemsItemsType, ) + from .group_0449 import ( + BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse as BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse, + ) from .group_0449 import ( BillingUsageSummaryReportUserType as BillingUsageSummaryReportUserType, ) + from .group_0449 import ( + BillingUsageSummaryReportUserTypeForResponse as BillingUsageSummaryReportUserTypeForResponse, + ) from .group_0450 import EnterpriseWebhooksType as EnterpriseWebhooksType + from .group_0450 import ( + EnterpriseWebhooksTypeForResponse as EnterpriseWebhooksTypeForResponse, + ) from .group_0451 import SimpleInstallationType as SimpleInstallationType + from .group_0451 import ( + SimpleInstallationTypeForResponse as SimpleInstallationTypeForResponse, + ) from .group_0452 import ( OrganizationSimpleWebhooksType as OrganizationSimpleWebhooksType, ) + from .group_0452 import ( + OrganizationSimpleWebhooksTypeForResponse as OrganizationSimpleWebhooksTypeForResponse, + ) from .group_0453 import ( RepositoryWebhooksPropCustomPropertiesType as RepositoryWebhooksPropCustomPropertiesType, ) + from .group_0453 import ( + RepositoryWebhooksPropCustomPropertiesTypeForResponse as RepositoryWebhooksPropCustomPropertiesTypeForResponse, + ) from .group_0453 import ( RepositoryWebhooksPropPermissionsType as RepositoryWebhooksPropPermissionsType, ) + from .group_0453 import ( + RepositoryWebhooksPropPermissionsTypeForResponse as RepositoryWebhooksPropPermissionsTypeForResponse, + ) from .group_0453 import ( RepositoryWebhooksPropTemplateRepositoryPropOwnerType as RepositoryWebhooksPropTemplateRepositoryPropOwnerType, ) + from .group_0453 import ( + RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse as RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse, + ) from .group_0453 import ( RepositoryWebhooksPropTemplateRepositoryPropPermissionsType as RepositoryWebhooksPropTemplateRepositoryPropPermissionsType, ) + from .group_0453 import ( + RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse as RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse, + ) from .group_0453 import ( RepositoryWebhooksPropTemplateRepositoryType as RepositoryWebhooksPropTemplateRepositoryType, ) + from .group_0453 import ( + RepositoryWebhooksPropTemplateRepositoryTypeForResponse as RepositoryWebhooksPropTemplateRepositoryTypeForResponse, + ) from .group_0453 import RepositoryWebhooksType as RepositoryWebhooksType + from .group_0453 import ( + RepositoryWebhooksTypeForResponse as RepositoryWebhooksTypeForResponse, + ) from .group_0454 import WebhooksRuleType as WebhooksRuleType + from .group_0454 import WebhooksRuleTypeForResponse as WebhooksRuleTypeForResponse from .group_0455 import SimpleCheckSuiteType as SimpleCheckSuiteType + from .group_0455 import ( + SimpleCheckSuiteTypeForResponse as SimpleCheckSuiteTypeForResponse, + ) from .group_0456 import ( CheckRunWithSimpleCheckSuitePropOutputType as CheckRunWithSimpleCheckSuitePropOutputType, ) + from .group_0456 import ( + CheckRunWithSimpleCheckSuitePropOutputTypeForResponse as CheckRunWithSimpleCheckSuitePropOutputTypeForResponse, + ) from .group_0456 import ( CheckRunWithSimpleCheckSuiteType as CheckRunWithSimpleCheckSuiteType, ) + from .group_0456 import ( + CheckRunWithSimpleCheckSuiteTypeForResponse as CheckRunWithSimpleCheckSuiteTypeForResponse, + ) from .group_0457 import WebhooksDeployKeyType as WebhooksDeployKeyType + from .group_0457 import ( + WebhooksDeployKeyTypeForResponse as WebhooksDeployKeyTypeForResponse, + ) from .group_0458 import WebhooksWorkflowType as WebhooksWorkflowType + from .group_0458 import ( + WebhooksWorkflowTypeForResponse as WebhooksWorkflowTypeForResponse, + ) from .group_0459 import WebhooksApproverType as WebhooksApproverType + from .group_0459 import ( + WebhooksApproverTypeForResponse as WebhooksApproverTypeForResponse, + ) from .group_0459 import ( WebhooksReviewersItemsPropReviewerType as WebhooksReviewersItemsPropReviewerType, ) + from .group_0459 import ( + WebhooksReviewersItemsPropReviewerTypeForResponse as WebhooksReviewersItemsPropReviewerTypeForResponse, + ) from .group_0459 import WebhooksReviewersItemsType as WebhooksReviewersItemsType + from .group_0459 import ( + WebhooksReviewersItemsTypeForResponse as WebhooksReviewersItemsTypeForResponse, + ) from .group_0460 import WebhooksWorkflowJobRunType as WebhooksWorkflowJobRunType + from .group_0460 import ( + WebhooksWorkflowJobRunTypeForResponse as WebhooksWorkflowJobRunTypeForResponse, + ) from .group_0461 import WebhooksUserType as WebhooksUserType + from .group_0461 import WebhooksUserTypeForResponse as WebhooksUserTypeForResponse from .group_0462 import ( WebhooksAnswerPropReactionsType as WebhooksAnswerPropReactionsType, ) + from .group_0462 import ( + WebhooksAnswerPropReactionsTypeForResponse as WebhooksAnswerPropReactionsTypeForResponse, + ) from .group_0462 import WebhooksAnswerPropUserType as WebhooksAnswerPropUserType + from .group_0462 import ( + WebhooksAnswerPropUserTypeForResponse as WebhooksAnswerPropUserTypeForResponse, + ) from .group_0462 import WebhooksAnswerType as WebhooksAnswerType + from .group_0462 import ( + WebhooksAnswerTypeForResponse as WebhooksAnswerTypeForResponse, + ) from .group_0463 import ( DiscussionPropAnswerChosenByType as DiscussionPropAnswerChosenByType, ) + from .group_0463 import ( + DiscussionPropAnswerChosenByTypeForResponse as DiscussionPropAnswerChosenByTypeForResponse, + ) from .group_0463 import DiscussionPropCategoryType as DiscussionPropCategoryType + from .group_0463 import ( + DiscussionPropCategoryTypeForResponse as DiscussionPropCategoryTypeForResponse, + ) from .group_0463 import DiscussionPropReactionsType as DiscussionPropReactionsType + from .group_0463 import ( + DiscussionPropReactionsTypeForResponse as DiscussionPropReactionsTypeForResponse, + ) from .group_0463 import DiscussionPropUserType as DiscussionPropUserType + from .group_0463 import ( + DiscussionPropUserTypeForResponse as DiscussionPropUserTypeForResponse, + ) from .group_0463 import DiscussionType as DiscussionType + from .group_0463 import DiscussionTypeForResponse as DiscussionTypeForResponse from .group_0463 import LabelType as LabelType + from .group_0463 import LabelTypeForResponse as LabelTypeForResponse from .group_0464 import ( WebhooksCommentPropReactionsType as WebhooksCommentPropReactionsType, ) + from .group_0464 import ( + WebhooksCommentPropReactionsTypeForResponse as WebhooksCommentPropReactionsTypeForResponse, + ) from .group_0464 import WebhooksCommentPropUserType as WebhooksCommentPropUserType + from .group_0464 import ( + WebhooksCommentPropUserTypeForResponse as WebhooksCommentPropUserTypeForResponse, + ) from .group_0464 import WebhooksCommentType as WebhooksCommentType + from .group_0464 import ( + WebhooksCommentTypeForResponse as WebhooksCommentTypeForResponse, + ) from .group_0465 import WebhooksLabelType as WebhooksLabelType + from .group_0465 import WebhooksLabelTypeForResponse as WebhooksLabelTypeForResponse from .group_0466 import ( WebhooksRepositoriesItemsType as WebhooksRepositoriesItemsType, ) + from .group_0466 import ( + WebhooksRepositoriesItemsTypeForResponse as WebhooksRepositoriesItemsTypeForResponse, + ) from .group_0467 import ( WebhooksRepositoriesAddedItemsType as WebhooksRepositoriesAddedItemsType, ) + from .group_0467 import ( + WebhooksRepositoriesAddedItemsTypeForResponse as WebhooksRepositoriesAddedItemsTypeForResponse, + ) from .group_0468 import ( WebhooksIssueCommentPropReactionsType as WebhooksIssueCommentPropReactionsType, ) + from .group_0468 import ( + WebhooksIssueCommentPropReactionsTypeForResponse as WebhooksIssueCommentPropReactionsTypeForResponse, + ) from .group_0468 import ( WebhooksIssueCommentPropUserType as WebhooksIssueCommentPropUserType, ) + from .group_0468 import ( + WebhooksIssueCommentPropUserTypeForResponse as WebhooksIssueCommentPropUserTypeForResponse, + ) from .group_0468 import WebhooksIssueCommentType as WebhooksIssueCommentType + from .group_0468 import ( + WebhooksIssueCommentTypeForResponse as WebhooksIssueCommentTypeForResponse, + ) from .group_0469 import WebhooksChangesPropBodyType as WebhooksChangesPropBodyType + from .group_0469 import ( + WebhooksChangesPropBodyTypeForResponse as WebhooksChangesPropBodyTypeForResponse, + ) from .group_0469 import WebhooksChangesType as WebhooksChangesType + from .group_0469 import ( + WebhooksChangesTypeForResponse as WebhooksChangesTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropAssigneesItemsType as WebhooksIssuePropAssigneesItemsType, ) + from .group_0470 import ( + WebhooksIssuePropAssigneesItemsTypeForResponse as WebhooksIssuePropAssigneesItemsTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropAssigneeType as WebhooksIssuePropAssigneeType, ) + from .group_0470 import ( + WebhooksIssuePropAssigneeTypeForResponse as WebhooksIssuePropAssigneeTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropLabelsItemsType as WebhooksIssuePropLabelsItemsType, ) + from .group_0470 import ( + WebhooksIssuePropLabelsItemsTypeForResponse as WebhooksIssuePropLabelsItemsTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropMilestonePropCreatorType as WebhooksIssuePropMilestonePropCreatorType, ) + from .group_0470 import ( + WebhooksIssuePropMilestonePropCreatorTypeForResponse as WebhooksIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropMilestoneType as WebhooksIssuePropMilestoneType, ) + from .group_0470 import ( + WebhooksIssuePropMilestoneTypeForResponse as WebhooksIssuePropMilestoneTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropPerformedViaGithubAppPropOwnerType as WebhooksIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0470 import ( + WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropPerformedViaGithubAppPropPermissionsType as WebhooksIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0470 import ( + WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropPerformedViaGithubAppType as WebhooksIssuePropPerformedViaGithubAppType, ) + from .group_0470 import ( + WebhooksIssuePropPerformedViaGithubAppTypeForResponse as WebhooksIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropPullRequestType as WebhooksIssuePropPullRequestType, ) + from .group_0470 import ( + WebhooksIssuePropPullRequestTypeForResponse as WebhooksIssuePropPullRequestTypeForResponse, + ) from .group_0470 import ( WebhooksIssuePropReactionsType as WebhooksIssuePropReactionsType, ) + from .group_0470 import ( + WebhooksIssuePropReactionsTypeForResponse as WebhooksIssuePropReactionsTypeForResponse, + ) from .group_0470 import WebhooksIssuePropUserType as WebhooksIssuePropUserType + from .group_0470 import ( + WebhooksIssuePropUserTypeForResponse as WebhooksIssuePropUserTypeForResponse, + ) from .group_0470 import WebhooksIssueType as WebhooksIssueType + from .group_0470 import WebhooksIssueTypeForResponse as WebhooksIssueTypeForResponse from .group_0471 import ( WebhooksMilestonePropCreatorType as WebhooksMilestonePropCreatorType, ) + from .group_0471 import ( + WebhooksMilestonePropCreatorTypeForResponse as WebhooksMilestonePropCreatorTypeForResponse, + ) from .group_0471 import WebhooksMilestoneType as WebhooksMilestoneType + from .group_0471 import ( + WebhooksMilestoneTypeForResponse as WebhooksMilestoneTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropAssigneesItemsType as WebhooksIssue2PropAssigneesItemsType, ) + from .group_0472 import ( + WebhooksIssue2PropAssigneesItemsTypeForResponse as WebhooksIssue2PropAssigneesItemsTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropAssigneeType as WebhooksIssue2PropAssigneeType, ) + from .group_0472 import ( + WebhooksIssue2PropAssigneeTypeForResponse as WebhooksIssue2PropAssigneeTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropLabelsItemsType as WebhooksIssue2PropLabelsItemsType, ) + from .group_0472 import ( + WebhooksIssue2PropLabelsItemsTypeForResponse as WebhooksIssue2PropLabelsItemsTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropMilestonePropCreatorType as WebhooksIssue2PropMilestonePropCreatorType, ) + from .group_0472 import ( + WebhooksIssue2PropMilestonePropCreatorTypeForResponse as WebhooksIssue2PropMilestonePropCreatorTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropMilestoneType as WebhooksIssue2PropMilestoneType, ) + from .group_0472 import ( + WebhooksIssue2PropMilestoneTypeForResponse as WebhooksIssue2PropMilestoneTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropPerformedViaGithubAppPropOwnerType as WebhooksIssue2PropPerformedViaGithubAppPropOwnerType, ) + from .group_0472 import ( + WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType as WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0472 import ( + WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropPerformedViaGithubAppType as WebhooksIssue2PropPerformedViaGithubAppType, ) + from .group_0472 import ( + WebhooksIssue2PropPerformedViaGithubAppTypeForResponse as WebhooksIssue2PropPerformedViaGithubAppTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropPullRequestType as WebhooksIssue2PropPullRequestType, ) + from .group_0472 import ( + WebhooksIssue2PropPullRequestTypeForResponse as WebhooksIssue2PropPullRequestTypeForResponse, + ) from .group_0472 import ( WebhooksIssue2PropReactionsType as WebhooksIssue2PropReactionsType, ) + from .group_0472 import ( + WebhooksIssue2PropReactionsTypeForResponse as WebhooksIssue2PropReactionsTypeForResponse, + ) from .group_0472 import WebhooksIssue2PropUserType as WebhooksIssue2PropUserType + from .group_0472 import ( + WebhooksIssue2PropUserTypeForResponse as WebhooksIssue2PropUserTypeForResponse, + ) from .group_0472 import WebhooksIssue2Type as WebhooksIssue2Type + from .group_0472 import ( + WebhooksIssue2TypeForResponse as WebhooksIssue2TypeForResponse, + ) from .group_0473 import WebhooksUserMannequinType as WebhooksUserMannequinType + from .group_0473 import ( + WebhooksUserMannequinTypeForResponse as WebhooksUserMannequinTypeForResponse, + ) from .group_0474 import ( WebhooksMarketplacePurchasePropAccountType as WebhooksMarketplacePurchasePropAccountType, ) + from .group_0474 import ( + WebhooksMarketplacePurchasePropAccountTypeForResponse as WebhooksMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0474 import ( WebhooksMarketplacePurchasePropPlanType as WebhooksMarketplacePurchasePropPlanType, ) + from .group_0474 import ( + WebhooksMarketplacePurchasePropPlanTypeForResponse as WebhooksMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0474 import ( WebhooksMarketplacePurchaseType as WebhooksMarketplacePurchaseType, ) + from .group_0474 import ( + WebhooksMarketplacePurchaseTypeForResponse as WebhooksMarketplacePurchaseTypeForResponse, + ) from .group_0475 import ( WebhooksPreviousMarketplacePurchasePropAccountType as WebhooksPreviousMarketplacePurchasePropAccountType, ) + from .group_0475 import ( + WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse as WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0475 import ( WebhooksPreviousMarketplacePurchasePropPlanType as WebhooksPreviousMarketplacePurchasePropPlanType, ) + from .group_0475 import ( + WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse as WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0475 import ( WebhooksPreviousMarketplacePurchaseType as WebhooksPreviousMarketplacePurchaseType, ) + from .group_0475 import ( + WebhooksPreviousMarketplacePurchaseTypeForResponse as WebhooksPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0476 import WebhooksTeamPropParentType as WebhooksTeamPropParentType + from .group_0476 import ( + WebhooksTeamPropParentTypeForResponse as WebhooksTeamPropParentTypeForResponse, + ) from .group_0476 import WebhooksTeamType as WebhooksTeamType + from .group_0476 import WebhooksTeamTypeForResponse as WebhooksTeamTypeForResponse from .group_0477 import MergeGroupType as MergeGroupType + from .group_0477 import MergeGroupTypeForResponse as MergeGroupTypeForResponse from .group_0478 import ( WebhooksMilestone3PropCreatorType as WebhooksMilestone3PropCreatorType, ) + from .group_0478 import ( + WebhooksMilestone3PropCreatorTypeForResponse as WebhooksMilestone3PropCreatorTypeForResponse, + ) from .group_0478 import WebhooksMilestone3Type as WebhooksMilestone3Type + from .group_0478 import ( + WebhooksMilestone3TypeForResponse as WebhooksMilestone3TypeForResponse, + ) from .group_0479 import ( WebhooksMembershipPropUserType as WebhooksMembershipPropUserType, ) + from .group_0479 import ( + WebhooksMembershipPropUserTypeForResponse as WebhooksMembershipPropUserTypeForResponse, + ) from .group_0479 import WebhooksMembershipType as WebhooksMembershipType + from .group_0479 import ( + WebhooksMembershipTypeForResponse as WebhooksMembershipTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType as PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsAddedPropOtherType as PersonalAccessTokenRequestPropPermissionsAddedPropOtherType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType as PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsAddedType as PersonalAccessTokenRequestPropPermissionsAddedType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse as PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType as PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsResultPropOtherType as PersonalAccessTokenRequestPropPermissionsResultPropOtherType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType as PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsResultType as PersonalAccessTokenRequestPropPermissionsResultType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsResultTypeForResponse as PersonalAccessTokenRequestPropPermissionsResultTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType as PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType as PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType as PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropPermissionsUpgradedType as PersonalAccessTokenRequestPropPermissionsUpgradedType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse as PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestPropRepositoriesItemsType as PersonalAccessTokenRequestPropRepositoriesItemsType, ) + from .group_0480 import ( + PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse as PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse, + ) from .group_0480 import ( PersonalAccessTokenRequestType as PersonalAccessTokenRequestType, ) + from .group_0480 import ( + PersonalAccessTokenRequestTypeForResponse as PersonalAccessTokenRequestTypeForResponse, + ) from .group_0481 import ( WebhooksProjectCardPropCreatorType as WebhooksProjectCardPropCreatorType, ) + from .group_0481 import ( + WebhooksProjectCardPropCreatorTypeForResponse as WebhooksProjectCardPropCreatorTypeForResponse, + ) from .group_0481 import WebhooksProjectCardType as WebhooksProjectCardType + from .group_0481 import ( + WebhooksProjectCardTypeForResponse as WebhooksProjectCardTypeForResponse, + ) from .group_0482 import ( WebhooksProjectPropCreatorType as WebhooksProjectPropCreatorType, ) + from .group_0482 import ( + WebhooksProjectPropCreatorTypeForResponse as WebhooksProjectPropCreatorTypeForResponse, + ) from .group_0482 import WebhooksProjectType as WebhooksProjectType + from .group_0482 import ( + WebhooksProjectTypeForResponse as WebhooksProjectTypeForResponse, + ) from .group_0483 import WebhooksProjectColumnType as WebhooksProjectColumnType + from .group_0483 import ( + WebhooksProjectColumnTypeForResponse as WebhooksProjectColumnTypeForResponse, + ) from .group_0484 import ( WebhooksProjectChangesPropArchivedAtType as WebhooksProjectChangesPropArchivedAtType, ) + from .group_0484 import ( + WebhooksProjectChangesPropArchivedAtTypeForResponse as WebhooksProjectChangesPropArchivedAtTypeForResponse, + ) from .group_0484 import WebhooksProjectChangesType as WebhooksProjectChangesType + from .group_0484 import ( + WebhooksProjectChangesTypeForResponse as WebhooksProjectChangesTypeForResponse, + ) from .group_0485 import ProjectsV2ItemType as ProjectsV2ItemType + from .group_0485 import ( + ProjectsV2ItemTypeForResponse as ProjectsV2ItemTypeForResponse, + ) from .group_0486 import PullRequestWebhookType as PullRequestWebhookType + from .group_0486 import ( + PullRequestWebhookTypeForResponse as PullRequestWebhookTypeForResponse, + ) from .group_0487 import PullRequestWebhookAllof1Type as PullRequestWebhookAllof1Type + from .group_0487 import ( + PullRequestWebhookAllof1TypeForResponse as PullRequestWebhookAllof1TypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropAssigneesItemsType as WebhooksPullRequest5PropAssigneesItemsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropAssigneesItemsTypeForResponse as WebhooksPullRequest5PropAssigneesItemsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropAssigneeType as WebhooksPullRequest5PropAssigneeType, ) + from .group_0488 import ( + WebhooksPullRequest5PropAssigneeTypeForResponse as WebhooksPullRequest5PropAssigneeTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropAutoMergePropEnabledByType as WebhooksPullRequest5PropAutoMergePropEnabledByType, ) + from .group_0488 import ( + WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse as WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropAutoMergeType as WebhooksPullRequest5PropAutoMergeType, ) + from .group_0488 import ( + WebhooksPullRequest5PropAutoMergeTypeForResponse as WebhooksPullRequest5PropAutoMergeTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBasePropRepoPropLicenseType as WebhooksPullRequest5PropBasePropRepoPropLicenseType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBasePropRepoPropOwnerType as WebhooksPullRequest5PropBasePropRepoPropOwnerType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBasePropRepoPropPermissionsType as WebhooksPullRequest5PropBasePropRepoPropPermissionsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse as WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBasePropRepoType as WebhooksPullRequest5PropBasePropRepoType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBasePropRepoTypeForResponse as WebhooksPullRequest5PropBasePropRepoTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBasePropUserType as WebhooksPullRequest5PropBasePropUserType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBasePropUserTypeForResponse as WebhooksPullRequest5PropBasePropUserTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropBaseType as WebhooksPullRequest5PropBaseType, ) + from .group_0488 import ( + WebhooksPullRequest5PropBaseTypeForResponse as WebhooksPullRequest5PropBaseTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadPropRepoPropLicenseType as WebhooksPullRequest5PropHeadPropRepoPropLicenseType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadPropRepoPropOwnerType as WebhooksPullRequest5PropHeadPropRepoPropOwnerType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadPropRepoPropPermissionsType as WebhooksPullRequest5PropHeadPropRepoPropPermissionsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse as WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadPropRepoType as WebhooksPullRequest5PropHeadPropRepoType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadPropRepoTypeForResponse as WebhooksPullRequest5PropHeadPropRepoTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadPropUserType as WebhooksPullRequest5PropHeadPropUserType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadPropUserTypeForResponse as WebhooksPullRequest5PropHeadPropUserTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropHeadType as WebhooksPullRequest5PropHeadType, ) + from .group_0488 import ( + WebhooksPullRequest5PropHeadTypeForResponse as WebhooksPullRequest5PropHeadTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLabelsItemsType as WebhooksPullRequest5PropLabelsItemsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLabelsItemsTypeForResponse as WebhooksPullRequest5PropLabelsItemsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropCommentsType as WebhooksPullRequest5PropLinksPropCommentsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropCommentsTypeForResponse as WebhooksPullRequest5PropLinksPropCommentsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropCommitsType as WebhooksPullRequest5PropLinksPropCommitsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropCommitsTypeForResponse as WebhooksPullRequest5PropLinksPropCommitsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropHtmlType as WebhooksPullRequest5PropLinksPropHtmlType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropHtmlTypeForResponse as WebhooksPullRequest5PropLinksPropHtmlTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropIssueType as WebhooksPullRequest5PropLinksPropIssueType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropIssueTypeForResponse as WebhooksPullRequest5PropLinksPropIssueTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropReviewCommentsType as WebhooksPullRequest5PropLinksPropReviewCommentsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse as WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropReviewCommentType as WebhooksPullRequest5PropLinksPropReviewCommentType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse as WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropSelfType as WebhooksPullRequest5PropLinksPropSelfType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropSelfTypeForResponse as WebhooksPullRequest5PropLinksPropSelfTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksPropStatusesType as WebhooksPullRequest5PropLinksPropStatusesType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksPropStatusesTypeForResponse as WebhooksPullRequest5PropLinksPropStatusesTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropLinksType as WebhooksPullRequest5PropLinksType, ) + from .group_0488 import ( + WebhooksPullRequest5PropLinksTypeForResponse as WebhooksPullRequest5PropLinksTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropMergedByType as WebhooksPullRequest5PropMergedByType, ) + from .group_0488 import ( + WebhooksPullRequest5PropMergedByTypeForResponse as WebhooksPullRequest5PropMergedByTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropMilestonePropCreatorType as WebhooksPullRequest5PropMilestonePropCreatorType, ) + from .group_0488 import ( + WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse as WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropMilestoneType as WebhooksPullRequest5PropMilestoneType, ) + from .group_0488 import ( + WebhooksPullRequest5PropMilestoneTypeForResponse as WebhooksPullRequest5PropMilestoneTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type as WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type, ) + from .group_0488 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType as WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0488 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type as WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type, ) + from .group_0488 import ( + WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse as WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropRequestedTeamsItemsPropParentType as WebhooksPullRequest5PropRequestedTeamsItemsPropParentType, ) + from .group_0488 import ( + WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse as WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropRequestedTeamsItemsType as WebhooksPullRequest5PropRequestedTeamsItemsType, ) + from .group_0488 import ( + WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse as WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse, + ) from .group_0488 import ( WebhooksPullRequest5PropUserType as WebhooksPullRequest5PropUserType, ) + from .group_0488 import ( + WebhooksPullRequest5PropUserTypeForResponse as WebhooksPullRequest5PropUserTypeForResponse, + ) from .group_0488 import WebhooksPullRequest5Type as WebhooksPullRequest5Type + from .group_0488 import ( + WebhooksPullRequest5TypeForResponse as WebhooksPullRequest5TypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropLinksPropHtmlType as WebhooksReviewCommentPropLinksPropHtmlType, ) + from .group_0489 import ( + WebhooksReviewCommentPropLinksPropHtmlTypeForResponse as WebhooksReviewCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropLinksPropPullRequestType as WebhooksReviewCommentPropLinksPropPullRequestType, ) + from .group_0489 import ( + WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse as WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropLinksPropSelfType as WebhooksReviewCommentPropLinksPropSelfType, ) + from .group_0489 import ( + WebhooksReviewCommentPropLinksPropSelfTypeForResponse as WebhooksReviewCommentPropLinksPropSelfTypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropLinksType as WebhooksReviewCommentPropLinksType, ) + from .group_0489 import ( + WebhooksReviewCommentPropLinksTypeForResponse as WebhooksReviewCommentPropLinksTypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropReactionsType as WebhooksReviewCommentPropReactionsType, ) + from .group_0489 import ( + WebhooksReviewCommentPropReactionsTypeForResponse as WebhooksReviewCommentPropReactionsTypeForResponse, + ) from .group_0489 import ( WebhooksReviewCommentPropUserType as WebhooksReviewCommentPropUserType, ) + from .group_0489 import ( + WebhooksReviewCommentPropUserTypeForResponse as WebhooksReviewCommentPropUserTypeForResponse, + ) from .group_0489 import WebhooksReviewCommentType as WebhooksReviewCommentType + from .group_0489 import ( + WebhooksReviewCommentTypeForResponse as WebhooksReviewCommentTypeForResponse, + ) from .group_0490 import ( WebhooksReviewPropLinksPropHtmlType as WebhooksReviewPropLinksPropHtmlType, ) + from .group_0490 import ( + WebhooksReviewPropLinksPropHtmlTypeForResponse as WebhooksReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0490 import ( WebhooksReviewPropLinksPropPullRequestType as WebhooksReviewPropLinksPropPullRequestType, ) + from .group_0490 import ( + WebhooksReviewPropLinksPropPullRequestTypeForResponse as WebhooksReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0490 import WebhooksReviewPropLinksType as WebhooksReviewPropLinksType + from .group_0490 import ( + WebhooksReviewPropLinksTypeForResponse as WebhooksReviewPropLinksTypeForResponse, + ) from .group_0490 import WebhooksReviewPropUserType as WebhooksReviewPropUserType + from .group_0490 import ( + WebhooksReviewPropUserTypeForResponse as WebhooksReviewPropUserTypeForResponse, + ) from .group_0490 import WebhooksReviewType as WebhooksReviewType + from .group_0490 import ( + WebhooksReviewTypeForResponse as WebhooksReviewTypeForResponse, + ) from .group_0491 import ( WebhooksReleasePropAssetsItemsPropUploaderType as WebhooksReleasePropAssetsItemsPropUploaderType, ) + from .group_0491 import ( + WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse as WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0491 import ( WebhooksReleasePropAssetsItemsType as WebhooksReleasePropAssetsItemsType, ) + from .group_0491 import ( + WebhooksReleasePropAssetsItemsTypeForResponse as WebhooksReleasePropAssetsItemsTypeForResponse, + ) from .group_0491 import ( WebhooksReleasePropAuthorType as WebhooksReleasePropAuthorType, ) + from .group_0491 import ( + WebhooksReleasePropAuthorTypeForResponse as WebhooksReleasePropAuthorTypeForResponse, + ) from .group_0491 import ( WebhooksReleasePropReactionsType as WebhooksReleasePropReactionsType, ) + from .group_0491 import ( + WebhooksReleasePropReactionsTypeForResponse as WebhooksReleasePropReactionsTypeForResponse, + ) from .group_0491 import WebhooksReleaseType as WebhooksReleaseType + from .group_0491 import ( + WebhooksReleaseTypeForResponse as WebhooksReleaseTypeForResponse, + ) from .group_0492 import ( WebhooksRelease1PropAssetsItemsPropUploaderType as WebhooksRelease1PropAssetsItemsPropUploaderType, ) + from .group_0492 import ( + WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse as WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0492 import ( WebhooksRelease1PropAssetsItemsType as WebhooksRelease1PropAssetsItemsType, ) from .group_0492 import ( - WebhooksRelease1PropAuthorType as WebhooksRelease1PropAuthorType, + WebhooksRelease1PropAssetsItemsTypeForResponse as WebhooksRelease1PropAssetsItemsTypeForResponse, + ) + from .group_0492 import ( + WebhooksRelease1PropAuthorType as WebhooksRelease1PropAuthorType, + ) + from .group_0492 import ( + WebhooksRelease1PropAuthorTypeForResponse as WebhooksRelease1PropAuthorTypeForResponse, ) from .group_0492 import ( WebhooksRelease1PropReactionsType as WebhooksRelease1PropReactionsType, ) + from .group_0492 import ( + WebhooksRelease1PropReactionsTypeForResponse as WebhooksRelease1PropReactionsTypeForResponse, + ) from .group_0492 import WebhooksRelease1Type as WebhooksRelease1Type + from .group_0492 import ( + WebhooksRelease1TypeForResponse as WebhooksRelease1TypeForResponse, + ) from .group_0493 import ( WebhooksAlertPropDismisserType as WebhooksAlertPropDismisserType, ) + from .group_0493 import ( + WebhooksAlertPropDismisserTypeForResponse as WebhooksAlertPropDismisserTypeForResponse, + ) from .group_0493 import WebhooksAlertType as WebhooksAlertType + from .group_0493 import WebhooksAlertTypeForResponse as WebhooksAlertTypeForResponse from .group_0494 import ( SecretScanningAlertWebhookType as SecretScanningAlertWebhookType, ) + from .group_0494 import ( + SecretScanningAlertWebhookTypeForResponse as SecretScanningAlertWebhookTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropCvssType as WebhooksSecurityAdvisoryPropCvssType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropCvssTypeForResponse as WebhooksSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropCwesItemsType as WebhooksSecurityAdvisoryPropCwesItemsType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse as WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropIdentifiersItemsType as WebhooksSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse as WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropReferencesItemsType as WebhooksSecurityAdvisoryPropReferencesItemsType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse as WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0495 import ( WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType, ) + from .group_0495 import ( + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse as WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0495 import WebhooksSecurityAdvisoryType as WebhooksSecurityAdvisoryType + from .group_0495 import ( + WebhooksSecurityAdvisoryTypeForResponse as WebhooksSecurityAdvisoryTypeForResponse, + ) from .group_0496 import ( WebhooksSponsorshipPropMaintainerType as WebhooksSponsorshipPropMaintainerType, ) + from .group_0496 import ( + WebhooksSponsorshipPropMaintainerTypeForResponse as WebhooksSponsorshipPropMaintainerTypeForResponse, + ) from .group_0496 import ( WebhooksSponsorshipPropSponsorableType as WebhooksSponsorshipPropSponsorableType, ) + from .group_0496 import ( + WebhooksSponsorshipPropSponsorableTypeForResponse as WebhooksSponsorshipPropSponsorableTypeForResponse, + ) from .group_0496 import ( WebhooksSponsorshipPropSponsorType as WebhooksSponsorshipPropSponsorType, ) + from .group_0496 import ( + WebhooksSponsorshipPropSponsorTypeForResponse as WebhooksSponsorshipPropSponsorTypeForResponse, + ) from .group_0496 import ( WebhooksSponsorshipPropTierType as WebhooksSponsorshipPropTierType, ) + from .group_0496 import ( + WebhooksSponsorshipPropTierTypeForResponse as WebhooksSponsorshipPropTierTypeForResponse, + ) from .group_0496 import WebhooksSponsorshipType as WebhooksSponsorshipType + from .group_0496 import ( + WebhooksSponsorshipTypeForResponse as WebhooksSponsorshipTypeForResponse, + ) from .group_0497 import ( WebhooksChanges8PropTierPropFromType as WebhooksChanges8PropTierPropFromType, ) + from .group_0497 import ( + WebhooksChanges8PropTierPropFromTypeForResponse as WebhooksChanges8PropTierPropFromTypeForResponse, + ) from .group_0497 import WebhooksChanges8PropTierType as WebhooksChanges8PropTierType + from .group_0497 import ( + WebhooksChanges8PropTierTypeForResponse as WebhooksChanges8PropTierTypeForResponse, + ) from .group_0497 import WebhooksChanges8Type as WebhooksChanges8Type + from .group_0497 import ( + WebhooksChanges8TypeForResponse as WebhooksChanges8TypeForResponse, + ) from .group_0498 import WebhooksTeam1PropParentType as WebhooksTeam1PropParentType + from .group_0498 import ( + WebhooksTeam1PropParentTypeForResponse as WebhooksTeam1PropParentTypeForResponse, + ) from .group_0498 import WebhooksTeam1Type as WebhooksTeam1Type + from .group_0498 import WebhooksTeam1TypeForResponse as WebhooksTeam1TypeForResponse from .group_0499 import ( WebhookBranchProtectionConfigurationDisabledType as WebhookBranchProtectionConfigurationDisabledType, ) + from .group_0499 import ( + WebhookBranchProtectionConfigurationDisabledTypeForResponse as WebhookBranchProtectionConfigurationDisabledTypeForResponse, + ) from .group_0500 import ( WebhookBranchProtectionConfigurationEnabledType as WebhookBranchProtectionConfigurationEnabledType, ) + from .group_0500 import ( + WebhookBranchProtectionConfigurationEnabledTypeForResponse as WebhookBranchProtectionConfigurationEnabledTypeForResponse, + ) from .group_0501 import ( WebhookBranchProtectionRuleCreatedType as WebhookBranchProtectionRuleCreatedType, ) + from .group_0501 import ( + WebhookBranchProtectionRuleCreatedTypeForResponse as WebhookBranchProtectionRuleCreatedTypeForResponse, + ) from .group_0502 import ( WebhookBranchProtectionRuleDeletedType as WebhookBranchProtectionRuleDeletedType, ) + from .group_0502 import ( + WebhookBranchProtectionRuleDeletedTypeForResponse as WebhookBranchProtectionRuleDeletedTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType as WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType as WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType as WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedPropChangesType as WebhookBranchProtectionRuleEditedPropChangesType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedPropChangesTypeForResponse as WebhookBranchProtectionRuleEditedPropChangesTypeForResponse, + ) from .group_0503 import ( WebhookBranchProtectionRuleEditedType as WebhookBranchProtectionRuleEditedType, ) + from .group_0503 import ( + WebhookBranchProtectionRuleEditedTypeForResponse as WebhookBranchProtectionRuleEditedTypeForResponse, + ) from .group_0504 import WebhookCheckRunCompletedType as WebhookCheckRunCompletedType + from .group_0504 import ( + WebhookCheckRunCompletedTypeForResponse as WebhookCheckRunCompletedTypeForResponse, + ) from .group_0505 import ( WebhookCheckRunCompletedFormEncodedType as WebhookCheckRunCompletedFormEncodedType, ) + from .group_0505 import ( + WebhookCheckRunCompletedFormEncodedTypeForResponse as WebhookCheckRunCompletedFormEncodedTypeForResponse, + ) from .group_0506 import WebhookCheckRunCreatedType as WebhookCheckRunCreatedType + from .group_0506 import ( + WebhookCheckRunCreatedTypeForResponse as WebhookCheckRunCreatedTypeForResponse, + ) from .group_0507 import ( WebhookCheckRunCreatedFormEncodedType as WebhookCheckRunCreatedFormEncodedType, ) + from .group_0507 import ( + WebhookCheckRunCreatedFormEncodedTypeForResponse as WebhookCheckRunCreatedFormEncodedTypeForResponse, + ) from .group_0508 import ( WebhookCheckRunRequestedActionPropRequestedActionType as WebhookCheckRunRequestedActionPropRequestedActionType, ) + from .group_0508 import ( + WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse as WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse, + ) from .group_0508 import ( WebhookCheckRunRequestedActionType as WebhookCheckRunRequestedActionType, ) + from .group_0508 import ( + WebhookCheckRunRequestedActionTypeForResponse as WebhookCheckRunRequestedActionTypeForResponse, + ) from .group_0509 import ( WebhookCheckRunRequestedActionFormEncodedType as WebhookCheckRunRequestedActionFormEncodedType, ) + from .group_0509 import ( + WebhookCheckRunRequestedActionFormEncodedTypeForResponse as WebhookCheckRunRequestedActionFormEncodedTypeForResponse, + ) from .group_0510 import ( WebhookCheckRunRerequestedType as WebhookCheckRunRerequestedType, ) + from .group_0510 import ( + WebhookCheckRunRerequestedTypeForResponse as WebhookCheckRunRerequestedTypeForResponse, + ) from .group_0511 import ( WebhookCheckRunRerequestedFormEncodedType as WebhookCheckRunRerequestedFormEncodedType, ) + from .group_0511 import ( + WebhookCheckRunRerequestedFormEncodedTypeForResponse as WebhookCheckRunRerequestedFormEncodedTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropAppType as WebhookCheckSuiteCompletedPropCheckSuitePropAppType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedPropCheckSuiteType as WebhookCheckSuiteCompletedPropCheckSuiteType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse as WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse, + ) from .group_0512 import ( WebhookCheckSuiteCompletedType as WebhookCheckSuiteCompletedType, ) + from .group_0512 import ( + WebhookCheckSuiteCompletedTypeForResponse as WebhookCheckSuiteCompletedTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropAppType as WebhookCheckSuiteRequestedPropCheckSuitePropAppType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedPropCheckSuiteType as WebhookCheckSuiteRequestedPropCheckSuiteType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse as WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse, + ) from .group_0513 import ( WebhookCheckSuiteRequestedType as WebhookCheckSuiteRequestedType, ) + from .group_0513 import ( + WebhookCheckSuiteRequestedTypeForResponse as WebhookCheckSuiteRequestedTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropAppType as WebhookCheckSuiteRerequestedPropCheckSuitePropAppType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedPropCheckSuiteType as WebhookCheckSuiteRerequestedPropCheckSuiteType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse as WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse, + ) from .group_0514 import ( WebhookCheckSuiteRerequestedType as WebhookCheckSuiteRerequestedType, ) + from .group_0514 import ( + WebhookCheckSuiteRerequestedTypeForResponse as WebhookCheckSuiteRerequestedTypeForResponse, + ) from .group_0515 import ( WebhookCodeScanningAlertAppearedInBranchType as WebhookCodeScanningAlertAppearedInBranchType, ) + from .group_0515 import ( + WebhookCodeScanningAlertAppearedInBranchTypeForResponse as WebhookCodeScanningAlertAppearedInBranchTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType as WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse, + ) from .group_0516 import ( WebhookCodeScanningAlertAppearedInBranchPropAlertType as WebhookCodeScanningAlertAppearedInBranchPropAlertType, ) + from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse as WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse, + ) from .group_0517 import ( WebhookCodeScanningAlertClosedByUserType as WebhookCodeScanningAlertClosedByUserType, ) + from .group_0517 import ( + WebhookCodeScanningAlertClosedByUserTypeForResponse as WebhookCodeScanningAlertClosedByUserTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType as WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertPropToolType as WebhookCodeScanningAlertClosedByUserPropAlertPropToolType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse, + ) from .group_0518 import ( WebhookCodeScanningAlertClosedByUserPropAlertType as WebhookCodeScanningAlertClosedByUserPropAlertType, ) + from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse as WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse, + ) from .group_0519 import ( WebhookCodeScanningAlertCreatedType as WebhookCodeScanningAlertCreatedType, ) + from .group_0519 import ( + WebhookCodeScanningAlertCreatedTypeForResponse as WebhookCodeScanningAlertCreatedTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertPropRuleType as WebhookCodeScanningAlertCreatedPropAlertPropRuleType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertPropToolType as WebhookCodeScanningAlertCreatedPropAlertPropToolType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse, + ) from .group_0520 import ( WebhookCodeScanningAlertCreatedPropAlertType as WebhookCodeScanningAlertCreatedPropAlertType, ) + from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertTypeForResponse as WebhookCodeScanningAlertCreatedPropAlertTypeForResponse, + ) from .group_0521 import ( WebhookCodeScanningAlertFixedType as WebhookCodeScanningAlertFixedType, ) + from .group_0521 import ( + WebhookCodeScanningAlertFixedTypeForResponse as WebhookCodeScanningAlertFixedTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropDismissedByType as WebhookCodeScanningAlertFixedPropAlertPropDismissedByType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropRuleType as WebhookCodeScanningAlertFixedPropAlertPropRuleType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertPropToolType as WebhookCodeScanningAlertFixedPropAlertPropToolType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse, + ) from .group_0522 import ( WebhookCodeScanningAlertFixedPropAlertType as WebhookCodeScanningAlertFixedPropAlertType, ) + from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertTypeForResponse as WebhookCodeScanningAlertFixedPropAlertTypeForResponse, + ) from .group_0523 import ( WebhookCodeScanningAlertReopenedType as WebhookCodeScanningAlertReopenedType, ) + from .group_0523 import ( + WebhookCodeScanningAlertReopenedTypeForResponse as WebhookCodeScanningAlertReopenedTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType as WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropRuleType as WebhookCodeScanningAlertReopenedPropAlertPropRuleType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertPropToolType as WebhookCodeScanningAlertReopenedPropAlertPropToolType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse, + ) from .group_0524 import ( WebhookCodeScanningAlertReopenedPropAlertType as WebhookCodeScanningAlertReopenedPropAlertType, ) + from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertTypeForResponse as WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, + ) from .group_0525 import ( WebhookCodeScanningAlertReopenedByUserType as WebhookCodeScanningAlertReopenedByUserType, ) + from .group_0525 import ( + WebhookCodeScanningAlertReopenedByUserTypeForResponse as WebhookCodeScanningAlertReopenedByUserTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType as WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType as WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse, + ) from .group_0526 import ( WebhookCodeScanningAlertReopenedByUserPropAlertType as WebhookCodeScanningAlertReopenedByUserPropAlertType, ) + from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse as WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse, + ) from .group_0527 import ( WebhookCommitCommentCreatedPropCommentPropReactionsType as WebhookCommitCommentCreatedPropCommentPropReactionsType, ) + from .group_0527 import ( + WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0527 import ( WebhookCommitCommentCreatedPropCommentPropUserType as WebhookCommitCommentCreatedPropCommentPropUserType, ) + from .group_0527 import ( + WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse as WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0527 import ( WebhookCommitCommentCreatedPropCommentType as WebhookCommitCommentCreatedPropCommentType, ) + from .group_0527 import ( + WebhookCommitCommentCreatedPropCommentTypeForResponse as WebhookCommitCommentCreatedPropCommentTypeForResponse, + ) from .group_0527 import ( WebhookCommitCommentCreatedType as WebhookCommitCommentCreatedType, ) + from .group_0527 import ( + WebhookCommitCommentCreatedTypeForResponse as WebhookCommitCommentCreatedTypeForResponse, + ) from .group_0528 import WebhookCreateType as WebhookCreateType + from .group_0528 import WebhookCreateTypeForResponse as WebhookCreateTypeForResponse from .group_0529 import ( WebhookCustomPropertyCreatedType as WebhookCustomPropertyCreatedType, ) + from .group_0529 import ( + WebhookCustomPropertyCreatedTypeForResponse as WebhookCustomPropertyCreatedTypeForResponse, + ) from .group_0530 import ( WebhookCustomPropertyDeletedPropDefinitionType as WebhookCustomPropertyDeletedPropDefinitionType, ) + from .group_0530 import ( + WebhookCustomPropertyDeletedPropDefinitionTypeForResponse as WebhookCustomPropertyDeletedPropDefinitionTypeForResponse, + ) from .group_0530 import ( WebhookCustomPropertyDeletedType as WebhookCustomPropertyDeletedType, ) + from .group_0530 import ( + WebhookCustomPropertyDeletedTypeForResponse as WebhookCustomPropertyDeletedTypeForResponse, + ) from .group_0531 import ( WebhookCustomPropertyPromotedToEnterpriseType as WebhookCustomPropertyPromotedToEnterpriseType, ) + from .group_0531 import ( + WebhookCustomPropertyPromotedToEnterpriseTypeForResponse as WebhookCustomPropertyPromotedToEnterpriseTypeForResponse, + ) from .group_0532 import ( WebhookCustomPropertyUpdatedType as WebhookCustomPropertyUpdatedType, ) + from .group_0532 import ( + WebhookCustomPropertyUpdatedTypeForResponse as WebhookCustomPropertyUpdatedTypeForResponse, + ) from .group_0533 import ( WebhookCustomPropertyValuesUpdatedType as WebhookCustomPropertyValuesUpdatedType, ) + from .group_0533 import ( + WebhookCustomPropertyValuesUpdatedTypeForResponse as WebhookCustomPropertyValuesUpdatedTypeForResponse, + ) from .group_0534 import WebhookDeleteType as WebhookDeleteType + from .group_0534 import WebhookDeleteTypeForResponse as WebhookDeleteTypeForResponse from .group_0535 import ( WebhookDependabotAlertAutoDismissedType as WebhookDependabotAlertAutoDismissedType, ) + from .group_0535 import ( + WebhookDependabotAlertAutoDismissedTypeForResponse as WebhookDependabotAlertAutoDismissedTypeForResponse, + ) from .group_0536 import ( WebhookDependabotAlertAutoReopenedType as WebhookDependabotAlertAutoReopenedType, ) + from .group_0536 import ( + WebhookDependabotAlertAutoReopenedTypeForResponse as WebhookDependabotAlertAutoReopenedTypeForResponse, + ) from .group_0537 import ( WebhookDependabotAlertCreatedType as WebhookDependabotAlertCreatedType, ) + from .group_0537 import ( + WebhookDependabotAlertCreatedTypeForResponse as WebhookDependabotAlertCreatedTypeForResponse, + ) from .group_0538 import ( WebhookDependabotAlertDismissedType as WebhookDependabotAlertDismissedType, ) + from .group_0538 import ( + WebhookDependabotAlertDismissedTypeForResponse as WebhookDependabotAlertDismissedTypeForResponse, + ) from .group_0539 import ( WebhookDependabotAlertFixedType as WebhookDependabotAlertFixedType, ) + from .group_0539 import ( + WebhookDependabotAlertFixedTypeForResponse as WebhookDependabotAlertFixedTypeForResponse, + ) from .group_0540 import ( WebhookDependabotAlertReintroducedType as WebhookDependabotAlertReintroducedType, ) + from .group_0540 import ( + WebhookDependabotAlertReintroducedTypeForResponse as WebhookDependabotAlertReintroducedTypeForResponse, + ) from .group_0541 import ( WebhookDependabotAlertReopenedType as WebhookDependabotAlertReopenedType, ) + from .group_0541 import ( + WebhookDependabotAlertReopenedTypeForResponse as WebhookDependabotAlertReopenedTypeForResponse, + ) from .group_0542 import WebhookDeployKeyCreatedType as WebhookDeployKeyCreatedType + from .group_0542 import ( + WebhookDeployKeyCreatedTypeForResponse as WebhookDeployKeyCreatedTypeForResponse, + ) from .group_0543 import WebhookDeployKeyDeletedType as WebhookDeployKeyDeletedType + from .group_0543 import ( + WebhookDeployKeyDeletedTypeForResponse as WebhookDeployKeyDeletedTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentPropCreatorType as WebhookDeploymentCreatedPropDeploymentPropCreatorType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropDeploymentType as WebhookDeploymentCreatedPropDeploymentType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropDeploymentTypeForResponse as WebhookDeploymentCreatedPropDeploymentTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropActorType as WebhookDeploymentCreatedPropWorkflowRunPropActorType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0544 import ( WebhookDeploymentCreatedPropWorkflowRunType as WebhookDeploymentCreatedPropWorkflowRunType, ) + from .group_0544 import ( + WebhookDeploymentCreatedPropWorkflowRunTypeForResponse as WebhookDeploymentCreatedPropWorkflowRunTypeForResponse, + ) from .group_0544 import WebhookDeploymentCreatedType as WebhookDeploymentCreatedType + from .group_0544 import ( + WebhookDeploymentCreatedTypeForResponse as WebhookDeploymentCreatedTypeForResponse, + ) from .group_0545 import ( WebhookDeploymentProtectionRuleRequestedType as WebhookDeploymentProtectionRuleRequestedType, ) + from .group_0545 import ( + WebhookDeploymentProtectionRuleRequestedTypeForResponse as WebhookDeploymentProtectionRuleRequestedTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType as WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType as WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedPropWorkflowRunType as WebhookDeploymentReviewApprovedPropWorkflowRunType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse, + ) from .group_0546 import ( WebhookDeploymentReviewApprovedType as WebhookDeploymentReviewApprovedType, ) + from .group_0546 import ( + WebhookDeploymentReviewApprovedTypeForResponse as WebhookDeploymentReviewApprovedTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType as WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType as WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedPropWorkflowRunType as WebhookDeploymentReviewRejectedPropWorkflowRunType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse, + ) from .group_0547 import ( WebhookDeploymentReviewRejectedType as WebhookDeploymentReviewRejectedType, ) + from .group_0547 import ( + WebhookDeploymentReviewRejectedTypeForResponse as WebhookDeploymentReviewRejectedTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType as WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse as WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropReviewersItemsType as WebhookDeploymentReviewRequestedPropReviewersItemsType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse as WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowJobRunType as WebhookDeploymentReviewRequestedPropWorkflowJobRunType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType as WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedPropWorkflowRunType as WebhookDeploymentReviewRequestedPropWorkflowRunType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse as WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse, + ) from .group_0548 import ( WebhookDeploymentReviewRequestedType as WebhookDeploymentReviewRequestedType, ) + from .group_0548 import ( + WebhookDeploymentReviewRequestedTypeForResponse as WebhookDeploymentReviewRequestedTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropCheckRunType as WebhookDeploymentStatusCreatedPropCheckRunType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse as WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType as WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type as WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentStatusType as WebhookDeploymentStatusCreatedPropDeploymentStatusType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropDeploymentType as WebhookDeploymentStatusCreatedPropDeploymentType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse as WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType as WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType as WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedPropWorkflowRunType as WebhookDeploymentStatusCreatedPropWorkflowRunType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse as WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse, + ) from .group_0549 import ( WebhookDeploymentStatusCreatedType as WebhookDeploymentStatusCreatedType, ) + from .group_0549 import ( + WebhookDeploymentStatusCreatedTypeForResponse as WebhookDeploymentStatusCreatedTypeForResponse, + ) from .group_0550 import ( WebhookDiscussionAnsweredType as WebhookDiscussionAnsweredType, ) + from .group_0550 import ( + WebhookDiscussionAnsweredTypeForResponse as WebhookDiscussionAnsweredTypeForResponse, + ) from .group_0551 import ( WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType as WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType, ) + from .group_0551 import ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse as WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse, + ) from .group_0551 import ( WebhookDiscussionCategoryChangedPropChangesPropCategoryType as WebhookDiscussionCategoryChangedPropChangesPropCategoryType, ) + from .group_0551 import ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse as WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse, + ) from .group_0551 import ( WebhookDiscussionCategoryChangedPropChangesType as WebhookDiscussionCategoryChangedPropChangesType, ) + from .group_0551 import ( + WebhookDiscussionCategoryChangedPropChangesTypeForResponse as WebhookDiscussionCategoryChangedPropChangesTypeForResponse, + ) from .group_0551 import ( WebhookDiscussionCategoryChangedType as WebhookDiscussionCategoryChangedType, ) + from .group_0551 import ( + WebhookDiscussionCategoryChangedTypeForResponse as WebhookDiscussionCategoryChangedTypeForResponse, + ) from .group_0552 import WebhookDiscussionClosedType as WebhookDiscussionClosedType + from .group_0552 import ( + WebhookDiscussionClosedTypeForResponse as WebhookDiscussionClosedTypeForResponse, + ) from .group_0553 import ( WebhookDiscussionCommentCreatedType as WebhookDiscussionCommentCreatedType, ) + from .group_0553 import ( + WebhookDiscussionCommentCreatedTypeForResponse as WebhookDiscussionCommentCreatedTypeForResponse, + ) from .group_0554 import ( WebhookDiscussionCommentDeletedType as WebhookDiscussionCommentDeletedType, ) + from .group_0554 import ( + WebhookDiscussionCommentDeletedTypeForResponse as WebhookDiscussionCommentDeletedTypeForResponse, + ) + from .group_0555 import ( + WebhookDiscussionCommentEditedPropChangesPropBodyType as WebhookDiscussionCommentEditedPropChangesPropBodyType, + ) from .group_0555 import ( - WebhookDiscussionCommentEditedPropChangesPropBodyType as WebhookDiscussionCommentEditedPropChangesPropBodyType, + WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse as WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse, ) from .group_0555 import ( WebhookDiscussionCommentEditedPropChangesType as WebhookDiscussionCommentEditedPropChangesType, ) + from .group_0555 import ( + WebhookDiscussionCommentEditedPropChangesTypeForResponse as WebhookDiscussionCommentEditedPropChangesTypeForResponse, + ) from .group_0555 import ( WebhookDiscussionCommentEditedType as WebhookDiscussionCommentEditedType, ) + from .group_0555 import ( + WebhookDiscussionCommentEditedTypeForResponse as WebhookDiscussionCommentEditedTypeForResponse, + ) from .group_0556 import WebhookDiscussionCreatedType as WebhookDiscussionCreatedType + from .group_0556 import ( + WebhookDiscussionCreatedTypeForResponse as WebhookDiscussionCreatedTypeForResponse, + ) from .group_0557 import WebhookDiscussionDeletedType as WebhookDiscussionDeletedType + from .group_0557 import ( + WebhookDiscussionDeletedTypeForResponse as WebhookDiscussionDeletedTypeForResponse, + ) from .group_0558 import ( WebhookDiscussionEditedPropChangesPropBodyType as WebhookDiscussionEditedPropChangesPropBodyType, ) + from .group_0558 import ( + WebhookDiscussionEditedPropChangesPropBodyTypeForResponse as WebhookDiscussionEditedPropChangesPropBodyTypeForResponse, + ) from .group_0558 import ( WebhookDiscussionEditedPropChangesPropTitleType as WebhookDiscussionEditedPropChangesPropTitleType, ) + from .group_0558 import ( + WebhookDiscussionEditedPropChangesPropTitleTypeForResponse as WebhookDiscussionEditedPropChangesPropTitleTypeForResponse, + ) from .group_0558 import ( WebhookDiscussionEditedPropChangesType as WebhookDiscussionEditedPropChangesType, ) + from .group_0558 import ( + WebhookDiscussionEditedPropChangesTypeForResponse as WebhookDiscussionEditedPropChangesTypeForResponse, + ) from .group_0558 import WebhookDiscussionEditedType as WebhookDiscussionEditedType + from .group_0558 import ( + WebhookDiscussionEditedTypeForResponse as WebhookDiscussionEditedTypeForResponse, + ) from .group_0559 import WebhookDiscussionLabeledType as WebhookDiscussionLabeledType + from .group_0559 import ( + WebhookDiscussionLabeledTypeForResponse as WebhookDiscussionLabeledTypeForResponse, + ) from .group_0560 import WebhookDiscussionLockedType as WebhookDiscussionLockedType + from .group_0560 import ( + WebhookDiscussionLockedTypeForResponse as WebhookDiscussionLockedTypeForResponse, + ) from .group_0561 import WebhookDiscussionPinnedType as WebhookDiscussionPinnedType + from .group_0561 import ( + WebhookDiscussionPinnedTypeForResponse as WebhookDiscussionPinnedTypeForResponse, + ) from .group_0562 import ( WebhookDiscussionReopenedType as WebhookDiscussionReopenedType, ) + from .group_0562 import ( + WebhookDiscussionReopenedTypeForResponse as WebhookDiscussionReopenedTypeForResponse, + ) from .group_0563 import ( WebhookDiscussionTransferredType as WebhookDiscussionTransferredType, ) + from .group_0563 import ( + WebhookDiscussionTransferredTypeForResponse as WebhookDiscussionTransferredTypeForResponse, + ) from .group_0564 import ( WebhookDiscussionTransferredPropChangesType as WebhookDiscussionTransferredPropChangesType, ) + from .group_0564 import ( + WebhookDiscussionTransferredPropChangesTypeForResponse as WebhookDiscussionTransferredPropChangesTypeForResponse, + ) from .group_0565 import ( WebhookDiscussionUnansweredType as WebhookDiscussionUnansweredType, ) + from .group_0565 import ( + WebhookDiscussionUnansweredTypeForResponse as WebhookDiscussionUnansweredTypeForResponse, + ) from .group_0566 import ( WebhookDiscussionUnlabeledType as WebhookDiscussionUnlabeledType, ) + from .group_0566 import ( + WebhookDiscussionUnlabeledTypeForResponse as WebhookDiscussionUnlabeledTypeForResponse, + ) from .group_0567 import ( WebhookDiscussionUnlockedType as WebhookDiscussionUnlockedType, ) + from .group_0567 import ( + WebhookDiscussionUnlockedTypeForResponse as WebhookDiscussionUnlockedTypeForResponse, + ) from .group_0568 import ( WebhookDiscussionUnpinnedType as WebhookDiscussionUnpinnedType, ) + from .group_0568 import ( + WebhookDiscussionUnpinnedTypeForResponse as WebhookDiscussionUnpinnedTypeForResponse, + ) from .group_0569 import WebhookForkType as WebhookForkType + from .group_0569 import WebhookForkTypeForResponse as WebhookForkTypeForResponse from .group_0570 import ( WebhookForkPropForkeeMergedLicenseType as WebhookForkPropForkeeMergedLicenseType, ) + from .group_0570 import ( + WebhookForkPropForkeeMergedLicenseTypeForResponse as WebhookForkPropForkeeMergedLicenseTypeForResponse, + ) from .group_0570 import ( WebhookForkPropForkeeMergedOwnerType as WebhookForkPropForkeeMergedOwnerType, ) + from .group_0570 import ( + WebhookForkPropForkeeMergedOwnerTypeForResponse as WebhookForkPropForkeeMergedOwnerTypeForResponse, + ) from .group_0570 import WebhookForkPropForkeeType as WebhookForkPropForkeeType + from .group_0570 import ( + WebhookForkPropForkeeTypeForResponse as WebhookForkPropForkeeTypeForResponse, + ) from .group_0571 import ( WebhookForkPropForkeeAllof0PropLicenseType as WebhookForkPropForkeeAllof0PropLicenseType, ) + from .group_0571 import ( + WebhookForkPropForkeeAllof0PropLicenseTypeForResponse as WebhookForkPropForkeeAllof0PropLicenseTypeForResponse, + ) from .group_0571 import ( WebhookForkPropForkeeAllof0PropOwnerType as WebhookForkPropForkeeAllof0PropOwnerType, ) + from .group_0571 import ( + WebhookForkPropForkeeAllof0PropOwnerTypeForResponse as WebhookForkPropForkeeAllof0PropOwnerTypeForResponse, + ) from .group_0571 import ( WebhookForkPropForkeeAllof0Type as WebhookForkPropForkeeAllof0Type, ) + from .group_0571 import ( + WebhookForkPropForkeeAllof0TypeForResponse as WebhookForkPropForkeeAllof0TypeForResponse, + ) from .group_0572 import ( WebhookForkPropForkeeAllof0PropPermissionsType as WebhookForkPropForkeeAllof0PropPermissionsType, ) + from .group_0572 import ( + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse as WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, + ) from .group_0573 import ( WebhookForkPropForkeeAllof1PropLicenseType as WebhookForkPropForkeeAllof1PropLicenseType, ) + from .group_0573 import ( + WebhookForkPropForkeeAllof1PropLicenseTypeForResponse as WebhookForkPropForkeeAllof1PropLicenseTypeForResponse, + ) from .group_0573 import ( WebhookForkPropForkeeAllof1PropOwnerType as WebhookForkPropForkeeAllof1PropOwnerType, ) + from .group_0573 import ( + WebhookForkPropForkeeAllof1PropOwnerTypeForResponse as WebhookForkPropForkeeAllof1PropOwnerTypeForResponse, + ) from .group_0573 import ( WebhookForkPropForkeeAllof1Type as WebhookForkPropForkeeAllof1Type, ) + from .group_0573 import ( + WebhookForkPropForkeeAllof1TypeForResponse as WebhookForkPropForkeeAllof1TypeForResponse, + ) from .group_0574 import ( WebhookGithubAppAuthorizationRevokedType as WebhookGithubAppAuthorizationRevokedType, ) + from .group_0574 import ( + WebhookGithubAppAuthorizationRevokedTypeForResponse as WebhookGithubAppAuthorizationRevokedTypeForResponse, + ) from .group_0575 import ( WebhookGollumPropPagesItemsType as WebhookGollumPropPagesItemsType, ) + from .group_0575 import ( + WebhookGollumPropPagesItemsTypeForResponse as WebhookGollumPropPagesItemsTypeForResponse, + ) from .group_0575 import WebhookGollumType as WebhookGollumType + from .group_0575 import WebhookGollumTypeForResponse as WebhookGollumTypeForResponse from .group_0576 import ( WebhookInstallationCreatedType as WebhookInstallationCreatedType, ) + from .group_0576 import ( + WebhookInstallationCreatedTypeForResponse as WebhookInstallationCreatedTypeForResponse, + ) from .group_0577 import ( WebhookInstallationDeletedType as WebhookInstallationDeletedType, ) + from .group_0577 import ( + WebhookInstallationDeletedTypeForResponse as WebhookInstallationDeletedTypeForResponse, + ) from .group_0578 import ( WebhookInstallationNewPermissionsAcceptedType as WebhookInstallationNewPermissionsAcceptedType, ) + from .group_0578 import ( + WebhookInstallationNewPermissionsAcceptedTypeForResponse as WebhookInstallationNewPermissionsAcceptedTypeForResponse, + ) from .group_0579 import ( WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType as WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType, ) + from .group_0579 import ( + WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse as WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse, + ) from .group_0579 import ( WebhookInstallationRepositoriesAddedType as WebhookInstallationRepositoriesAddedType, ) + from .group_0579 import ( + WebhookInstallationRepositoriesAddedTypeForResponse as WebhookInstallationRepositoriesAddedTypeForResponse, + ) from .group_0580 import ( WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType as WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType, ) + from .group_0580 import ( + WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse as WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse, + ) from .group_0580 import ( WebhookInstallationRepositoriesRemovedType as WebhookInstallationRepositoriesRemovedType, ) + from .group_0580 import ( + WebhookInstallationRepositoriesRemovedTypeForResponse as WebhookInstallationRepositoriesRemovedTypeForResponse, + ) from .group_0581 import ( WebhookInstallationSuspendType as WebhookInstallationSuspendType, ) + from .group_0581 import ( + WebhookInstallationSuspendTypeForResponse as WebhookInstallationSuspendTypeForResponse, + ) from .group_0582 import ( WebhookInstallationTargetRenamedPropAccountType as WebhookInstallationTargetRenamedPropAccountType, ) + from .group_0582 import ( + WebhookInstallationTargetRenamedPropAccountTypeForResponse as WebhookInstallationTargetRenamedPropAccountTypeForResponse, + ) from .group_0582 import ( WebhookInstallationTargetRenamedPropChangesPropLoginType as WebhookInstallationTargetRenamedPropChangesPropLoginType, ) + from .group_0582 import ( + WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse as WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse, + ) from .group_0582 import ( WebhookInstallationTargetRenamedPropChangesPropSlugType as WebhookInstallationTargetRenamedPropChangesPropSlugType, ) + from .group_0582 import ( + WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse as WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse, + ) from .group_0582 import ( WebhookInstallationTargetRenamedPropChangesType as WebhookInstallationTargetRenamedPropChangesType, ) + from .group_0582 import ( + WebhookInstallationTargetRenamedPropChangesTypeForResponse as WebhookInstallationTargetRenamedPropChangesTypeForResponse, + ) from .group_0582 import ( WebhookInstallationTargetRenamedType as WebhookInstallationTargetRenamedType, ) + from .group_0582 import ( + WebhookInstallationTargetRenamedTypeForResponse as WebhookInstallationTargetRenamedTypeForResponse, + ) from .group_0583 import ( WebhookInstallationUnsuspendType as WebhookInstallationUnsuspendType, ) + from .group_0583 import ( + WebhookInstallationUnsuspendTypeForResponse as WebhookInstallationUnsuspendTypeForResponse, + ) from .group_0584 import ( WebhookIssueCommentCreatedType as WebhookIssueCommentCreatedType, ) + from .group_0584 import ( + WebhookIssueCommentCreatedTypeForResponse as WebhookIssueCommentCreatedTypeForResponse, + ) from .group_0585 import ( WebhookIssueCommentCreatedPropCommentPropReactionsType as WebhookIssueCommentCreatedPropCommentPropReactionsType, ) + from .group_0585 import ( + WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0585 import ( WebhookIssueCommentCreatedPropCommentPropUserType as WebhookIssueCommentCreatedPropCommentPropUserType, ) + from .group_0585 import ( + WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse as WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0585 import ( WebhookIssueCommentCreatedPropCommentType as WebhookIssueCommentCreatedPropCommentType, ) + from .group_0585 import ( + WebhookIssueCommentCreatedPropCommentTypeForResponse as WebhookIssueCommentCreatedPropCommentTypeForResponse, + ) from .group_0586 import ( WebhookIssueCommentCreatedPropIssueMergedAssigneesType as WebhookIssueCommentCreatedPropIssueMergedAssigneesType, ) + from .group_0586 import ( + WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0586 import ( WebhookIssueCommentCreatedPropIssueMergedReactionsType as WebhookIssueCommentCreatedPropIssueMergedReactionsType, ) + from .group_0586 import ( + WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse, + ) from .group_0586 import ( WebhookIssueCommentCreatedPropIssueMergedUserType as WebhookIssueCommentCreatedPropIssueMergedUserType, ) + from .group_0586 import ( + WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse, + ) from .group_0586 import ( WebhookIssueCommentCreatedPropIssueType as WebhookIssueCommentCreatedPropIssueType, ) + from .group_0586 import ( + WebhookIssueCommentCreatedPropIssueTypeForResponse as WebhookIssueCommentCreatedPropIssueTypeForResponse, + ) from .group_0587 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0587 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0587 import ( WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType as WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType, ) + from .group_0587 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0587 import ( WebhookIssueCommentCreatedPropIssueAllof0PropUserType as WebhookIssueCommentCreatedPropIssueAllof0PropUserType, ) + from .group_0587 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0587 import ( WebhookIssueCommentCreatedPropIssueAllof0Type as WebhookIssueCommentCreatedPropIssueAllof0Type, ) + from .group_0587 import ( + WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse, + ) from .group_0588 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, ) + from .group_0588 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0588 import ( WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, ) + from .group_0588 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0588 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType as WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, ) + from .group_0588 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0589 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0589 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0590 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType as WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType, ) + from .group_0590 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0591 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0591 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0591 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0591 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0592 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0592 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType as WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType as WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1PropUserType as WebhookIssueCommentCreatedPropIssueAllof1PropUserType, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0593 import ( WebhookIssueCommentCreatedPropIssueAllof1Type as WebhookIssueCommentCreatedPropIssueAllof1Type, ) + from .group_0593 import ( + WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse as WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse, + ) from .group_0594 import ( WebhookIssueCommentCreatedPropIssueMergedMilestoneType as WebhookIssueCommentCreatedPropIssueMergedMilestoneType, ) + from .group_0594 import ( + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0595 import ( WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0595 import ( + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0596 import ( WebhookIssueCommentDeletedType as WebhookIssueCommentDeletedType, ) + from .group_0596 import ( + WebhookIssueCommentDeletedTypeForResponse as WebhookIssueCommentDeletedTypeForResponse, + ) from .group_0597 import ( WebhookIssueCommentDeletedPropIssueMergedAssigneesType as WebhookIssueCommentDeletedPropIssueMergedAssigneesType, ) + from .group_0597 import ( + WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0597 import ( WebhookIssueCommentDeletedPropIssueMergedReactionsType as WebhookIssueCommentDeletedPropIssueMergedReactionsType, ) + from .group_0597 import ( + WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse, + ) from .group_0597 import ( WebhookIssueCommentDeletedPropIssueMergedUserType as WebhookIssueCommentDeletedPropIssueMergedUserType, ) + from .group_0597 import ( + WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse, + ) from .group_0597 import ( WebhookIssueCommentDeletedPropIssueType as WebhookIssueCommentDeletedPropIssueType, ) + from .group_0597 import ( + WebhookIssueCommentDeletedPropIssueTypeForResponse as WebhookIssueCommentDeletedPropIssueTypeForResponse, + ) from .group_0598 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0598 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0598 import ( WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType as WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType, ) + from .group_0598 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0598 import ( WebhookIssueCommentDeletedPropIssueAllof0PropUserType as WebhookIssueCommentDeletedPropIssueAllof0PropUserType, ) + from .group_0598 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0598 import ( WebhookIssueCommentDeletedPropIssueAllof0Type as WebhookIssueCommentDeletedPropIssueAllof0Type, ) + from .group_0598 import ( + WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse, + ) from .group_0599 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, ) + from .group_0599 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0599 import ( WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, ) + from .group_0599 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0599 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType as WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, ) + from .group_0599 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0600 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0600 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0601 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType as WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType, ) + from .group_0601 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0602 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0602 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0602 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0602 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0603 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0603 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType as WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType as WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1PropUserType as WebhookIssueCommentDeletedPropIssueAllof1PropUserType, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0604 import ( WebhookIssueCommentDeletedPropIssueAllof1Type as WebhookIssueCommentDeletedPropIssueAllof1Type, ) + from .group_0604 import ( + WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse as WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse, + ) from .group_0605 import ( WebhookIssueCommentDeletedPropIssueMergedMilestoneType as WebhookIssueCommentDeletedPropIssueMergedMilestoneType, ) + from .group_0605 import ( + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0606 import ( WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0606 import ( + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0607 import ( WebhookIssueCommentEditedType as WebhookIssueCommentEditedType, ) + from .group_0607 import ( + WebhookIssueCommentEditedTypeForResponse as WebhookIssueCommentEditedTypeForResponse, + ) from .group_0608 import ( WebhookIssueCommentEditedPropIssueMergedAssigneesType as WebhookIssueCommentEditedPropIssueMergedAssigneesType, ) + from .group_0608 import ( + WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse as WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0608 import ( WebhookIssueCommentEditedPropIssueMergedReactionsType as WebhookIssueCommentEditedPropIssueMergedReactionsType, ) + from .group_0608 import ( + WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse, + ) from .group_0608 import ( WebhookIssueCommentEditedPropIssueMergedUserType as WebhookIssueCommentEditedPropIssueMergedUserType, ) + from .group_0608 import ( + WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse as WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse, + ) from .group_0608 import ( WebhookIssueCommentEditedPropIssueType as WebhookIssueCommentEditedPropIssueType, ) + from .group_0608 import ( + WebhookIssueCommentEditedPropIssueTypeForResponse as WebhookIssueCommentEditedPropIssueTypeForResponse, + ) from .group_0609 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType as WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0609 import ( + WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0609 import ( WebhookIssueCommentEditedPropIssueAllof0PropReactionsType as WebhookIssueCommentEditedPropIssueAllof0PropReactionsType, ) + from .group_0609 import ( + WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0609 import ( WebhookIssueCommentEditedPropIssueAllof0PropUserType as WebhookIssueCommentEditedPropIssueAllof0PropUserType, ) + from .group_0609 import ( + WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0609 import ( WebhookIssueCommentEditedPropIssueAllof0Type as WebhookIssueCommentEditedPropIssueAllof0Type, ) + from .group_0609 import ( + WebhookIssueCommentEditedPropIssueAllof0TypeForResponse as WebhookIssueCommentEditedPropIssueAllof0TypeForResponse, + ) from .group_0610 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType as WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, ) + from .group_0610 import ( + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0610 import ( WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType as WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, ) + from .group_0610 import ( + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0610 import ( WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType as WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, ) + from .group_0610 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0611 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0611 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0612 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType as WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType, ) + from .group_0612 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0613 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0613 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0613 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0613 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0614 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0614 import ( + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType as WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType as WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType as WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType as WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropReactionsType as WebhookIssueCommentEditedPropIssueAllof1PropReactionsType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1PropUserType as WebhookIssueCommentEditedPropIssueAllof1PropUserType, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse as WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0615 import ( WebhookIssueCommentEditedPropIssueAllof1Type as WebhookIssueCommentEditedPropIssueAllof1Type, ) + from .group_0615 import ( + WebhookIssueCommentEditedPropIssueAllof1TypeForResponse as WebhookIssueCommentEditedPropIssueAllof1TypeForResponse, + ) from .group_0616 import ( WebhookIssueCommentEditedPropIssueMergedMilestoneType as WebhookIssueCommentEditedPropIssueMergedMilestoneType, ) + from .group_0616 import ( + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse as WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0617 import ( WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType as WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0617 import ( + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0618 import ( WebhookIssueDependenciesBlockedByAddedType as WebhookIssueDependenciesBlockedByAddedType, ) + from .group_0618 import ( + WebhookIssueDependenciesBlockedByAddedTypeForResponse as WebhookIssueDependenciesBlockedByAddedTypeForResponse, + ) from .group_0619 import ( WebhookIssueDependenciesBlockedByRemovedType as WebhookIssueDependenciesBlockedByRemovedType, ) + from .group_0619 import ( + WebhookIssueDependenciesBlockedByRemovedTypeForResponse as WebhookIssueDependenciesBlockedByRemovedTypeForResponse, + ) from .group_0620 import ( WebhookIssueDependenciesBlockingAddedType as WebhookIssueDependenciesBlockingAddedType, ) + from .group_0620 import ( + WebhookIssueDependenciesBlockingAddedTypeForResponse as WebhookIssueDependenciesBlockingAddedTypeForResponse, + ) from .group_0621 import ( WebhookIssueDependenciesBlockingRemovedType as WebhookIssueDependenciesBlockingRemovedType, ) + from .group_0621 import ( + WebhookIssueDependenciesBlockingRemovedTypeForResponse as WebhookIssueDependenciesBlockingRemovedTypeForResponse, + ) from .group_0622 import WebhookIssuesAssignedType as WebhookIssuesAssignedType + from .group_0622 import ( + WebhookIssuesAssignedTypeForResponse as WebhookIssuesAssignedTypeForResponse, + ) from .group_0623 import WebhookIssuesClosedType as WebhookIssuesClosedType + from .group_0623 import ( + WebhookIssuesClosedTypeForResponse as WebhookIssuesClosedTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueMergedAssigneesType as WebhookIssuesClosedPropIssueMergedAssigneesType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse as WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueMergedAssigneeType as WebhookIssuesClosedPropIssueMergedAssigneeType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse as WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueMergedLabelsType as WebhookIssuesClosedPropIssueMergedLabelsType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse as WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueMergedReactionsType as WebhookIssuesClosedPropIssueMergedReactionsType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse as WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueMergedUserType as WebhookIssuesClosedPropIssueMergedUserType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueMergedUserTypeForResponse as WebhookIssuesClosedPropIssueMergedUserTypeForResponse, + ) from .group_0624 import ( WebhookIssuesClosedPropIssueType as WebhookIssuesClosedPropIssueType, ) + from .group_0624 import ( + WebhookIssuesClosedPropIssueTypeForResponse as WebhookIssuesClosedPropIssueTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType as WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0PropAssigneeType as WebhookIssuesClosedPropIssueAllof0PropAssigneeType, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType as WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0PropReactionsType as WebhookIssuesClosedPropIssueAllof0PropReactionsType, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0PropUserType as WebhookIssuesClosedPropIssueAllof0PropUserType, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse, + ) from .group_0625 import ( WebhookIssuesClosedPropIssueAllof0Type as WebhookIssuesClosedPropIssueAllof0Type, ) + from .group_0625 import ( + WebhookIssuesClosedPropIssueAllof0TypeForResponse as WebhookIssuesClosedPropIssueAllof0TypeForResponse, + ) from .group_0626 import ( WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType as WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, ) + from .group_0626 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + ) from .group_0627 import ( WebhookIssuesClosedPropIssueAllof0PropMilestoneType as WebhookIssuesClosedPropIssueAllof0PropMilestoneType, ) + from .group_0627 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, + ) from .group_0628 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, ) + from .group_0628 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0628 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, ) + from .group_0628 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0629 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType, ) + from .group_0629 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + ) from .group_0630 import ( WebhookIssuesClosedPropIssueAllof0PropPullRequestType as WebhookIssuesClosedPropIssueAllof0PropPullRequestType, ) + from .group_0630 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse as WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType as WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropAssigneeType as WebhookIssuesClosedPropIssueAllof1PropAssigneeType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType as WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropMilestoneType as WebhookIssuesClosedPropIssueAllof1PropMilestoneType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType as WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropReactionsType as WebhookIssuesClosedPropIssueAllof1PropReactionsType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1PropUserType as WebhookIssuesClosedPropIssueAllof1PropUserType, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse as WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse, + ) from .group_0631 import ( WebhookIssuesClosedPropIssueAllof1Type as WebhookIssuesClosedPropIssueAllof1Type, ) + from .group_0631 import ( + WebhookIssuesClosedPropIssueAllof1TypeForResponse as WebhookIssuesClosedPropIssueAllof1TypeForResponse, + ) from .group_0632 import ( WebhookIssuesClosedPropIssueMergedMilestoneType as WebhookIssuesClosedPropIssueMergedMilestoneType, ) + from .group_0632 import ( + WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse as WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, + ) from .group_0633 import ( WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType as WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType, ) + from .group_0633 import ( + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse as WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, + ) from .group_0634 import WebhookIssuesDeletedType as WebhookIssuesDeletedType + from .group_0634 import ( + WebhookIssuesDeletedTypeForResponse as WebhookIssuesDeletedTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropAssigneesItemsType as WebhookIssuesDeletedPropIssuePropAssigneesItemsType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropAssigneeType as WebhookIssuesDeletedPropIssuePropAssigneeType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse as WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropLabelsItemsType as WebhookIssuesDeletedPropIssuePropLabelsItemsType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType as WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropMilestoneType as WebhookIssuesDeletedPropIssuePropMilestoneType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse as WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropPullRequestType as WebhookIssuesDeletedPropIssuePropPullRequestType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse as WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropReactionsType as WebhookIssuesDeletedPropIssuePropReactionsType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse as WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssuePropUserType as WebhookIssuesDeletedPropIssuePropUserType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssuePropUserTypeForResponse as WebhookIssuesDeletedPropIssuePropUserTypeForResponse, + ) from .group_0635 import ( WebhookIssuesDeletedPropIssueType as WebhookIssuesDeletedPropIssueType, ) + from .group_0635 import ( + WebhookIssuesDeletedPropIssueTypeForResponse as WebhookIssuesDeletedPropIssueTypeForResponse, + ) from .group_0636 import ( WebhookIssuesDemilestonedType as WebhookIssuesDemilestonedType, ) + from .group_0636 import ( + WebhookIssuesDemilestonedTypeForResponse as WebhookIssuesDemilestonedTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType as WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropAssigneeType as WebhookIssuesDemilestonedPropIssuePropAssigneeType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse as WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropLabelsItemsType as WebhookIssuesDemilestonedPropIssuePropLabelsItemsType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType as WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropMilestoneType as WebhookIssuesDemilestonedPropIssuePropMilestoneType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse as WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropPullRequestType as WebhookIssuesDemilestonedPropIssuePropPullRequestType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse as WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropReactionsType as WebhookIssuesDemilestonedPropIssuePropReactionsType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse as WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssuePropUserType as WebhookIssuesDemilestonedPropIssuePropUserType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse as WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse, + ) from .group_0637 import ( WebhookIssuesDemilestonedPropIssueType as WebhookIssuesDemilestonedPropIssueType, ) + from .group_0637 import ( + WebhookIssuesDemilestonedPropIssueTypeForResponse as WebhookIssuesDemilestonedPropIssueTypeForResponse, + ) from .group_0638 import ( WebhookIssuesEditedPropChangesPropBodyType as WebhookIssuesEditedPropChangesPropBodyType, ) + from .group_0638 import ( + WebhookIssuesEditedPropChangesPropBodyTypeForResponse as WebhookIssuesEditedPropChangesPropBodyTypeForResponse, + ) from .group_0638 import ( WebhookIssuesEditedPropChangesPropTitleType as WebhookIssuesEditedPropChangesPropTitleType, ) + from .group_0638 import ( + WebhookIssuesEditedPropChangesPropTitleTypeForResponse as WebhookIssuesEditedPropChangesPropTitleTypeForResponse, + ) from .group_0638 import ( WebhookIssuesEditedPropChangesType as WebhookIssuesEditedPropChangesType, ) + from .group_0638 import ( + WebhookIssuesEditedPropChangesTypeForResponse as WebhookIssuesEditedPropChangesTypeForResponse, + ) from .group_0638 import WebhookIssuesEditedType as WebhookIssuesEditedType + from .group_0638 import ( + WebhookIssuesEditedTypeForResponse as WebhookIssuesEditedTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropAssigneesItemsType as WebhookIssuesEditedPropIssuePropAssigneesItemsType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropAssigneeType as WebhookIssuesEditedPropIssuePropAssigneeType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse as WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropLabelsItemsType as WebhookIssuesEditedPropIssuePropLabelsItemsType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropMilestonePropCreatorType as WebhookIssuesEditedPropIssuePropMilestonePropCreatorType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropMilestoneType as WebhookIssuesEditedPropIssuePropMilestoneType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse as WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropPullRequestType as WebhookIssuesEditedPropIssuePropPullRequestType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse as WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropReactionsType as WebhookIssuesEditedPropIssuePropReactionsType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropReactionsTypeForResponse as WebhookIssuesEditedPropIssuePropReactionsTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssuePropUserType as WebhookIssuesEditedPropIssuePropUserType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssuePropUserTypeForResponse as WebhookIssuesEditedPropIssuePropUserTypeForResponse, + ) from .group_0639 import ( WebhookIssuesEditedPropIssueType as WebhookIssuesEditedPropIssueType, ) + from .group_0639 import ( + WebhookIssuesEditedPropIssueTypeForResponse as WebhookIssuesEditedPropIssueTypeForResponse, + ) from .group_0640 import WebhookIssuesLabeledType as WebhookIssuesLabeledType + from .group_0640 import ( + WebhookIssuesLabeledTypeForResponse as WebhookIssuesLabeledTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropAssigneesItemsType as WebhookIssuesLabeledPropIssuePropAssigneesItemsType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropAssigneeType as WebhookIssuesLabeledPropIssuePropAssigneeType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse as WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropLabelsItemsType as WebhookIssuesLabeledPropIssuePropLabelsItemsType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType as WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropMilestoneType as WebhookIssuesLabeledPropIssuePropMilestoneType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse as WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropPullRequestType as WebhookIssuesLabeledPropIssuePropPullRequestType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse as WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropReactionsType as WebhookIssuesLabeledPropIssuePropReactionsType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse as WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssuePropUserType as WebhookIssuesLabeledPropIssuePropUserType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssuePropUserTypeForResponse as WebhookIssuesLabeledPropIssuePropUserTypeForResponse, + ) from .group_0641 import ( WebhookIssuesLabeledPropIssueType as WebhookIssuesLabeledPropIssueType, ) + from .group_0641 import ( + WebhookIssuesLabeledPropIssueTypeForResponse as WebhookIssuesLabeledPropIssueTypeForResponse, + ) from .group_0642 import WebhookIssuesLockedType as WebhookIssuesLockedType + from .group_0642 import ( + WebhookIssuesLockedTypeForResponse as WebhookIssuesLockedTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropAssigneesItemsType as WebhookIssuesLockedPropIssuePropAssigneesItemsType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropAssigneeType as WebhookIssuesLockedPropIssuePropAssigneeType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse as WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropLabelsItemsType as WebhookIssuesLockedPropIssuePropLabelsItemsType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropMilestonePropCreatorType as WebhookIssuesLockedPropIssuePropMilestonePropCreatorType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropMilestoneType as WebhookIssuesLockedPropIssuePropMilestoneType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse as WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropPullRequestType as WebhookIssuesLockedPropIssuePropPullRequestType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse as WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropReactionsType as WebhookIssuesLockedPropIssuePropReactionsType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropReactionsTypeForResponse as WebhookIssuesLockedPropIssuePropReactionsTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssuePropUserType as WebhookIssuesLockedPropIssuePropUserType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssuePropUserTypeForResponse as WebhookIssuesLockedPropIssuePropUserTypeForResponse, + ) from .group_0643 import ( WebhookIssuesLockedPropIssueType as WebhookIssuesLockedPropIssueType, ) + from .group_0643 import ( + WebhookIssuesLockedPropIssueTypeForResponse as WebhookIssuesLockedPropIssueTypeForResponse, + ) from .group_0644 import WebhookIssuesMilestonedType as WebhookIssuesMilestonedType + from .group_0644 import ( + WebhookIssuesMilestonedTypeForResponse as WebhookIssuesMilestonedTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropAssigneesItemsType as WebhookIssuesMilestonedPropIssuePropAssigneesItemsType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropAssigneeType as WebhookIssuesMilestonedPropIssuePropAssigneeType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse as WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropLabelsItemsType as WebhookIssuesMilestonedPropIssuePropLabelsItemsType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType as WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropMilestoneType as WebhookIssuesMilestonedPropIssuePropMilestoneType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse as WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropPullRequestType as WebhookIssuesMilestonedPropIssuePropPullRequestType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse as WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropReactionsType as WebhookIssuesMilestonedPropIssuePropReactionsType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse as WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssuePropUserType as WebhookIssuesMilestonedPropIssuePropUserType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssuePropUserTypeForResponse as WebhookIssuesMilestonedPropIssuePropUserTypeForResponse, + ) from .group_0645 import ( WebhookIssuesMilestonedPropIssueType as WebhookIssuesMilestonedPropIssueType, ) + from .group_0645 import ( + WebhookIssuesMilestonedPropIssueTypeForResponse as WebhookIssuesMilestonedPropIssueTypeForResponse, + ) from .group_0646 import WebhookIssuesOpenedType as WebhookIssuesOpenedType + from .group_0646 import ( + WebhookIssuesOpenedTypeForResponse as WebhookIssuesOpenedTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType as WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesPropOldRepositoryType as WebhookIssuesOpenedPropChangesPropOldRepositoryType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse as WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse, + ) from .group_0647 import ( WebhookIssuesOpenedPropChangesType as WebhookIssuesOpenedPropChangesType, ) + from .group_0647 import ( + WebhookIssuesOpenedPropChangesTypeForResponse as WebhookIssuesOpenedPropChangesTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType as WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType as WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse, + ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType as WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType, ) from .group_0648 import ( - WebhookIssuesOpenedPropChangesPropOldIssuePropUserType as WebhookIssuesOpenedPropChangesPropOldIssuePropUserType, + WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse, + ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropUserType as WebhookIssuesOpenedPropChangesPropOldIssuePropUserType, + ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse, ) from .group_0648 import ( WebhookIssuesOpenedPropChangesPropOldIssueType as WebhookIssuesOpenedPropChangesPropOldIssueType, ) + from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse as WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropAssigneesItemsType as WebhookIssuesOpenedPropIssuePropAssigneesItemsType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropAssigneeType as WebhookIssuesOpenedPropIssuePropAssigneeType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse as WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropLabelsItemsType as WebhookIssuesOpenedPropIssuePropLabelsItemsType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType as WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropMilestoneType as WebhookIssuesOpenedPropIssuePropMilestoneType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse as WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropPullRequestType as WebhookIssuesOpenedPropIssuePropPullRequestType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse as WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropReactionsType as WebhookIssuesOpenedPropIssuePropReactionsType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse as WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssuePropUserType as WebhookIssuesOpenedPropIssuePropUserType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssuePropUserTypeForResponse as WebhookIssuesOpenedPropIssuePropUserTypeForResponse, + ) from .group_0649 import ( WebhookIssuesOpenedPropIssueType as WebhookIssuesOpenedPropIssueType, ) + from .group_0649 import ( + WebhookIssuesOpenedPropIssueTypeForResponse as WebhookIssuesOpenedPropIssueTypeForResponse, + ) from .group_0650 import WebhookIssuesPinnedType as WebhookIssuesPinnedType + from .group_0650 import ( + WebhookIssuesPinnedTypeForResponse as WebhookIssuesPinnedTypeForResponse, + ) from .group_0651 import WebhookIssuesReopenedType as WebhookIssuesReopenedType + from .group_0651 import ( + WebhookIssuesReopenedTypeForResponse as WebhookIssuesReopenedTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropAssigneesItemsType as WebhookIssuesReopenedPropIssuePropAssigneesItemsType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropAssigneeType as WebhookIssuesReopenedPropIssuePropAssigneeType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse as WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropLabelsItemsType as WebhookIssuesReopenedPropIssuePropLabelsItemsType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType as WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropMilestoneType as WebhookIssuesReopenedPropIssuePropMilestoneType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse as WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropPullRequestType as WebhookIssuesReopenedPropIssuePropPullRequestType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse as WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropReactionsType as WebhookIssuesReopenedPropIssuePropReactionsType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse as WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssuePropUserType as WebhookIssuesReopenedPropIssuePropUserType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssuePropUserTypeForResponse as WebhookIssuesReopenedPropIssuePropUserTypeForResponse, + ) from .group_0652 import ( WebhookIssuesReopenedPropIssueType as WebhookIssuesReopenedPropIssueType, ) + from .group_0652 import ( + WebhookIssuesReopenedPropIssueTypeForResponse as WebhookIssuesReopenedPropIssueTypeForResponse, + ) from .group_0653 import WebhookIssuesTransferredType as WebhookIssuesTransferredType + from .group_0653 import ( + WebhookIssuesTransferredTypeForResponse as WebhookIssuesTransferredTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType as WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesPropNewRepositoryType as WebhookIssuesTransferredPropChangesPropNewRepositoryType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse as WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse, + ) from .group_0654 import ( WebhookIssuesTransferredPropChangesType as WebhookIssuesTransferredPropChangesType, ) + from .group_0654 import ( + WebhookIssuesTransferredPropChangesTypeForResponse as WebhookIssuesTransferredPropChangesTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType as WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType as WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType as WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssuePropUserType as WebhookIssuesTransferredPropChangesPropNewIssuePropUserType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse, + ) from .group_0655 import ( WebhookIssuesTransferredPropChangesPropNewIssueType as WebhookIssuesTransferredPropChangesPropNewIssueType, ) + from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse as WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse, + ) from .group_0656 import WebhookIssuesTypedType as WebhookIssuesTypedType + from .group_0656 import ( + WebhookIssuesTypedTypeForResponse as WebhookIssuesTypedTypeForResponse, + ) from .group_0657 import WebhookIssuesUnassignedType as WebhookIssuesUnassignedType + from .group_0657 import ( + WebhookIssuesUnassignedTypeForResponse as WebhookIssuesUnassignedTypeForResponse, + ) from .group_0658 import WebhookIssuesUnlabeledType as WebhookIssuesUnlabeledType + from .group_0658 import ( + WebhookIssuesUnlabeledTypeForResponse as WebhookIssuesUnlabeledTypeForResponse, + ) from .group_0659 import WebhookIssuesUnlockedType as WebhookIssuesUnlockedType + from .group_0659 import ( + WebhookIssuesUnlockedTypeForResponse as WebhookIssuesUnlockedTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropAssigneesItemsType as WebhookIssuesUnlockedPropIssuePropAssigneesItemsType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse as WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropAssigneeType as WebhookIssuesUnlockedPropIssuePropAssigneeType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse as WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropLabelsItemsType as WebhookIssuesUnlockedPropIssuePropLabelsItemsType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse as WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType as WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse as WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropMilestoneType as WebhookIssuesUnlockedPropIssuePropMilestoneType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse as WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse as WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropPullRequestType as WebhookIssuesUnlockedPropIssuePropPullRequestType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse as WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropReactionsType as WebhookIssuesUnlockedPropIssuePropReactionsType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse as WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssuePropUserType as WebhookIssuesUnlockedPropIssuePropUserType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssuePropUserTypeForResponse as WebhookIssuesUnlockedPropIssuePropUserTypeForResponse, + ) from .group_0660 import ( WebhookIssuesUnlockedPropIssueType as WebhookIssuesUnlockedPropIssueType, ) + from .group_0660 import ( + WebhookIssuesUnlockedPropIssueTypeForResponse as WebhookIssuesUnlockedPropIssueTypeForResponse, + ) from .group_0661 import WebhookIssuesUnpinnedType as WebhookIssuesUnpinnedType + from .group_0661 import ( + WebhookIssuesUnpinnedTypeForResponse as WebhookIssuesUnpinnedTypeForResponse, + ) from .group_0662 import WebhookIssuesUntypedType as WebhookIssuesUntypedType + from .group_0662 import ( + WebhookIssuesUntypedTypeForResponse as WebhookIssuesUntypedTypeForResponse, + ) from .group_0663 import WebhookLabelCreatedType as WebhookLabelCreatedType + from .group_0663 import ( + WebhookLabelCreatedTypeForResponse as WebhookLabelCreatedTypeForResponse, + ) from .group_0664 import WebhookLabelDeletedType as WebhookLabelDeletedType + from .group_0664 import ( + WebhookLabelDeletedTypeForResponse as WebhookLabelDeletedTypeForResponse, + ) from .group_0665 import ( WebhookLabelEditedPropChangesPropColorType as WebhookLabelEditedPropChangesPropColorType, ) + from .group_0665 import ( + WebhookLabelEditedPropChangesPropColorTypeForResponse as WebhookLabelEditedPropChangesPropColorTypeForResponse, + ) from .group_0665 import ( WebhookLabelEditedPropChangesPropDescriptionType as WebhookLabelEditedPropChangesPropDescriptionType, ) + from .group_0665 import ( + WebhookLabelEditedPropChangesPropDescriptionTypeForResponse as WebhookLabelEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0665 import ( WebhookLabelEditedPropChangesPropNameType as WebhookLabelEditedPropChangesPropNameType, ) + from .group_0665 import ( + WebhookLabelEditedPropChangesPropNameTypeForResponse as WebhookLabelEditedPropChangesPropNameTypeForResponse, + ) from .group_0665 import ( WebhookLabelEditedPropChangesType as WebhookLabelEditedPropChangesType, ) + from .group_0665 import ( + WebhookLabelEditedPropChangesTypeForResponse as WebhookLabelEditedPropChangesTypeForResponse, + ) from .group_0665 import WebhookLabelEditedType as WebhookLabelEditedType + from .group_0665 import ( + WebhookLabelEditedTypeForResponse as WebhookLabelEditedTypeForResponse, + ) from .group_0666 import ( WebhookMarketplacePurchaseCancelledType as WebhookMarketplacePurchaseCancelledType, ) + from .group_0666 import ( + WebhookMarketplacePurchaseCancelledTypeForResponse as WebhookMarketplacePurchaseCancelledTypeForResponse, + ) from .group_0667 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType, ) + from .group_0667 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0667 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType, ) + from .group_0667 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0667 import ( WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType, ) + from .group_0667 import ( + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0667 import ( WebhookMarketplacePurchaseChangedType as WebhookMarketplacePurchaseChangedType, ) + from .group_0667 import ( + WebhookMarketplacePurchaseChangedTypeForResponse as WebhookMarketplacePurchaseChangedTypeForResponse, + ) from .group_0668 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType, ) + from .group_0668 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0668 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType, ) + from .group_0668 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0668 import ( WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType, ) + from .group_0668 import ( + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse, + ) from .group_0668 import ( WebhookMarketplacePurchasePendingChangeType as WebhookMarketplacePurchasePendingChangeType, ) + from .group_0668 import ( + WebhookMarketplacePurchasePendingChangeTypeForResponse as WebhookMarketplacePurchasePendingChangeTypeForResponse, + ) from .group_0669 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType, ) + from .group_0669 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse, + ) from .group_0669 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType, ) + from .group_0669 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse, + ) from .group_0669 import ( WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType, ) + from .group_0669 import ( + WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse, + ) from .group_0669 import ( WebhookMarketplacePurchasePendingChangeCancelledType as WebhookMarketplacePurchasePendingChangeCancelledType, ) + from .group_0669 import ( + WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse as WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse, + ) from .group_0670 import ( WebhookMarketplacePurchasePurchasedType as WebhookMarketplacePurchasePurchasedType, ) + from .group_0670 import ( + WebhookMarketplacePurchasePurchasedTypeForResponse as WebhookMarketplacePurchasePurchasedTypeForResponse, + ) from .group_0671 import ( WebhookMemberAddedPropChangesPropPermissionType as WebhookMemberAddedPropChangesPropPermissionType, ) + from .group_0671 import ( + WebhookMemberAddedPropChangesPropPermissionTypeForResponse as WebhookMemberAddedPropChangesPropPermissionTypeForResponse, + ) from .group_0671 import ( WebhookMemberAddedPropChangesPropRoleNameType as WebhookMemberAddedPropChangesPropRoleNameType, ) + from .group_0671 import ( + WebhookMemberAddedPropChangesPropRoleNameTypeForResponse as WebhookMemberAddedPropChangesPropRoleNameTypeForResponse, + ) from .group_0671 import ( WebhookMemberAddedPropChangesType as WebhookMemberAddedPropChangesType, ) + from .group_0671 import ( + WebhookMemberAddedPropChangesTypeForResponse as WebhookMemberAddedPropChangesTypeForResponse, + ) from .group_0671 import WebhookMemberAddedType as WebhookMemberAddedType + from .group_0671 import ( + WebhookMemberAddedTypeForResponse as WebhookMemberAddedTypeForResponse, + ) from .group_0672 import ( WebhookMemberEditedPropChangesPropOldPermissionType as WebhookMemberEditedPropChangesPropOldPermissionType, ) + from .group_0672 import ( + WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse as WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse, + ) from .group_0672 import ( WebhookMemberEditedPropChangesPropPermissionType as WebhookMemberEditedPropChangesPropPermissionType, ) + from .group_0672 import ( + WebhookMemberEditedPropChangesPropPermissionTypeForResponse as WebhookMemberEditedPropChangesPropPermissionTypeForResponse, + ) from .group_0672 import ( WebhookMemberEditedPropChangesType as WebhookMemberEditedPropChangesType, ) + from .group_0672 import ( + WebhookMemberEditedPropChangesTypeForResponse as WebhookMemberEditedPropChangesTypeForResponse, + ) from .group_0672 import WebhookMemberEditedType as WebhookMemberEditedType + from .group_0672 import ( + WebhookMemberEditedTypeForResponse as WebhookMemberEditedTypeForResponse, + ) from .group_0673 import WebhookMemberRemovedType as WebhookMemberRemovedType + from .group_0673 import ( + WebhookMemberRemovedTypeForResponse as WebhookMemberRemovedTypeForResponse, + ) from .group_0674 import ( WebhookMembershipAddedPropSenderType as WebhookMembershipAddedPropSenderType, ) + from .group_0674 import ( + WebhookMembershipAddedPropSenderTypeForResponse as WebhookMembershipAddedPropSenderTypeForResponse, + ) from .group_0674 import WebhookMembershipAddedType as WebhookMembershipAddedType + from .group_0674 import ( + WebhookMembershipAddedTypeForResponse as WebhookMembershipAddedTypeForResponse, + ) from .group_0675 import ( WebhookMembershipRemovedPropSenderType as WebhookMembershipRemovedPropSenderType, ) + from .group_0675 import ( + WebhookMembershipRemovedPropSenderTypeForResponse as WebhookMembershipRemovedPropSenderTypeForResponse, + ) from .group_0675 import WebhookMembershipRemovedType as WebhookMembershipRemovedType + from .group_0675 import ( + WebhookMembershipRemovedTypeForResponse as WebhookMembershipRemovedTypeForResponse, + ) from .group_0676 import ( WebhookMergeGroupChecksRequestedType as WebhookMergeGroupChecksRequestedType, ) + from .group_0676 import ( + WebhookMergeGroupChecksRequestedTypeForResponse as WebhookMergeGroupChecksRequestedTypeForResponse, + ) from .group_0677 import ( WebhookMergeGroupDestroyedType as WebhookMergeGroupDestroyedType, ) + from .group_0677 import ( + WebhookMergeGroupDestroyedTypeForResponse as WebhookMergeGroupDestroyedTypeForResponse, + ) from .group_0678 import ( WebhookMetaDeletedPropHookPropConfigType as WebhookMetaDeletedPropHookPropConfigType, ) + from .group_0678 import ( + WebhookMetaDeletedPropHookPropConfigTypeForResponse as WebhookMetaDeletedPropHookPropConfigTypeForResponse, + ) from .group_0678 import ( WebhookMetaDeletedPropHookType as WebhookMetaDeletedPropHookType, ) + from .group_0678 import ( + WebhookMetaDeletedPropHookTypeForResponse as WebhookMetaDeletedPropHookTypeForResponse, + ) from .group_0678 import WebhookMetaDeletedType as WebhookMetaDeletedType + from .group_0678 import ( + WebhookMetaDeletedTypeForResponse as WebhookMetaDeletedTypeForResponse, + ) from .group_0679 import WebhookMilestoneClosedType as WebhookMilestoneClosedType + from .group_0679 import ( + WebhookMilestoneClosedTypeForResponse as WebhookMilestoneClosedTypeForResponse, + ) from .group_0680 import WebhookMilestoneCreatedType as WebhookMilestoneCreatedType + from .group_0680 import ( + WebhookMilestoneCreatedTypeForResponse as WebhookMilestoneCreatedTypeForResponse, + ) from .group_0681 import WebhookMilestoneDeletedType as WebhookMilestoneDeletedType + from .group_0681 import ( + WebhookMilestoneDeletedTypeForResponse as WebhookMilestoneDeletedTypeForResponse, + ) from .group_0682 import ( WebhookMilestoneEditedPropChangesPropDescriptionType as WebhookMilestoneEditedPropChangesPropDescriptionType, ) + from .group_0682 import ( + WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse as WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0682 import ( WebhookMilestoneEditedPropChangesPropDueOnType as WebhookMilestoneEditedPropChangesPropDueOnType, ) + from .group_0682 import ( + WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse as WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse, + ) from .group_0682 import ( WebhookMilestoneEditedPropChangesPropTitleType as WebhookMilestoneEditedPropChangesPropTitleType, ) + from .group_0682 import ( + WebhookMilestoneEditedPropChangesPropTitleTypeForResponse as WebhookMilestoneEditedPropChangesPropTitleTypeForResponse, + ) from .group_0682 import ( WebhookMilestoneEditedPropChangesType as WebhookMilestoneEditedPropChangesType, ) + from .group_0682 import ( + WebhookMilestoneEditedPropChangesTypeForResponse as WebhookMilestoneEditedPropChangesTypeForResponse, + ) from .group_0682 import WebhookMilestoneEditedType as WebhookMilestoneEditedType + from .group_0682 import ( + WebhookMilestoneEditedTypeForResponse as WebhookMilestoneEditedTypeForResponse, + ) from .group_0683 import WebhookMilestoneOpenedType as WebhookMilestoneOpenedType + from .group_0683 import ( + WebhookMilestoneOpenedTypeForResponse as WebhookMilestoneOpenedTypeForResponse, + ) from .group_0684 import WebhookOrgBlockBlockedType as WebhookOrgBlockBlockedType + from .group_0684 import ( + WebhookOrgBlockBlockedTypeForResponse as WebhookOrgBlockBlockedTypeForResponse, + ) from .group_0685 import WebhookOrgBlockUnblockedType as WebhookOrgBlockUnblockedType + from .group_0685 import ( + WebhookOrgBlockUnblockedTypeForResponse as WebhookOrgBlockUnblockedTypeForResponse, + ) from .group_0686 import ( WebhookOrganizationDeletedType as WebhookOrganizationDeletedType, ) + from .group_0686 import ( + WebhookOrganizationDeletedTypeForResponse as WebhookOrganizationDeletedTypeForResponse, + ) from .group_0687 import ( WebhookOrganizationMemberAddedType as WebhookOrganizationMemberAddedType, ) + from .group_0687 import ( + WebhookOrganizationMemberAddedTypeForResponse as WebhookOrganizationMemberAddedTypeForResponse, + ) from .group_0688 import ( WebhookOrganizationMemberInvitedPropInvitationPropInviterType as WebhookOrganizationMemberInvitedPropInvitationPropInviterType, ) + from .group_0688 import ( + WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse as WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse, + ) from .group_0688 import ( WebhookOrganizationMemberInvitedPropInvitationType as WebhookOrganizationMemberInvitedPropInvitationType, ) + from .group_0688 import ( + WebhookOrganizationMemberInvitedPropInvitationTypeForResponse as WebhookOrganizationMemberInvitedPropInvitationTypeForResponse, + ) from .group_0688 import ( WebhookOrganizationMemberInvitedType as WebhookOrganizationMemberInvitedType, ) + from .group_0688 import ( + WebhookOrganizationMemberInvitedTypeForResponse as WebhookOrganizationMemberInvitedTypeForResponse, + ) from .group_0689 import ( WebhookOrganizationMemberRemovedType as WebhookOrganizationMemberRemovedType, ) + from .group_0689 import ( + WebhookOrganizationMemberRemovedTypeForResponse as WebhookOrganizationMemberRemovedTypeForResponse, + ) from .group_0690 import ( WebhookOrganizationRenamedPropChangesPropLoginType as WebhookOrganizationRenamedPropChangesPropLoginType, ) + from .group_0690 import ( + WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse as WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse, + ) from .group_0690 import ( WebhookOrganizationRenamedPropChangesType as WebhookOrganizationRenamedPropChangesType, ) + from .group_0690 import ( + WebhookOrganizationRenamedPropChangesTypeForResponse as WebhookOrganizationRenamedPropChangesTypeForResponse, + ) from .group_0690 import ( WebhookOrganizationRenamedType as WebhookOrganizationRenamedType, ) + from .group_0690 import ( + WebhookOrganizationRenamedTypeForResponse as WebhookOrganizationRenamedTypeForResponse, + ) from .group_0691 import ( WebhookRubygemsMetadataPropDependenciesItemsType as WebhookRubygemsMetadataPropDependenciesItemsType, ) + from .group_0691 import ( + WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse as WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse, + ) from .group_0691 import ( WebhookRubygemsMetadataPropMetadataType as WebhookRubygemsMetadataPropMetadataType, ) + from .group_0691 import ( + WebhookRubygemsMetadataPropMetadataTypeForResponse as WebhookRubygemsMetadataPropMetadataTypeForResponse, + ) from .group_0691 import ( WebhookRubygemsMetadataPropVersionInfoType as WebhookRubygemsMetadataPropVersionInfoType, ) + from .group_0691 import ( + WebhookRubygemsMetadataPropVersionInfoTypeForResponse as WebhookRubygemsMetadataPropVersionInfoTypeForResponse, + ) from .group_0691 import WebhookRubygemsMetadataType as WebhookRubygemsMetadataType + from .group_0691 import ( + WebhookRubygemsMetadataTypeForResponse as WebhookRubygemsMetadataTypeForResponse, + ) from .group_0692 import WebhookPackagePublishedType as WebhookPackagePublishedType + from .group_0692 import ( + WebhookPackagePublishedTypeForResponse as WebhookPackagePublishedTypeForResponse, + ) from .group_0693 import ( WebhookPackagePublishedPropPackagePropOwnerType as WebhookPackagePublishedPropPackagePropOwnerType, ) + from .group_0693 import ( + WebhookPackagePublishedPropPackagePropOwnerTypeForResponse as WebhookPackagePublishedPropPackagePropOwnerTypeForResponse, + ) from .group_0693 import ( WebhookPackagePublishedPropPackagePropRegistryType as WebhookPackagePublishedPropPackagePropRegistryType, ) + from .group_0693 import ( + WebhookPackagePublishedPropPackagePropRegistryTypeForResponse as WebhookPackagePublishedPropPackagePropRegistryTypeForResponse, + ) from .group_0693 import ( WebhookPackagePublishedPropPackageType as WebhookPackagePublishedPropPackageType, ) + from .group_0693 import ( + WebhookPackagePublishedPropPackageTypeForResponse as WebhookPackagePublishedPropPackageTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type as WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType as WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType as WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType as WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0694 import ( WebhookPackagePublishedPropPackagePropPackageVersionType as WebhookPackagePublishedPropPackagePropPackageVersionType, ) + from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse as WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, + ) from .group_0695 import WebhookPackageUpdatedType as WebhookPackageUpdatedType + from .group_0695 import ( + WebhookPackageUpdatedTypeForResponse as WebhookPackageUpdatedTypeForResponse, + ) from .group_0696 import ( WebhookPackageUpdatedPropPackagePropOwnerType as WebhookPackageUpdatedPropPackagePropOwnerType, ) + from .group_0696 import ( + WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse as WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse, + ) from .group_0696 import ( WebhookPackageUpdatedPropPackagePropRegistryType as WebhookPackageUpdatedPropPackagePropRegistryType, ) + from .group_0696 import ( + WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse as WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse, + ) from .group_0696 import ( WebhookPackageUpdatedPropPackageType as WebhookPackageUpdatedPropPackageType, ) + from .group_0696 import ( + WebhookPackageUpdatedPropPackageTypeForResponse as WebhookPackageUpdatedPropPackageTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType as WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType as WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0697 import ( WebhookPackageUpdatedPropPackagePropPackageVersionType as WebhookPackageUpdatedPropPackagePropPackageVersionType, ) + from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse as WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse, + ) from .group_0698 import ( WebhookPageBuildPropBuildPropErrorType as WebhookPageBuildPropBuildPropErrorType, ) + from .group_0698 import ( + WebhookPageBuildPropBuildPropErrorTypeForResponse as WebhookPageBuildPropBuildPropErrorTypeForResponse, + ) from .group_0698 import ( WebhookPageBuildPropBuildPropPusherType as WebhookPageBuildPropBuildPropPusherType, ) + from .group_0698 import ( + WebhookPageBuildPropBuildPropPusherTypeForResponse as WebhookPageBuildPropBuildPropPusherTypeForResponse, + ) from .group_0698 import ( WebhookPageBuildPropBuildType as WebhookPageBuildPropBuildType, ) + from .group_0698 import ( + WebhookPageBuildPropBuildTypeForResponse as WebhookPageBuildPropBuildTypeForResponse, + ) from .group_0698 import WebhookPageBuildType as WebhookPageBuildType + from .group_0698 import ( + WebhookPageBuildTypeForResponse as WebhookPageBuildTypeForResponse, + ) from .group_0699 import ( WebhookPersonalAccessTokenRequestApprovedType as WebhookPersonalAccessTokenRequestApprovedType, ) + from .group_0699 import ( + WebhookPersonalAccessTokenRequestApprovedTypeForResponse as WebhookPersonalAccessTokenRequestApprovedTypeForResponse, + ) from .group_0700 import ( WebhookPersonalAccessTokenRequestCancelledType as WebhookPersonalAccessTokenRequestCancelledType, ) + from .group_0700 import ( + WebhookPersonalAccessTokenRequestCancelledTypeForResponse as WebhookPersonalAccessTokenRequestCancelledTypeForResponse, + ) from .group_0701 import ( WebhookPersonalAccessTokenRequestCreatedType as WebhookPersonalAccessTokenRequestCreatedType, ) + from .group_0701 import ( + WebhookPersonalAccessTokenRequestCreatedTypeForResponse as WebhookPersonalAccessTokenRequestCreatedTypeForResponse, + ) from .group_0702 import ( WebhookPersonalAccessTokenRequestDeniedType as WebhookPersonalAccessTokenRequestDeniedType, ) + from .group_0702 import ( + WebhookPersonalAccessTokenRequestDeniedTypeForResponse as WebhookPersonalAccessTokenRequestDeniedTypeForResponse, + ) from .group_0703 import WebhookPingType as WebhookPingType + from .group_0703 import WebhookPingTypeForResponse as WebhookPingTypeForResponse from .group_0704 import ( WebhookPingPropHookPropConfigType as WebhookPingPropHookPropConfigType, ) + from .group_0704 import ( + WebhookPingPropHookPropConfigTypeForResponse as WebhookPingPropHookPropConfigTypeForResponse, + ) from .group_0704 import WebhookPingPropHookType as WebhookPingPropHookType + from .group_0704 import ( + WebhookPingPropHookTypeForResponse as WebhookPingPropHookTypeForResponse, + ) from .group_0705 import WebhookPingFormEncodedType as WebhookPingFormEncodedType + from .group_0705 import ( + WebhookPingFormEncodedTypeForResponse as WebhookPingFormEncodedTypeForResponse, + ) from .group_0706 import ( WebhookProjectCardConvertedPropChangesPropNoteType as WebhookProjectCardConvertedPropChangesPropNoteType, ) + from .group_0706 import ( + WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse as WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse, + ) from .group_0706 import ( WebhookProjectCardConvertedPropChangesType as WebhookProjectCardConvertedPropChangesType, ) + from .group_0706 import ( + WebhookProjectCardConvertedPropChangesTypeForResponse as WebhookProjectCardConvertedPropChangesTypeForResponse, + ) from .group_0706 import ( WebhookProjectCardConvertedType as WebhookProjectCardConvertedType, ) + from .group_0706 import ( + WebhookProjectCardConvertedTypeForResponse as WebhookProjectCardConvertedTypeForResponse, + ) from .group_0707 import ( WebhookProjectCardCreatedType as WebhookProjectCardCreatedType, ) + from .group_0707 import ( + WebhookProjectCardCreatedTypeForResponse as WebhookProjectCardCreatedTypeForResponse, + ) from .group_0708 import ( WebhookProjectCardDeletedPropProjectCardPropCreatorType as WebhookProjectCardDeletedPropProjectCardPropCreatorType, ) + from .group_0708 import ( + WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse as WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse, + ) from .group_0708 import ( WebhookProjectCardDeletedPropProjectCardType as WebhookProjectCardDeletedPropProjectCardType, ) + from .group_0708 import ( + WebhookProjectCardDeletedPropProjectCardTypeForResponse as WebhookProjectCardDeletedPropProjectCardTypeForResponse, + ) from .group_0708 import ( WebhookProjectCardDeletedType as WebhookProjectCardDeletedType, ) + from .group_0708 import ( + WebhookProjectCardDeletedTypeForResponse as WebhookProjectCardDeletedTypeForResponse, + ) from .group_0709 import ( WebhookProjectCardEditedPropChangesPropNoteType as WebhookProjectCardEditedPropChangesPropNoteType, ) + from .group_0709 import ( + WebhookProjectCardEditedPropChangesPropNoteTypeForResponse as WebhookProjectCardEditedPropChangesPropNoteTypeForResponse, + ) from .group_0709 import ( WebhookProjectCardEditedPropChangesType as WebhookProjectCardEditedPropChangesType, ) + from .group_0709 import ( + WebhookProjectCardEditedPropChangesTypeForResponse as WebhookProjectCardEditedPropChangesTypeForResponse, + ) from .group_0709 import WebhookProjectCardEditedType as WebhookProjectCardEditedType + from .group_0709 import ( + WebhookProjectCardEditedTypeForResponse as WebhookProjectCardEditedTypeForResponse, + ) from .group_0710 import ( WebhookProjectCardMovedPropChangesPropColumnIdType as WebhookProjectCardMovedPropChangesPropColumnIdType, ) + from .group_0710 import ( + WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse as WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse, + ) from .group_0710 import ( WebhookProjectCardMovedPropChangesType as WebhookProjectCardMovedPropChangesType, ) + from .group_0710 import ( + WebhookProjectCardMovedPropChangesTypeForResponse as WebhookProjectCardMovedPropChangesTypeForResponse, + ) from .group_0710 import ( WebhookProjectCardMovedPropProjectCardMergedCreatorType as WebhookProjectCardMovedPropProjectCardMergedCreatorType, ) + from .group_0710 import ( + WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse, + ) from .group_0710 import ( WebhookProjectCardMovedPropProjectCardType as WebhookProjectCardMovedPropProjectCardType, ) + from .group_0710 import ( + WebhookProjectCardMovedPropProjectCardTypeForResponse as WebhookProjectCardMovedPropProjectCardTypeForResponse, + ) from .group_0710 import WebhookProjectCardMovedType as WebhookProjectCardMovedType + from .group_0710 import ( + WebhookProjectCardMovedTypeForResponse as WebhookProjectCardMovedTypeForResponse, + ) from .group_0711 import ( WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType as WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType, ) + from .group_0711 import ( + WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse, + ) from .group_0711 import ( WebhookProjectCardMovedPropProjectCardAllof0Type as WebhookProjectCardMovedPropProjectCardAllof0Type, ) + from .group_0711 import ( + WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse as WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse, + ) from .group_0712 import ( WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType as WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType, ) + from .group_0712 import ( + WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse as WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse, + ) from .group_0712 import ( WebhookProjectCardMovedPropProjectCardAllof1Type as WebhookProjectCardMovedPropProjectCardAllof1Type, ) + from .group_0712 import ( + WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse as WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse, + ) from .group_0713 import WebhookProjectClosedType as WebhookProjectClosedType + from .group_0713 import ( + WebhookProjectClosedTypeForResponse as WebhookProjectClosedTypeForResponse, + ) from .group_0714 import ( WebhookProjectColumnCreatedType as WebhookProjectColumnCreatedType, ) + from .group_0714 import ( + WebhookProjectColumnCreatedTypeForResponse as WebhookProjectColumnCreatedTypeForResponse, + ) from .group_0715 import ( WebhookProjectColumnDeletedType as WebhookProjectColumnDeletedType, ) + from .group_0715 import ( + WebhookProjectColumnDeletedTypeForResponse as WebhookProjectColumnDeletedTypeForResponse, + ) from .group_0716 import ( WebhookProjectColumnEditedPropChangesPropNameType as WebhookProjectColumnEditedPropChangesPropNameType, ) + from .group_0716 import ( + WebhookProjectColumnEditedPropChangesPropNameTypeForResponse as WebhookProjectColumnEditedPropChangesPropNameTypeForResponse, + ) from .group_0716 import ( WebhookProjectColumnEditedPropChangesType as WebhookProjectColumnEditedPropChangesType, ) + from .group_0716 import ( + WebhookProjectColumnEditedPropChangesTypeForResponse as WebhookProjectColumnEditedPropChangesTypeForResponse, + ) from .group_0716 import ( WebhookProjectColumnEditedType as WebhookProjectColumnEditedType, ) + from .group_0716 import ( + WebhookProjectColumnEditedTypeForResponse as WebhookProjectColumnEditedTypeForResponse, + ) from .group_0717 import ( WebhookProjectColumnMovedType as WebhookProjectColumnMovedType, ) + from .group_0717 import ( + WebhookProjectColumnMovedTypeForResponse as WebhookProjectColumnMovedTypeForResponse, + ) from .group_0718 import WebhookProjectCreatedType as WebhookProjectCreatedType + from .group_0718 import ( + WebhookProjectCreatedTypeForResponse as WebhookProjectCreatedTypeForResponse, + ) from .group_0719 import WebhookProjectDeletedType as WebhookProjectDeletedType + from .group_0719 import ( + WebhookProjectDeletedTypeForResponse as WebhookProjectDeletedTypeForResponse, + ) from .group_0720 import ( WebhookProjectEditedPropChangesPropBodyType as WebhookProjectEditedPropChangesPropBodyType, ) + from .group_0720 import ( + WebhookProjectEditedPropChangesPropBodyTypeForResponse as WebhookProjectEditedPropChangesPropBodyTypeForResponse, + ) from .group_0720 import ( WebhookProjectEditedPropChangesPropNameType as WebhookProjectEditedPropChangesPropNameType, ) + from .group_0720 import ( + WebhookProjectEditedPropChangesPropNameTypeForResponse as WebhookProjectEditedPropChangesPropNameTypeForResponse, + ) from .group_0720 import ( WebhookProjectEditedPropChangesType as WebhookProjectEditedPropChangesType, ) + from .group_0720 import ( + WebhookProjectEditedPropChangesTypeForResponse as WebhookProjectEditedPropChangesTypeForResponse, + ) from .group_0720 import WebhookProjectEditedType as WebhookProjectEditedType + from .group_0720 import ( + WebhookProjectEditedTypeForResponse as WebhookProjectEditedTypeForResponse, + ) from .group_0721 import WebhookProjectReopenedType as WebhookProjectReopenedType + from .group_0721 import ( + WebhookProjectReopenedTypeForResponse as WebhookProjectReopenedTypeForResponse, + ) from .group_0722 import ( WebhookProjectsV2ProjectClosedType as WebhookProjectsV2ProjectClosedType, ) + from .group_0722 import ( + WebhookProjectsV2ProjectClosedTypeForResponse as WebhookProjectsV2ProjectClosedTypeForResponse, + ) from .group_0723 import ( WebhookProjectsV2ProjectCreatedType as WebhookProjectsV2ProjectCreatedType, ) + from .group_0723 import ( + WebhookProjectsV2ProjectCreatedTypeForResponse as WebhookProjectsV2ProjectCreatedTypeForResponse, + ) from .group_0724 import ( WebhookProjectsV2ProjectDeletedType as WebhookProjectsV2ProjectDeletedType, ) + from .group_0724 import ( + WebhookProjectsV2ProjectDeletedTypeForResponse as WebhookProjectsV2ProjectDeletedTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType as WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedPropChangesPropPublicType as WebhookProjectsV2ProjectEditedPropChangesPropPublicType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType as WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedPropChangesPropTitleType as WebhookProjectsV2ProjectEditedPropChangesPropTitleType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedPropChangesType as WebhookProjectsV2ProjectEditedPropChangesType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedPropChangesTypeForResponse as WebhookProjectsV2ProjectEditedPropChangesTypeForResponse, + ) from .group_0725 import ( WebhookProjectsV2ProjectEditedType as WebhookProjectsV2ProjectEditedType, ) + from .group_0725 import ( + WebhookProjectsV2ProjectEditedTypeForResponse as WebhookProjectsV2ProjectEditedTypeForResponse, + ) from .group_0726 import ( WebhookProjectsV2ItemArchivedType as WebhookProjectsV2ItemArchivedType, ) + from .group_0726 import ( + WebhookProjectsV2ItemArchivedTypeForResponse as WebhookProjectsV2ItemArchivedTypeForResponse, + ) from .group_0727 import ( WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType as WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType, ) + from .group_0727 import ( + WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse as WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse, + ) from .group_0727 import ( WebhookProjectsV2ItemConvertedPropChangesType as WebhookProjectsV2ItemConvertedPropChangesType, ) + from .group_0727 import ( + WebhookProjectsV2ItemConvertedPropChangesTypeForResponse as WebhookProjectsV2ItemConvertedPropChangesTypeForResponse, + ) from .group_0727 import ( WebhookProjectsV2ItemConvertedType as WebhookProjectsV2ItemConvertedType, ) + from .group_0727 import ( + WebhookProjectsV2ItemConvertedTypeForResponse as WebhookProjectsV2ItemConvertedTypeForResponse, + ) from .group_0728 import ( WebhookProjectsV2ItemCreatedType as WebhookProjectsV2ItemCreatedType, ) + from .group_0728 import ( + WebhookProjectsV2ItemCreatedTypeForResponse as WebhookProjectsV2ItemCreatedTypeForResponse, + ) from .group_0729 import ( WebhookProjectsV2ItemDeletedType as WebhookProjectsV2ItemDeletedType, ) + from .group_0729 import ( + WebhookProjectsV2ItemDeletedTypeForResponse as WebhookProjectsV2ItemDeletedTypeForResponse, + ) from .group_0730 import ( ProjectsV2IterationSettingType as ProjectsV2IterationSettingType, ) + from .group_0730 import ( + ProjectsV2IterationSettingTypeForResponse as ProjectsV2IterationSettingTypeForResponse, + ) from .group_0730 import ( ProjectsV2SingleSelectOptionType as ProjectsV2SingleSelectOptionType, ) + from .group_0730 import ( + ProjectsV2SingleSelectOptionTypeForResponse as ProjectsV2SingleSelectOptionTypeForResponse, + ) from .group_0730 import ( WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType as WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType, ) + from .group_0730 import ( + WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse, + ) from .group_0730 import ( WebhookProjectsV2ItemEditedPropChangesOneof0Type as WebhookProjectsV2ItemEditedPropChangesOneof0Type, ) + from .group_0730 import ( + WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse, + ) from .group_0730 import ( WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType as WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType, ) + from .group_0730 import ( + WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse, + ) from .group_0730 import ( WebhookProjectsV2ItemEditedPropChangesOneof1Type as WebhookProjectsV2ItemEditedPropChangesOneof1Type, ) + from .group_0730 import ( + WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse as WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse, + ) from .group_0730 import ( WebhookProjectsV2ItemEditedType as WebhookProjectsV2ItemEditedType, ) + from .group_0730 import ( + WebhookProjectsV2ItemEditedTypeForResponse as WebhookProjectsV2ItemEditedTypeForResponse, + ) from .group_0731 import ( WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType as WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType, ) + from .group_0731 import ( + WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse as WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse, + ) from .group_0731 import ( WebhookProjectsV2ItemReorderedPropChangesType as WebhookProjectsV2ItemReorderedPropChangesType, ) + from .group_0731 import ( + WebhookProjectsV2ItemReorderedPropChangesTypeForResponse as WebhookProjectsV2ItemReorderedPropChangesTypeForResponse, + ) from .group_0731 import ( WebhookProjectsV2ItemReorderedType as WebhookProjectsV2ItemReorderedType, ) + from .group_0731 import ( + WebhookProjectsV2ItemReorderedTypeForResponse as WebhookProjectsV2ItemReorderedTypeForResponse, + ) from .group_0732 import ( WebhookProjectsV2ItemRestoredType as WebhookProjectsV2ItemRestoredType, ) + from .group_0732 import ( + WebhookProjectsV2ItemRestoredTypeForResponse as WebhookProjectsV2ItemRestoredTypeForResponse, + ) from .group_0733 import ( WebhookProjectsV2ProjectReopenedType as WebhookProjectsV2ProjectReopenedType, ) + from .group_0733 import ( + WebhookProjectsV2ProjectReopenedTypeForResponse as WebhookProjectsV2ProjectReopenedTypeForResponse, + ) from .group_0734 import ( WebhookProjectsV2StatusUpdateCreatedType as WebhookProjectsV2StatusUpdateCreatedType, ) + from .group_0734 import ( + WebhookProjectsV2StatusUpdateCreatedTypeForResponse as WebhookProjectsV2StatusUpdateCreatedTypeForResponse, + ) from .group_0735 import ( WebhookProjectsV2StatusUpdateDeletedType as WebhookProjectsV2StatusUpdateDeletedType, ) + from .group_0735 import ( + WebhookProjectsV2StatusUpdateDeletedTypeForResponse as WebhookProjectsV2StatusUpdateDeletedTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType as WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType as WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType as WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType as WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedPropChangesType as WebhookProjectsV2StatusUpdateEditedPropChangesType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse as WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse, + ) from .group_0736 import ( WebhookProjectsV2StatusUpdateEditedType as WebhookProjectsV2StatusUpdateEditedType, ) + from .group_0736 import ( + WebhookProjectsV2StatusUpdateEditedTypeForResponse as WebhookProjectsV2StatusUpdateEditedTypeForResponse, + ) from .group_0737 import WebhookPublicType as WebhookPublicType + from .group_0737 import WebhookPublicTypeForResponse as WebhookPublicTypeForResponse from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType as WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropAssigneeType as WebhookPullRequestAssignedPropPullRequestPropAssigneeType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropAutoMergeType as WebhookPullRequestAssignedPropPullRequestPropAutoMergeType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBasePropUserType as WebhookPullRequestAssignedPropPullRequestPropBasePropUserType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropBaseType as WebhookPullRequestAssignedPropPullRequestPropBaseType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType as WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropHeadType as WebhookPullRequestAssignedPropPullRequestPropHeadType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType as WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType as WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType as WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropLinksType as WebhookPullRequestAssignedPropPullRequestPropLinksType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropMergedByType as WebhookPullRequestAssignedPropPullRequestPropMergedByType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropMilestoneType as WebhookPullRequestAssignedPropPullRequestPropMilestoneType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestPropUserType as WebhookPullRequestAssignedPropPullRequestPropUserType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse as WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedPropPullRequestType as WebhookPullRequestAssignedPropPullRequestType, ) + from .group_0738 import ( + WebhookPullRequestAssignedPropPullRequestTypeForResponse as WebhookPullRequestAssignedPropPullRequestTypeForResponse, + ) from .group_0738 import ( WebhookPullRequestAssignedType as WebhookPullRequestAssignedType, ) + from .group_0738 import ( + WebhookPullRequestAssignedTypeForResponse as WebhookPullRequestAssignedTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType as WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledPropPullRequestType as WebhookPullRequestAutoMergeDisabledPropPullRequestType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse as WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse, + ) from .group_0739 import ( WebhookPullRequestAutoMergeDisabledType as WebhookPullRequestAutoMergeDisabledType, ) + from .group_0739 import ( + WebhookPullRequestAutoMergeDisabledTypeForResponse as WebhookPullRequestAutoMergeDisabledTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType as WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledPropPullRequestType as WebhookPullRequestAutoMergeEnabledPropPullRequestType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse as WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse, + ) from .group_0740 import ( WebhookPullRequestAutoMergeEnabledType as WebhookPullRequestAutoMergeEnabledType, ) + from .group_0740 import ( + WebhookPullRequestAutoMergeEnabledTypeForResponse as WebhookPullRequestAutoMergeEnabledTypeForResponse, + ) from .group_0741 import WebhookPullRequestClosedType as WebhookPullRequestClosedType + from .group_0741 import ( + WebhookPullRequestClosedTypeForResponse as WebhookPullRequestClosedTypeForResponse, + ) from .group_0742 import ( WebhookPullRequestConvertedToDraftType as WebhookPullRequestConvertedToDraftType, ) + from .group_0742 import ( + WebhookPullRequestConvertedToDraftTypeForResponse as WebhookPullRequestConvertedToDraftTypeForResponse, + ) from .group_0743 import ( WebhookPullRequestDemilestonedType as WebhookPullRequestDemilestonedType, ) + from .group_0743 import ( + WebhookPullRequestDemilestonedTypeForResponse as WebhookPullRequestDemilestonedTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType as WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropAssigneeType as WebhookPullRequestDequeuedPropPullRequestPropAssigneeType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType as WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType as WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropBaseType as WebhookPullRequestDequeuedPropPullRequestPropBaseType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType as WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropHeadType as WebhookPullRequestDequeuedPropPullRequestPropHeadType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType as WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropLinksType as WebhookPullRequestDequeuedPropPullRequestPropLinksType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropMergedByType as WebhookPullRequestDequeuedPropPullRequestPropMergedByType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropMilestoneType as WebhookPullRequestDequeuedPropPullRequestPropMilestoneType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) from .group_0744 import ( - WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, + ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestPropUserType as WebhookPullRequestDequeuedPropPullRequestPropUserType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse as WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedPropPullRequestType as WebhookPullRequestDequeuedPropPullRequestType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedPropPullRequestTypeForResponse as WebhookPullRequestDequeuedPropPullRequestTypeForResponse, + ) from .group_0744 import ( WebhookPullRequestDequeuedType as WebhookPullRequestDequeuedType, ) + from .group_0744 import ( + WebhookPullRequestDequeuedTypeForResponse as WebhookPullRequestDequeuedTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesPropBasePropRefType as WebhookPullRequestEditedPropChangesPropBasePropRefType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse as WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesPropBasePropShaType as WebhookPullRequestEditedPropChangesPropBasePropShaType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse as WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesPropBaseType as WebhookPullRequestEditedPropChangesPropBaseType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesPropBaseTypeForResponse as WebhookPullRequestEditedPropChangesPropBaseTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesPropBodyType as WebhookPullRequestEditedPropChangesPropBodyType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesPropBodyTypeForResponse as WebhookPullRequestEditedPropChangesPropBodyTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesPropTitleType as WebhookPullRequestEditedPropChangesPropTitleType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesPropTitleTypeForResponse as WebhookPullRequestEditedPropChangesPropTitleTypeForResponse, + ) from .group_0745 import ( WebhookPullRequestEditedPropChangesType as WebhookPullRequestEditedPropChangesType, ) + from .group_0745 import ( + WebhookPullRequestEditedPropChangesTypeForResponse as WebhookPullRequestEditedPropChangesTypeForResponse, + ) from .group_0745 import WebhookPullRequestEditedType as WebhookPullRequestEditedType + from .group_0745 import ( + WebhookPullRequestEditedTypeForResponse as WebhookPullRequestEditedTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType as WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType as WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType as WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropBaseType as WebhookPullRequestEnqueuedPropPullRequestPropBaseType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropHeadType as WebhookPullRequestEnqueuedPropPullRequestPropHeadType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType as WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropLinksType as WebhookPullRequestEnqueuedPropPullRequestPropLinksType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropMergedByType as WebhookPullRequestEnqueuedPropPullRequestPropMergedByType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType as WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestPropUserType as WebhookPullRequestEnqueuedPropPullRequestPropUserType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedPropPullRequestType as WebhookPullRequestEnqueuedPropPullRequestType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedPropPullRequestTypeForResponse as WebhookPullRequestEnqueuedPropPullRequestTypeForResponse, + ) from .group_0746 import ( WebhookPullRequestEnqueuedType as WebhookPullRequestEnqueuedType, ) + from .group_0746 import ( + WebhookPullRequestEnqueuedTypeForResponse as WebhookPullRequestEnqueuedTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType as WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropAssigneeType as WebhookPullRequestLabeledPropPullRequestPropAssigneeType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropAutoMergeType as WebhookPullRequestLabeledPropPullRequestPropAutoMergeType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBasePropUserType as WebhookPullRequestLabeledPropPullRequestPropBasePropUserType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropBaseType as WebhookPullRequestLabeledPropPullRequestPropBaseType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType as WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropHeadType as WebhookPullRequestLabeledPropPullRequestPropHeadType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType as WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType as WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType as WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropLinksType as WebhookPullRequestLabeledPropPullRequestPropLinksType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropMergedByType as WebhookPullRequestLabeledPropPullRequestPropMergedByType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropMilestoneType as WebhookPullRequestLabeledPropPullRequestPropMilestoneType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestPropUserType as WebhookPullRequestLabeledPropPullRequestPropUserType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse as WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledPropPullRequestType as WebhookPullRequestLabeledPropPullRequestType, ) + from .group_0747 import ( + WebhookPullRequestLabeledPropPullRequestTypeForResponse as WebhookPullRequestLabeledPropPullRequestTypeForResponse, + ) from .group_0747 import ( WebhookPullRequestLabeledType as WebhookPullRequestLabeledType, ) + from .group_0747 import ( + WebhookPullRequestLabeledTypeForResponse as WebhookPullRequestLabeledTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType as WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropAssigneeType as WebhookPullRequestLockedPropPullRequestPropAssigneeType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropAutoMergeType as WebhookPullRequestLockedPropPullRequestPropAutoMergeType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBasePropRepoType as WebhookPullRequestLockedPropPullRequestPropBasePropRepoType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBasePropUserType as WebhookPullRequestLockedPropPullRequestPropBasePropUserType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropBaseType as WebhookPullRequestLockedPropPullRequestPropBaseType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadPropUserType as WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropHeadType as WebhookPullRequestLockedPropPullRequestPropHeadType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLabelsItemsType as WebhookPullRequestLockedPropPullRequestPropLabelsItemsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType as WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType as WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropLinksType as WebhookPullRequestLockedPropPullRequestPropLinksType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropMergedByType as WebhookPullRequestLockedPropPullRequestPropMergedByType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropMilestoneType as WebhookPullRequestLockedPropPullRequestPropMilestoneType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestPropUserType as WebhookPullRequestLockedPropPullRequestPropUserType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse as WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse, + ) from .group_0748 import ( WebhookPullRequestLockedPropPullRequestType as WebhookPullRequestLockedPropPullRequestType, ) + from .group_0748 import ( + WebhookPullRequestLockedPropPullRequestTypeForResponse as WebhookPullRequestLockedPropPullRequestTypeForResponse, + ) from .group_0748 import WebhookPullRequestLockedType as WebhookPullRequestLockedType + from .group_0748 import ( + WebhookPullRequestLockedTypeForResponse as WebhookPullRequestLockedTypeForResponse, + ) from .group_0749 import ( WebhookPullRequestMilestonedType as WebhookPullRequestMilestonedType, ) + from .group_0749 import ( + WebhookPullRequestMilestonedTypeForResponse as WebhookPullRequestMilestonedTypeForResponse, + ) from .group_0750 import WebhookPullRequestOpenedType as WebhookPullRequestOpenedType + from .group_0750 import ( + WebhookPullRequestOpenedTypeForResponse as WebhookPullRequestOpenedTypeForResponse, + ) from .group_0751 import ( WebhookPullRequestReadyForReviewType as WebhookPullRequestReadyForReviewType, ) + from .group_0751 import ( + WebhookPullRequestReadyForReviewTypeForResponse as WebhookPullRequestReadyForReviewTypeForResponse, + ) from .group_0752 import ( WebhookPullRequestReopenedType as WebhookPullRequestReopenedType, ) + from .group_0752 import ( + WebhookPullRequestReopenedTypeForResponse as WebhookPullRequestReopenedTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType as WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentPropUserType as WebhookPullRequestReviewCommentCreatedPropCommentPropUserType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropCommentType as WebhookPullRequestReviewCommentCreatedPropCommentType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType as WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedPropPullRequestType as WebhookPullRequestReviewCommentCreatedPropPullRequestType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse, + ) from .group_0753 import ( WebhookPullRequestReviewCommentCreatedType as WebhookPullRequestReviewCommentCreatedType, ) + from .group_0753 import ( + WebhookPullRequestReviewCommentCreatedTypeForResponse as WebhookPullRequestReviewCommentCreatedTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType as WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedPropPullRequestType as WebhookPullRequestReviewCommentDeletedPropPullRequestType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse, + ) from .group_0754 import ( WebhookPullRequestReviewCommentDeletedType as WebhookPullRequestReviewCommentDeletedType, ) + from .group_0754 import ( + WebhookPullRequestReviewCommentDeletedTypeForResponse as WebhookPullRequestReviewCommentDeletedTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType as WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedPropPullRequestType as WebhookPullRequestReviewCommentEditedPropPullRequestType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse as WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse, + ) from .group_0755 import ( WebhookPullRequestReviewCommentEditedType as WebhookPullRequestReviewCommentEditedType, ) + from .group_0755 import ( + WebhookPullRequestReviewCommentEditedTypeForResponse as WebhookPullRequestReviewCommentEditedTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropBaseType as WebhookPullRequestReviewDismissedPropPullRequestPropBaseType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropHeadType as WebhookPullRequestReviewDismissedPropPullRequestPropHeadType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropLinksType as WebhookPullRequestReviewDismissedPropPullRequestPropLinksType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType as WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestPropUserType as WebhookPullRequestReviewDismissedPropPullRequestPropUserType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropPullRequestType as WebhookPullRequestReviewDismissedPropPullRequestType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse as WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType as WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType as WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropReviewPropLinksType as WebhookPullRequestReviewDismissedPropReviewPropLinksType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropReviewPropUserType as WebhookPullRequestReviewDismissedPropReviewPropUserType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse as WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedPropReviewType as WebhookPullRequestReviewDismissedPropReviewType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedPropReviewTypeForResponse as WebhookPullRequestReviewDismissedPropReviewTypeForResponse, + ) from .group_0756 import ( WebhookPullRequestReviewDismissedType as WebhookPullRequestReviewDismissedType, ) + from .group_0756 import ( + WebhookPullRequestReviewDismissedTypeForResponse as WebhookPullRequestReviewDismissedTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropChangesPropBodyType as WebhookPullRequestReviewEditedPropChangesPropBodyType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse as WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropChangesType as WebhookPullRequestReviewEditedPropChangesType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropChangesTypeForResponse as WebhookPullRequestReviewEditedPropChangesTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType as WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropBaseType as WebhookPullRequestReviewEditedPropPullRequestPropBaseType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropHeadType as WebhookPullRequestReviewEditedPropPullRequestPropHeadType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropLinksType as WebhookPullRequestReviewEditedPropPullRequestPropLinksType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType as WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestPropUserType as WebhookPullRequestReviewEditedPropPullRequestPropUserType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedPropPullRequestType as WebhookPullRequestReviewEditedPropPullRequestType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedPropPullRequestTypeForResponse as WebhookPullRequestReviewEditedPropPullRequestTypeForResponse, + ) from .group_0757 import ( WebhookPullRequestReviewEditedType as WebhookPullRequestReviewEditedType, ) + from .group_0757 import ( + WebhookPullRequestReviewEditedTypeForResponse as WebhookPullRequestReviewEditedTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType as WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse, + ) from .group_0758 import ( WebhookPullRequestReviewRequestRemovedOneof0Type as WebhookPullRequestReviewRequestRemovedOneof0Type, ) + from .group_0758 import ( + WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse, + ) from .group_0759 import ( WebhookPullRequestReviewRequestRemovedOneof1Type as WebhookPullRequestReviewRequestRemovedOneof1Type, ) + from .group_0759 import ( + WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse as WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropPullRequestType as WebhookPullRequestReviewRequestedOneof0PropPullRequestType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType as WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse as WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse, + ) from .group_0760 import ( WebhookPullRequestReviewRequestedOneof0Type as WebhookPullRequestReviewRequestedOneof0Type, ) + from .group_0760 import ( + WebhookPullRequestReviewRequestedOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof0TypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropPullRequestType as WebhookPullRequestReviewRequestedOneof1PropPullRequestType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse as WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse, + ) from .group_0761 import ( WebhookPullRequestReviewRequestedOneof1Type as WebhookPullRequestReviewRequestedOneof1Type, ) + from .group_0761 import ( + WebhookPullRequestReviewRequestedOneof1TypeForResponse as WebhookPullRequestReviewRequestedOneof1TypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType as WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestPropUserType as WebhookPullRequestReviewSubmittedPropPullRequestPropUserType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedPropPullRequestType as WebhookPullRequestReviewSubmittedPropPullRequestType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse as WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse, + ) from .group_0762 import ( WebhookPullRequestReviewSubmittedType as WebhookPullRequestReviewSubmittedType, ) + from .group_0762 import ( + WebhookPullRequestReviewSubmittedTypeForResponse as WebhookPullRequestReviewSubmittedTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType as WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropPullRequestType as WebhookPullRequestReviewThreadResolvedPropPullRequestType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedPropThreadType as WebhookPullRequestReviewThreadResolvedPropThreadType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse as WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse, + ) from .group_0763 import ( WebhookPullRequestReviewThreadResolvedType as WebhookPullRequestReviewThreadResolvedType, ) + from .group_0763 import ( + WebhookPullRequestReviewThreadResolvedTypeForResponse as WebhookPullRequestReviewThreadResolvedTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropPullRequestType as WebhookPullRequestReviewThreadUnresolvedPropPullRequestType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedPropThreadType as WebhookPullRequestReviewThreadUnresolvedPropThreadType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse as WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse, + ) from .group_0764 import ( WebhookPullRequestReviewThreadUnresolvedType as WebhookPullRequestReviewThreadUnresolvedType, ) + from .group_0764 import ( + WebhookPullRequestReviewThreadUnresolvedTypeForResponse as WebhookPullRequestReviewThreadUnresolvedTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType as WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropAssigneeType as WebhookPullRequestSynchronizePropPullRequestPropAssigneeType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType as WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType as WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropBaseType as WebhookPullRequestSynchronizePropPullRequestPropBaseType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType as WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropHeadType as WebhookPullRequestSynchronizePropPullRequestPropHeadType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType as WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType as WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropLinksType as WebhookPullRequestSynchronizePropPullRequestPropLinksType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropMergedByType as WebhookPullRequestSynchronizePropPullRequestPropMergedByType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType as WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropMilestoneType as WebhookPullRequestSynchronizePropPullRequestPropMilestoneType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestPropUserType as WebhookPullRequestSynchronizePropPullRequestPropUserType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse as WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizePropPullRequestType as WebhookPullRequestSynchronizePropPullRequestType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizePropPullRequestTypeForResponse as WebhookPullRequestSynchronizePropPullRequestTypeForResponse, + ) from .group_0765 import ( WebhookPullRequestSynchronizeType as WebhookPullRequestSynchronizeType, ) + from .group_0765 import ( + WebhookPullRequestSynchronizeTypeForResponse as WebhookPullRequestSynchronizeTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropAssigneeType as WebhookPullRequestUnassignedPropPullRequestPropAssigneeType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType as WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType as WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropBaseType as WebhookPullRequestUnassignedPropPullRequestPropBaseType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType as WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropHeadType as WebhookPullRequestUnassignedPropPullRequestPropHeadType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType as WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropLinksType as WebhookPullRequestUnassignedPropPullRequestPropLinksType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropMergedByType as WebhookPullRequestUnassignedPropPullRequestPropMergedByType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropMilestoneType as WebhookPullRequestUnassignedPropPullRequestPropMilestoneType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestPropUserType as WebhookPullRequestUnassignedPropPullRequestPropUserType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedPropPullRequestType as WebhookPullRequestUnassignedPropPullRequestType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedPropPullRequestTypeForResponse as WebhookPullRequestUnassignedPropPullRequestTypeForResponse, + ) from .group_0766 import ( WebhookPullRequestUnassignedType as WebhookPullRequestUnassignedType, ) + from .group_0766 import ( + WebhookPullRequestUnassignedTypeForResponse as WebhookPullRequestUnassignedTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType as WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType as WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropBaseType as WebhookPullRequestUnlabeledPropPullRequestPropBaseType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropHeadType as WebhookPullRequestUnlabeledPropPullRequestPropHeadType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType as WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropLinksType as WebhookPullRequestUnlabeledPropPullRequestPropLinksType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropMergedByType as WebhookPullRequestUnlabeledPropPullRequestPropMergedByType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType as WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestPropUserType as WebhookPullRequestUnlabeledPropPullRequestPropUserType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledPropPullRequestType as WebhookPullRequestUnlabeledPropPullRequestType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledPropPullRequestTypeForResponse as WebhookPullRequestUnlabeledPropPullRequestTypeForResponse, + ) from .group_0767 import ( WebhookPullRequestUnlabeledType as WebhookPullRequestUnlabeledType, ) + from .group_0767 import ( + WebhookPullRequestUnlabeledTypeForResponse as WebhookPullRequestUnlabeledTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType as WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropAssigneeType as WebhookPullRequestUnlockedPropPullRequestPropAssigneeType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType as WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType as WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType as WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropBaseType as WebhookPullRequestUnlockedPropPullRequestPropBaseType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType as WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropHeadType as WebhookPullRequestUnlockedPropPullRequestPropHeadType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType as WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType as WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropLinksType as WebhookPullRequestUnlockedPropPullRequestPropLinksType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropMergedByType as WebhookPullRequestUnlockedPropPullRequestPropMergedByType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType as WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropMilestoneType as WebhookPullRequestUnlockedPropPullRequestPropMilestoneType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestPropUserType as WebhookPullRequestUnlockedPropPullRequestPropUserType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse as WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedPropPullRequestType as WebhookPullRequestUnlockedPropPullRequestType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedPropPullRequestTypeForResponse as WebhookPullRequestUnlockedPropPullRequestTypeForResponse, + ) from .group_0768 import ( WebhookPullRequestUnlockedType as WebhookPullRequestUnlockedType, ) + from .group_0768 import ( + WebhookPullRequestUnlockedTypeForResponse as WebhookPullRequestUnlockedTypeForResponse, + ) from .group_0769 import ( WebhookPushPropCommitsItemsPropAuthorType as WebhookPushPropCommitsItemsPropAuthorType, ) + from .group_0769 import ( + WebhookPushPropCommitsItemsPropAuthorTypeForResponse as WebhookPushPropCommitsItemsPropAuthorTypeForResponse, + ) from .group_0769 import ( WebhookPushPropCommitsItemsPropCommitterType as WebhookPushPropCommitsItemsPropCommitterType, ) + from .group_0769 import ( + WebhookPushPropCommitsItemsPropCommitterTypeForResponse as WebhookPushPropCommitsItemsPropCommitterTypeForResponse, + ) from .group_0769 import ( WebhookPushPropCommitsItemsType as WebhookPushPropCommitsItemsType, ) + from .group_0769 import ( + WebhookPushPropCommitsItemsTypeForResponse as WebhookPushPropCommitsItemsTypeForResponse, + ) from .group_0769 import ( WebhookPushPropHeadCommitPropAuthorType as WebhookPushPropHeadCommitPropAuthorType, ) + from .group_0769 import ( + WebhookPushPropHeadCommitPropAuthorTypeForResponse as WebhookPushPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0769 import ( WebhookPushPropHeadCommitPropCommitterType as WebhookPushPropHeadCommitPropCommitterType, ) + from .group_0769 import ( + WebhookPushPropHeadCommitPropCommitterTypeForResponse as WebhookPushPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0769 import ( WebhookPushPropHeadCommitType as WebhookPushPropHeadCommitType, ) + from .group_0769 import ( + WebhookPushPropHeadCommitTypeForResponse as WebhookPushPropHeadCommitTypeForResponse, + ) from .group_0769 import WebhookPushPropPusherType as WebhookPushPropPusherType + from .group_0769 import ( + WebhookPushPropPusherTypeForResponse as WebhookPushPropPusherTypeForResponse, + ) from .group_0769 import ( WebhookPushPropRepositoryPropCustomPropertiesType as WebhookPushPropRepositoryPropCustomPropertiesType, ) + from .group_0769 import ( + WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse as WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0769 import ( WebhookPushPropRepositoryPropLicenseType as WebhookPushPropRepositoryPropLicenseType, ) + from .group_0769 import ( + WebhookPushPropRepositoryPropLicenseTypeForResponse as WebhookPushPropRepositoryPropLicenseTypeForResponse, + ) from .group_0769 import ( WebhookPushPropRepositoryPropOwnerType as WebhookPushPropRepositoryPropOwnerType, ) + from .group_0769 import ( + WebhookPushPropRepositoryPropOwnerTypeForResponse as WebhookPushPropRepositoryPropOwnerTypeForResponse, + ) from .group_0769 import ( WebhookPushPropRepositoryPropPermissionsType as WebhookPushPropRepositoryPropPermissionsType, ) + from .group_0769 import ( + WebhookPushPropRepositoryPropPermissionsTypeForResponse as WebhookPushPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0769 import ( WebhookPushPropRepositoryType as WebhookPushPropRepositoryType, ) + from .group_0769 import ( + WebhookPushPropRepositoryTypeForResponse as WebhookPushPropRepositoryTypeForResponse, + ) from .group_0769 import WebhookPushType as WebhookPushType + from .group_0769 import WebhookPushTypeForResponse as WebhookPushTypeForResponse from .group_0770 import ( WebhookRegistryPackagePublishedType as WebhookRegistryPackagePublishedType, ) + from .group_0770 import ( + WebhookRegistryPackagePublishedTypeForResponse as WebhookRegistryPackagePublishedTypeForResponse, + ) from .group_0771 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType as WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType, ) + from .group_0771 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse, + ) from .group_0771 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType as WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType, ) + from .group_0771 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse, + ) from .group_0771 import ( WebhookRegistryPackagePublishedPropRegistryPackageType as WebhookRegistryPackagePublishedPropRegistryPackageType, ) + from .group_0771 import ( + WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType, ) + from .group_0772 import ( + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse as WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, + ) from .group_0773 import ( WebhookRegistryPackageUpdatedType as WebhookRegistryPackageUpdatedType, ) + from .group_0773 import ( + WebhookRegistryPackageUpdatedTypeForResponse as WebhookRegistryPackageUpdatedTypeForResponse, + ) from .group_0774 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType as WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType, ) + from .group_0774 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse, + ) from .group_0774 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType as WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType, ) + from .group_0774 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse, + ) from .group_0774 import ( WebhookRegistryPackageUpdatedPropRegistryPackageType as WebhookRegistryPackageUpdatedPropRegistryPackageType, ) + from .group_0774 import ( + WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse, + ) from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType, ) + from .group_0775 import ( + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse as WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse, + ) from .group_0776 import WebhookReleaseCreatedType as WebhookReleaseCreatedType + from .group_0776 import ( + WebhookReleaseCreatedTypeForResponse as WebhookReleaseCreatedTypeForResponse, + ) from .group_0777 import WebhookReleaseDeletedType as WebhookReleaseDeletedType + from .group_0777 import ( + WebhookReleaseDeletedTypeForResponse as WebhookReleaseDeletedTypeForResponse, + ) from .group_0778 import ( WebhookReleaseEditedPropChangesPropBodyType as WebhookReleaseEditedPropChangesPropBodyType, ) + from .group_0778 import ( + WebhookReleaseEditedPropChangesPropBodyTypeForResponse as WebhookReleaseEditedPropChangesPropBodyTypeForResponse, + ) from .group_0778 import ( WebhookReleaseEditedPropChangesPropMakeLatestType as WebhookReleaseEditedPropChangesPropMakeLatestType, ) + from .group_0778 import ( + WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse as WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse, + ) from .group_0778 import ( WebhookReleaseEditedPropChangesPropNameType as WebhookReleaseEditedPropChangesPropNameType, ) + from .group_0778 import ( + WebhookReleaseEditedPropChangesPropNameTypeForResponse as WebhookReleaseEditedPropChangesPropNameTypeForResponse, + ) from .group_0778 import ( WebhookReleaseEditedPropChangesPropTagNameType as WebhookReleaseEditedPropChangesPropTagNameType, ) + from .group_0778 import ( + WebhookReleaseEditedPropChangesPropTagNameTypeForResponse as WebhookReleaseEditedPropChangesPropTagNameTypeForResponse, + ) from .group_0778 import ( WebhookReleaseEditedPropChangesType as WebhookReleaseEditedPropChangesType, ) + from .group_0778 import ( + WebhookReleaseEditedPropChangesTypeForResponse as WebhookReleaseEditedPropChangesTypeForResponse, + ) from .group_0778 import WebhookReleaseEditedType as WebhookReleaseEditedType + from .group_0778 import ( + WebhookReleaseEditedTypeForResponse as WebhookReleaseEditedTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType as WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType, ) + from .group_0779 import ( + WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse as WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedPropReleasePropAssetsItemsType as WebhookReleasePrereleasedPropReleasePropAssetsItemsType, ) + from .group_0779 import ( + WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse as WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedPropReleasePropAuthorType as WebhookReleasePrereleasedPropReleasePropAuthorType, ) + from .group_0779 import ( + WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse as WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedPropReleasePropReactionsType as WebhookReleasePrereleasedPropReleasePropReactionsType, ) + from .group_0779 import ( + WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse as WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedPropReleaseType as WebhookReleasePrereleasedPropReleaseType, ) + from .group_0779 import ( + WebhookReleasePrereleasedPropReleaseTypeForResponse as WebhookReleasePrereleasedPropReleaseTypeForResponse, + ) from .group_0779 import ( WebhookReleasePrereleasedType as WebhookReleasePrereleasedType, ) + from .group_0779 import ( + WebhookReleasePrereleasedTypeForResponse as WebhookReleasePrereleasedTypeForResponse, + ) from .group_0780 import WebhookReleasePublishedType as WebhookReleasePublishedType + from .group_0780 import ( + WebhookReleasePublishedTypeForResponse as WebhookReleasePublishedTypeForResponse, + ) from .group_0781 import WebhookReleaseReleasedType as WebhookReleaseReleasedType + from .group_0781 import ( + WebhookReleaseReleasedTypeForResponse as WebhookReleaseReleasedTypeForResponse, + ) from .group_0782 import ( WebhookReleaseUnpublishedType as WebhookReleaseUnpublishedType, ) + from .group_0782 import ( + WebhookReleaseUnpublishedTypeForResponse as WebhookReleaseUnpublishedTypeForResponse, + ) from .group_0783 import ( WebhookRepositoryAdvisoryPublishedType as WebhookRepositoryAdvisoryPublishedType, ) + from .group_0783 import ( + WebhookRepositoryAdvisoryPublishedTypeForResponse as WebhookRepositoryAdvisoryPublishedTypeForResponse, + ) from .group_0784 import ( WebhookRepositoryAdvisoryReportedType as WebhookRepositoryAdvisoryReportedType, ) + from .group_0784 import ( + WebhookRepositoryAdvisoryReportedTypeForResponse as WebhookRepositoryAdvisoryReportedTypeForResponse, + ) from .group_0785 import ( WebhookRepositoryArchivedType as WebhookRepositoryArchivedType, ) + from .group_0785 import ( + WebhookRepositoryArchivedTypeForResponse as WebhookRepositoryArchivedTypeForResponse, + ) from .group_0786 import WebhookRepositoryCreatedType as WebhookRepositoryCreatedType + from .group_0786 import ( + WebhookRepositoryCreatedTypeForResponse as WebhookRepositoryCreatedTypeForResponse, + ) from .group_0787 import WebhookRepositoryDeletedType as WebhookRepositoryDeletedType + from .group_0787 import ( + WebhookRepositoryDeletedTypeForResponse as WebhookRepositoryDeletedTypeForResponse, + ) from .group_0788 import ( WebhookRepositoryDispatchSamplePropClientPayloadType as WebhookRepositoryDispatchSamplePropClientPayloadType, ) + from .group_0788 import ( + WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse as WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse, + ) from .group_0788 import ( WebhookRepositoryDispatchSampleType as WebhookRepositoryDispatchSampleType, ) + from .group_0788 import ( + WebhookRepositoryDispatchSampleTypeForResponse as WebhookRepositoryDispatchSampleTypeForResponse, + ) from .group_0789 import ( WebhookRepositoryEditedPropChangesPropDefaultBranchType as WebhookRepositoryEditedPropChangesPropDefaultBranchType, ) + from .group_0789 import ( + WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse as WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse, + ) from .group_0789 import ( WebhookRepositoryEditedPropChangesPropDescriptionType as WebhookRepositoryEditedPropChangesPropDescriptionType, ) + from .group_0789 import ( + WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse as WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0789 import ( WebhookRepositoryEditedPropChangesPropHomepageType as WebhookRepositoryEditedPropChangesPropHomepageType, ) + from .group_0789 import ( + WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse as WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse, + ) from .group_0789 import ( WebhookRepositoryEditedPropChangesPropTopicsType as WebhookRepositoryEditedPropChangesPropTopicsType, ) + from .group_0789 import ( + WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse as WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse, + ) from .group_0789 import ( WebhookRepositoryEditedPropChangesType as WebhookRepositoryEditedPropChangesType, ) + from .group_0789 import ( + WebhookRepositoryEditedPropChangesTypeForResponse as WebhookRepositoryEditedPropChangesTypeForResponse, + ) from .group_0789 import WebhookRepositoryEditedType as WebhookRepositoryEditedType + from .group_0789 import ( + WebhookRepositoryEditedTypeForResponse as WebhookRepositoryEditedTypeForResponse, + ) from .group_0790 import WebhookRepositoryImportType as WebhookRepositoryImportType + from .group_0790 import ( + WebhookRepositoryImportTypeForResponse as WebhookRepositoryImportTypeForResponse, + ) from .group_0791 import ( WebhookRepositoryPrivatizedType as WebhookRepositoryPrivatizedType, ) + from .group_0791 import ( + WebhookRepositoryPrivatizedTypeForResponse as WebhookRepositoryPrivatizedTypeForResponse, + ) from .group_0792 import ( WebhookRepositoryPublicizedType as WebhookRepositoryPublicizedType, ) + from .group_0792 import ( + WebhookRepositoryPublicizedTypeForResponse as WebhookRepositoryPublicizedTypeForResponse, + ) from .group_0793 import ( WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType as WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType, ) + from .group_0793 import ( + WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse as WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse, + ) from .group_0793 import ( WebhookRepositoryRenamedPropChangesPropRepositoryType as WebhookRepositoryRenamedPropChangesPropRepositoryType, ) + from .group_0793 import ( + WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse as WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse, + ) from .group_0793 import ( WebhookRepositoryRenamedPropChangesType as WebhookRepositoryRenamedPropChangesType, ) + from .group_0793 import ( + WebhookRepositoryRenamedPropChangesTypeForResponse as WebhookRepositoryRenamedPropChangesTypeForResponse, + ) from .group_0793 import WebhookRepositoryRenamedType as WebhookRepositoryRenamedType + from .group_0793 import ( + WebhookRepositoryRenamedTypeForResponse as WebhookRepositoryRenamedTypeForResponse, + ) from .group_0794 import ( WebhookRepositoryRulesetCreatedType as WebhookRepositoryRulesetCreatedType, ) + from .group_0794 import ( + WebhookRepositoryRulesetCreatedTypeForResponse as WebhookRepositoryRulesetCreatedTypeForResponse, + ) from .group_0795 import ( WebhookRepositoryRulesetDeletedType as WebhookRepositoryRulesetDeletedType, ) + from .group_0795 import ( + WebhookRepositoryRulesetDeletedTypeForResponse as WebhookRepositoryRulesetDeletedTypeForResponse, + ) from .group_0796 import ( WebhookRepositoryRulesetEditedType as WebhookRepositoryRulesetEditedType, ) + from .group_0796 import ( + WebhookRepositoryRulesetEditedTypeForResponse as WebhookRepositoryRulesetEditedTypeForResponse, + ) from .group_0797 import ( WebhookRepositoryRulesetEditedPropChangesPropEnforcementType as WebhookRepositoryRulesetEditedPropChangesPropEnforcementType, ) + from .group_0797 import ( + WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse, + ) from .group_0797 import ( WebhookRepositoryRulesetEditedPropChangesPropNameType as WebhookRepositoryRulesetEditedPropChangesPropNameType, ) + from .group_0797 import ( + WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse, + ) from .group_0797 import ( WebhookRepositoryRulesetEditedPropChangesType as WebhookRepositoryRulesetEditedPropChangesType, ) + from .group_0797 import ( + WebhookRepositoryRulesetEditedPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesTypeForResponse, + ) from .group_0798 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsType as WebhookRepositoryRulesetEditedPropChangesPropConditionsType, ) + from .group_0798 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse, + ) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType, ) + from .group_0799 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse, + ) from .group_0800 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesType as WebhookRepositoryRulesetEditedPropChangesPropRulesType, ) + from .group_0800 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse, + ) from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType, ) + from .group_0801 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse, + ) from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType, ) + from .group_0801 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse, + ) from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType, ) + from .group_0801 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse, + ) from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType, ) + from .group_0801 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse, + ) from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType, ) + from .group_0801 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse as WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType, ) + from .group_0802 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType, ) + from .group_0802 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredPropChangesPropOwnerPropFromType as WebhookRepositoryTransferredPropChangesPropOwnerPropFromType, ) + from .group_0802 import ( + WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredPropChangesPropOwnerType as WebhookRepositoryTransferredPropChangesPropOwnerType, ) + from .group_0802 import ( + WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse as WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredPropChangesType as WebhookRepositoryTransferredPropChangesType, ) + from .group_0802 import ( + WebhookRepositoryTransferredPropChangesTypeForResponse as WebhookRepositoryTransferredPropChangesTypeForResponse, + ) from .group_0802 import ( WebhookRepositoryTransferredType as WebhookRepositoryTransferredType, ) + from .group_0802 import ( + WebhookRepositoryTransferredTypeForResponse as WebhookRepositoryTransferredTypeForResponse, + ) from .group_0803 import ( WebhookRepositoryUnarchivedType as WebhookRepositoryUnarchivedType, ) + from .group_0803 import ( + WebhookRepositoryUnarchivedTypeForResponse as WebhookRepositoryUnarchivedTypeForResponse, + ) from .group_0804 import ( WebhookRepositoryVulnerabilityAlertCreateType as WebhookRepositoryVulnerabilityAlertCreateType, ) + from .group_0804 import ( + WebhookRepositoryVulnerabilityAlertCreateTypeForResponse as WebhookRepositoryVulnerabilityAlertCreateTypeForResponse, + ) from .group_0805 import ( WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType as WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType, ) + from .group_0805 import ( + WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse, + ) from .group_0805 import ( WebhookRepositoryVulnerabilityAlertDismissPropAlertType as WebhookRepositoryVulnerabilityAlertDismissPropAlertType, ) + from .group_0805 import ( + WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse, + ) from .group_0805 import ( WebhookRepositoryVulnerabilityAlertDismissType as WebhookRepositoryVulnerabilityAlertDismissType, ) + from .group_0805 import ( + WebhookRepositoryVulnerabilityAlertDismissTypeForResponse as WebhookRepositoryVulnerabilityAlertDismissTypeForResponse, + ) from .group_0806 import ( WebhookRepositoryVulnerabilityAlertReopenType as WebhookRepositoryVulnerabilityAlertReopenType, ) + from .group_0806 import ( + WebhookRepositoryVulnerabilityAlertReopenTypeForResponse as WebhookRepositoryVulnerabilityAlertReopenTypeForResponse, + ) from .group_0807 import ( WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType as WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType, ) + from .group_0807 import ( + WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse as WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse, + ) from .group_0807 import ( WebhookRepositoryVulnerabilityAlertResolvePropAlertType as WebhookRepositoryVulnerabilityAlertResolvePropAlertType, ) + from .group_0807 import ( + WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse as WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse, + ) from .group_0807 import ( WebhookRepositoryVulnerabilityAlertResolveType as WebhookRepositoryVulnerabilityAlertResolveType, ) + from .group_0807 import ( + WebhookRepositoryVulnerabilityAlertResolveTypeForResponse as WebhookRepositoryVulnerabilityAlertResolveTypeForResponse, + ) from .group_0808 import ( WebhookSecretScanningAlertCreatedType as WebhookSecretScanningAlertCreatedType, ) + from .group_0808 import ( + WebhookSecretScanningAlertCreatedTypeForResponse as WebhookSecretScanningAlertCreatedTypeForResponse, + ) from .group_0809 import ( WebhookSecretScanningAlertLocationCreatedType as WebhookSecretScanningAlertLocationCreatedType, ) + from .group_0809 import ( + WebhookSecretScanningAlertLocationCreatedTypeForResponse as WebhookSecretScanningAlertLocationCreatedTypeForResponse, + ) from .group_0810 import ( WebhookSecretScanningAlertLocationCreatedFormEncodedType as WebhookSecretScanningAlertLocationCreatedFormEncodedType, ) + from .group_0810 import ( + WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse as WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse, + ) from .group_0811 import ( WebhookSecretScanningAlertPubliclyLeakedType as WebhookSecretScanningAlertPubliclyLeakedType, ) + from .group_0811 import ( + WebhookSecretScanningAlertPubliclyLeakedTypeForResponse as WebhookSecretScanningAlertPubliclyLeakedTypeForResponse, + ) from .group_0812 import ( WebhookSecretScanningAlertReopenedType as WebhookSecretScanningAlertReopenedType, ) + from .group_0812 import ( + WebhookSecretScanningAlertReopenedTypeForResponse as WebhookSecretScanningAlertReopenedTypeForResponse, + ) from .group_0813 import ( WebhookSecretScanningAlertResolvedType as WebhookSecretScanningAlertResolvedType, ) + from .group_0813 import ( + WebhookSecretScanningAlertResolvedTypeForResponse as WebhookSecretScanningAlertResolvedTypeForResponse, + ) from .group_0814 import ( WebhookSecretScanningAlertValidatedType as WebhookSecretScanningAlertValidatedType, ) + from .group_0814 import ( + WebhookSecretScanningAlertValidatedTypeForResponse as WebhookSecretScanningAlertValidatedTypeForResponse, + ) from .group_0815 import ( WebhookSecretScanningScanCompletedType as WebhookSecretScanningScanCompletedType, ) + from .group_0815 import ( + WebhookSecretScanningScanCompletedTypeForResponse as WebhookSecretScanningScanCompletedTypeForResponse, + ) from .group_0816 import ( WebhookSecurityAdvisoryPublishedType as WebhookSecurityAdvisoryPublishedType, ) + from .group_0816 import ( + WebhookSecurityAdvisoryPublishedTypeForResponse as WebhookSecurityAdvisoryPublishedTypeForResponse, + ) from .group_0817 import ( WebhookSecurityAdvisoryUpdatedType as WebhookSecurityAdvisoryUpdatedType, ) + from .group_0817 import ( + WebhookSecurityAdvisoryUpdatedTypeForResponse as WebhookSecurityAdvisoryUpdatedTypeForResponse, + ) from .group_0818 import ( WebhookSecurityAdvisoryWithdrawnType as WebhookSecurityAdvisoryWithdrawnType, ) + from .group_0818 import ( + WebhookSecurityAdvisoryWithdrawnTypeForResponse as WebhookSecurityAdvisoryWithdrawnTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse, + ) from .group_0819 import ( WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType, ) + from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse as WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse, + ) from .group_0820 import ( WebhookSecurityAndAnalysisType as WebhookSecurityAndAnalysisType, ) + from .group_0820 import ( + WebhookSecurityAndAnalysisTypeForResponse as WebhookSecurityAndAnalysisTypeForResponse, + ) from .group_0821 import ( WebhookSecurityAndAnalysisPropChangesType as WebhookSecurityAndAnalysisPropChangesType, ) + from .group_0821 import ( + WebhookSecurityAndAnalysisPropChangesTypeForResponse as WebhookSecurityAndAnalysisPropChangesTypeForResponse, + ) from .group_0822 import ( WebhookSecurityAndAnalysisPropChangesPropFromType as WebhookSecurityAndAnalysisPropChangesPropFromType, ) + from .group_0822 import ( + WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse as WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse, + ) from .group_0823 import ( WebhookSponsorshipCancelledType as WebhookSponsorshipCancelledType, ) + from .group_0823 import ( + WebhookSponsorshipCancelledTypeForResponse as WebhookSponsorshipCancelledTypeForResponse, + ) + from .group_0824 import ( + WebhookSponsorshipCreatedType as WebhookSponsorshipCreatedType, + ) from .group_0824 import ( - WebhookSponsorshipCreatedType as WebhookSponsorshipCreatedType, + WebhookSponsorshipCreatedTypeForResponse as WebhookSponsorshipCreatedTypeForResponse, ) from .group_0825 import ( WebhookSponsorshipEditedPropChangesPropPrivacyLevelType as WebhookSponsorshipEditedPropChangesPropPrivacyLevelType, ) + from .group_0825 import ( + WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse as WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse, + ) from .group_0825 import ( WebhookSponsorshipEditedPropChangesType as WebhookSponsorshipEditedPropChangesType, ) + from .group_0825 import ( + WebhookSponsorshipEditedPropChangesTypeForResponse as WebhookSponsorshipEditedPropChangesTypeForResponse, + ) from .group_0825 import WebhookSponsorshipEditedType as WebhookSponsorshipEditedType + from .group_0825 import ( + WebhookSponsorshipEditedTypeForResponse as WebhookSponsorshipEditedTypeForResponse, + ) from .group_0826 import ( WebhookSponsorshipPendingCancellationType as WebhookSponsorshipPendingCancellationType, ) + from .group_0826 import ( + WebhookSponsorshipPendingCancellationTypeForResponse as WebhookSponsorshipPendingCancellationTypeForResponse, + ) from .group_0827 import ( WebhookSponsorshipPendingTierChangeType as WebhookSponsorshipPendingTierChangeType, ) + from .group_0827 import ( + WebhookSponsorshipPendingTierChangeTypeForResponse as WebhookSponsorshipPendingTierChangeTypeForResponse, + ) from .group_0828 import ( WebhookSponsorshipTierChangedType as WebhookSponsorshipTierChangedType, ) + from .group_0828 import ( + WebhookSponsorshipTierChangedTypeForResponse as WebhookSponsorshipTierChangedTypeForResponse, + ) from .group_0829 import WebhookStarCreatedType as WebhookStarCreatedType + from .group_0829 import ( + WebhookStarCreatedTypeForResponse as WebhookStarCreatedTypeForResponse, + ) from .group_0830 import WebhookStarDeletedType as WebhookStarDeletedType + from .group_0830 import ( + WebhookStarDeletedTypeForResponse as WebhookStarDeletedTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropBranchesItemsPropCommitType as WebhookStatusPropBranchesItemsPropCommitType, ) + from .group_0831 import ( + WebhookStatusPropBranchesItemsPropCommitTypeForResponse as WebhookStatusPropBranchesItemsPropCommitTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropBranchesItemsType as WebhookStatusPropBranchesItemsType, ) + from .group_0831 import ( + WebhookStatusPropBranchesItemsTypeForResponse as WebhookStatusPropBranchesItemsTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropAuthorType as WebhookStatusPropCommitPropAuthorType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropAuthorTypeForResponse as WebhookStatusPropCommitPropAuthorTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitPropAuthorType as WebhookStatusPropCommitPropCommitPropAuthorType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitPropCommitterType as WebhookStatusPropCommitPropCommitPropCommitterType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitPropTreeType as WebhookStatusPropCommitPropCommitPropTreeType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitPropTreeTypeForResponse as WebhookStatusPropCommitPropCommitPropTreeTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitPropVerificationType as WebhookStatusPropCommitPropCommitPropVerificationType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse as WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitterType as WebhookStatusPropCommitPropCommitterType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitterTypeForResponse as WebhookStatusPropCommitPropCommitterTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropCommitType as WebhookStatusPropCommitPropCommitType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropCommitTypeForResponse as WebhookStatusPropCommitPropCommitTypeForResponse, + ) from .group_0831 import ( WebhookStatusPropCommitPropParentsItemsType as WebhookStatusPropCommitPropParentsItemsType, ) + from .group_0831 import ( + WebhookStatusPropCommitPropParentsItemsTypeForResponse as WebhookStatusPropCommitPropParentsItemsTypeForResponse, + ) from .group_0831 import WebhookStatusPropCommitType as WebhookStatusPropCommitType + from .group_0831 import ( + WebhookStatusPropCommitTypeForResponse as WebhookStatusPropCommitTypeForResponse, + ) from .group_0831 import WebhookStatusType as WebhookStatusType + from .group_0831 import WebhookStatusTypeForResponse as WebhookStatusTypeForResponse from .group_0832 import ( WebhookStatusPropCommitPropCommitPropAuthorAllof0Type as WebhookStatusPropCommitPropCommitPropAuthorAllof0Type, ) + from .group_0832 import ( + WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse, + ) from .group_0833 import ( WebhookStatusPropCommitPropCommitPropAuthorAllof1Type as WebhookStatusPropCommitPropCommitPropAuthorAllof1Type, ) + from .group_0833 import ( + WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse as WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse, + ) from .group_0834 import ( WebhookStatusPropCommitPropCommitPropCommitterAllof0Type as WebhookStatusPropCommitPropCommitPropCommitterAllof0Type, ) + from .group_0834 import ( + WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse, + ) from .group_0835 import ( WebhookStatusPropCommitPropCommitPropCommitterAllof1Type as WebhookStatusPropCommitPropCommitPropCommitterAllof1Type, ) + from .group_0835 import ( + WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse as WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse, + ) from .group_0836 import ( WebhookSubIssuesParentIssueAddedType as WebhookSubIssuesParentIssueAddedType, ) + from .group_0836 import ( + WebhookSubIssuesParentIssueAddedTypeForResponse as WebhookSubIssuesParentIssueAddedTypeForResponse, + ) from .group_0837 import ( WebhookSubIssuesParentIssueRemovedType as WebhookSubIssuesParentIssueRemovedType, ) + from .group_0837 import ( + WebhookSubIssuesParentIssueRemovedTypeForResponse as WebhookSubIssuesParentIssueRemovedTypeForResponse, + ) from .group_0838 import ( WebhookSubIssuesSubIssueAddedType as WebhookSubIssuesSubIssueAddedType, ) + from .group_0838 import ( + WebhookSubIssuesSubIssueAddedTypeForResponse as WebhookSubIssuesSubIssueAddedTypeForResponse, + ) from .group_0839 import ( WebhookSubIssuesSubIssueRemovedType as WebhookSubIssuesSubIssueRemovedType, ) + from .group_0839 import ( + WebhookSubIssuesSubIssueRemovedTypeForResponse as WebhookSubIssuesSubIssueRemovedTypeForResponse, + ) from .group_0840 import WebhookTeamAddType as WebhookTeamAddType + from .group_0840 import ( + WebhookTeamAddTypeForResponse as WebhookTeamAddTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType as WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType as WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType as WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType as WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryPropRepositoryType as WebhookTeamAddedToRepositoryPropRepositoryType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse as WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse, + ) from .group_0841 import ( WebhookTeamAddedToRepositoryType as WebhookTeamAddedToRepositoryType, ) + from .group_0841 import ( + WebhookTeamAddedToRepositoryTypeForResponse as WebhookTeamAddedToRepositoryTypeForResponse, + ) from .group_0842 import ( WebhookTeamCreatedPropRepositoryPropCustomPropertiesType as WebhookTeamCreatedPropRepositoryPropCustomPropertiesType, ) + from .group_0842 import ( + WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0842 import ( WebhookTeamCreatedPropRepositoryPropLicenseType as WebhookTeamCreatedPropRepositoryPropLicenseType, ) + from .group_0842 import ( + WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse as WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0842 import ( WebhookTeamCreatedPropRepositoryPropOwnerType as WebhookTeamCreatedPropRepositoryPropOwnerType, ) + from .group_0842 import ( + WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse as WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0842 import ( WebhookTeamCreatedPropRepositoryPropPermissionsType as WebhookTeamCreatedPropRepositoryPropPermissionsType, ) + from .group_0842 import ( + WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0842 import ( WebhookTeamCreatedPropRepositoryType as WebhookTeamCreatedPropRepositoryType, ) + from .group_0842 import ( + WebhookTeamCreatedPropRepositoryTypeForResponse as WebhookTeamCreatedPropRepositoryTypeForResponse, + ) from .group_0842 import WebhookTeamCreatedType as WebhookTeamCreatedType + from .group_0842 import ( + WebhookTeamCreatedTypeForResponse as WebhookTeamCreatedTypeForResponse, + ) from .group_0843 import ( WebhookTeamDeletedPropRepositoryPropCustomPropertiesType as WebhookTeamDeletedPropRepositoryPropCustomPropertiesType, ) + from .group_0843 import ( + WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0843 import ( WebhookTeamDeletedPropRepositoryPropLicenseType as WebhookTeamDeletedPropRepositoryPropLicenseType, ) + from .group_0843 import ( + WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse as WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0843 import ( WebhookTeamDeletedPropRepositoryPropOwnerType as WebhookTeamDeletedPropRepositoryPropOwnerType, ) + from .group_0843 import ( + WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse as WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0843 import ( WebhookTeamDeletedPropRepositoryPropPermissionsType as WebhookTeamDeletedPropRepositoryPropPermissionsType, ) + from .group_0843 import ( + WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0843 import ( WebhookTeamDeletedPropRepositoryType as WebhookTeamDeletedPropRepositoryType, ) + from .group_0843 import ( + WebhookTeamDeletedPropRepositoryTypeForResponse as WebhookTeamDeletedPropRepositoryTypeForResponse, + ) from .group_0843 import WebhookTeamDeletedType as WebhookTeamDeletedType + from .group_0843 import ( + WebhookTeamDeletedTypeForResponse as WebhookTeamDeletedTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropDescriptionType as WebhookTeamEditedPropChangesPropDescriptionType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropDescriptionTypeForResponse as WebhookTeamEditedPropChangesPropDescriptionTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropNameType as WebhookTeamEditedPropChangesPropNameType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropNameTypeForResponse as WebhookTeamEditedPropChangesPropNameTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropNotificationSettingType as WebhookTeamEditedPropChangesPropNotificationSettingType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse as WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropPrivacyType as WebhookTeamEditedPropChangesPropPrivacyType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropPrivacyTypeForResponse as WebhookTeamEditedPropChangesPropPrivacyTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesPropRepositoryType as WebhookTeamEditedPropChangesPropRepositoryType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesPropRepositoryTypeForResponse as WebhookTeamEditedPropChangesPropRepositoryTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropChangesType as WebhookTeamEditedPropChangesType, ) + from .group_0844 import ( + WebhookTeamEditedPropChangesTypeForResponse as WebhookTeamEditedPropChangesTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropRepositoryPropCustomPropertiesType as WebhookTeamEditedPropRepositoryPropCustomPropertiesType, ) + from .group_0844 import ( + WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropRepositoryPropLicenseType as WebhookTeamEditedPropRepositoryPropLicenseType, ) + from .group_0844 import ( + WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse as WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropRepositoryPropOwnerType as WebhookTeamEditedPropRepositoryPropOwnerType, ) + from .group_0844 import ( + WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse as WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropRepositoryPropPermissionsType as WebhookTeamEditedPropRepositoryPropPermissionsType, ) + from .group_0844 import ( + WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse as WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0844 import ( WebhookTeamEditedPropRepositoryType as WebhookTeamEditedPropRepositoryType, ) + from .group_0844 import ( + WebhookTeamEditedPropRepositoryTypeForResponse as WebhookTeamEditedPropRepositoryTypeForResponse, + ) from .group_0844 import WebhookTeamEditedType as WebhookTeamEditedType + from .group_0844 import ( + WebhookTeamEditedTypeForResponse as WebhookTeamEditedTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType as WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType as WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType as WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType as WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryPropRepositoryType as WebhookTeamRemovedFromRepositoryPropRepositoryType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse as WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse, + ) from .group_0845 import ( WebhookTeamRemovedFromRepositoryType as WebhookTeamRemovedFromRepositoryType, ) + from .group_0845 import ( + WebhookTeamRemovedFromRepositoryTypeForResponse as WebhookTeamRemovedFromRepositoryTypeForResponse, + ) from .group_0846 import WebhookWatchStartedType as WebhookWatchStartedType + from .group_0846 import ( + WebhookWatchStartedTypeForResponse as WebhookWatchStartedTypeForResponse, + ) from .group_0847 import ( WebhookWorkflowDispatchPropInputsType as WebhookWorkflowDispatchPropInputsType, ) + from .group_0847 import ( + WebhookWorkflowDispatchPropInputsTypeForResponse as WebhookWorkflowDispatchPropInputsTypeForResponse, + ) from .group_0847 import WebhookWorkflowDispatchType as WebhookWorkflowDispatchType + from .group_0847 import ( + WebhookWorkflowDispatchTypeForResponse as WebhookWorkflowDispatchTypeForResponse, + ) from .group_0848 import ( WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType as WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType, ) + from .group_0848 import ( + WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse, + ) from .group_0848 import ( WebhookWorkflowJobCompletedPropWorkflowJobType as WebhookWorkflowJobCompletedPropWorkflowJobType, ) + from .group_0848 import ( + WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse, + ) from .group_0848 import ( WebhookWorkflowJobCompletedType as WebhookWorkflowJobCompletedType, ) + from .group_0848 import ( + WebhookWorkflowJobCompletedTypeForResponse as WebhookWorkflowJobCompletedTypeForResponse, + ) from .group_0849 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType as WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType, ) + from .group_0849 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse, + ) from .group_0849 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type as WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type, ) + from .group_0849 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse, + ) from .group_0850 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType as WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType, ) + from .group_0850 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + ) from .group_0850 import ( WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type as WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type, ) + from .group_0850 import ( + WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse as WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse, + ) from .group_0851 import ( WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType as WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType, ) + from .group_0851 import ( + WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse, + ) from .group_0851 import ( WebhookWorkflowJobInProgressPropWorkflowJobType as WebhookWorkflowJobInProgressPropWorkflowJobType, ) + from .group_0851 import ( + WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse, + ) from .group_0851 import ( WebhookWorkflowJobInProgressType as WebhookWorkflowJobInProgressType, ) + from .group_0851 import ( + WebhookWorkflowJobInProgressTypeForResponse as WebhookWorkflowJobInProgressTypeForResponse, + ) from .group_0852 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType as WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType, ) + from .group_0852 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse, + ) from .group_0852 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type as WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type, ) + from .group_0852 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse, + ) from .group_0853 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType as WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType, ) + from .group_0853 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + ) from .group_0853 import ( WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type as WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type, ) + from .group_0853 import ( + WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse as WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse, + ) from .group_0854 import ( WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType as WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType, ) + from .group_0854 import ( + WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse as WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse, + ) from .group_0854 import ( WebhookWorkflowJobQueuedPropWorkflowJobType as WebhookWorkflowJobQueuedPropWorkflowJobType, ) + from .group_0854 import ( + WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse as WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse, + ) from .group_0854 import WebhookWorkflowJobQueuedType as WebhookWorkflowJobQueuedType + from .group_0854 import ( + WebhookWorkflowJobQueuedTypeForResponse as WebhookWorkflowJobQueuedTypeForResponse, + ) from .group_0855 import ( WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType as WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType, ) + from .group_0855 import ( + WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse as WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse, + ) from .group_0855 import ( WebhookWorkflowJobWaitingPropWorkflowJobType as WebhookWorkflowJobWaitingPropWorkflowJobType, ) + from .group_0855 import ( + WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse as WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse, + ) from .group_0855 import ( WebhookWorkflowJobWaitingType as WebhookWorkflowJobWaitingType, ) + from .group_0855 import ( + WebhookWorkflowJobWaitingTypeForResponse as WebhookWorkflowJobWaitingTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropActorType as WebhookWorkflowRunCompletedPropWorkflowRunPropActorType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedPropWorkflowRunType as WebhookWorkflowRunCompletedPropWorkflowRunType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse as WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse, + ) from .group_0856 import ( WebhookWorkflowRunCompletedType as WebhookWorkflowRunCompletedType, ) + from .group_0856 import ( + WebhookWorkflowRunCompletedTypeForResponse as WebhookWorkflowRunCompletedTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropActorType as WebhookWorkflowRunInProgressPropWorkflowRunPropActorType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressPropWorkflowRunType as WebhookWorkflowRunInProgressPropWorkflowRunType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse as WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse, + ) from .group_0857 import ( WebhookWorkflowRunInProgressType as WebhookWorkflowRunInProgressType, ) + from .group_0857 import ( + WebhookWorkflowRunInProgressTypeForResponse as WebhookWorkflowRunInProgressTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropActorType as WebhookWorkflowRunRequestedPropWorkflowRunPropActorType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType, ) from .group_0858 import ( - WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType, + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType, + ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse, ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType as WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType as WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedPropWorkflowRunType as WebhookWorkflowRunRequestedPropWorkflowRunType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse as WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse, + ) from .group_0858 import ( WebhookWorkflowRunRequestedType as WebhookWorkflowRunRequestedType, ) + from .group_0858 import ( + WebhookWorkflowRunRequestedTypeForResponse as WebhookWorkflowRunRequestedTypeForResponse, + ) from .group_0859 import ( AppManifestsCodeConversionsPostResponse201Type as AppManifestsCodeConversionsPostResponse201Type, ) + from .group_0859 import ( + AppManifestsCodeConversionsPostResponse201TypeForResponse as AppManifestsCodeConversionsPostResponse201TypeForResponse, + ) from .group_0860 import ( AppManifestsCodeConversionsPostResponse201Allof1Type as AppManifestsCodeConversionsPostResponse201Allof1Type, ) + from .group_0860 import ( + AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse as AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse, + ) from .group_0861 import AppHookConfigPatchBodyType as AppHookConfigPatchBodyType + from .group_0861 import ( + AppHookConfigPatchBodyTypeForResponse as AppHookConfigPatchBodyTypeForResponse, + ) from .group_0862 import ( AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type as AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type, ) + from .group_0862 import ( + AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse as AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse, + ) from .group_0863 import ( AppInstallationsInstallationIdAccessTokensPostBodyType as AppInstallationsInstallationIdAccessTokensPostBodyType, ) + from .group_0863 import ( + AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse as AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse, + ) from .group_0864 import ( ApplicationsClientIdGrantDeleteBodyType as ApplicationsClientIdGrantDeleteBodyType, ) + from .group_0864 import ( + ApplicationsClientIdGrantDeleteBodyTypeForResponse as ApplicationsClientIdGrantDeleteBodyTypeForResponse, + ) from .group_0865 import ( ApplicationsClientIdTokenPostBodyType as ApplicationsClientIdTokenPostBodyType, ) + from .group_0865 import ( + ApplicationsClientIdTokenPostBodyTypeForResponse as ApplicationsClientIdTokenPostBodyTypeForResponse, + ) from .group_0866 import ( ApplicationsClientIdTokenDeleteBodyType as ApplicationsClientIdTokenDeleteBodyType, ) + from .group_0866 import ( + ApplicationsClientIdTokenDeleteBodyTypeForResponse as ApplicationsClientIdTokenDeleteBodyTypeForResponse, + ) from .group_0867 import ( ApplicationsClientIdTokenPatchBodyType as ApplicationsClientIdTokenPatchBodyType, ) + from .group_0867 import ( + ApplicationsClientIdTokenPatchBodyTypeForResponse as ApplicationsClientIdTokenPatchBodyTypeForResponse, + ) from .group_0868 import ( ApplicationsClientIdTokenScopedPostBodyType as ApplicationsClientIdTokenScopedPostBodyType, ) + from .group_0868 import ( + ApplicationsClientIdTokenScopedPostBodyTypeForResponse as ApplicationsClientIdTokenScopedPostBodyTypeForResponse, + ) from .group_0869 import ( CredentialsRevokePostBodyType as CredentialsRevokePostBodyType, ) + from .group_0869 import ( + CredentialsRevokePostBodyTypeForResponse as CredentialsRevokePostBodyTypeForResponse, + ) from .group_0870 import EmojisGetResponse200Type as EmojisGetResponse200Type + from .group_0870 import ( + EmojisGetResponse200TypeForResponse as EmojisGetResponse200TypeForResponse, + ) from .group_0871 import ( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0871 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0871 import ( EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType, ) + from .group_0871 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse, + ) from .group_0872 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0872 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0872 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType, ) + from .group_0872 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse, + ) from .group_0873 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) + from .group_0873 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse, + ) from .group_0874 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) + from .group_0874 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse, + ) from .group_0875 import ( EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, ) + from .group_0875 import ( + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse as EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, + ) from .group_0876 import ( EnterprisesEnterpriseTeamsPostBodyType as EnterprisesEnterpriseTeamsPostBodyType, ) + from .group_0876 import ( + EnterprisesEnterpriseTeamsPostBodyTypeForResponse as EnterprisesEnterpriseTeamsPostBodyTypeForResponse, + ) from .group_0877 import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType, ) + from .group_0877 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse, + ) from .group_0878 import ( EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType, ) + from .group_0878 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse, + ) from .group_0879 import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType, ) + from .group_0879 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse, + ) from .group_0880 import ( EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType, ) + from .group_0880 import ( + EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse as EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse, + ) from .group_0881 import ( EnterprisesEnterpriseTeamsTeamSlugPatchBodyType as EnterprisesEnterpriseTeamsTeamSlugPatchBodyType, ) + from .group_0881 import ( + EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse as EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse, + ) from .group_0882 import EventsGetResponse503Type as EventsGetResponse503Type + from .group_0882 import ( + EventsGetResponse503TypeForResponse as EventsGetResponse503TypeForResponse, + ) from .group_0883 import GistsPostBodyPropFilesType as GistsPostBodyPropFilesType + from .group_0883 import ( + GistsPostBodyPropFilesTypeForResponse as GistsPostBodyPropFilesTypeForResponse, + ) from .group_0883 import GistsPostBodyType as GistsPostBodyType + from .group_0883 import GistsPostBodyTypeForResponse as GistsPostBodyTypeForResponse from .group_0884 import ( GistsGistIdGetResponse403PropBlockType as GistsGistIdGetResponse403PropBlockType, ) + from .group_0884 import ( + GistsGistIdGetResponse403PropBlockTypeForResponse as GistsGistIdGetResponse403PropBlockTypeForResponse, + ) from .group_0884 import ( GistsGistIdGetResponse403Type as GistsGistIdGetResponse403Type, ) + from .group_0884 import ( + GistsGistIdGetResponse403TypeForResponse as GistsGistIdGetResponse403TypeForResponse, + ) from .group_0885 import ( GistsGistIdPatchBodyPropFilesType as GistsGistIdPatchBodyPropFilesType, ) + from .group_0885 import ( + GistsGistIdPatchBodyPropFilesTypeForResponse as GistsGistIdPatchBodyPropFilesTypeForResponse, + ) from .group_0885 import GistsGistIdPatchBodyType as GistsGistIdPatchBodyType + from .group_0885 import ( + GistsGistIdPatchBodyTypeForResponse as GistsGistIdPatchBodyTypeForResponse, + ) from .group_0886 import ( GistsGistIdCommentsPostBodyType as GistsGistIdCommentsPostBodyType, ) + from .group_0886 import ( + GistsGistIdCommentsPostBodyTypeForResponse as GistsGistIdCommentsPostBodyTypeForResponse, + ) from .group_0887 import ( GistsGistIdCommentsCommentIdPatchBodyType as GistsGistIdCommentsCommentIdPatchBodyType, ) + from .group_0887 import ( + GistsGistIdCommentsCommentIdPatchBodyTypeForResponse as GistsGistIdCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_0888 import ( GistsGistIdStarGetResponse404Type as GistsGistIdStarGetResponse404Type, ) + from .group_0888 import ( + GistsGistIdStarGetResponse404TypeForResponse as GistsGistIdStarGetResponse404TypeForResponse, + ) from .group_0889 import ( InstallationRepositoriesGetResponse200Type as InstallationRepositoriesGetResponse200Type, ) + from .group_0889 import ( + InstallationRepositoriesGetResponse200TypeForResponse as InstallationRepositoriesGetResponse200TypeForResponse, + ) from .group_0890 import MarkdownPostBodyType as MarkdownPostBodyType + from .group_0890 import ( + MarkdownPostBodyTypeForResponse as MarkdownPostBodyTypeForResponse, + ) from .group_0891 import NotificationsPutBodyType as NotificationsPutBodyType + from .group_0891 import ( + NotificationsPutBodyTypeForResponse as NotificationsPutBodyTypeForResponse, + ) from .group_0892 import ( NotificationsPutResponse202Type as NotificationsPutResponse202Type, ) + from .group_0892 import ( + NotificationsPutResponse202TypeForResponse as NotificationsPutResponse202TypeForResponse, + ) from .group_0893 import ( NotificationsThreadsThreadIdSubscriptionPutBodyType as NotificationsThreadsThreadIdSubscriptionPutBodyType, ) + from .group_0893 import ( + NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse as NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse, + ) from .group_0894 import ( OrganizationsOrgDependabotRepositoryAccessPatchBodyType as OrganizationsOrgDependabotRepositoryAccessPatchBodyType, ) + from .group_0894 import ( + OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse as OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse, + ) from .group_0895 import ( OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType as OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType, ) + from .group_0895 import ( + OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse as OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse, + ) from .group_0896 import ( OrganizationsOrgOrgPropertiesValuesPatchBodyType as OrganizationsOrgOrgPropertiesValuesPatchBodyType, ) + from .group_0896 import ( + OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse as OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse, + ) from .group_0897 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType, ) + from .group_0897 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse, + ) from .group_0897 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType, ) + from .group_0897 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse, + ) from .group_0898 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType, ) + from .group_0898 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse, + ) from .group_0898 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType, ) + from .group_0898 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse, + ) from .group_0898 import ( OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type, ) + from .group_0898 import ( + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse as OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse, + ) from .group_0899 import OrgsOrgPatchBodyType as OrgsOrgPatchBodyType + from .group_0899 import ( + OrgsOrgPatchBodyTypeForResponse as OrgsOrgPatchBodyTypeForResponse, + ) from .group_0900 import ( ActionsCacheUsageByRepositoryType as ActionsCacheUsageByRepositoryType, ) + from .group_0900 import ( + ActionsCacheUsageByRepositoryTypeForResponse as ActionsCacheUsageByRepositoryTypeForResponse, + ) from .group_0900 import ( OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type as OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type, ) + from .group_0900 import ( + OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse as OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse, + ) from .group_0901 import ( OrgsOrgActionsHostedRunnersGetResponse200Type as OrgsOrgActionsHostedRunnersGetResponse200Type, ) + from .group_0901 import ( + OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse, + ) from .group_0902 import ( OrgsOrgActionsHostedRunnersPostBodyPropImageType as OrgsOrgActionsHostedRunnersPostBodyPropImageType, ) + from .group_0902 import ( + OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse as OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse, + ) from .group_0902 import ( OrgsOrgActionsHostedRunnersPostBodyType as OrgsOrgActionsHostedRunnersPostBodyType, ) + from .group_0902 import ( + OrgsOrgActionsHostedRunnersPostBodyTypeForResponse as OrgsOrgActionsHostedRunnersPostBodyTypeForResponse, + ) from .group_0903 import ( ActionsHostedRunnerCustomImageType as ActionsHostedRunnerCustomImageType, ) + from .group_0903 import ( + ActionsHostedRunnerCustomImageTypeForResponse as ActionsHostedRunnerCustomImageTypeForResponse, + ) from .group_0903 import ( OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type as OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type, ) + from .group_0903 import ( + OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse, + ) from .group_0904 import ( ActionsHostedRunnerCustomImageVersionType as ActionsHostedRunnerCustomImageVersionType, ) + from .group_0904 import ( + ActionsHostedRunnerCustomImageVersionTypeForResponse as ActionsHostedRunnerCustomImageVersionTypeForResponse, + ) from .group_0904 import ( OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type as OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type, ) + from .group_0904 import ( + OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse, + ) from .group_0905 import ( OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type as OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type, ) + from .group_0905 import ( + OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse, + ) from .group_0906 import ( OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type as OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type, ) + from .group_0906 import ( + OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse, + ) from .group_0907 import ( OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type as OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type, ) + from .group_0907 import ( + OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse, + ) from .group_0908 import ( OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type as OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type, ) + from .group_0908 import ( + OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse as OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse, + ) from .group_0909 import ( OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType as OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType, ) + from .group_0909 import ( + OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse as OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse, + ) from .group_0910 import ( OrgsOrgActionsPermissionsPutBodyType as OrgsOrgActionsPermissionsPutBodyType, ) + from .group_0910 import ( + OrgsOrgActionsPermissionsPutBodyTypeForResponse as OrgsOrgActionsPermissionsPutBodyTypeForResponse, + ) from .group_0911 import ( OrgsOrgActionsPermissionsRepositoriesGetResponse200Type as OrgsOrgActionsPermissionsRepositoriesGetResponse200Type, ) + from .group_0911 import ( + OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse, + ) from .group_0912 import ( OrgsOrgActionsPermissionsRepositoriesPutBodyType as OrgsOrgActionsPermissionsRepositoriesPutBodyType, ) + from .group_0912 import ( + OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse as OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse, + ) from .group_0913 import ( OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType as OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType, ) + from .group_0913 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse, + ) from .group_0914 import ( OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type, ) + from .group_0914 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse, + ) from .group_0915 import ( OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType, ) + from .group_0915 import ( + OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse as OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse, + ) from .group_0916 import ( OrgsOrgActionsRunnerGroupsGetResponse200Type as OrgsOrgActionsRunnerGroupsGetResponse200Type, ) + from .group_0916 import ( + OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse, + ) from .group_0916 import RunnerGroupsOrgType as RunnerGroupsOrgType + from .group_0916 import ( + RunnerGroupsOrgTypeForResponse as RunnerGroupsOrgTypeForResponse, + ) from .group_0917 import ( OrgsOrgActionsRunnerGroupsPostBodyType as OrgsOrgActionsRunnerGroupsPostBodyType, ) + from .group_0917 import ( + OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse as OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse, + ) from .group_0918 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType, ) + from .group_0918 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse, + ) from .group_0919 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type, ) + from .group_0919 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse, + ) from .group_0920 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type, ) + from .group_0920 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse, + ) from .group_0921 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType, ) + from .group_0921 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse, + ) from .group_0922 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type, ) + from .group_0922 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse, + ) from .group_0923 import ( OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType, ) + from .group_0923 import ( + OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse as OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse, + ) from .group_0924 import ( OrgsOrgActionsRunnersGetResponse200Type as OrgsOrgActionsRunnersGetResponse200Type, ) + from .group_0924 import ( + OrgsOrgActionsRunnersGetResponse200TypeForResponse as OrgsOrgActionsRunnersGetResponse200TypeForResponse, + ) from .group_0925 import ( OrgsOrgActionsRunnersGenerateJitconfigPostBodyType as OrgsOrgActionsRunnersGenerateJitconfigPostBodyType, ) + from .group_0925 import ( + OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse as OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse, + ) from .group_0926 import ( OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type as OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type, ) + from .group_0926 import ( + OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse as OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse, + ) from .group_0927 import ( OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type as OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type, ) + from .group_0927 import ( + OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse, + ) from .group_0928 import ( OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType as OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType, ) + from .group_0928 import ( + OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse, + ) from .group_0929 import ( OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType as OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType, ) + from .group_0929 import ( + OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse, + ) from .group_0930 import ( OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type as OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type, ) + from .group_0930 import ( + OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse as OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse, + ) from .group_0931 import ( OrganizationActionsSecretType as OrganizationActionsSecretType, ) + from .group_0931 import ( + OrganizationActionsSecretTypeForResponse as OrganizationActionsSecretTypeForResponse, + ) from .group_0931 import ( OrgsOrgActionsSecretsGetResponse200Type as OrgsOrgActionsSecretsGetResponse200Type, ) + from .group_0931 import ( + OrgsOrgActionsSecretsGetResponse200TypeForResponse as OrgsOrgActionsSecretsGetResponse200TypeForResponse, + ) from .group_0932 import ( OrgsOrgActionsSecretsSecretNamePutBodyType as OrgsOrgActionsSecretsSecretNamePutBodyType, ) + from .group_0932 import ( + OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse as OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse, + ) from .group_0933 import ( OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_0933 import ( + OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_0934 import ( OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType as OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType, ) + from .group_0934 import ( + OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_0935 import ( OrganizationActionsVariableType as OrganizationActionsVariableType, ) + from .group_0935 import ( + OrganizationActionsVariableTypeForResponse as OrganizationActionsVariableTypeForResponse, + ) from .group_0935 import ( OrgsOrgActionsVariablesGetResponse200Type as OrgsOrgActionsVariablesGetResponse200Type, ) + from .group_0935 import ( + OrgsOrgActionsVariablesGetResponse200TypeForResponse as OrgsOrgActionsVariablesGetResponse200TypeForResponse, + ) from .group_0936 import ( OrgsOrgActionsVariablesPostBodyType as OrgsOrgActionsVariablesPostBodyType, ) + from .group_0936 import ( + OrgsOrgActionsVariablesPostBodyTypeForResponse as OrgsOrgActionsVariablesPostBodyTypeForResponse, + ) from .group_0937 import ( OrgsOrgActionsVariablesNamePatchBodyType as OrgsOrgActionsVariablesNamePatchBodyType, ) + from .group_0937 import ( + OrgsOrgActionsVariablesNamePatchBodyTypeForResponse as OrgsOrgActionsVariablesNamePatchBodyTypeForResponse, + ) from .group_0938 import ( OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type as OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type, ) + from .group_0938 import ( + OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse as OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse, + ) from .group_0939 import ( OrgsOrgActionsVariablesNameRepositoriesPutBodyType as OrgsOrgActionsVariablesNameRepositoriesPutBodyType, ) + from .group_0939 import ( + OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse as OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse, + ) from .group_0940 import ( OrgsOrgArtifactsMetadataStorageRecordPostBodyType as OrgsOrgArtifactsMetadataStorageRecordPostBodyType, ) + from .group_0940 import ( + OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse, + ) from .group_0941 import ( OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType as OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType, ) + from .group_0941 import ( + OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse, + ) from .group_0941 import ( OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type as OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type, ) + from .group_0941 import ( + OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse as OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse, + ) from .group_0942 import ( OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType, ) + from .group_0942 import ( + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse, + ) from .group_0942 import ( OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type, ) + from .group_0942 import ( + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse as OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse, + ) from .group_0943 import ( OrgsOrgAttestationsBulkListPostBodyType as OrgsOrgAttestationsBulkListPostBodyType, ) + from .group_0943 import ( + OrgsOrgAttestationsBulkListPostBodyTypeForResponse as OrgsOrgAttestationsBulkListPostBodyTypeForResponse, + ) from .group_0944 import ( OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType as OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType, ) + from .group_0944 import ( + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse as OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse, + ) from .group_0944 import ( OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType as OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType, ) + from .group_0944 import ( + OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse as OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse, + ) from .group_0944 import ( OrgsOrgAttestationsBulkListPostResponse200Type as OrgsOrgAttestationsBulkListPostResponse200Type, ) + from .group_0944 import ( + OrgsOrgAttestationsBulkListPostResponse200TypeForResponse as OrgsOrgAttestationsBulkListPostResponse200TypeForResponse, + ) from .group_0945 import ( OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type as OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type, ) + from .group_0945 import ( + OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse as OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse, + ) from .group_0946 import ( OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type as OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type, ) + from .group_0946 import ( + OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse as OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse, + ) from .group_0947 import ( OrgsOrgAttestationsRepositoriesGetResponse200ItemsType as OrgsOrgAttestationsRepositoriesGetResponse200ItemsType, ) + from .group_0947 import ( + OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse as OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse, + ) from .group_0948 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_0948 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_0948 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_0948 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_0948 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_0948 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_0948 import ( OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_0948 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_0948 import ( OrgsOrgAttestationsSubjectDigestGetResponse200Type as OrgsOrgAttestationsSubjectDigestGetResponse200Type, ) + from .group_0948 import ( + OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse as OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_0949 import ( OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType as OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, ) + from .group_0949 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse as OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, + ) from .group_0950 import ( OrgsOrgCampaignsPostBodyOneof0Type as OrgsOrgCampaignsPostBodyOneof0Type, ) + from .group_0950 import ( + OrgsOrgCampaignsPostBodyOneof0TypeForResponse as OrgsOrgCampaignsPostBodyOneof0TypeForResponse, + ) from .group_0951 import ( OrgsOrgCampaignsPostBodyOneof1Type as OrgsOrgCampaignsPostBodyOneof1Type, ) + from .group_0951 import ( + OrgsOrgCampaignsPostBodyOneof1TypeForResponse as OrgsOrgCampaignsPostBodyOneof1TypeForResponse, + ) from .group_0952 import ( OrgsOrgCampaignsCampaignNumberPatchBodyType as OrgsOrgCampaignsCampaignNumberPatchBodyType, ) + from .group_0952 import ( + OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse as OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse, + ) from .group_0953 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0953 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0953 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_0953 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_0953 import ( OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType, ) + from .group_0953 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_0953 import ( OrgsOrgCodeSecurityConfigurationsPostBodyType as OrgsOrgCodeSecurityConfigurationsPostBodyType, ) + from .group_0953 import ( + OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse, + ) from .group_0954 import ( OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType as OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType, ) + from .group_0954 import ( + OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse, + ) from .group_0955 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType, ) + from .group_0955 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse, + ) from .group_0955 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType, ) + from .group_0955 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse, + ) from .group_0955 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType, ) + from .group_0955 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse, + ) from .group_0955 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType, ) + from .group_0955 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse, + ) from .group_0956 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType, ) + from .group_0956 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse, + ) from .group_0957 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType, ) + from .group_0957 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse, + ) from .group_0958 import ( OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type, ) + from .group_0958 import ( + OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse as OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse, + ) from .group_0959 import ( OrgsOrgCodespacesGetResponse200Type as OrgsOrgCodespacesGetResponse200Type, ) + from .group_0959 import ( + OrgsOrgCodespacesGetResponse200TypeForResponse as OrgsOrgCodespacesGetResponse200TypeForResponse, + ) from .group_0960 import ( OrgsOrgCodespacesAccessPutBodyType as OrgsOrgCodespacesAccessPutBodyType, ) + from .group_0960 import ( + OrgsOrgCodespacesAccessPutBodyTypeForResponse as OrgsOrgCodespacesAccessPutBodyTypeForResponse, + ) from .group_0961 import ( OrgsOrgCodespacesAccessSelectedUsersPostBodyType as OrgsOrgCodespacesAccessSelectedUsersPostBodyType, ) + from .group_0961 import ( + OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse as OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse, + ) from .group_0962 import ( OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType as OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType, ) + from .group_0962 import ( + OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse as OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse, + ) from .group_0963 import CodespacesOrgSecretType as CodespacesOrgSecretType + from .group_0963 import ( + CodespacesOrgSecretTypeForResponse as CodespacesOrgSecretTypeForResponse, + ) from .group_0963 import ( OrgsOrgCodespacesSecretsGetResponse200Type as OrgsOrgCodespacesSecretsGetResponse200Type, ) + from .group_0963 import ( + OrgsOrgCodespacesSecretsGetResponse200TypeForResponse as OrgsOrgCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_0964 import ( OrgsOrgCodespacesSecretsSecretNamePutBodyType as OrgsOrgCodespacesSecretsSecretNamePutBodyType, ) + from .group_0964 import ( + OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse as OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_0965 import ( OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_0965 import ( + OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_0966 import ( OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType as OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType, ) + from .group_0966 import ( + OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_0967 import ( OrgsOrgCopilotBillingSelectedTeamsPostBodyType as OrgsOrgCopilotBillingSelectedTeamsPostBodyType, ) + from .group_0967 import ( + OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse as OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse, + ) from .group_0968 import ( OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type as OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type, ) + from .group_0968 import ( + OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse as OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse, + ) from .group_0969 import ( OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType as OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType, ) + from .group_0969 import ( + OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse as OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse, + ) from .group_0970 import ( OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type as OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type, ) + from .group_0970 import ( + OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse as OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse, + ) from .group_0971 import ( OrgsOrgCopilotBillingSelectedUsersPostBodyType as OrgsOrgCopilotBillingSelectedUsersPostBodyType, ) + from .group_0971 import ( + OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse as OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse, + ) from .group_0972 import ( OrgsOrgCopilotBillingSelectedUsersPostResponse201Type as OrgsOrgCopilotBillingSelectedUsersPostResponse201Type, ) + from .group_0972 import ( + OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse as OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse, + ) from .group_0973 import ( OrgsOrgCopilotBillingSelectedUsersDeleteBodyType as OrgsOrgCopilotBillingSelectedUsersDeleteBodyType, ) + from .group_0973 import ( + OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse as OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse, + ) from .group_0974 import ( OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type as OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type, ) + from .group_0974 import ( + OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse as OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse, + ) from .group_0975 import ( OrganizationDependabotSecretType as OrganizationDependabotSecretType, ) + from .group_0975 import ( + OrganizationDependabotSecretTypeForResponse as OrganizationDependabotSecretTypeForResponse, + ) from .group_0975 import ( OrgsOrgDependabotSecretsGetResponse200Type as OrgsOrgDependabotSecretsGetResponse200Type, ) + from .group_0975 import ( + OrgsOrgDependabotSecretsGetResponse200TypeForResponse as OrgsOrgDependabotSecretsGetResponse200TypeForResponse, + ) from .group_0976 import ( OrgsOrgDependabotSecretsSecretNamePutBodyType as OrgsOrgDependabotSecretsSecretNamePutBodyType, ) + from .group_0976 import ( + OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse as OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse, + ) from .group_0977 import ( OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type as OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_0977 import ( + OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse as OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_0978 import ( OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType as OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType, ) + from .group_0978 import ( + OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse as OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_0979 import ( OrgsOrgHooksPostBodyPropConfigType as OrgsOrgHooksPostBodyPropConfigType, ) + from .group_0979 import ( + OrgsOrgHooksPostBodyPropConfigTypeForResponse as OrgsOrgHooksPostBodyPropConfigTypeForResponse, + ) from .group_0979 import OrgsOrgHooksPostBodyType as OrgsOrgHooksPostBodyType + from .group_0979 import ( + OrgsOrgHooksPostBodyTypeForResponse as OrgsOrgHooksPostBodyTypeForResponse, + ) from .group_0980 import ( OrgsOrgHooksHookIdPatchBodyPropConfigType as OrgsOrgHooksHookIdPatchBodyPropConfigType, ) + from .group_0980 import ( + OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse as OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse, + ) from .group_0980 import ( OrgsOrgHooksHookIdPatchBodyType as OrgsOrgHooksHookIdPatchBodyType, ) + from .group_0980 import ( + OrgsOrgHooksHookIdPatchBodyTypeForResponse as OrgsOrgHooksHookIdPatchBodyTypeForResponse, + ) from .group_0981 import ( OrgsOrgHooksHookIdConfigPatchBodyType as OrgsOrgHooksHookIdConfigPatchBodyType, ) + from .group_0981 import ( + OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse as OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse, + ) from .group_0982 import ( OrgsOrgInstallationsGetResponse200Type as OrgsOrgInstallationsGetResponse200Type, ) + from .group_0982 import ( + OrgsOrgInstallationsGetResponse200TypeForResponse as OrgsOrgInstallationsGetResponse200TypeForResponse, + ) from .group_0983 import ( OrgsOrgInteractionLimitsGetResponse200Anyof1Type as OrgsOrgInteractionLimitsGetResponse200Anyof1Type, ) + from .group_0983 import ( + OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse as OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_0984 import ( OrgsOrgInvitationsPostBodyType as OrgsOrgInvitationsPostBodyType, ) + from .group_0984 import ( + OrgsOrgInvitationsPostBodyTypeForResponse as OrgsOrgInvitationsPostBodyTypeForResponse, + ) from .group_0985 import ( OrgsOrgMembersUsernameCodespacesGetResponse200Type as OrgsOrgMembersUsernameCodespacesGetResponse200Type, ) + from .group_0985 import ( + OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse as OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse, + ) from .group_0986 import ( OrgsOrgMembershipsUsernamePutBodyType as OrgsOrgMembershipsUsernamePutBodyType, ) + from .group_0986 import ( + OrgsOrgMembershipsUsernamePutBodyTypeForResponse as OrgsOrgMembershipsUsernamePutBodyTypeForResponse, + ) from .group_0987 import ( OrgsOrgMigrationsPostBodyType as OrgsOrgMigrationsPostBodyType, ) + from .group_0987 import ( + OrgsOrgMigrationsPostBodyTypeForResponse as OrgsOrgMigrationsPostBodyTypeForResponse, + ) from .group_0988 import ( OrgsOrgOutsideCollaboratorsUsernamePutBodyType as OrgsOrgOutsideCollaboratorsUsernamePutBodyType, ) + from .group_0988 import ( + OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse as OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_0989 import ( OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type as OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type, ) + from .group_0989 import ( + OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse as OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse, + ) from .group_0990 import ( OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type as OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type, ) + from .group_0990 import ( + OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse as OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse, + ) from .group_0991 import ( OrgsOrgPersonalAccessTokenRequestsPostBodyType as OrgsOrgPersonalAccessTokenRequestsPostBodyType, ) + from .group_0991 import ( + OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse as OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse, + ) from .group_0992 import ( OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType as OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType, ) + from .group_0992 import ( + OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse as OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse, + ) from .group_0993 import ( OrgsOrgPersonalAccessTokensPostBodyType as OrgsOrgPersonalAccessTokensPostBodyType, ) + from .group_0993 import ( + OrgsOrgPersonalAccessTokensPostBodyTypeForResponse as OrgsOrgPersonalAccessTokensPostBodyTypeForResponse, + ) from .group_0994 import ( OrgsOrgPersonalAccessTokensPatIdPostBodyType as OrgsOrgPersonalAccessTokensPatIdPostBodyType, ) + from .group_0994 import ( + OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse as OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse, + ) from .group_0995 import ( OrgPrivateRegistryConfigurationType as OrgPrivateRegistryConfigurationType, ) + from .group_0995 import ( + OrgPrivateRegistryConfigurationTypeForResponse as OrgPrivateRegistryConfigurationTypeForResponse, + ) from .group_0995 import ( OrgsOrgPrivateRegistriesGetResponse200Type as OrgsOrgPrivateRegistriesGetResponse200Type, ) + from .group_0995 import ( + OrgsOrgPrivateRegistriesGetResponse200TypeForResponse as OrgsOrgPrivateRegistriesGetResponse200TypeForResponse, + ) from .group_0996 import ( OrgsOrgPrivateRegistriesPostBodyType as OrgsOrgPrivateRegistriesPostBodyType, ) + from .group_0996 import ( + OrgsOrgPrivateRegistriesPostBodyTypeForResponse as OrgsOrgPrivateRegistriesPostBodyTypeForResponse, + ) from .group_0997 import ( OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type as OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type, ) + from .group_0997 import ( + OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse as OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse, + ) from .group_0998 import ( OrgsOrgPrivateRegistriesSecretNamePatchBodyType as OrgsOrgPrivateRegistriesSecretNamePatchBodyType, ) + from .group_0998 import ( + OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse as OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse, + ) from .group_0999 import ( OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType as OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType, ) + from .group_0999 import ( + OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse, + ) from .group_1000 import ( OrgsOrgProjectsV2ProjectNumberItemsPostBodyType as OrgsOrgProjectsV2ProjectNumberItemsPostBodyType, ) + from .group_1000 import ( + OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse, + ) from .group_1001 import ( OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, ) + from .group_1001 import ( + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse, + ) from .group_1001 import ( OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType, ) + from .group_1001 import ( + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse as OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse, + ) from .group_1002 import ( OrgsOrgPropertiesSchemaPatchBodyType as OrgsOrgPropertiesSchemaPatchBodyType, ) + from .group_1002 import ( + OrgsOrgPropertiesSchemaPatchBodyTypeForResponse as OrgsOrgPropertiesSchemaPatchBodyTypeForResponse, + ) from .group_1003 import ( OrgsOrgPropertiesValuesPatchBodyType as OrgsOrgPropertiesValuesPatchBodyType, ) + from .group_1003 import ( + OrgsOrgPropertiesValuesPatchBodyTypeForResponse as OrgsOrgPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1004 import ( OrgsOrgReposPostBodyPropCustomPropertiesType as OrgsOrgReposPostBodyPropCustomPropertiesType, ) + from .group_1004 import ( + OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse as OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse, + ) from .group_1004 import OrgsOrgReposPostBodyType as OrgsOrgReposPostBodyType + from .group_1004 import ( + OrgsOrgReposPostBodyTypeForResponse as OrgsOrgReposPostBodyTypeForResponse, + ) from .group_1005 import OrgsOrgRulesetsPostBodyType as OrgsOrgRulesetsPostBodyType + from .group_1005 import ( + OrgsOrgRulesetsPostBodyTypeForResponse as OrgsOrgRulesetsPostBodyTypeForResponse, + ) from .group_1006 import ( OrgsOrgRulesetsRulesetIdPutBodyType as OrgsOrgRulesetsRulesetIdPutBodyType, ) + from .group_1006 import ( + OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse as OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse, + ) from .group_1007 import ( OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType, ) + from .group_1007 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse, + ) from .group_1007 import ( OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType, ) + from .group_1007 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse, + ) from .group_1007 import ( OrgsOrgSecretScanningPatternConfigurationsPatchBodyType as OrgsOrgSecretScanningPatternConfigurationsPatchBodyType, ) + from .group_1007 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse, + ) from .group_1008 import ( OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type as OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type, ) + from .group_1008 import ( + OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse as OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse, + ) from .group_1009 import ( OrgsOrgSettingsImmutableReleasesPutBodyType as OrgsOrgSettingsImmutableReleasesPutBodyType, ) + from .group_1009 import ( + OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse as OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse, + ) from .group_1010 import ( OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type as OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type, ) + from .group_1010 import ( + OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse as OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse, + ) from .group_1011 import ( OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType as OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType, ) + from .group_1011 import ( + OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse as OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse, + ) from .group_1012 import NetworkConfigurationType as NetworkConfigurationType + from .group_1012 import ( + NetworkConfigurationTypeForResponse as NetworkConfigurationTypeForResponse, + ) from .group_1012 import ( OrgsOrgSettingsNetworkConfigurationsGetResponse200Type as OrgsOrgSettingsNetworkConfigurationsGetResponse200Type, ) + from .group_1012 import ( + OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse as OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse, + ) from .group_1013 import ( OrgsOrgSettingsNetworkConfigurationsPostBodyType as OrgsOrgSettingsNetworkConfigurationsPostBodyType, ) + from .group_1013 import ( + OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse as OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse, + ) from .group_1014 import ( OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType as OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType, ) + from .group_1014 import ( + OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse as OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse, + ) from .group_1015 import OrgsOrgTeamsPostBodyType as OrgsOrgTeamsPostBodyType + from .group_1015 import ( + OrgsOrgTeamsPostBodyTypeForResponse as OrgsOrgTeamsPostBodyTypeForResponse, + ) from .group_1016 import ( OrgsOrgTeamsTeamSlugPatchBodyType as OrgsOrgTeamsTeamSlugPatchBodyType, ) + from .group_1016 import ( + OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse, + ) from .group_1017 import ( OrgsOrgTeamsTeamSlugDiscussionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsPostBodyType, ) + from .group_1017 import ( + OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse, + ) from .group_1018 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType, ) + from .group_1018 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse, + ) from .group_1019 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType, ) + from .group_1019 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse, + ) from .group_1020 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, ) + from .group_1020 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse, + ) from .group_1021 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, ) + from .group_1021 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse, + ) from .group_1022 import ( OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType, ) + from .group_1022 import ( + OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse as OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse, + ) from .group_1023 import ( OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType as OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType, ) + from .group_1023 import ( + OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse as OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse, + ) from .group_1024 import ( OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType as OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType, ) + from .group_1024 import ( + OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse as OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse, + ) from .group_1025 import ( OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type as OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type, ) + from .group_1025 import ( + OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse as OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse, + ) from .group_1026 import ( OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType as OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType, ) + from .group_1026 import ( + OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse as OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse, + ) from .group_1027 import ( OrgsOrgSecurityProductEnablementPostBodyType as OrgsOrgSecurityProductEnablementPostBodyType, ) + from .group_1027 import ( + OrgsOrgSecurityProductEnablementPostBodyTypeForResponse as OrgsOrgSecurityProductEnablementPostBodyTypeForResponse, + ) from .group_1028 import ( ProjectsColumnsColumnIdPatchBodyType as ProjectsColumnsColumnIdPatchBodyType, ) + from .group_1028 import ( + ProjectsColumnsColumnIdPatchBodyTypeForResponse as ProjectsColumnsColumnIdPatchBodyTypeForResponse, + ) from .group_1029 import ( ProjectsColumnsColumnIdMovesPostBodyType as ProjectsColumnsColumnIdMovesPostBodyType, ) + from .group_1029 import ( + ProjectsColumnsColumnIdMovesPostBodyTypeForResponse as ProjectsColumnsColumnIdMovesPostBodyTypeForResponse, + ) from .group_1030 import ( ProjectsColumnsColumnIdMovesPostResponse201Type as ProjectsColumnsColumnIdMovesPostResponse201Type, ) + from .group_1030 import ( + ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse as ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse, + ) from .group_1031 import ( ProjectsProjectIdCollaboratorsUsernamePutBodyType as ProjectsProjectIdCollaboratorsUsernamePutBodyType, ) + from .group_1031 import ( + ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse as ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_1032 import ( ReposOwnerRepoDeleteResponse403Type as ReposOwnerRepoDeleteResponse403Type, ) + from .group_1032 import ( + ReposOwnerRepoDeleteResponse403TypeForResponse as ReposOwnerRepoDeleteResponse403TypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse, + ) from .group_1033 import ( ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType, ) + from .group_1033 import ( + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse as ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse, + ) from .group_1033 import ReposOwnerRepoPatchBodyType as ReposOwnerRepoPatchBodyType + from .group_1033 import ( + ReposOwnerRepoPatchBodyTypeForResponse as ReposOwnerRepoPatchBodyTypeForResponse, + ) from .group_1034 import ( ReposOwnerRepoActionsArtifactsGetResponse200Type as ReposOwnerRepoActionsArtifactsGetResponse200Type, ) + from .group_1034 import ( + ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse as ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse, + ) from .group_1035 import ( ReposOwnerRepoActionsJobsJobIdRerunPostBodyType as ReposOwnerRepoActionsJobsJobIdRerunPostBodyType, ) + from .group_1035 import ( + ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse as ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse, + ) from .group_1036 import ( ReposOwnerRepoActionsOidcCustomizationSubPutBodyType as ReposOwnerRepoActionsOidcCustomizationSubPutBodyType, ) + from .group_1036 import ( + ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse as ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse, + ) from .group_1037 import ( ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type as ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type, ) + from .group_1037 import ( + ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse as ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse, + ) from .group_1038 import ( ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type as ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type, ) + from .group_1038 import ( + ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse as ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse, + ) from .group_1039 import ( ReposOwnerRepoActionsPermissionsPutBodyType as ReposOwnerRepoActionsPermissionsPutBodyType, ) + from .group_1039 import ( + ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse as ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse, + ) from .group_1040 import ( ReposOwnerRepoActionsRunnersGetResponse200Type as ReposOwnerRepoActionsRunnersGetResponse200Type, ) + from .group_1040 import ( + ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse as ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse, + ) from .group_1041 import ( ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType as ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType, ) + from .group_1041 import ( + ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse as ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse, + ) from .group_1042 import ( ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType as ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType, ) + from .group_1042 import ( + ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse as ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse, + ) from .group_1043 import ( ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType as ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType, ) + from .group_1043 import ( + ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse as ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse, + ) from .group_1044 import ( ReposOwnerRepoActionsRunsGetResponse200Type as ReposOwnerRepoActionsRunsGetResponse200Type, ) + from .group_1044 import ( + ReposOwnerRepoActionsRunsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsGetResponse200TypeForResponse, + ) from .group_1045 import ( ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type, ) + from .group_1045 import ( + ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse, + ) from .group_1046 import ( ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type, ) + from .group_1046 import ( + ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse, + ) from .group_1047 import ( ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type as ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type, ) + from .group_1047 import ( + ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse as ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse, + ) from .group_1048 import ( ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType as ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType, ) + from .group_1048 import ( + ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse, + ) from .group_1049 import ( ReposOwnerRepoActionsRunsRunIdRerunPostBodyType as ReposOwnerRepoActionsRunsRunIdRerunPostBodyType, ) + from .group_1049 import ( + ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse, + ) from .group_1050 import ( ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType as ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType, ) + from .group_1050 import ( + ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse as ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse, + ) from .group_1051 import ( ReposOwnerRepoActionsSecretsGetResponse200Type as ReposOwnerRepoActionsSecretsGetResponse200Type, ) + from .group_1051 import ( + ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse as ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse, + ) from .group_1052 import ( ReposOwnerRepoActionsSecretsSecretNamePutBodyType as ReposOwnerRepoActionsSecretsSecretNamePutBodyType, ) + from .group_1052 import ( + ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1053 import ( ReposOwnerRepoActionsVariablesGetResponse200Type as ReposOwnerRepoActionsVariablesGetResponse200Type, ) + from .group_1053 import ( + ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse as ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse, + ) from .group_1054 import ( ReposOwnerRepoActionsVariablesPostBodyType as ReposOwnerRepoActionsVariablesPostBodyType, ) + from .group_1054 import ( + ReposOwnerRepoActionsVariablesPostBodyTypeForResponse as ReposOwnerRepoActionsVariablesPostBodyTypeForResponse, + ) from .group_1055 import ( ReposOwnerRepoActionsVariablesNamePatchBodyType as ReposOwnerRepoActionsVariablesNamePatchBodyType, ) + from .group_1055 import ( + ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse as ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse, + ) from .group_1056 import ( ReposOwnerRepoActionsWorkflowsGetResponse200Type as ReposOwnerRepoActionsWorkflowsGetResponse200Type, ) + from .group_1056 import ( + ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse as ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse, + ) from .group_1056 import WorkflowType as WorkflowType + from .group_1056 import WorkflowTypeForResponse as WorkflowTypeForResponse from .group_1057 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType, ) + from .group_1057 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse, + ) from .group_1057 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType, ) + from .group_1057 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse, + ) from .group_1058 import ( ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type as ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type, ) + from .group_1058 import ( + ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse as ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse, + ) from .group_1059 import ( ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType as ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType, ) + from .group_1059 import ( + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1059 import ( ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType as ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType, ) + from .group_1059 import ( + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1059 import ( ReposOwnerRepoAttestationsPostBodyPropBundleType as ReposOwnerRepoAttestationsPostBodyPropBundleType, ) + from .group_1059 import ( + ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse as ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse, + ) from .group_1059 import ( ReposOwnerRepoAttestationsPostBodyType as ReposOwnerRepoAttestationsPostBodyType, ) + from .group_1059 import ( + ReposOwnerRepoAttestationsPostBodyTypeForResponse as ReposOwnerRepoAttestationsPostBodyTypeForResponse, + ) from .group_1060 import ( ReposOwnerRepoAttestationsPostResponse201Type as ReposOwnerRepoAttestationsPostResponse201Type, ) + from .group_1060 import ( + ReposOwnerRepoAttestationsPostResponse201TypeForResponse as ReposOwnerRepoAttestationsPostResponse201TypeForResponse, + ) from .group_1061 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_1061 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1061 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_1061 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1061 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_1061 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_1061 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_1061 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_1061 import ( ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type as ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type, ) + from .group_1061 import ( + ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse as ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_1062 import ( ReposOwnerRepoAutolinksPostBodyType as ReposOwnerRepoAutolinksPostBodyType, ) + from .group_1062 import ( + ReposOwnerRepoAutolinksPostBodyTypeForResponse as ReposOwnerRepoAutolinksPostBodyTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse, + ) from .group_1063 import ( ReposOwnerRepoBranchesBranchProtectionPutBodyType as ReposOwnerRepoBranchesBranchProtectionPutBodyType, ) + from .group_1063 import ( + ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse, + ) from .group_1064 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType, ) + from .group_1064 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse, + ) from .group_1064 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType, ) + from .group_1064 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse, + ) from .group_1064 import ( ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType, ) + from .group_1064 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse, + ) from .group_1065 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType, ) + from .group_1065 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse, + ) from .group_1065 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType, ) + from .group_1065 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse, + ) from .group_1066 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type, ) + from .group_1066 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse, + ) from .group_1067 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type, ) + from .group_1067 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse, + ) from .group_1068 import ( ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type, ) + from .group_1068 import ( + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse, + ) from .group_1069 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType, ) + from .group_1069 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse, + ) from .group_1070 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType, ) + from .group_1070 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse, + ) from .group_1071 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType, ) + from .group_1071 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse, + ) from .group_1072 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type, ) + from .group_1072 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse, + ) from .group_1073 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type, ) + from .group_1073 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse, + ) from .group_1074 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type, ) + from .group_1074 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse, + ) from .group_1075 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType, ) + from .group_1075 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse, + ) from .group_1076 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType, ) + from .group_1076 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse, + ) from .group_1077 import ( ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType, ) + from .group_1077 import ( + ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse as ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse, + ) from .group_1078 import ( ReposOwnerRepoBranchesBranchRenamePostBodyType as ReposOwnerRepoBranchesBranchRenamePostBodyType, ) + from .group_1078 import ( + ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse as ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse, + ) from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType as ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, ) + from .group_1079 import ( + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, + ) from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType as ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType, ) + from .group_1079 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse, + ) from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType as ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType, ) + from .group_1079 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse, + ) from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropOutputType as ReposOwnerRepoCheckRunsPostBodyPropOutputType, ) + from .group_1079 import ( + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse as ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, + ) from .group_1080 import ( ReposOwnerRepoCheckRunsPostBodyOneof0Type as ReposOwnerRepoCheckRunsPostBodyOneof0Type, ) + from .group_1080 import ( + ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse as ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse, + ) from .group_1081 import ( ReposOwnerRepoCheckRunsPostBodyOneof1Type as ReposOwnerRepoCheckRunsPostBodyOneof1Type, ) + from .group_1081 import ( + ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse as ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse, + ) from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, ) + from .group_1082 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, + ) from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType, ) + from .group_1082 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse, + ) from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType, ) + from .group_1082 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse, + ) from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, ) + from .group_1082 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, + ) from .group_1083 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type, ) + from .group_1083 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse, + ) from .group_1084 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type, ) + from .group_1084 import ( + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse as ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse, + ) from .group_1085 import ( ReposOwnerRepoCheckSuitesPostBodyType as ReposOwnerRepoCheckSuitesPostBodyType, ) + from .group_1085 import ( + ReposOwnerRepoCheckSuitesPostBodyTypeForResponse as ReposOwnerRepoCheckSuitesPostBodyTypeForResponse, + ) from .group_1086 import ( ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType as ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType, ) + from .group_1086 import ( + ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse as ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse, + ) from .group_1086 import ( ReposOwnerRepoCheckSuitesPreferencesPatchBodyType as ReposOwnerRepoCheckSuitesPreferencesPatchBodyType, ) + from .group_1086 import ( + ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse as ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse, + ) from .group_1087 import ( ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type as ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type, ) + from .group_1087 import ( + ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse as ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse, + ) from .group_1088 import ( ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType as ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType, ) + from .group_1088 import ( + ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse, + ) from .group_1089 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type, ) + from .group_1089 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse, + ) from .group_1090 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type, ) + from .group_1090 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse, + ) from .group_1091 import ( ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type, ) + from .group_1091 import ( + ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse as ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse, + ) from .group_1092 import ( ReposOwnerRepoCodeScanningSarifsPostBodyType as ReposOwnerRepoCodeScanningSarifsPostBodyType, ) + from .group_1092 import ( + ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse as ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse, + ) from .group_1093 import ( ReposOwnerRepoCodespacesGetResponse200Type as ReposOwnerRepoCodespacesGetResponse200Type, ) + from .group_1093 import ( + ReposOwnerRepoCodespacesGetResponse200TypeForResponse as ReposOwnerRepoCodespacesGetResponse200TypeForResponse, + ) from .group_1094 import ( ReposOwnerRepoCodespacesPostBodyType as ReposOwnerRepoCodespacesPostBodyType, ) + from .group_1094 import ( + ReposOwnerRepoCodespacesPostBodyTypeForResponse as ReposOwnerRepoCodespacesPostBodyTypeForResponse, + ) from .group_1095 import ( ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType as ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType, ) + from .group_1095 import ( + ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse as ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse, + ) from .group_1095 import ( ReposOwnerRepoCodespacesDevcontainersGetResponse200Type as ReposOwnerRepoCodespacesDevcontainersGetResponse200Type, ) + from .group_1095 import ( + ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse as ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse, + ) from .group_1096 import ( ReposOwnerRepoCodespacesMachinesGetResponse200Type as ReposOwnerRepoCodespacesMachinesGetResponse200Type, ) + from .group_1096 import ( + ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse as ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse, + ) from .group_1097 import ( ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType as ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType, ) + from .group_1097 import ( + ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse as ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse, + ) from .group_1097 import ( ReposOwnerRepoCodespacesNewGetResponse200Type as ReposOwnerRepoCodespacesNewGetResponse200Type, ) + from .group_1097 import ( + ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse as ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse, + ) from .group_1098 import RepoCodespacesSecretType as RepoCodespacesSecretType + from .group_1098 import ( + RepoCodespacesSecretTypeForResponse as RepoCodespacesSecretTypeForResponse, + ) from .group_1098 import ( ReposOwnerRepoCodespacesSecretsGetResponse200Type as ReposOwnerRepoCodespacesSecretsGetResponse200Type, ) + from .group_1098 import ( + ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse as ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_1099 import ( ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType as ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType, ) + from .group_1099 import ( + ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1100 import ( ReposOwnerRepoCollaboratorsUsernamePutBodyType as ReposOwnerRepoCollaboratorsUsernamePutBodyType, ) + from .group_1100 import ( + ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse as ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse, + ) from .group_1101 import ( ReposOwnerRepoCommentsCommentIdPatchBodyType as ReposOwnerRepoCommentsCommentIdPatchBodyType, ) + from .group_1101 import ( + ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1102 import ( ReposOwnerRepoCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoCommentsCommentIdReactionsPostBodyType, ) + from .group_1102 import ( + ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1103 import ( ReposOwnerRepoCommitsCommitShaCommentsPostBodyType as ReposOwnerRepoCommitsCommitShaCommentsPostBodyType, ) + from .group_1103 import ( + ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse as ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse, + ) from .group_1104 import ( ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type as ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type, ) + from .group_1104 import ( + ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse as ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse, + ) from .group_1105 import ( ReposOwnerRepoContentsPathPutBodyPropAuthorType as ReposOwnerRepoContentsPathPutBodyPropAuthorType, ) + from .group_1105 import ( + ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse as ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse, + ) from .group_1105 import ( ReposOwnerRepoContentsPathPutBodyPropCommitterType as ReposOwnerRepoContentsPathPutBodyPropCommitterType, ) + from .group_1105 import ( + ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse as ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse, + ) from .group_1105 import ( ReposOwnerRepoContentsPathPutBodyType as ReposOwnerRepoContentsPathPutBodyType, ) + from .group_1105 import ( + ReposOwnerRepoContentsPathPutBodyTypeForResponse as ReposOwnerRepoContentsPathPutBodyTypeForResponse, + ) from .group_1106 import ( ReposOwnerRepoContentsPathDeleteBodyPropAuthorType as ReposOwnerRepoContentsPathDeleteBodyPropAuthorType, ) + from .group_1106 import ( + ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse, + ) from .group_1106 import ( ReposOwnerRepoContentsPathDeleteBodyPropCommitterType as ReposOwnerRepoContentsPathDeleteBodyPropCommitterType, ) + from .group_1106 import ( + ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse, + ) from .group_1106 import ( ReposOwnerRepoContentsPathDeleteBodyType as ReposOwnerRepoContentsPathDeleteBodyType, ) + from .group_1106 import ( + ReposOwnerRepoContentsPathDeleteBodyTypeForResponse as ReposOwnerRepoContentsPathDeleteBodyTypeForResponse, + ) from .group_1107 import ( ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType as ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType, ) + from .group_1107 import ( + ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse as ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse, + ) from .group_1108 import DependabotSecretType as DependabotSecretType + from .group_1108 import ( + DependabotSecretTypeForResponse as DependabotSecretTypeForResponse, + ) from .group_1108 import ( ReposOwnerRepoDependabotSecretsGetResponse200Type as ReposOwnerRepoDependabotSecretsGetResponse200Type, ) + from .group_1108 import ( + ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse as ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse, + ) from .group_1109 import ( ReposOwnerRepoDependabotSecretsSecretNamePutBodyType as ReposOwnerRepoDependabotSecretsSecretNamePutBodyType, ) + from .group_1109 import ( + ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1110 import ( ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type as ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type, ) + from .group_1110 import ( + ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse as ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse, + ) from .group_1111 import ( ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type as ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type, ) + from .group_1111 import ( + ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse as ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse, + ) from .group_1111 import ( ReposOwnerRepoDeploymentsPostBodyType as ReposOwnerRepoDeploymentsPostBodyType, ) + from .group_1111 import ( + ReposOwnerRepoDeploymentsPostBodyTypeForResponse as ReposOwnerRepoDeploymentsPostBodyTypeForResponse, + ) from .group_1112 import ( ReposOwnerRepoDeploymentsPostResponse202Type as ReposOwnerRepoDeploymentsPostResponse202Type, ) + from .group_1112 import ( + ReposOwnerRepoDeploymentsPostResponse202TypeForResponse as ReposOwnerRepoDeploymentsPostResponse202TypeForResponse, + ) from .group_1113 import ( ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType as ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType, ) + from .group_1113 import ( + ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse as ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse, + ) from .group_1114 import ( ReposOwnerRepoDispatchesPostBodyPropClientPayloadType as ReposOwnerRepoDispatchesPostBodyPropClientPayloadType, ) + from .group_1114 import ( + ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse as ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse, + ) from .group_1114 import ( ReposOwnerRepoDispatchesPostBodyType as ReposOwnerRepoDispatchesPostBodyType, ) + from .group_1114 import ( + ReposOwnerRepoDispatchesPostBodyTypeForResponse as ReposOwnerRepoDispatchesPostBodyTypeForResponse, + ) from .group_1115 import ( ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType, ) + from .group_1115 import ( + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse, + ) from .group_1115 import ( ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType, ) + from .group_1115 import ( + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse, + ) from .group_1116 import DeploymentBranchPolicyType as DeploymentBranchPolicyType + from .group_1116 import ( + DeploymentBranchPolicyTypeForResponse as DeploymentBranchPolicyTypeForResponse, + ) from .group_1116 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type, ) + from .group_1116 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse, + ) from .group_1117 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType, ) + from .group_1117 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse, + ) from .group_1118 import ( ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type, ) + from .group_1118 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse, + ) from .group_1119 import ( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type, ) + from .group_1119 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse, + ) from .group_1120 import ( ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType, ) + from .group_1120 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1121 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type, ) + from .group_1121 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse, + ) from .group_1122 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType, ) + from .group_1122 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse, + ) from .group_1123 import ( ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType, ) + from .group_1123 import ( + ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse as ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse, + ) from .group_1124 import ( ReposOwnerRepoForksPostBodyType as ReposOwnerRepoForksPostBodyType, ) + from .group_1124 import ( + ReposOwnerRepoForksPostBodyTypeForResponse as ReposOwnerRepoForksPostBodyTypeForResponse, + ) from .group_1125 import ( ReposOwnerRepoGitBlobsPostBodyType as ReposOwnerRepoGitBlobsPostBodyType, ) + from .group_1125 import ( + ReposOwnerRepoGitBlobsPostBodyTypeForResponse as ReposOwnerRepoGitBlobsPostBodyTypeForResponse, + ) from .group_1126 import ( ReposOwnerRepoGitCommitsPostBodyPropAuthorType as ReposOwnerRepoGitCommitsPostBodyPropAuthorType, ) + from .group_1126 import ( + ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse as ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse, + ) from .group_1126 import ( ReposOwnerRepoGitCommitsPostBodyPropCommitterType as ReposOwnerRepoGitCommitsPostBodyPropCommitterType, ) + from .group_1126 import ( + ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse as ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse, + ) from .group_1126 import ( ReposOwnerRepoGitCommitsPostBodyType as ReposOwnerRepoGitCommitsPostBodyType, ) + from .group_1126 import ( + ReposOwnerRepoGitCommitsPostBodyTypeForResponse as ReposOwnerRepoGitCommitsPostBodyTypeForResponse, + ) from .group_1127 import ( ReposOwnerRepoGitRefsPostBodyType as ReposOwnerRepoGitRefsPostBodyType, ) + from .group_1127 import ( + ReposOwnerRepoGitRefsPostBodyTypeForResponse as ReposOwnerRepoGitRefsPostBodyTypeForResponse, + ) from .group_1128 import ( ReposOwnerRepoGitRefsRefPatchBodyType as ReposOwnerRepoGitRefsRefPatchBodyType, ) + from .group_1128 import ( + ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse as ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse, + ) from .group_1129 import ( ReposOwnerRepoGitTagsPostBodyPropTaggerType as ReposOwnerRepoGitTagsPostBodyPropTaggerType, ) + from .group_1129 import ( + ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse as ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse, + ) from .group_1129 import ( ReposOwnerRepoGitTagsPostBodyType as ReposOwnerRepoGitTagsPostBodyType, ) + from .group_1129 import ( + ReposOwnerRepoGitTagsPostBodyTypeForResponse as ReposOwnerRepoGitTagsPostBodyTypeForResponse, + ) from .group_1130 import ( ReposOwnerRepoGitTreesPostBodyPropTreeItemsType as ReposOwnerRepoGitTreesPostBodyPropTreeItemsType, ) + from .group_1130 import ( + ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse as ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse, + ) from .group_1130 import ( ReposOwnerRepoGitTreesPostBodyType as ReposOwnerRepoGitTreesPostBodyType, ) + from .group_1130 import ( + ReposOwnerRepoGitTreesPostBodyTypeForResponse as ReposOwnerRepoGitTreesPostBodyTypeForResponse, + ) from .group_1131 import ( ReposOwnerRepoHooksPostBodyPropConfigType as ReposOwnerRepoHooksPostBodyPropConfigType, ) + from .group_1131 import ( + ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse as ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse, + ) from .group_1131 import ( ReposOwnerRepoHooksPostBodyType as ReposOwnerRepoHooksPostBodyType, ) + from .group_1131 import ( + ReposOwnerRepoHooksPostBodyTypeForResponse as ReposOwnerRepoHooksPostBodyTypeForResponse, + ) from .group_1132 import ( ReposOwnerRepoHooksHookIdPatchBodyType as ReposOwnerRepoHooksHookIdPatchBodyType, ) + from .group_1132 import ( + ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse as ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse, + ) from .group_1133 import ( ReposOwnerRepoHooksHookIdConfigPatchBodyType as ReposOwnerRepoHooksHookIdConfigPatchBodyType, ) + from .group_1133 import ( + ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse as ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse, + ) from .group_1134 import ( ReposOwnerRepoImportPutBodyType as ReposOwnerRepoImportPutBodyType, ) + from .group_1134 import ( + ReposOwnerRepoImportPutBodyTypeForResponse as ReposOwnerRepoImportPutBodyTypeForResponse, + ) from .group_1135 import ( ReposOwnerRepoImportPatchBodyType as ReposOwnerRepoImportPatchBodyType, ) + from .group_1135 import ( + ReposOwnerRepoImportPatchBodyTypeForResponse as ReposOwnerRepoImportPatchBodyTypeForResponse, + ) from .group_1136 import ( ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType as ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType, ) + from .group_1136 import ( + ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse as ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse, + ) from .group_1137 import ( ReposOwnerRepoImportLfsPatchBodyType as ReposOwnerRepoImportLfsPatchBodyType, ) + from .group_1137 import ( + ReposOwnerRepoImportLfsPatchBodyTypeForResponse as ReposOwnerRepoImportLfsPatchBodyTypeForResponse, + ) from .group_1138 import ( ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type as ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type, ) + from .group_1138 import ( + ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse as ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_1139 import ( ReposOwnerRepoInvitationsInvitationIdPatchBodyType as ReposOwnerRepoInvitationsInvitationIdPatchBodyType, ) + from .group_1139 import ( + ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse as ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse, + ) from .group_1140 import ( ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type as ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type, ) + from .group_1140 import ( + ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse as ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse, + ) from .group_1140 import ( ReposOwnerRepoIssuesPostBodyType as ReposOwnerRepoIssuesPostBodyType, ) + from .group_1140 import ( + ReposOwnerRepoIssuesPostBodyTypeForResponse as ReposOwnerRepoIssuesPostBodyTypeForResponse, + ) from .group_1141 import ( ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType as ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType, ) + from .group_1141 import ( + ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1142 import ( ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType, ) + from .group_1142 import ( + ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1143 import ( ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type as ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type, ) + from .group_1143 import ( + ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse as ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse, + ) from .group_1143 import ( ReposOwnerRepoIssuesIssueNumberPatchBodyType as ReposOwnerRepoIssuesIssueNumberPatchBodyType, ) + from .group_1143 import ( + ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse, + ) from .group_1144 import ( ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType as ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType, ) + from .group_1144 import ( + ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse, + ) from .group_1145 import ( ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType as ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType, ) + from .group_1145 import ( + ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse, + ) from .group_1146 import ( ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType as ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType, ) + from .group_1146 import ( + ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse, + ) from .group_1147 import ( ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType as ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType, ) + from .group_1147 import ( + ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse, + ) from .group_1148 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type, ) + from .group_1148 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse, + ) from .group_1149 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType, ) + from .group_1149 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse, + ) from .group_1149 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type, ) + from .group_1149 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse, + ) from .group_1150 import ( ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType, ) + from .group_1150 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse, + ) from .group_1151 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type, ) + from .group_1151 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse, + ) from .group_1152 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType, ) + from .group_1152 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse, + ) from .group_1152 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type, ) + from .group_1152 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse, + ) from .group_1153 import ( ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType, ) + from .group_1153 import ( + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse as ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse, + ) from .group_1154 import ( ReposOwnerRepoIssuesIssueNumberLockPutBodyType as ReposOwnerRepoIssuesIssueNumberLockPutBodyType, ) + from .group_1154 import ( + ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse, + ) from .group_1155 import ( ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType as ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType, ) + from .group_1155 import ( + ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse, + ) from .group_1156 import ( ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType as ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType, ) + from .group_1156 import ( + ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse, + ) from .group_1157 import ( ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType as ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType, ) + from .group_1157 import ( + ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse, + ) from .group_1158 import ( ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType as ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType, ) + from .group_1158 import ( + ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse as ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse, + ) from .group_1159 import ( ReposOwnerRepoKeysPostBodyType as ReposOwnerRepoKeysPostBodyType, ) + from .group_1159 import ( + ReposOwnerRepoKeysPostBodyTypeForResponse as ReposOwnerRepoKeysPostBodyTypeForResponse, + ) from .group_1160 import ( ReposOwnerRepoLabelsPostBodyType as ReposOwnerRepoLabelsPostBodyType, ) + from .group_1160 import ( + ReposOwnerRepoLabelsPostBodyTypeForResponse as ReposOwnerRepoLabelsPostBodyTypeForResponse, + ) from .group_1161 import ( ReposOwnerRepoLabelsNamePatchBodyType as ReposOwnerRepoLabelsNamePatchBodyType, ) + from .group_1161 import ( + ReposOwnerRepoLabelsNamePatchBodyTypeForResponse as ReposOwnerRepoLabelsNamePatchBodyTypeForResponse, + ) from .group_1162 import ( ReposOwnerRepoMergeUpstreamPostBodyType as ReposOwnerRepoMergeUpstreamPostBodyType, ) + from .group_1162 import ( + ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse as ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse, + ) from .group_1163 import ( ReposOwnerRepoMergesPostBodyType as ReposOwnerRepoMergesPostBodyType, ) + from .group_1163 import ( + ReposOwnerRepoMergesPostBodyTypeForResponse as ReposOwnerRepoMergesPostBodyTypeForResponse, + ) from .group_1164 import ( ReposOwnerRepoMilestonesPostBodyType as ReposOwnerRepoMilestonesPostBodyType, ) + from .group_1164 import ( + ReposOwnerRepoMilestonesPostBodyTypeForResponse as ReposOwnerRepoMilestonesPostBodyTypeForResponse, + ) from .group_1165 import ( ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType as ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType, ) + from .group_1165 import ( + ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse as ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse, + ) from .group_1166 import ( ReposOwnerRepoNotificationsPutBodyType as ReposOwnerRepoNotificationsPutBodyType, ) + from .group_1166 import ( + ReposOwnerRepoNotificationsPutBodyTypeForResponse as ReposOwnerRepoNotificationsPutBodyTypeForResponse, + ) from .group_1167 import ( ReposOwnerRepoNotificationsPutResponse202Type as ReposOwnerRepoNotificationsPutResponse202Type, ) + from .group_1167 import ( + ReposOwnerRepoNotificationsPutResponse202TypeForResponse as ReposOwnerRepoNotificationsPutResponse202TypeForResponse, + ) from .group_1168 import ( ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type as ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, ) + from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse as ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ) from .group_1169 import ( ReposOwnerRepoPagesPutBodyAnyof0Type as ReposOwnerRepoPagesPutBodyAnyof0Type, ) + from .group_1169 import ( + ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse, + ) from .group_1170 import ( ReposOwnerRepoPagesPutBodyAnyof1Type as ReposOwnerRepoPagesPutBodyAnyof1Type, ) + from .group_1170 import ( + ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse, + ) from .group_1171 import ( ReposOwnerRepoPagesPutBodyAnyof2Type as ReposOwnerRepoPagesPutBodyAnyof2Type, ) + from .group_1171 import ( + ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse, + ) from .group_1172 import ( ReposOwnerRepoPagesPutBodyAnyof3Type as ReposOwnerRepoPagesPutBodyAnyof3Type, ) + from .group_1172 import ( + ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse, + ) from .group_1173 import ( ReposOwnerRepoPagesPutBodyAnyof4Type as ReposOwnerRepoPagesPutBodyAnyof4Type, ) + from .group_1173 import ( + ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse as ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse, + ) from .group_1174 import ( ReposOwnerRepoPagesPostBodyPropSourceType as ReposOwnerRepoPagesPostBodyPropSourceType, ) + from .group_1174 import ( + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse as ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, + ) from .group_1175 import ( ReposOwnerRepoPagesPostBodyAnyof0Type as ReposOwnerRepoPagesPostBodyAnyof0Type, ) + from .group_1175 import ( + ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse as ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse, + ) from .group_1176 import ( ReposOwnerRepoPagesPostBodyAnyof1Type as ReposOwnerRepoPagesPostBodyAnyof1Type, ) + from .group_1176 import ( + ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse as ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse, + ) from .group_1177 import ( ReposOwnerRepoPagesDeploymentsPostBodyType as ReposOwnerRepoPagesDeploymentsPostBodyType, ) + from .group_1177 import ( + ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse as ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse, + ) from .group_1178 import ( ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type as ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type, ) + from .group_1178 import ( + ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse as ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse, + ) from .group_1179 import ( ReposOwnerRepoPropertiesValuesPatchBodyType as ReposOwnerRepoPropertiesValuesPatchBodyType, ) + from .group_1179 import ( + ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse as ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse, + ) from .group_1180 import ( ReposOwnerRepoPullsPostBodyType as ReposOwnerRepoPullsPostBodyType, ) + from .group_1180 import ( + ReposOwnerRepoPullsPostBodyTypeForResponse as ReposOwnerRepoPullsPostBodyTypeForResponse, + ) from .group_1181 import ( ReposOwnerRepoPullsCommentsCommentIdPatchBodyType as ReposOwnerRepoPullsCommentsCommentIdPatchBodyType, ) + from .group_1181 import ( + ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse as ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse, + ) from .group_1182 import ( ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType as ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType, ) + from .group_1182 import ( + ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse as ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse, + ) from .group_1183 import ( ReposOwnerRepoPullsPullNumberPatchBodyType as ReposOwnerRepoPullsPullNumberPatchBodyType, ) + from .group_1183 import ( + ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse as ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse, + ) from .group_1184 import ( ReposOwnerRepoPullsPullNumberCodespacesPostBodyType as ReposOwnerRepoPullsPullNumberCodespacesPostBodyType, ) + from .group_1184 import ( + ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse, + ) from .group_1185 import ( ReposOwnerRepoPullsPullNumberCommentsPostBodyType as ReposOwnerRepoPullsPullNumberCommentsPostBodyType, ) + from .group_1185 import ( + ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse, + ) from .group_1186 import ( ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType as ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType, ) + from .group_1186 import ( + ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse, + ) from .group_1187 import ( ReposOwnerRepoPullsPullNumberMergePutBodyType as ReposOwnerRepoPullsPullNumberMergePutBodyType, ) + from .group_1187 import ( + ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse, + ) from .group_1188 import ( ReposOwnerRepoPullsPullNumberMergePutResponse405Type as ReposOwnerRepoPullsPullNumberMergePutResponse405Type, ) + from .group_1188 import ( + ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse as ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse, + ) from .group_1189 import ( ReposOwnerRepoPullsPullNumberMergePutResponse409Type as ReposOwnerRepoPullsPullNumberMergePutResponse409Type, ) + from .group_1189 import ( + ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse as ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse, + ) from .group_1190 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type, ) + from .group_1190 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse, + ) from .group_1191 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type, ) + from .group_1191 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse, + ) from .group_1192 import ( ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType as ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType, ) + from .group_1192 import ( + ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse as ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse, + ) from .group_1193 import ( ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType as ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType, ) + from .group_1193 import ( + ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse, + ) from .group_1193 import ( ReposOwnerRepoPullsPullNumberReviewsPostBodyType as ReposOwnerRepoPullsPullNumberReviewsPostBodyType, ) + from .group_1193 import ( + ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse, + ) from .group_1194 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType, ) + from .group_1194 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse, + ) from .group_1195 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType, ) + from .group_1195 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse, + ) from .group_1196 import ( ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType as ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType, ) + from .group_1196 import ( + ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse as ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse, + ) from .group_1197 import ( ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType as ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType, ) + from .group_1197 import ( + ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse as ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse, + ) from .group_1198 import ( ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type as ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type, ) + from .group_1198 import ( + ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse as ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse, + ) from .group_1199 import ( ReposOwnerRepoReleasesPostBodyType as ReposOwnerRepoReleasesPostBodyType, ) + from .group_1199 import ( + ReposOwnerRepoReleasesPostBodyTypeForResponse as ReposOwnerRepoReleasesPostBodyTypeForResponse, + ) from .group_1200 import ( ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType as ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType, ) + from .group_1200 import ( + ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse as ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse, + ) from .group_1201 import ( ReposOwnerRepoReleasesGenerateNotesPostBodyType as ReposOwnerRepoReleasesGenerateNotesPostBodyType, ) + from .group_1201 import ( + ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse as ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse, + ) from .group_1202 import ( ReposOwnerRepoReleasesReleaseIdPatchBodyType as ReposOwnerRepoReleasesReleaseIdPatchBodyType, ) + from .group_1202 import ( + ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse as ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse, + ) from .group_1203 import ( ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType as ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType, ) + from .group_1203 import ( + ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse as ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse, + ) from .group_1204 import ( ReposOwnerRepoRulesetsPostBodyType as ReposOwnerRepoRulesetsPostBodyType, ) + from .group_1204 import ( + ReposOwnerRepoRulesetsPostBodyTypeForResponse as ReposOwnerRepoRulesetsPostBodyTypeForResponse, + ) from .group_1205 import ( ReposOwnerRepoRulesetsRulesetIdPutBodyType as ReposOwnerRepoRulesetsRulesetIdPutBodyType, ) + from .group_1205 import ( + ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse as ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse, + ) from .group_1206 import ( ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type, ) + from .group_1206 import ( + ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse, + ) from .group_1207 import ( ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType as ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType, ) + from .group_1207 import ( + ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse as ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse, + ) from .group_1208 import ( ReposOwnerRepoStatusesShaPostBodyType as ReposOwnerRepoStatusesShaPostBodyType, ) + from .group_1208 import ( + ReposOwnerRepoStatusesShaPostBodyTypeForResponse as ReposOwnerRepoStatusesShaPostBodyTypeForResponse, + ) from .group_1209 import ( ReposOwnerRepoSubscriptionPutBodyType as ReposOwnerRepoSubscriptionPutBodyType, ) + from .group_1209 import ( + ReposOwnerRepoSubscriptionPutBodyTypeForResponse as ReposOwnerRepoSubscriptionPutBodyTypeForResponse, + ) from .group_1210 import ( ReposOwnerRepoTagsProtectionPostBodyType as ReposOwnerRepoTagsProtectionPostBodyType, ) + from .group_1210 import ( + ReposOwnerRepoTagsProtectionPostBodyTypeForResponse as ReposOwnerRepoTagsProtectionPostBodyTypeForResponse, + ) from .group_1211 import ( ReposOwnerRepoTopicsPutBodyType as ReposOwnerRepoTopicsPutBodyType, ) + from .group_1211 import ( + ReposOwnerRepoTopicsPutBodyTypeForResponse as ReposOwnerRepoTopicsPutBodyTypeForResponse, + ) from .group_1212 import ( ReposOwnerRepoTransferPostBodyType as ReposOwnerRepoTransferPostBodyType, ) + from .group_1212 import ( + ReposOwnerRepoTransferPostBodyTypeForResponse as ReposOwnerRepoTransferPostBodyTypeForResponse, + ) from .group_1213 import ( ReposTemplateOwnerTemplateRepoGeneratePostBodyType as ReposTemplateOwnerTemplateRepoGeneratePostBodyType, ) + from .group_1213 import ( + ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse as ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse, + ) from .group_1214 import TeamsTeamIdPatchBodyType as TeamsTeamIdPatchBodyType + from .group_1214 import ( + TeamsTeamIdPatchBodyTypeForResponse as TeamsTeamIdPatchBodyTypeForResponse, + ) from .group_1215 import ( TeamsTeamIdDiscussionsPostBodyType as TeamsTeamIdDiscussionsPostBodyType, ) + from .group_1215 import ( + TeamsTeamIdDiscussionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsPostBodyTypeForResponse, + ) from .group_1216 import ( TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType as TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType, ) + from .group_1216 import ( + TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse, + ) from .group_1217 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType, ) + from .group_1217 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse, + ) from .group_1218 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType, ) + from .group_1218 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse, + ) from .group_1219 import ( TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType, ) + from .group_1219 import ( + TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse, + ) from .group_1220 import ( TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType as TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType, ) + from .group_1220 import ( + TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse as TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse, + ) from .group_1221 import ( TeamsTeamIdMembershipsUsernamePutBodyType as TeamsTeamIdMembershipsUsernamePutBodyType, ) + from .group_1221 import ( + TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse as TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse, + ) from .group_1222 import ( TeamsTeamIdProjectsProjectIdPutBodyType as TeamsTeamIdProjectsProjectIdPutBodyType, ) + from .group_1222 import ( + TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse as TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse, + ) from .group_1223 import ( TeamsTeamIdProjectsProjectIdPutResponse403Type as TeamsTeamIdProjectsProjectIdPutResponse403Type, ) + from .group_1223 import ( + TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse as TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse, + ) from .group_1224 import ( TeamsTeamIdReposOwnerRepoPutBodyType as TeamsTeamIdReposOwnerRepoPutBodyType, ) + from .group_1224 import ( + TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse as TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse, + ) from .group_1225 import UserPatchBodyType as UserPatchBodyType + from .group_1225 import UserPatchBodyTypeForResponse as UserPatchBodyTypeForResponse from .group_1226 import ( UserCodespacesGetResponse200Type as UserCodespacesGetResponse200Type, ) + from .group_1226 import ( + UserCodespacesGetResponse200TypeForResponse as UserCodespacesGetResponse200TypeForResponse, + ) from .group_1227 import ( UserCodespacesPostBodyOneof0Type as UserCodespacesPostBodyOneof0Type, ) + from .group_1227 import ( + UserCodespacesPostBodyOneof0TypeForResponse as UserCodespacesPostBodyOneof0TypeForResponse, + ) from .group_1228 import ( UserCodespacesPostBodyOneof1PropPullRequestType as UserCodespacesPostBodyOneof1PropPullRequestType, ) + from .group_1228 import ( + UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse as UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse, + ) from .group_1228 import ( UserCodespacesPostBodyOneof1Type as UserCodespacesPostBodyOneof1Type, ) + from .group_1228 import ( + UserCodespacesPostBodyOneof1TypeForResponse as UserCodespacesPostBodyOneof1TypeForResponse, + ) from .group_1229 import CodespacesSecretType as CodespacesSecretType + from .group_1229 import ( + CodespacesSecretTypeForResponse as CodespacesSecretTypeForResponse, + ) from .group_1229 import ( UserCodespacesSecretsGetResponse200Type as UserCodespacesSecretsGetResponse200Type, ) + from .group_1229 import ( + UserCodespacesSecretsGetResponse200TypeForResponse as UserCodespacesSecretsGetResponse200TypeForResponse, + ) from .group_1230 import ( UserCodespacesSecretsSecretNamePutBodyType as UserCodespacesSecretsSecretNamePutBodyType, ) + from .group_1230 import ( + UserCodespacesSecretsSecretNamePutBodyTypeForResponse as UserCodespacesSecretsSecretNamePutBodyTypeForResponse, + ) from .group_1231 import ( UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type as UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type, ) + from .group_1231 import ( + UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse as UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse, + ) from .group_1232 import ( UserCodespacesSecretsSecretNameRepositoriesPutBodyType as UserCodespacesSecretsSecretNameRepositoriesPutBodyType, ) + from .group_1232 import ( + UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse as UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse, + ) from .group_1233 import ( UserCodespacesCodespaceNamePatchBodyType as UserCodespacesCodespaceNamePatchBodyType, ) + from .group_1233 import ( + UserCodespacesCodespaceNamePatchBodyTypeForResponse as UserCodespacesCodespaceNamePatchBodyTypeForResponse, + ) from .group_1234 import ( UserCodespacesCodespaceNameMachinesGetResponse200Type as UserCodespacesCodespaceNameMachinesGetResponse200Type, ) + from .group_1234 import ( + UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse as UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse, + ) from .group_1235 import ( UserCodespacesCodespaceNamePublishPostBodyType as UserCodespacesCodespaceNamePublishPostBodyType, ) + from .group_1235 import ( + UserCodespacesCodespaceNamePublishPostBodyTypeForResponse as UserCodespacesCodespaceNamePublishPostBodyTypeForResponse, + ) from .group_1236 import ( UserEmailVisibilityPatchBodyType as UserEmailVisibilityPatchBodyType, ) + from .group_1236 import ( + UserEmailVisibilityPatchBodyTypeForResponse as UserEmailVisibilityPatchBodyTypeForResponse, + ) from .group_1237 import UserEmailsPostBodyOneof0Type as UserEmailsPostBodyOneof0Type + from .group_1237 import ( + UserEmailsPostBodyOneof0TypeForResponse as UserEmailsPostBodyOneof0TypeForResponse, + ) from .group_1238 import ( UserEmailsDeleteBodyOneof0Type as UserEmailsDeleteBodyOneof0Type, ) + from .group_1238 import ( + UserEmailsDeleteBodyOneof0TypeForResponse as UserEmailsDeleteBodyOneof0TypeForResponse, + ) from .group_1239 import UserGpgKeysPostBodyType as UserGpgKeysPostBodyType + from .group_1239 import ( + UserGpgKeysPostBodyTypeForResponse as UserGpgKeysPostBodyTypeForResponse, + ) from .group_1240 import ( UserInstallationsGetResponse200Type as UserInstallationsGetResponse200Type, ) + from .group_1240 import ( + UserInstallationsGetResponse200TypeForResponse as UserInstallationsGetResponse200TypeForResponse, + ) from .group_1241 import ( UserInstallationsInstallationIdRepositoriesGetResponse200Type as UserInstallationsInstallationIdRepositoriesGetResponse200Type, ) + from .group_1241 import ( + UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse as UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse, + ) from .group_1242 import ( UserInteractionLimitsGetResponse200Anyof1Type as UserInteractionLimitsGetResponse200Anyof1Type, ) + from .group_1242 import ( + UserInteractionLimitsGetResponse200Anyof1TypeForResponse as UserInteractionLimitsGetResponse200Anyof1TypeForResponse, + ) from .group_1243 import UserKeysPostBodyType as UserKeysPostBodyType + from .group_1243 import ( + UserKeysPostBodyTypeForResponse as UserKeysPostBodyTypeForResponse, + ) from .group_1244 import ( UserMembershipsOrgsOrgPatchBodyType as UserMembershipsOrgsOrgPatchBodyType, ) + from .group_1244 import ( + UserMembershipsOrgsOrgPatchBodyTypeForResponse as UserMembershipsOrgsOrgPatchBodyTypeForResponse, + ) from .group_1245 import UserMigrationsPostBodyType as UserMigrationsPostBodyType + from .group_1245 import ( + UserMigrationsPostBodyTypeForResponse as UserMigrationsPostBodyTypeForResponse, + ) from .group_1246 import UserReposPostBodyType as UserReposPostBodyType + from .group_1246 import ( + UserReposPostBodyTypeForResponse as UserReposPostBodyTypeForResponse, + ) from .group_1247 import ( UserSocialAccountsPostBodyType as UserSocialAccountsPostBodyType, ) + from .group_1247 import ( + UserSocialAccountsPostBodyTypeForResponse as UserSocialAccountsPostBodyTypeForResponse, + ) from .group_1248 import ( UserSocialAccountsDeleteBodyType as UserSocialAccountsDeleteBodyType, ) + from .group_1248 import ( + UserSocialAccountsDeleteBodyTypeForResponse as UserSocialAccountsDeleteBodyTypeForResponse, + ) from .group_1249 import ( UserSshSigningKeysPostBodyType as UserSshSigningKeysPostBodyType, ) + from .group_1249 import ( + UserSshSigningKeysPostBodyTypeForResponse as UserSshSigningKeysPostBodyTypeForResponse, + ) from .group_1250 import ( UsersUsernameAttestationsBulkListPostBodyType as UsersUsernameAttestationsBulkListPostBodyType, ) + from .group_1250 import ( + UsersUsernameAttestationsBulkListPostBodyTypeForResponse as UsersUsernameAttestationsBulkListPostBodyTypeForResponse, + ) from .group_1251 import ( UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType as UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType, ) + from .group_1251 import ( + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse as UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse, + ) from .group_1251 import ( UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType as UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType, ) + from .group_1251 import ( + UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse as UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse, + ) from .group_1251 import ( UsersUsernameAttestationsBulkListPostResponse200Type as UsersUsernameAttestationsBulkListPostResponse200Type, ) + from .group_1251 import ( + UsersUsernameAttestationsBulkListPostResponse200TypeForResponse as UsersUsernameAttestationsBulkListPostResponse200TypeForResponse, + ) from .group_1252 import ( UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type as UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type, ) + from .group_1252 import ( + UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse as UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse, + ) from .group_1253 import ( UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type as UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type, ) + from .group_1253 import ( + UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse as UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse, + ) from .group_1254 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType, ) + from .group_1254 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse, + ) from .group_1254 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType, ) + from .group_1254 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse, + ) from .group_1254 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType, ) + from .group_1254 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse, + ) from .group_1254 import ( UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType, ) + from .group_1254 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse, + ) from .group_1254 import ( UsersUsernameAttestationsSubjectDigestGetResponse200Type as UsersUsernameAttestationsSubjectDigestGetResponse200Type, ) + from .group_1254 import ( + UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse as UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse, + ) from .group_1255 import ( UsersUsernameProjectsV2ProjectNumberItemsPostBodyType as UsersUsernameProjectsV2ProjectNumberItemsPostBodyType, ) + from .group_1255 import ( + UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse, + ) from .group_1256 import ( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType, ) + from .group_1256 import ( + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse, + ) from .group_1256 import ( UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType, ) + from .group_1256 import ( + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse as UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse, + ) else: __lazy_vars__ = { - ".group_0000": ("RootType",), + ".group_0000": ( + "RootType", + "RootTypeForResponse", + ), ".group_0001": ( "CvssSeveritiesType", + "CvssSeveritiesTypeForResponse", "CvssSeveritiesPropCvssV3Type", + "CvssSeveritiesPropCvssV3TypeForResponse", "CvssSeveritiesPropCvssV4Type", + "CvssSeveritiesPropCvssV4TypeForResponse", + ), + ".group_0002": ( + "SecurityAdvisoryEpssType", + "SecurityAdvisoryEpssTypeForResponse", + ), + ".group_0003": ( + "SimpleUserType", + "SimpleUserTypeForResponse", ), - ".group_0002": ("SecurityAdvisoryEpssType",), - ".group_0003": ("SimpleUserType",), ".group_0004": ( "GlobalAdvisoryType", + "GlobalAdvisoryTypeForResponse", "GlobalAdvisoryPropIdentifiersItemsType", + "GlobalAdvisoryPropIdentifiersItemsTypeForResponse", "GlobalAdvisoryPropCvssType", + "GlobalAdvisoryPropCvssTypeForResponse", "GlobalAdvisoryPropCwesItemsType", + "GlobalAdvisoryPropCwesItemsTypeForResponse", "VulnerabilityType", + "VulnerabilityTypeForResponse", "VulnerabilityPropPackageType", + "VulnerabilityPropPackageTypeForResponse", + ), + ".group_0005": ( + "GlobalAdvisoryPropCreditsItemsType", + "GlobalAdvisoryPropCreditsItemsTypeForResponse", + ), + ".group_0006": ( + "BasicErrorType", + "BasicErrorTypeForResponse", + ), + ".group_0007": ( + "ValidationErrorSimpleType", + "ValidationErrorSimpleTypeForResponse", + ), + ".group_0008": ( + "EnterpriseType", + "EnterpriseTypeForResponse", + ), + ".group_0009": ( + "IntegrationPropPermissionsType", + "IntegrationPropPermissionsTypeForResponse", + ), + ".group_0010": ( + "IntegrationType", + "IntegrationTypeForResponse", + ), + ".group_0011": ( + "WebhookConfigType", + "WebhookConfigTypeForResponse", + ), + ".group_0012": ( + "HookDeliveryItemType", + "HookDeliveryItemTypeForResponse", + ), + ".group_0013": ( + "ScimErrorType", + "ScimErrorTypeForResponse", ), - ".group_0005": ("GlobalAdvisoryPropCreditsItemsType",), - ".group_0006": ("BasicErrorType",), - ".group_0007": ("ValidationErrorSimpleType",), - ".group_0008": ("EnterpriseType",), - ".group_0009": ("IntegrationPropPermissionsType",), - ".group_0010": ("IntegrationType",), - ".group_0011": ("WebhookConfigType",), - ".group_0012": ("HookDeliveryItemType",), - ".group_0013": ("ScimErrorType",), ".group_0014": ( "ValidationErrorType", + "ValidationErrorTypeForResponse", "ValidationErrorPropErrorsItemsType", + "ValidationErrorPropErrorsItemsTypeForResponse", ), ".group_0015": ( "HookDeliveryType", + "HookDeliveryTypeForResponse", "HookDeliveryPropRequestType", + "HookDeliveryPropRequestTypeForResponse", "HookDeliveryPropRequestPropHeadersType", + "HookDeliveryPropRequestPropHeadersTypeForResponse", "HookDeliveryPropRequestPropPayloadType", + "HookDeliveryPropRequestPropPayloadTypeForResponse", "HookDeliveryPropResponseType", + "HookDeliveryPropResponseTypeForResponse", "HookDeliveryPropResponsePropHeadersType", + "HookDeliveryPropResponsePropHeadersTypeForResponse", + ), + ".group_0016": ( + "IntegrationInstallationRequestType", + "IntegrationInstallationRequestTypeForResponse", + ), + ".group_0017": ( + "AppPermissionsType", + "AppPermissionsTypeForResponse", + ), + ".group_0018": ( + "InstallationType", + "InstallationTypeForResponse", + ), + ".group_0019": ( + "LicenseSimpleType", + "LicenseSimpleTypeForResponse", ), - ".group_0016": ("IntegrationInstallationRequestType",), - ".group_0017": ("AppPermissionsType",), - ".group_0018": ("InstallationType",), - ".group_0019": ("LicenseSimpleType",), ".group_0020": ( "RepositoryType", + "RepositoryTypeForResponse", "RepositoryPropPermissionsType", + "RepositoryPropPermissionsTypeForResponse", "RepositoryPropCodeSearchIndexStatusType", + "RepositoryPropCodeSearchIndexStatusTypeForResponse", + ), + ".group_0021": ( + "InstallationTokenType", + "InstallationTokenTypeForResponse", + ), + ".group_0022": ( + "ScopedInstallationType", + "ScopedInstallationTypeForResponse", ), - ".group_0021": ("InstallationTokenType",), - ".group_0022": ("ScopedInstallationType",), ".group_0023": ( "AuthorizationType", + "AuthorizationTypeForResponse", "AuthorizationPropAppType", + "AuthorizationPropAppTypeForResponse", + ), + ".group_0024": ( + "SimpleClassroomRepositoryType", + "SimpleClassroomRepositoryTypeForResponse", ), - ".group_0024": ("SimpleClassroomRepositoryType",), ".group_0025": ( "ClassroomAssignmentType", + "ClassroomAssignmentTypeForResponse", "ClassroomType", + "ClassroomTypeForResponse", "SimpleClassroomOrganizationType", + "SimpleClassroomOrganizationTypeForResponse", ), ".group_0026": ( "ClassroomAcceptedAssignmentType", + "ClassroomAcceptedAssignmentTypeForResponse", "SimpleClassroomUserType", + "SimpleClassroomUserTypeForResponse", "SimpleClassroomAssignmentType", + "SimpleClassroomAssignmentTypeForResponse", "SimpleClassroomType", + "SimpleClassroomTypeForResponse", + ), + ".group_0027": ( + "ClassroomAssignmentGradeType", + "ClassroomAssignmentGradeTypeForResponse", ), - ".group_0027": ("ClassroomAssignmentGradeType",), ".group_0028": ( "CodeSecurityConfigurationType", + "CodeSecurityConfigurationTypeForResponse", "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType", + "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningOptionsType", + "CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType", + "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", + ), + ".group_0029": ( + "CodeScanningOptionsType", + "CodeScanningOptionsTypeForResponse", + ), + ".group_0030": ( + "CodeScanningDefaultSetupOptionsType", + "CodeScanningDefaultSetupOptionsTypeForResponse", + ), + ".group_0031": ( + "CodeSecurityDefaultConfigurationsItemsType", + "CodeSecurityDefaultConfigurationsItemsTypeForResponse", + ), + ".group_0032": ( + "SimpleRepositoryType", + "SimpleRepositoryTypeForResponse", + ), + ".group_0033": ( + "CodeSecurityConfigurationRepositoriesType", + "CodeSecurityConfigurationRepositoriesTypeForResponse", + ), + ".group_0034": ( + "DependabotAlertPackageType", + "DependabotAlertPackageTypeForResponse", ), - ".group_0029": ("CodeScanningOptionsType",), - ".group_0030": ("CodeScanningDefaultSetupOptionsType",), - ".group_0031": ("CodeSecurityDefaultConfigurationsItemsType",), - ".group_0032": ("SimpleRepositoryType",), - ".group_0033": ("CodeSecurityConfigurationRepositoriesType",), - ".group_0034": ("DependabotAlertPackageType",), ".group_0035": ( "DependabotAlertSecurityVulnerabilityType", + "DependabotAlertSecurityVulnerabilityTypeForResponse", "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType", + "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse", ), ".group_0036": ( "DependabotAlertSecurityAdvisoryType", + "DependabotAlertSecurityAdvisoryTypeForResponse", "DependabotAlertSecurityAdvisoryPropCvssType", + "DependabotAlertSecurityAdvisoryPropCvssTypeForResponse", "DependabotAlertSecurityAdvisoryPropCwesItemsType", + "DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropIdentifiersItemsType", + "DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropReferencesItemsType", + "DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse", + ), + ".group_0037": ( + "DependabotAlertWithRepositoryType", + "DependabotAlertWithRepositoryTypeForResponse", + ), + ".group_0038": ( + "DependabotAlertWithRepositoryPropDependencyType", + "DependabotAlertWithRepositoryPropDependencyTypeForResponse", + ), + ".group_0039": ( + "OrganizationSimpleType", + "OrganizationSimpleTypeForResponse", + ), + ".group_0040": ( + "MilestoneType", + "MilestoneTypeForResponse", + ), + ".group_0041": ( + "IssueTypeType", + "IssueTypeTypeForResponse", + ), + ".group_0042": ( + "ReactionRollupType", + "ReactionRollupTypeForResponse", ), - ".group_0037": ("DependabotAlertWithRepositoryType",), - ".group_0038": ("DependabotAlertWithRepositoryPropDependencyType",), - ".group_0039": ("OrganizationSimpleType",), - ".group_0040": ("MilestoneType",), - ".group_0041": ("IssueTypeType",), - ".group_0042": ("ReactionRollupType",), ".group_0043": ( "SubIssuesSummaryType", + "SubIssuesSummaryTypeForResponse", "IssueDependenciesSummaryType", + "IssueDependenciesSummaryTypeForResponse", ), ".group_0044": ( "IssueFieldValueType", + "IssueFieldValueTypeForResponse", "IssueFieldValuePropSingleSelectOptionType", + "IssueFieldValuePropSingleSelectOptionTypeForResponse", ), ".group_0045": ( "IssueType", + "IssueTypeForResponse", "IssuePropLabelsItemsOneof1Type", + "IssuePropLabelsItemsOneof1TypeForResponse", "IssuePropPullRequestType", + "IssuePropPullRequestTypeForResponse", + ), + ".group_0046": ( + "IssueCommentType", + "IssueCommentTypeForResponse", ), - ".group_0046": ("IssueCommentType",), ".group_0047": ( "EventPropPayloadType", + "EventPropPayloadTypeForResponse", "EventPropPayloadPropPagesItemsType", + "EventPropPayloadPropPagesItemsTypeForResponse", "EventType", + "EventTypeForResponse", "ActorType", + "ActorTypeForResponse", "EventPropRepoType", + "EventPropRepoTypeForResponse", ), ".group_0048": ( "FeedType", + "FeedTypeForResponse", "FeedPropLinksType", + "FeedPropLinksTypeForResponse", "LinkWithTypeType", + "LinkWithTypeTypeForResponse", ), ".group_0049": ( "BaseGistType", + "BaseGistTypeForResponse", "BaseGistPropFilesType", + "BaseGistPropFilesTypeForResponse", ), ".group_0050": ( "GistHistoryType", + "GistHistoryTypeForResponse", "GistHistoryPropChangeStatusType", + "GistHistoryPropChangeStatusTypeForResponse", "GistSimplePropForkOfType", + "GistSimplePropForkOfTypeForResponse", "GistSimplePropForkOfPropFilesType", + "GistSimplePropForkOfPropFilesTypeForResponse", ), ".group_0051": ( "GistSimpleType", + "GistSimpleTypeForResponse", "GistSimplePropFilesType", + "GistSimplePropFilesTypeForResponse", "GistSimplePropForksItemsType", + "GistSimplePropForksItemsTypeForResponse", "PublicUserType", + "PublicUserTypeForResponse", "PublicUserPropPlanType", + "PublicUserPropPlanTypeForResponse", + ), + ".group_0052": ( + "GistCommentType", + "GistCommentTypeForResponse", ), - ".group_0052": ("GistCommentType",), ".group_0053": ( "GistCommitType", + "GistCommitTypeForResponse", "GistCommitPropChangeStatusType", + "GistCommitPropChangeStatusTypeForResponse", + ), + ".group_0054": ( + "GitignoreTemplateType", + "GitignoreTemplateTypeForResponse", + ), + ".group_0055": ( + "LicenseType", + "LicenseTypeForResponse", + ), + ".group_0056": ( + "MarketplaceListingPlanType", + "MarketplaceListingPlanTypeForResponse", + ), + ".group_0057": ( + "MarketplacePurchaseType", + "MarketplacePurchaseTypeForResponse", ), - ".group_0054": ("GitignoreTemplateType",), - ".group_0055": ("LicenseType",), - ".group_0056": ("MarketplaceListingPlanType",), - ".group_0057": ("MarketplacePurchaseType",), ".group_0058": ( "MarketplacePurchasePropMarketplacePendingChangeType", + "MarketplacePurchasePropMarketplacePendingChangeTypeForResponse", "MarketplacePurchasePropMarketplacePurchaseType", + "MarketplacePurchasePropMarketplacePurchaseTypeForResponse", ), ".group_0059": ( "ApiOverviewType", + "ApiOverviewTypeForResponse", "ApiOverviewPropSshKeyFingerprintsType", + "ApiOverviewPropSshKeyFingerprintsTypeForResponse", "ApiOverviewPropDomainsType", + "ApiOverviewPropDomainsTypeForResponse", "ApiOverviewPropDomainsPropActionsInboundType", + "ApiOverviewPropDomainsPropActionsInboundTypeForResponse", "ApiOverviewPropDomainsPropArtifactAttestationsType", + "ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse", ), ".group_0060": ( "SecurityAndAnalysisType", + "SecurityAndAnalysisTypeForResponse", "SecurityAndAnalysisPropAdvancedSecurityType", + "SecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "SecurityAndAnalysisPropCodeSecurityType", + "SecurityAndAnalysisPropCodeSecurityTypeForResponse", "SecurityAndAnalysisPropDependabotSecurityUpdatesType", + "SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse", "SecurityAndAnalysisPropSecretScanningType", + "SecurityAndAnalysisPropSecretScanningTypeForResponse", "SecurityAndAnalysisPropSecretScanningPushProtectionType", + "SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "SecurityAndAnalysisPropSecretScanningAiDetectionType", + "SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", ), ".group_0061": ( "MinimalRepositoryType", + "MinimalRepositoryTypeForResponse", "CodeOfConductType", + "CodeOfConductTypeForResponse", "MinimalRepositoryPropPermissionsType", + "MinimalRepositoryPropPermissionsTypeForResponse", "MinimalRepositoryPropLicenseType", + "MinimalRepositoryPropLicenseTypeForResponse", "MinimalRepositoryPropCustomPropertiesType", + "MinimalRepositoryPropCustomPropertiesTypeForResponse", ), ".group_0062": ( "ThreadType", + "ThreadTypeForResponse", "ThreadPropSubjectType", + "ThreadPropSubjectTypeForResponse", + ), + ".group_0063": ( + "ThreadSubscriptionType", + "ThreadSubscriptionTypeForResponse", + ), + ".group_0064": ( + "DependabotRepositoryAccessDetailsType", + "DependabotRepositoryAccessDetailsTypeForResponse", + ), + ".group_0065": ( + "CustomPropertyValueType", + "CustomPropertyValueTypeForResponse", ), - ".group_0063": ("ThreadSubscriptionType",), - ".group_0064": ("DependabotRepositoryAccessDetailsType",), - ".group_0065": ("CustomPropertyValueType",), ".group_0066": ( "GetAllBudgetsType", + "GetAllBudgetsTypeForResponse", "BudgetType", + "BudgetTypeForResponse", "BudgetPropBudgetAlertingType", + "BudgetPropBudgetAlertingTypeForResponse", ), ".group_0067": ( "GetBudgetType", + "GetBudgetTypeForResponse", "GetBudgetPropBudgetAlertingType", + "GetBudgetPropBudgetAlertingTypeForResponse", + ), + ".group_0068": ( + "DeleteBudgetType", + "DeleteBudgetTypeForResponse", ), - ".group_0068": ("DeleteBudgetType",), ".group_0069": ( "BillingPremiumRequestUsageReportOrgType", + "BillingPremiumRequestUsageReportOrgTypeForResponse", "BillingPremiumRequestUsageReportOrgPropTimePeriodType", + "BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse", ), ".group_0070": ( "BillingUsageReportType", + "BillingUsageReportTypeForResponse", "BillingUsageReportPropUsageItemsItemsType", + "BillingUsageReportPropUsageItemsItemsTypeForResponse", ), ".group_0071": ( "BillingUsageSummaryReportOrgType", + "BillingUsageSummaryReportOrgTypeForResponse", "BillingUsageSummaryReportOrgPropTimePeriodType", + "BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse", "BillingUsageSummaryReportOrgPropUsageItemsItemsType", + "BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse", ), ".group_0072": ( "OrganizationFullType", + "OrganizationFullTypeForResponse", "OrganizationFullPropPlanType", + "OrganizationFullPropPlanTypeForResponse", + ), + ".group_0073": ( + "ActionsCacheUsageOrgEnterpriseType", + "ActionsCacheUsageOrgEnterpriseTypeForResponse", + ), + ".group_0074": ( + "ActionsHostedRunnerMachineSpecType", + "ActionsHostedRunnerMachineSpecTypeForResponse", ), - ".group_0073": ("ActionsCacheUsageOrgEnterpriseType",), - ".group_0074": ("ActionsHostedRunnerMachineSpecType",), ".group_0075": ( "ActionsHostedRunnerType", + "ActionsHostedRunnerTypeForResponse", "ActionsHostedRunnerPoolImageType", + "ActionsHostedRunnerPoolImageTypeForResponse", "PublicIpType", + "PublicIpTypeForResponse", + ), + ".group_0076": ( + "ActionsHostedRunnerCuratedImageType", + "ActionsHostedRunnerCuratedImageTypeForResponse", ), - ".group_0076": ("ActionsHostedRunnerCuratedImageType",), ".group_0077": ( "ActionsHostedRunnerLimitsType", + "ActionsHostedRunnerLimitsTypeForResponse", "ActionsHostedRunnerLimitsPropPublicIpsType", + "ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse", + ), + ".group_0078": ( + "OidcCustomSubType", + "OidcCustomSubTypeForResponse", + ), + ".group_0079": ( + "ActionsOrganizationPermissionsType", + "ActionsOrganizationPermissionsTypeForResponse", + ), + ".group_0080": ( + "ActionsArtifactAndLogRetentionResponseType", + "ActionsArtifactAndLogRetentionResponseTypeForResponse", + ), + ".group_0081": ( + "ActionsArtifactAndLogRetentionType", + "ActionsArtifactAndLogRetentionTypeForResponse", + ), + ".group_0082": ( + "ActionsForkPrContributorApprovalType", + "ActionsForkPrContributorApprovalTypeForResponse", + ), + ".group_0083": ( + "ActionsForkPrWorkflowsPrivateReposType", + "ActionsForkPrWorkflowsPrivateReposTypeForResponse", + ), + ".group_0084": ( + "ActionsForkPrWorkflowsPrivateReposRequestType", + "ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse", + ), + ".group_0085": ( + "SelectedActionsType", + "SelectedActionsTypeForResponse", + ), + ".group_0086": ( + "SelfHostedRunnersSettingsType", + "SelfHostedRunnersSettingsTypeForResponse", + ), + ".group_0087": ( + "ActionsGetDefaultWorkflowPermissionsType", + "ActionsGetDefaultWorkflowPermissionsTypeForResponse", + ), + ".group_0088": ( + "ActionsSetDefaultWorkflowPermissionsType", + "ActionsSetDefaultWorkflowPermissionsTypeForResponse", + ), + ".group_0089": ( + "RunnerLabelType", + "RunnerLabelTypeForResponse", + ), + ".group_0090": ( + "RunnerType", + "RunnerTypeForResponse", + ), + ".group_0091": ( + "RunnerApplicationType", + "RunnerApplicationTypeForResponse", ), - ".group_0078": ("OidcCustomSubType",), - ".group_0079": ("ActionsOrganizationPermissionsType",), - ".group_0080": ("ActionsArtifactAndLogRetentionResponseType",), - ".group_0081": ("ActionsArtifactAndLogRetentionType",), - ".group_0082": ("ActionsForkPrContributorApprovalType",), - ".group_0083": ("ActionsForkPrWorkflowsPrivateReposType",), - ".group_0084": ("ActionsForkPrWorkflowsPrivateReposRequestType",), - ".group_0085": ("SelectedActionsType",), - ".group_0086": ("SelfHostedRunnersSettingsType",), - ".group_0087": ("ActionsGetDefaultWorkflowPermissionsType",), - ".group_0088": ("ActionsSetDefaultWorkflowPermissionsType",), - ".group_0089": ("RunnerLabelType",), - ".group_0090": ("RunnerType",), - ".group_0091": ("RunnerApplicationType",), ".group_0092": ( "AuthenticationTokenType", + "AuthenticationTokenTypeForResponse", "AuthenticationTokenPropPermissionsType", + "AuthenticationTokenPropPermissionsTypeForResponse", + ), + ".group_0093": ( + "ActionsPublicKeyType", + "ActionsPublicKeyTypeForResponse", + ), + ".group_0094": ( + "TeamSimpleType", + "TeamSimpleTypeForResponse", ), - ".group_0093": ("ActionsPublicKeyType",), - ".group_0094": ("TeamSimpleType",), ".group_0095": ( "TeamType", + "TeamTypeForResponse", "TeamPropPermissionsType", + "TeamPropPermissionsTypeForResponse", ), ".group_0096": ( "CampaignSummaryType", + "CampaignSummaryTypeForResponse", "CampaignSummaryPropAlertStatsType", + "CampaignSummaryPropAlertStatsTypeForResponse", + ), + ".group_0097": ( + "CodeScanningAlertRuleSummaryType", + "CodeScanningAlertRuleSummaryTypeForResponse", + ), + ".group_0098": ( + "CodeScanningAnalysisToolType", + "CodeScanningAnalysisToolTypeForResponse", ), - ".group_0097": ("CodeScanningAlertRuleSummaryType",), - ".group_0098": ("CodeScanningAnalysisToolType",), ".group_0099": ( "CodeScanningAlertInstanceType", + "CodeScanningAlertInstanceTypeForResponse", "CodeScanningAlertLocationType", + "CodeScanningAlertLocationTypeForResponse", "CodeScanningAlertInstancePropMessageType", + "CodeScanningAlertInstancePropMessageTypeForResponse", + ), + ".group_0100": ( + "CodeScanningOrganizationAlertItemsType", + "CodeScanningOrganizationAlertItemsTypeForResponse", + ), + ".group_0101": ( + "CodespaceMachineType", + "CodespaceMachineTypeForResponse", ), - ".group_0100": ("CodeScanningOrganizationAlertItemsType",), - ".group_0101": ("CodespaceMachineType",), ".group_0102": ( "CodespaceType", + "CodespaceTypeForResponse", "CodespacePropGitStatusType", + "CodespacePropGitStatusTypeForResponse", "CodespacePropRuntimeConstraintsType", + "CodespacePropRuntimeConstraintsTypeForResponse", + ), + ".group_0103": ( + "CodespacesPublicKeyType", + "CodespacesPublicKeyTypeForResponse", ), - ".group_0103": ("CodespacesPublicKeyType",), ".group_0104": ( "CopilotOrganizationDetailsType", + "CopilotOrganizationDetailsTypeForResponse", "CopilotOrganizationSeatBreakdownType", + "CopilotOrganizationSeatBreakdownTypeForResponse", ), ".group_0105": ( "CopilotSeatDetailsType", + "CopilotSeatDetailsTypeForResponse", "EnterpriseTeamType", + "EnterpriseTeamTypeForResponse", "OrgsOrgCopilotBillingSeatsGetResponse200Type", + "OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse", ), ".group_0106": ( "CopilotUsageMetricsDayType", + "CopilotUsageMetricsDayTypeForResponse", "CopilotDotcomChatType", + "CopilotDotcomChatTypeForResponse", "CopilotDotcomChatPropModelsItemsType", + "CopilotDotcomChatPropModelsItemsTypeForResponse", "CopilotIdeChatType", + "CopilotIdeChatTypeForResponse", "CopilotIdeChatPropEditorsItemsType", + "CopilotIdeChatPropEditorsItemsTypeForResponse", "CopilotIdeChatPropEditorsItemsPropModelsItemsType", + "CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotDotcomPullRequestsType", + "CopilotDotcomPullRequestsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsType", + "CopilotIdeCodeCompletionsTypeForResponse", "CopilotIdeCodeCompletionsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse", + ), + ".group_0107": ( + "DependabotPublicKeyType", + "DependabotPublicKeyTypeForResponse", + ), + ".group_0108": ( + "PackageType", + "PackageTypeForResponse", + ), + ".group_0109": ( + "OrganizationInvitationType", + "OrganizationInvitationTypeForResponse", ), - ".group_0107": ("DependabotPublicKeyType",), - ".group_0108": ("PackageType",), - ".group_0109": ("OrganizationInvitationType",), ".group_0110": ( "OrgHookType", + "OrgHookTypeForResponse", "OrgHookPropConfigType", + "OrgHookPropConfigTypeForResponse", + ), + ".group_0111": ( + "ApiInsightsRouteStatsItemsType", + "ApiInsightsRouteStatsItemsTypeForResponse", + ), + ".group_0112": ( + "ApiInsightsSubjectStatsItemsType", + "ApiInsightsSubjectStatsItemsTypeForResponse", + ), + ".group_0113": ( + "ApiInsightsSummaryStatsType", + "ApiInsightsSummaryStatsTypeForResponse", + ), + ".group_0114": ( + "ApiInsightsTimeStatsItemsType", + "ApiInsightsTimeStatsItemsTypeForResponse", + ), + ".group_0115": ( + "ApiInsightsUserStatsItemsType", + "ApiInsightsUserStatsItemsTypeForResponse", + ), + ".group_0116": ( + "InteractionLimitResponseType", + "InteractionLimitResponseTypeForResponse", + ), + ".group_0117": ( + "InteractionLimitType", + "InteractionLimitTypeForResponse", + ), + ".group_0118": ( + "OrganizationCreateIssueTypeType", + "OrganizationCreateIssueTypeTypeForResponse", + ), + ".group_0119": ( + "OrganizationUpdateIssueTypeType", + "OrganizationUpdateIssueTypeTypeForResponse", ), - ".group_0111": ("ApiInsightsRouteStatsItemsType",), - ".group_0112": ("ApiInsightsSubjectStatsItemsType",), - ".group_0113": ("ApiInsightsSummaryStatsType",), - ".group_0114": ("ApiInsightsTimeStatsItemsType",), - ".group_0115": ("ApiInsightsUserStatsItemsType",), - ".group_0116": ("InteractionLimitResponseType",), - ".group_0117": ("InteractionLimitType",), - ".group_0118": ("OrganizationCreateIssueTypeType",), - ".group_0119": ("OrganizationUpdateIssueTypeType",), ".group_0120": ( "OrgMembershipType", + "OrgMembershipTypeForResponse", "OrgMembershipPropPermissionsType", + "OrgMembershipPropPermissionsTypeForResponse", + ), + ".group_0121": ( + "MigrationType", + "MigrationTypeForResponse", ), - ".group_0121": ("MigrationType",), ".group_0122": ( "OrganizationRoleType", + "OrganizationRoleTypeForResponse", "OrgsOrgOrganizationRolesGetResponse200Type", + "OrgsOrgOrganizationRolesGetResponse200TypeForResponse", ), ".group_0123": ( "TeamRoleAssignmentType", + "TeamRoleAssignmentTypeForResponse", "TeamRoleAssignmentPropPermissionsType", + "TeamRoleAssignmentPropPermissionsTypeForResponse", + ), + ".group_0124": ( + "UserRoleAssignmentType", + "UserRoleAssignmentTypeForResponse", ), - ".group_0124": ("UserRoleAssignmentType",), ".group_0125": ( "PackageVersionType", + "PackageVersionTypeForResponse", "PackageVersionPropMetadataType", + "PackageVersionPropMetadataTypeForResponse", "PackageVersionPropMetadataPropContainerType", + "PackageVersionPropMetadataPropContainerTypeForResponse", "PackageVersionPropMetadataPropDockerType", + "PackageVersionPropMetadataPropDockerTypeForResponse", ), ".group_0126": ( "OrganizationProgrammaticAccessGrantRequestType", + "OrganizationProgrammaticAccessGrantRequestTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse", ), ".group_0127": ( "OrganizationProgrammaticAccessGrantType", + "OrganizationProgrammaticAccessGrantTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsType", + "OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse", + ), + ".group_0128": ( + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesType", + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse", + ), + ".group_0129": ( + "ProjectsV2StatusUpdateType", + "ProjectsV2StatusUpdateTypeForResponse", + ), + ".group_0130": ( + "ProjectsV2Type", + "ProjectsV2TypeForResponse", + ), + ".group_0131": ( + "LinkType", + "LinkTypeForResponse", + ), + ".group_0132": ( + "AutoMergeType", + "AutoMergeTypeForResponse", ), - ".group_0128": ("OrgPrivateRegistryConfigurationWithSelectedRepositoriesType",), - ".group_0129": ("ProjectsV2StatusUpdateType",), - ".group_0130": ("ProjectsV2Type",), - ".group_0131": ("LinkType",), - ".group_0132": ("AutoMergeType",), ".group_0133": ( "PullRequestSimpleType", + "PullRequestSimpleTypeForResponse", "PullRequestSimplePropLabelsItemsType", + "PullRequestSimplePropLabelsItemsTypeForResponse", ), ".group_0134": ( "PullRequestSimplePropHeadType", + "PullRequestSimplePropHeadTypeForResponse", "PullRequestSimplePropBaseType", + "PullRequestSimplePropBaseTypeForResponse", + ), + ".group_0135": ( + "PullRequestSimplePropLinksType", + "PullRequestSimplePropLinksTypeForResponse", + ), + ".group_0136": ( + "ProjectsV2DraftIssueType", + "ProjectsV2DraftIssueTypeForResponse", + ), + ".group_0137": ( + "ProjectsV2ItemSimpleType", + "ProjectsV2ItemSimpleTypeForResponse", ), - ".group_0135": ("PullRequestSimplePropLinksType",), - ".group_0136": ("ProjectsV2DraftIssueType",), - ".group_0137": ("ProjectsV2ItemSimpleType",), ".group_0138": ( "ProjectsV2FieldType", + "ProjectsV2FieldTypeForResponse", "ProjectsV2SingleSelectOptionsType", + "ProjectsV2SingleSelectOptionsTypeForResponse", "ProjectsV2SingleSelectOptionsPropNameType", + "ProjectsV2SingleSelectOptionsPropNameTypeForResponse", "ProjectsV2SingleSelectOptionsPropDescriptionType", + "ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse", "ProjectsV2FieldPropConfigurationType", + "ProjectsV2FieldPropConfigurationTypeForResponse", "ProjectsV2IterationSettingsType", + "ProjectsV2IterationSettingsTypeForResponse", "ProjectsV2IterationSettingsPropTitleType", + "ProjectsV2IterationSettingsPropTitleTypeForResponse", ), ".group_0139": ( "ProjectsV2ItemWithContentType", + "ProjectsV2ItemWithContentTypeForResponse", "ProjectsV2ItemWithContentPropContentType", + "ProjectsV2ItemWithContentPropContentTypeForResponse", "ProjectsV2ItemWithContentPropFieldsItemsType", + "ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse", + ), + ".group_0140": ( + "CustomPropertyType", + "CustomPropertyTypeForResponse", + ), + ".group_0141": ( + "CustomPropertySetPayloadType", + "CustomPropertySetPayloadTypeForResponse", + ), + ".group_0142": ( + "OrgRepoCustomPropertyValuesType", + "OrgRepoCustomPropertyValuesTypeForResponse", + ), + ".group_0143": ( + "CodeOfConductSimpleType", + "CodeOfConductSimpleTypeForResponse", ), - ".group_0140": ("CustomPropertyType",), - ".group_0141": ("CustomPropertySetPayloadType",), - ".group_0142": ("OrgRepoCustomPropertyValuesType",), - ".group_0143": ("CodeOfConductSimpleType",), ".group_0144": ( "FullRepositoryType", + "FullRepositoryTypeForResponse", "FullRepositoryPropPermissionsType", + "FullRepositoryPropPermissionsTypeForResponse", "FullRepositoryPropCustomPropertiesType", + "FullRepositoryPropCustomPropertiesTypeForResponse", + ), + ".group_0145": ( + "RepositoryRulesetBypassActorType", + "RepositoryRulesetBypassActorTypeForResponse", + ), + ".group_0146": ( + "RepositoryRulesetConditionsType", + "RepositoryRulesetConditionsTypeForResponse", + ), + ".group_0147": ( + "RepositoryRulesetConditionsPropRefNameType", + "RepositoryRulesetConditionsPropRefNameTypeForResponse", + ), + ".group_0148": ( + "RepositoryRulesetConditionsRepositoryNameTargetType", + "RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse", ), - ".group_0145": ("RepositoryRulesetBypassActorType",), - ".group_0146": ("RepositoryRulesetConditionsType",), - ".group_0147": ("RepositoryRulesetConditionsPropRefNameType",), - ".group_0148": ("RepositoryRulesetConditionsRepositoryNameTargetType",), ".group_0149": ( "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType", + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse", + ), + ".group_0150": ( + "RepositoryRulesetConditionsRepositoryIdTargetType", + "RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse", ), - ".group_0150": ("RepositoryRulesetConditionsRepositoryIdTargetType",), ".group_0151": ( "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType", + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse", + ), + ".group_0152": ( + "RepositoryRulesetConditionsRepositoryPropertyTargetType", + "RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse", ), - ".group_0152": ("RepositoryRulesetConditionsRepositoryPropertyTargetType",), ".group_0153": ( "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType", + "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse", "RepositoryRulesetConditionsRepositoryPropertySpecType", + "RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse", + ), + ".group_0154": ( + "OrgRulesetConditionsOneof0Type", + "OrgRulesetConditionsOneof0TypeForResponse", + ), + ".group_0155": ( + "OrgRulesetConditionsOneof1Type", + "OrgRulesetConditionsOneof1TypeForResponse", + ), + ".group_0156": ( + "OrgRulesetConditionsOneof2Type", + "OrgRulesetConditionsOneof2TypeForResponse", ), - ".group_0154": ("OrgRulesetConditionsOneof0Type",), - ".group_0155": ("OrgRulesetConditionsOneof1Type",), - ".group_0156": ("OrgRulesetConditionsOneof2Type",), ".group_0157": ( "RepositoryRuleCreationType", + "RepositoryRuleCreationTypeForResponse", "RepositoryRuleDeletionType", + "RepositoryRuleDeletionTypeForResponse", "RepositoryRuleRequiredSignaturesType", + "RepositoryRuleRequiredSignaturesTypeForResponse", "RepositoryRuleNonFastForwardType", + "RepositoryRuleNonFastForwardTypeForResponse", + ), + ".group_0158": ( + "RepositoryRuleUpdateType", + "RepositoryRuleUpdateTypeForResponse", + ), + ".group_0159": ( + "RepositoryRuleUpdatePropParametersType", + "RepositoryRuleUpdatePropParametersTypeForResponse", + ), + ".group_0160": ( + "RepositoryRuleRequiredLinearHistoryType", + "RepositoryRuleRequiredLinearHistoryTypeForResponse", + ), + ".group_0161": ( + "RepositoryRuleMergeQueueType", + "RepositoryRuleMergeQueueTypeForResponse", + ), + ".group_0162": ( + "RepositoryRuleMergeQueuePropParametersType", + "RepositoryRuleMergeQueuePropParametersTypeForResponse", + ), + ".group_0163": ( + "RepositoryRuleRequiredDeploymentsType", + "RepositoryRuleRequiredDeploymentsTypeForResponse", + ), + ".group_0164": ( + "RepositoryRuleRequiredDeploymentsPropParametersType", + "RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse", ), - ".group_0158": ("RepositoryRuleUpdateType",), - ".group_0159": ("RepositoryRuleUpdatePropParametersType",), - ".group_0160": ("RepositoryRuleRequiredLinearHistoryType",), - ".group_0161": ("RepositoryRuleMergeQueueType",), - ".group_0162": ("RepositoryRuleMergeQueuePropParametersType",), - ".group_0163": ("RepositoryRuleRequiredDeploymentsType",), - ".group_0164": ("RepositoryRuleRequiredDeploymentsPropParametersType",), ".group_0165": ( "RepositoryRuleParamsRequiredReviewerConfigurationType", + "RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse", "RepositoryRuleParamsReviewerType", + "RepositoryRuleParamsReviewerTypeForResponse", + ), + ".group_0166": ( + "RepositoryRulePullRequestType", + "RepositoryRulePullRequestTypeForResponse", + ), + ".group_0167": ( + "RepositoryRulePullRequestPropParametersType", + "RepositoryRulePullRequestPropParametersTypeForResponse", + ), + ".group_0168": ( + "RepositoryRuleRequiredStatusChecksType", + "RepositoryRuleRequiredStatusChecksTypeForResponse", ), - ".group_0166": ("RepositoryRulePullRequestType",), - ".group_0167": ("RepositoryRulePullRequestPropParametersType",), - ".group_0168": ("RepositoryRuleRequiredStatusChecksType",), ".group_0169": ( "RepositoryRuleRequiredStatusChecksPropParametersType", + "RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse", "RepositoryRuleParamsStatusCheckConfigurationType", + "RepositoryRuleParamsStatusCheckConfigurationTypeForResponse", + ), + ".group_0170": ( + "RepositoryRuleCommitMessagePatternType", + "RepositoryRuleCommitMessagePatternTypeForResponse", + ), + ".group_0171": ( + "RepositoryRuleCommitMessagePatternPropParametersType", + "RepositoryRuleCommitMessagePatternPropParametersTypeForResponse", + ), + ".group_0172": ( + "RepositoryRuleCommitAuthorEmailPatternType", + "RepositoryRuleCommitAuthorEmailPatternTypeForResponse", + ), + ".group_0173": ( + "RepositoryRuleCommitAuthorEmailPatternPropParametersType", + "RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse", + ), + ".group_0174": ( + "RepositoryRuleCommitterEmailPatternType", + "RepositoryRuleCommitterEmailPatternTypeForResponse", + ), + ".group_0175": ( + "RepositoryRuleCommitterEmailPatternPropParametersType", + "RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse", + ), + ".group_0176": ( + "RepositoryRuleBranchNamePatternType", + "RepositoryRuleBranchNamePatternTypeForResponse", + ), + ".group_0177": ( + "RepositoryRuleBranchNamePatternPropParametersType", + "RepositoryRuleBranchNamePatternPropParametersTypeForResponse", + ), + ".group_0178": ( + "RepositoryRuleTagNamePatternType", + "RepositoryRuleTagNamePatternTypeForResponse", + ), + ".group_0179": ( + "RepositoryRuleTagNamePatternPropParametersType", + "RepositoryRuleTagNamePatternPropParametersTypeForResponse", + ), + ".group_0180": ( + "RepositoryRuleFilePathRestrictionType", + "RepositoryRuleFilePathRestrictionTypeForResponse", + ), + ".group_0181": ( + "RepositoryRuleFilePathRestrictionPropParametersType", + "RepositoryRuleFilePathRestrictionPropParametersTypeForResponse", + ), + ".group_0182": ( + "RepositoryRuleMaxFilePathLengthType", + "RepositoryRuleMaxFilePathLengthTypeForResponse", + ), + ".group_0183": ( + "RepositoryRuleMaxFilePathLengthPropParametersType", + "RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse", + ), + ".group_0184": ( + "RepositoryRuleFileExtensionRestrictionType", + "RepositoryRuleFileExtensionRestrictionTypeForResponse", + ), + ".group_0185": ( + "RepositoryRuleFileExtensionRestrictionPropParametersType", + "RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse", + ), + ".group_0186": ( + "RepositoryRuleMaxFileSizeType", + "RepositoryRuleMaxFileSizeTypeForResponse", + ), + ".group_0187": ( + "RepositoryRuleMaxFileSizePropParametersType", + "RepositoryRuleMaxFileSizePropParametersTypeForResponse", + ), + ".group_0188": ( + "RepositoryRuleParamsRestrictedCommitsType", + "RepositoryRuleParamsRestrictedCommitsTypeForResponse", + ), + ".group_0189": ( + "RepositoryRuleWorkflowsType", + "RepositoryRuleWorkflowsTypeForResponse", ), - ".group_0170": ("RepositoryRuleCommitMessagePatternType",), - ".group_0171": ("RepositoryRuleCommitMessagePatternPropParametersType",), - ".group_0172": ("RepositoryRuleCommitAuthorEmailPatternType",), - ".group_0173": ("RepositoryRuleCommitAuthorEmailPatternPropParametersType",), - ".group_0174": ("RepositoryRuleCommitterEmailPatternType",), - ".group_0175": ("RepositoryRuleCommitterEmailPatternPropParametersType",), - ".group_0176": ("RepositoryRuleBranchNamePatternType",), - ".group_0177": ("RepositoryRuleBranchNamePatternPropParametersType",), - ".group_0178": ("RepositoryRuleTagNamePatternType",), - ".group_0179": ("RepositoryRuleTagNamePatternPropParametersType",), - ".group_0180": ("RepositoryRuleFilePathRestrictionType",), - ".group_0181": ("RepositoryRuleFilePathRestrictionPropParametersType",), - ".group_0182": ("RepositoryRuleMaxFilePathLengthType",), - ".group_0183": ("RepositoryRuleMaxFilePathLengthPropParametersType",), - ".group_0184": ("RepositoryRuleFileExtensionRestrictionType",), - ".group_0185": ("RepositoryRuleFileExtensionRestrictionPropParametersType",), - ".group_0186": ("RepositoryRuleMaxFileSizeType",), - ".group_0187": ("RepositoryRuleMaxFileSizePropParametersType",), - ".group_0188": ("RepositoryRuleParamsRestrictedCommitsType",), - ".group_0189": ("RepositoryRuleWorkflowsType",), ".group_0190": ( "RepositoryRuleWorkflowsPropParametersType", + "RepositoryRuleWorkflowsPropParametersTypeForResponse", "RepositoryRuleParamsWorkflowFileReferenceType", + "RepositoryRuleParamsWorkflowFileReferenceTypeForResponse", + ), + ".group_0191": ( + "RepositoryRuleCodeScanningType", + "RepositoryRuleCodeScanningTypeForResponse", ), - ".group_0191": ("RepositoryRuleCodeScanningType",), ".group_0192": ( "RepositoryRuleCodeScanningPropParametersType", + "RepositoryRuleCodeScanningPropParametersTypeForResponse", "RepositoryRuleParamsCodeScanningToolType", + "RepositoryRuleParamsCodeScanningToolTypeForResponse", + ), + ".group_0193": ( + "RepositoryRuleCopilotCodeReviewType", + "RepositoryRuleCopilotCodeReviewTypeForResponse", + ), + ".group_0194": ( + "RepositoryRuleCopilotCodeReviewPropParametersType", + "RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse", ), - ".group_0193": ("RepositoryRuleCopilotCodeReviewType",), - ".group_0194": ("RepositoryRuleCopilotCodeReviewPropParametersType",), ".group_0195": ( "RepositoryRulesetType", + "RepositoryRulesetTypeForResponse", "RepositoryRulesetPropLinksType", + "RepositoryRulesetPropLinksTypeForResponse", "RepositoryRulesetPropLinksPropSelfType", + "RepositoryRulesetPropLinksPropSelfTypeForResponse", "RepositoryRulesetPropLinksPropHtmlType", + "RepositoryRulesetPropLinksPropHtmlTypeForResponse", + ), + ".group_0196": ( + "RuleSuitesItemsType", + "RuleSuitesItemsTypeForResponse", ), - ".group_0196": ("RuleSuitesItemsType",), ".group_0197": ( "RuleSuiteType", + "RuleSuiteTypeForResponse", "RuleSuitePropRuleEvaluationsItemsType", + "RuleSuitePropRuleEvaluationsItemsTypeForResponse", "RuleSuitePropRuleEvaluationsItemsPropRuleSourceType", + "RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse", + ), + ".group_0198": ( + "RulesetVersionType", + "RulesetVersionTypeForResponse", + ), + ".group_0199": ( + "RulesetVersionPropActorType", + "RulesetVersionPropActorTypeForResponse", + ), + ".group_0200": ( + "RulesetVersionWithStateType", + "RulesetVersionWithStateTypeForResponse", + ), + ".group_0201": ( + "RulesetVersionWithStateAllof1Type", + "RulesetVersionWithStateAllof1TypeForResponse", + ), + ".group_0202": ( + "RulesetVersionWithStateAllof1PropStateType", + "RulesetVersionWithStateAllof1PropStateTypeForResponse", ), - ".group_0198": ("RulesetVersionType",), - ".group_0199": ("RulesetVersionPropActorType",), - ".group_0200": ("RulesetVersionWithStateType",), - ".group_0201": ("RulesetVersionWithStateAllof1Type",), - ".group_0202": ("RulesetVersionWithStateAllof1PropStateType",), ".group_0203": ( "SecretScanningLocationCommitType", + "SecretScanningLocationCommitTypeForResponse", "SecretScanningLocationWikiCommitType", + "SecretScanningLocationWikiCommitTypeForResponse", "SecretScanningLocationIssueBodyType", + "SecretScanningLocationIssueBodyTypeForResponse", "SecretScanningLocationDiscussionTitleType", + "SecretScanningLocationDiscussionTitleTypeForResponse", "SecretScanningLocationDiscussionCommentType", + "SecretScanningLocationDiscussionCommentTypeForResponse", "SecretScanningLocationPullRequestBodyType", + "SecretScanningLocationPullRequestBodyTypeForResponse", "SecretScanningLocationPullRequestReviewType", + "SecretScanningLocationPullRequestReviewTypeForResponse", ), ".group_0204": ( "SecretScanningLocationIssueTitleType", + "SecretScanningLocationIssueTitleTypeForResponse", "SecretScanningLocationIssueCommentType", + "SecretScanningLocationIssueCommentTypeForResponse", "SecretScanningLocationPullRequestTitleType", + "SecretScanningLocationPullRequestTitleTypeForResponse", "SecretScanningLocationPullRequestReviewCommentType", + "SecretScanningLocationPullRequestReviewCommentTypeForResponse", ), ".group_0205": ( "SecretScanningLocationDiscussionBodyType", + "SecretScanningLocationDiscussionBodyTypeForResponse", "SecretScanningLocationPullRequestCommentType", + "SecretScanningLocationPullRequestCommentTypeForResponse", + ), + ".group_0206": ( + "OrganizationSecretScanningAlertType", + "OrganizationSecretScanningAlertTypeForResponse", ), - ".group_0206": ("OrganizationSecretScanningAlertType",), ".group_0207": ( "SecretScanningPatternConfigurationType", + "SecretScanningPatternConfigurationTypeForResponse", "SecretScanningPatternOverrideType", + "SecretScanningPatternOverrideTypeForResponse", + ), + ".group_0208": ( + "RepositoryAdvisoryCreditType", + "RepositoryAdvisoryCreditTypeForResponse", ), - ".group_0208": ("RepositoryAdvisoryCreditType",), ".group_0209": ( "RepositoryAdvisoryType", + "RepositoryAdvisoryTypeForResponse", "RepositoryAdvisoryPropIdentifiersItemsType", + "RepositoryAdvisoryPropIdentifiersItemsTypeForResponse", "RepositoryAdvisoryPropSubmissionType", + "RepositoryAdvisoryPropSubmissionTypeForResponse", "RepositoryAdvisoryPropCvssType", + "RepositoryAdvisoryPropCvssTypeForResponse", "RepositoryAdvisoryPropCwesItemsType", + "RepositoryAdvisoryPropCwesItemsTypeForResponse", "RepositoryAdvisoryPropCreditsItemsType", + "RepositoryAdvisoryPropCreditsItemsTypeForResponse", "RepositoryAdvisoryVulnerabilityType", + "RepositoryAdvisoryVulnerabilityTypeForResponse", "RepositoryAdvisoryVulnerabilityPropPackageType", + "RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse", ), ".group_0210": ( "ActionsBillingUsageType", + "ActionsBillingUsageTypeForResponse", "ActionsBillingUsagePropMinutesUsedBreakdownType", + "ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse", + ), + ".group_0211": ( + "PackagesBillingUsageType", + "PackagesBillingUsageTypeForResponse", + ), + ".group_0212": ( + "CombinedBillingUsageType", + "CombinedBillingUsageTypeForResponse", + ), + ".group_0213": ( + "ImmutableReleasesOrganizationSettingsType", + "ImmutableReleasesOrganizationSettingsTypeForResponse", + ), + ".group_0214": ( + "NetworkSettingsType", + "NetworkSettingsTypeForResponse", ), - ".group_0211": ("PackagesBillingUsageType",), - ".group_0212": ("CombinedBillingUsageType",), - ".group_0213": ("ImmutableReleasesOrganizationSettingsType",), - ".group_0214": ("NetworkSettingsType",), ".group_0215": ( "TeamFullType", + "TeamFullTypeForResponse", "TeamOrganizationType", + "TeamOrganizationTypeForResponse", "TeamOrganizationPropPlanType", + "TeamOrganizationPropPlanTypeForResponse", + ), + ".group_0216": ( + "TeamDiscussionType", + "TeamDiscussionTypeForResponse", + ), + ".group_0217": ( + "TeamDiscussionCommentType", + "TeamDiscussionCommentTypeForResponse", + ), + ".group_0218": ( + "ReactionType", + "ReactionTypeForResponse", + ), + ".group_0219": ( + "TeamMembershipType", + "TeamMembershipTypeForResponse", ), - ".group_0216": ("TeamDiscussionType",), - ".group_0217": ("TeamDiscussionCommentType",), - ".group_0218": ("ReactionType",), - ".group_0219": ("TeamMembershipType",), ".group_0220": ( "TeamProjectType", + "TeamProjectTypeForResponse", "TeamProjectPropPermissionsType", + "TeamProjectPropPermissionsTypeForResponse", ), ".group_0221": ( "TeamRepositoryType", + "TeamRepositoryTypeForResponse", "TeamRepositoryPropPermissionsType", + "TeamRepositoryPropPermissionsTypeForResponse", + ), + ".group_0222": ( + "ProjectColumnType", + "ProjectColumnTypeForResponse", + ), + ".group_0223": ( + "ProjectCollaboratorPermissionType", + "ProjectCollaboratorPermissionTypeForResponse", + ), + ".group_0224": ( + "RateLimitType", + "RateLimitTypeForResponse", + ), + ".group_0225": ( + "RateLimitOverviewType", + "RateLimitOverviewTypeForResponse", + ), + ".group_0226": ( + "RateLimitOverviewPropResourcesType", + "RateLimitOverviewPropResourcesTypeForResponse", ), - ".group_0222": ("ProjectColumnType",), - ".group_0223": ("ProjectCollaboratorPermissionType",), - ".group_0224": ("RateLimitType",), - ".group_0225": ("RateLimitOverviewType",), - ".group_0226": ("RateLimitOverviewPropResourcesType",), ".group_0227": ( "ArtifactType", + "ArtifactTypeForResponse", "ArtifactPropWorkflowRunType", + "ArtifactPropWorkflowRunTypeForResponse", ), ".group_0228": ( "ActionsCacheListType", + "ActionsCacheListTypeForResponse", "ActionsCacheListPropActionsCachesItemsType", + "ActionsCacheListPropActionsCachesItemsTypeForResponse", ), ".group_0229": ( "JobType", + "JobTypeForResponse", "JobPropStepsItemsType", + "JobPropStepsItemsTypeForResponse", + ), + ".group_0230": ( + "OidcCustomSubRepoType", + "OidcCustomSubRepoTypeForResponse", + ), + ".group_0231": ( + "ActionsSecretType", + "ActionsSecretTypeForResponse", + ), + ".group_0232": ( + "ActionsVariableType", + "ActionsVariableTypeForResponse", + ), + ".group_0233": ( + "ActionsRepositoryPermissionsType", + "ActionsRepositoryPermissionsTypeForResponse", + ), + ".group_0234": ( + "ActionsWorkflowAccessToRepositoryType", + "ActionsWorkflowAccessToRepositoryTypeForResponse", ), - ".group_0230": ("OidcCustomSubRepoType",), - ".group_0231": ("ActionsSecretType",), - ".group_0232": ("ActionsVariableType",), - ".group_0233": ("ActionsRepositoryPermissionsType",), - ".group_0234": ("ActionsWorkflowAccessToRepositoryType",), ".group_0235": ( "PullRequestMinimalType", + "PullRequestMinimalTypeForResponse", "PullRequestMinimalPropHeadType", + "PullRequestMinimalPropHeadTypeForResponse", "PullRequestMinimalPropHeadPropRepoType", + "PullRequestMinimalPropHeadPropRepoTypeForResponse", "PullRequestMinimalPropBaseType", + "PullRequestMinimalPropBaseTypeForResponse", "PullRequestMinimalPropBasePropRepoType", + "PullRequestMinimalPropBasePropRepoTypeForResponse", ), ".group_0236": ( "SimpleCommitType", + "SimpleCommitTypeForResponse", "SimpleCommitPropAuthorType", + "SimpleCommitPropAuthorTypeForResponse", "SimpleCommitPropCommitterType", + "SimpleCommitPropCommitterTypeForResponse", ), ".group_0237": ( "WorkflowRunType", + "WorkflowRunTypeForResponse", "ReferencedWorkflowType", + "ReferencedWorkflowTypeForResponse", ), ".group_0238": ( "EnvironmentApprovalsType", + "EnvironmentApprovalsTypeForResponse", "EnvironmentApprovalsPropEnvironmentsItemsType", + "EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse", + ), + ".group_0239": ( + "ReviewCustomGatesCommentRequiredType", + "ReviewCustomGatesCommentRequiredTypeForResponse", + ), + ".group_0240": ( + "ReviewCustomGatesStateRequiredType", + "ReviewCustomGatesStateRequiredTypeForResponse", ), - ".group_0239": ("ReviewCustomGatesCommentRequiredType",), - ".group_0240": ("ReviewCustomGatesStateRequiredType",), ".group_0241": ( "PendingDeploymentPropReviewersItemsType", + "PendingDeploymentPropReviewersItemsTypeForResponse", "PendingDeploymentType", + "PendingDeploymentTypeForResponse", "PendingDeploymentPropEnvironmentType", + "PendingDeploymentPropEnvironmentTypeForResponse", ), ".group_0242": ( "DeploymentType", + "DeploymentTypeForResponse", "DeploymentPropPayloadOneof0Type", + "DeploymentPropPayloadOneof0TypeForResponse", ), ".group_0243": ( "WorkflowRunUsageType", + "WorkflowRunUsageTypeForResponse", "WorkflowRunUsagePropBillableType", + "WorkflowRunUsagePropBillableTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuType", + "WorkflowRunUsagePropBillablePropUbuntuTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropMacosType", + "WorkflowRunUsagePropBillablePropMacosTypeForResponse", "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsType", + "WorkflowRunUsagePropBillablePropWindowsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse", ), ".group_0244": ( "WorkflowUsageType", + "WorkflowUsageTypeForResponse", "WorkflowUsagePropBillableType", + "WorkflowUsagePropBillableTypeForResponse", "WorkflowUsagePropBillablePropUbuntuType", + "WorkflowUsagePropBillablePropUbuntuTypeForResponse", "WorkflowUsagePropBillablePropMacosType", + "WorkflowUsagePropBillablePropMacosTypeForResponse", "WorkflowUsagePropBillablePropWindowsType", + "WorkflowUsagePropBillablePropWindowsTypeForResponse", + ), + ".group_0245": ( + "ActivityType", + "ActivityTypeForResponse", + ), + ".group_0246": ( + "AutolinkType", + "AutolinkTypeForResponse", + ), + ".group_0247": ( + "CheckAutomatedSecurityFixesType", + "CheckAutomatedSecurityFixesTypeForResponse", + ), + ".group_0248": ( + "ProtectedBranchPullRequestReviewType", + "ProtectedBranchPullRequestReviewTypeForResponse", ), - ".group_0245": ("ActivityType",), - ".group_0246": ("AutolinkType",), - ".group_0247": ("CheckAutomatedSecurityFixesType",), - ".group_0248": ("ProtectedBranchPullRequestReviewType",), ".group_0249": ( "ProtectedBranchPullRequestReviewPropDismissalRestrictionsType", + "ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse", "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType", + "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse", ), ".group_0250": ( "BranchRestrictionPolicyType", + "BranchRestrictionPolicyTypeForResponse", "BranchRestrictionPolicyPropUsersItemsType", + "BranchRestrictionPolicyPropUsersItemsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsType", + "BranchRestrictionPolicyPropAppsItemsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropOwnerType", + "BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropPermissionsType", + "BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse", ), ".group_0251": ( "BranchProtectionType", + "BranchProtectionTypeForResponse", "ProtectedBranchAdminEnforcedType", + "ProtectedBranchAdminEnforcedTypeForResponse", "BranchProtectionPropRequiredLinearHistoryType", + "BranchProtectionPropRequiredLinearHistoryTypeForResponse", "BranchProtectionPropAllowForcePushesType", + "BranchProtectionPropAllowForcePushesTypeForResponse", "BranchProtectionPropAllowDeletionsType", + "BranchProtectionPropAllowDeletionsTypeForResponse", "BranchProtectionPropBlockCreationsType", + "BranchProtectionPropBlockCreationsTypeForResponse", "BranchProtectionPropRequiredConversationResolutionType", + "BranchProtectionPropRequiredConversationResolutionTypeForResponse", "BranchProtectionPropRequiredSignaturesType", + "BranchProtectionPropRequiredSignaturesTypeForResponse", "BranchProtectionPropLockBranchType", + "BranchProtectionPropLockBranchTypeForResponse", "BranchProtectionPropAllowForkSyncingType", + "BranchProtectionPropAllowForkSyncingTypeForResponse", "ProtectedBranchRequiredStatusCheckType", + "ProtectedBranchRequiredStatusCheckTypeForResponse", "ProtectedBranchRequiredStatusCheckPropChecksItemsType", + "ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse", ), ".group_0252": ( "ShortBranchType", + "ShortBranchTypeForResponse", "ShortBranchPropCommitType", + "ShortBranchPropCommitTypeForResponse", + ), + ".group_0253": ( + "GitUserType", + "GitUserTypeForResponse", + ), + ".group_0254": ( + "VerificationType", + "VerificationTypeForResponse", + ), + ".group_0255": ( + "DiffEntryType", + "DiffEntryTypeForResponse", ), - ".group_0253": ("GitUserType",), - ".group_0254": ("VerificationType",), - ".group_0255": ("DiffEntryType",), ".group_0256": ( "CommitType", + "CommitTypeForResponse", "EmptyObjectType", + "EmptyObjectTypeForResponse", "CommitPropParentsItemsType", + "CommitPropParentsItemsTypeForResponse", "CommitPropStatsType", + "CommitPropStatsTypeForResponse", ), ".group_0257": ( "CommitPropCommitType", + "CommitPropCommitTypeForResponse", "CommitPropCommitPropTreeType", + "CommitPropCommitPropTreeTypeForResponse", ), ".group_0258": ( "BranchWithProtectionType", + "BranchWithProtectionTypeForResponse", "BranchWithProtectionPropLinksType", + "BranchWithProtectionPropLinksTypeForResponse", ), ".group_0259": ( "ProtectedBranchType", + "ProtectedBranchTypeForResponse", "ProtectedBranchPropRequiredSignaturesType", + "ProtectedBranchPropRequiredSignaturesTypeForResponse", "ProtectedBranchPropEnforceAdminsType", + "ProtectedBranchPropEnforceAdminsTypeForResponse", "ProtectedBranchPropRequiredLinearHistoryType", + "ProtectedBranchPropRequiredLinearHistoryTypeForResponse", "ProtectedBranchPropAllowForcePushesType", + "ProtectedBranchPropAllowForcePushesTypeForResponse", "ProtectedBranchPropAllowDeletionsType", + "ProtectedBranchPropAllowDeletionsTypeForResponse", "ProtectedBranchPropRequiredConversationResolutionType", + "ProtectedBranchPropRequiredConversationResolutionTypeForResponse", "ProtectedBranchPropBlockCreationsType", + "ProtectedBranchPropBlockCreationsTypeForResponse", "ProtectedBranchPropLockBranchType", + "ProtectedBranchPropLockBranchTypeForResponse", "ProtectedBranchPropAllowForkSyncingType", + "ProtectedBranchPropAllowForkSyncingTypeForResponse", "StatusCheckPolicyType", + "StatusCheckPolicyTypeForResponse", "StatusCheckPolicyPropChecksItemsType", + "StatusCheckPolicyPropChecksItemsTypeForResponse", + ), + ".group_0260": ( + "ProtectedBranchPropRequiredPullRequestReviewsType", + "ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse", ), - ".group_0260": ("ProtectedBranchPropRequiredPullRequestReviewsType",), ".group_0261": ( "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", + ), + ".group_0262": ( + "DeploymentSimpleType", + "DeploymentSimpleTypeForResponse", ), - ".group_0262": ("DeploymentSimpleType",), ".group_0263": ( "CheckRunType", + "CheckRunTypeForResponse", "CheckRunPropOutputType", + "CheckRunPropOutputTypeForResponse", "CheckRunPropCheckSuiteType", + "CheckRunPropCheckSuiteTypeForResponse", + ), + ".group_0264": ( + "CheckAnnotationType", + "CheckAnnotationTypeForResponse", ), - ".group_0264": ("CheckAnnotationType",), ".group_0265": ( "CheckSuiteType", + "CheckSuiteTypeForResponse", "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse", ), ".group_0266": ( "CheckSuitePreferenceType", + "CheckSuitePreferenceTypeForResponse", "CheckSuitePreferencePropPreferencesType", + "CheckSuitePreferencePropPreferencesTypeForResponse", "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType", + "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse", + ), + ".group_0267": ( + "CodeScanningAlertItemsType", + "CodeScanningAlertItemsTypeForResponse", ), - ".group_0267": ("CodeScanningAlertItemsType",), ".group_0268": ( "CodeScanningAlertType", + "CodeScanningAlertTypeForResponse", "CodeScanningAlertRuleType", + "CodeScanningAlertRuleTypeForResponse", + ), + ".group_0269": ( + "CodeScanningAutofixType", + "CodeScanningAutofixTypeForResponse", + ), + ".group_0270": ( + "CodeScanningAutofixCommitsType", + "CodeScanningAutofixCommitsTypeForResponse", + ), + ".group_0271": ( + "CodeScanningAutofixCommitsResponseType", + "CodeScanningAutofixCommitsResponseTypeForResponse", + ), + ".group_0272": ( + "CodeScanningAnalysisType", + "CodeScanningAnalysisTypeForResponse", + ), + ".group_0273": ( + "CodeScanningAnalysisDeletionType", + "CodeScanningAnalysisDeletionTypeForResponse", + ), + ".group_0274": ( + "CodeScanningCodeqlDatabaseType", + "CodeScanningCodeqlDatabaseTypeForResponse", + ), + ".group_0275": ( + "CodeScanningVariantAnalysisRepositoryType", + "CodeScanningVariantAnalysisRepositoryTypeForResponse", + ), + ".group_0276": ( + "CodeScanningVariantAnalysisSkippedRepoGroupType", + "CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse", + ), + ".group_0277": ( + "CodeScanningVariantAnalysisType", + "CodeScanningVariantAnalysisTypeForResponse", + ), + ".group_0278": ( + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsType", + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse", ), - ".group_0269": ("CodeScanningAutofixType",), - ".group_0270": ("CodeScanningAutofixCommitsType",), - ".group_0271": ("CodeScanningAutofixCommitsResponseType",), - ".group_0272": ("CodeScanningAnalysisType",), - ".group_0273": ("CodeScanningAnalysisDeletionType",), - ".group_0274": ("CodeScanningCodeqlDatabaseType",), - ".group_0275": ("CodeScanningVariantAnalysisRepositoryType",), - ".group_0276": ("CodeScanningVariantAnalysisSkippedRepoGroupType",), - ".group_0277": ("CodeScanningVariantAnalysisType",), - ".group_0278": ("CodeScanningVariantAnalysisPropScannedRepositoriesItemsType",), ".group_0279": ( "CodeScanningVariantAnalysisPropSkippedRepositoriesType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse", "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse", + ), + ".group_0280": ( + "CodeScanningVariantAnalysisRepoTaskType", + "CodeScanningVariantAnalysisRepoTaskTypeForResponse", + ), + ".group_0281": ( + "CodeScanningDefaultSetupType", + "CodeScanningDefaultSetupTypeForResponse", + ), + ".group_0282": ( + "CodeScanningDefaultSetupUpdateType", + "CodeScanningDefaultSetupUpdateTypeForResponse", + ), + ".group_0283": ( + "CodeScanningDefaultSetupUpdateResponseType", + "CodeScanningDefaultSetupUpdateResponseTypeForResponse", + ), + ".group_0284": ( + "CodeScanningSarifsReceiptType", + "CodeScanningSarifsReceiptTypeForResponse", + ), + ".group_0285": ( + "CodeScanningSarifsStatusType", + "CodeScanningSarifsStatusTypeForResponse", + ), + ".group_0286": ( + "CodeSecurityConfigurationForRepositoryType", + "CodeSecurityConfigurationForRepositoryTypeForResponse", ), - ".group_0280": ("CodeScanningVariantAnalysisRepoTaskType",), - ".group_0281": ("CodeScanningDefaultSetupType",), - ".group_0282": ("CodeScanningDefaultSetupUpdateType",), - ".group_0283": ("CodeScanningDefaultSetupUpdateResponseType",), - ".group_0284": ("CodeScanningSarifsReceiptType",), - ".group_0285": ("CodeScanningSarifsStatusType",), - ".group_0286": ("CodeSecurityConfigurationForRepositoryType",), ".group_0287": ( "CodeownersErrorsType", + "CodeownersErrorsTypeForResponse", "CodeownersErrorsPropErrorsItemsType", + "CodeownersErrorsPropErrorsItemsTypeForResponse", + ), + ".group_0288": ( + "CodespacesPermissionsCheckForDevcontainerType", + "CodespacesPermissionsCheckForDevcontainerTypeForResponse", + ), + ".group_0289": ( + "RepositoryInvitationType", + "RepositoryInvitationTypeForResponse", ), - ".group_0288": ("CodespacesPermissionsCheckForDevcontainerType",), - ".group_0289": ("RepositoryInvitationType",), ".group_0290": ( "RepositoryCollaboratorPermissionType", + "RepositoryCollaboratorPermissionTypeForResponse", "CollaboratorType", + "CollaboratorTypeForResponse", "CollaboratorPropPermissionsType", + "CollaboratorPropPermissionsTypeForResponse", ), ".group_0291": ( "CommitCommentType", + "CommitCommentTypeForResponse", "TimelineCommitCommentedEventType", + "TimelineCommitCommentedEventTypeForResponse", ), ".group_0292": ( "BranchShortType", + "BranchShortTypeForResponse", "BranchShortPropCommitType", + "BranchShortPropCommitTypeForResponse", ), ".group_0293": ( "CombinedCommitStatusType", + "CombinedCommitStatusTypeForResponse", "SimpleCommitStatusType", + "SimpleCommitStatusTypeForResponse", + ), + ".group_0294": ( + "StatusType", + "StatusTypeForResponse", ), - ".group_0294": ("StatusType",), ".group_0295": ( "CommunityProfilePropFilesType", + "CommunityProfilePropFilesTypeForResponse", "CommunityHealthFileType", + "CommunityHealthFileTypeForResponse", "CommunityProfileType", + "CommunityProfileTypeForResponse", + ), + ".group_0296": ( + "CommitComparisonType", + "CommitComparisonTypeForResponse", ), - ".group_0296": ("CommitComparisonType",), ".group_0297": ( "ContentTreeType", + "ContentTreeTypeForResponse", "ContentTreePropLinksType", + "ContentTreePropLinksTypeForResponse", "ContentTreePropEntriesItemsType", + "ContentTreePropEntriesItemsTypeForResponse", "ContentTreePropEntriesItemsPropLinksType", + "ContentTreePropEntriesItemsPropLinksTypeForResponse", ), ".group_0298": ( "ContentDirectoryItemsType", + "ContentDirectoryItemsTypeForResponse", "ContentDirectoryItemsPropLinksType", + "ContentDirectoryItemsPropLinksTypeForResponse", ), ".group_0299": ( "ContentFileType", + "ContentFileTypeForResponse", "ContentFilePropLinksType", + "ContentFilePropLinksTypeForResponse", ), ".group_0300": ( "ContentSymlinkType", + "ContentSymlinkTypeForResponse", "ContentSymlinkPropLinksType", + "ContentSymlinkPropLinksTypeForResponse", ), ".group_0301": ( "ContentSubmoduleType", + "ContentSubmoduleTypeForResponse", "ContentSubmodulePropLinksType", + "ContentSubmodulePropLinksTypeForResponse", ), ".group_0302": ( "FileCommitType", + "FileCommitTypeForResponse", "FileCommitPropContentType", + "FileCommitPropContentTypeForResponse", "FileCommitPropContentPropLinksType", + "FileCommitPropContentPropLinksTypeForResponse", "FileCommitPropCommitType", + "FileCommitPropCommitTypeForResponse", "FileCommitPropCommitPropAuthorType", + "FileCommitPropCommitPropAuthorTypeForResponse", "FileCommitPropCommitPropCommitterType", + "FileCommitPropCommitPropCommitterTypeForResponse", "FileCommitPropCommitPropTreeType", + "FileCommitPropCommitPropTreeTypeForResponse", "FileCommitPropCommitPropParentsItemsType", + "FileCommitPropCommitPropParentsItemsTypeForResponse", "FileCommitPropCommitPropVerificationType", + "FileCommitPropCommitPropVerificationTypeForResponse", ), ".group_0303": ( "RepositoryRuleViolationErrorType", + "RepositoryRuleViolationErrorTypeForResponse", "RepositoryRuleViolationErrorPropMetadataType", + "RepositoryRuleViolationErrorPropMetadataTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse", + ), + ".group_0304": ( + "ContributorType", + "ContributorTypeForResponse", + ), + ".group_0305": ( + "DependabotAlertType", + "DependabotAlertTypeForResponse", + ), + ".group_0306": ( + "DependabotAlertPropDependencyType", + "DependabotAlertPropDependencyTypeForResponse", ), - ".group_0304": ("ContributorType",), - ".group_0305": ("DependabotAlertType",), - ".group_0306": ("DependabotAlertPropDependencyType",), ".group_0307": ( "DependencyGraphDiffItemsType", + "DependencyGraphDiffItemsTypeForResponse", "DependencyGraphDiffItemsPropVulnerabilitiesItemsType", + "DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse", ), ".group_0308": ( "DependencyGraphSpdxSbomType", + "DependencyGraphSpdxSbomTypeForResponse", "DependencyGraphSpdxSbomPropSbomType", + "DependencyGraphSpdxSbomPropSbomTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropCreationInfoType", + "DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType", + "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse", + ), + ".group_0309": ( + "MetadataType", + "MetadataTypeForResponse", + ), + ".group_0310": ( + "DependencyType", + "DependencyTypeForResponse", ), - ".group_0309": ("MetadataType",), - ".group_0310": ("DependencyType",), ".group_0311": ( "ManifestType", + "ManifestTypeForResponse", "ManifestPropFileType", + "ManifestPropFileTypeForResponse", "ManifestPropResolvedType", + "ManifestPropResolvedTypeForResponse", ), ".group_0312": ( "SnapshotType", + "SnapshotTypeForResponse", "SnapshotPropJobType", + "SnapshotPropJobTypeForResponse", "SnapshotPropDetectorType", + "SnapshotPropDetectorTypeForResponse", "SnapshotPropManifestsType", + "SnapshotPropManifestsTypeForResponse", + ), + ".group_0313": ( + "DeploymentStatusType", + "DeploymentStatusTypeForResponse", + ), + ".group_0314": ( + "DeploymentBranchPolicySettingsType", + "DeploymentBranchPolicySettingsTypeForResponse", ), - ".group_0313": ("DeploymentStatusType",), - ".group_0314": ("DeploymentBranchPolicySettingsType",), ".group_0315": ( "EnvironmentType", + "EnvironmentTypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof0Type", + "EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof2Type", + "EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse", "ReposOwnerRepoEnvironmentsGetResponse200Type", + "ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse", + ), + ".group_0316": ( + "EnvironmentPropProtectionRulesItemsAnyof1Type", + "EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse", ), - ".group_0316": ("EnvironmentPropProtectionRulesItemsAnyof1Type",), ".group_0317": ( "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType", + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse", + ), + ".group_0318": ( + "DeploymentBranchPolicyNamePatternWithTypeType", + "DeploymentBranchPolicyNamePatternWithTypeTypeForResponse", + ), + ".group_0319": ( + "DeploymentBranchPolicyNamePatternType", + "DeploymentBranchPolicyNamePatternTypeForResponse", + ), + ".group_0320": ( + "CustomDeploymentRuleAppType", + "CustomDeploymentRuleAppTypeForResponse", ), - ".group_0318": ("DeploymentBranchPolicyNamePatternWithTypeType",), - ".group_0319": ("DeploymentBranchPolicyNamePatternType",), - ".group_0320": ("CustomDeploymentRuleAppType",), ".group_0321": ( "DeploymentProtectionRuleType", + "DeploymentProtectionRuleTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse", + ), + ".group_0322": ( + "ShortBlobType", + "ShortBlobTypeForResponse", + ), + ".group_0323": ( + "BlobType", + "BlobTypeForResponse", ), - ".group_0322": ("ShortBlobType",), - ".group_0323": ("BlobType",), ".group_0324": ( "GitCommitType", + "GitCommitTypeForResponse", "GitCommitPropAuthorType", + "GitCommitPropAuthorTypeForResponse", "GitCommitPropCommitterType", + "GitCommitPropCommitterTypeForResponse", "GitCommitPropTreeType", + "GitCommitPropTreeTypeForResponse", "GitCommitPropParentsItemsType", + "GitCommitPropParentsItemsTypeForResponse", "GitCommitPropVerificationType", + "GitCommitPropVerificationTypeForResponse", ), ".group_0325": ( "GitRefType", + "GitRefTypeForResponse", "GitRefPropObjectType", + "GitRefPropObjectTypeForResponse", ), ".group_0326": ( "GitTagType", + "GitTagTypeForResponse", "GitTagPropTaggerType", + "GitTagPropTaggerTypeForResponse", "GitTagPropObjectType", + "GitTagPropObjectTypeForResponse", ), ".group_0327": ( "GitTreeType", + "GitTreeTypeForResponse", "GitTreePropTreeItemsType", + "GitTreePropTreeItemsTypeForResponse", + ), + ".group_0328": ( + "HookResponseType", + "HookResponseTypeForResponse", + ), + ".group_0329": ( + "HookType", + "HookTypeForResponse", + ), + ".group_0330": ( + "CheckImmutableReleasesType", + "CheckImmutableReleasesTypeForResponse", ), - ".group_0328": ("HookResponseType",), - ".group_0329": ("HookType",), - ".group_0330": ("CheckImmutableReleasesType",), ".group_0331": ( "ImportType", + "ImportTypeForResponse", "ImportPropProjectChoicesItemsType", + "ImportPropProjectChoicesItemsTypeForResponse", + ), + ".group_0332": ( + "PorterAuthorType", + "PorterAuthorTypeForResponse", + ), + ".group_0333": ( + "PorterLargeFileType", + "PorterLargeFileTypeForResponse", ), - ".group_0332": ("PorterAuthorType",), - ".group_0333": ("PorterLargeFileType",), ".group_0334": ( "IssueEventType", + "IssueEventTypeForResponse", "IssueEventLabelType", + "IssueEventLabelTypeForResponse", "IssueEventDismissedReviewType", + "IssueEventDismissedReviewTypeForResponse", "IssueEventMilestoneType", + "IssueEventMilestoneTypeForResponse", "IssueEventProjectCardType", + "IssueEventProjectCardTypeForResponse", "IssueEventRenameType", + "IssueEventRenameTypeForResponse", ), ".group_0335": ( "LabeledIssueEventType", + "LabeledIssueEventTypeForResponse", "LabeledIssueEventPropLabelType", + "LabeledIssueEventPropLabelTypeForResponse", ), ".group_0336": ( "UnlabeledIssueEventType", + "UnlabeledIssueEventTypeForResponse", "UnlabeledIssueEventPropLabelType", + "UnlabeledIssueEventPropLabelTypeForResponse", + ), + ".group_0337": ( + "AssignedIssueEventType", + "AssignedIssueEventTypeForResponse", + ), + ".group_0338": ( + "UnassignedIssueEventType", + "UnassignedIssueEventTypeForResponse", ), - ".group_0337": ("AssignedIssueEventType",), - ".group_0338": ("UnassignedIssueEventType",), ".group_0339": ( "MilestonedIssueEventType", + "MilestonedIssueEventTypeForResponse", "MilestonedIssueEventPropMilestoneType", + "MilestonedIssueEventPropMilestoneTypeForResponse", ), ".group_0340": ( "DemilestonedIssueEventType", + "DemilestonedIssueEventTypeForResponse", "DemilestonedIssueEventPropMilestoneType", + "DemilestonedIssueEventPropMilestoneTypeForResponse", ), ".group_0341": ( "RenamedIssueEventType", + "RenamedIssueEventTypeForResponse", "RenamedIssueEventPropRenameType", + "RenamedIssueEventPropRenameTypeForResponse", + ), + ".group_0342": ( + "ReviewRequestedIssueEventType", + "ReviewRequestedIssueEventTypeForResponse", + ), + ".group_0343": ( + "ReviewRequestRemovedIssueEventType", + "ReviewRequestRemovedIssueEventTypeForResponse", ), - ".group_0342": ("ReviewRequestedIssueEventType",), - ".group_0343": ("ReviewRequestRemovedIssueEventType",), ".group_0344": ( "ReviewDismissedIssueEventType", + "ReviewDismissedIssueEventTypeForResponse", "ReviewDismissedIssueEventPropDismissedReviewType", + "ReviewDismissedIssueEventPropDismissedReviewTypeForResponse", + ), + ".group_0345": ( + "LockedIssueEventType", + "LockedIssueEventTypeForResponse", ), - ".group_0345": ("LockedIssueEventType",), ".group_0346": ( "AddedToProjectIssueEventType", + "AddedToProjectIssueEventTypeForResponse", "AddedToProjectIssueEventPropProjectCardType", + "AddedToProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0347": ( "MovedColumnInProjectIssueEventType", + "MovedColumnInProjectIssueEventTypeForResponse", "MovedColumnInProjectIssueEventPropProjectCardType", + "MovedColumnInProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0348": ( "RemovedFromProjectIssueEventType", + "RemovedFromProjectIssueEventTypeForResponse", "RemovedFromProjectIssueEventPropProjectCardType", + "RemovedFromProjectIssueEventPropProjectCardTypeForResponse", ), ".group_0349": ( "ConvertedNoteToIssueIssueEventType", + "ConvertedNoteToIssueIssueEventTypeForResponse", "ConvertedNoteToIssueIssueEventPropProjectCardType", + "ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse", + ), + ".group_0350": ( + "TimelineCommentEventType", + "TimelineCommentEventTypeForResponse", + ), + ".group_0351": ( + "TimelineCrossReferencedEventType", + "TimelineCrossReferencedEventTypeForResponse", + ), + ".group_0352": ( + "TimelineCrossReferencedEventPropSourceType", + "TimelineCrossReferencedEventPropSourceTypeForResponse", ), - ".group_0350": ("TimelineCommentEventType",), - ".group_0351": ("TimelineCrossReferencedEventType",), - ".group_0352": ("TimelineCrossReferencedEventPropSourceType",), ".group_0353": ( "TimelineCommittedEventType", + "TimelineCommittedEventTypeForResponse", "TimelineCommittedEventPropAuthorType", + "TimelineCommittedEventPropAuthorTypeForResponse", "TimelineCommittedEventPropCommitterType", + "TimelineCommittedEventPropCommitterTypeForResponse", "TimelineCommittedEventPropTreeType", + "TimelineCommittedEventPropTreeTypeForResponse", "TimelineCommittedEventPropParentsItemsType", + "TimelineCommittedEventPropParentsItemsTypeForResponse", "TimelineCommittedEventPropVerificationType", + "TimelineCommittedEventPropVerificationTypeForResponse", ), ".group_0354": ( "TimelineReviewedEventType", + "TimelineReviewedEventTypeForResponse", "TimelineReviewedEventPropLinksType", + "TimelineReviewedEventPropLinksTypeForResponse", "TimelineReviewedEventPropLinksPropHtmlType", + "TimelineReviewedEventPropLinksPropHtmlTypeForResponse", "TimelineReviewedEventPropLinksPropPullRequestType", + "TimelineReviewedEventPropLinksPropPullRequestTypeForResponse", ), ".group_0355": ( "PullRequestReviewCommentType", + "PullRequestReviewCommentTypeForResponse", "PullRequestReviewCommentPropLinksType", + "PullRequestReviewCommentPropLinksTypeForResponse", "PullRequestReviewCommentPropLinksPropSelfType", + "PullRequestReviewCommentPropLinksPropSelfTypeForResponse", "PullRequestReviewCommentPropLinksPropHtmlType", + "PullRequestReviewCommentPropLinksPropHtmlTypeForResponse", "PullRequestReviewCommentPropLinksPropPullRequestType", + "PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse", "TimelineLineCommentedEventType", + "TimelineLineCommentedEventTypeForResponse", + ), + ".group_0356": ( + "TimelineAssignedIssueEventType", + "TimelineAssignedIssueEventTypeForResponse", + ), + ".group_0357": ( + "TimelineUnassignedIssueEventType", + "TimelineUnassignedIssueEventTypeForResponse", + ), + ".group_0358": ( + "StateChangeIssueEventType", + "StateChangeIssueEventTypeForResponse", + ), + ".group_0359": ( + "DeployKeyType", + "DeployKeyTypeForResponse", + ), + ".group_0360": ( + "LanguageType", + "LanguageTypeForResponse", ), - ".group_0356": ("TimelineAssignedIssueEventType",), - ".group_0357": ("TimelineUnassignedIssueEventType",), - ".group_0358": ("StateChangeIssueEventType",), - ".group_0359": ("DeployKeyType",), - ".group_0360": ("LanguageType",), ".group_0361": ( "LicenseContentType", + "LicenseContentTypeForResponse", "LicenseContentPropLinksType", + "LicenseContentPropLinksTypeForResponse", + ), + ".group_0362": ( + "MergedUpstreamType", + "MergedUpstreamTypeForResponse", ), - ".group_0362": ("MergedUpstreamType",), ".group_0363": ( "PageType", + "PageTypeForResponse", "PagesSourceHashType", + "PagesSourceHashTypeForResponse", "PagesHttpsCertificateType", + "PagesHttpsCertificateTypeForResponse", + ), + ".group_0364": ( + "PageBuildType", + "PageBuildTypeForResponse", + "PageBuildPropErrorType", + "PageBuildPropErrorTypeForResponse", + ), + ".group_0365": ( + "PageBuildStatusType", + "PageBuildStatusTypeForResponse", + ), + ".group_0366": ( + "PageDeploymentType", + "PageDeploymentTypeForResponse", + ), + ".group_0367": ( + "PagesDeploymentStatusType", + "PagesDeploymentStatusTypeForResponse", + ), + ".group_0368": ( + "PagesHealthCheckType", + "PagesHealthCheckTypeForResponse", + "PagesHealthCheckPropDomainType", + "PagesHealthCheckPropDomainTypeForResponse", + "PagesHealthCheckPropAltDomainType", + "PagesHealthCheckPropAltDomainTypeForResponse", + ), + ".group_0369": ( + "PullRequestType", + "PullRequestTypeForResponse", + ), + ".group_0370": ( + "PullRequestPropLabelsItemsType", + "PullRequestPropLabelsItemsTypeForResponse", + ), + ".group_0371": ( + "PullRequestPropHeadType", + "PullRequestPropHeadTypeForResponse", + "PullRequestPropBaseType", + "PullRequestPropBaseTypeForResponse", + ), + ".group_0372": ( + "PullRequestPropLinksType", + "PullRequestPropLinksTypeForResponse", + ), + ".group_0373": ( + "PullRequestMergeResultType", + "PullRequestMergeResultTypeForResponse", + ), + ".group_0374": ( + "PullRequestReviewRequestType", + "PullRequestReviewRequestTypeForResponse", + ), + ".group_0375": ( + "PullRequestReviewType", + "PullRequestReviewTypeForResponse", + "PullRequestReviewPropLinksType", + "PullRequestReviewPropLinksTypeForResponse", + "PullRequestReviewPropLinksPropHtmlType", + "PullRequestReviewPropLinksPropHtmlTypeForResponse", + "PullRequestReviewPropLinksPropPullRequestType", + "PullRequestReviewPropLinksPropPullRequestTypeForResponse", + ), + ".group_0376": ( + "ReviewCommentType", + "ReviewCommentTypeForResponse", + ), + ".group_0377": ( + "ReviewCommentPropLinksType", + "ReviewCommentPropLinksTypeForResponse", + ), + ".group_0378": ( + "ReleaseAssetType", + "ReleaseAssetTypeForResponse", + ), + ".group_0379": ( + "ReleaseType", + "ReleaseTypeForResponse", + ), + ".group_0380": ( + "ReleaseNotesContentType", + "ReleaseNotesContentTypeForResponse", + ), + ".group_0381": ( + "RepositoryRuleRulesetInfoType", + "RepositoryRuleRulesetInfoTypeForResponse", + ), + ".group_0382": ( + "RepositoryRuleDetailedOneof0Type", + "RepositoryRuleDetailedOneof0TypeForResponse", + ), + ".group_0383": ( + "RepositoryRuleDetailedOneof1Type", + "RepositoryRuleDetailedOneof1TypeForResponse", + ), + ".group_0384": ( + "RepositoryRuleDetailedOneof2Type", + "RepositoryRuleDetailedOneof2TypeForResponse", + ), + ".group_0385": ( + "RepositoryRuleDetailedOneof3Type", + "RepositoryRuleDetailedOneof3TypeForResponse", + ), + ".group_0386": ( + "RepositoryRuleDetailedOneof4Type", + "RepositoryRuleDetailedOneof4TypeForResponse", + ), + ".group_0387": ( + "RepositoryRuleDetailedOneof5Type", + "RepositoryRuleDetailedOneof5TypeForResponse", + ), + ".group_0388": ( + "RepositoryRuleDetailedOneof6Type", + "RepositoryRuleDetailedOneof6TypeForResponse", + ), + ".group_0389": ( + "RepositoryRuleDetailedOneof7Type", + "RepositoryRuleDetailedOneof7TypeForResponse", + ), + ".group_0390": ( + "RepositoryRuleDetailedOneof8Type", + "RepositoryRuleDetailedOneof8TypeForResponse", + ), + ".group_0391": ( + "RepositoryRuleDetailedOneof9Type", + "RepositoryRuleDetailedOneof9TypeForResponse", + ), + ".group_0392": ( + "RepositoryRuleDetailedOneof10Type", + "RepositoryRuleDetailedOneof10TypeForResponse", + ), + ".group_0393": ( + "RepositoryRuleDetailedOneof11Type", + "RepositoryRuleDetailedOneof11TypeForResponse", + ), + ".group_0394": ( + "RepositoryRuleDetailedOneof12Type", + "RepositoryRuleDetailedOneof12TypeForResponse", + ), + ".group_0395": ( + "RepositoryRuleDetailedOneof13Type", + "RepositoryRuleDetailedOneof13TypeForResponse", + ), + ".group_0396": ( + "RepositoryRuleDetailedOneof14Type", + "RepositoryRuleDetailedOneof14TypeForResponse", + ), + ".group_0397": ( + "RepositoryRuleDetailedOneof15Type", + "RepositoryRuleDetailedOneof15TypeForResponse", + ), + ".group_0398": ( + "RepositoryRuleDetailedOneof16Type", + "RepositoryRuleDetailedOneof16TypeForResponse", + ), + ".group_0399": ( + "RepositoryRuleDetailedOneof17Type", + "RepositoryRuleDetailedOneof17TypeForResponse", + ), + ".group_0400": ( + "RepositoryRuleDetailedOneof18Type", + "RepositoryRuleDetailedOneof18TypeForResponse", ), - ".group_0364": ( - "PageBuildType", - "PageBuildPropErrorType", + ".group_0401": ( + "RepositoryRuleDetailedOneof19Type", + "RepositoryRuleDetailedOneof19TypeForResponse", ), - ".group_0365": ("PageBuildStatusType",), - ".group_0366": ("PageDeploymentType",), - ".group_0367": ("PagesDeploymentStatusType",), - ".group_0368": ( - "PagesHealthCheckType", - "PagesHealthCheckPropDomainType", - "PagesHealthCheckPropAltDomainType", + ".group_0402": ( + "RepositoryRuleDetailedOneof20Type", + "RepositoryRuleDetailedOneof20TypeForResponse", ), - ".group_0369": ("PullRequestType",), - ".group_0370": ("PullRequestPropLabelsItemsType",), - ".group_0371": ( - "PullRequestPropHeadType", - "PullRequestPropBaseType", + ".group_0403": ( + "RepositoryRuleDetailedOneof21Type", + "RepositoryRuleDetailedOneof21TypeForResponse", ), - ".group_0372": ("PullRequestPropLinksType",), - ".group_0373": ("PullRequestMergeResultType",), - ".group_0374": ("PullRequestReviewRequestType",), - ".group_0375": ( - "PullRequestReviewType", - "PullRequestReviewPropLinksType", - "PullRequestReviewPropLinksPropHtmlType", - "PullRequestReviewPropLinksPropPullRequestType", + ".group_0404": ( + "SecretScanningAlertType", + "SecretScanningAlertTypeForResponse", + ), + ".group_0405": ( + "SecretScanningLocationType", + "SecretScanningLocationTypeForResponse", + ), + ".group_0406": ( + "SecretScanningPushProtectionBypassType", + "SecretScanningPushProtectionBypassTypeForResponse", ), - ".group_0376": ("ReviewCommentType",), - ".group_0377": ("ReviewCommentPropLinksType",), - ".group_0378": ("ReleaseAssetType",), - ".group_0379": ("ReleaseType",), - ".group_0380": ("ReleaseNotesContentType",), - ".group_0381": ("RepositoryRuleRulesetInfoType",), - ".group_0382": ("RepositoryRuleDetailedOneof0Type",), - ".group_0383": ("RepositoryRuleDetailedOneof1Type",), - ".group_0384": ("RepositoryRuleDetailedOneof2Type",), - ".group_0385": ("RepositoryRuleDetailedOneof3Type",), - ".group_0386": ("RepositoryRuleDetailedOneof4Type",), - ".group_0387": ("RepositoryRuleDetailedOneof5Type",), - ".group_0388": ("RepositoryRuleDetailedOneof6Type",), - ".group_0389": ("RepositoryRuleDetailedOneof7Type",), - ".group_0390": ("RepositoryRuleDetailedOneof8Type",), - ".group_0391": ("RepositoryRuleDetailedOneof9Type",), - ".group_0392": ("RepositoryRuleDetailedOneof10Type",), - ".group_0393": ("RepositoryRuleDetailedOneof11Type",), - ".group_0394": ("RepositoryRuleDetailedOneof12Type",), - ".group_0395": ("RepositoryRuleDetailedOneof13Type",), - ".group_0396": ("RepositoryRuleDetailedOneof14Type",), - ".group_0397": ("RepositoryRuleDetailedOneof15Type",), - ".group_0398": ("RepositoryRuleDetailedOneof16Type",), - ".group_0399": ("RepositoryRuleDetailedOneof17Type",), - ".group_0400": ("RepositoryRuleDetailedOneof18Type",), - ".group_0401": ("RepositoryRuleDetailedOneof19Type",), - ".group_0402": ("RepositoryRuleDetailedOneof20Type",), - ".group_0403": ("RepositoryRuleDetailedOneof21Type",), - ".group_0404": ("SecretScanningAlertType",), - ".group_0405": ("SecretScanningLocationType",), - ".group_0406": ("SecretScanningPushProtectionBypassType",), ".group_0407": ( "SecretScanningScanHistoryType", + "SecretScanningScanHistoryTypeForResponse", "SecretScanningScanType", + "SecretScanningScanTypeForResponse", "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse", ), ".group_0408": ( "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse", ), ".group_0409": ( "RepositoryAdvisoryCreateType", + "RepositoryAdvisoryCreateTypeForResponse", "RepositoryAdvisoryCreatePropCreditsItemsType", + "RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0410": ( "PrivateVulnerabilityReportCreateType", + "PrivateVulnerabilityReportCreateTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0411": ( "RepositoryAdvisoryUpdateType", + "RepositoryAdvisoryUpdateTypeForResponse", "RepositoryAdvisoryUpdatePropCreditsItemsType", + "RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse", + ), + ".group_0412": ( + "StargazerType", + "StargazerTypeForResponse", + ), + ".group_0413": ( + "CommitActivityType", + "CommitActivityTypeForResponse", ), - ".group_0412": ("StargazerType",), - ".group_0413": ("CommitActivityType",), ".group_0414": ( "ContributorActivityType", + "ContributorActivityTypeForResponse", "ContributorActivityPropWeeksItemsType", + "ContributorActivityPropWeeksItemsTypeForResponse", + ), + ".group_0415": ( + "ParticipationStatsType", + "ParticipationStatsTypeForResponse", + ), + ".group_0416": ( + "RepositorySubscriptionType", + "RepositorySubscriptionTypeForResponse", ), - ".group_0415": ("ParticipationStatsType",), - ".group_0416": ("RepositorySubscriptionType",), ".group_0417": ( "TagType", + "TagTypeForResponse", "TagPropCommitType", + "TagPropCommitTypeForResponse", + ), + ".group_0418": ( + "TagProtectionType", + "TagProtectionTypeForResponse", + ), + ".group_0419": ( + "TopicType", + "TopicTypeForResponse", + ), + ".group_0420": ( + "TrafficType", + "TrafficTypeForResponse", + ), + ".group_0421": ( + "CloneTrafficType", + "CloneTrafficTypeForResponse", + ), + ".group_0422": ( + "ContentTrafficType", + "ContentTrafficTypeForResponse", + ), + ".group_0423": ( + "ReferrerTrafficType", + "ReferrerTrafficTypeForResponse", + ), + ".group_0424": ( + "ViewTrafficType", + "ViewTrafficTypeForResponse", ), - ".group_0418": ("TagProtectionType",), - ".group_0419": ("TopicType",), - ".group_0420": ("TrafficType",), - ".group_0421": ("CloneTrafficType",), - ".group_0422": ("ContentTrafficType",), - ".group_0423": ("ReferrerTrafficType",), - ".group_0424": ("ViewTrafficType",), ".group_0425": ( "SearchResultTextMatchesItemsType", + "SearchResultTextMatchesItemsTypeForResponse", "SearchResultTextMatchesItemsPropMatchesItemsType", + "SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse", ), ".group_0426": ( "CodeSearchResultItemType", + "CodeSearchResultItemTypeForResponse", "SearchCodeGetResponse200Type", + "SearchCodeGetResponse200TypeForResponse", ), ".group_0427": ( "CommitSearchResultItemType", + "CommitSearchResultItemTypeForResponse", "CommitSearchResultItemPropParentsItemsType", + "CommitSearchResultItemPropParentsItemsTypeForResponse", "SearchCommitsGetResponse200Type", + "SearchCommitsGetResponse200TypeForResponse", ), ".group_0428": ( "CommitSearchResultItemPropCommitType", + "CommitSearchResultItemPropCommitTypeForResponse", "CommitSearchResultItemPropCommitPropAuthorType", + "CommitSearchResultItemPropCommitPropAuthorTypeForResponse", "CommitSearchResultItemPropCommitPropTreeType", + "CommitSearchResultItemPropCommitPropTreeTypeForResponse", ), ".group_0429": ( "IssueSearchResultItemType", + "IssueSearchResultItemTypeForResponse", "IssueSearchResultItemPropLabelsItemsType", + "IssueSearchResultItemPropLabelsItemsTypeForResponse", "IssueSearchResultItemPropPullRequestType", + "IssueSearchResultItemPropPullRequestTypeForResponse", "SearchIssuesGetResponse200Type", + "SearchIssuesGetResponse200TypeForResponse", ), ".group_0430": ( "LabelSearchResultItemType", + "LabelSearchResultItemTypeForResponse", "SearchLabelsGetResponse200Type", + "SearchLabelsGetResponse200TypeForResponse", ), ".group_0431": ( "RepoSearchResultItemType", + "RepoSearchResultItemTypeForResponse", "RepoSearchResultItemPropPermissionsType", + "RepoSearchResultItemPropPermissionsTypeForResponse", "SearchRepositoriesGetResponse200Type", + "SearchRepositoriesGetResponse200TypeForResponse", ), ".group_0432": ( "TopicSearchResultItemType", + "TopicSearchResultItemTypeForResponse", "TopicSearchResultItemPropRelatedItemsType", + "TopicSearchResultItemPropRelatedItemsTypeForResponse", "TopicSearchResultItemPropRelatedItemsPropTopicRelationType", + "TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropAliasesItemsType", + "TopicSearchResultItemPropAliasesItemsTypeForResponse", "TopicSearchResultItemPropAliasesItemsPropTopicRelationType", + "TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse", "SearchTopicsGetResponse200Type", + "SearchTopicsGetResponse200TypeForResponse", ), ".group_0433": ( "UserSearchResultItemType", + "UserSearchResultItemTypeForResponse", "SearchUsersGetResponse200Type", + "SearchUsersGetResponse200TypeForResponse", ), ".group_0434": ( "PrivateUserType", + "PrivateUserTypeForResponse", "PrivateUserPropPlanType", + "PrivateUserPropPlanTypeForResponse", + ), + ".group_0435": ( + "CodespacesUserPublicKeyType", + "CodespacesUserPublicKeyTypeForResponse", + ), + ".group_0436": ( + "CodespaceExportDetailsType", + "CodespaceExportDetailsTypeForResponse", ), - ".group_0435": ("CodespacesUserPublicKeyType",), - ".group_0436": ("CodespaceExportDetailsType",), ".group_0437": ( "CodespaceWithFullRepositoryType", + "CodespaceWithFullRepositoryTypeForResponse", "CodespaceWithFullRepositoryPropGitStatusType", + "CodespaceWithFullRepositoryPropGitStatusTypeForResponse", "CodespaceWithFullRepositoryPropRuntimeConstraintsType", + "CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse", + ), + ".group_0438": ( + "EmailType", + "EmailTypeForResponse", ), - ".group_0438": ("EmailType",), ".group_0439": ( "GpgKeyType", + "GpgKeyTypeForResponse", "GpgKeyPropEmailsItemsType", + "GpgKeyPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsType", + "GpgKeyPropSubkeysItemsTypeForResponse", "GpgKeyPropSubkeysItemsPropEmailsItemsType", + "GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse", + ), + ".group_0440": ( + "KeyType", + "KeyTypeForResponse", ), - ".group_0440": ("KeyType",), ".group_0441": ( "UserMarketplacePurchaseType", + "UserMarketplacePurchaseTypeForResponse", "MarketplaceAccountType", + "MarketplaceAccountTypeForResponse", + ), + ".group_0442": ( + "SocialAccountType", + "SocialAccountTypeForResponse", + ), + ".group_0443": ( + "SshSigningKeyType", + "SshSigningKeyTypeForResponse", + ), + ".group_0444": ( + "StarredRepositoryType", + "StarredRepositoryTypeForResponse", ), - ".group_0442": ("SocialAccountType",), - ".group_0443": ("SshSigningKeyType",), - ".group_0444": ("StarredRepositoryType",), ".group_0445": ( "HovercardType", + "HovercardTypeForResponse", "HovercardPropContextsItemsType", + "HovercardPropContextsItemsTypeForResponse", + ), + ".group_0446": ( + "KeySimpleType", + "KeySimpleTypeForResponse", ), - ".group_0446": ("KeySimpleType",), ".group_0447": ( "BillingPremiumRequestUsageReportUserType", + "BillingPremiumRequestUsageReportUserTypeForResponse", "BillingPremiumRequestUsageReportUserPropTimePeriodType", + "BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportUserPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse", ), ".group_0448": ( "BillingUsageReportUserType", + "BillingUsageReportUserTypeForResponse", "BillingUsageReportUserPropUsageItemsItemsType", + "BillingUsageReportUserPropUsageItemsItemsTypeForResponse", ), ".group_0449": ( "BillingUsageSummaryReportUserType", + "BillingUsageSummaryReportUserTypeForResponse", "BillingUsageSummaryReportUserPropTimePeriodType", + "BillingUsageSummaryReportUserPropTimePeriodTypeForResponse", "BillingUsageSummaryReportUserPropUsageItemsItemsType", + "BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse", + ), + ".group_0450": ( + "EnterpriseWebhooksType", + "EnterpriseWebhooksTypeForResponse", + ), + ".group_0451": ( + "SimpleInstallationType", + "SimpleInstallationTypeForResponse", + ), + ".group_0452": ( + "OrganizationSimpleWebhooksType", + "OrganizationSimpleWebhooksTypeForResponse", ), - ".group_0450": ("EnterpriseWebhooksType",), - ".group_0451": ("SimpleInstallationType",), - ".group_0452": ("OrganizationSimpleWebhooksType",), ".group_0453": ( "RepositoryWebhooksType", + "RepositoryWebhooksTypeForResponse", "RepositoryWebhooksPropPermissionsType", + "RepositoryWebhooksPropPermissionsTypeForResponse", "RepositoryWebhooksPropCustomPropertiesType", + "RepositoryWebhooksPropCustomPropertiesTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryType", + "RepositoryWebhooksPropTemplateRepositoryTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropOwnerType", + "RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropPermissionsType", + "RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse", + ), + ".group_0454": ( + "WebhooksRuleType", + "WebhooksRuleTypeForResponse", + ), + ".group_0455": ( + "SimpleCheckSuiteType", + "SimpleCheckSuiteTypeForResponse", ), - ".group_0454": ("WebhooksRuleType",), - ".group_0455": ("SimpleCheckSuiteType",), ".group_0456": ( "CheckRunWithSimpleCheckSuiteType", + "CheckRunWithSimpleCheckSuiteTypeForResponse", "CheckRunWithSimpleCheckSuitePropOutputType", + "CheckRunWithSimpleCheckSuitePropOutputTypeForResponse", + ), + ".group_0457": ( + "WebhooksDeployKeyType", + "WebhooksDeployKeyTypeForResponse", + ), + ".group_0458": ( + "WebhooksWorkflowType", + "WebhooksWorkflowTypeForResponse", ), - ".group_0457": ("WebhooksDeployKeyType",), - ".group_0458": ("WebhooksWorkflowType",), ".group_0459": ( "WebhooksApproverType", + "WebhooksApproverTypeForResponse", "WebhooksReviewersItemsType", + "WebhooksReviewersItemsTypeForResponse", "WebhooksReviewersItemsPropReviewerType", + "WebhooksReviewersItemsPropReviewerTypeForResponse", + ), + ".group_0460": ( + "WebhooksWorkflowJobRunType", + "WebhooksWorkflowJobRunTypeForResponse", + ), + ".group_0461": ( + "WebhooksUserType", + "WebhooksUserTypeForResponse", ), - ".group_0460": ("WebhooksWorkflowJobRunType",), - ".group_0461": ("WebhooksUserType",), ".group_0462": ( "WebhooksAnswerType", + "WebhooksAnswerTypeForResponse", "WebhooksAnswerPropReactionsType", + "WebhooksAnswerPropReactionsTypeForResponse", "WebhooksAnswerPropUserType", + "WebhooksAnswerPropUserTypeForResponse", ), ".group_0463": ( "DiscussionType", + "DiscussionTypeForResponse", "LabelType", + "LabelTypeForResponse", "DiscussionPropAnswerChosenByType", + "DiscussionPropAnswerChosenByTypeForResponse", "DiscussionPropCategoryType", + "DiscussionPropCategoryTypeForResponse", "DiscussionPropReactionsType", + "DiscussionPropReactionsTypeForResponse", "DiscussionPropUserType", + "DiscussionPropUserTypeForResponse", ), ".group_0464": ( "WebhooksCommentType", + "WebhooksCommentTypeForResponse", "WebhooksCommentPropReactionsType", + "WebhooksCommentPropReactionsTypeForResponse", "WebhooksCommentPropUserType", + "WebhooksCommentPropUserTypeForResponse", + ), + ".group_0465": ( + "WebhooksLabelType", + "WebhooksLabelTypeForResponse", + ), + ".group_0466": ( + "WebhooksRepositoriesItemsType", + "WebhooksRepositoriesItemsTypeForResponse", + ), + ".group_0467": ( + "WebhooksRepositoriesAddedItemsType", + "WebhooksRepositoriesAddedItemsTypeForResponse", ), - ".group_0465": ("WebhooksLabelType",), - ".group_0466": ("WebhooksRepositoriesItemsType",), - ".group_0467": ("WebhooksRepositoriesAddedItemsType",), ".group_0468": ( "WebhooksIssueCommentType", + "WebhooksIssueCommentTypeForResponse", "WebhooksIssueCommentPropReactionsType", + "WebhooksIssueCommentPropReactionsTypeForResponse", "WebhooksIssueCommentPropUserType", + "WebhooksIssueCommentPropUserTypeForResponse", ), ".group_0469": ( "WebhooksChangesType", + "WebhooksChangesTypeForResponse", "WebhooksChangesPropBodyType", + "WebhooksChangesPropBodyTypeForResponse", ), ".group_0470": ( "WebhooksIssueType", + "WebhooksIssueTypeForResponse", "WebhooksIssuePropAssigneeType", + "WebhooksIssuePropAssigneeTypeForResponse", "WebhooksIssuePropAssigneesItemsType", + "WebhooksIssuePropAssigneesItemsTypeForResponse", "WebhooksIssuePropLabelsItemsType", + "WebhooksIssuePropLabelsItemsTypeForResponse", "WebhooksIssuePropMilestoneType", + "WebhooksIssuePropMilestoneTypeForResponse", "WebhooksIssuePropMilestonePropCreatorType", + "WebhooksIssuePropMilestonePropCreatorTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppType", + "WebhooksIssuePropPerformedViaGithubAppTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropOwnerType", + "WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssuePropPullRequestType", + "WebhooksIssuePropPullRequestTypeForResponse", "WebhooksIssuePropReactionsType", + "WebhooksIssuePropReactionsTypeForResponse", "WebhooksIssuePropUserType", + "WebhooksIssuePropUserTypeForResponse", ), ".group_0471": ( "WebhooksMilestoneType", + "WebhooksMilestoneTypeForResponse", "WebhooksMilestonePropCreatorType", + "WebhooksMilestonePropCreatorTypeForResponse", ), ".group_0472": ( "WebhooksIssue2Type", + "WebhooksIssue2TypeForResponse", "WebhooksIssue2PropAssigneeType", + "WebhooksIssue2PropAssigneeTypeForResponse", "WebhooksIssue2PropAssigneesItemsType", + "WebhooksIssue2PropAssigneesItemsTypeForResponse", "WebhooksIssue2PropLabelsItemsType", + "WebhooksIssue2PropLabelsItemsTypeForResponse", "WebhooksIssue2PropMilestoneType", + "WebhooksIssue2PropMilestoneTypeForResponse", "WebhooksIssue2PropMilestonePropCreatorType", + "WebhooksIssue2PropMilestonePropCreatorTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppType", + "WebhooksIssue2PropPerformedViaGithubAppTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropOwnerType", + "WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssue2PropPullRequestType", + "WebhooksIssue2PropPullRequestTypeForResponse", "WebhooksIssue2PropReactionsType", + "WebhooksIssue2PropReactionsTypeForResponse", "WebhooksIssue2PropUserType", + "WebhooksIssue2PropUserTypeForResponse", + ), + ".group_0473": ( + "WebhooksUserMannequinType", + "WebhooksUserMannequinTypeForResponse", ), - ".group_0473": ("WebhooksUserMannequinType",), ".group_0474": ( "WebhooksMarketplacePurchaseType", + "WebhooksMarketplacePurchaseTypeForResponse", "WebhooksMarketplacePurchasePropAccountType", + "WebhooksMarketplacePurchasePropAccountTypeForResponse", "WebhooksMarketplacePurchasePropPlanType", + "WebhooksMarketplacePurchasePropPlanTypeForResponse", ), ".group_0475": ( "WebhooksPreviousMarketplacePurchaseType", + "WebhooksPreviousMarketplacePurchaseTypeForResponse", "WebhooksPreviousMarketplacePurchasePropAccountType", + "WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhooksPreviousMarketplacePurchasePropPlanType", + "WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0476": ( "WebhooksTeamType", + "WebhooksTeamTypeForResponse", "WebhooksTeamPropParentType", + "WebhooksTeamPropParentTypeForResponse", + ), + ".group_0477": ( + "MergeGroupType", + "MergeGroupTypeForResponse", ), - ".group_0477": ("MergeGroupType",), ".group_0478": ( "WebhooksMilestone3Type", + "WebhooksMilestone3TypeForResponse", "WebhooksMilestone3PropCreatorType", + "WebhooksMilestone3PropCreatorTypeForResponse", ), ".group_0479": ( "WebhooksMembershipType", + "WebhooksMembershipTypeForResponse", "WebhooksMembershipPropUserType", + "WebhooksMembershipPropUserTypeForResponse", ), ".group_0480": ( "PersonalAccessTokenRequestType", + "PersonalAccessTokenRequestTypeForResponse", "PersonalAccessTokenRequestPropRepositoriesItemsType", + "PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedType", + "PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedType", + "PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultType", + "PersonalAccessTokenRequestPropPermissionsResultTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOtherType", + "PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse", ), ".group_0481": ( "WebhooksProjectCardType", + "WebhooksProjectCardTypeForResponse", "WebhooksProjectCardPropCreatorType", + "WebhooksProjectCardPropCreatorTypeForResponse", ), ".group_0482": ( "WebhooksProjectType", + "WebhooksProjectTypeForResponse", "WebhooksProjectPropCreatorType", + "WebhooksProjectPropCreatorTypeForResponse", + ), + ".group_0483": ( + "WebhooksProjectColumnType", + "WebhooksProjectColumnTypeForResponse", ), - ".group_0483": ("WebhooksProjectColumnType",), ".group_0484": ( "WebhooksProjectChangesType", + "WebhooksProjectChangesTypeForResponse", "WebhooksProjectChangesPropArchivedAtType", + "WebhooksProjectChangesPropArchivedAtTypeForResponse", + ), + ".group_0485": ( + "ProjectsV2ItemType", + "ProjectsV2ItemTypeForResponse", + ), + ".group_0486": ( + "PullRequestWebhookType", + "PullRequestWebhookTypeForResponse", + ), + ".group_0487": ( + "PullRequestWebhookAllof1Type", + "PullRequestWebhookAllof1TypeForResponse", ), - ".group_0485": ("ProjectsV2ItemType",), - ".group_0486": ("PullRequestWebhookType",), - ".group_0487": ("PullRequestWebhookAllof1Type",), ".group_0488": ( "WebhooksPullRequest5Type", + "WebhooksPullRequest5TypeForResponse", "WebhooksPullRequest5PropAssigneeType", + "WebhooksPullRequest5PropAssigneeTypeForResponse", "WebhooksPullRequest5PropAssigneesItemsType", + "WebhooksPullRequest5PropAssigneesItemsTypeForResponse", "WebhooksPullRequest5PropAutoMergeType", + "WebhooksPullRequest5PropAutoMergeTypeForResponse", "WebhooksPullRequest5PropAutoMergePropEnabledByType", + "WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse", "WebhooksPullRequest5PropLabelsItemsType", + "WebhooksPullRequest5PropLabelsItemsTypeForResponse", "WebhooksPullRequest5PropMergedByType", + "WebhooksPullRequest5PropMergedByTypeForResponse", "WebhooksPullRequest5PropMilestoneType", + "WebhooksPullRequest5PropMilestoneTypeForResponse", "WebhooksPullRequest5PropMilestonePropCreatorType", + "WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse", "WebhooksPullRequest5PropUserType", + "WebhooksPullRequest5PropUserTypeForResponse", "WebhooksPullRequest5PropLinksType", + "WebhooksPullRequest5PropLinksTypeForResponse", "WebhooksPullRequest5PropLinksPropCommentsType", + "WebhooksPullRequest5PropLinksPropCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommitsType", + "WebhooksPullRequest5PropLinksPropCommitsTypeForResponse", "WebhooksPullRequest5PropLinksPropHtmlType", + "WebhooksPullRequest5PropLinksPropHtmlTypeForResponse", "WebhooksPullRequest5PropLinksPropIssueType", + "WebhooksPullRequest5PropLinksPropIssueTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentType", + "WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentsType", + "WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropSelfType", + "WebhooksPullRequest5PropLinksPropSelfTypeForResponse", "WebhooksPullRequest5PropLinksPropStatusesType", + "WebhooksPullRequest5PropLinksPropStatusesTypeForResponse", "WebhooksPullRequest5PropBaseType", + "WebhooksPullRequest5PropBaseTypeForResponse", "WebhooksPullRequest5PropBasePropUserType", + "WebhooksPullRequest5PropBasePropUserTypeForResponse", "WebhooksPullRequest5PropBasePropRepoType", + "WebhooksPullRequest5PropBasePropRepoTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropLicenseType", + "WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropOwnerType", + "WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropPermissionsType", + "WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropHeadType", + "WebhooksPullRequest5PropHeadTypeForResponse", "WebhooksPullRequest5PropHeadPropUserType", + "WebhooksPullRequest5PropHeadPropUserTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoType", + "WebhooksPullRequest5PropHeadPropRepoTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropLicenseType", + "WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropOwnerType", + "WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropPermissionsType", + "WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsType", + "WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsPropParentType", + "WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0489": ( "WebhooksReviewCommentType", + "WebhooksReviewCommentTypeForResponse", "WebhooksReviewCommentPropReactionsType", + "WebhooksReviewCommentPropReactionsTypeForResponse", "WebhooksReviewCommentPropUserType", + "WebhooksReviewCommentPropUserTypeForResponse", "WebhooksReviewCommentPropLinksType", + "WebhooksReviewCommentPropLinksTypeForResponse", "WebhooksReviewCommentPropLinksPropHtmlType", + "WebhooksReviewCommentPropLinksPropHtmlTypeForResponse", "WebhooksReviewCommentPropLinksPropPullRequestType", + "WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse", "WebhooksReviewCommentPropLinksPropSelfType", + "WebhooksReviewCommentPropLinksPropSelfTypeForResponse", ), ".group_0490": ( "WebhooksReviewType", + "WebhooksReviewTypeForResponse", "WebhooksReviewPropUserType", + "WebhooksReviewPropUserTypeForResponse", "WebhooksReviewPropLinksType", + "WebhooksReviewPropLinksTypeForResponse", "WebhooksReviewPropLinksPropHtmlType", + "WebhooksReviewPropLinksPropHtmlTypeForResponse", "WebhooksReviewPropLinksPropPullRequestType", + "WebhooksReviewPropLinksPropPullRequestTypeForResponse", ), ".group_0491": ( "WebhooksReleaseType", + "WebhooksReleaseTypeForResponse", "WebhooksReleasePropAuthorType", + "WebhooksReleasePropAuthorTypeForResponse", "WebhooksReleasePropReactionsType", + "WebhooksReleasePropReactionsTypeForResponse", "WebhooksReleasePropAssetsItemsType", + "WebhooksReleasePropAssetsItemsTypeForResponse", "WebhooksReleasePropAssetsItemsPropUploaderType", + "WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse", ), ".group_0492": ( "WebhooksRelease1Type", + "WebhooksRelease1TypeForResponse", "WebhooksRelease1PropAssetsItemsType", + "WebhooksRelease1PropAssetsItemsTypeForResponse", "WebhooksRelease1PropAssetsItemsPropUploaderType", + "WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse", "WebhooksRelease1PropAuthorType", + "WebhooksRelease1PropAuthorTypeForResponse", "WebhooksRelease1PropReactionsType", + "WebhooksRelease1PropReactionsTypeForResponse", ), ".group_0493": ( "WebhooksAlertType", + "WebhooksAlertTypeForResponse", "WebhooksAlertPropDismisserType", + "WebhooksAlertPropDismisserTypeForResponse", + ), + ".group_0494": ( + "SecretScanningAlertWebhookType", + "SecretScanningAlertWebhookTypeForResponse", ), - ".group_0494": ("SecretScanningAlertWebhookType",), ".group_0495": ( "WebhooksSecurityAdvisoryType", + "WebhooksSecurityAdvisoryTypeForResponse", "WebhooksSecurityAdvisoryPropCvssType", + "WebhooksSecurityAdvisoryPropCvssTypeForResponse", "WebhooksSecurityAdvisoryPropCwesItemsType", + "WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropIdentifiersItemsType", + "WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhooksSecurityAdvisoryPropReferencesItemsType", + "WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", ), ".group_0496": ( "WebhooksSponsorshipType", + "WebhooksSponsorshipTypeForResponse", "WebhooksSponsorshipPropMaintainerType", + "WebhooksSponsorshipPropMaintainerTypeForResponse", "WebhooksSponsorshipPropSponsorType", + "WebhooksSponsorshipPropSponsorTypeForResponse", "WebhooksSponsorshipPropSponsorableType", + "WebhooksSponsorshipPropSponsorableTypeForResponse", "WebhooksSponsorshipPropTierType", + "WebhooksSponsorshipPropTierTypeForResponse", ), ".group_0497": ( "WebhooksChanges8Type", + "WebhooksChanges8TypeForResponse", "WebhooksChanges8PropTierType", + "WebhooksChanges8PropTierTypeForResponse", "WebhooksChanges8PropTierPropFromType", + "WebhooksChanges8PropTierPropFromTypeForResponse", ), ".group_0498": ( "WebhooksTeam1Type", + "WebhooksTeam1TypeForResponse", "WebhooksTeam1PropParentType", + "WebhooksTeam1PropParentTypeForResponse", + ), + ".group_0499": ( + "WebhookBranchProtectionConfigurationDisabledType", + "WebhookBranchProtectionConfigurationDisabledTypeForResponse", + ), + ".group_0500": ( + "WebhookBranchProtectionConfigurationEnabledType", + "WebhookBranchProtectionConfigurationEnabledTypeForResponse", + ), + ".group_0501": ( + "WebhookBranchProtectionRuleCreatedType", + "WebhookBranchProtectionRuleCreatedTypeForResponse", + ), + ".group_0502": ( + "WebhookBranchProtectionRuleDeletedType", + "WebhookBranchProtectionRuleDeletedTypeForResponse", ), - ".group_0499": ("WebhookBranchProtectionConfigurationDisabledType",), - ".group_0500": ("WebhookBranchProtectionConfigurationEnabledType",), - ".group_0501": ("WebhookBranchProtectionRuleCreatedType",), - ".group_0502": ("WebhookBranchProtectionRuleDeletedType",), ".group_0503": ( "WebhookBranchProtectionRuleEditedType", + "WebhookBranchProtectionRuleEditedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesType", + "WebhookBranchProtectionRuleEditedPropChangesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType", + "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse", + ), + ".group_0504": ( + "WebhookCheckRunCompletedType", + "WebhookCheckRunCompletedTypeForResponse", + ), + ".group_0505": ( + "WebhookCheckRunCompletedFormEncodedType", + "WebhookCheckRunCompletedFormEncodedTypeForResponse", + ), + ".group_0506": ( + "WebhookCheckRunCreatedType", + "WebhookCheckRunCreatedTypeForResponse", + ), + ".group_0507": ( + "WebhookCheckRunCreatedFormEncodedType", + "WebhookCheckRunCreatedFormEncodedTypeForResponse", ), - ".group_0504": ("WebhookCheckRunCompletedType",), - ".group_0505": ("WebhookCheckRunCompletedFormEncodedType",), - ".group_0506": ("WebhookCheckRunCreatedType",), - ".group_0507": ("WebhookCheckRunCreatedFormEncodedType",), ".group_0508": ( "WebhookCheckRunRequestedActionType", + "WebhookCheckRunRequestedActionTypeForResponse", "WebhookCheckRunRequestedActionPropRequestedActionType", + "WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse", + ), + ".group_0509": ( + "WebhookCheckRunRequestedActionFormEncodedType", + "WebhookCheckRunRequestedActionFormEncodedTypeForResponse", + ), + ".group_0510": ( + "WebhookCheckRunRerequestedType", + "WebhookCheckRunRerequestedTypeForResponse", + ), + ".group_0511": ( + "WebhookCheckRunRerequestedFormEncodedType", + "WebhookCheckRunRerequestedFormEncodedTypeForResponse", ), - ".group_0509": ("WebhookCheckRunRequestedActionFormEncodedType",), - ".group_0510": ("WebhookCheckRunRerequestedType",), - ".group_0511": ("WebhookCheckRunRerequestedFormEncodedType",), ".group_0512": ( "WebhookCheckSuiteCompletedType", + "WebhookCheckSuiteCompletedTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuiteType", + "WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0513": ( "WebhookCheckSuiteRequestedType", + "WebhookCheckSuiteRequestedTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuiteType", + "WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0514": ( "WebhookCheckSuiteRerequestedType", + "WebhookCheckSuiteRerequestedTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuiteType", + "WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0515": ( + "WebhookCodeScanningAlertAppearedInBranchType", + "WebhookCodeScanningAlertAppearedInBranchTypeForResponse", ), - ".group_0515": ("WebhookCodeScanningAlertAppearedInBranchType",), ".group_0516": ( "WebhookCodeScanningAlertAppearedInBranchPropAlertType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse", + ), + ".group_0517": ( + "WebhookCodeScanningAlertClosedByUserType", + "WebhookCodeScanningAlertClosedByUserTypeForResponse", ), - ".group_0517": ("WebhookCodeScanningAlertClosedByUserType",), ".group_0518": ( "WebhookCodeScanningAlertClosedByUserPropAlertType", + "WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse", + ), + ".group_0519": ( + "WebhookCodeScanningAlertCreatedType", + "WebhookCodeScanningAlertCreatedTypeForResponse", ), - ".group_0519": ("WebhookCodeScanningAlertCreatedType",), ".group_0520": ( "WebhookCodeScanningAlertCreatedPropAlertType", + "WebhookCodeScanningAlertCreatedPropAlertTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropRuleType", + "WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropToolType", + "WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse", + ), + ".group_0521": ( + "WebhookCodeScanningAlertFixedType", + "WebhookCodeScanningAlertFixedTypeForResponse", ), - ".group_0521": ("WebhookCodeScanningAlertFixedType",), ".group_0522": ( "WebhookCodeScanningAlertFixedPropAlertType", + "WebhookCodeScanningAlertFixedPropAlertTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropRuleType", + "WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropToolType", + "WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse", + ), + ".group_0523": ( + "WebhookCodeScanningAlertReopenedType", + "WebhookCodeScanningAlertReopenedTypeForResponse", ), - ".group_0523": ("WebhookCodeScanningAlertReopenedType",), ".group_0524": ( "WebhookCodeScanningAlertReopenedPropAlertType", + "WebhookCodeScanningAlertReopenedPropAlertTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse", + ), + ".group_0525": ( + "WebhookCodeScanningAlertReopenedByUserType", + "WebhookCodeScanningAlertReopenedByUserTypeForResponse", ), - ".group_0525": ("WebhookCodeScanningAlertReopenedByUserType",), ".group_0526": ( "WebhookCodeScanningAlertReopenedByUserPropAlertType", + "WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse", ), ".group_0527": ( "WebhookCommitCommentCreatedType", + "WebhookCommitCommentCreatedTypeForResponse", "WebhookCommitCommentCreatedPropCommentType", + "WebhookCommitCommentCreatedPropCommentTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropReactionsType", + "WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropUserType", + "WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse", + ), + ".group_0528": ( + "WebhookCreateType", + "WebhookCreateTypeForResponse", + ), + ".group_0529": ( + "WebhookCustomPropertyCreatedType", + "WebhookCustomPropertyCreatedTypeForResponse", ), - ".group_0528": ("WebhookCreateType",), - ".group_0529": ("WebhookCustomPropertyCreatedType",), ".group_0530": ( "WebhookCustomPropertyDeletedType", + "WebhookCustomPropertyDeletedTypeForResponse", "WebhookCustomPropertyDeletedPropDefinitionType", + "WebhookCustomPropertyDeletedPropDefinitionTypeForResponse", + ), + ".group_0531": ( + "WebhookCustomPropertyPromotedToEnterpriseType", + "WebhookCustomPropertyPromotedToEnterpriseTypeForResponse", + ), + ".group_0532": ( + "WebhookCustomPropertyUpdatedType", + "WebhookCustomPropertyUpdatedTypeForResponse", + ), + ".group_0533": ( + "WebhookCustomPropertyValuesUpdatedType", + "WebhookCustomPropertyValuesUpdatedTypeForResponse", + ), + ".group_0534": ( + "WebhookDeleteType", + "WebhookDeleteTypeForResponse", + ), + ".group_0535": ( + "WebhookDependabotAlertAutoDismissedType", + "WebhookDependabotAlertAutoDismissedTypeForResponse", + ), + ".group_0536": ( + "WebhookDependabotAlertAutoReopenedType", + "WebhookDependabotAlertAutoReopenedTypeForResponse", + ), + ".group_0537": ( + "WebhookDependabotAlertCreatedType", + "WebhookDependabotAlertCreatedTypeForResponse", + ), + ".group_0538": ( + "WebhookDependabotAlertDismissedType", + "WebhookDependabotAlertDismissedTypeForResponse", + ), + ".group_0539": ( + "WebhookDependabotAlertFixedType", + "WebhookDependabotAlertFixedTypeForResponse", + ), + ".group_0540": ( + "WebhookDependabotAlertReintroducedType", + "WebhookDependabotAlertReintroducedTypeForResponse", + ), + ".group_0541": ( + "WebhookDependabotAlertReopenedType", + "WebhookDependabotAlertReopenedTypeForResponse", + ), + ".group_0542": ( + "WebhookDeployKeyCreatedType", + "WebhookDeployKeyCreatedTypeForResponse", + ), + ".group_0543": ( + "WebhookDeployKeyDeletedType", + "WebhookDeployKeyDeletedTypeForResponse", ), - ".group_0531": ("WebhookCustomPropertyPromotedToEnterpriseType",), - ".group_0532": ("WebhookCustomPropertyUpdatedType",), - ".group_0533": ("WebhookCustomPropertyValuesUpdatedType",), - ".group_0534": ("WebhookDeleteType",), - ".group_0535": ("WebhookDependabotAlertAutoDismissedType",), - ".group_0536": ("WebhookDependabotAlertAutoReopenedType",), - ".group_0537": ("WebhookDependabotAlertCreatedType",), - ".group_0538": ("WebhookDependabotAlertDismissedType",), - ".group_0539": ("WebhookDependabotAlertFixedType",), - ".group_0540": ("WebhookDependabotAlertReintroducedType",), - ".group_0541": ("WebhookDependabotAlertReopenedType",), - ".group_0542": ("WebhookDeployKeyCreatedType",), - ".group_0543": ("WebhookDeployKeyDeletedType",), ".group_0544": ( "WebhookDeploymentCreatedType", + "WebhookDeploymentCreatedTypeForResponse", "WebhookDeploymentCreatedPropDeploymentType", + "WebhookDeploymentCreatedPropDeploymentTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunType", + "WebhookDeploymentCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0545": ( + "WebhookDeploymentProtectionRuleRequestedType", + "WebhookDeploymentProtectionRuleRequestedTypeForResponse", ), - ".group_0545": ("WebhookDeploymentProtectionRuleRequestedType",), ".group_0546": ( "WebhookDeploymentReviewApprovedType", + "WebhookDeploymentReviewApprovedTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunType", + "WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0547": ( "WebhookDeploymentReviewRejectedType", + "WebhookDeploymentReviewRejectedTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunType", + "WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0548": ( "WebhookDeploymentReviewRequestedType", + "WebhookDeploymentReviewRequestedTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowJobRunType", + "WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsType", + "WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType", + "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunType", + "WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0549": ( "WebhookDeploymentStatusCreatedType", + "WebhookDeploymentStatusCreatedTypeForResponse", "WebhookDeploymentStatusCreatedPropCheckRunType", + "WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentType", + "WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunType", + "WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0550": ( + "WebhookDiscussionAnsweredType", + "WebhookDiscussionAnsweredTypeForResponse", ), - ".group_0550": ("WebhookDiscussionAnsweredType",), ".group_0551": ( "WebhookDiscussionCategoryChangedType", + "WebhookDiscussionCategoryChangedTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesType", + "WebhookDiscussionCategoryChangedPropChangesTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse", + ), + ".group_0552": ( + "WebhookDiscussionClosedType", + "WebhookDiscussionClosedTypeForResponse", + ), + ".group_0553": ( + "WebhookDiscussionCommentCreatedType", + "WebhookDiscussionCommentCreatedTypeForResponse", + ), + ".group_0554": ( + "WebhookDiscussionCommentDeletedType", + "WebhookDiscussionCommentDeletedTypeForResponse", ), - ".group_0552": ("WebhookDiscussionClosedType",), - ".group_0553": ("WebhookDiscussionCommentCreatedType",), - ".group_0554": ("WebhookDiscussionCommentDeletedType",), ".group_0555": ( "WebhookDiscussionCommentEditedType", + "WebhookDiscussionCommentEditedTypeForResponse", "WebhookDiscussionCommentEditedPropChangesType", + "WebhookDiscussionCommentEditedPropChangesTypeForResponse", "WebhookDiscussionCommentEditedPropChangesPropBodyType", + "WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse", + ), + ".group_0556": ( + "WebhookDiscussionCreatedType", + "WebhookDiscussionCreatedTypeForResponse", + ), + ".group_0557": ( + "WebhookDiscussionDeletedType", + "WebhookDiscussionDeletedTypeForResponse", ), - ".group_0556": ("WebhookDiscussionCreatedType",), - ".group_0557": ("WebhookDiscussionDeletedType",), ".group_0558": ( "WebhookDiscussionEditedType", + "WebhookDiscussionEditedTypeForResponse", "WebhookDiscussionEditedPropChangesType", + "WebhookDiscussionEditedPropChangesTypeForResponse", "WebhookDiscussionEditedPropChangesPropBodyType", + "WebhookDiscussionEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionEditedPropChangesPropTitleType", + "WebhookDiscussionEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0559": ( + "WebhookDiscussionLabeledType", + "WebhookDiscussionLabeledTypeForResponse", + ), + ".group_0560": ( + "WebhookDiscussionLockedType", + "WebhookDiscussionLockedTypeForResponse", + ), + ".group_0561": ( + "WebhookDiscussionPinnedType", + "WebhookDiscussionPinnedTypeForResponse", + ), + ".group_0562": ( + "WebhookDiscussionReopenedType", + "WebhookDiscussionReopenedTypeForResponse", + ), + ".group_0563": ( + "WebhookDiscussionTransferredType", + "WebhookDiscussionTransferredTypeForResponse", + ), + ".group_0564": ( + "WebhookDiscussionTransferredPropChangesType", + "WebhookDiscussionTransferredPropChangesTypeForResponse", + ), + ".group_0565": ( + "WebhookDiscussionUnansweredType", + "WebhookDiscussionUnansweredTypeForResponse", + ), + ".group_0566": ( + "WebhookDiscussionUnlabeledType", + "WebhookDiscussionUnlabeledTypeForResponse", + ), + ".group_0567": ( + "WebhookDiscussionUnlockedType", + "WebhookDiscussionUnlockedTypeForResponse", + ), + ".group_0568": ( + "WebhookDiscussionUnpinnedType", + "WebhookDiscussionUnpinnedTypeForResponse", + ), + ".group_0569": ( + "WebhookForkType", + "WebhookForkTypeForResponse", ), - ".group_0559": ("WebhookDiscussionLabeledType",), - ".group_0560": ("WebhookDiscussionLockedType",), - ".group_0561": ("WebhookDiscussionPinnedType",), - ".group_0562": ("WebhookDiscussionReopenedType",), - ".group_0563": ("WebhookDiscussionTransferredType",), - ".group_0564": ("WebhookDiscussionTransferredPropChangesType",), - ".group_0565": ("WebhookDiscussionUnansweredType",), - ".group_0566": ("WebhookDiscussionUnlabeledType",), - ".group_0567": ("WebhookDiscussionUnlockedType",), - ".group_0568": ("WebhookDiscussionUnpinnedType",), - ".group_0569": ("WebhookForkType",), ".group_0570": ( "WebhookForkPropForkeeType", + "WebhookForkPropForkeeTypeForResponse", "WebhookForkPropForkeeMergedLicenseType", + "WebhookForkPropForkeeMergedLicenseTypeForResponse", "WebhookForkPropForkeeMergedOwnerType", + "WebhookForkPropForkeeMergedOwnerTypeForResponse", ), ".group_0571": ( "WebhookForkPropForkeeAllof0Type", + "WebhookForkPropForkeeAllof0TypeForResponse", "WebhookForkPropForkeeAllof0PropLicenseType", + "WebhookForkPropForkeeAllof0PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof0PropOwnerType", + "WebhookForkPropForkeeAllof0PropOwnerTypeForResponse", + ), + ".group_0572": ( + "WebhookForkPropForkeeAllof0PropPermissionsType", + "WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse", ), - ".group_0572": ("WebhookForkPropForkeeAllof0PropPermissionsType",), ".group_0573": ( "WebhookForkPropForkeeAllof1Type", + "WebhookForkPropForkeeAllof1TypeForResponse", "WebhookForkPropForkeeAllof1PropLicenseType", + "WebhookForkPropForkeeAllof1PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof1PropOwnerType", + "WebhookForkPropForkeeAllof1PropOwnerTypeForResponse", + ), + ".group_0574": ( + "WebhookGithubAppAuthorizationRevokedType", + "WebhookGithubAppAuthorizationRevokedTypeForResponse", ), - ".group_0574": ("WebhookGithubAppAuthorizationRevokedType",), ".group_0575": ( "WebhookGollumType", + "WebhookGollumTypeForResponse", "WebhookGollumPropPagesItemsType", + "WebhookGollumPropPagesItemsTypeForResponse", + ), + ".group_0576": ( + "WebhookInstallationCreatedType", + "WebhookInstallationCreatedTypeForResponse", + ), + ".group_0577": ( + "WebhookInstallationDeletedType", + "WebhookInstallationDeletedTypeForResponse", + ), + ".group_0578": ( + "WebhookInstallationNewPermissionsAcceptedType", + "WebhookInstallationNewPermissionsAcceptedTypeForResponse", ), - ".group_0576": ("WebhookInstallationCreatedType",), - ".group_0577": ("WebhookInstallationDeletedType",), - ".group_0578": ("WebhookInstallationNewPermissionsAcceptedType",), ".group_0579": ( "WebhookInstallationRepositoriesAddedType", + "WebhookInstallationRepositoriesAddedTypeForResponse", "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse", ), ".group_0580": ( "WebhookInstallationRepositoriesRemovedType", + "WebhookInstallationRepositoriesRemovedTypeForResponse", "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse", + ), + ".group_0581": ( + "WebhookInstallationSuspendType", + "WebhookInstallationSuspendTypeForResponse", ), - ".group_0581": ("WebhookInstallationSuspendType",), ".group_0582": ( "WebhookInstallationTargetRenamedType", + "WebhookInstallationTargetRenamedTypeForResponse", "WebhookInstallationTargetRenamedPropAccountType", + "WebhookInstallationTargetRenamedPropAccountTypeForResponse", "WebhookInstallationTargetRenamedPropChangesType", + "WebhookInstallationTargetRenamedPropChangesTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropLoginType", + "WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropSlugType", + "WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse", + ), + ".group_0583": ( + "WebhookInstallationUnsuspendType", + "WebhookInstallationUnsuspendTypeForResponse", + ), + ".group_0584": ( + "WebhookIssueCommentCreatedType", + "WebhookIssueCommentCreatedTypeForResponse", ), - ".group_0583": ("WebhookInstallationUnsuspendType",), - ".group_0584": ("WebhookIssueCommentCreatedType",), ".group_0585": ( "WebhookIssueCommentCreatedPropCommentType", + "WebhookIssueCommentCreatedPropCommentTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropReactionsType", + "WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropUserType", + "WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse", ), ".group_0586": ( "WebhookIssueCommentCreatedPropIssueType", + "WebhookIssueCommentCreatedPropIssueTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedAssigneesType", + "WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedReactionsType", + "WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedUserType", + "WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse", ), ".group_0587": ( "WebhookIssueCommentCreatedPropIssueAllof0Type", + "WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse", ), ".group_0588": ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0589": ( "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0590": ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0590": ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType",), ".group_0591": ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0592": ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0593": ( "WebhookIssueCommentCreatedPropIssueAllof1Type", + "WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0594": ( + "WebhookIssueCommentCreatedPropIssueMergedMilestoneType", + "WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0594": ("WebhookIssueCommentCreatedPropIssueMergedMilestoneType",), ".group_0595": ( "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0596": ( + "WebhookIssueCommentDeletedType", + "WebhookIssueCommentDeletedTypeForResponse", ), - ".group_0596": ("WebhookIssueCommentDeletedType",), ".group_0597": ( "WebhookIssueCommentDeletedPropIssueType", + "WebhookIssueCommentDeletedPropIssueTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedAssigneesType", + "WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedReactionsType", + "WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedUserType", + "WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse", ), ".group_0598": ( "WebhookIssueCommentDeletedPropIssueAllof0Type", + "WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse", ), ".group_0599": ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0600": ( "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0601": ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0601": ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType",), ".group_0602": ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0603": ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0604": ( "WebhookIssueCommentDeletedPropIssueAllof1Type", + "WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0605": ( + "WebhookIssueCommentDeletedPropIssueMergedMilestoneType", + "WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0605": ("WebhookIssueCommentDeletedPropIssueMergedMilestoneType",), ".group_0606": ( "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0607": ( + "WebhookIssueCommentEditedType", + "WebhookIssueCommentEditedTypeForResponse", ), - ".group_0607": ("WebhookIssueCommentEditedType",), ".group_0608": ( "WebhookIssueCommentEditedPropIssueType", + "WebhookIssueCommentEditedPropIssueTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedAssigneesType", + "WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedReactionsType", + "WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedUserType", + "WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse", ), ".group_0609": ( "WebhookIssueCommentEditedPropIssueAllof0Type", + "WebhookIssueCommentEditedPropIssueAllof0TypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropUserType", + "WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse", ), ".group_0610": ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse", ), ".group_0611": ( "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0612": ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0612": ("WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType",), ".group_0613": ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0614": ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", ), ".group_0615": ( "WebhookIssueCommentEditedPropIssueAllof1Type", + "WebhookIssueCommentEditedPropIssueAllof1TypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropUserType", + "WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0616": ( + "WebhookIssueCommentEditedPropIssueMergedMilestoneType", + "WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse", ), - ".group_0616": ("WebhookIssueCommentEditedPropIssueMergedMilestoneType",), ".group_0617": ( "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0618": ( + "WebhookIssueDependenciesBlockedByAddedType", + "WebhookIssueDependenciesBlockedByAddedTypeForResponse", + ), + ".group_0619": ( + "WebhookIssueDependenciesBlockedByRemovedType", + "WebhookIssueDependenciesBlockedByRemovedTypeForResponse", + ), + ".group_0620": ( + "WebhookIssueDependenciesBlockingAddedType", + "WebhookIssueDependenciesBlockingAddedTypeForResponse", + ), + ".group_0621": ( + "WebhookIssueDependenciesBlockingRemovedType", + "WebhookIssueDependenciesBlockingRemovedTypeForResponse", + ), + ".group_0622": ( + "WebhookIssuesAssignedType", + "WebhookIssuesAssignedTypeForResponse", + ), + ".group_0623": ( + "WebhookIssuesClosedType", + "WebhookIssuesClosedTypeForResponse", ), - ".group_0618": ("WebhookIssueDependenciesBlockedByAddedType",), - ".group_0619": ("WebhookIssueDependenciesBlockedByRemovedType",), - ".group_0620": ("WebhookIssueDependenciesBlockingAddedType",), - ".group_0621": ("WebhookIssueDependenciesBlockingRemovedType",), - ".group_0622": ("WebhookIssuesAssignedType",), - ".group_0623": ("WebhookIssuesClosedType",), ".group_0624": ( "WebhookIssuesClosedPropIssueType", + "WebhookIssuesClosedPropIssueTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneeType", + "WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneesType", + "WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse", "WebhookIssuesClosedPropIssueMergedLabelsType", + "WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse", "WebhookIssuesClosedPropIssueMergedReactionsType", + "WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse", "WebhookIssuesClosedPropIssueMergedUserType", + "WebhookIssuesClosedPropIssueMergedUserTypeForResponse", ), ".group_0625": ( "WebhookIssuesClosedPropIssueAllof0Type", + "WebhookIssuesClosedPropIssueAllof0TypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropReactionsType", + "WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropUserType", + "WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse", ), ".group_0626": ( "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", + ), + ".group_0627": ( + "WebhookIssuesClosedPropIssueAllof0PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse", ), - ".group_0627": ("WebhookIssuesClosedPropIssueAllof0PropMilestoneType",), ".group_0628": ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ), ".group_0629": ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", + ), + ".group_0630": ( + "WebhookIssuesClosedPropIssueAllof0PropPullRequestType", + "WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse", ), - ".group_0630": ("WebhookIssuesClosedPropIssueAllof0PropPullRequestType",), ".group_0631": ( "WebhookIssuesClosedPropIssueAllof1Type", + "WebhookIssuesClosedPropIssueAllof1TypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropReactionsType", + "WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropUserType", + "WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse", + ), + ".group_0632": ( + "WebhookIssuesClosedPropIssueMergedMilestoneType", + "WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse", + ), + ".group_0633": ( + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse", + ), + ".group_0634": ( + "WebhookIssuesDeletedType", + "WebhookIssuesDeletedTypeForResponse", ), - ".group_0632": ("WebhookIssuesClosedPropIssueMergedMilestoneType",), - ".group_0633": ("WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType",), - ".group_0634": ("WebhookIssuesDeletedType",), ".group_0635": ( "WebhookIssuesDeletedPropIssueType", + "WebhookIssuesDeletedPropIssueTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneeType", + "WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneesItemsType", + "WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropLabelsItemsType", + "WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestoneType", + "WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropPullRequestType", + "WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDeletedPropIssuePropReactionsType", + "WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropUserType", + "WebhookIssuesDeletedPropIssuePropUserTypeForResponse", + ), + ".group_0636": ( + "WebhookIssuesDemilestonedType", + "WebhookIssuesDemilestonedTypeForResponse", ), - ".group_0636": ("WebhookIssuesDemilestonedType",), ".group_0637": ( "WebhookIssuesDemilestonedPropIssueType", + "WebhookIssuesDemilestonedPropIssueTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneeType", + "WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestoneType", + "WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPullRequestType", + "WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropReactionsType", + "WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropUserType", + "WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse", ), ".group_0638": ( "WebhookIssuesEditedType", + "WebhookIssuesEditedTypeForResponse", "WebhookIssuesEditedPropChangesType", + "WebhookIssuesEditedPropChangesTypeForResponse", "WebhookIssuesEditedPropChangesPropBodyType", + "WebhookIssuesEditedPropChangesPropBodyTypeForResponse", "WebhookIssuesEditedPropChangesPropTitleType", + "WebhookIssuesEditedPropChangesPropTitleTypeForResponse", ), ".group_0639": ( "WebhookIssuesEditedPropIssueType", + "WebhookIssuesEditedPropIssueTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneeType", + "WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneesItemsType", + "WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropLabelsItemsType", + "WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestoneType", + "WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesEditedPropIssuePropPullRequestType", + "WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesEditedPropIssuePropReactionsType", + "WebhookIssuesEditedPropIssuePropReactionsTypeForResponse", "WebhookIssuesEditedPropIssuePropUserType", + "WebhookIssuesEditedPropIssuePropUserTypeForResponse", + ), + ".group_0640": ( + "WebhookIssuesLabeledType", + "WebhookIssuesLabeledTypeForResponse", ), - ".group_0640": ("WebhookIssuesLabeledType",), ".group_0641": ( "WebhookIssuesLabeledPropIssueType", + "WebhookIssuesLabeledPropIssueTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneeType", + "WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneesItemsType", + "WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropLabelsItemsType", + "WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestoneType", + "WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropPullRequestType", + "WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLabeledPropIssuePropReactionsType", + "WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropUserType", + "WebhookIssuesLabeledPropIssuePropUserTypeForResponse", + ), + ".group_0642": ( + "WebhookIssuesLockedType", + "WebhookIssuesLockedTypeForResponse", ), - ".group_0642": ("WebhookIssuesLockedType",), ".group_0643": ( "WebhookIssuesLockedPropIssueType", + "WebhookIssuesLockedPropIssueTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneeType", + "WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneesItemsType", + "WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropLabelsItemsType", + "WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestoneType", + "WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLockedPropIssuePropPullRequestType", + "WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLockedPropIssuePropReactionsType", + "WebhookIssuesLockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesLockedPropIssuePropUserType", + "WebhookIssuesLockedPropIssuePropUserTypeForResponse", + ), + ".group_0644": ( + "WebhookIssuesMilestonedType", + "WebhookIssuesMilestonedTypeForResponse", ), - ".group_0644": ("WebhookIssuesMilestonedType",), ".group_0645": ( "WebhookIssuesMilestonedPropIssueType", + "WebhookIssuesMilestonedPropIssueTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneeType", + "WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestoneType", + "WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPullRequestType", + "WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesMilestonedPropIssuePropReactionsType", + "WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropUserType", + "WebhookIssuesMilestonedPropIssuePropUserTypeForResponse", + ), + ".group_0646": ( + "WebhookIssuesOpenedType", + "WebhookIssuesOpenedTypeForResponse", ), - ".group_0646": ("WebhookIssuesOpenedType",), ".group_0647": ( "WebhookIssuesOpenedPropChangesType", + "WebhookIssuesOpenedPropChangesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse", ), ".group_0648": ( "WebhookIssuesOpenedPropChangesPropOldIssueType", + "WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropUserType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse", ), ".group_0649": ( "WebhookIssuesOpenedPropIssueType", + "WebhookIssuesOpenedPropIssueTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneeType", + "WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestoneType", + "WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropPullRequestType", + "WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropIssuePropReactionsType", + "WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropUserType", + "WebhookIssuesOpenedPropIssuePropUserTypeForResponse", + ), + ".group_0650": ( + "WebhookIssuesPinnedType", + "WebhookIssuesPinnedTypeForResponse", + ), + ".group_0651": ( + "WebhookIssuesReopenedType", + "WebhookIssuesReopenedTypeForResponse", ), - ".group_0650": ("WebhookIssuesPinnedType",), - ".group_0651": ("WebhookIssuesReopenedType",), ".group_0652": ( "WebhookIssuesReopenedPropIssueType", + "WebhookIssuesReopenedPropIssueTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneeType", + "WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneesItemsType", + "WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropLabelsItemsType", + "WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestoneType", + "WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropPullRequestType", + "WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesReopenedPropIssuePropReactionsType", + "WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropUserType", + "WebhookIssuesReopenedPropIssuePropUserTypeForResponse", + ), + ".group_0653": ( + "WebhookIssuesTransferredType", + "WebhookIssuesTransferredTypeForResponse", ), - ".group_0653": ("WebhookIssuesTransferredType",), ".group_0654": ( "WebhookIssuesTransferredPropChangesType", + "WebhookIssuesTransferredPropChangesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse", ), ".group_0655": ( "WebhookIssuesTransferredPropChangesPropNewIssueType", + "WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropUserType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse", + ), + ".group_0656": ( + "WebhookIssuesTypedType", + "WebhookIssuesTypedTypeForResponse", + ), + ".group_0657": ( + "WebhookIssuesUnassignedType", + "WebhookIssuesUnassignedTypeForResponse", + ), + ".group_0658": ( + "WebhookIssuesUnlabeledType", + "WebhookIssuesUnlabeledTypeForResponse", + ), + ".group_0659": ( + "WebhookIssuesUnlockedType", + "WebhookIssuesUnlockedTypeForResponse", ), - ".group_0656": ("WebhookIssuesTypedType",), - ".group_0657": ("WebhookIssuesUnassignedType",), - ".group_0658": ("WebhookIssuesUnlabeledType",), - ".group_0659": ("WebhookIssuesUnlockedType",), ".group_0660": ( "WebhookIssuesUnlockedPropIssueType", + "WebhookIssuesUnlockedPropIssueTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneeType", + "WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneesItemsType", + "WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropLabelsItemsType", + "WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestoneType", + "WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPullRequestType", + "WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesUnlockedPropIssuePropReactionsType", + "WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropUserType", + "WebhookIssuesUnlockedPropIssuePropUserTypeForResponse", + ), + ".group_0661": ( + "WebhookIssuesUnpinnedType", + "WebhookIssuesUnpinnedTypeForResponse", + ), + ".group_0662": ( + "WebhookIssuesUntypedType", + "WebhookIssuesUntypedTypeForResponse", + ), + ".group_0663": ( + "WebhookLabelCreatedType", + "WebhookLabelCreatedTypeForResponse", + ), + ".group_0664": ( + "WebhookLabelDeletedType", + "WebhookLabelDeletedTypeForResponse", ), - ".group_0661": ("WebhookIssuesUnpinnedType",), - ".group_0662": ("WebhookIssuesUntypedType",), - ".group_0663": ("WebhookLabelCreatedType",), - ".group_0664": ("WebhookLabelDeletedType",), ".group_0665": ( "WebhookLabelEditedType", + "WebhookLabelEditedTypeForResponse", "WebhookLabelEditedPropChangesType", + "WebhookLabelEditedPropChangesTypeForResponse", "WebhookLabelEditedPropChangesPropColorType", + "WebhookLabelEditedPropChangesPropColorTypeForResponse", "WebhookLabelEditedPropChangesPropDescriptionType", + "WebhookLabelEditedPropChangesPropDescriptionTypeForResponse", "WebhookLabelEditedPropChangesPropNameType", + "WebhookLabelEditedPropChangesPropNameTypeForResponse", + ), + ".group_0666": ( + "WebhookMarketplacePurchaseCancelledType", + "WebhookMarketplacePurchaseCancelledTypeForResponse", ), - ".group_0666": ("WebhookMarketplacePurchaseCancelledType",), ".group_0667": ( "WebhookMarketplacePurchaseChangedType", + "WebhookMarketplacePurchaseChangedTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0668": ( "WebhookMarketplacePurchasePendingChangeType", + "WebhookMarketplacePurchasePendingChangeTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse", ), ".group_0669": ( "WebhookMarketplacePurchasePendingChangeCancelledType", + "WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse", + ), + ".group_0670": ( + "WebhookMarketplacePurchasePurchasedType", + "WebhookMarketplacePurchasePurchasedTypeForResponse", ), - ".group_0670": ("WebhookMarketplacePurchasePurchasedType",), ".group_0671": ( "WebhookMemberAddedType", + "WebhookMemberAddedTypeForResponse", "WebhookMemberAddedPropChangesType", + "WebhookMemberAddedPropChangesTypeForResponse", "WebhookMemberAddedPropChangesPropPermissionType", + "WebhookMemberAddedPropChangesPropPermissionTypeForResponse", "WebhookMemberAddedPropChangesPropRoleNameType", + "WebhookMemberAddedPropChangesPropRoleNameTypeForResponse", ), ".group_0672": ( "WebhookMemberEditedType", + "WebhookMemberEditedTypeForResponse", "WebhookMemberEditedPropChangesType", + "WebhookMemberEditedPropChangesTypeForResponse", "WebhookMemberEditedPropChangesPropOldPermissionType", + "WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse", "WebhookMemberEditedPropChangesPropPermissionType", + "WebhookMemberEditedPropChangesPropPermissionTypeForResponse", + ), + ".group_0673": ( + "WebhookMemberRemovedType", + "WebhookMemberRemovedTypeForResponse", ), - ".group_0673": ("WebhookMemberRemovedType",), ".group_0674": ( "WebhookMembershipAddedType", + "WebhookMembershipAddedTypeForResponse", "WebhookMembershipAddedPropSenderType", + "WebhookMembershipAddedPropSenderTypeForResponse", ), ".group_0675": ( "WebhookMembershipRemovedType", + "WebhookMembershipRemovedTypeForResponse", "WebhookMembershipRemovedPropSenderType", + "WebhookMembershipRemovedPropSenderTypeForResponse", + ), + ".group_0676": ( + "WebhookMergeGroupChecksRequestedType", + "WebhookMergeGroupChecksRequestedTypeForResponse", + ), + ".group_0677": ( + "WebhookMergeGroupDestroyedType", + "WebhookMergeGroupDestroyedTypeForResponse", ), - ".group_0676": ("WebhookMergeGroupChecksRequestedType",), - ".group_0677": ("WebhookMergeGroupDestroyedType",), ".group_0678": ( "WebhookMetaDeletedType", + "WebhookMetaDeletedTypeForResponse", "WebhookMetaDeletedPropHookType", + "WebhookMetaDeletedPropHookTypeForResponse", "WebhookMetaDeletedPropHookPropConfigType", + "WebhookMetaDeletedPropHookPropConfigTypeForResponse", + ), + ".group_0679": ( + "WebhookMilestoneClosedType", + "WebhookMilestoneClosedTypeForResponse", + ), + ".group_0680": ( + "WebhookMilestoneCreatedType", + "WebhookMilestoneCreatedTypeForResponse", + ), + ".group_0681": ( + "WebhookMilestoneDeletedType", + "WebhookMilestoneDeletedTypeForResponse", ), - ".group_0679": ("WebhookMilestoneClosedType",), - ".group_0680": ("WebhookMilestoneCreatedType",), - ".group_0681": ("WebhookMilestoneDeletedType",), ".group_0682": ( "WebhookMilestoneEditedType", + "WebhookMilestoneEditedTypeForResponse", "WebhookMilestoneEditedPropChangesType", + "WebhookMilestoneEditedPropChangesTypeForResponse", "WebhookMilestoneEditedPropChangesPropDescriptionType", + "WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse", "WebhookMilestoneEditedPropChangesPropDueOnType", + "WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse", "WebhookMilestoneEditedPropChangesPropTitleType", + "WebhookMilestoneEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0683": ( + "WebhookMilestoneOpenedType", + "WebhookMilestoneOpenedTypeForResponse", + ), + ".group_0684": ( + "WebhookOrgBlockBlockedType", + "WebhookOrgBlockBlockedTypeForResponse", + ), + ".group_0685": ( + "WebhookOrgBlockUnblockedType", + "WebhookOrgBlockUnblockedTypeForResponse", + ), + ".group_0686": ( + "WebhookOrganizationDeletedType", + "WebhookOrganizationDeletedTypeForResponse", + ), + ".group_0687": ( + "WebhookOrganizationMemberAddedType", + "WebhookOrganizationMemberAddedTypeForResponse", ), - ".group_0683": ("WebhookMilestoneOpenedType",), - ".group_0684": ("WebhookOrgBlockBlockedType",), - ".group_0685": ("WebhookOrgBlockUnblockedType",), - ".group_0686": ("WebhookOrganizationDeletedType",), - ".group_0687": ("WebhookOrganizationMemberAddedType",), ".group_0688": ( "WebhookOrganizationMemberInvitedType", + "WebhookOrganizationMemberInvitedTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationType", + "WebhookOrganizationMemberInvitedPropInvitationTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationPropInviterType", + "WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse", + ), + ".group_0689": ( + "WebhookOrganizationMemberRemovedType", + "WebhookOrganizationMemberRemovedTypeForResponse", ), - ".group_0689": ("WebhookOrganizationMemberRemovedType",), ".group_0690": ( "WebhookOrganizationRenamedType", + "WebhookOrganizationRenamedTypeForResponse", "WebhookOrganizationRenamedPropChangesType", + "WebhookOrganizationRenamedPropChangesTypeForResponse", "WebhookOrganizationRenamedPropChangesPropLoginType", + "WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse", ), ".group_0691": ( "WebhookRubygemsMetadataType", + "WebhookRubygemsMetadataTypeForResponse", "WebhookRubygemsMetadataPropVersionInfoType", + "WebhookRubygemsMetadataPropVersionInfoTypeForResponse", "WebhookRubygemsMetadataPropMetadataType", + "WebhookRubygemsMetadataPropMetadataTypeForResponse", "WebhookRubygemsMetadataPropDependenciesItemsType", + "WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse", + ), + ".group_0692": ( + "WebhookPackagePublishedType", + "WebhookPackagePublishedTypeForResponse", ), - ".group_0692": ("WebhookPackagePublishedType",), ".group_0693": ( "WebhookPackagePublishedPropPackageType", + "WebhookPackagePublishedPropPackageTypeForResponse", "WebhookPackagePublishedPropPackagePropOwnerType", + "WebhookPackagePublishedPropPackagePropOwnerTypeForResponse", "WebhookPackagePublishedPropPackagePropRegistryType", + "WebhookPackagePublishedPropPackagePropRegistryTypeForResponse", ), ".group_0694": ( "WebhookPackagePublishedPropPackagePropPackageVersionType", + "WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0695": ( + "WebhookPackageUpdatedType", + "WebhookPackageUpdatedTypeForResponse", ), - ".group_0695": ("WebhookPackageUpdatedType",), ".group_0696": ( "WebhookPackageUpdatedPropPackageType", + "WebhookPackageUpdatedPropPackageTypeForResponse", "WebhookPackageUpdatedPropPackagePropOwnerType", + "WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse", "WebhookPackageUpdatedPropPackagePropRegistryType", + "WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse", ), ".group_0697": ( "WebhookPackageUpdatedPropPackagePropPackageVersionType", + "WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", ), ".group_0698": ( "WebhookPageBuildType", + "WebhookPageBuildTypeForResponse", "WebhookPageBuildPropBuildType", + "WebhookPageBuildPropBuildTypeForResponse", "WebhookPageBuildPropBuildPropErrorType", + "WebhookPageBuildPropBuildPropErrorTypeForResponse", "WebhookPageBuildPropBuildPropPusherType", + "WebhookPageBuildPropBuildPropPusherTypeForResponse", + ), + ".group_0699": ( + "WebhookPersonalAccessTokenRequestApprovedType", + "WebhookPersonalAccessTokenRequestApprovedTypeForResponse", + ), + ".group_0700": ( + "WebhookPersonalAccessTokenRequestCancelledType", + "WebhookPersonalAccessTokenRequestCancelledTypeForResponse", + ), + ".group_0701": ( + "WebhookPersonalAccessTokenRequestCreatedType", + "WebhookPersonalAccessTokenRequestCreatedTypeForResponse", + ), + ".group_0702": ( + "WebhookPersonalAccessTokenRequestDeniedType", + "WebhookPersonalAccessTokenRequestDeniedTypeForResponse", + ), + ".group_0703": ( + "WebhookPingType", + "WebhookPingTypeForResponse", ), - ".group_0699": ("WebhookPersonalAccessTokenRequestApprovedType",), - ".group_0700": ("WebhookPersonalAccessTokenRequestCancelledType",), - ".group_0701": ("WebhookPersonalAccessTokenRequestCreatedType",), - ".group_0702": ("WebhookPersonalAccessTokenRequestDeniedType",), - ".group_0703": ("WebhookPingType",), ".group_0704": ( "WebhookPingPropHookType", + "WebhookPingPropHookTypeForResponse", "WebhookPingPropHookPropConfigType", + "WebhookPingPropHookPropConfigTypeForResponse", + ), + ".group_0705": ( + "WebhookPingFormEncodedType", + "WebhookPingFormEncodedTypeForResponse", ), - ".group_0705": ("WebhookPingFormEncodedType",), ".group_0706": ( "WebhookProjectCardConvertedType", + "WebhookProjectCardConvertedTypeForResponse", "WebhookProjectCardConvertedPropChangesType", + "WebhookProjectCardConvertedPropChangesTypeForResponse", "WebhookProjectCardConvertedPropChangesPropNoteType", + "WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse", + ), + ".group_0707": ( + "WebhookProjectCardCreatedType", + "WebhookProjectCardCreatedTypeForResponse", ), - ".group_0707": ("WebhookProjectCardCreatedType",), ".group_0708": ( "WebhookProjectCardDeletedType", + "WebhookProjectCardDeletedTypeForResponse", "WebhookProjectCardDeletedPropProjectCardType", + "WebhookProjectCardDeletedPropProjectCardTypeForResponse", "WebhookProjectCardDeletedPropProjectCardPropCreatorType", + "WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse", ), ".group_0709": ( "WebhookProjectCardEditedType", + "WebhookProjectCardEditedTypeForResponse", "WebhookProjectCardEditedPropChangesType", + "WebhookProjectCardEditedPropChangesTypeForResponse", "WebhookProjectCardEditedPropChangesPropNoteType", + "WebhookProjectCardEditedPropChangesPropNoteTypeForResponse", ), ".group_0710": ( "WebhookProjectCardMovedType", + "WebhookProjectCardMovedTypeForResponse", "WebhookProjectCardMovedPropChangesType", + "WebhookProjectCardMovedPropChangesTypeForResponse", "WebhookProjectCardMovedPropChangesPropColumnIdType", + "WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse", "WebhookProjectCardMovedPropProjectCardType", + "WebhookProjectCardMovedPropProjectCardTypeForResponse", "WebhookProjectCardMovedPropProjectCardMergedCreatorType", + "WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse", ), ".group_0711": ( "WebhookProjectCardMovedPropProjectCardAllof0Type", + "WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse", ), ".group_0712": ( "WebhookProjectCardMovedPropProjectCardAllof1Type", + "WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse", + ), + ".group_0713": ( + "WebhookProjectClosedType", + "WebhookProjectClosedTypeForResponse", + ), + ".group_0714": ( + "WebhookProjectColumnCreatedType", + "WebhookProjectColumnCreatedTypeForResponse", + ), + ".group_0715": ( + "WebhookProjectColumnDeletedType", + "WebhookProjectColumnDeletedTypeForResponse", ), - ".group_0713": ("WebhookProjectClosedType",), - ".group_0714": ("WebhookProjectColumnCreatedType",), - ".group_0715": ("WebhookProjectColumnDeletedType",), ".group_0716": ( "WebhookProjectColumnEditedType", + "WebhookProjectColumnEditedTypeForResponse", "WebhookProjectColumnEditedPropChangesType", + "WebhookProjectColumnEditedPropChangesTypeForResponse", "WebhookProjectColumnEditedPropChangesPropNameType", + "WebhookProjectColumnEditedPropChangesPropNameTypeForResponse", + ), + ".group_0717": ( + "WebhookProjectColumnMovedType", + "WebhookProjectColumnMovedTypeForResponse", + ), + ".group_0718": ( + "WebhookProjectCreatedType", + "WebhookProjectCreatedTypeForResponse", + ), + ".group_0719": ( + "WebhookProjectDeletedType", + "WebhookProjectDeletedTypeForResponse", ), - ".group_0717": ("WebhookProjectColumnMovedType",), - ".group_0718": ("WebhookProjectCreatedType",), - ".group_0719": ("WebhookProjectDeletedType",), ".group_0720": ( "WebhookProjectEditedType", + "WebhookProjectEditedTypeForResponse", "WebhookProjectEditedPropChangesType", + "WebhookProjectEditedPropChangesTypeForResponse", "WebhookProjectEditedPropChangesPropBodyType", + "WebhookProjectEditedPropChangesPropBodyTypeForResponse", "WebhookProjectEditedPropChangesPropNameType", + "WebhookProjectEditedPropChangesPropNameTypeForResponse", + ), + ".group_0721": ( + "WebhookProjectReopenedType", + "WebhookProjectReopenedTypeForResponse", + ), + ".group_0722": ( + "WebhookProjectsV2ProjectClosedType", + "WebhookProjectsV2ProjectClosedTypeForResponse", + ), + ".group_0723": ( + "WebhookProjectsV2ProjectCreatedType", + "WebhookProjectsV2ProjectCreatedTypeForResponse", + ), + ".group_0724": ( + "WebhookProjectsV2ProjectDeletedType", + "WebhookProjectsV2ProjectDeletedTypeForResponse", ), - ".group_0721": ("WebhookProjectReopenedType",), - ".group_0722": ("WebhookProjectsV2ProjectClosedType",), - ".group_0723": ("WebhookProjectsV2ProjectCreatedType",), - ".group_0724": ("WebhookProjectsV2ProjectDeletedType",), ".group_0725": ( "WebhookProjectsV2ProjectEditedType", + "WebhookProjectsV2ProjectEditedTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesType", + "WebhookProjectsV2ProjectEditedPropChangesTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropPublicType", + "WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropTitleType", + "WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse", + ), + ".group_0726": ( + "WebhookProjectsV2ItemArchivedType", + "WebhookProjectsV2ItemArchivedTypeForResponse", ), - ".group_0726": ("WebhookProjectsV2ItemArchivedType",), ".group_0727": ( "WebhookProjectsV2ItemConvertedType", + "WebhookProjectsV2ItemConvertedTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesType", + "WebhookProjectsV2ItemConvertedPropChangesTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType", + "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse", + ), + ".group_0728": ( + "WebhookProjectsV2ItemCreatedType", + "WebhookProjectsV2ItemCreatedTypeForResponse", + ), + ".group_0729": ( + "WebhookProjectsV2ItemDeletedType", + "WebhookProjectsV2ItemDeletedTypeForResponse", ), - ".group_0728": ("WebhookProjectsV2ItemCreatedType",), - ".group_0729": ("WebhookProjectsV2ItemDeletedType",), ".group_0730": ( "WebhookProjectsV2ItemEditedType", + "WebhookProjectsV2ItemEditedTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0Type", + "WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType", + "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse", "ProjectsV2SingleSelectOptionType", + "ProjectsV2SingleSelectOptionTypeForResponse", "ProjectsV2IterationSettingType", + "ProjectsV2IterationSettingTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1Type", + "WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType", + "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse", ), ".group_0731": ( "WebhookProjectsV2ItemReorderedType", + "WebhookProjectsV2ItemReorderedTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesType", + "WebhookProjectsV2ItemReorderedPropChangesTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType", + "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse", + ), + ".group_0732": ( + "WebhookProjectsV2ItemRestoredType", + "WebhookProjectsV2ItemRestoredTypeForResponse", + ), + ".group_0733": ( + "WebhookProjectsV2ProjectReopenedType", + "WebhookProjectsV2ProjectReopenedTypeForResponse", + ), + ".group_0734": ( + "WebhookProjectsV2StatusUpdateCreatedType", + "WebhookProjectsV2StatusUpdateCreatedTypeForResponse", + ), + ".group_0735": ( + "WebhookProjectsV2StatusUpdateDeletedType", + "WebhookProjectsV2StatusUpdateDeletedTypeForResponse", ), - ".group_0732": ("WebhookProjectsV2ItemRestoredType",), - ".group_0733": ("WebhookProjectsV2ProjectReopenedType",), - ".group_0734": ("WebhookProjectsV2StatusUpdateCreatedType",), - ".group_0735": ("WebhookProjectsV2StatusUpdateDeletedType",), ".group_0736": ( "WebhookProjectsV2StatusUpdateEditedType", + "WebhookProjectsV2StatusUpdateEditedTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesType", + "WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse", + ), + ".group_0737": ( + "WebhookPublicType", + "WebhookPublicTypeForResponse", ), - ".group_0737": ("WebhookPublicType",), ".group_0738": ( "WebhookPullRequestAssignedType", + "WebhookPullRequestAssignedTypeForResponse", "WebhookPullRequestAssignedPropPullRequestType", + "WebhookPullRequestAssignedPropPullRequestTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneeType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMergedByType", + "WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestoneType", + "WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksType", + "WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBaseType", + "WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadType", + "WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0739": ( "WebhookPullRequestAutoMergeDisabledType", + "WebhookPullRequestAutoMergeDisabledTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0740": ( "WebhookPullRequestAutoMergeEnabledType", + "WebhookPullRequestAutoMergeEnabledTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", + ), + ".group_0741": ( + "WebhookPullRequestClosedType", + "WebhookPullRequestClosedTypeForResponse", + ), + ".group_0742": ( + "WebhookPullRequestConvertedToDraftType", + "WebhookPullRequestConvertedToDraftTypeForResponse", + ), + ".group_0743": ( + "WebhookPullRequestDemilestonedType", + "WebhookPullRequestDemilestonedTypeForResponse", ), - ".group_0741": ("WebhookPullRequestClosedType",), - ".group_0742": ("WebhookPullRequestConvertedToDraftType",), - ".group_0743": ("WebhookPullRequestDemilestonedType",), ".group_0744": ( "WebhookPullRequestDequeuedType", + "WebhookPullRequestDequeuedTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestType", + "WebhookPullRequestDequeuedPropPullRequestTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneeType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMergedByType", + "WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestoneType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBaseType", + "WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0745": ( "WebhookPullRequestEditedType", + "WebhookPullRequestEditedTypeForResponse", "WebhookPullRequestEditedPropChangesType", + "WebhookPullRequestEditedPropChangesTypeForResponse", "WebhookPullRequestEditedPropChangesPropBodyType", + "WebhookPullRequestEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestEditedPropChangesPropTitleType", + "WebhookPullRequestEditedPropChangesPropTitleTypeForResponse", "WebhookPullRequestEditedPropChangesPropBaseType", + "WebhookPullRequestEditedPropChangesPropBaseTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropRefType", + "WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropShaType", + "WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse", ), ".group_0746": ( "WebhookPullRequestEnqueuedType", + "WebhookPullRequestEnqueuedTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestType", + "WebhookPullRequestEnqueuedPropPullRequestTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMergedByType", + "WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBaseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0747": ( "WebhookPullRequestLabeledType", + "WebhookPullRequestLabeledTypeForResponse", "WebhookPullRequestLabeledPropPullRequestType", + "WebhookPullRequestLabeledPropPullRequestTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMergedByType", + "WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksType", + "WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBaseType", + "WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadType", + "WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0748": ( "WebhookPullRequestLockedType", + "WebhookPullRequestLockedTypeForResponse", "WebhookPullRequestLockedPropPullRequestType", + "WebhookPullRequestLockedPropPullRequestTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneeType", + "WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMergedByType", + "WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestoneType", + "WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropUserType", + "WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksType", + "WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBaseType", + "WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadType", + "WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", + ), + ".group_0749": ( + "WebhookPullRequestMilestonedType", + "WebhookPullRequestMilestonedTypeForResponse", + ), + ".group_0750": ( + "WebhookPullRequestOpenedType", + "WebhookPullRequestOpenedTypeForResponse", + ), + ".group_0751": ( + "WebhookPullRequestReadyForReviewType", + "WebhookPullRequestReadyForReviewTypeForResponse", + ), + ".group_0752": ( + "WebhookPullRequestReopenedType", + "WebhookPullRequestReopenedTypeForResponse", ), - ".group_0749": ("WebhookPullRequestMilestonedType",), - ".group_0750": ("WebhookPullRequestOpenedType",), - ".group_0751": ("WebhookPullRequestReadyForReviewType",), - ".group_0752": ("WebhookPullRequestReopenedType",), ".group_0753": ( "WebhookPullRequestReviewCommentCreatedType", + "WebhookPullRequestReviewCommentCreatedTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentType", + "WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropUserType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0754": ( "WebhookPullRequestReviewCommentDeletedType", + "WebhookPullRequestReviewCommentDeletedTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0755": ( "WebhookPullRequestReviewCommentEditedType", + "WebhookPullRequestReviewCommentEditedTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestType", + "WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0756": ( "WebhookPullRequestReviewDismissedType", + "WebhookPullRequestReviewDismissedTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewType", + "WebhookPullRequestReviewDismissedPropReviewTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropUserType", + "WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestType", + "WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBaseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0757": ( "WebhookPullRequestReviewEditedType", + "WebhookPullRequestReviewEditedTypeForResponse", "WebhookPullRequestReviewEditedPropChangesType", + "WebhookPullRequestReviewEditedPropChangesTypeForResponse", "WebhookPullRequestReviewEditedPropChangesPropBodyType", + "WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestType", + "WebhookPullRequestReviewEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0758": ( "WebhookPullRequestReviewRequestRemovedOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0759": ( "WebhookPullRequestReviewRequestRemovedOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0760": ( "WebhookPullRequestReviewRequestedOneof0Type", + "WebhookPullRequestReviewRequestedOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0761": ( "WebhookPullRequestReviewRequestedOneof1Type", + "WebhookPullRequestReviewRequestedOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0762": ( "WebhookPullRequestReviewSubmittedType", + "WebhookPullRequestReviewSubmittedTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestType", + "WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0763": ( "WebhookPullRequestReviewThreadResolvedType", + "WebhookPullRequestReviewThreadResolvedTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadType", + "WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", ), ".group_0764": ( "WebhookPullRequestReviewThreadUnresolvedType", + "WebhookPullRequestReviewThreadUnresolvedTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", ), ".group_0765": ( "WebhookPullRequestSynchronizeType", + "WebhookPullRequestSynchronizeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestType", + "WebhookPullRequestSynchronizePropPullRequestTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneeType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMergedByType", + "WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestoneType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBaseType", + "WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0766": ( "WebhookPullRequestUnassignedType", + "WebhookPullRequestUnassignedTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestType", + "WebhookPullRequestUnassignedPropPullRequestTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMergedByType", + "WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBaseType", + "WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0767": ( "WebhookPullRequestUnlabeledType", + "WebhookPullRequestUnlabeledTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestType", + "WebhookPullRequestUnlabeledPropPullRequestTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMergedByType", + "WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBaseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0768": ( "WebhookPullRequestUnlockedType", + "WebhookPullRequestUnlockedTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestType", + "WebhookPullRequestUnlockedPropPullRequestTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMergedByType", + "WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBaseType", + "WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", ), ".group_0769": ( "WebhookPushType", + "WebhookPushTypeForResponse", "WebhookPushPropHeadCommitType", + "WebhookPushPropHeadCommitTypeForResponse", "WebhookPushPropHeadCommitPropAuthorType", + "WebhookPushPropHeadCommitPropAuthorTypeForResponse", "WebhookPushPropHeadCommitPropCommitterType", + "WebhookPushPropHeadCommitPropCommitterTypeForResponse", "WebhookPushPropPusherType", + "WebhookPushPropPusherTypeForResponse", "WebhookPushPropCommitsItemsType", + "WebhookPushPropCommitsItemsTypeForResponse", "WebhookPushPropCommitsItemsPropAuthorType", + "WebhookPushPropCommitsItemsPropAuthorTypeForResponse", "WebhookPushPropCommitsItemsPropCommitterType", + "WebhookPushPropCommitsItemsPropCommitterTypeForResponse", "WebhookPushPropRepositoryType", + "WebhookPushPropRepositoryTypeForResponse", "WebhookPushPropRepositoryPropCustomPropertiesType", + "WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookPushPropRepositoryPropLicenseType", + "WebhookPushPropRepositoryPropLicenseTypeForResponse", "WebhookPushPropRepositoryPropOwnerType", + "WebhookPushPropRepositoryPropOwnerTypeForResponse", "WebhookPushPropRepositoryPropPermissionsType", + "WebhookPushPropRepositoryPropPermissionsTypeForResponse", + ), + ".group_0770": ( + "WebhookRegistryPackagePublishedType", + "WebhookRegistryPackagePublishedTypeForResponse", ), - ".group_0770": ("WebhookRegistryPackagePublishedType",), ".group_0771": ( "WebhookRegistryPackagePublishedPropRegistryPackageType", + "WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse", ), ".group_0772": ( "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0773": ( + "WebhookRegistryPackageUpdatedType", + "WebhookRegistryPackageUpdatedTypeForResponse", ), - ".group_0773": ("WebhookRegistryPackageUpdatedType",), ".group_0774": ( "WebhookRegistryPackageUpdatedPropRegistryPackageType", + "WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse", ), ".group_0775": ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", + ), + ".group_0776": ( + "WebhookReleaseCreatedType", + "WebhookReleaseCreatedTypeForResponse", + ), + ".group_0777": ( + "WebhookReleaseDeletedType", + "WebhookReleaseDeletedTypeForResponse", ), - ".group_0776": ("WebhookReleaseCreatedType",), - ".group_0777": ("WebhookReleaseDeletedType",), ".group_0778": ( "WebhookReleaseEditedType", + "WebhookReleaseEditedTypeForResponse", "WebhookReleaseEditedPropChangesType", + "WebhookReleaseEditedPropChangesTypeForResponse", "WebhookReleaseEditedPropChangesPropBodyType", + "WebhookReleaseEditedPropChangesPropBodyTypeForResponse", "WebhookReleaseEditedPropChangesPropNameType", + "WebhookReleaseEditedPropChangesPropNameTypeForResponse", "WebhookReleaseEditedPropChangesPropTagNameType", + "WebhookReleaseEditedPropChangesPropTagNameTypeForResponse", "WebhookReleaseEditedPropChangesPropMakeLatestType", + "WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse", ), ".group_0779": ( "WebhookReleasePrereleasedType", + "WebhookReleasePrereleasedTypeForResponse", "WebhookReleasePrereleasedPropReleaseType", + "WebhookReleasePrereleasedPropReleaseTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAuthorType", + "WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse", "WebhookReleasePrereleasedPropReleasePropReactionsType", + "WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse", + ), + ".group_0780": ( + "WebhookReleasePublishedType", + "WebhookReleasePublishedTypeForResponse", + ), + ".group_0781": ( + "WebhookReleaseReleasedType", + "WebhookReleaseReleasedTypeForResponse", + ), + ".group_0782": ( + "WebhookReleaseUnpublishedType", + "WebhookReleaseUnpublishedTypeForResponse", + ), + ".group_0783": ( + "WebhookRepositoryAdvisoryPublishedType", + "WebhookRepositoryAdvisoryPublishedTypeForResponse", + ), + ".group_0784": ( + "WebhookRepositoryAdvisoryReportedType", + "WebhookRepositoryAdvisoryReportedTypeForResponse", + ), + ".group_0785": ( + "WebhookRepositoryArchivedType", + "WebhookRepositoryArchivedTypeForResponse", + ), + ".group_0786": ( + "WebhookRepositoryCreatedType", + "WebhookRepositoryCreatedTypeForResponse", + ), + ".group_0787": ( + "WebhookRepositoryDeletedType", + "WebhookRepositoryDeletedTypeForResponse", ), - ".group_0780": ("WebhookReleasePublishedType",), - ".group_0781": ("WebhookReleaseReleasedType",), - ".group_0782": ("WebhookReleaseUnpublishedType",), - ".group_0783": ("WebhookRepositoryAdvisoryPublishedType",), - ".group_0784": ("WebhookRepositoryAdvisoryReportedType",), - ".group_0785": ("WebhookRepositoryArchivedType",), - ".group_0786": ("WebhookRepositoryCreatedType",), - ".group_0787": ("WebhookRepositoryDeletedType",), ".group_0788": ( "WebhookRepositoryDispatchSampleType", + "WebhookRepositoryDispatchSampleTypeForResponse", "WebhookRepositoryDispatchSamplePropClientPayloadType", + "WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse", ), ".group_0789": ( "WebhookRepositoryEditedType", + "WebhookRepositoryEditedTypeForResponse", "WebhookRepositoryEditedPropChangesType", + "WebhookRepositoryEditedPropChangesTypeForResponse", "WebhookRepositoryEditedPropChangesPropDefaultBranchType", + "WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse", "WebhookRepositoryEditedPropChangesPropDescriptionType", + "WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse", "WebhookRepositoryEditedPropChangesPropHomepageType", + "WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse", "WebhookRepositoryEditedPropChangesPropTopicsType", + "WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse", + ), + ".group_0790": ( + "WebhookRepositoryImportType", + "WebhookRepositoryImportTypeForResponse", + ), + ".group_0791": ( + "WebhookRepositoryPrivatizedType", + "WebhookRepositoryPrivatizedTypeForResponse", + ), + ".group_0792": ( + "WebhookRepositoryPublicizedType", + "WebhookRepositoryPublicizedTypeForResponse", ), - ".group_0790": ("WebhookRepositoryImportType",), - ".group_0791": ("WebhookRepositoryPrivatizedType",), - ".group_0792": ("WebhookRepositoryPublicizedType",), ".group_0793": ( "WebhookRepositoryRenamedType", + "WebhookRepositoryRenamedTypeForResponse", "WebhookRepositoryRenamedPropChangesType", + "WebhookRepositoryRenamedPropChangesTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryType", + "WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType", + "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse", + ), + ".group_0794": ( + "WebhookRepositoryRulesetCreatedType", + "WebhookRepositoryRulesetCreatedTypeForResponse", + ), + ".group_0795": ( + "WebhookRepositoryRulesetDeletedType", + "WebhookRepositoryRulesetDeletedTypeForResponse", + ), + ".group_0796": ( + "WebhookRepositoryRulesetEditedType", + "WebhookRepositoryRulesetEditedTypeForResponse", ), - ".group_0794": ("WebhookRepositoryRulesetCreatedType",), - ".group_0795": ("WebhookRepositoryRulesetDeletedType",), - ".group_0796": ("WebhookRepositoryRulesetEditedType",), ".group_0797": ( "WebhookRepositoryRulesetEditedPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropNameType", + "WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropEnforcementType", + "WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse", + ), + ".group_0798": ( + "WebhookRepositoryRulesetEditedPropChangesPropConditionsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse", ), - ".group_0798": ("WebhookRepositoryRulesetEditedPropChangesPropConditionsType",), ".group_0799": ( "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse", + ), + ".group_0800": ( + "WebhookRepositoryRulesetEditedPropChangesPropRulesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse", ), - ".group_0800": ("WebhookRepositoryRulesetEditedPropChangesPropRulesType",), ".group_0801": ( "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse", ), ".group_0802": ( "WebhookRepositoryTransferredType", + "WebhookRepositoryTransferredTypeForResponse", "WebhookRepositoryTransferredPropChangesType", + "WebhookRepositoryTransferredPropChangesTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerType", + "WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse", + ), + ".group_0803": ( + "WebhookRepositoryUnarchivedType", + "WebhookRepositoryUnarchivedTypeForResponse", + ), + ".group_0804": ( + "WebhookRepositoryVulnerabilityAlertCreateType", + "WebhookRepositoryVulnerabilityAlertCreateTypeForResponse", ), - ".group_0803": ("WebhookRepositoryUnarchivedType",), - ".group_0804": ("WebhookRepositoryVulnerabilityAlertCreateType",), ".group_0805": ( "WebhookRepositoryVulnerabilityAlertDismissType", + "WebhookRepositoryVulnerabilityAlertDismissTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse", + ), + ".group_0806": ( + "WebhookRepositoryVulnerabilityAlertReopenType", + "WebhookRepositoryVulnerabilityAlertReopenTypeForResponse", ), - ".group_0806": ("WebhookRepositoryVulnerabilityAlertReopenType",), ".group_0807": ( "WebhookRepositoryVulnerabilityAlertResolveType", + "WebhookRepositoryVulnerabilityAlertResolveTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse", + ), + ".group_0808": ( + "WebhookSecretScanningAlertCreatedType", + "WebhookSecretScanningAlertCreatedTypeForResponse", + ), + ".group_0809": ( + "WebhookSecretScanningAlertLocationCreatedType", + "WebhookSecretScanningAlertLocationCreatedTypeForResponse", + ), + ".group_0810": ( + "WebhookSecretScanningAlertLocationCreatedFormEncodedType", + "WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse", + ), + ".group_0811": ( + "WebhookSecretScanningAlertPubliclyLeakedType", + "WebhookSecretScanningAlertPubliclyLeakedTypeForResponse", + ), + ".group_0812": ( + "WebhookSecretScanningAlertReopenedType", + "WebhookSecretScanningAlertReopenedTypeForResponse", + ), + ".group_0813": ( + "WebhookSecretScanningAlertResolvedType", + "WebhookSecretScanningAlertResolvedTypeForResponse", + ), + ".group_0814": ( + "WebhookSecretScanningAlertValidatedType", + "WebhookSecretScanningAlertValidatedTypeForResponse", + ), + ".group_0815": ( + "WebhookSecretScanningScanCompletedType", + "WebhookSecretScanningScanCompletedTypeForResponse", + ), + ".group_0816": ( + "WebhookSecurityAdvisoryPublishedType", + "WebhookSecurityAdvisoryPublishedTypeForResponse", + ), + ".group_0817": ( + "WebhookSecurityAdvisoryUpdatedType", + "WebhookSecurityAdvisoryUpdatedTypeForResponse", + ), + ".group_0818": ( + "WebhookSecurityAdvisoryWithdrawnType", + "WebhookSecurityAdvisoryWithdrawnTypeForResponse", ), - ".group_0808": ("WebhookSecretScanningAlertCreatedType",), - ".group_0809": ("WebhookSecretScanningAlertLocationCreatedType",), - ".group_0810": ("WebhookSecretScanningAlertLocationCreatedFormEncodedType",), - ".group_0811": ("WebhookSecretScanningAlertPubliclyLeakedType",), - ".group_0812": ("WebhookSecretScanningAlertReopenedType",), - ".group_0813": ("WebhookSecretScanningAlertResolvedType",), - ".group_0814": ("WebhookSecretScanningAlertValidatedType",), - ".group_0815": ("WebhookSecretScanningScanCompletedType",), - ".group_0816": ("WebhookSecurityAdvisoryPublishedType",), - ".group_0817": ("WebhookSecurityAdvisoryUpdatedType",), - ".group_0818": ("WebhookSecurityAdvisoryWithdrawnType",), ".group_0819": ( "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", + ), + ".group_0820": ( + "WebhookSecurityAndAnalysisType", + "WebhookSecurityAndAnalysisTypeForResponse", + ), + ".group_0821": ( + "WebhookSecurityAndAnalysisPropChangesType", + "WebhookSecurityAndAnalysisPropChangesTypeForResponse", + ), + ".group_0822": ( + "WebhookSecurityAndAnalysisPropChangesPropFromType", + "WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse", + ), + ".group_0823": ( + "WebhookSponsorshipCancelledType", + "WebhookSponsorshipCancelledTypeForResponse", + ), + ".group_0824": ( + "WebhookSponsorshipCreatedType", + "WebhookSponsorshipCreatedTypeForResponse", ), - ".group_0820": ("WebhookSecurityAndAnalysisType",), - ".group_0821": ("WebhookSecurityAndAnalysisPropChangesType",), - ".group_0822": ("WebhookSecurityAndAnalysisPropChangesPropFromType",), - ".group_0823": ("WebhookSponsorshipCancelledType",), - ".group_0824": ("WebhookSponsorshipCreatedType",), ".group_0825": ( "WebhookSponsorshipEditedType", + "WebhookSponsorshipEditedTypeForResponse", "WebhookSponsorshipEditedPropChangesType", + "WebhookSponsorshipEditedPropChangesTypeForResponse", "WebhookSponsorshipEditedPropChangesPropPrivacyLevelType", + "WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse", + ), + ".group_0826": ( + "WebhookSponsorshipPendingCancellationType", + "WebhookSponsorshipPendingCancellationTypeForResponse", + ), + ".group_0827": ( + "WebhookSponsorshipPendingTierChangeType", + "WebhookSponsorshipPendingTierChangeTypeForResponse", + ), + ".group_0828": ( + "WebhookSponsorshipTierChangedType", + "WebhookSponsorshipTierChangedTypeForResponse", + ), + ".group_0829": ( + "WebhookStarCreatedType", + "WebhookStarCreatedTypeForResponse", + ), + ".group_0830": ( + "WebhookStarDeletedType", + "WebhookStarDeletedTypeForResponse", ), - ".group_0826": ("WebhookSponsorshipPendingCancellationType",), - ".group_0827": ("WebhookSponsorshipPendingTierChangeType",), - ".group_0828": ("WebhookSponsorshipTierChangedType",), - ".group_0829": ("WebhookStarCreatedType",), - ".group_0830": ("WebhookStarDeletedType",), ".group_0831": ( "WebhookStatusType", + "WebhookStatusTypeForResponse", "WebhookStatusPropBranchesItemsType", + "WebhookStatusPropBranchesItemsTypeForResponse", "WebhookStatusPropBranchesItemsPropCommitType", + "WebhookStatusPropBranchesItemsPropCommitTypeForResponse", "WebhookStatusPropCommitType", + "WebhookStatusPropCommitTypeForResponse", "WebhookStatusPropCommitPropAuthorType", + "WebhookStatusPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropParentsItemsType", + "WebhookStatusPropCommitPropParentsItemsTypeForResponse", "WebhookStatusPropCommitPropCommitType", + "WebhookStatusPropCommitPropCommitTypeForResponse", "WebhookStatusPropCommitPropCommitPropAuthorType", + "WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropCommitPropTreeType", + "WebhookStatusPropCommitPropCommitPropTreeTypeForResponse", "WebhookStatusPropCommitPropCommitPropVerificationType", + "WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse", + ), + ".group_0832": ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof0Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse", + ), + ".group_0833": ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof1Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse", + ), + ".group_0834": ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof0Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse", + ), + ".group_0835": ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof1Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse", + ), + ".group_0836": ( + "WebhookSubIssuesParentIssueAddedType", + "WebhookSubIssuesParentIssueAddedTypeForResponse", + ), + ".group_0837": ( + "WebhookSubIssuesParentIssueRemovedType", + "WebhookSubIssuesParentIssueRemovedTypeForResponse", + ), + ".group_0838": ( + "WebhookSubIssuesSubIssueAddedType", + "WebhookSubIssuesSubIssueAddedTypeForResponse", + ), + ".group_0839": ( + "WebhookSubIssuesSubIssueRemovedType", + "WebhookSubIssuesSubIssueRemovedTypeForResponse", + ), + ".group_0840": ( + "WebhookTeamAddType", + "WebhookTeamAddTypeForResponse", ), - ".group_0832": ("WebhookStatusPropCommitPropCommitPropAuthorAllof0Type",), - ".group_0833": ("WebhookStatusPropCommitPropCommitPropAuthorAllof1Type",), - ".group_0834": ("WebhookStatusPropCommitPropCommitPropCommitterAllof0Type",), - ".group_0835": ("WebhookStatusPropCommitPropCommitPropCommitterAllof1Type",), - ".group_0836": ("WebhookSubIssuesParentIssueAddedType",), - ".group_0837": ("WebhookSubIssuesParentIssueRemovedType",), - ".group_0838": ("WebhookSubIssuesSubIssueAddedType",), - ".group_0839": ("WebhookSubIssuesSubIssueRemovedType",), - ".group_0840": ("WebhookTeamAddType",), ".group_0841": ( "WebhookTeamAddedToRepositoryType", + "WebhookTeamAddedToRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryType", + "WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType", + "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType", + "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse", ), ".group_0842": ( "WebhookTeamCreatedType", + "WebhookTeamCreatedTypeForResponse", "WebhookTeamCreatedPropRepositoryType", + "WebhookTeamCreatedPropRepositoryTypeForResponse", "WebhookTeamCreatedPropRepositoryPropCustomPropertiesType", + "WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamCreatedPropRepositoryPropLicenseType", + "WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamCreatedPropRepositoryPropOwnerType", + "WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamCreatedPropRepositoryPropPermissionsType", + "WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse", ), ".group_0843": ( "WebhookTeamDeletedType", + "WebhookTeamDeletedTypeForResponse", "WebhookTeamDeletedPropRepositoryType", + "WebhookTeamDeletedPropRepositoryTypeForResponse", "WebhookTeamDeletedPropRepositoryPropCustomPropertiesType", + "WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamDeletedPropRepositoryPropLicenseType", + "WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamDeletedPropRepositoryPropOwnerType", + "WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamDeletedPropRepositoryPropPermissionsType", + "WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse", ), ".group_0844": ( "WebhookTeamEditedType", + "WebhookTeamEditedTypeForResponse", "WebhookTeamEditedPropRepositoryType", + "WebhookTeamEditedPropRepositoryTypeForResponse", "WebhookTeamEditedPropRepositoryPropCustomPropertiesType", + "WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamEditedPropRepositoryPropLicenseType", + "WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamEditedPropRepositoryPropOwnerType", + "WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamEditedPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesType", + "WebhookTeamEditedPropChangesTypeForResponse", "WebhookTeamEditedPropChangesPropDescriptionType", + "WebhookTeamEditedPropChangesPropDescriptionTypeForResponse", "WebhookTeamEditedPropChangesPropNameType", + "WebhookTeamEditedPropChangesPropNameTypeForResponse", "WebhookTeamEditedPropChangesPropPrivacyType", + "WebhookTeamEditedPropChangesPropPrivacyTypeForResponse", "WebhookTeamEditedPropChangesPropNotificationSettingType", + "WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryType", + "WebhookTeamEditedPropChangesPropRepositoryTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse", ), ".group_0845": ( "WebhookTeamRemovedFromRepositoryType", + "WebhookTeamRemovedFromRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryType", + "WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse", + ), + ".group_0846": ( + "WebhookWatchStartedType", + "WebhookWatchStartedTypeForResponse", ), - ".group_0846": ("WebhookWatchStartedType",), ".group_0847": ( "WebhookWorkflowDispatchType", + "WebhookWorkflowDispatchTypeForResponse", "WebhookWorkflowDispatchPropInputsType", + "WebhookWorkflowDispatchPropInputsTypeForResponse", ), ".group_0848": ( "WebhookWorkflowJobCompletedType", + "WebhookWorkflowJobCompletedTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobType", + "WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse", ), ".group_0849": ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse", ), ".group_0850": ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse", ), ".group_0851": ( "WebhookWorkflowJobInProgressType", + "WebhookWorkflowJobInProgressTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobType", + "WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse", ), ".group_0852": ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse", ), ".group_0853": ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse", ), ".group_0854": ( "WebhookWorkflowJobQueuedType", + "WebhookWorkflowJobQueuedTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobType", + "WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse", ), ".group_0855": ( "WebhookWorkflowJobWaitingType", + "WebhookWorkflowJobWaitingTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobType", + "WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse", ), ".group_0856": ( "WebhookWorkflowRunCompletedType", + "WebhookWorkflowRunCompletedTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunType", + "WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0857": ( "WebhookWorkflowRunInProgressType", + "WebhookWorkflowRunInProgressTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunType", + "WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", ), ".group_0858": ( "WebhookWorkflowRunRequestedType", + "WebhookWorkflowRunRequestedTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunType", + "WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", + ), + ".group_0859": ( + "AppManifestsCodeConversionsPostResponse201Type", + "AppManifestsCodeConversionsPostResponse201TypeForResponse", + ), + ".group_0860": ( + "AppManifestsCodeConversionsPostResponse201Allof1Type", + "AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse", + ), + ".group_0861": ( + "AppHookConfigPatchBodyType", + "AppHookConfigPatchBodyTypeForResponse", + ), + ".group_0862": ( + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type", + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse", + ), + ".group_0863": ( + "AppInstallationsInstallationIdAccessTokensPostBodyType", + "AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse", + ), + ".group_0864": ( + "ApplicationsClientIdGrantDeleteBodyType", + "ApplicationsClientIdGrantDeleteBodyTypeForResponse", + ), + ".group_0865": ( + "ApplicationsClientIdTokenPostBodyType", + "ApplicationsClientIdTokenPostBodyTypeForResponse", + ), + ".group_0866": ( + "ApplicationsClientIdTokenDeleteBodyType", + "ApplicationsClientIdTokenDeleteBodyTypeForResponse", + ), + ".group_0867": ( + "ApplicationsClientIdTokenPatchBodyType", + "ApplicationsClientIdTokenPatchBodyTypeForResponse", + ), + ".group_0868": ( + "ApplicationsClientIdTokenScopedPostBodyType", + "ApplicationsClientIdTokenScopedPostBodyTypeForResponse", + ), + ".group_0869": ( + "CredentialsRevokePostBodyType", + "CredentialsRevokePostBodyTypeForResponse", + ), + ".group_0870": ( + "EmojisGetResponse200Type", + "EmojisGetResponse200TypeForResponse", ), - ".group_0859": ("AppManifestsCodeConversionsPostResponse201Type",), - ".group_0860": ("AppManifestsCodeConversionsPostResponse201Allof1Type",), - ".group_0861": ("AppHookConfigPatchBodyType",), - ".group_0862": ("AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type",), - ".group_0863": ("AppInstallationsInstallationIdAccessTokensPostBodyType",), - ".group_0864": ("ApplicationsClientIdGrantDeleteBodyType",), - ".group_0865": ("ApplicationsClientIdTokenPostBodyType",), - ".group_0866": ("ApplicationsClientIdTokenDeleteBodyType",), - ".group_0867": ("ApplicationsClientIdTokenPatchBodyType",), - ".group_0868": ("ApplicationsClientIdTokenScopedPostBodyType",), - ".group_0869": ("CredentialsRevokePostBodyType",), - ".group_0870": ("EmojisGetResponse200Type",), ".group_0871": ( "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", ), ".group_0872": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", ), ".group_0873": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ), ".group_0874": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ), ".group_0875": ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", + ), + ".group_0876": ( + "EnterprisesEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseTeamsPostBodyTypeForResponse", ), - ".group_0876": ("EnterprisesEnterpriseTeamsPostBodyType",), ".group_0877": ( "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse", ), ".group_0878": ( "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse", ), ".group_0879": ( "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse", ), ".group_0880": ( "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse", + ), + ".group_0881": ( + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyType", + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse", + ), + ".group_0882": ( + "EventsGetResponse503Type", + "EventsGetResponse503TypeForResponse", ), - ".group_0881": ("EnterprisesEnterpriseTeamsTeamSlugPatchBodyType",), - ".group_0882": ("EventsGetResponse503Type",), ".group_0883": ( "GistsPostBodyType", + "GistsPostBodyTypeForResponse", "GistsPostBodyPropFilesType", + "GistsPostBodyPropFilesTypeForResponse", ), ".group_0884": ( "GistsGistIdGetResponse403Type", + "GistsGistIdGetResponse403TypeForResponse", "GistsGistIdGetResponse403PropBlockType", + "GistsGistIdGetResponse403PropBlockTypeForResponse", ), ".group_0885": ( "GistsGistIdPatchBodyType", + "GistsGistIdPatchBodyTypeForResponse", "GistsGistIdPatchBodyPropFilesType", + "GistsGistIdPatchBodyPropFilesTypeForResponse", + ), + ".group_0886": ( + "GistsGistIdCommentsPostBodyType", + "GistsGistIdCommentsPostBodyTypeForResponse", + ), + ".group_0887": ( + "GistsGistIdCommentsCommentIdPatchBodyType", + "GistsGistIdCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_0888": ( + "GistsGistIdStarGetResponse404Type", + "GistsGistIdStarGetResponse404TypeForResponse", + ), + ".group_0889": ( + "InstallationRepositoriesGetResponse200Type", + "InstallationRepositoriesGetResponse200TypeForResponse", + ), + ".group_0890": ( + "MarkdownPostBodyType", + "MarkdownPostBodyTypeForResponse", + ), + ".group_0891": ( + "NotificationsPutBodyType", + "NotificationsPutBodyTypeForResponse", + ), + ".group_0892": ( + "NotificationsPutResponse202Type", + "NotificationsPutResponse202TypeForResponse", + ), + ".group_0893": ( + "NotificationsThreadsThreadIdSubscriptionPutBodyType", + "NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse", + ), + ".group_0894": ( + "OrganizationsOrgDependabotRepositoryAccessPatchBodyType", + "OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse", ), - ".group_0886": ("GistsGistIdCommentsPostBodyType",), - ".group_0887": ("GistsGistIdCommentsCommentIdPatchBodyType",), - ".group_0888": ("GistsGistIdStarGetResponse404Type",), - ".group_0889": ("InstallationRepositoriesGetResponse200Type",), - ".group_0890": ("MarkdownPostBodyType",), - ".group_0891": ("NotificationsPutBodyType",), - ".group_0892": ("NotificationsPutResponse202Type",), - ".group_0893": ("NotificationsThreadsThreadIdSubscriptionPutBodyType",), - ".group_0894": ("OrganizationsOrgDependabotRepositoryAccessPatchBodyType",), ".group_0895": ( "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType", + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse", + ), + ".group_0896": ( + "OrganizationsOrgOrgPropertiesValuesPatchBodyType", + "OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse", ), - ".group_0896": ("OrganizationsOrgOrgPropertiesValuesPatchBodyType",), ".group_0897": ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", ), ".group_0898": ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse", + ), + ".group_0899": ( + "OrgsOrgPatchBodyType", + "OrgsOrgPatchBodyTypeForResponse", ), - ".group_0899": ("OrgsOrgPatchBodyType",), ".group_0900": ( "OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type", + "OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse", "ActionsCacheUsageByRepositoryType", + "ActionsCacheUsageByRepositoryTypeForResponse", + ), + ".group_0901": ( + "OrgsOrgActionsHostedRunnersGetResponse200Type", + "OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse", ), - ".group_0901": ("OrgsOrgActionsHostedRunnersGetResponse200Type",), ".group_0902": ( "OrgsOrgActionsHostedRunnersPostBodyType", + "OrgsOrgActionsHostedRunnersPostBodyTypeForResponse", "OrgsOrgActionsHostedRunnersPostBodyPropImageType", + "OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse", ), ".group_0903": ( "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", "ActionsHostedRunnerCustomImageType", + "ActionsHostedRunnerCustomImageTypeForResponse", ), ".group_0904": ( "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", "ActionsHostedRunnerCustomImageVersionType", + "ActionsHostedRunnerCustomImageVersionTypeForResponse", ), ".group_0905": ( "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", + ), + ".group_0906": ( + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", + ), + ".group_0907": ( + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type", + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", + ), + ".group_0908": ( + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type", + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse", + ), + ".group_0909": ( + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType", + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", + ), + ".group_0910": ( + "OrgsOrgActionsPermissionsPutBodyType", + "OrgsOrgActionsPermissionsPutBodyTypeForResponse", + ), + ".group_0911": ( + "OrgsOrgActionsPermissionsRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse", + ), + ".group_0912": ( + "OrgsOrgActionsPermissionsRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse", + ), + ".group_0913": ( + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", ), - ".group_0906": ("OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type",), - ".group_0907": ("OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type",), - ".group_0908": ("OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type",), - ".group_0909": ("OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType",), - ".group_0910": ("OrgsOrgActionsPermissionsPutBodyType",), - ".group_0911": ("OrgsOrgActionsPermissionsRepositoriesGetResponse200Type",), - ".group_0912": ("OrgsOrgActionsPermissionsRepositoriesPutBodyType",), - ".group_0913": ("OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType",), ".group_0914": ( "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse", ), ".group_0915": ( "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse", ), ".group_0916": ( "OrgsOrgActionsRunnerGroupsGetResponse200Type", + "OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsOrgType", + "RunnerGroupsOrgTypeForResponse", + ), + ".group_0917": ( + "OrgsOrgActionsRunnerGroupsPostBodyType", + "OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse", + ), + ".group_0918": ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", ), - ".group_0917": ("OrgsOrgActionsRunnerGroupsPostBodyType",), - ".group_0918": ("OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType",), ".group_0919": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse", ), ".group_0920": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse", ), ".group_0921": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse", ), ".group_0922": ( "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", + ), + ".group_0923": ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", + ), + ".group_0924": ( + "OrgsOrgActionsRunnersGetResponse200Type", + "OrgsOrgActionsRunnersGetResponse200TypeForResponse", + ), + ".group_0925": ( + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyType", + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse", + ), + ".group_0926": ( + "OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type", + "OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse", + ), + ".group_0927": ( + "OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type", + "OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse", + ), + ".group_0928": ( + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", + ), + ".group_0929": ( + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", + ), + ".group_0930": ( + "OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type", + "OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse", ), - ".group_0923": ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType",), - ".group_0924": ("OrgsOrgActionsRunnersGetResponse200Type",), - ".group_0925": ("OrgsOrgActionsRunnersGenerateJitconfigPostBodyType",), - ".group_0926": ("OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type",), - ".group_0927": ("OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type",), - ".group_0928": ("OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType",), - ".group_0929": ("OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType",), - ".group_0930": ("OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type",), ".group_0931": ( "OrgsOrgActionsSecretsGetResponse200Type", + "OrgsOrgActionsSecretsGetResponse200TypeForResponse", "OrganizationActionsSecretType", + "OrganizationActionsSecretTypeForResponse", + ), + ".group_0932": ( + "OrgsOrgActionsSecretsSecretNamePutBodyType", + "OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse", ), - ".group_0932": ("OrgsOrgActionsSecretsSecretNamePutBodyType",), ".group_0933": ( "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_0934": ( + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse", ), - ".group_0934": ("OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType",), ".group_0935": ( "OrgsOrgActionsVariablesGetResponse200Type", + "OrgsOrgActionsVariablesGetResponse200TypeForResponse", "OrganizationActionsVariableType", + "OrganizationActionsVariableTypeForResponse", + ), + ".group_0936": ( + "OrgsOrgActionsVariablesPostBodyType", + "OrgsOrgActionsVariablesPostBodyTypeForResponse", + ), + ".group_0937": ( + "OrgsOrgActionsVariablesNamePatchBodyType", + "OrgsOrgActionsVariablesNamePatchBodyTypeForResponse", + ), + ".group_0938": ( + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type", + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_0939": ( + "OrgsOrgActionsVariablesNameRepositoriesPutBodyType", + "OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse", + ), + ".group_0940": ( + "OrgsOrgArtifactsMetadataStorageRecordPostBodyType", + "OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse", ), - ".group_0936": ("OrgsOrgActionsVariablesPostBodyType",), - ".group_0937": ("OrgsOrgActionsVariablesNamePatchBodyType",), - ".group_0938": ("OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type",), - ".group_0939": ("OrgsOrgActionsVariablesNameRepositoriesPutBodyType",), - ".group_0940": ("OrgsOrgArtifactsMetadataStorageRecordPostBodyType",), ".group_0941": ( "OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse", "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse", ), ".group_0942": ( "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse", "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse", + ), + ".group_0943": ( + "OrgsOrgAttestationsBulkListPostBodyType", + "OrgsOrgAttestationsBulkListPostBodyTypeForResponse", ), - ".group_0943": ("OrgsOrgAttestationsBulkListPostBodyType",), ".group_0944": ( "OrgsOrgAttestationsBulkListPostResponse200Type", + "OrgsOrgAttestationsBulkListPostResponse200TypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType", + "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", + ), + ".group_0945": ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse", + ), + ".group_0946": ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse", + ), + ".group_0947": ( + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsType", + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse", ), - ".group_0945": ("OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type",), - ".group_0946": ("OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type",), - ".group_0947": ("OrgsOrgAttestationsRepositoriesGetResponse200ItemsType",), ".group_0948": ( "OrgsOrgAttestationsSubjectDigestGetResponse200Type", + "OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_0949": ( + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType", + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse", + ), + ".group_0950": ( + "OrgsOrgCampaignsPostBodyOneof0Type", + "OrgsOrgCampaignsPostBodyOneof0TypeForResponse", + ), + ".group_0951": ( + "OrgsOrgCampaignsPostBodyOneof1Type", + "OrgsOrgCampaignsPostBodyOneof1TypeForResponse", + ), + ".group_0952": ( + "OrgsOrgCampaignsCampaignNumberPatchBodyType", + "OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse", ), - ".group_0949": ("OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType",), - ".group_0950": ("OrgsOrgCampaignsPostBodyOneof0Type",), - ".group_0951": ("OrgsOrgCampaignsPostBodyOneof1Type",), - ".group_0952": ("OrgsOrgCampaignsCampaignNumberPatchBodyType",), ".group_0953": ( "OrgsOrgCodeSecurityConfigurationsPostBodyType", + "OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", + ), + ".group_0954": ( + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType", + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse", ), - ".group_0954": ("OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType",), ".group_0955": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", ), ".group_0956": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ), ".group_0957": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ), ".group_0958": ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", + ), + ".group_0959": ( + "OrgsOrgCodespacesGetResponse200Type", + "OrgsOrgCodespacesGetResponse200TypeForResponse", + ), + ".group_0960": ( + "OrgsOrgCodespacesAccessPutBodyType", + "OrgsOrgCodespacesAccessPutBodyTypeForResponse", + ), + ".group_0961": ( + "OrgsOrgCodespacesAccessSelectedUsersPostBodyType", + "OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse", + ), + ".group_0962": ( + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType", + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse", ), - ".group_0959": ("OrgsOrgCodespacesGetResponse200Type",), - ".group_0960": ("OrgsOrgCodespacesAccessPutBodyType",), - ".group_0961": ("OrgsOrgCodespacesAccessSelectedUsersPostBodyType",), - ".group_0962": ("OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType",), ".group_0963": ( "OrgsOrgCodespacesSecretsGetResponse200Type", + "OrgsOrgCodespacesSecretsGetResponse200TypeForResponse", "CodespacesOrgSecretType", + "CodespacesOrgSecretTypeForResponse", + ), + ".group_0964": ( + "OrgsOrgCodespacesSecretsSecretNamePutBodyType", + "OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse", ), - ".group_0964": ("OrgsOrgCodespacesSecretsSecretNamePutBodyType",), ".group_0965": ( "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_0966": ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", + ), + ".group_0967": ( + "OrgsOrgCopilotBillingSelectedTeamsPostBodyType", + "OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse", + ), + ".group_0968": ( + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type", + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse", + ), + ".group_0969": ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType", + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse", + ), + ".group_0970": ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse", + ), + ".group_0971": ( + "OrgsOrgCopilotBillingSelectedUsersPostBodyType", + "OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse", + ), + ".group_0972": ( + "OrgsOrgCopilotBillingSelectedUsersPostResponse201Type", + "OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse", + ), + ".group_0973": ( + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyType", + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse", + ), + ".group_0974": ( + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", ), - ".group_0966": ("OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType",), - ".group_0967": ("OrgsOrgCopilotBillingSelectedTeamsPostBodyType",), - ".group_0968": ("OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type",), - ".group_0969": ("OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType",), - ".group_0970": ("OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type",), - ".group_0971": ("OrgsOrgCopilotBillingSelectedUsersPostBodyType",), - ".group_0972": ("OrgsOrgCopilotBillingSelectedUsersPostResponse201Type",), - ".group_0973": ("OrgsOrgCopilotBillingSelectedUsersDeleteBodyType",), - ".group_0974": ("OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type",), ".group_0975": ( "OrgsOrgDependabotSecretsGetResponse200Type", + "OrgsOrgDependabotSecretsGetResponse200TypeForResponse", "OrganizationDependabotSecretType", + "OrganizationDependabotSecretTypeForResponse", + ), + ".group_0976": ( + "OrgsOrgDependabotSecretsSecretNamePutBodyType", + "OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse", ), - ".group_0976": ("OrgsOrgDependabotSecretsSecretNamePutBodyType",), ".group_0977": ( "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_0978": ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse", ), - ".group_0978": ("OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType",), ".group_0979": ( "OrgsOrgHooksPostBodyType", + "OrgsOrgHooksPostBodyTypeForResponse", "OrgsOrgHooksPostBodyPropConfigType", + "OrgsOrgHooksPostBodyPropConfigTypeForResponse", ), ".group_0980": ( "OrgsOrgHooksHookIdPatchBodyType", + "OrgsOrgHooksHookIdPatchBodyTypeForResponse", "OrgsOrgHooksHookIdPatchBodyPropConfigType", + "OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse", + ), + ".group_0981": ( + "OrgsOrgHooksHookIdConfigPatchBodyType", + "OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse", + ), + ".group_0982": ( + "OrgsOrgInstallationsGetResponse200Type", + "OrgsOrgInstallationsGetResponse200TypeForResponse", + ), + ".group_0983": ( + "OrgsOrgInteractionLimitsGetResponse200Anyof1Type", + "OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_0984": ( + "OrgsOrgInvitationsPostBodyType", + "OrgsOrgInvitationsPostBodyTypeForResponse", + ), + ".group_0985": ( + "OrgsOrgMembersUsernameCodespacesGetResponse200Type", + "OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse", + ), + ".group_0986": ( + "OrgsOrgMembershipsUsernamePutBodyType", + "OrgsOrgMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_0987": ( + "OrgsOrgMigrationsPostBodyType", + "OrgsOrgMigrationsPostBodyTypeForResponse", + ), + ".group_0988": ( + "OrgsOrgOutsideCollaboratorsUsernamePutBodyType", + "OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_0989": ( + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type", + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse", + ), + ".group_0990": ( + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type", + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse", + ), + ".group_0991": ( + "OrgsOrgPersonalAccessTokenRequestsPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse", + ), + ".group_0992": ( + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse", + ), + ".group_0993": ( + "OrgsOrgPersonalAccessTokensPostBodyType", + "OrgsOrgPersonalAccessTokensPostBodyTypeForResponse", + ), + ".group_0994": ( + "OrgsOrgPersonalAccessTokensPatIdPostBodyType", + "OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse", ), - ".group_0981": ("OrgsOrgHooksHookIdConfigPatchBodyType",), - ".group_0982": ("OrgsOrgInstallationsGetResponse200Type",), - ".group_0983": ("OrgsOrgInteractionLimitsGetResponse200Anyof1Type",), - ".group_0984": ("OrgsOrgInvitationsPostBodyType",), - ".group_0985": ("OrgsOrgMembersUsernameCodespacesGetResponse200Type",), - ".group_0986": ("OrgsOrgMembershipsUsernamePutBodyType",), - ".group_0987": ("OrgsOrgMigrationsPostBodyType",), - ".group_0988": ("OrgsOrgOutsideCollaboratorsUsernamePutBodyType",), - ".group_0989": ("OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type",), - ".group_0990": ("OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type",), - ".group_0991": ("OrgsOrgPersonalAccessTokenRequestsPostBodyType",), - ".group_0992": ("OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType",), - ".group_0993": ("OrgsOrgPersonalAccessTokensPostBodyType",), - ".group_0994": ("OrgsOrgPersonalAccessTokensPatIdPostBodyType",), ".group_0995": ( "OrgsOrgPrivateRegistriesGetResponse200Type", + "OrgsOrgPrivateRegistriesGetResponse200TypeForResponse", "OrgPrivateRegistryConfigurationType", + "OrgPrivateRegistryConfigurationTypeForResponse", + ), + ".group_0996": ( + "OrgsOrgPrivateRegistriesPostBodyType", + "OrgsOrgPrivateRegistriesPostBodyTypeForResponse", + ), + ".group_0997": ( + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type", + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse", + ), + ".group_0998": ( + "OrgsOrgPrivateRegistriesSecretNamePatchBodyType", + "OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse", + ), + ".group_0999": ( + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse", + ), + ".group_1000": ( + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse", ), - ".group_0996": ("OrgsOrgPrivateRegistriesPostBodyType",), - ".group_0997": ("OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type",), - ".group_0998": ("OrgsOrgPrivateRegistriesSecretNamePatchBodyType",), - ".group_0999": ("OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType",), - ".group_1000": ("OrgsOrgProjectsV2ProjectNumberItemsPostBodyType",), ".group_1001": ( "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", + ), + ".group_1002": ( + "OrgsOrgPropertiesSchemaPatchBodyType", + "OrgsOrgPropertiesSchemaPatchBodyTypeForResponse", + ), + ".group_1003": ( + "OrgsOrgPropertiesValuesPatchBodyType", + "OrgsOrgPropertiesValuesPatchBodyTypeForResponse", ), - ".group_1002": ("OrgsOrgPropertiesSchemaPatchBodyType",), - ".group_1003": ("OrgsOrgPropertiesValuesPatchBodyType",), ".group_1004": ( "OrgsOrgReposPostBodyType", + "OrgsOrgReposPostBodyTypeForResponse", "OrgsOrgReposPostBodyPropCustomPropertiesType", + "OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse", + ), + ".group_1005": ( + "OrgsOrgRulesetsPostBodyType", + "OrgsOrgRulesetsPostBodyTypeForResponse", + ), + ".group_1006": ( + "OrgsOrgRulesetsRulesetIdPutBodyType", + "OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse", ), - ".group_1005": ("OrgsOrgRulesetsPostBodyType",), - ".group_1006": ("OrgsOrgRulesetsRulesetIdPutBodyType",), ".group_1007": ( "OrgsOrgSecretScanningPatternConfigurationsPatchBodyType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", ), ".group_1008": ( "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type", + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", + ), + ".group_1009": ( + "OrgsOrgSettingsImmutableReleasesPutBodyType", + "OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse", ), - ".group_1009": ("OrgsOrgSettingsImmutableReleasesPutBodyType",), ".group_1010": ( "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type", + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse", + ), + ".group_1011": ( + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType", + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse", ), - ".group_1011": ("OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType",), ".group_1012": ( "OrgsOrgSettingsNetworkConfigurationsGetResponse200Type", + "OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse", "NetworkConfigurationType", + "NetworkConfigurationTypeForResponse", + ), + ".group_1013": ( + "OrgsOrgSettingsNetworkConfigurationsPostBodyType", + "OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse", ), - ".group_1013": ("OrgsOrgSettingsNetworkConfigurationsPostBodyType",), ".group_1014": ( "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", + ), + ".group_1015": ( + "OrgsOrgTeamsPostBodyType", + "OrgsOrgTeamsPostBodyTypeForResponse", + ), + ".group_1016": ( + "OrgsOrgTeamsTeamSlugPatchBodyType", + "OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse", + ), + ".group_1017": ( + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse", ), - ".group_1015": ("OrgsOrgTeamsPostBodyType",), - ".group_1016": ("OrgsOrgTeamsTeamSlugPatchBodyType",), - ".group_1017": ("OrgsOrgTeamsTeamSlugDiscussionsPostBodyType",), ".group_1018": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse", ), ".group_1019": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", ), ".group_1020": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ), ".group_1021": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ), ".group_1022": ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", + ), + ".group_1023": ( + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType", + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_1024": ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse", + ), + ".group_1025": ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse", + ), + ".group_1026": ( + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType", + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse", + ), + ".group_1027": ( + "OrgsOrgSecurityProductEnablementPostBodyType", + "OrgsOrgSecurityProductEnablementPostBodyTypeForResponse", + ), + ".group_1028": ( + "ProjectsColumnsColumnIdPatchBodyType", + "ProjectsColumnsColumnIdPatchBodyTypeForResponse", + ), + ".group_1029": ( + "ProjectsColumnsColumnIdMovesPostBodyType", + "ProjectsColumnsColumnIdMovesPostBodyTypeForResponse", + ), + ".group_1030": ( + "ProjectsColumnsColumnIdMovesPostResponse201Type", + "ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse", + ), + ".group_1031": ( + "ProjectsProjectIdCollaboratorsUsernamePutBodyType", + "ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_1032": ( + "ReposOwnerRepoDeleteResponse403Type", + "ReposOwnerRepoDeleteResponse403TypeForResponse", ), - ".group_1023": ("OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType",), - ".group_1024": ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType",), - ".group_1025": ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type",), - ".group_1026": ("OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType",), - ".group_1027": ("OrgsOrgSecurityProductEnablementPostBodyType",), - ".group_1028": ("ProjectsColumnsColumnIdPatchBodyType",), - ".group_1029": ("ProjectsColumnsColumnIdMovesPostBodyType",), - ".group_1030": ("ProjectsColumnsColumnIdMovesPostResponse201Type",), - ".group_1031": ("ProjectsProjectIdCollaboratorsUsernamePutBodyType",), - ".group_1032": ("ReposOwnerRepoDeleteResponse403Type",), ".group_1033": ( "ReposOwnerRepoPatchBodyType", + "ReposOwnerRepoPatchBodyTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", + ), + ".group_1034": ( + "ReposOwnerRepoActionsArtifactsGetResponse200Type", + "ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse", + ), + ".group_1035": ( + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyType", + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse", + ), + ".group_1036": ( + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyType", + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse", + ), + ".group_1037": ( + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type", + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse", ), - ".group_1034": ("ReposOwnerRepoActionsArtifactsGetResponse200Type",), - ".group_1035": ("ReposOwnerRepoActionsJobsJobIdRerunPostBodyType",), - ".group_1036": ("ReposOwnerRepoActionsOidcCustomizationSubPutBodyType",), - ".group_1037": ("ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type",), ".group_1038": ( "ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type", + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse", + ), + ".group_1039": ( + "ReposOwnerRepoActionsPermissionsPutBodyType", + "ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse", + ), + ".group_1040": ( + "ReposOwnerRepoActionsRunnersGetResponse200Type", + "ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse", + ), + ".group_1041": ( + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType", + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse", + ), + ".group_1042": ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", + ), + ".group_1043": ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", + ), + ".group_1044": ( + "ReposOwnerRepoActionsRunsGetResponse200Type", + "ReposOwnerRepoActionsRunsGetResponse200TypeForResponse", + ), + ".group_1045": ( + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse", ), - ".group_1039": ("ReposOwnerRepoActionsPermissionsPutBodyType",), - ".group_1040": ("ReposOwnerRepoActionsRunnersGetResponse200Type",), - ".group_1041": ("ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType",), - ".group_1042": ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType",), - ".group_1043": ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType",), - ".group_1044": ("ReposOwnerRepoActionsRunsGetResponse200Type",), - ".group_1045": ("ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type",), ".group_1046": ( "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse", + ), + ".group_1047": ( + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse", ), - ".group_1047": ("ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type",), ".group_1048": ( "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse", + ), + ".group_1049": ( + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse", + ), + ".group_1050": ( + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse", + ), + ".group_1051": ( + "ReposOwnerRepoActionsSecretsGetResponse200Type", + "ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse", + ), + ".group_1052": ( + "ReposOwnerRepoActionsSecretsSecretNamePutBodyType", + "ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1053": ( + "ReposOwnerRepoActionsVariablesGetResponse200Type", + "ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse", + ), + ".group_1054": ( + "ReposOwnerRepoActionsVariablesPostBodyType", + "ReposOwnerRepoActionsVariablesPostBodyTypeForResponse", + ), + ".group_1055": ( + "ReposOwnerRepoActionsVariablesNamePatchBodyType", + "ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse", ), - ".group_1049": ("ReposOwnerRepoActionsRunsRunIdRerunPostBodyType",), - ".group_1050": ("ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType",), - ".group_1051": ("ReposOwnerRepoActionsSecretsGetResponse200Type",), - ".group_1052": ("ReposOwnerRepoActionsSecretsSecretNamePutBodyType",), - ".group_1053": ("ReposOwnerRepoActionsVariablesGetResponse200Type",), - ".group_1054": ("ReposOwnerRepoActionsVariablesPostBodyType",), - ".group_1055": ("ReposOwnerRepoActionsVariablesNamePatchBodyType",), ".group_1056": ( "ReposOwnerRepoActionsWorkflowsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse", "WorkflowType", + "WorkflowTypeForResponse", ), ".group_1057": ( "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse", "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse", ), ".group_1058": ( "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse", ), ".group_1059": ( "ReposOwnerRepoAttestationsPostBodyType", + "ReposOwnerRepoAttestationsPostBodyTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundleType", + "ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1060": ( + "ReposOwnerRepoAttestationsPostResponse201Type", + "ReposOwnerRepoAttestationsPostResponse201TypeForResponse", ), - ".group_1060": ("ReposOwnerRepoAttestationsPostResponse201Type",), ".group_1061": ( "ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1062": ( + "ReposOwnerRepoAutolinksPostBodyType", + "ReposOwnerRepoAutolinksPostBodyTypeForResponse", ), - ".group_1062": ("ReposOwnerRepoAutolinksPostBodyType",), ".group_1063": ( "ReposOwnerRepoBranchesBranchProtectionPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse", ), ".group_1064": ( "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse", ), ".group_1065": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse", ), ".group_1066": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse", ), ".group_1067": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse", ), ".group_1068": ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse", ), ".group_1069": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse", ), ".group_1070": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse", ), ".group_1071": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse", ), ".group_1072": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse", ), ".group_1073": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse", ), ".group_1074": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse", ), ".group_1075": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse", ), ".group_1076": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse", ), ".group_1077": ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse", + ), + ".group_1078": ( + "ReposOwnerRepoBranchesBranchRenamePostBodyType", + "ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse", ), - ".group_1078": ("ReposOwnerRepoBranchesBranchRenamePostBodyType",), ".group_1079": ( "ReposOwnerRepoCheckRunsPostBodyPropOutputType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse", + ), + ".group_1080": ( + "ReposOwnerRepoCheckRunsPostBodyOneof0Type", + "ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse", + ), + ".group_1081": ( + "ReposOwnerRepoCheckRunsPostBodyOneof1Type", + "ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse", ), - ".group_1080": ("ReposOwnerRepoCheckRunsPostBodyOneof0Type",), - ".group_1081": ("ReposOwnerRepoCheckRunsPostBodyOneof1Type",), ".group_1082": ( "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse", + ), + ".group_1083": ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse", + ), + ".group_1084": ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse", + ), + ".group_1085": ( + "ReposOwnerRepoCheckSuitesPostBodyType", + "ReposOwnerRepoCheckSuitesPostBodyTypeForResponse", ), - ".group_1083": ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type",), - ".group_1084": ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type",), - ".group_1085": ("ReposOwnerRepoCheckSuitesPostBodyType",), ".group_1086": ( "ReposOwnerRepoCheckSuitesPreferencesPatchBodyType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse", "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse", ), ".group_1087": ( "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type", + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse", + ), + ".group_1088": ( + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse", ), - ".group_1088": ("ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType",), ".group_1089": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse", ), ".group_1090": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse", ), ".group_1091": ( "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse", + ), + ".group_1092": ( + "ReposOwnerRepoCodeScanningSarifsPostBodyType", + "ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse", + ), + ".group_1093": ( + "ReposOwnerRepoCodespacesGetResponse200Type", + "ReposOwnerRepoCodespacesGetResponse200TypeForResponse", + ), + ".group_1094": ( + "ReposOwnerRepoCodespacesPostBodyType", + "ReposOwnerRepoCodespacesPostBodyTypeForResponse", ), - ".group_1092": ("ReposOwnerRepoCodeScanningSarifsPostBodyType",), - ".group_1093": ("ReposOwnerRepoCodespacesGetResponse200Type",), - ".group_1094": ("ReposOwnerRepoCodespacesPostBodyType",), ".group_1095": ( "ReposOwnerRepoCodespacesDevcontainersGetResponse200Type", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse", "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse", + ), + ".group_1096": ( + "ReposOwnerRepoCodespacesMachinesGetResponse200Type", + "ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse", ), - ".group_1096": ("ReposOwnerRepoCodespacesMachinesGetResponse200Type",), ".group_1097": ( "ReposOwnerRepoCodespacesNewGetResponse200Type", + "ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse", "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType", + "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse", ), ".group_1098": ( "ReposOwnerRepoCodespacesSecretsGetResponse200Type", + "ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse", "RepoCodespacesSecretType", + "RepoCodespacesSecretTypeForResponse", + ), + ".group_1099": ( + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType", + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1100": ( + "ReposOwnerRepoCollaboratorsUsernamePutBodyType", + "ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse", + ), + ".group_1101": ( + "ReposOwnerRepoCommentsCommentIdPatchBodyType", + "ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1102": ( + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse", + ), + ".group_1103": ( + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyType", + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse", + ), + ".group_1104": ( + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse", ), - ".group_1099": ("ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType",), - ".group_1100": ("ReposOwnerRepoCollaboratorsUsernamePutBodyType",), - ".group_1101": ("ReposOwnerRepoCommentsCommentIdPatchBodyType",), - ".group_1102": ("ReposOwnerRepoCommentsCommentIdReactionsPostBodyType",), - ".group_1103": ("ReposOwnerRepoCommitsCommitShaCommentsPostBodyType",), - ".group_1104": ("ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type",), ".group_1105": ( "ReposOwnerRepoContentsPathPutBodyType", + "ReposOwnerRepoContentsPathPutBodyTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropCommitterType", + "ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropAuthorType", + "ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse", ), ".group_1106": ( "ReposOwnerRepoContentsPathDeleteBodyType", + "ReposOwnerRepoContentsPathDeleteBodyTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropCommitterType", + "ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropAuthorType", + "ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse", + ), + ".group_1107": ( + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse", ), - ".group_1107": ("ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType",), ".group_1108": ( "ReposOwnerRepoDependabotSecretsGetResponse200Type", + "ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse", "DependabotSecretType", + "DependabotSecretTypeForResponse", + ), + ".group_1109": ( + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyType", + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse", + ), + ".group_1110": ( + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type", + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse", ), - ".group_1109": ("ReposOwnerRepoDependabotSecretsSecretNamePutBodyType",), - ".group_1110": ("ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type",), ".group_1111": ( "ReposOwnerRepoDeploymentsPostBodyType", + "ReposOwnerRepoDeploymentsPostBodyTypeForResponse", "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type", + "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse", + ), + ".group_1112": ( + "ReposOwnerRepoDeploymentsPostResponse202Type", + "ReposOwnerRepoDeploymentsPostResponse202TypeForResponse", + ), + ".group_1113": ( + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType", + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse", ), - ".group_1112": ("ReposOwnerRepoDeploymentsPostResponse202Type",), - ".group_1113": ("ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType",), ".group_1114": ( "ReposOwnerRepoDispatchesPostBodyType", + "ReposOwnerRepoDispatchesPostBodyTypeForResponse", "ReposOwnerRepoDispatchesPostBodyPropClientPayloadType", + "ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse", ), ".group_1115": ( "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse", ), ".group_1116": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse", "DeploymentBranchPolicyType", + "DeploymentBranchPolicyTypeForResponse", ), ".group_1117": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse", ), ".group_1118": ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse", ), ".group_1119": ( "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse", ), ".group_1120": ( "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse", ), ".group_1121": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse", ), ".group_1122": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse", ), ".group_1123": ( "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse", + ), + ".group_1124": ( + "ReposOwnerRepoForksPostBodyType", + "ReposOwnerRepoForksPostBodyTypeForResponse", + ), + ".group_1125": ( + "ReposOwnerRepoGitBlobsPostBodyType", + "ReposOwnerRepoGitBlobsPostBodyTypeForResponse", ), - ".group_1124": ("ReposOwnerRepoForksPostBodyType",), - ".group_1125": ("ReposOwnerRepoGitBlobsPostBodyType",), ".group_1126": ( "ReposOwnerRepoGitCommitsPostBodyType", + "ReposOwnerRepoGitCommitsPostBodyTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropAuthorType", + "ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropCommitterType", + "ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse", + ), + ".group_1127": ( + "ReposOwnerRepoGitRefsPostBodyType", + "ReposOwnerRepoGitRefsPostBodyTypeForResponse", + ), + ".group_1128": ( + "ReposOwnerRepoGitRefsRefPatchBodyType", + "ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse", ), - ".group_1127": ("ReposOwnerRepoGitRefsPostBodyType",), - ".group_1128": ("ReposOwnerRepoGitRefsRefPatchBodyType",), ".group_1129": ( "ReposOwnerRepoGitTagsPostBodyType", + "ReposOwnerRepoGitTagsPostBodyTypeForResponse", "ReposOwnerRepoGitTagsPostBodyPropTaggerType", + "ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse", ), ".group_1130": ( "ReposOwnerRepoGitTreesPostBodyType", + "ReposOwnerRepoGitTreesPostBodyTypeForResponse", "ReposOwnerRepoGitTreesPostBodyPropTreeItemsType", + "ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse", ), ".group_1131": ( "ReposOwnerRepoHooksPostBodyType", + "ReposOwnerRepoHooksPostBodyTypeForResponse", "ReposOwnerRepoHooksPostBodyPropConfigType", + "ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse", + ), + ".group_1132": ( + "ReposOwnerRepoHooksHookIdPatchBodyType", + "ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse", + ), + ".group_1133": ( + "ReposOwnerRepoHooksHookIdConfigPatchBodyType", + "ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse", + ), + ".group_1134": ( + "ReposOwnerRepoImportPutBodyType", + "ReposOwnerRepoImportPutBodyTypeForResponse", + ), + ".group_1135": ( + "ReposOwnerRepoImportPatchBodyType", + "ReposOwnerRepoImportPatchBodyTypeForResponse", + ), + ".group_1136": ( + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType", + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse", + ), + ".group_1137": ( + "ReposOwnerRepoImportLfsPatchBodyType", + "ReposOwnerRepoImportLfsPatchBodyTypeForResponse", + ), + ".group_1138": ( + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type", + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_1139": ( + "ReposOwnerRepoInvitationsInvitationIdPatchBodyType", + "ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse", ), - ".group_1132": ("ReposOwnerRepoHooksHookIdPatchBodyType",), - ".group_1133": ("ReposOwnerRepoHooksHookIdConfigPatchBodyType",), - ".group_1134": ("ReposOwnerRepoImportPutBodyType",), - ".group_1135": ("ReposOwnerRepoImportPatchBodyType",), - ".group_1136": ("ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType",), - ".group_1137": ("ReposOwnerRepoImportLfsPatchBodyType",), - ".group_1138": ("ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type",), - ".group_1139": ("ReposOwnerRepoInvitationsInvitationIdPatchBodyType",), ".group_1140": ( "ReposOwnerRepoIssuesPostBodyType", + "ReposOwnerRepoIssuesPostBodyTypeForResponse", "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse", + ), + ".group_1141": ( + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1142": ( + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse", ), - ".group_1141": ("ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType",), - ".group_1142": ("ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType",), ".group_1143": ( "ReposOwnerRepoIssuesIssueNumberPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse", "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse", + ), + ".group_1144": ( + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse", + ), + ".group_1145": ( + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse", + ), + ".group_1146": ( + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse", ), - ".group_1144": ("ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType",), - ".group_1145": ("ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType",), - ".group_1146": ("ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType",), ".group_1147": ( "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType", + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse", + ), + ".group_1148": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse", ), - ".group_1148": ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type",), ".group_1149": ( "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse", + ), + ".group_1150": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse", + ), + ".group_1151": ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse", ), - ".group_1150": ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType",), - ".group_1151": ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type",), ".group_1152": ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse", ), ".group_1153": ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse", + ), + ".group_1154": ( + "ReposOwnerRepoIssuesIssueNumberLockPutBodyType", + "ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse", + ), + ".group_1155": ( + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse", + ), + ".group_1156": ( + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse", + ), + ".group_1157": ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse", ), - ".group_1154": ("ReposOwnerRepoIssuesIssueNumberLockPutBodyType",), - ".group_1155": ("ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType",), - ".group_1156": ("ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType",), - ".group_1157": ("ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType",), ".group_1158": ( "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse", + ), + ".group_1159": ( + "ReposOwnerRepoKeysPostBodyType", + "ReposOwnerRepoKeysPostBodyTypeForResponse", + ), + ".group_1160": ( + "ReposOwnerRepoLabelsPostBodyType", + "ReposOwnerRepoLabelsPostBodyTypeForResponse", + ), + ".group_1161": ( + "ReposOwnerRepoLabelsNamePatchBodyType", + "ReposOwnerRepoLabelsNamePatchBodyTypeForResponse", + ), + ".group_1162": ( + "ReposOwnerRepoMergeUpstreamPostBodyType", + "ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse", + ), + ".group_1163": ( + "ReposOwnerRepoMergesPostBodyType", + "ReposOwnerRepoMergesPostBodyTypeForResponse", + ), + ".group_1164": ( + "ReposOwnerRepoMilestonesPostBodyType", + "ReposOwnerRepoMilestonesPostBodyTypeForResponse", + ), + ".group_1165": ( + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType", + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse", + ), + ".group_1166": ( + "ReposOwnerRepoNotificationsPutBodyType", + "ReposOwnerRepoNotificationsPutBodyTypeForResponse", + ), + ".group_1167": ( + "ReposOwnerRepoNotificationsPutResponse202Type", + "ReposOwnerRepoNotificationsPutResponse202TypeForResponse", + ), + ".group_1168": ( + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type", + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse", + ), + ".group_1169": ( + "ReposOwnerRepoPagesPutBodyAnyof0Type", + "ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse", + ), + ".group_1170": ( + "ReposOwnerRepoPagesPutBodyAnyof1Type", + "ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse", + ), + ".group_1171": ( + "ReposOwnerRepoPagesPutBodyAnyof2Type", + "ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse", + ), + ".group_1172": ( + "ReposOwnerRepoPagesPutBodyAnyof3Type", + "ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse", + ), + ".group_1173": ( + "ReposOwnerRepoPagesPutBodyAnyof4Type", + "ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse", + ), + ".group_1174": ( + "ReposOwnerRepoPagesPostBodyPropSourceType", + "ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse", + ), + ".group_1175": ( + "ReposOwnerRepoPagesPostBodyAnyof0Type", + "ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse", + ), + ".group_1176": ( + "ReposOwnerRepoPagesPostBodyAnyof1Type", + "ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse", + ), + ".group_1177": ( + "ReposOwnerRepoPagesDeploymentsPostBodyType", + "ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse", ), - ".group_1159": ("ReposOwnerRepoKeysPostBodyType",), - ".group_1160": ("ReposOwnerRepoLabelsPostBodyType",), - ".group_1161": ("ReposOwnerRepoLabelsNamePatchBodyType",), - ".group_1162": ("ReposOwnerRepoMergeUpstreamPostBodyType",), - ".group_1163": ("ReposOwnerRepoMergesPostBodyType",), - ".group_1164": ("ReposOwnerRepoMilestonesPostBodyType",), - ".group_1165": ("ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType",), - ".group_1166": ("ReposOwnerRepoNotificationsPutBodyType",), - ".group_1167": ("ReposOwnerRepoNotificationsPutResponse202Type",), - ".group_1168": ("ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type",), - ".group_1169": ("ReposOwnerRepoPagesPutBodyAnyof0Type",), - ".group_1170": ("ReposOwnerRepoPagesPutBodyAnyof1Type",), - ".group_1171": ("ReposOwnerRepoPagesPutBodyAnyof2Type",), - ".group_1172": ("ReposOwnerRepoPagesPutBodyAnyof3Type",), - ".group_1173": ("ReposOwnerRepoPagesPutBodyAnyof4Type",), - ".group_1174": ("ReposOwnerRepoPagesPostBodyPropSourceType",), - ".group_1175": ("ReposOwnerRepoPagesPostBodyAnyof0Type",), - ".group_1176": ("ReposOwnerRepoPagesPostBodyAnyof1Type",), - ".group_1177": ("ReposOwnerRepoPagesDeploymentsPostBodyType",), ".group_1178": ( "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type", + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse", + ), + ".group_1179": ( + "ReposOwnerRepoPropertiesValuesPatchBodyType", + "ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse", + ), + ".group_1180": ( + "ReposOwnerRepoPullsPostBodyType", + "ReposOwnerRepoPullsPostBodyTypeForResponse", + ), + ".group_1181": ( + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyType", + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse", + ), + ".group_1182": ( + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse", + ), + ".group_1183": ( + "ReposOwnerRepoPullsPullNumberPatchBodyType", + "ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse", + ), + ".group_1184": ( + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyType", + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse", + ), + ".group_1185": ( + "ReposOwnerRepoPullsPullNumberCommentsPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse", ), - ".group_1179": ("ReposOwnerRepoPropertiesValuesPatchBodyType",), - ".group_1180": ("ReposOwnerRepoPullsPostBodyType",), - ".group_1181": ("ReposOwnerRepoPullsCommentsCommentIdPatchBodyType",), - ".group_1182": ("ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType",), - ".group_1183": ("ReposOwnerRepoPullsPullNumberPatchBodyType",), - ".group_1184": ("ReposOwnerRepoPullsPullNumberCodespacesPostBodyType",), - ".group_1185": ("ReposOwnerRepoPullsPullNumberCommentsPostBodyType",), ".group_1186": ( "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse", + ), + ".group_1187": ( + "ReposOwnerRepoPullsPullNumberMergePutBodyType", + "ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse", + ), + ".group_1188": ( + "ReposOwnerRepoPullsPullNumberMergePutResponse405Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse", + ), + ".group_1189": ( + "ReposOwnerRepoPullsPullNumberMergePutResponse409Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse", ), - ".group_1187": ("ReposOwnerRepoPullsPullNumberMergePutBodyType",), - ".group_1188": ("ReposOwnerRepoPullsPullNumberMergePutResponse405Type",), - ".group_1189": ("ReposOwnerRepoPullsPullNumberMergePutResponse409Type",), ".group_1190": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse", ), ".group_1191": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse", ), ".group_1192": ( "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType", + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse", ), ".group_1193": ( "ReposOwnerRepoPullsPullNumberReviewsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse", "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse", + ), + ".group_1194": ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse", ), - ".group_1194": ("ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType",), ".group_1195": ( "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse", ), ".group_1196": ( "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse", + ), + ".group_1197": ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse", + ), + ".group_1198": ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse", + ), + ".group_1199": ( + "ReposOwnerRepoReleasesPostBodyType", + "ReposOwnerRepoReleasesPostBodyTypeForResponse", + ), + ".group_1200": ( + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType", + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse", + ), + ".group_1201": ( + "ReposOwnerRepoReleasesGenerateNotesPostBodyType", + "ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse", + ), + ".group_1202": ( + "ReposOwnerRepoReleasesReleaseIdPatchBodyType", + "ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse", + ), + ".group_1203": ( + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType", + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse", + ), + ".group_1204": ( + "ReposOwnerRepoRulesetsPostBodyType", + "ReposOwnerRepoRulesetsPostBodyTypeForResponse", + ), + ".group_1205": ( + "ReposOwnerRepoRulesetsRulesetIdPutBodyType", + "ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse", ), - ".group_1197": ("ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType",), - ".group_1198": ("ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type",), - ".group_1199": ("ReposOwnerRepoReleasesPostBodyType",), - ".group_1200": ("ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType",), - ".group_1201": ("ReposOwnerRepoReleasesGenerateNotesPostBodyType",), - ".group_1202": ("ReposOwnerRepoReleasesReleaseIdPatchBodyType",), - ".group_1203": ("ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType",), - ".group_1204": ("ReposOwnerRepoRulesetsPostBodyType",), - ".group_1205": ("ReposOwnerRepoRulesetsRulesetIdPutBodyType",), ".group_1206": ( "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type", + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse", ), ".group_1207": ( "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType", + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse", + ), + ".group_1208": ( + "ReposOwnerRepoStatusesShaPostBodyType", + "ReposOwnerRepoStatusesShaPostBodyTypeForResponse", + ), + ".group_1209": ( + "ReposOwnerRepoSubscriptionPutBodyType", + "ReposOwnerRepoSubscriptionPutBodyTypeForResponse", + ), + ".group_1210": ( + "ReposOwnerRepoTagsProtectionPostBodyType", + "ReposOwnerRepoTagsProtectionPostBodyTypeForResponse", + ), + ".group_1211": ( + "ReposOwnerRepoTopicsPutBodyType", + "ReposOwnerRepoTopicsPutBodyTypeForResponse", + ), + ".group_1212": ( + "ReposOwnerRepoTransferPostBodyType", + "ReposOwnerRepoTransferPostBodyTypeForResponse", + ), + ".group_1213": ( + "ReposTemplateOwnerTemplateRepoGeneratePostBodyType", + "ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse", + ), + ".group_1214": ( + "TeamsTeamIdPatchBodyType", + "TeamsTeamIdPatchBodyTypeForResponse", + ), + ".group_1215": ( + "TeamsTeamIdDiscussionsPostBodyType", + "TeamsTeamIdDiscussionsPostBodyTypeForResponse", + ), + ".group_1216": ( + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse", + ), + ".group_1217": ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", ), - ".group_1208": ("ReposOwnerRepoStatusesShaPostBodyType",), - ".group_1209": ("ReposOwnerRepoSubscriptionPutBodyType",), - ".group_1210": ("ReposOwnerRepoTagsProtectionPostBodyType",), - ".group_1211": ("ReposOwnerRepoTopicsPutBodyType",), - ".group_1212": ("ReposOwnerRepoTransferPostBodyType",), - ".group_1213": ("ReposTemplateOwnerTemplateRepoGeneratePostBodyType",), - ".group_1214": ("TeamsTeamIdPatchBodyType",), - ".group_1215": ("TeamsTeamIdDiscussionsPostBodyType",), - ".group_1216": ("TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType",), - ".group_1217": ("TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType",), ".group_1218": ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ), ".group_1219": ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", + ), + ".group_1220": ( + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", + ), + ".group_1221": ( + "TeamsTeamIdMembershipsUsernamePutBodyType", + "TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse", + ), + ".group_1222": ( + "TeamsTeamIdProjectsProjectIdPutBodyType", + "TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse", + ), + ".group_1223": ( + "TeamsTeamIdProjectsProjectIdPutResponse403Type", + "TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse", + ), + ".group_1224": ( + "TeamsTeamIdReposOwnerRepoPutBodyType", + "TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse", + ), + ".group_1225": ( + "UserPatchBodyType", + "UserPatchBodyTypeForResponse", + ), + ".group_1226": ( + "UserCodespacesGetResponse200Type", + "UserCodespacesGetResponse200TypeForResponse", + ), + ".group_1227": ( + "UserCodespacesPostBodyOneof0Type", + "UserCodespacesPostBodyOneof0TypeForResponse", ), - ".group_1220": ("TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType",), - ".group_1221": ("TeamsTeamIdMembershipsUsernamePutBodyType",), - ".group_1222": ("TeamsTeamIdProjectsProjectIdPutBodyType",), - ".group_1223": ("TeamsTeamIdProjectsProjectIdPutResponse403Type",), - ".group_1224": ("TeamsTeamIdReposOwnerRepoPutBodyType",), - ".group_1225": ("UserPatchBodyType",), - ".group_1226": ("UserCodespacesGetResponse200Type",), - ".group_1227": ("UserCodespacesPostBodyOneof0Type",), ".group_1228": ( "UserCodespacesPostBodyOneof1Type", + "UserCodespacesPostBodyOneof1TypeForResponse", "UserCodespacesPostBodyOneof1PropPullRequestType", + "UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse", ), ".group_1229": ( "UserCodespacesSecretsGetResponse200Type", + "UserCodespacesSecretsGetResponse200TypeForResponse", "CodespacesSecretType", + "CodespacesSecretTypeForResponse", + ), + ".group_1230": ( + "UserCodespacesSecretsSecretNamePutBodyType", + "UserCodespacesSecretsSecretNamePutBodyTypeForResponse", ), - ".group_1230": ("UserCodespacesSecretsSecretNamePutBodyType",), ".group_1231": ( "UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", + ), + ".group_1232": ( + "UserCodespacesSecretsSecretNameRepositoriesPutBodyType", + "UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", + ), + ".group_1233": ( + "UserCodespacesCodespaceNamePatchBodyType", + "UserCodespacesCodespaceNamePatchBodyTypeForResponse", + ), + ".group_1234": ( + "UserCodespacesCodespaceNameMachinesGetResponse200Type", + "UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse", + ), + ".group_1235": ( + "UserCodespacesCodespaceNamePublishPostBodyType", + "UserCodespacesCodespaceNamePublishPostBodyTypeForResponse", + ), + ".group_1236": ( + "UserEmailVisibilityPatchBodyType", + "UserEmailVisibilityPatchBodyTypeForResponse", + ), + ".group_1237": ( + "UserEmailsPostBodyOneof0Type", + "UserEmailsPostBodyOneof0TypeForResponse", + ), + ".group_1238": ( + "UserEmailsDeleteBodyOneof0Type", + "UserEmailsDeleteBodyOneof0TypeForResponse", + ), + ".group_1239": ( + "UserGpgKeysPostBodyType", + "UserGpgKeysPostBodyTypeForResponse", + ), + ".group_1240": ( + "UserInstallationsGetResponse200Type", + "UserInstallationsGetResponse200TypeForResponse", ), - ".group_1232": ("UserCodespacesSecretsSecretNameRepositoriesPutBodyType",), - ".group_1233": ("UserCodespacesCodespaceNamePatchBodyType",), - ".group_1234": ("UserCodespacesCodespaceNameMachinesGetResponse200Type",), - ".group_1235": ("UserCodespacesCodespaceNamePublishPostBodyType",), - ".group_1236": ("UserEmailVisibilityPatchBodyType",), - ".group_1237": ("UserEmailsPostBodyOneof0Type",), - ".group_1238": ("UserEmailsDeleteBodyOneof0Type",), - ".group_1239": ("UserGpgKeysPostBodyType",), - ".group_1240": ("UserInstallationsGetResponse200Type",), ".group_1241": ( "UserInstallationsInstallationIdRepositoriesGetResponse200Type", + "UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse", + ), + ".group_1242": ( + "UserInteractionLimitsGetResponse200Anyof1Type", + "UserInteractionLimitsGetResponse200Anyof1TypeForResponse", + ), + ".group_1243": ( + "UserKeysPostBodyType", + "UserKeysPostBodyTypeForResponse", + ), + ".group_1244": ( + "UserMembershipsOrgsOrgPatchBodyType", + "UserMembershipsOrgsOrgPatchBodyTypeForResponse", + ), + ".group_1245": ( + "UserMigrationsPostBodyType", + "UserMigrationsPostBodyTypeForResponse", + ), + ".group_1246": ( + "UserReposPostBodyType", + "UserReposPostBodyTypeForResponse", + ), + ".group_1247": ( + "UserSocialAccountsPostBodyType", + "UserSocialAccountsPostBodyTypeForResponse", + ), + ".group_1248": ( + "UserSocialAccountsDeleteBodyType", + "UserSocialAccountsDeleteBodyTypeForResponse", + ), + ".group_1249": ( + "UserSshSigningKeysPostBodyType", + "UserSshSigningKeysPostBodyTypeForResponse", + ), + ".group_1250": ( + "UsersUsernameAttestationsBulkListPostBodyType", + "UsersUsernameAttestationsBulkListPostBodyTypeForResponse", ), - ".group_1242": ("UserInteractionLimitsGetResponse200Anyof1Type",), - ".group_1243": ("UserKeysPostBodyType",), - ".group_1244": ("UserMembershipsOrgsOrgPatchBodyType",), - ".group_1245": ("UserMigrationsPostBodyType",), - ".group_1246": ("UserReposPostBodyType",), - ".group_1247": ("UserSocialAccountsPostBodyType",), - ".group_1248": ("UserSocialAccountsDeleteBodyType",), - ".group_1249": ("UserSshSigningKeysPostBodyType",), - ".group_1250": ("UsersUsernameAttestationsBulkListPostBodyType",), ".group_1251": ( "UsersUsernameAttestationsBulkListPostResponse200Type", + "UsersUsernameAttestationsBulkListPostResponse200TypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType", + "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", + ), + ".group_1252": ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse", + ), + ".group_1253": ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse", ), - ".group_1252": ("UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type",), - ".group_1253": ("UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type",), ".group_1254": ( "UsersUsernameAttestationsSubjectDigestGetResponse200Type", + "UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", + ), + ".group_1255": ( + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse", ), - ".group_1255": ("UsersUsernameProjectsV2ProjectNumberItemsPostBodyType",), ".group_1256": ( "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", ), } diff --git a/githubkit/versions/v2022_11_28/types/group_0000.py b/githubkit/versions/v2022_11_28/types/group_0000.py index 10bf040fe..df6e52859 100644 --- a/githubkit/versions/v2022_11_28/types/group_0000.py +++ b/githubkit/versions/v2022_11_28/types/group_0000.py @@ -50,4 +50,45 @@ class RootType(TypedDict): user_search_url: str -__all__ = ("RootType",) +class RootTypeForResponse(TypedDict): + """Root""" + + current_user_url: str + current_user_authorizations_html_url: str + authorizations_url: str + code_search_url: str + commit_search_url: str + emails_url: str + emojis_url: str + events_url: str + feeds_url: str + followers_url: str + following_url: str + gists_url: str + hub_url: NotRequired[str] + issue_search_url: str + issues_url: str + keys_url: str + label_search_url: str + notifications_url: str + organization_url: str + organization_repositories_url: str + organization_teams_url: str + public_gists_url: str + rate_limit_url: str + repository_url: str + repository_search_url: str + current_user_repositories_url: str + starred_url: str + starred_gists_url: str + topic_search_url: NotRequired[str] + user_url: str + user_organizations_url: str + user_repositories_url: str + user_search_url: str + + +__all__ = ( + "RootType", + "RootTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0001.py b/githubkit/versions/v2022_11_28/types/group_0001.py index 7fe8ed44e..d6d242f11 100644 --- a/githubkit/versions/v2022_11_28/types/group_0001.py +++ b/githubkit/versions/v2022_11_28/types/group_0001.py @@ -20,6 +20,13 @@ class CvssSeveritiesType(TypedDict): cvss_v4: NotRequired[Union[CvssSeveritiesPropCvssV4Type, None]] +class CvssSeveritiesTypeForResponse(TypedDict): + """CvssSeverities""" + + cvss_v3: NotRequired[Union[CvssSeveritiesPropCvssV3TypeForResponse, None]] + cvss_v4: NotRequired[Union[CvssSeveritiesPropCvssV4TypeForResponse, None]] + + class CvssSeveritiesPropCvssV3Type(TypedDict): """CvssSeveritiesPropCvssV3""" @@ -27,6 +34,13 @@ class CvssSeveritiesPropCvssV3Type(TypedDict): score: Union[float, None] +class CvssSeveritiesPropCvssV3TypeForResponse(TypedDict): + """CvssSeveritiesPropCvssV3""" + + vector_string: Union[str, None] + score: Union[float, None] + + class CvssSeveritiesPropCvssV4Type(TypedDict): """CvssSeveritiesPropCvssV4""" @@ -34,8 +48,18 @@ class CvssSeveritiesPropCvssV4Type(TypedDict): score: Union[float, None] +class CvssSeveritiesPropCvssV4TypeForResponse(TypedDict): + """CvssSeveritiesPropCvssV4""" + + vector_string: Union[str, None] + score: Union[float, None] + + __all__ = ( "CvssSeveritiesPropCvssV3Type", + "CvssSeveritiesPropCvssV3TypeForResponse", "CvssSeveritiesPropCvssV4Type", + "CvssSeveritiesPropCvssV4TypeForResponse", "CvssSeveritiesType", + "CvssSeveritiesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0002.py b/githubkit/versions/v2022_11_28/types/group_0002.py index a5bd8643f..cd9228a02 100644 --- a/githubkit/versions/v2022_11_28/types/group_0002.py +++ b/githubkit/versions/v2022_11_28/types/group_0002.py @@ -23,4 +23,18 @@ class SecurityAdvisoryEpssType(TypedDict): percentile: NotRequired[float] -__all__ = ("SecurityAdvisoryEpssType",) +class SecurityAdvisoryEpssTypeForResponse(TypedDict): + """SecurityAdvisoryEpss + + The EPSS scores as calculated by the [Exploit Prediction Scoring + System](https://www.first.org/epss). + """ + + percentage: NotRequired[float] + percentile: NotRequired[float] + + +__all__ = ( + "SecurityAdvisoryEpssType", + "SecurityAdvisoryEpssTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0003.py b/githubkit/versions/v2022_11_28/types/group_0003.py index fa76723f3..9bff5ea1a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0003.py +++ b/githubkit/versions/v2022_11_28/types/group_0003.py @@ -43,4 +43,37 @@ class SimpleUserType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("SimpleUserType",) +class SimpleUserTypeForResponse(TypedDict): + """Simple User + + A GitHub user. + """ + + name: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + starred_at: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "SimpleUserType", + "SimpleUserTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0004.py b/githubkit/versions/v2022_11_28/types/group_0004.py index 35cc5758c..b6918ba87 100644 --- a/githubkit/versions/v2022_11_28/types/group_0004.py +++ b/githubkit/versions/v2022_11_28/types/group_0004.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0002 import SecurityAdvisoryEpssType -from .group_0005 import GlobalAdvisoryPropCreditsItemsType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0002 import SecurityAdvisoryEpssType, SecurityAdvisoryEpssTypeForResponse +from .group_0005 import ( + GlobalAdvisoryPropCreditsItemsType, + GlobalAdvisoryPropCreditsItemsTypeForResponse, +) class GlobalAdvisoryType(TypedDict): @@ -49,6 +52,37 @@ class GlobalAdvisoryType(TypedDict): credits_: Union[list[GlobalAdvisoryPropCreditsItemsType], None] +class GlobalAdvisoryTypeForResponse(TypedDict): + """GlobalAdvisory + + A GitHub Security Advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + url: str + html_url: str + repository_advisory_url: Union[str, None] + summary: str + description: Union[str, None] + type: Literal["reviewed", "unreviewed", "malware"] + severity: Literal["critical", "high", "medium", "low", "unknown"] + source_code_location: Union[str, None] + identifiers: Union[list[GlobalAdvisoryPropIdentifiersItemsTypeForResponse], None] + references: Union[list[str], None] + published_at: str + updated_at: str + github_reviewed_at: Union[str, None] + nvd_published_at: Union[str, None] + withdrawn_at: Union[str, None] + vulnerabilities: Union[list[VulnerabilityTypeForResponse], None] + cvss: Union[GlobalAdvisoryPropCvssTypeForResponse, None] + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + epss: NotRequired[Union[SecurityAdvisoryEpssTypeForResponse, None]] + cwes: Union[list[GlobalAdvisoryPropCwesItemsTypeForResponse], None] + credits_: Union[list[GlobalAdvisoryPropCreditsItemsTypeForResponse], None] + + class GlobalAdvisoryPropIdentifiersItemsType(TypedDict): """GlobalAdvisoryPropIdentifiersItems""" @@ -56,6 +90,13 @@ class GlobalAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class GlobalAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropIdentifiersItems""" + + type: Literal["CVE", "GHSA"] + value: str + + class GlobalAdvisoryPropCvssType(TypedDict): """GlobalAdvisoryPropCvss""" @@ -63,6 +104,13 @@ class GlobalAdvisoryPropCvssType(TypedDict): score: Union[float, None] +class GlobalAdvisoryPropCvssTypeForResponse(TypedDict): + """GlobalAdvisoryPropCvss""" + + vector_string: Union[str, None] + score: Union[float, None] + + class GlobalAdvisoryPropCwesItemsType(TypedDict): """GlobalAdvisoryPropCwesItems""" @@ -70,6 +118,13 @@ class GlobalAdvisoryPropCwesItemsType(TypedDict): name: str +class GlobalAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class VulnerabilityType(TypedDict): """Vulnerability @@ -83,6 +138,19 @@ class VulnerabilityType(TypedDict): vulnerable_functions: Union[list[str], None] +class VulnerabilityTypeForResponse(TypedDict): + """Vulnerability + + A vulnerability describing the product and its affected versions within a GitHub + Security Advisory. + """ + + package: Union[VulnerabilityPropPackageTypeForResponse, None] + vulnerable_version_range: Union[str, None] + first_patched_version: Union[str, None] + vulnerable_functions: Union[list[str], None] + + class VulnerabilityPropPackageType(TypedDict): """VulnerabilityPropPackage @@ -107,11 +175,41 @@ class VulnerabilityPropPackageType(TypedDict): name: Union[str, None] +class VulnerabilityPropPackageTypeForResponse(TypedDict): + """VulnerabilityPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: Union[str, None] + + __all__ = ( "GlobalAdvisoryPropCvssType", + "GlobalAdvisoryPropCvssTypeForResponse", "GlobalAdvisoryPropCwesItemsType", + "GlobalAdvisoryPropCwesItemsTypeForResponse", "GlobalAdvisoryPropIdentifiersItemsType", + "GlobalAdvisoryPropIdentifiersItemsTypeForResponse", "GlobalAdvisoryType", + "GlobalAdvisoryTypeForResponse", "VulnerabilityPropPackageType", + "VulnerabilityPropPackageTypeForResponse", "VulnerabilityType", + "VulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0005.py b/githubkit/versions/v2022_11_28/types/group_0005.py index 62d7ca39e..a5a3daaf5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0005.py +++ b/githubkit/versions/v2022_11_28/types/group_0005.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GlobalAdvisoryPropCreditsItemsType(TypedDict): @@ -33,4 +33,25 @@ class GlobalAdvisoryPropCreditsItemsType(TypedDict): ] -__all__ = ("GlobalAdvisoryPropCreditsItemsType",) +class GlobalAdvisoryPropCreditsItemsTypeForResponse(TypedDict): + """GlobalAdvisoryPropCreditsItems""" + + user: SimpleUserTypeForResponse + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + +__all__ = ( + "GlobalAdvisoryPropCreditsItemsType", + "GlobalAdvisoryPropCreditsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0006.py b/githubkit/versions/v2022_11_28/types/group_0006.py index ec1143694..9724d9d09 100644 --- a/githubkit/versions/v2022_11_28/types/group_0006.py +++ b/githubkit/versions/v2022_11_28/types/group_0006.py @@ -24,4 +24,19 @@ class BasicErrorType(TypedDict): status: NotRequired[str] -__all__ = ("BasicErrorType",) +class BasicErrorTypeForResponse(TypedDict): + """Basic Error + + Basic Error + """ + + message: NotRequired[str] + documentation_url: NotRequired[str] + url: NotRequired[str] + status: NotRequired[str] + + +__all__ = ( + "BasicErrorType", + "BasicErrorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0007.py b/githubkit/versions/v2022_11_28/types/group_0007.py index 890be8381..df11b770c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0007.py +++ b/githubkit/versions/v2022_11_28/types/group_0007.py @@ -23,4 +23,18 @@ class ValidationErrorSimpleType(TypedDict): errors: NotRequired[list[str]] -__all__ = ("ValidationErrorSimpleType",) +class ValidationErrorSimpleTypeForResponse(TypedDict): + """Validation Error Simple + + Validation Error Simple + """ + + message: str + documentation_url: str + errors: NotRequired[list[str]] + + +__all__ = ( + "ValidationErrorSimpleType", + "ValidationErrorSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0008.py b/githubkit/versions/v2022_11_28/types/group_0008.py index 74d77a415..fef5891d9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0008.py +++ b/githubkit/versions/v2022_11_28/types/group_0008.py @@ -32,4 +32,25 @@ class EnterpriseType(TypedDict): avatar_url: str -__all__ = ("EnterpriseType",) +class EnterpriseTypeForResponse(TypedDict): + """Enterprise + + An enterprise on GitHub. + """ + + description: NotRequired[Union[str, None]] + html_url: str + website_url: NotRequired[Union[str, None]] + id: int + node_id: str + name: str + slug: str + created_at: Union[str, None] + updated_at: Union[str, None] + avatar_url: str + + +__all__ = ( + "EnterpriseType", + "EnterpriseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0009.py b/githubkit/versions/v2022_11_28/types/group_0009.py index 83a5da25b..f2e36a2a9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0009.py +++ b/githubkit/versions/v2022_11_28/types/group_0009.py @@ -28,4 +28,23 @@ class IntegrationPropPermissionsType(TypedDict): deployments: NotRequired[str] -__all__ = ("IntegrationPropPermissionsType",) +class IntegrationPropPermissionsTypeForResponse(TypedDict): + """IntegrationPropPermissions + + The set of permissions for the GitHub app + + Examples: + {'issues': 'read', 'deployments': 'write'} + """ + + issues: NotRequired[str] + checks: NotRequired[str] + metadata: NotRequired[str] + contents: NotRequired[str] + deployments: NotRequired[str] + + +__all__ = ( + "IntegrationPropPermissionsType", + "IntegrationPropPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0010.py b/githubkit/versions/v2022_11_28/types/group_0010.py index cd45ad29f..748858629 100644 --- a/githubkit/versions/v2022_11_28/types/group_0010.py +++ b/githubkit/versions/v2022_11_28/types/group_0010.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0009 import IntegrationPropPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0009 import ( + IntegrationPropPermissionsType, + IntegrationPropPermissionsTypeForResponse, +) class IntegrationType(TypedDict): @@ -43,4 +46,32 @@ class actors within GitHub. installations_count: NotRequired[int] -__all__ = ("IntegrationType",) +class IntegrationTypeForResponse(TypedDict): + """GitHub app + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + id: int + slug: NotRequired[str] + node_id: str + client_id: NotRequired[str] + owner: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + name: str + description: Union[str, None] + external_url: str + html_url: str + created_at: str + updated_at: str + permissions: IntegrationPropPermissionsTypeForResponse + events: list[str] + installations_count: NotRequired[int] + + +__all__ = ( + "IntegrationType", + "IntegrationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0011.py b/githubkit/versions/v2022_11_28/types/group_0011.py index c8636cd86..fd4079767 100644 --- a/githubkit/versions/v2022_11_28/types/group_0011.py +++ b/githubkit/versions/v2022_11_28/types/group_0011.py @@ -25,4 +25,19 @@ class WebhookConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("WebhookConfigType",) +class WebhookConfigTypeForResponse(TypedDict): + """Webhook Configuration + + Configuration object of the webhook + """ + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "WebhookConfigType", + "WebhookConfigTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0012.py b/githubkit/versions/v2022_11_28/types/group_0012.py index 2cf7ba998..a13c3fbc3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0012.py +++ b/githubkit/versions/v2022_11_28/types/group_0012.py @@ -34,4 +34,27 @@ class HookDeliveryItemType(TypedDict): throttled_at: NotRequired[Union[datetime, None]] -__all__ = ("HookDeliveryItemType",) +class HookDeliveryItemTypeForResponse(TypedDict): + """Simple webhook delivery + + Delivery made by a webhook, without request and response information. + """ + + id: int + guid: str + delivered_at: str + redelivery: bool + duration: float + status: str + status_code: int + event: str + action: Union[str, None] + installation_id: Union[int, None] + repository_id: Union[int, None] + throttled_at: NotRequired[Union[str, None]] + + +__all__ = ( + "HookDeliveryItemType", + "HookDeliveryItemTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0013.py b/githubkit/versions/v2022_11_28/types/group_0013.py index ea6a587cb..3ba9cf4c4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0013.py +++ b/githubkit/versions/v2022_11_28/types/group_0013.py @@ -27,4 +27,21 @@ class ScimErrorType(TypedDict): schemas: NotRequired[list[str]] -__all__ = ("ScimErrorType",) +class ScimErrorTypeForResponse(TypedDict): + """Scim Error + + Scim Error + """ + + message: NotRequired[Union[str, None]] + documentation_url: NotRequired[Union[str, None]] + detail: NotRequired[Union[str, None]] + status: NotRequired[int] + scim_type: NotRequired[Union[str, None]] + schemas: NotRequired[list[str]] + + +__all__ = ( + "ScimErrorType", + "ScimErrorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0014.py b/githubkit/versions/v2022_11_28/types/group_0014.py index 8253b3fd6..5dca7785a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0014.py +++ b/githubkit/versions/v2022_11_28/types/group_0014.py @@ -24,6 +24,17 @@ class ValidationErrorType(TypedDict): errors: NotRequired[list[ValidationErrorPropErrorsItemsType]] +class ValidationErrorTypeForResponse(TypedDict): + """Validation Error + + Validation Error + """ + + message: str + documentation_url: str + errors: NotRequired[list[ValidationErrorPropErrorsItemsTypeForResponse]] + + class ValidationErrorPropErrorsItemsType(TypedDict): """ValidationErrorPropErrorsItems""" @@ -35,7 +46,20 @@ class ValidationErrorPropErrorsItemsType(TypedDict): value: NotRequired[Union[str, None, int, None, list[str], None]] +class ValidationErrorPropErrorsItemsTypeForResponse(TypedDict): + """ValidationErrorPropErrorsItems""" + + resource: NotRequired[str] + field: NotRequired[str] + message: NotRequired[str] + code: str + index: NotRequired[int] + value: NotRequired[Union[str, None, int, None, list[str], None]] + + __all__ = ( "ValidationErrorPropErrorsItemsType", + "ValidationErrorPropErrorsItemsTypeForResponse", "ValidationErrorType", + "ValidationErrorTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0015.py b/githubkit/versions/v2022_11_28/types/group_0015.py index 1dd24facf..b3c14684e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0015.py +++ b/githubkit/versions/v2022_11_28/types/group_0015.py @@ -37,6 +37,29 @@ class HookDeliveryType(TypedDict): response: HookDeliveryPropResponseType +class HookDeliveryTypeForResponse(TypedDict): + """Webhook delivery + + Delivery made by a webhook. + """ + + id: int + guid: str + delivered_at: str + redelivery: bool + duration: float + status: str + status_code: int + event: str + action: Union[str, None] + installation_id: Union[int, None] + repository_id: Union[int, None] + throttled_at: NotRequired[Union[str, None]] + url: NotRequired[str] + request: HookDeliveryPropRequestTypeForResponse + response: HookDeliveryPropResponseTypeForResponse + + class HookDeliveryPropRequestType(TypedDict): """HookDeliveryPropRequest""" @@ -44,6 +67,13 @@ class HookDeliveryPropRequestType(TypedDict): payload: Union[HookDeliveryPropRequestPropPayloadType, None] +class HookDeliveryPropRequestTypeForResponse(TypedDict): + """HookDeliveryPropRequest""" + + headers: Union[HookDeliveryPropRequestPropHeadersTypeForResponse, None] + payload: Union[HookDeliveryPropRequestPropPayloadTypeForResponse, None] + + HookDeliveryPropRequestPropHeadersType: TypeAlias = dict[str, Any] """HookDeliveryPropRequestPropHeaders @@ -51,6 +81,13 @@ class HookDeliveryPropRequestType(TypedDict): """ +HookDeliveryPropRequestPropHeadersTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropRequestPropHeaders + +The request headers sent with the webhook delivery. +""" + + HookDeliveryPropRequestPropPayloadType: TypeAlias = dict[str, Any] """HookDeliveryPropRequestPropPayload @@ -58,6 +95,13 @@ class HookDeliveryPropRequestType(TypedDict): """ +HookDeliveryPropRequestPropPayloadTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropRequestPropPayload + +The webhook payload. +""" + + class HookDeliveryPropResponseType(TypedDict): """HookDeliveryPropResponse""" @@ -65,6 +109,13 @@ class HookDeliveryPropResponseType(TypedDict): payload: Union[str, None] +class HookDeliveryPropResponseTypeForResponse(TypedDict): + """HookDeliveryPropResponse""" + + headers: Union[HookDeliveryPropResponsePropHeadersTypeForResponse, None] + payload: Union[str, None] + + HookDeliveryPropResponsePropHeadersType: TypeAlias = dict[str, Any] """HookDeliveryPropResponsePropHeaders @@ -72,11 +123,24 @@ class HookDeliveryPropResponseType(TypedDict): """ +HookDeliveryPropResponsePropHeadersTypeForResponse: TypeAlias = dict[str, Any] +"""HookDeliveryPropResponsePropHeaders + +The response headers received when the delivery was made. +""" + + __all__ = ( "HookDeliveryPropRequestPropHeadersType", + "HookDeliveryPropRequestPropHeadersTypeForResponse", "HookDeliveryPropRequestPropPayloadType", + "HookDeliveryPropRequestPropPayloadTypeForResponse", "HookDeliveryPropRequestType", + "HookDeliveryPropRequestTypeForResponse", "HookDeliveryPropResponsePropHeadersType", + "HookDeliveryPropResponsePropHeadersTypeForResponse", "HookDeliveryPropResponseType", + "HookDeliveryPropResponseTypeForResponse", "HookDeliveryType", + "HookDeliveryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0016.py b/githubkit/versions/v2022_11_28/types/group_0016.py index 9183c8375..d64ba3e17 100644 --- a/githubkit/versions/v2022_11_28/types/group_0016.py +++ b/githubkit/versions/v2022_11_28/types/group_0016.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse class IntegrationInstallationRequestType(TypedDict): @@ -30,4 +30,20 @@ class IntegrationInstallationRequestType(TypedDict): created_at: datetime -__all__ = ("IntegrationInstallationRequestType",) +class IntegrationInstallationRequestTypeForResponse(TypedDict): + """Integration Installation Request + + Request to install an integration on a target + """ + + id: int + node_id: NotRequired[str] + account: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + requester: SimpleUserTypeForResponse + created_at: str + + +__all__ = ( + "IntegrationInstallationRequestType", + "IntegrationInstallationRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0017.py b/githubkit/versions/v2022_11_28/types/group_0017.py index 107f7c028..dd3b1fa6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0017.py +++ b/githubkit/versions/v2022_11_28/types/group_0017.py @@ -77,4 +77,71 @@ class AppPermissionsType(TypedDict): ] -__all__ = ("AppPermissionsType",) +class AppPermissionsTypeForResponse(TypedDict): + """App Permissions + + The permissions granted to the user access token. + + Examples: + {'contents': 'read', 'issues': 'read', 'deployments': 'write', 'single_file': + 'read'} + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + codespaces: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + dependabot_secrets: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_custom_properties: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["write"]] + custom_properties_for_organizations: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_custom_roles: NotRequired[Literal["read", "write"]] + organization_custom_org_roles: NotRequired[Literal["read", "write"]] + organization_custom_properties: NotRequired[Literal["read", "write", "admin"]] + organization_copilot_seat_management: NotRequired[Literal["write", "read"]] + organization_announcement_banners: NotRequired[Literal["read", "write"]] + organization_events: NotRequired[Literal["read"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_personal_access_tokens: NotRequired[Literal["read", "write"]] + organization_personal_access_token_requests: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + email_addresses: NotRequired[Literal["read", "write"]] + followers: NotRequired[Literal["read", "write"]] + git_ssh_keys: NotRequired[Literal["read", "write"]] + gpg_keys: NotRequired[Literal["read", "write"]] + interaction_limits: NotRequired[Literal["read", "write"]] + profile: NotRequired[Literal["write"]] + starring: NotRequired[Literal["read", "write"]] + enterprise_custom_properties_for_organizations: NotRequired[ + Literal["read", "write", "admin"] + ] + + +__all__ = ( + "AppPermissionsType", + "AppPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0018.py b/githubkit/versions/v2022_11_28/types/group_0018.py index b46fe1974..a9a78a643 100644 --- a/githubkit/versions/v2022_11_28/types/group_0018.py +++ b/githubkit/versions/v2022_11_28/types/group_0018.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0017 import AppPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class InstallationType(TypedDict): @@ -47,4 +47,36 @@ class InstallationType(TypedDict): contact_email: NotRequired[Union[str, None]] -__all__ = ("InstallationType",) +class InstallationTypeForResponse(TypedDict): + """Installation + + Installation + """ + + id: int + account: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse, None] + repository_selection: Literal["all", "selected"] + access_tokens_url: str + repositories_url: str + html_url: str + app_id: int + client_id: NotRequired[str] + target_id: int + target_type: str + permissions: AppPermissionsTypeForResponse + events: list[str] + created_at: str + updated_at: str + single_file_name: Union[str, None] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + app_slug: str + suspended_by: Union[None, SimpleUserTypeForResponse] + suspended_at: Union[str, None] + contact_email: NotRequired[Union[str, None]] + + +__all__ = ( + "InstallationType", + "InstallationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0019.py b/githubkit/versions/v2022_11_28/types/group_0019.py index b20c6fa41..ddc9533bf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0019.py +++ b/githubkit/versions/v2022_11_28/types/group_0019.py @@ -27,4 +27,21 @@ class LicenseSimpleType(TypedDict): html_url: NotRequired[str] -__all__ = ("LicenseSimpleType",) +class LicenseSimpleTypeForResponse(TypedDict): + """License Simple + + License Simple + """ + + key: str + name: str + url: Union[str, None] + spdx_id: Union[str, None] + node_id: str + html_url: NotRequired[str] + + +__all__ = ( + "LicenseSimpleType", + "LicenseSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0020.py b/githubkit/versions/v2022_11_28/types/group_0020.py index 9d10c4127..4922b3448 100644 --- a/githubkit/versions/v2022_11_28/types/group_0020.py +++ b/githubkit/versions/v2022_11_28/types/group_0020.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class RepositoryType(TypedDict): @@ -123,6 +123,114 @@ class RepositoryType(TypedDict): code_search_index_status: NotRequired[RepositoryPropCodeSearchIndexStatusType] +class RepositoryTypeForResponse(TypedDict): + """Repository + + A repository on GitHub. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + forks: int + permissions: NotRequired[RepositoryPropPermissionsTypeForResponse] + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + open_issues: int + watchers: int + master_branch: NotRequired[str] + starred_at: NotRequired[str] + anonymous_access_enabled: NotRequired[bool] + code_search_index_status: NotRequired[ + RepositoryPropCodeSearchIndexStatusTypeForResponse + ] + + class RepositoryPropPermissionsType(TypedDict): """RepositoryPropPermissions""" @@ -133,6 +241,16 @@ class RepositoryPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class RepositoryPropPermissionsTypeForResponse(TypedDict): + """RepositoryPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + class RepositoryPropCodeSearchIndexStatusType(TypedDict): """RepositoryPropCodeSearchIndexStatus @@ -143,8 +261,21 @@ class RepositoryPropCodeSearchIndexStatusType(TypedDict): lexical_commit_sha: NotRequired[str] +class RepositoryPropCodeSearchIndexStatusTypeForResponse(TypedDict): + """RepositoryPropCodeSearchIndexStatus + + The status of the code search index for this repository + """ + + lexical_search_ok: NotRequired[bool] + lexical_commit_sha: NotRequired[str] + + __all__ = ( "RepositoryPropCodeSearchIndexStatusType", + "RepositoryPropCodeSearchIndexStatusTypeForResponse", "RepositoryPropPermissionsType", + "RepositoryPropPermissionsTypeForResponse", "RepositoryType", + "RepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0021.py b/githubkit/versions/v2022_11_28/types/group_0021.py index 4a84235a5..5df3fd0e0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0021.py +++ b/githubkit/versions/v2022_11_28/types/group_0021.py @@ -12,8 +12,8 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType -from .group_0020 import RepositoryType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class InstallationTokenType(TypedDict): @@ -32,4 +32,23 @@ class InstallationTokenType(TypedDict): single_file_paths: NotRequired[list[str]] -__all__ = ("InstallationTokenType",) +class InstallationTokenTypeForResponse(TypedDict): + """Installation Token + + Authentication token for a GitHub App installed on a user or org. + """ + + token: str + expires_at: str + permissions: NotRequired[AppPermissionsTypeForResponse] + repository_selection: NotRequired[Literal["all", "selected"]] + repositories: NotRequired[list[RepositoryTypeForResponse]] + single_file: NotRequired[str] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + + +__all__ = ( + "InstallationTokenType", + "InstallationTokenTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0022.py b/githubkit/versions/v2022_11_28/types/group_0022.py index 316ee04db..af8f5a860 100644 --- a/githubkit/versions/v2022_11_28/types/group_0022.py +++ b/githubkit/versions/v2022_11_28/types/group_0022.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0017 import AppPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class ScopedInstallationType(TypedDict): @@ -28,4 +28,19 @@ class ScopedInstallationType(TypedDict): account: SimpleUserType -__all__ = ("ScopedInstallationType",) +class ScopedInstallationTypeForResponse(TypedDict): + """Scoped Installation""" + + permissions: AppPermissionsTypeForResponse + repository_selection: Literal["all", "selected"] + single_file_name: Union[str, None] + has_multiple_single_files: NotRequired[bool] + single_file_paths: NotRequired[list[str]] + repositories_url: str + account: SimpleUserTypeForResponse + + +__all__ = ( + "ScopedInstallationType", + "ScopedInstallationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0023.py b/githubkit/versions/v2022_11_28/types/group_0023.py index 2f6e85407..402147f86 100644 --- a/githubkit/versions/v2022_11_28/types/group_0023.py +++ b/githubkit/versions/v2022_11_28/types/group_0023.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0022 import ScopedInstallationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0022 import ScopedInstallationType, ScopedInstallationTypeForResponse class AuthorizationType(TypedDict): @@ -40,6 +40,29 @@ class AuthorizationType(TypedDict): expires_at: Union[datetime, None] +class AuthorizationTypeForResponse(TypedDict): + """Authorization + + The authorization for an OAuth app, GitHub App, or a Personal Access Token. + """ + + id: int + url: str + scopes: Union[list[str], None] + token: str + token_last_eight: Union[str, None] + hashed_token: Union[str, None] + app: AuthorizationPropAppTypeForResponse + note: Union[str, None] + note_url: Union[str, None] + updated_at: str + created_at: str + fingerprint: Union[str, None] + user: NotRequired[Union[None, SimpleUserTypeForResponse]] + installation: NotRequired[Union[None, ScopedInstallationTypeForResponse]] + expires_at: Union[str, None] + + class AuthorizationPropAppType(TypedDict): """AuthorizationPropApp""" @@ -48,7 +71,17 @@ class AuthorizationPropAppType(TypedDict): url: str +class AuthorizationPropAppTypeForResponse(TypedDict): + """AuthorizationPropApp""" + + client_id: str + name: str + url: str + + __all__ = ( "AuthorizationPropAppType", + "AuthorizationPropAppTypeForResponse", "AuthorizationType", + "AuthorizationTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0024.py b/githubkit/versions/v2022_11_28/types/group_0024.py index 92dae5f1f..84127eb0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0024.py +++ b/githubkit/versions/v2022_11_28/types/group_0024.py @@ -26,4 +26,21 @@ class SimpleClassroomRepositoryType(TypedDict): default_branch: str -__all__ = ("SimpleClassroomRepositoryType",) +class SimpleClassroomRepositoryTypeForResponse(TypedDict): + """Simple Classroom Repository + + A GitHub repository view for Classroom + """ + + id: int + full_name: str + html_url: str + node_id: str + private: bool + default_branch: str + + +__all__ = ( + "SimpleClassroomRepositoryType", + "SimpleClassroomRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0025.py b/githubkit/versions/v2022_11_28/types/group_0025.py index 90777e817..43060983c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0025.py +++ b/githubkit/versions/v2022_11_28/types/group_0025.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0024 import SimpleClassroomRepositoryType +from .group_0024 import ( + SimpleClassroomRepositoryType, + SimpleClassroomRepositoryTypeForResponse, +) class ClassroomAssignmentType(TypedDict): @@ -43,6 +46,33 @@ class ClassroomAssignmentType(TypedDict): classroom: ClassroomType +class ClassroomAssignmentTypeForResponse(TypedDict): + """Classroom Assignment + + A GitHub Classroom assignment + """ + + id: int + public_repo: bool + title: str + type: Literal["individual", "group"] + invite_link: str + invitations_enabled: bool + slug: str + students_are_repo_admins: bool + feedback_pull_requests_enabled: bool + max_teams: Union[int, None] + max_members: Union[int, None] + editor: str + accepted: int + submitted: int + passing: int + language: str + deadline: Union[str, None] + starter_code_repository: SimpleClassroomRepositoryTypeForResponse + classroom: ClassroomTypeForResponse + + class ClassroomType(TypedDict): """Classroom @@ -56,6 +86,19 @@ class ClassroomType(TypedDict): url: str +class ClassroomTypeForResponse(TypedDict): + """Classroom + + A GitHub Classroom classroom + """ + + id: int + name: str + archived: bool + organization: SimpleClassroomOrganizationTypeForResponse + url: str + + class SimpleClassroomOrganizationType(TypedDict): """Organization Simple for Classroom @@ -70,8 +113,25 @@ class SimpleClassroomOrganizationType(TypedDict): avatar_url: str +class SimpleClassroomOrganizationTypeForResponse(TypedDict): + """Organization Simple for Classroom + + A GitHub organization. + """ + + id: int + login: str + node_id: str + html_url: str + name: Union[str, None] + avatar_url: str + + __all__ = ( "ClassroomAssignmentType", + "ClassroomAssignmentTypeForResponse", "ClassroomType", + "ClassroomTypeForResponse", "SimpleClassroomOrganizationType", + "SimpleClassroomOrganizationTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0026.py b/githubkit/versions/v2022_11_28/types/group_0026.py index c3d2e7494..f43839e5e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0026.py +++ b/githubkit/versions/v2022_11_28/types/group_0026.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0024 import SimpleClassroomRepositoryType +from .group_0024 import ( + SimpleClassroomRepositoryType, + SimpleClassroomRepositoryTypeForResponse, +) class ClassroomAcceptedAssignmentType(TypedDict): @@ -32,6 +35,22 @@ class ClassroomAcceptedAssignmentType(TypedDict): assignment: SimpleClassroomAssignmentType +class ClassroomAcceptedAssignmentTypeForResponse(TypedDict): + """Classroom Accepted Assignment + + A GitHub Classroom accepted assignment + """ + + id: int + submitted: bool + passing: bool + commit_count: int + grade: str + students: list[SimpleClassroomUserTypeForResponse] + repository: SimpleClassroomRepositoryTypeForResponse + assignment: SimpleClassroomAssignmentTypeForResponse + + class SimpleClassroomUserType(TypedDict): """Simple Classroom User @@ -44,6 +63,18 @@ class SimpleClassroomUserType(TypedDict): html_url: str +class SimpleClassroomUserTypeForResponse(TypedDict): + """Simple Classroom User + + A GitHub user simplified for Classroom. + """ + + id: int + login: str + avatar_url: str + html_url: str + + class SimpleClassroomAssignmentType(TypedDict): """Simple Classroom Assignment @@ -70,6 +101,32 @@ class SimpleClassroomAssignmentType(TypedDict): classroom: SimpleClassroomType +class SimpleClassroomAssignmentTypeForResponse(TypedDict): + """Simple Classroom Assignment + + A GitHub Classroom assignment + """ + + id: int + public_repo: bool + title: str + type: Literal["individual", "group"] + invite_link: str + invitations_enabled: bool + slug: str + students_are_repo_admins: bool + feedback_pull_requests_enabled: bool + max_teams: NotRequired[Union[int, None]] + max_members: NotRequired[Union[int, None]] + editor: Union[str, None] + accepted: int + submitted: NotRequired[int] + passing: int + language: Union[str, None] + deadline: Union[str, None] + classroom: SimpleClassroomTypeForResponse + + class SimpleClassroomType(TypedDict): """Simple Classroom @@ -82,9 +139,25 @@ class SimpleClassroomType(TypedDict): url: str +class SimpleClassroomTypeForResponse(TypedDict): + """Simple Classroom + + A GitHub Classroom classroom + """ + + id: int + name: str + archived: bool + url: str + + __all__ = ( "ClassroomAcceptedAssignmentType", + "ClassroomAcceptedAssignmentTypeForResponse", "SimpleClassroomAssignmentType", + "SimpleClassroomAssignmentTypeForResponse", "SimpleClassroomType", + "SimpleClassroomTypeForResponse", "SimpleClassroomUserType", + "SimpleClassroomUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0027.py b/githubkit/versions/v2022_11_28/types/group_0027.py index 2099f3a61..b37b883e9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0027.py +++ b/githubkit/versions/v2022_11_28/types/group_0027.py @@ -31,4 +31,26 @@ class ClassroomAssignmentGradeType(TypedDict): group_name: NotRequired[str] -__all__ = ("ClassroomAssignmentGradeType",) +class ClassroomAssignmentGradeTypeForResponse(TypedDict): + """Classroom Assignment Grade + + Grade for a student or groups GitHub Classroom assignment + """ + + assignment_name: str + assignment_url: str + starter_code_url: str + github_username: str + roster_identifier: str + student_repository_name: str + student_repository_url: str + submission_timestamp: str + points_awarded: int + points_available: int + group_name: NotRequired[str] + + +__all__ = ( + "ClassroomAssignmentGradeType", + "ClassroomAssignmentGradeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0028.py b/githubkit/versions/v2022_11_28/types/group_0028.py index 036d4d245..84464ef92 100644 --- a/githubkit/versions/v2022_11_28/types/group_0028.py +++ b/githubkit/versions/v2022_11_28/types/group_0028.py @@ -78,6 +78,73 @@ class CodeSecurityConfigurationType(TypedDict): updated_at: NotRequired[datetime] +class CodeSecurityConfigurationTypeForResponse(TypedDict): + """CodeSecurityConfiguration + + A code security configuration + """ + + id: NotRequired[int] + name: NotRequired[str] + target_type: NotRequired[Literal["global", "organization", "enterprise"]] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[ + Union[CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse, None] + ] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[ + CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse, + None, + ] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -89,6 +156,17 @@ class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType( labeled_runners: NotRequired[bool] +class CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class CodeSecurityConfigurationPropCodeScanningOptionsType(TypedDict): """CodeSecurityConfigurationPropCodeScanningOptions @@ -98,6 +176,15 @@ class CodeSecurityConfigurationPropCodeScanningOptionsType(TypedDict): allow_advanced: NotRequired[Union[bool, None]] +class CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse(TypedDict): + """CodeSecurityConfigurationPropCodeScanningOptions + + Feature options for code scanning + """ + + allow_advanced: NotRequired[Union[bool, None]] + + class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType(TypedDict): """CodeSecurityConfigurationPropCodeScanningDefaultSetupOptions @@ -108,6 +195,18 @@ class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType(TypedDict runner_label: NotRequired[Union[str, None]] +class CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropCodeScanningDefaultSetupOptions + + Feature options for code scanning default setup + """ + + runner_type: NotRequired[Union[None, Literal["standard", "labeled", "not_set"]]] + runner_label: NotRequired[Union[str, None]] + + class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType(TypedDict): """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptions @@ -121,6 +220,21 @@ class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType(Type ] +class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptions + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -132,11 +246,28 @@ class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropRevie reviewer_type: Literal["TEAM", "ROLE"] +class CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersIt + ems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsType", + "CodeSecurityConfigurationPropCodeScanningDefaultSetupOptionsTypeForResponse", "CodeSecurityConfigurationPropCodeScanningOptionsType", + "CodeSecurityConfigurationPropCodeScanningOptionsTypeForResponse", "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsType", + "CodeSecurityConfigurationPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsType", + "CodeSecurityConfigurationPropSecretScanningDelegatedBypassOptionsTypeForResponse", "CodeSecurityConfigurationType", + "CodeSecurityConfigurationTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0029.py b/githubkit/versions/v2022_11_28/types/group_0029.py index be5ad4363..2a70bee33 100644 --- a/githubkit/versions/v2022_11_28/types/group_0029.py +++ b/githubkit/versions/v2022_11_28/types/group_0029.py @@ -22,4 +22,16 @@ class CodeScanningOptionsType(TypedDict): allow_advanced: NotRequired[Union[bool, None]] -__all__ = ("CodeScanningOptionsType",) +class CodeScanningOptionsTypeForResponse(TypedDict): + """CodeScanningOptions + + Security Configuration feature options for code scanning + """ + + allow_advanced: NotRequired[Union[bool, None]] + + +__all__ = ( + "CodeScanningOptionsType", + "CodeScanningOptionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0030.py b/githubkit/versions/v2022_11_28/types/group_0030.py index 73c7a68ac..068b22e50 100644 --- a/githubkit/versions/v2022_11_28/types/group_0030.py +++ b/githubkit/versions/v2022_11_28/types/group_0030.py @@ -23,4 +23,17 @@ class CodeScanningDefaultSetupOptionsType(TypedDict): runner_label: NotRequired[Union[str, None]] -__all__ = ("CodeScanningDefaultSetupOptionsType",) +class CodeScanningDefaultSetupOptionsTypeForResponse(TypedDict): + """CodeScanningDefaultSetupOptions + + Feature options for code scanning default setup + """ + + runner_type: NotRequired[Literal["standard", "labeled", "not_set"]] + runner_label: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningDefaultSetupOptionsType", + "CodeScanningDefaultSetupOptionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0031.py b/githubkit/versions/v2022_11_28/types/group_0031.py index c520ee68f..d560ac7a6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0031.py +++ b/githubkit/versions/v2022_11_28/types/group_0031.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0028 import CodeSecurityConfigurationType +from .group_0028 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class CodeSecurityDefaultConfigurationsItemsType(TypedDict): @@ -22,4 +25,14 @@ class CodeSecurityDefaultConfigurationsItemsType(TypedDict): configuration: NotRequired[CodeSecurityConfigurationType] -__all__ = ("CodeSecurityDefaultConfigurationsItemsType",) +class CodeSecurityDefaultConfigurationsItemsTypeForResponse(TypedDict): + """CodeSecurityDefaultConfigurationsItems""" + + default_for_new_repos: NotRequired[Literal["public", "private_and_internal", "all"]] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + +__all__ = ( + "CodeSecurityDefaultConfigurationsItemsType", + "CodeSecurityDefaultConfigurationsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0032.py b/githubkit/versions/v2022_11_28/types/group_0032.py index 2df06fbc7..cebff373e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0032.py +++ b/githubkit/versions/v2022_11_28/types/group_0032.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class SimpleRepositoryType(TypedDict): @@ -69,4 +69,61 @@ class SimpleRepositoryType(TypedDict): hooks_url: str -__all__ = ("SimpleRepositoryType",) +class SimpleRepositoryTypeForResponse(TypedDict): + """Simple Repository + + A GitHub repository. + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + hooks_url: str + + +__all__ = ( + "SimpleRepositoryType", + "SimpleRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0033.py b/githubkit/versions/v2022_11_28/types/group_0033.py index 8d5ce96e9..b4904613d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0033.py +++ b/githubkit/versions/v2022_11_28/types/group_0033.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0032 import SimpleRepositoryType +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class CodeSecurityConfigurationRepositoriesType(TypedDict): @@ -36,4 +36,28 @@ class CodeSecurityConfigurationRepositoriesType(TypedDict): repository: NotRequired[SimpleRepositoryType] -__all__ = ("CodeSecurityConfigurationRepositoriesType",) +class CodeSecurityConfigurationRepositoriesTypeForResponse(TypedDict): + """CodeSecurityConfigurationRepositories + + Repositories associated with a code security configuration and attachment status + """ + + status: NotRequired[ + Literal[ + "attached", + "attaching", + "detached", + "removed", + "enforced", + "failed", + "updating", + "removed_by_enterprise", + ] + ] + repository: NotRequired[SimpleRepositoryTypeForResponse] + + +__all__ = ( + "CodeSecurityConfigurationRepositoriesType", + "CodeSecurityConfigurationRepositoriesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0034.py b/githubkit/versions/v2022_11_28/types/group_0034.py index 9ef70e81a..0fcaebd5a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0034.py +++ b/githubkit/versions/v2022_11_28/types/group_0034.py @@ -22,4 +22,17 @@ class DependabotAlertPackageType(TypedDict): name: str -__all__ = ("DependabotAlertPackageType",) +class DependabotAlertPackageTypeForResponse(TypedDict): + """DependabotAlertPackage + + Details for the vulnerable package. + """ + + ecosystem: str + name: str + + +__all__ = ( + "DependabotAlertPackageType", + "DependabotAlertPackageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0035.py b/githubkit/versions/v2022_11_28/types/group_0035.py index 6805aed63..4a1f8068c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0035.py +++ b/githubkit/versions/v2022_11_28/types/group_0035.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0034 import DependabotAlertPackageType +from .group_0034 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertSecurityVulnerabilityType(TypedDict): @@ -29,6 +32,20 @@ class DependabotAlertSecurityVulnerabilityType(TypedDict): ] +class DependabotAlertSecurityVulnerabilityTypeForResponse(TypedDict): + """DependabotAlertSecurityVulnerability + + Details pertaining to one vulnerable version range for the advisory. + """ + + package: DependabotAlertPackageTypeForResponse + severity: Literal["low", "medium", "high", "critical"] + vulnerable_version_range: str + first_patched_version: Union[ + DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse, None + ] + + class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType(TypedDict): """DependabotAlertSecurityVulnerabilityPropFirstPatchedVersion @@ -38,7 +55,20 @@ class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType(TypedDict) identifier: str +class DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """DependabotAlertSecurityVulnerabilityPropFirstPatchedVersion + + Details pertaining to the package version that patches this vulnerability. + """ + + identifier: str + + __all__ = ( "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionType", + "DependabotAlertSecurityVulnerabilityPropFirstPatchedVersionTypeForResponse", "DependabotAlertSecurityVulnerabilityType", + "DependabotAlertSecurityVulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0036.py b/githubkit/versions/v2022_11_28/types/group_0036.py index 691b01fcb..58b254bf0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0036.py +++ b/githubkit/versions/v2022_11_28/types/group_0036.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0002 import SecurityAdvisoryEpssType -from .group_0035 import DependabotAlertSecurityVulnerabilityType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0002 import SecurityAdvisoryEpssType, SecurityAdvisoryEpssTypeForResponse +from .group_0035 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) class DependabotAlertSecurityAdvisoryType(TypedDict): @@ -41,6 +44,31 @@ class DependabotAlertSecurityAdvisoryType(TypedDict): withdrawn_at: Union[datetime, None] +class DependabotAlertSecurityAdvisoryTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisory + + Details for the GitHub Security Advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + summary: str + description: str + vulnerabilities: list[DependabotAlertSecurityVulnerabilityTypeForResponse] + severity: Literal["low", "medium", "high", "critical"] + cvss: DependabotAlertSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + epss: NotRequired[Union[SecurityAdvisoryEpssTypeForResponse, None]] + cwes: list[DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse] + identifiers: list[ + DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse + ] + references: list[DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse] + published_at: str + updated_at: str + withdrawn_at: Union[str, None] + + class DependabotAlertSecurityAdvisoryPropCvssType(TypedDict): """DependabotAlertSecurityAdvisoryPropCvss @@ -51,6 +79,16 @@ class DependabotAlertSecurityAdvisoryPropCvssType(TypedDict): vector_string: Union[str, None] +class DependabotAlertSecurityAdvisoryPropCvssTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropCvss + + Details for the advisory pertaining to the Common Vulnerability Scoring System. + """ + + score: float + vector_string: Union[str, None] + + class DependabotAlertSecurityAdvisoryPropCwesItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropCwesItems @@ -61,6 +99,16 @@ class DependabotAlertSecurityAdvisoryPropCwesItemsType(TypedDict): name: str +class DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropCwesItems + + A CWE weakness assigned to the advisory. + """ + + cwe_id: str + name: str + + class DependabotAlertSecurityAdvisoryPropIdentifiersItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropIdentifiersItems @@ -71,6 +119,16 @@ class DependabotAlertSecurityAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropIdentifiersItems + + An advisory identifier. + """ + + type: Literal["CVE", "GHSA"] + value: str + + class DependabotAlertSecurityAdvisoryPropReferencesItemsType(TypedDict): """DependabotAlertSecurityAdvisoryPropReferencesItems @@ -80,10 +138,24 @@ class DependabotAlertSecurityAdvisoryPropReferencesItemsType(TypedDict): url: str +class DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse(TypedDict): + """DependabotAlertSecurityAdvisoryPropReferencesItems + + A link to additional advisory information. + """ + + url: str + + __all__ = ( "DependabotAlertSecurityAdvisoryPropCvssType", + "DependabotAlertSecurityAdvisoryPropCvssTypeForResponse", "DependabotAlertSecurityAdvisoryPropCwesItemsType", + "DependabotAlertSecurityAdvisoryPropCwesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropIdentifiersItemsType", + "DependabotAlertSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "DependabotAlertSecurityAdvisoryPropReferencesItemsType", + "DependabotAlertSecurityAdvisoryPropReferencesItemsTypeForResponse", "DependabotAlertSecurityAdvisoryType", + "DependabotAlertSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0037.py b/githubkit/versions/v2022_11_28/types/group_0037.py index abe53a0ed..75eb0a698 100644 --- a/githubkit/versions/v2022_11_28/types/group_0037.py +++ b/githubkit/versions/v2022_11_28/types/group_0037.py @@ -13,11 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0032 import SimpleRepositoryType -from .group_0035 import DependabotAlertSecurityVulnerabilityType -from .group_0036 import DependabotAlertSecurityAdvisoryType -from .group_0038 import DependabotAlertWithRepositoryPropDependencyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse +from .group_0035 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) +from .group_0036 import ( + DependabotAlertSecurityAdvisoryType, + DependabotAlertSecurityAdvisoryTypeForResponse, +) +from .group_0038 import ( + DependabotAlertWithRepositoryPropDependencyType, + DependabotAlertWithRepositoryPropDependencyTypeForResponse, +) class DependabotAlertWithRepositoryType(TypedDict): @@ -49,4 +58,36 @@ class DependabotAlertWithRepositoryType(TypedDict): repository: SimpleRepositoryType -__all__ = ("DependabotAlertWithRepositoryType",) +class DependabotAlertWithRepositoryTypeForResponse(TypedDict): + """DependabotAlertWithRepository + + A Dependabot alert. + """ + + number: int + state: Literal["auto_dismissed", "dismissed", "fixed", "open"] + dependency: DependabotAlertWithRepositoryPropDependencyTypeForResponse + security_advisory: DependabotAlertSecurityAdvisoryTypeForResponse + security_vulnerability: DependabotAlertSecurityVulnerabilityTypeForResponse + url: str + html_url: str + created_at: str + updated_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_reason: Union[ + None, + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ], + ] + dismissed_comment: Union[str, None] + fixed_at: Union[str, None] + auto_dismissed_at: NotRequired[Union[str, None]] + repository: SimpleRepositoryTypeForResponse + + +__all__ = ( + "DependabotAlertWithRepositoryType", + "DependabotAlertWithRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0038.py b/githubkit/versions/v2022_11_28/types/group_0038.py index 619ff75db..7d8a0e694 100644 --- a/githubkit/versions/v2022_11_28/types/group_0038.py +++ b/githubkit/versions/v2022_11_28/types/group_0038.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0034 import DependabotAlertPackageType +from .group_0034 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertWithRepositoryPropDependencyType(TypedDict): @@ -29,4 +32,21 @@ class DependabotAlertWithRepositoryPropDependencyType(TypedDict): ] -__all__ = ("DependabotAlertWithRepositoryPropDependencyType",) +class DependabotAlertWithRepositoryPropDependencyTypeForResponse(TypedDict): + """DependabotAlertWithRepositoryPropDependency + + Details for the vulnerable dependency. + """ + + package: NotRequired[DependabotAlertPackageTypeForResponse] + manifest_path: NotRequired[str] + scope: NotRequired[Union[None, Literal["development", "runtime"]]] + relationship: NotRequired[ + Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]] + ] + + +__all__ = ( + "DependabotAlertWithRepositoryPropDependencyType", + "DependabotAlertWithRepositoryPropDependencyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0039.py b/githubkit/versions/v2022_11_28/types/group_0039.py index 4b96a4953..a2015d193 100644 --- a/githubkit/versions/v2022_11_28/types/group_0039.py +++ b/githubkit/versions/v2022_11_28/types/group_0039.py @@ -33,4 +33,27 @@ class OrganizationSimpleType(TypedDict): description: Union[str, None] -__all__ = ("OrganizationSimpleType",) +class OrganizationSimpleTypeForResponse(TypedDict): + """Organization Simple + + A GitHub organization. + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + + +__all__ = ( + "OrganizationSimpleType", + "OrganizationSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0040.py b/githubkit/versions/v2022_11_28/types/group_0040.py index 1bd13ab39..b3d055da1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0040.py +++ b/githubkit/versions/v2022_11_28/types/group_0040.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class MilestoneType(TypedDict): @@ -40,4 +40,31 @@ class MilestoneType(TypedDict): due_on: Union[datetime, None] -__all__ = ("MilestoneType",) +class MilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + url: str + html_url: str + labels_url: str + id: int + node_id: str + number: int + state: Literal["open", "closed"] + title: str + description: Union[str, None] + creator: Union[None, SimpleUserTypeForResponse] + open_issues: int + closed_issues: int + created_at: str + updated_at: str + closed_at: Union[str, None] + due_on: Union[str, None] + + +__all__ = ( + "MilestoneType", + "MilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0041.py b/githubkit/versions/v2022_11_28/types/group_0041.py index a99164b42..b566fc29f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0041.py +++ b/githubkit/versions/v2022_11_28/types/group_0041.py @@ -37,4 +37,30 @@ class IssueTypeType(TypedDict): is_enabled: NotRequired[bool] -__all__ = ("IssueTypeType",) +class IssueTypeTypeForResponse(TypedDict): + """Issue Type + + The type of issue. + """ + + id: int + node_id: str + name: str + description: Union[str, None] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + created_at: NotRequired[str] + updated_at: NotRequired[str] + is_enabled: NotRequired[bool] + + +__all__ = ( + "IssueTypeType", + "IssueTypeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0042.py b/githubkit/versions/v2022_11_28/types/group_0042.py index 8a6080a74..2e499e880 100644 --- a/githubkit/versions/v2022_11_28/types/group_0042.py +++ b/githubkit/versions/v2022_11_28/types/group_0042.py @@ -27,4 +27,22 @@ class ReactionRollupType(TypedDict): rocket: int -__all__ = ("ReactionRollupType",) +class ReactionRollupTypeForResponse(TypedDict): + """Reaction Rollup""" + + url: str + total_count: int + plus_one: int + minus_one: int + laugh: int + confused: int + heart: int + hooray: int + eyes: int + rocket: int + + +__all__ = ( + "ReactionRollupType", + "ReactionRollupTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0043.py b/githubkit/versions/v2022_11_28/types/group_0043.py index c8984be4b..b8ed40d6f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0043.py +++ b/githubkit/versions/v2022_11_28/types/group_0043.py @@ -20,6 +20,14 @@ class SubIssuesSummaryType(TypedDict): percent_completed: int +class SubIssuesSummaryTypeForResponse(TypedDict): + """Sub-issues Summary""" + + total: int + completed: int + percent_completed: int + + class IssueDependenciesSummaryType(TypedDict): """Issue Dependencies Summary""" @@ -29,7 +37,18 @@ class IssueDependenciesSummaryType(TypedDict): total_blocking: int +class IssueDependenciesSummaryTypeForResponse(TypedDict): + """Issue Dependencies Summary""" + + blocked_by: int + blocking: int + total_blocked_by: int + total_blocking: int + + __all__ = ( "IssueDependenciesSummaryType", + "IssueDependenciesSummaryTypeForResponse", "SubIssuesSummaryType", + "SubIssuesSummaryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0044.py b/githubkit/versions/v2022_11_28/types/group_0044.py index f71398f82..e1a4c8338 100644 --- a/githubkit/versions/v2022_11_28/types/group_0044.py +++ b/githubkit/versions/v2022_11_28/types/group_0044.py @@ -28,6 +28,21 @@ class IssueFieldValueType(TypedDict): ] +class IssueFieldValueTypeForResponse(TypedDict): + """Issue Field Value + + A value assigned to an issue field + """ + + issue_field_id: int + node_id: str + data_type: Literal["text", "single_select", "number", "date"] + value: Union[str, float, int, None] + single_select_option: NotRequired[ + Union[IssueFieldValuePropSingleSelectOptionTypeForResponse, None] + ] + + class IssueFieldValuePropSingleSelectOptionType(TypedDict): """IssueFieldValuePropSingleSelectOption @@ -39,7 +54,20 @@ class IssueFieldValuePropSingleSelectOptionType(TypedDict): color: str +class IssueFieldValuePropSingleSelectOptionTypeForResponse(TypedDict): + """IssueFieldValuePropSingleSelectOption + + Details about the selected option (only present for single_select fields) + """ + + id: int + name: str + color: str + + __all__ = ( "IssueFieldValuePropSingleSelectOptionType", + "IssueFieldValuePropSingleSelectOptionTypeForResponse", "IssueFieldValueType", + "IssueFieldValueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0045.py b/githubkit/versions/v2022_11_28/types/group_0045.py index 4f5139a7a..0bc0626bb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0045.py +++ b/githubkit/versions/v2022_11_28/types/group_0045.py @@ -13,14 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0020 import RepositoryType -from .group_0040 import MilestoneType -from .group_0041 import IssueTypeType -from .group_0042 import ReactionRollupType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class IssueType(TypedDict): @@ -84,6 +89,67 @@ class IssueType(TypedDict): issue_field_values: NotRequired[list[IssueFieldValueType]] +class IssueTypeForResponse(TypedDict): + """Issue + + Issues are a great way to keep track of tasks, enhancements, and bugs for your + projects. + """ + + id: int + node_id: str + url: str + repository_url: str + labels_url: str + comments_url: str + events_url: str + html_url: str + number: int + state: str + state_reason: NotRequired[ + Union[None, Literal["completed", "reopened", "not_planned", "duplicate"]] + ] + title: str + body: NotRequired[Union[str, None]] + user: Union[None, SimpleUserTypeForResponse] + labels: list[Union[str, IssuePropLabelsItemsOneof1TypeForResponse]] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + milestone: Union[None, MilestoneTypeForResponse] + locked: bool + active_lock_reason: NotRequired[Union[str, None]] + comments: int + pull_request: NotRequired[IssuePropPullRequestTypeForResponse] + closed_at: Union[str, None] + created_at: str + updated_at: str + draft: NotRequired[bool] + closed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + repository: NotRequired[RepositoryTypeForResponse] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + reactions: NotRequired[ReactionRollupTypeForResponse] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + parent_issue_url: NotRequired[Union[str, None]] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + + class IssuePropLabelsItemsOneof1Type(TypedDict): """IssuePropLabelsItemsOneof1""" @@ -96,6 +162,18 @@ class IssuePropLabelsItemsOneof1Type(TypedDict): default: NotRequired[bool] +class IssuePropLabelsItemsOneof1TypeForResponse(TypedDict): + """IssuePropLabelsItemsOneof1""" + + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + default: NotRequired[bool] + + class IssuePropPullRequestType(TypedDict): """IssuePropPullRequest""" @@ -106,8 +184,21 @@ class IssuePropPullRequestType(TypedDict): url: Union[str, None] +class IssuePropPullRequestTypeForResponse(TypedDict): + """IssuePropPullRequest""" + + merged_at: NotRequired[Union[str, None]] + diff_url: Union[str, None] + html_url: Union[str, None] + patch_url: Union[str, None] + url: Union[str, None] + + __all__ = ( "IssuePropLabelsItemsOneof1Type", + "IssuePropLabelsItemsOneof1TypeForResponse", "IssuePropPullRequestType", + "IssuePropPullRequestTypeForResponse", "IssueType", + "IssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0046.py b/githubkit/versions/v2022_11_28/types/group_0046.py index ced9bfb27..19f5c9cc0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0046.py +++ b/githubkit/versions/v2022_11_28/types/group_0046.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class IssueCommentType(TypedDict): @@ -49,4 +49,38 @@ class IssueCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("IssueCommentType",) +class IssueCommentTypeForResponse(TypedDict): + """Issue Comment + + Comments provide a way for people to collaborate on an issue. + """ + + id: int + node_id: str + url: str + body: NotRequired[str] + body_text: NotRequired[str] + body_html: NotRequired[str] + html_url: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + issue_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "IssueCommentType", + "IssueCommentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0047.py b/githubkit/versions/v2022_11_28/types/group_0047.py index 897ccf926..6cd4a300e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0047.py +++ b/githubkit/versions/v2022_11_28/types/group_0047.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0045 import IssueType -from .group_0046 import IssueCommentType +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0046 import IssueCommentType, IssueCommentTypeForResponse class EventPropPayloadType(TypedDict): @@ -26,6 +26,15 @@ class EventPropPayloadType(TypedDict): pages: NotRequired[list[EventPropPayloadPropPagesItemsType]] +class EventPropPayloadTypeForResponse(TypedDict): + """EventPropPayload""" + + action: NotRequired[str] + issue: NotRequired[IssueTypeForResponse] + comment: NotRequired[IssueCommentTypeForResponse] + pages: NotRequired[list[EventPropPayloadPropPagesItemsTypeForResponse]] + + class EventPropPayloadPropPagesItemsType(TypedDict): """EventPropPayloadPropPagesItems""" @@ -37,6 +46,17 @@ class EventPropPayloadPropPagesItemsType(TypedDict): html_url: NotRequired[str] +class EventPropPayloadPropPagesItemsTypeForResponse(TypedDict): + """EventPropPayloadPropPagesItems""" + + page_name: NotRequired[str] + title: NotRequired[str] + summary: NotRequired[Union[str, None]] + action: NotRequired[str] + sha: NotRequired[str] + html_url: NotRequired[str] + + class EventType(TypedDict): """Event @@ -53,6 +73,22 @@ class EventType(TypedDict): created_at: Union[datetime, None] +class EventTypeForResponse(TypedDict): + """Event + + Event + """ + + id: str + type: Union[str, None] + actor: ActorTypeForResponse + repo: EventPropRepoTypeForResponse + org: NotRequired[ActorTypeForResponse] + payload: EventPropPayloadTypeForResponse + public: bool + created_at: Union[str, None] + + class ActorType(TypedDict): """Actor @@ -67,6 +103,20 @@ class ActorType(TypedDict): avatar_url: str +class ActorTypeForResponse(TypedDict): + """Actor + + Actor + """ + + id: int + login: str + display_login: NotRequired[str] + gravatar_id: Union[str, None] + url: str + avatar_url: str + + class EventPropRepoType(TypedDict): """EventPropRepo""" @@ -75,10 +125,23 @@ class EventPropRepoType(TypedDict): url: str +class EventPropRepoTypeForResponse(TypedDict): + """EventPropRepo""" + + id: int + name: str + url: str + + __all__ = ( "ActorType", + "ActorTypeForResponse", "EventPropPayloadPropPagesItemsType", + "EventPropPayloadPropPagesItemsTypeForResponse", "EventPropPayloadType", + "EventPropPayloadTypeForResponse", "EventPropRepoType", + "EventPropRepoTypeForResponse", "EventType", + "EventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0048.py b/githubkit/versions/v2022_11_28/types/group_0048.py index b0afe5713..88552acf9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0048.py +++ b/githubkit/versions/v2022_11_28/types/group_0048.py @@ -31,6 +31,25 @@ class FeedType(TypedDict): links: FeedPropLinksType +class FeedTypeForResponse(TypedDict): + """Feed + + Feed + """ + + timeline_url: str + user_url: str + current_user_public_url: NotRequired[str] + current_user_url: NotRequired[str] + current_user_actor_url: NotRequired[str] + current_user_organization_url: NotRequired[str] + current_user_organization_urls: NotRequired[list[str]] + security_advisories_url: NotRequired[str] + repository_discussions_url: NotRequired[str] + repository_discussions_category_url: NotRequired[str] + links: FeedPropLinksTypeForResponse + + class FeedPropLinksType(TypedDict): """FeedPropLinks""" @@ -46,6 +65,21 @@ class FeedPropLinksType(TypedDict): repository_discussions_category: NotRequired[LinkWithTypeType] +class FeedPropLinksTypeForResponse(TypedDict): + """FeedPropLinks""" + + timeline: LinkWithTypeTypeForResponse + user: LinkWithTypeTypeForResponse + security_advisories: NotRequired[LinkWithTypeTypeForResponse] + current_user: NotRequired[LinkWithTypeTypeForResponse] + current_user_public: NotRequired[LinkWithTypeTypeForResponse] + current_user_actor: NotRequired[LinkWithTypeTypeForResponse] + current_user_organization: NotRequired[LinkWithTypeTypeForResponse] + current_user_organizations: NotRequired[list[LinkWithTypeTypeForResponse]] + repository_discussions: NotRequired[LinkWithTypeTypeForResponse] + repository_discussions_category: NotRequired[LinkWithTypeTypeForResponse] + + class LinkWithTypeType(TypedDict): """Link With Type @@ -56,8 +90,21 @@ class LinkWithTypeType(TypedDict): type: str +class LinkWithTypeTypeForResponse(TypedDict): + """Link With Type + + Hypermedia Link with Type + """ + + href: str + type: str + + __all__ = ( "FeedPropLinksType", + "FeedPropLinksTypeForResponse", "FeedType", + "FeedTypeForResponse", "LinkWithTypeType", + "LinkWithTypeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0049.py b/githubkit/versions/v2022_11_28/types/group_0049.py index 0b66a8534..3e511826e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0049.py +++ b/githubkit/versions/v2022_11_28/types/group_0049.py @@ -13,7 +13,7 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class BaseGistType(TypedDict): @@ -45,12 +45,48 @@ class BaseGistType(TypedDict): history: NotRequired[list[Any]] +class BaseGistTypeForResponse(TypedDict): + """Base Gist + + Base Gist + """ + + url: str + forks_url: str + commits_url: str + id: str + node_id: str + git_pull_url: str + git_push_url: str + html_url: str + files: BaseGistPropFilesTypeForResponse + public: bool + created_at: str + updated_at: str + description: Union[str, None] + comments: int + comments_enabled: NotRequired[bool] + user: Union[None, SimpleUserTypeForResponse] + comments_url: str + owner: NotRequired[SimpleUserTypeForResponse] + truncated: NotRequired[bool] + forks: NotRequired[list[Any]] + history: NotRequired[list[Any]] + + BaseGistPropFilesType: TypeAlias = dict[str, Any] """BaseGistPropFiles """ +BaseGistPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""BaseGistPropFiles +""" + + __all__ = ( "BaseGistPropFilesType", + "BaseGistPropFilesTypeForResponse", "BaseGistType", + "BaseGistTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0050.py b/githubkit/versions/v2022_11_28/types/group_0050.py index 7969063ff..58d0fce26 100644 --- a/githubkit/versions/v2022_11_28/types/group_0050.py +++ b/githubkit/versions/v2022_11_28/types/group_0050.py @@ -13,7 +13,7 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistHistoryType(TypedDict): @@ -29,6 +29,19 @@ class GistHistoryType(TypedDict): url: NotRequired[str] +class GistHistoryTypeForResponse(TypedDict): + """Gist History + + Gist History + """ + + user: NotRequired[Union[None, SimpleUserTypeForResponse]] + version: NotRequired[str] + committed_at: NotRequired[str] + change_status: NotRequired[GistHistoryPropChangeStatusTypeForResponse] + url: NotRequired[str] + + class GistHistoryPropChangeStatusType(TypedDict): """GistHistoryPropChangeStatus""" @@ -37,6 +50,14 @@ class GistHistoryPropChangeStatusType(TypedDict): deletions: NotRequired[int] +class GistHistoryPropChangeStatusTypeForResponse(TypedDict): + """GistHistoryPropChangeStatus""" + + total: NotRequired[int] + additions: NotRequired[int] + deletions: NotRequired[int] + + class GistSimplePropForkOfType(TypedDict): """Gist @@ -66,14 +87,52 @@ class GistSimplePropForkOfType(TypedDict): history: NotRequired[list[Any]] +class GistSimplePropForkOfTypeForResponse(TypedDict): + """Gist + + Gist + """ + + url: str + forks_url: str + commits_url: str + id: str + node_id: str + git_pull_url: str + git_push_url: str + html_url: str + files: GistSimplePropForkOfPropFilesTypeForResponse + public: bool + created_at: str + updated_at: str + description: Union[str, None] + comments: int + comments_enabled: NotRequired[bool] + user: Union[None, SimpleUserTypeForResponse] + comments_url: str + owner: NotRequired[Union[None, SimpleUserTypeForResponse]] + truncated: NotRequired[bool] + forks: NotRequired[list[Any]] + history: NotRequired[list[Any]] + + GistSimplePropForkOfPropFilesType: TypeAlias = dict[str, Any] """GistSimplePropForkOfPropFiles """ +GistSimplePropForkOfPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistSimplePropForkOfPropFiles +""" + + __all__ = ( "GistHistoryPropChangeStatusType", + "GistHistoryPropChangeStatusTypeForResponse", "GistHistoryType", + "GistHistoryTypeForResponse", "GistSimplePropForkOfPropFilesType", + "GistSimplePropForkOfPropFilesTypeForResponse", "GistSimplePropForkOfType", + "GistSimplePropForkOfTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0051.py b/githubkit/versions/v2022_11_28/types/group_0051.py index fb7c39806..5931f92a1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0051.py +++ b/githubkit/versions/v2022_11_28/types/group_0051.py @@ -13,8 +13,13 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0050 import GistHistoryType, GistSimplePropForkOfType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0050 import ( + GistHistoryType, + GistHistoryTypeForResponse, + GistSimplePropForkOfType, + GistSimplePropForkOfTypeForResponse, +) class GistSimpleType(TypedDict): @@ -47,11 +52,46 @@ class GistSimpleType(TypedDict): truncated: NotRequired[bool] +class GistSimpleTypeForResponse(TypedDict): + """Gist Simple + + Gist Simple + """ + + forks: NotRequired[Union[list[GistSimplePropForksItemsTypeForResponse], None]] + history: NotRequired[Union[list[GistHistoryTypeForResponse], None]] + fork_of: NotRequired[Union[GistSimplePropForkOfTypeForResponse, None]] + url: NotRequired[str] + forks_url: NotRequired[str] + commits_url: NotRequired[str] + id: NotRequired[str] + node_id: NotRequired[str] + git_pull_url: NotRequired[str] + git_push_url: NotRequired[str] + html_url: NotRequired[str] + files: NotRequired[GistSimplePropFilesTypeForResponse] + public: NotRequired[bool] + created_at: NotRequired[str] + updated_at: NotRequired[str] + description: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_enabled: NotRequired[bool] + user: NotRequired[Union[str, None]] + comments_url: NotRequired[str] + owner: NotRequired[SimpleUserTypeForResponse] + truncated: NotRequired[bool] + + GistSimplePropFilesType: TypeAlias = dict[str, Any] """GistSimplePropFiles """ +GistSimplePropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistSimplePropFiles +""" + + class GistSimplePropForksItemsType(TypedDict): """GistSimplePropForksItems""" @@ -62,6 +102,16 @@ class GistSimplePropForksItemsType(TypedDict): updated_at: NotRequired[datetime] +class GistSimplePropForksItemsTypeForResponse(TypedDict): + """GistSimplePropForksItems""" + + id: NotRequired[str] + url: NotRequired[str] + user: NotRequired[PublicUserTypeForResponse] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class PublicUserType(TypedDict): """Public User @@ -110,6 +160,54 @@ class PublicUserType(TypedDict): collaborators: NotRequired[int] +class PublicUserTypeForResponse(TypedDict): + """Public User + + Public User + """ + + login: str + id: int + user_view_type: NotRequired[str] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + name: Union[str, None] + company: Union[str, None] + blog: Union[str, None] + location: Union[str, None] + email: Union[str, None] + notification_email: NotRequired[Union[str, None]] + hireable: Union[bool, None] + bio: Union[str, None] + twitter_username: NotRequired[Union[str, None]] + public_repos: int + public_gists: int + followers: int + following: int + created_at: str + updated_at: str + plan: NotRequired[PublicUserPropPlanTypeForResponse] + private_gists: NotRequired[int] + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + disk_usage: NotRequired[int] + collaborators: NotRequired[int] + + class PublicUserPropPlanType(TypedDict): """PublicUserPropPlan""" @@ -119,10 +217,24 @@ class PublicUserPropPlanType(TypedDict): private_repos: int +class PublicUserPropPlanTypeForResponse(TypedDict): + """PublicUserPropPlan""" + + collaborators: int + name: str + space: int + private_repos: int + + __all__ = ( "GistSimplePropFilesType", + "GistSimplePropFilesTypeForResponse", "GistSimplePropForksItemsType", + "GistSimplePropForksItemsTypeForResponse", "GistSimpleType", + "GistSimpleTypeForResponse", "PublicUserPropPlanType", + "PublicUserPropPlanTypeForResponse", "PublicUserType", + "PublicUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0052.py b/githubkit/versions/v2022_11_28/types/group_0052.py index d69692063..227e4a7a4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0052.py +++ b/githubkit/versions/v2022_11_28/types/group_0052.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistCommentType(TypedDict): @@ -41,4 +41,32 @@ class GistCommentType(TypedDict): ] -__all__ = ("GistCommentType",) +class GistCommentTypeForResponse(TypedDict): + """Gist Comment + + A comment made to a gist. + """ + + id: int + node_id: str + url: str + body: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + +__all__ = ( + "GistCommentType", + "GistCommentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0053.py b/githubkit/versions/v2022_11_28/types/group_0053.py index a6cb34469..bcc093282 100644 --- a/githubkit/versions/v2022_11_28/types/group_0053.py +++ b/githubkit/versions/v2022_11_28/types/group_0053.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class GistCommitType(TypedDict): @@ -29,6 +29,19 @@ class GistCommitType(TypedDict): committed_at: datetime +class GistCommitTypeForResponse(TypedDict): + """Gist Commit + + Gist Commit + """ + + url: str + version: str + user: Union[None, SimpleUserTypeForResponse] + change_status: GistCommitPropChangeStatusTypeForResponse + committed_at: str + + class GistCommitPropChangeStatusType(TypedDict): """GistCommitPropChangeStatus""" @@ -37,7 +50,17 @@ class GistCommitPropChangeStatusType(TypedDict): deletions: NotRequired[int] +class GistCommitPropChangeStatusTypeForResponse(TypedDict): + """GistCommitPropChangeStatus""" + + total: NotRequired[int] + additions: NotRequired[int] + deletions: NotRequired[int] + + __all__ = ( "GistCommitPropChangeStatusType", + "GistCommitPropChangeStatusTypeForResponse", "GistCommitType", + "GistCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0054.py b/githubkit/versions/v2022_11_28/types/group_0054.py index 69bf98302..7324b50f9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0054.py +++ b/githubkit/versions/v2022_11_28/types/group_0054.py @@ -22,4 +22,17 @@ class GitignoreTemplateType(TypedDict): source: str -__all__ = ("GitignoreTemplateType",) +class GitignoreTemplateTypeForResponse(TypedDict): + """Gitignore Template + + Gitignore Template + """ + + name: str + source: str + + +__all__ = ( + "GitignoreTemplateType", + "GitignoreTemplateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0055.py b/githubkit/versions/v2022_11_28/types/group_0055.py index f471d8c73..d41fe6345 100644 --- a/githubkit/versions/v2022_11_28/types/group_0055.py +++ b/githubkit/versions/v2022_11_28/types/group_0055.py @@ -34,4 +34,28 @@ class LicenseType(TypedDict): featured: bool -__all__ = ("LicenseType",) +class LicenseTypeForResponse(TypedDict): + """License + + License + """ + + key: str + name: str + spdx_id: Union[str, None] + url: Union[str, None] + node_id: str + html_url: str + description: str + implementation: str + permissions: list[str] + conditions: list[str] + limitations: list[str] + body: str + featured: bool + + +__all__ = ( + "LicenseType", + "LicenseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0056.py b/githubkit/versions/v2022_11_28/types/group_0056.py index 59d9a8af7..36cb44b01 100644 --- a/githubkit/versions/v2022_11_28/types/group_0056.py +++ b/githubkit/versions/v2022_11_28/types/group_0056.py @@ -34,4 +34,28 @@ class MarketplaceListingPlanType(TypedDict): bullets: list[str] -__all__ = ("MarketplaceListingPlanType",) +class MarketplaceListingPlanTypeForResponse(TypedDict): + """Marketplace Listing Plan + + Marketplace Listing Plan + """ + + url: str + accounts_url: str + id: int + number: int + name: str + description: str + monthly_price_in_cents: int + yearly_price_in_cents: int + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + has_free_trial: bool + unit_name: Union[str, None] + state: str + bullets: list[str] + + +__all__ = ( + "MarketplaceListingPlanType", + "MarketplaceListingPlanTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0057.py b/githubkit/versions/v2022_11_28/types/group_0057.py index e69ac01bb..fb1912e52 100644 --- a/githubkit/versions/v2022_11_28/types/group_0057.py +++ b/githubkit/versions/v2022_11_28/types/group_0057.py @@ -14,7 +14,9 @@ from .group_0058 import ( MarketplacePurchasePropMarketplacePendingChangeType, + MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, MarketplacePurchasePropMarketplacePurchaseType, + MarketplacePurchasePropMarketplacePurchaseTypeForResponse, ) @@ -36,4 +38,25 @@ class MarketplacePurchaseType(TypedDict): marketplace_purchase: MarketplacePurchasePropMarketplacePurchaseType -__all__ = ("MarketplacePurchaseType",) +class MarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase + + Marketplace Purchase + """ + + url: str + type: str + id: int + login: str + organization_billing_email: NotRequired[str] + email: NotRequired[Union[str, None]] + marketplace_pending_change: NotRequired[ + Union[MarketplacePurchasePropMarketplacePendingChangeTypeForResponse, None] + ] + marketplace_purchase: MarketplacePurchasePropMarketplacePurchaseTypeForResponse + + +__all__ = ( + "MarketplacePurchaseType", + "MarketplacePurchaseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0058.py b/githubkit/versions/v2022_11_28/types/group_0058.py index 27fcf1ac9..243904597 100644 --- a/githubkit/versions/v2022_11_28/types/group_0058.py +++ b/githubkit/versions/v2022_11_28/types/group_0058.py @@ -12,7 +12,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0056 import MarketplaceListingPlanType +from .group_0056 import ( + MarketplaceListingPlanType, + MarketplaceListingPlanTypeForResponse, +) class MarketplacePurchasePropMarketplacePendingChangeType(TypedDict): @@ -25,6 +28,16 @@ class MarketplacePurchasePropMarketplacePendingChangeType(TypedDict): plan: NotRequired[MarketplaceListingPlanType] +class MarketplacePurchasePropMarketplacePendingChangeTypeForResponse(TypedDict): + """MarketplacePurchasePropMarketplacePendingChange""" + + is_installed: NotRequired[bool] + effective_date: NotRequired[str] + unit_count: NotRequired[Union[int, None]] + id: NotRequired[int] + plan: NotRequired[MarketplaceListingPlanTypeForResponse] + + class MarketplacePurchasePropMarketplacePurchaseType(TypedDict): """MarketplacePurchasePropMarketplacePurchase""" @@ -38,7 +51,22 @@ class MarketplacePurchasePropMarketplacePurchaseType(TypedDict): plan: NotRequired[MarketplaceListingPlanType] +class MarketplacePurchasePropMarketplacePurchaseTypeForResponse(TypedDict): + """MarketplacePurchasePropMarketplacePurchase""" + + billing_cycle: NotRequired[str] + next_billing_date: NotRequired[Union[str, None]] + is_installed: NotRequired[bool] + unit_count: NotRequired[Union[int, None]] + on_free_trial: NotRequired[bool] + free_trial_ends_on: NotRequired[Union[str, None]] + updated_at: NotRequired[str] + plan: NotRequired[MarketplaceListingPlanTypeForResponse] + + __all__ = ( "MarketplacePurchasePropMarketplacePendingChangeType", + "MarketplacePurchasePropMarketplacePendingChangeTypeForResponse", "MarketplacePurchasePropMarketplacePurchaseType", + "MarketplacePurchasePropMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0059.py b/githubkit/versions/v2022_11_28/types/group_0059.py index d0e33aad3..a6503d3f8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0059.py +++ b/githubkit/versions/v2022_11_28/types/group_0059.py @@ -37,6 +37,31 @@ class ApiOverviewType(TypedDict): domains: NotRequired[ApiOverviewPropDomainsType] +class ApiOverviewTypeForResponse(TypedDict): + """Api Overview + + Api Overview + """ + + verifiable_password_authentication: bool + ssh_key_fingerprints: NotRequired[ApiOverviewPropSshKeyFingerprintsTypeForResponse] + ssh_keys: NotRequired[list[str]] + hooks: NotRequired[list[str]] + github_enterprise_importer: NotRequired[list[str]] + web: NotRequired[list[str]] + api: NotRequired[list[str]] + git: NotRequired[list[str]] + packages: NotRequired[list[str]] + pages: NotRequired[list[str]] + importer: NotRequired[list[str]] + actions: NotRequired[list[str]] + actions_macos: NotRequired[list[str]] + codespaces: NotRequired[list[str]] + dependabot: NotRequired[list[str]] + copilot: NotRequired[list[str]] + domains: NotRequired[ApiOverviewPropDomainsTypeForResponse] + + class ApiOverviewPropSshKeyFingerprintsType(TypedDict): """ApiOverviewPropSshKeyFingerprints""" @@ -46,6 +71,15 @@ class ApiOverviewPropSshKeyFingerprintsType(TypedDict): sha256_ed25519: NotRequired[str] +class ApiOverviewPropSshKeyFingerprintsTypeForResponse(TypedDict): + """ApiOverviewPropSshKeyFingerprints""" + + sha256_rsa: NotRequired[str] + sha256_dsa: NotRequired[str] + sha256_ecdsa: NotRequired[str] + sha256_ed25519: NotRequired[str] + + class ApiOverviewPropDomainsType(TypedDict): """ApiOverviewPropDomains""" @@ -60,6 +94,22 @@ class ApiOverviewPropDomainsType(TypedDict): ] +class ApiOverviewPropDomainsTypeForResponse(TypedDict): + """ApiOverviewPropDomains""" + + website: NotRequired[list[str]] + codespaces: NotRequired[list[str]] + copilot: NotRequired[list[str]] + packages: NotRequired[list[str]] + actions: NotRequired[list[str]] + actions_inbound: NotRequired[ + ApiOverviewPropDomainsPropActionsInboundTypeForResponse + ] + artifact_attestations: NotRequired[ + ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse + ] + + class ApiOverviewPropDomainsPropActionsInboundType(TypedDict): """ApiOverviewPropDomainsPropActionsInbound""" @@ -67,6 +117,13 @@ class ApiOverviewPropDomainsPropActionsInboundType(TypedDict): wildcard_domains: NotRequired[list[str]] +class ApiOverviewPropDomainsPropActionsInboundTypeForResponse(TypedDict): + """ApiOverviewPropDomainsPropActionsInbound""" + + full_domains: NotRequired[list[str]] + wildcard_domains: NotRequired[list[str]] + + class ApiOverviewPropDomainsPropArtifactAttestationsType(TypedDict): """ApiOverviewPropDomainsPropArtifactAttestations""" @@ -74,10 +131,22 @@ class ApiOverviewPropDomainsPropArtifactAttestationsType(TypedDict): services: NotRequired[list[str]] +class ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse(TypedDict): + """ApiOverviewPropDomainsPropArtifactAttestations""" + + trust_domain: NotRequired[str] + services: NotRequired[list[str]] + + __all__ = ( "ApiOverviewPropDomainsPropActionsInboundType", + "ApiOverviewPropDomainsPropActionsInboundTypeForResponse", "ApiOverviewPropDomainsPropArtifactAttestationsType", + "ApiOverviewPropDomainsPropArtifactAttestationsTypeForResponse", "ApiOverviewPropDomainsType", + "ApiOverviewPropDomainsTypeForResponse", "ApiOverviewPropSshKeyFingerprintsType", + "ApiOverviewPropSshKeyFingerprintsTypeForResponse", "ApiOverviewType", + "ApiOverviewTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0060.py b/githubkit/versions/v2022_11_28/types/group_0060.py index 767b87c4a..e992a7b37 100644 --- a/githubkit/versions/v2022_11_28/types/group_0060.py +++ b/githubkit/versions/v2022_11_28/types/group_0060.py @@ -33,6 +33,28 @@ class SecurityAndAnalysisType(TypedDict): ] +class SecurityAndAnalysisTypeForResponse(TypedDict): + """SecurityAndAnalysis""" + + advanced_security: NotRequired[ + SecurityAndAnalysisPropAdvancedSecurityTypeForResponse + ] + code_security: NotRequired[SecurityAndAnalysisPropCodeSecurityTypeForResponse] + dependabot_security_updates: NotRequired[ + SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse + ] + secret_scanning: NotRequired[SecurityAndAnalysisPropSecretScanningTypeForResponse] + secret_scanning_push_protection: NotRequired[ + SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse + ] + secret_scanning_non_provider_patterns: NotRequired[ + SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse + ] + secret_scanning_ai_detection: NotRequired[ + SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse + ] + + class SecurityAndAnalysisPropAdvancedSecurityType(TypedDict): """SecurityAndAnalysisPropAdvancedSecurity @@ -45,12 +67,30 @@ class SecurityAndAnalysisPropAdvancedSecurityType(TypedDict): status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropAdvancedSecurityTypeForResponse(TypedDict): + """SecurityAndAnalysisPropAdvancedSecurity + + Enable or disable GitHub Advanced Security for the repository. + + For standalone Code Scanning or Secret Protection products, this parameter + cannot be used. + """ + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropCodeSecurityType(TypedDict): """SecurityAndAnalysisPropCodeSecurity""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropCodeSecurityTypeForResponse(TypedDict): + """SecurityAndAnalysisPropCodeSecurity""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropDependabotSecurityUpdatesType(TypedDict): """SecurityAndAnalysisPropDependabotSecurityUpdates @@ -60,37 +100,80 @@ class SecurityAndAnalysisPropDependabotSecurityUpdatesType(TypedDict): status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse(TypedDict): + """SecurityAndAnalysisPropDependabotSecurityUpdates + + Enable or disable Dependabot security updates for the repository. + """ + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningType(TypedDict): """SecurityAndAnalysisPropSecretScanning""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanning""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningPushProtectionType(TypedDict): """SecurityAndAnalysisPropSecretScanningPushProtection""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanningPushProtection""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningNonProviderPatternsType(TypedDict): """SecurityAndAnalysisPropSecretScanningNonProviderPatterns""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse( + TypedDict +): + """SecurityAndAnalysisPropSecretScanningNonProviderPatterns""" + + status: NotRequired[Literal["enabled", "disabled"]] + + class SecurityAndAnalysisPropSecretScanningAiDetectionType(TypedDict): """SecurityAndAnalysisPropSecretScanningAiDetection""" status: NotRequired[Literal["enabled", "disabled"]] +class SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse(TypedDict): + """SecurityAndAnalysisPropSecretScanningAiDetection""" + + status: NotRequired[Literal["enabled", "disabled"]] + + __all__ = ( "SecurityAndAnalysisPropAdvancedSecurityType", + "SecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "SecurityAndAnalysisPropCodeSecurityType", + "SecurityAndAnalysisPropCodeSecurityTypeForResponse", "SecurityAndAnalysisPropDependabotSecurityUpdatesType", + "SecurityAndAnalysisPropDependabotSecurityUpdatesTypeForResponse", "SecurityAndAnalysisPropSecretScanningAiDetectionType", + "SecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "SecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "SecurityAndAnalysisPropSecretScanningPushProtectionType", + "SecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "SecurityAndAnalysisPropSecretScanningType", + "SecurityAndAnalysisPropSecretScanningTypeForResponse", "SecurityAndAnalysisType", + "SecurityAndAnalysisTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0061.py b/githubkit/versions/v2022_11_28/types/group_0061.py index 0af881666..e8a86a2e6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0061.py +++ b/githubkit/versions/v2022_11_28/types/group_0061.py @@ -13,8 +13,8 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0060 import SecurityAndAnalysisType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0060 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse class MinimalRepositoryType(TypedDict): @@ -113,6 +113,102 @@ class MinimalRepositoryType(TypedDict): custom_properties: NotRequired[MinimalRepositoryPropCustomPropertiesType] +class MinimalRepositoryTypeForResponse(TypedDict): + """Minimal Repository + + Minimal Repository + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: NotRequired[str] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: NotRequired[str] + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: NotRequired[str] + mirror_url: NotRequired[Union[str, None]] + hooks_url: str + svn_url: NotRequired[str] + homepage: NotRequired[Union[str, None]] + language: NotRequired[Union[str, None]] + forks_count: NotRequired[int] + stargazers_count: NotRequired[int] + watchers_count: NotRequired[int] + size: NotRequired[int] + default_branch: NotRequired[str] + open_issues_count: NotRequired[int] + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_pages: NotRequired[bool] + has_downloads: NotRequired[bool] + has_discussions: NotRequired[bool] + archived: NotRequired[bool] + disabled: NotRequired[bool] + visibility: NotRequired[str] + pushed_at: NotRequired[Union[str, None]] + created_at: NotRequired[Union[str, None]] + updated_at: NotRequired[Union[str, None]] + permissions: NotRequired[MinimalRepositoryPropPermissionsTypeForResponse] + role_name: NotRequired[str] + temp_clone_token: NotRequired[Union[str, None]] + delete_branch_on_merge: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + code_of_conduct: NotRequired[CodeOfConductTypeForResponse] + license_: NotRequired[Union[MinimalRepositoryPropLicenseTypeForResponse, None]] + forks: NotRequired[int] + open_issues: NotRequired[int] + watchers: NotRequired[int] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + custom_properties: NotRequired[MinimalRepositoryPropCustomPropertiesTypeForResponse] + + class CodeOfConductType(TypedDict): """Code Of Conduct @@ -126,6 +222,19 @@ class CodeOfConductType(TypedDict): html_url: Union[str, None] +class CodeOfConductTypeForResponse(TypedDict): + """Code Of Conduct + + Code Of Conduct + """ + + key: str + name: str + url: str + body: NotRequired[str] + html_url: Union[str, None] + + class MinimalRepositoryPropPermissionsType(TypedDict): """MinimalRepositoryPropPermissions""" @@ -136,6 +245,16 @@ class MinimalRepositoryPropPermissionsType(TypedDict): pull: NotRequired[bool] +class MinimalRepositoryPropPermissionsTypeForResponse(TypedDict): + """MinimalRepositoryPropPermissions""" + + admin: NotRequired[bool] + maintain: NotRequired[bool] + push: NotRequired[bool] + triage: NotRequired[bool] + pull: NotRequired[bool] + + class MinimalRepositoryPropLicenseType(TypedDict): """MinimalRepositoryPropLicense""" @@ -146,6 +265,16 @@ class MinimalRepositoryPropLicenseType(TypedDict): node_id: NotRequired[str] +class MinimalRepositoryPropLicenseTypeForResponse(TypedDict): + """MinimalRepositoryPropLicense""" + + key: NotRequired[str] + name: NotRequired[str] + spdx_id: NotRequired[str] + url: NotRequired[str] + node_id: NotRequired[str] + + MinimalRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """MinimalRepositoryPropCustomProperties @@ -155,10 +284,24 @@ class MinimalRepositoryPropLicenseType(TypedDict): """ +MinimalRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""MinimalRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + __all__ = ( "CodeOfConductType", + "CodeOfConductTypeForResponse", "MinimalRepositoryPropCustomPropertiesType", + "MinimalRepositoryPropCustomPropertiesTypeForResponse", "MinimalRepositoryPropLicenseType", + "MinimalRepositoryPropLicenseTypeForResponse", "MinimalRepositoryPropPermissionsType", + "MinimalRepositoryPropPermissionsTypeForResponse", "MinimalRepositoryType", + "MinimalRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0062.py b/githubkit/versions/v2022_11_28/types/group_0062.py index d65ecdbf2..e848122e4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0062.py +++ b/githubkit/versions/v2022_11_28/types/group_0062.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class ThreadType(TypedDict): @@ -32,6 +32,23 @@ class ThreadType(TypedDict): subscription_url: str +class ThreadTypeForResponse(TypedDict): + """Thread + + Thread + """ + + id: str + repository: MinimalRepositoryTypeForResponse + subject: ThreadPropSubjectTypeForResponse + reason: str + unread: bool + updated_at: str + last_read_at: Union[str, None] + url: str + subscription_url: str + + class ThreadPropSubjectType(TypedDict): """ThreadPropSubject""" @@ -41,7 +58,18 @@ class ThreadPropSubjectType(TypedDict): type: str +class ThreadPropSubjectTypeForResponse(TypedDict): + """ThreadPropSubject""" + + title: str + url: str + latest_comment_url: str + type: str + + __all__ = ( "ThreadPropSubjectType", + "ThreadPropSubjectTypeForResponse", "ThreadType", + "ThreadTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0063.py b/githubkit/versions/v2022_11_28/types/group_0063.py index f0966921a..def71ab31 100644 --- a/githubkit/versions/v2022_11_28/types/group_0063.py +++ b/githubkit/versions/v2022_11_28/types/group_0063.py @@ -29,4 +29,22 @@ class ThreadSubscriptionType(TypedDict): repository_url: NotRequired[str] -__all__ = ("ThreadSubscriptionType",) +class ThreadSubscriptionTypeForResponse(TypedDict): + """Thread Subscription + + Thread Subscription + """ + + subscribed: bool + ignored: bool + reason: Union[str, None] + created_at: Union[str, None] + url: str + thread_url: NotRequired[str] + repository_url: NotRequired[str] + + +__all__ = ( + "ThreadSubscriptionType", + "ThreadSubscriptionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0064.py b/githubkit/versions/v2022_11_28/types/group_0064.py index 20b6d48f4..4114cb784 100644 --- a/githubkit/versions/v2022_11_28/types/group_0064.py +++ b/githubkit/versions/v2022_11_28/types/group_0064.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0032 import SimpleRepositoryType +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class DependabotRepositoryAccessDetailsType(TypedDict): @@ -26,4 +26,20 @@ class DependabotRepositoryAccessDetailsType(TypedDict): accessible_repositories: NotRequired[list[Union[None, SimpleRepositoryType]]] -__all__ = ("DependabotRepositoryAccessDetailsType",) +class DependabotRepositoryAccessDetailsTypeForResponse(TypedDict): + """Dependabot Repository Access Details + + Information about repositories that Dependabot is able to access in an + organization + """ + + default_level: NotRequired[Union[None, Literal["public", "internal"]]] + accessible_repositories: NotRequired[ + list[Union[None, SimpleRepositoryTypeForResponse]] + ] + + +__all__ = ( + "DependabotRepositoryAccessDetailsType", + "DependabotRepositoryAccessDetailsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0065.py b/githubkit/versions/v2022_11_28/types/group_0065.py index c3784542a..1cb15f5ee 100644 --- a/githubkit/versions/v2022_11_28/types/group_0065.py +++ b/githubkit/versions/v2022_11_28/types/group_0065.py @@ -23,4 +23,17 @@ class CustomPropertyValueType(TypedDict): value: Union[str, list[str], None] -__all__ = ("CustomPropertyValueType",) +class CustomPropertyValueTypeForResponse(TypedDict): + """Custom Property Value + + Custom property name and associated value + """ + + property_name: str + value: Union[str, list[str], None] + + +__all__ = ( + "CustomPropertyValueType", + "CustomPropertyValueTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0066.py b/githubkit/versions/v2022_11_28/types/group_0066.py index a679abc07..eb0bc91f7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0066.py +++ b/githubkit/versions/v2022_11_28/types/group_0066.py @@ -19,6 +19,12 @@ class GetAllBudgetsType(TypedDict): budgets: list[BudgetType] +class GetAllBudgetsTypeForResponse(TypedDict): + """GetAllBudgets""" + + budgets: list[BudgetTypeForResponse] + + class BudgetType(TypedDict): """Budget""" @@ -32,6 +38,19 @@ class BudgetType(TypedDict): budget_alerting: BudgetPropBudgetAlertingType +class BudgetTypeForResponse(TypedDict): + """Budget""" + + id: str + budget_type: Literal["SkuPricing", "ProductPricing"] + budget_amount: int + prevent_further_usage: bool + budget_scope: str + budget_entity_name: NotRequired[str] + budget_product_sku: str + budget_alerting: BudgetPropBudgetAlertingTypeForResponse + + class BudgetPropBudgetAlertingType(TypedDict): """BudgetPropBudgetAlerting""" @@ -39,8 +58,18 @@ class BudgetPropBudgetAlertingType(TypedDict): alert_recipients: list[str] +class BudgetPropBudgetAlertingTypeForResponse(TypedDict): + """BudgetPropBudgetAlerting""" + + will_alert: bool + alert_recipients: list[str] + + __all__ = ( "BudgetPropBudgetAlertingType", + "BudgetPropBudgetAlertingTypeForResponse", "BudgetType", + "BudgetTypeForResponse", "GetAllBudgetsType", + "GetAllBudgetsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0067.py b/githubkit/versions/v2022_11_28/types/group_0067.py index 013a4d546..ffc35112c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0067.py +++ b/githubkit/versions/v2022_11_28/types/group_0067.py @@ -26,6 +26,19 @@ class GetBudgetType(TypedDict): budget_alerting: GetBudgetPropBudgetAlertingType +class GetBudgetTypeForResponse(TypedDict): + """GetBudget""" + + id: str + budget_scope: Literal["enterprise", "organization", "repository", "cost_center"] + budget_entity_name: str + budget_amount: int + prevent_further_usage: bool + budget_product_sku: str + budget_type: Literal["ProductPricing", "SkuPricing"] + budget_alerting: GetBudgetPropBudgetAlertingTypeForResponse + + class GetBudgetPropBudgetAlertingType(TypedDict): """GetBudgetPropBudgetAlerting""" @@ -33,7 +46,16 @@ class GetBudgetPropBudgetAlertingType(TypedDict): alert_recipients: NotRequired[list[str]] +class GetBudgetPropBudgetAlertingTypeForResponse(TypedDict): + """GetBudgetPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "GetBudgetPropBudgetAlertingType", + "GetBudgetPropBudgetAlertingTypeForResponse", "GetBudgetType", + "GetBudgetTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0068.py b/githubkit/versions/v2022_11_28/types/group_0068.py index b5cdf5093..c8c782148 100644 --- a/githubkit/versions/v2022_11_28/types/group_0068.py +++ b/githubkit/versions/v2022_11_28/types/group_0068.py @@ -19,4 +19,14 @@ class DeleteBudgetType(TypedDict): id: str -__all__ = ("DeleteBudgetType",) +class DeleteBudgetTypeForResponse(TypedDict): + """DeleteBudget""" + + message: str + id: str + + +__all__ = ( + "DeleteBudgetType", + "DeleteBudgetTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0069.py b/githubkit/versions/v2022_11_28/types/group_0069.py index 4dd041659..7fb21b36d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0069.py +++ b/githubkit/versions/v2022_11_28/types/group_0069.py @@ -23,6 +23,19 @@ class BillingPremiumRequestUsageReportOrgType(TypedDict): usage_items: list[BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType] +class BillingPremiumRequestUsageReportOrgTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrg""" + + time_period: BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse + organization: str + user: NotRequired[str] + product: NotRequired[str] + model: NotRequired[str] + usage_items: list[ + BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse + ] + + class BillingPremiumRequestUsageReportOrgPropTimePeriodType(TypedDict): """BillingPremiumRequestUsageReportOrgPropTimePeriod""" @@ -31,6 +44,14 @@ class BillingPremiumRequestUsageReportOrgPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrgPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType(TypedDict): """BillingPremiumRequestUsageReportOrgPropUsageItemsItems""" @@ -47,8 +68,27 @@ class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportOrgPropUsageItemsItems""" + + product: str + sku: str + model: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingPremiumRequestUsageReportOrgPropTimePeriodType", + "BillingPremiumRequestUsageReportOrgPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportOrgPropUsageItemsItemsTypeForResponse", "BillingPremiumRequestUsageReportOrgType", + "BillingPremiumRequestUsageReportOrgTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0070.py b/githubkit/versions/v2022_11_28/types/group_0070.py index 8b794ad2d..c647e6f93 100644 --- a/githubkit/versions/v2022_11_28/types/group_0070.py +++ b/githubkit/versions/v2022_11_28/types/group_0070.py @@ -18,6 +18,12 @@ class BillingUsageReportType(TypedDict): usage_items: NotRequired[list[BillingUsageReportPropUsageItemsItemsType]] +class BillingUsageReportTypeForResponse(TypedDict): + """BillingUsageReport""" + + usage_items: NotRequired[list[BillingUsageReportPropUsageItemsItemsTypeForResponse]] + + class BillingUsageReportPropUsageItemsItemsType(TypedDict): """BillingUsageReportPropUsageItemsItems""" @@ -34,7 +40,25 @@ class BillingUsageReportPropUsageItemsItemsType(TypedDict): repository_name: NotRequired[str] +class BillingUsageReportPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageReportPropUsageItemsItems""" + + date: str + product: str + sku: str + quantity: int + unit_type: str + price_per_unit: float + gross_amount: float + discount_amount: float + net_amount: float + organization_name: str + repository_name: NotRequired[str] + + __all__ = ( "BillingUsageReportPropUsageItemsItemsType", + "BillingUsageReportPropUsageItemsItemsTypeForResponse", "BillingUsageReportType", + "BillingUsageReportTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0071.py b/githubkit/versions/v2022_11_28/types/group_0071.py index 95bc8ca11..dd654f7de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0071.py +++ b/githubkit/versions/v2022_11_28/types/group_0071.py @@ -23,6 +23,17 @@ class BillingUsageSummaryReportOrgType(TypedDict): usage_items: list[BillingUsageSummaryReportOrgPropUsageItemsItemsType] +class BillingUsageSummaryReportOrgTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrg""" + + time_period: BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse + organization: str + repository: NotRequired[str] + product: NotRequired[str] + sku: NotRequired[str] + usage_items: list[BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse] + + class BillingUsageSummaryReportOrgPropTimePeriodType(TypedDict): """BillingUsageSummaryReportOrgPropTimePeriod""" @@ -31,6 +42,14 @@ class BillingUsageSummaryReportOrgPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrgPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingUsageSummaryReportOrgPropUsageItemsItemsType(TypedDict): """BillingUsageSummaryReportOrgPropUsageItemsItems""" @@ -46,8 +65,26 @@ class BillingUsageSummaryReportOrgPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageSummaryReportOrgPropUsageItemsItems""" + + product: str + sku: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingUsageSummaryReportOrgPropTimePeriodType", + "BillingUsageSummaryReportOrgPropTimePeriodTypeForResponse", "BillingUsageSummaryReportOrgPropUsageItemsItemsType", + "BillingUsageSummaryReportOrgPropUsageItemsItemsTypeForResponse", "BillingUsageSummaryReportOrgType", + "BillingUsageSummaryReportOrgTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0072.py b/githubkit/versions/v2022_11_28/types/group_0072.py index 3775053e3..6516deb1d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0072.py +++ b/githubkit/versions/v2022_11_28/types/group_0072.py @@ -89,6 +89,81 @@ class OrganizationFullType(TypedDict): deploy_keys_enabled_for_repositories: NotRequired[bool] +class OrganizationFullTypeForResponse(TypedDict): + """Organization Full + + Organization Full + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + name: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + blog: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + twitter_username: NotRequired[Union[str, None]] + is_verified: NotRequired[bool] + has_organization_projects: bool + has_repository_projects: bool + public_repos: int + public_gists: int + followers: int + following: int + html_url: str + type: str + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + private_gists: NotRequired[Union[int, None]] + disk_usage: NotRequired[Union[int, None]] + collaborators: NotRequired[Union[int, None]] + billing_email: NotRequired[Union[str, None]] + plan: NotRequired[OrganizationFullPropPlanTypeForResponse] + default_repository_permission: NotRequired[Union[str, None]] + default_repository_branch: NotRequired[Union[str, None]] + members_can_create_repositories: NotRequired[Union[bool, None]] + two_factor_requirement_enabled: NotRequired[Union[bool, None]] + members_allowed_repository_creation_type: NotRequired[str] + members_can_create_public_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_delete_repositories: NotRequired[bool] + members_can_change_repo_visibility: NotRequired[bool] + members_can_invite_outside_collaborators: NotRequired[bool] + members_can_delete_issues: NotRequired[bool] + display_commenter_full_name_setting_enabled: NotRequired[bool] + readers_can_create_discussions: NotRequired[bool] + members_can_create_teams: NotRequired[bool] + members_can_view_dependency_insights: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[Union[bool, None]] + web_commit_signoff_required: NotRequired[bool] + advanced_security_enabled_for_new_repositories: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: NotRequired[bool] + dependabot_security_updates_enabled_for_new_repositories: NotRequired[bool] + dependency_graph_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_custom_link_enabled: NotRequired[bool] + secret_scanning_push_protection_custom_link: NotRequired[Union[str, None]] + created_at: str + updated_at: str + archived_at: Union[str, None] + deploy_keys_enabled_for_repositories: NotRequired[bool] + + class OrganizationFullPropPlanType(TypedDict): """OrganizationFullPropPlan""" @@ -99,7 +174,19 @@ class OrganizationFullPropPlanType(TypedDict): seats: NotRequired[int] +class OrganizationFullPropPlanTypeForResponse(TypedDict): + """OrganizationFullPropPlan""" + + name: str + space: int + private_repos: int + filled_seats: NotRequired[int] + seats: NotRequired[int] + + __all__ = ( "OrganizationFullPropPlanType", + "OrganizationFullPropPlanTypeForResponse", "OrganizationFullType", + "OrganizationFullTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0073.py b/githubkit/versions/v2022_11_28/types/group_0073.py index a41742c81..2267d907e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0073.py +++ b/githubkit/versions/v2022_11_28/types/group_0073.py @@ -19,4 +19,14 @@ class ActionsCacheUsageOrgEnterpriseType(TypedDict): total_active_caches_size_in_bytes: int -__all__ = ("ActionsCacheUsageOrgEnterpriseType",) +class ActionsCacheUsageOrgEnterpriseTypeForResponse(TypedDict): + """ActionsCacheUsageOrgEnterprise""" + + total_active_caches_count: int + total_active_caches_size_in_bytes: int + + +__all__ = ( + "ActionsCacheUsageOrgEnterpriseType", + "ActionsCacheUsageOrgEnterpriseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0074.py b/githubkit/versions/v2022_11_28/types/group_0074.py index a22762330..050357ac8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0074.py +++ b/githubkit/versions/v2022_11_28/types/group_0074.py @@ -24,4 +24,19 @@ class ActionsHostedRunnerMachineSpecType(TypedDict): storage_gb: int -__all__ = ("ActionsHostedRunnerMachineSpecType",) +class ActionsHostedRunnerMachineSpecTypeForResponse(TypedDict): + """Github-owned VM details. + + Provides details of a particular machine spec. + """ + + id: str + cpu_cores: int + memory_gb: int + storage_gb: int + + +__all__ = ( + "ActionsHostedRunnerMachineSpecType", + "ActionsHostedRunnerMachineSpecTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0075.py b/githubkit/versions/v2022_11_28/types/group_0075.py index 8c651968b..88baf66ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_0075.py +++ b/githubkit/versions/v2022_11_28/types/group_0075.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0074 import ActionsHostedRunnerMachineSpecType +from .group_0074 import ( + ActionsHostedRunnerMachineSpecType, + ActionsHostedRunnerMachineSpecTypeForResponse, +) class ActionsHostedRunnerType(TypedDict): @@ -36,6 +39,26 @@ class ActionsHostedRunnerType(TypedDict): image_gen: NotRequired[bool] +class ActionsHostedRunnerTypeForResponse(TypedDict): + """GitHub-hosted hosted runner + + A Github-hosted hosted runner. + """ + + id: int + name: str + runner_group_id: NotRequired[int] + image_details: Union[None, ActionsHostedRunnerPoolImageTypeForResponse] + machine_size_details: ActionsHostedRunnerMachineSpecTypeForResponse + status: Literal["Ready", "Provisioning", "Shutdown", "Deleting", "Stuck"] + platform: str + maximum_runners: NotRequired[int] + public_ip_enabled: bool + public_ips: NotRequired[list[PublicIpTypeForResponse]] + last_active_on: NotRequired[Union[str, None]] + image_gen: NotRequired[bool] + + class ActionsHostedRunnerPoolImageType(TypedDict): """GitHub-hosted runner image details. @@ -49,6 +72,19 @@ class ActionsHostedRunnerPoolImageType(TypedDict): version: NotRequired[str] +class ActionsHostedRunnerPoolImageTypeForResponse(TypedDict): + """GitHub-hosted runner image details. + + Provides details of a hosted runner image + """ + + id: str + size_gb: int + display_name: str + source: Literal["github", "partner", "custom"] + version: NotRequired[str] + + class PublicIpType(TypedDict): """Public IP for a GitHub-hosted larger runners. @@ -60,8 +96,22 @@ class PublicIpType(TypedDict): length: NotRequired[int] +class PublicIpTypeForResponse(TypedDict): + """Public IP for a GitHub-hosted larger runners. + + Provides details of Public IP for a GitHub-hosted larger runners + """ + + enabled: NotRequired[bool] + prefix: NotRequired[str] + length: NotRequired[int] + + __all__ = ( "ActionsHostedRunnerPoolImageType", + "ActionsHostedRunnerPoolImageTypeForResponse", "ActionsHostedRunnerType", + "ActionsHostedRunnerTypeForResponse", "PublicIpType", + "PublicIpTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0076.py b/githubkit/versions/v2022_11_28/types/group_0076.py index a356719fb..45375d8d8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0076.py +++ b/githubkit/versions/v2022_11_28/types/group_0076.py @@ -26,4 +26,20 @@ class ActionsHostedRunnerCuratedImageType(TypedDict): source: Literal["github", "partner", "custom"] -__all__ = ("ActionsHostedRunnerCuratedImageType",) +class ActionsHostedRunnerCuratedImageTypeForResponse(TypedDict): + """GitHub-hosted runner image details. + + Provides details of a hosted runner image + """ + + id: str + platform: str + size_gb: int + display_name: str + source: Literal["github", "partner", "custom"] + + +__all__ = ( + "ActionsHostedRunnerCuratedImageType", + "ActionsHostedRunnerCuratedImageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0077.py b/githubkit/versions/v2022_11_28/types/group_0077.py index 7fbef21bb..2db5948ca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0077.py +++ b/githubkit/versions/v2022_11_28/types/group_0077.py @@ -18,6 +18,12 @@ class ActionsHostedRunnerLimitsType(TypedDict): public_ips: ActionsHostedRunnerLimitsPropPublicIpsType +class ActionsHostedRunnerLimitsTypeForResponse(TypedDict): + """ActionsHostedRunnerLimits""" + + public_ips: ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse + + class ActionsHostedRunnerLimitsPropPublicIpsType(TypedDict): """Static public IP Limits for GitHub-hosted Hosted Runners. @@ -28,7 +34,19 @@ class ActionsHostedRunnerLimitsPropPublicIpsType(TypedDict): current_usage: int +class ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse(TypedDict): + """Static public IP Limits for GitHub-hosted Hosted Runners. + + Provides details of static public IP limits for GitHub-hosted Hosted Runners + """ + + maximum: int + current_usage: int + + __all__ = ( "ActionsHostedRunnerLimitsPropPublicIpsType", + "ActionsHostedRunnerLimitsPropPublicIpsTypeForResponse", "ActionsHostedRunnerLimitsType", + "ActionsHostedRunnerLimitsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0078.py b/githubkit/versions/v2022_11_28/types/group_0078.py index f8ed08e06..d0c4fa7ed 100644 --- a/githubkit/versions/v2022_11_28/types/group_0078.py +++ b/githubkit/versions/v2022_11_28/types/group_0078.py @@ -21,4 +21,16 @@ class OidcCustomSubType(TypedDict): include_claim_keys: list[str] -__all__ = ("OidcCustomSubType",) +class OidcCustomSubTypeForResponse(TypedDict): + """Actions OIDC Subject customization + + Actions OIDC Subject customization + """ + + include_claim_keys: list[str] + + +__all__ = ( + "OidcCustomSubType", + "OidcCustomSubTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0079.py b/githubkit/versions/v2022_11_28/types/group_0079.py index 8bab57723..365354ac4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0079.py +++ b/githubkit/versions/v2022_11_28/types/group_0079.py @@ -23,4 +23,17 @@ class ActionsOrganizationPermissionsType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ActionsOrganizationPermissionsType",) +class ActionsOrganizationPermissionsTypeForResponse(TypedDict): + """ActionsOrganizationPermissions""" + + enabled_repositories: Literal["all", "none", "selected"] + selected_repositories_url: NotRequired[str] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + selected_actions_url: NotRequired[str] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ActionsOrganizationPermissionsType", + "ActionsOrganizationPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0080.py b/githubkit/versions/v2022_11_28/types/group_0080.py index 031b906b4..e46bf99ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0080.py +++ b/githubkit/versions/v2022_11_28/types/group_0080.py @@ -19,4 +19,14 @@ class ActionsArtifactAndLogRetentionResponseType(TypedDict): maximum_allowed_days: int -__all__ = ("ActionsArtifactAndLogRetentionResponseType",) +class ActionsArtifactAndLogRetentionResponseTypeForResponse(TypedDict): + """ActionsArtifactAndLogRetentionResponse""" + + days: int + maximum_allowed_days: int + + +__all__ = ( + "ActionsArtifactAndLogRetentionResponseType", + "ActionsArtifactAndLogRetentionResponseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0081.py b/githubkit/versions/v2022_11_28/types/group_0081.py index a0586bfe4..b040068b2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0081.py +++ b/githubkit/versions/v2022_11_28/types/group_0081.py @@ -18,4 +18,13 @@ class ActionsArtifactAndLogRetentionType(TypedDict): days: int -__all__ = ("ActionsArtifactAndLogRetentionType",) +class ActionsArtifactAndLogRetentionTypeForResponse(TypedDict): + """ActionsArtifactAndLogRetention""" + + days: int + + +__all__ = ( + "ActionsArtifactAndLogRetentionType", + "ActionsArtifactAndLogRetentionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0082.py b/githubkit/versions/v2022_11_28/types/group_0082.py index 7f4d586b8..8544502a7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0082.py +++ b/githubkit/versions/v2022_11_28/types/group_0082.py @@ -23,4 +23,17 @@ class ActionsForkPrContributorApprovalType(TypedDict): ] -__all__ = ("ActionsForkPrContributorApprovalType",) +class ActionsForkPrContributorApprovalTypeForResponse(TypedDict): + """ActionsForkPrContributorApproval""" + + approval_policy: Literal[ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors", + ] + + +__all__ = ( + "ActionsForkPrContributorApprovalType", + "ActionsForkPrContributorApprovalTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0083.py b/githubkit/versions/v2022_11_28/types/group_0083.py index ad4c02b75..231f9bbc2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0083.py +++ b/githubkit/versions/v2022_11_28/types/group_0083.py @@ -21,4 +21,16 @@ class ActionsForkPrWorkflowsPrivateReposType(TypedDict): require_approval_for_fork_pr_workflows: bool -__all__ = ("ActionsForkPrWorkflowsPrivateReposType",) +class ActionsForkPrWorkflowsPrivateReposTypeForResponse(TypedDict): + """ActionsForkPrWorkflowsPrivateRepos""" + + run_workflows_from_fork_pull_requests: bool + send_write_tokens_to_workflows: bool + send_secrets_and_variables: bool + require_approval_for_fork_pr_workflows: bool + + +__all__ = ( + "ActionsForkPrWorkflowsPrivateReposType", + "ActionsForkPrWorkflowsPrivateReposTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0084.py b/githubkit/versions/v2022_11_28/types/group_0084.py index 89ae511cb..4cfdd0a68 100644 --- a/githubkit/versions/v2022_11_28/types/group_0084.py +++ b/githubkit/versions/v2022_11_28/types/group_0084.py @@ -21,4 +21,16 @@ class ActionsForkPrWorkflowsPrivateReposRequestType(TypedDict): require_approval_for_fork_pr_workflows: NotRequired[bool] -__all__ = ("ActionsForkPrWorkflowsPrivateReposRequestType",) +class ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse(TypedDict): + """ActionsForkPrWorkflowsPrivateReposRequest""" + + run_workflows_from_fork_pull_requests: bool + send_write_tokens_to_workflows: NotRequired[bool] + send_secrets_and_variables: NotRequired[bool] + require_approval_for_fork_pr_workflows: NotRequired[bool] + + +__all__ = ( + "ActionsForkPrWorkflowsPrivateReposRequestType", + "ActionsForkPrWorkflowsPrivateReposRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0085.py b/githubkit/versions/v2022_11_28/types/group_0085.py index 7abe76199..faba8086e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0085.py +++ b/githubkit/versions/v2022_11_28/types/group_0085.py @@ -20,4 +20,15 @@ class SelectedActionsType(TypedDict): patterns_allowed: NotRequired[list[str]] -__all__ = ("SelectedActionsType",) +class SelectedActionsTypeForResponse(TypedDict): + """SelectedActions""" + + github_owned_allowed: NotRequired[bool] + verified_allowed: NotRequired[bool] + patterns_allowed: NotRequired[list[str]] + + +__all__ = ( + "SelectedActionsType", + "SelectedActionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0086.py b/githubkit/versions/v2022_11_28/types/group_0086.py index 76c9f193a..238ed0b7b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0086.py +++ b/githubkit/versions/v2022_11_28/types/group_0086.py @@ -20,4 +20,14 @@ class SelfHostedRunnersSettingsType(TypedDict): selected_repositories_url: NotRequired[str] -__all__ = ("SelfHostedRunnersSettingsType",) +class SelfHostedRunnersSettingsTypeForResponse(TypedDict): + """SelfHostedRunnersSettings""" + + enabled_repositories: Literal["all", "selected", "none"] + selected_repositories_url: NotRequired[str] + + +__all__ = ( + "SelfHostedRunnersSettingsType", + "SelfHostedRunnersSettingsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0087.py b/githubkit/versions/v2022_11_28/types/group_0087.py index 87512f917..4a46bcf5a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0087.py +++ b/githubkit/versions/v2022_11_28/types/group_0087.py @@ -20,4 +20,14 @@ class ActionsGetDefaultWorkflowPermissionsType(TypedDict): can_approve_pull_request_reviews: bool -__all__ = ("ActionsGetDefaultWorkflowPermissionsType",) +class ActionsGetDefaultWorkflowPermissionsTypeForResponse(TypedDict): + """ActionsGetDefaultWorkflowPermissions""" + + default_workflow_permissions: Literal["read", "write"] + can_approve_pull_request_reviews: bool + + +__all__ = ( + "ActionsGetDefaultWorkflowPermissionsType", + "ActionsGetDefaultWorkflowPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0088.py b/githubkit/versions/v2022_11_28/types/group_0088.py index 0e0c798a4..768855370 100644 --- a/githubkit/versions/v2022_11_28/types/group_0088.py +++ b/githubkit/versions/v2022_11_28/types/group_0088.py @@ -20,4 +20,14 @@ class ActionsSetDefaultWorkflowPermissionsType(TypedDict): can_approve_pull_request_reviews: NotRequired[bool] -__all__ = ("ActionsSetDefaultWorkflowPermissionsType",) +class ActionsSetDefaultWorkflowPermissionsTypeForResponse(TypedDict): + """ActionsSetDefaultWorkflowPermissions""" + + default_workflow_permissions: NotRequired[Literal["read", "write"]] + can_approve_pull_request_reviews: NotRequired[bool] + + +__all__ = ( + "ActionsSetDefaultWorkflowPermissionsType", + "ActionsSetDefaultWorkflowPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0089.py b/githubkit/versions/v2022_11_28/types/group_0089.py index aab282720..493400957 100644 --- a/githubkit/versions/v2022_11_28/types/group_0089.py +++ b/githubkit/versions/v2022_11_28/types/group_0089.py @@ -24,4 +24,18 @@ class RunnerLabelType(TypedDict): type: NotRequired[Literal["read-only", "custom"]] -__all__ = ("RunnerLabelType",) +class RunnerLabelTypeForResponse(TypedDict): + """Self hosted runner label + + A label for a self hosted runner + """ + + id: NotRequired[int] + name: str + type: NotRequired[Literal["read-only", "custom"]] + + +__all__ = ( + "RunnerLabelType", + "RunnerLabelTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0090.py b/githubkit/versions/v2022_11_28/types/group_0090.py index f935d7b98..760cda565 100644 --- a/githubkit/versions/v2022_11_28/types/group_0090.py +++ b/githubkit/versions/v2022_11_28/types/group_0090.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0089 import RunnerLabelType +from .group_0089 import RunnerLabelType, RunnerLabelTypeForResponse class RunnerType(TypedDict): @@ -30,4 +30,23 @@ class RunnerType(TypedDict): ephemeral: NotRequired[bool] -__all__ = ("RunnerType",) +class RunnerTypeForResponse(TypedDict): + """Self hosted runners + + A self hosted runner + """ + + id: int + runner_group_id: NotRequired[int] + name: str + os: str + status: str + busy: bool + labels: list[RunnerLabelTypeForResponse] + ephemeral: NotRequired[bool] + + +__all__ = ( + "RunnerType", + "RunnerTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0091.py b/githubkit/versions/v2022_11_28/types/group_0091.py index c8ef6e908..18d5627d7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0091.py +++ b/githubkit/versions/v2022_11_28/types/group_0091.py @@ -26,4 +26,21 @@ class RunnerApplicationType(TypedDict): sha256_checksum: NotRequired[str] -__all__ = ("RunnerApplicationType",) +class RunnerApplicationTypeForResponse(TypedDict): + """Runner Application + + Runner Application + """ + + os: str + architecture: str + download_url: str + filename: str + temp_download_token: NotRequired[str] + sha256_checksum: NotRequired[str] + + +__all__ = ( + "RunnerApplicationType", + "RunnerApplicationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0092.py b/githubkit/versions/v2022_11_28/types/group_0092.py index b1d20d9db..692402933 100644 --- a/githubkit/versions/v2022_11_28/types/group_0092.py +++ b/githubkit/versions/v2022_11_28/types/group_0092.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class AuthenticationTokenType(TypedDict): @@ -30,6 +30,20 @@ class AuthenticationTokenType(TypedDict): repository_selection: NotRequired[Literal["all", "selected"]] +class AuthenticationTokenTypeForResponse(TypedDict): + """Authentication Token + + Authentication Token + """ + + token: str + expires_at: str + permissions: NotRequired[AuthenticationTokenPropPermissionsTypeForResponse] + repositories: NotRequired[list[RepositoryTypeForResponse]] + single_file: NotRequired[Union[str, None]] + repository_selection: NotRequired[Literal["all", "selected"]] + + class AuthenticationTokenPropPermissionsType(TypedDict): """AuthenticationTokenPropPermissions @@ -38,7 +52,17 @@ class AuthenticationTokenPropPermissionsType(TypedDict): """ +class AuthenticationTokenPropPermissionsTypeForResponse(TypedDict): + """AuthenticationTokenPropPermissions + + Examples: + {'issues': 'read', 'deployments': 'write'} + """ + + __all__ = ( "AuthenticationTokenPropPermissionsType", + "AuthenticationTokenPropPermissionsTypeForResponse", "AuthenticationTokenType", + "AuthenticationTokenTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0093.py b/githubkit/versions/v2022_11_28/types/group_0093.py index f67033a97..b1aa2f916 100644 --- a/githubkit/versions/v2022_11_28/types/group_0093.py +++ b/githubkit/versions/v2022_11_28/types/group_0093.py @@ -26,4 +26,21 @@ class ActionsPublicKeyType(TypedDict): created_at: NotRequired[str] -__all__ = ("ActionsPublicKeyType",) +class ActionsPublicKeyTypeForResponse(TypedDict): + """ActionsPublicKey + + The public key used for setting Actions Secrets. + """ + + key_id: str + key: str + id: NotRequired[int] + url: NotRequired[str] + title: NotRequired[str] + created_at: NotRequired[str] + + +__all__ = ( + "ActionsPublicKeyType", + "ActionsPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0094.py b/githubkit/versions/v2022_11_28/types/group_0094.py index bbe3151b5..7da21e755 100644 --- a/githubkit/versions/v2022_11_28/types/group_0094.py +++ b/githubkit/versions/v2022_11_28/types/group_0094.py @@ -37,4 +37,31 @@ class TeamSimpleType(TypedDict): enterprise_id: NotRequired[int] -__all__ = ("TeamSimpleType",) +class TeamSimpleTypeForResponse(TypedDict): + """Team Simple + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + url: str + members_url: str + name: str + description: Union[str, None] + permission: str + privacy: NotRequired[str] + notification_setting: NotRequired[str] + html_url: str + repositories_url: str + slug: str + ldap_dn: NotRequired[str] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + +__all__ = ( + "TeamSimpleType", + "TeamSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0095.py b/githubkit/versions/v2022_11_28/types/group_0095.py index 65b34cd10..a5c6181ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0095.py +++ b/githubkit/versions/v2022_11_28/types/group_0095.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0094 import TeamSimpleType +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse class TeamType(TypedDict): @@ -40,6 +40,31 @@ class TeamType(TypedDict): parent: Union[None, TeamSimpleType] +class TeamTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[str] + notification_setting: NotRequired[str] + permission: str + permissions: NotRequired[TeamPropPermissionsTypeForResponse] + url: str + html_url: str + members_url: str + repositories_url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + parent: Union[None, TeamSimpleTypeForResponse] + + class TeamPropPermissionsType(TypedDict): """TeamPropPermissions""" @@ -50,7 +75,19 @@ class TeamPropPermissionsType(TypedDict): admin: bool +class TeamPropPermissionsTypeForResponse(TypedDict): + """TeamPropPermissions""" + + pull: bool + triage: bool + push: bool + maintain: bool + admin: bool + + __all__ = ( "TeamPropPermissionsType", + "TeamPropPermissionsTypeForResponse", "TeamType", + "TeamTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0096.py b/githubkit/versions/v2022_11_28/types/group_0096.py index 2fb8e6aef..a34204461 100644 --- a/githubkit/versions/v2022_11_28/types/group_0096.py +++ b/githubkit/versions/v2022_11_28/types/group_0096.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class CampaignSummaryType(TypedDict): @@ -38,6 +38,27 @@ class CampaignSummaryType(TypedDict): alert_stats: NotRequired[CampaignSummaryPropAlertStatsType] +class CampaignSummaryTypeForResponse(TypedDict): + """Campaign summary + + The campaign metadata and alert stats. + """ + + number: int + created_at: str + updated_at: str + name: NotRequired[str] + description: str + managers: list[SimpleUserTypeForResponse] + team_managers: NotRequired[list[TeamTypeForResponse]] + published_at: NotRequired[str] + ends_at: str + closed_at: NotRequired[Union[str, None]] + state: Literal["open", "closed"] + contact_link: Union[str, None] + alert_stats: NotRequired[CampaignSummaryPropAlertStatsTypeForResponse] + + class CampaignSummaryPropAlertStatsType(TypedDict): """CampaignSummaryPropAlertStats""" @@ -46,7 +67,17 @@ class CampaignSummaryPropAlertStatsType(TypedDict): in_progress_count: int +class CampaignSummaryPropAlertStatsTypeForResponse(TypedDict): + """CampaignSummaryPropAlertStats""" + + open_count: int + closed_count: int + in_progress_count: int + + __all__ = ( "CampaignSummaryPropAlertStatsType", + "CampaignSummaryPropAlertStatsTypeForResponse", "CampaignSummaryType", + "CampaignSummaryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0097.py b/githubkit/versions/v2022_11_28/types/group_0097.py index 3319f338b..f27385edc 100644 --- a/githubkit/versions/v2022_11_28/types/group_0097.py +++ b/githubkit/versions/v2022_11_28/types/group_0097.py @@ -29,4 +29,23 @@ class CodeScanningAlertRuleSummaryType(TypedDict): help_uri: NotRequired[Union[str, None]] -__all__ = ("CodeScanningAlertRuleSummaryType",) +class CodeScanningAlertRuleSummaryTypeForResponse(TypedDict): + """CodeScanningAlertRuleSummary""" + + id: NotRequired[Union[str, None]] + name: NotRequired[str] + severity: NotRequired[Union[None, Literal["none", "note", "warning", "error"]]] + security_severity_level: NotRequired[ + Union[None, Literal["low", "medium", "high", "critical"]] + ] + description: NotRequired[str] + full_description: NotRequired[str] + tags: NotRequired[Union[list[str], None]] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningAlertRuleSummaryType", + "CodeScanningAlertRuleSummaryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0098.py b/githubkit/versions/v2022_11_28/types/group_0098.py index 33e4a93fd..de8832db1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0098.py +++ b/githubkit/versions/v2022_11_28/types/group_0098.py @@ -21,4 +21,15 @@ class CodeScanningAnalysisToolType(TypedDict): guid: NotRequired[Union[str, None]] -__all__ = ("CodeScanningAnalysisToolType",) +class CodeScanningAnalysisToolTypeForResponse(TypedDict): + """CodeScanningAnalysisTool""" + + name: NotRequired[str] + version: NotRequired[Union[str, None]] + guid: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningAnalysisToolType", + "CodeScanningAnalysisToolTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0099.py b/githubkit/versions/v2022_11_28/types/group_0099.py index d84b22102..1fc2fcc2d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0099.py +++ b/githubkit/versions/v2022_11_28/types/group_0099.py @@ -34,6 +34,27 @@ class CodeScanningAlertInstanceType(TypedDict): ] +class CodeScanningAlertInstanceTypeForResponse(TypedDict): + """CodeScanningAlertInstance""" + + ref: NotRequired[str] + analysis_key: NotRequired[str] + environment: NotRequired[str] + category: NotRequired[str] + state: NotRequired[Union[None, Literal["open", "dismissed", "fixed"]]] + commit_sha: NotRequired[str] + message: NotRequired[CodeScanningAlertInstancePropMessageTypeForResponse] + location: NotRequired[CodeScanningAlertLocationTypeForResponse] + html_url: NotRequired[str] + classifications: NotRequired[ + list[ + Union[ + None, Literal["source", "generated", "test", "library", "documentation"] + ] + ] + ] + + class CodeScanningAlertLocationType(TypedDict): """CodeScanningAlertLocation @@ -47,14 +68,36 @@ class CodeScanningAlertLocationType(TypedDict): end_column: NotRequired[int] +class CodeScanningAlertLocationTypeForResponse(TypedDict): + """CodeScanningAlertLocation + + Describe a region within a file for the alert. + """ + + path: NotRequired[str] + start_line: NotRequired[int] + end_line: NotRequired[int] + start_column: NotRequired[int] + end_column: NotRequired[int] + + class CodeScanningAlertInstancePropMessageType(TypedDict): """CodeScanningAlertInstancePropMessage""" text: NotRequired[str] +class CodeScanningAlertInstancePropMessageTypeForResponse(TypedDict): + """CodeScanningAlertInstancePropMessage""" + + text: NotRequired[str] + + __all__ = ( "CodeScanningAlertInstancePropMessageType", + "CodeScanningAlertInstancePropMessageTypeForResponse", "CodeScanningAlertInstanceType", + "CodeScanningAlertInstanceTypeForResponse", "CodeScanningAlertLocationType", + "CodeScanningAlertLocationTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0100.py b/githubkit/versions/v2022_11_28/types/group_0100.py index 542bcd4bb..1bd41f557 100644 --- a/githubkit/versions/v2022_11_28/types/group_0100.py +++ b/githubkit/versions/v2022_11_28/types/group_0100.py @@ -13,11 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0032 import SimpleRepositoryType -from .group_0097 import CodeScanningAlertRuleSummaryType -from .group_0098 import CodeScanningAnalysisToolType -from .group_0099 import CodeScanningAlertInstanceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse +from .group_0097 import ( + CodeScanningAlertRuleSummaryType, + CodeScanningAlertRuleSummaryTypeForResponse, +) +from .group_0098 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0099 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) class CodeScanningOrganizationAlertItemsType(TypedDict): @@ -45,4 +54,32 @@ class CodeScanningOrganizationAlertItemsType(TypedDict): assignees: NotRequired[list[SimpleUserType]] -__all__ = ("CodeScanningOrganizationAlertItemsType",) +class CodeScanningOrganizationAlertItemsTypeForResponse(TypedDict): + """CodeScanningOrganizationAlertItems""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleSummaryTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + repository: SimpleRepositoryTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + +__all__ = ( + "CodeScanningOrganizationAlertItemsType", + "CodeScanningOrganizationAlertItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0101.py b/githubkit/versions/v2022_11_28/types/group_0101.py index febb2d4f6..cc9230324 100644 --- a/githubkit/versions/v2022_11_28/types/group_0101.py +++ b/githubkit/versions/v2022_11_28/types/group_0101.py @@ -28,4 +28,22 @@ class CodespaceMachineType(TypedDict): prebuild_availability: Union[None, Literal["none", "ready", "in_progress"]] -__all__ = ("CodespaceMachineType",) +class CodespaceMachineTypeForResponse(TypedDict): + """Codespace machine + + A description of the machine powering a codespace. + """ + + name: str + display_name: str + operating_system: str + storage_in_bytes: int + memory_in_bytes: int + cpus: int + prebuild_availability: Union[None, Literal["none", "ready", "in_progress"]] + + +__all__ = ( + "CodespaceMachineType", + "CodespaceMachineTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0102.py b/githubkit/versions/v2022_11_28/types/group_0102.py index cac8985a8..f1131fb6a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0102.py +++ b/githubkit/versions/v2022_11_28/types/group_0102.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0061 import MinimalRepositoryType -from .group_0101 import CodespaceMachineType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0101 import CodespaceMachineType, CodespaceMachineTypeForResponse class CodespaceType(TypedDict): @@ -76,6 +76,64 @@ class CodespaceType(TypedDict): last_known_stop_notice: NotRequired[Union[str, None]] +class CodespaceTypeForResponse(TypedDict): + """Codespace + + A codespace. + """ + + id: int + name: str + display_name: NotRequired[Union[str, None]] + environment_id: Union[str, None] + owner: SimpleUserTypeForResponse + billable_owner: SimpleUserTypeForResponse + repository: MinimalRepositoryTypeForResponse + machine: Union[None, CodespaceMachineTypeForResponse] + devcontainer_path: NotRequired[Union[str, None]] + prebuild: Union[bool, None] + created_at: str + updated_at: str + last_used_at: str + state: Literal[ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding", + ] + url: str + git_status: CodespacePropGitStatusTypeForResponse + location: Literal["EastUs", "SouthEastAsia", "WestEurope", "WestUs2"] + idle_timeout_minutes: Union[int, None] + web_url: str + machines_url: str + start_url: str + stop_url: str + publish_url: NotRequired[Union[str, None]] + pulls_url: Union[str, None] + recent_folders: list[str] + runtime_constraints: NotRequired[CodespacePropRuntimeConstraintsTypeForResponse] + pending_operation: NotRequired[Union[bool, None]] + pending_operation_disabled_reason: NotRequired[Union[str, None]] + idle_timeout_notice: NotRequired[Union[str, None]] + retention_period_minutes: NotRequired[Union[int, None]] + retention_expires_at: NotRequired[Union[str, None]] + last_known_stop_notice: NotRequired[Union[str, None]] + + class CodespacePropGitStatusType(TypedDict): """CodespacePropGitStatus @@ -89,14 +147,36 @@ class CodespacePropGitStatusType(TypedDict): ref: NotRequired[str] +class CodespacePropGitStatusTypeForResponse(TypedDict): + """CodespacePropGitStatus + + Details about the codespace's git repository. + """ + + ahead: NotRequired[int] + behind: NotRequired[int] + has_unpushed_changes: NotRequired[bool] + has_uncommitted_changes: NotRequired[bool] + ref: NotRequired[str] + + class CodespacePropRuntimeConstraintsType(TypedDict): """CodespacePropRuntimeConstraints""" allowed_port_privacy_settings: NotRequired[Union[list[str], None]] +class CodespacePropRuntimeConstraintsTypeForResponse(TypedDict): + """CodespacePropRuntimeConstraints""" + + allowed_port_privacy_settings: NotRequired[Union[list[str], None]] + + __all__ = ( "CodespacePropGitStatusType", + "CodespacePropGitStatusTypeForResponse", "CodespacePropRuntimeConstraintsType", + "CodespacePropRuntimeConstraintsTypeForResponse", "CodespaceType", + "CodespaceTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0103.py b/githubkit/versions/v2022_11_28/types/group_0103.py index 3f68d2a84..50f181c4a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0103.py +++ b/githubkit/versions/v2022_11_28/types/group_0103.py @@ -26,4 +26,21 @@ class CodespacesPublicKeyType(TypedDict): created_at: NotRequired[str] -__all__ = ("CodespacesPublicKeyType",) +class CodespacesPublicKeyTypeForResponse(TypedDict): + """CodespacesPublicKey + + The public key used for setting Codespaces secrets. + """ + + key_id: str + key: str + id: NotRequired[int] + url: NotRequired[str] + title: NotRequired[str] + created_at: NotRequired[str] + + +__all__ = ( + "CodespacesPublicKeyType", + "CodespacesPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0104.py b/githubkit/versions/v2022_11_28/types/group_0104.py index 3446a1559..0e6503879 100644 --- a/githubkit/versions/v2022_11_28/types/group_0104.py +++ b/githubkit/versions/v2022_11_28/types/group_0104.py @@ -31,6 +31,24 @@ class CopilotOrganizationDetailsType(TypedDict): plan_type: NotRequired[Literal["business", "enterprise"]] +class CopilotOrganizationDetailsTypeForResponse(TypedDict): + """Copilot Organization Details + + Information about the seat breakdown and policies set for an organization with a + Copilot Business or Copilot Enterprise subscription. + """ + + seat_breakdown: CopilotOrganizationSeatBreakdownTypeForResponse + public_code_suggestions: Literal["allow", "block", "unconfigured"] + ide_chat: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + platform_chat: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + cli: NotRequired[Literal["enabled", "disabled", "unconfigured"]] + seat_management_setting: Literal[ + "assign_all", "assign_selected", "disabled", "unconfigured" + ] + plan_type: NotRequired[Literal["business", "enterprise"]] + + class CopilotOrganizationSeatBreakdownType(TypedDict): """Copilot Seat Breakdown @@ -45,7 +63,23 @@ class CopilotOrganizationSeatBreakdownType(TypedDict): inactive_this_cycle: NotRequired[int] +class CopilotOrganizationSeatBreakdownTypeForResponse(TypedDict): + """Copilot Seat Breakdown + + The breakdown of Copilot Business seats for the organization. + """ + + total: NotRequired[int] + added_this_cycle: NotRequired[int] + pending_cancellation: NotRequired[int] + pending_invitation: NotRequired[int] + active_this_cycle: NotRequired[int] + inactive_this_cycle: NotRequired[int] + + __all__ = ( "CopilotOrganizationDetailsType", + "CopilotOrganizationDetailsTypeForResponse", "CopilotOrganizationSeatBreakdownType", + "CopilotOrganizationSeatBreakdownTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0105.py b/githubkit/versions/v2022_11_28/types/group_0105.py index 6efb54aaa..00a2dbac0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0105.py +++ b/githubkit/versions/v2022_11_28/types/group_0105.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0039 import OrganizationSimpleType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0039 import OrganizationSimpleType, OrganizationSimpleTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class CopilotSeatDetailsType(TypedDict): @@ -37,6 +37,27 @@ class CopilotSeatDetailsType(TypedDict): plan_type: NotRequired[Literal["business", "enterprise", "unknown"]] +class CopilotSeatDetailsTypeForResponse(TypedDict): + """Copilot Business Seat Detail + + Information about a Copilot Business seat assignment for a user, team, or + organization. + """ + + assignee: NotRequired[Union[None, SimpleUserTypeForResponse]] + organization: NotRequired[Union[None, OrganizationSimpleTypeForResponse]] + assigning_team: NotRequired[ + Union[TeamTypeForResponse, EnterpriseTeamTypeForResponse, None] + ] + pending_cancellation_date: NotRequired[Union[str, None]] + last_activity_at: NotRequired[Union[str, None]] + last_activity_editor: NotRequired[Union[str, None]] + last_authenticated_at: NotRequired[Union[str, None]] + created_at: str + updated_at: NotRequired[str] + plan_type: NotRequired[Literal["business", "enterprise", "unknown"]] + + class EnterpriseTeamType(TypedDict): """Enterprise Team @@ -58,6 +79,27 @@ class EnterpriseTeamType(TypedDict): updated_at: datetime +class EnterpriseTeamTypeForResponse(TypedDict): + """Enterprise Team + + Group of enterprise owners and/or members + """ + + id: int + name: str + description: NotRequired[str] + slug: str + url: str + sync_to_organizations: NotRequired[str] + organization_selection_type: NotRequired[str] + group_id: Union[str, None] + group_name: NotRequired[Union[str, None]] + html_url: str + members_url: str + created_at: str + updated_at: str + + class OrgsOrgCopilotBillingSeatsGetResponse200Type(TypedDict): """OrgsOrgCopilotBillingSeatsGetResponse200""" @@ -65,8 +107,18 @@ class OrgsOrgCopilotBillingSeatsGetResponse200Type(TypedDict): seats: NotRequired[list[CopilotSeatDetailsType]] +class OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSeatsGetResponse200""" + + total_seats: NotRequired[int] + seats: NotRequired[list[CopilotSeatDetailsTypeForResponse]] + + __all__ = ( "CopilotSeatDetailsType", + "CopilotSeatDetailsTypeForResponse", "EnterpriseTeamType", + "EnterpriseTeamTypeForResponse", "OrgsOrgCopilotBillingSeatsGetResponse200Type", + "OrgsOrgCopilotBillingSeatsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0106.py b/githubkit/versions/v2022_11_28/types/group_0106.py index c28ab10cb..f3b94c38d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0106.py +++ b/githubkit/versions/v2022_11_28/types/group_0106.py @@ -33,6 +33,25 @@ class CopilotUsageMetricsDayType(TypedDict): ] +class CopilotUsageMetricsDayTypeForResponse(TypedDict): + """Copilot Usage Metrics + + Copilot usage metrics for a given day. + """ + + date: str + total_active_users: NotRequired[int] + total_engaged_users: NotRequired[int] + copilot_ide_code_completions: NotRequired[ + Union[CopilotIdeCodeCompletionsTypeForResponse, None] + ] + copilot_ide_chat: NotRequired[Union[CopilotIdeChatTypeForResponse, None]] + copilot_dotcom_chat: NotRequired[Union[CopilotDotcomChatTypeForResponse, None]] + copilot_dotcom_pull_requests: NotRequired[ + Union[CopilotDotcomPullRequestsTypeForResponse, None] + ] + + class CopilotDotcomChatType(TypedDict): """CopilotDotcomChat @@ -43,6 +62,16 @@ class CopilotDotcomChatType(TypedDict): models: NotRequired[list[CopilotDotcomChatPropModelsItemsType]] +class CopilotDotcomChatTypeForResponse(TypedDict): + """CopilotDotcomChat + + Usage metrics for Copilot Chat in GitHub.com + """ + + total_engaged_users: NotRequired[int] + models: NotRequired[list[CopilotDotcomChatPropModelsItemsTypeForResponse]] + + class CopilotDotcomChatPropModelsItemsType(TypedDict): """CopilotDotcomChatPropModelsItems""" @@ -53,6 +82,16 @@ class CopilotDotcomChatPropModelsItemsType(TypedDict): total_chats: NotRequired[int] +class CopilotDotcomChatPropModelsItemsTypeForResponse(TypedDict): + """CopilotDotcomChatPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + total_chats: NotRequired[int] + + class CopilotIdeChatType(TypedDict): """CopilotIdeChat @@ -63,6 +102,16 @@ class CopilotIdeChatType(TypedDict): editors: NotRequired[list[CopilotIdeChatPropEditorsItemsType]] +class CopilotIdeChatTypeForResponse(TypedDict): + """CopilotIdeChat + + Usage metrics for Copilot Chat in the IDE. + """ + + total_engaged_users: NotRequired[int] + editors: NotRequired[list[CopilotIdeChatPropEditorsItemsTypeForResponse]] + + class CopilotIdeChatPropEditorsItemsType(TypedDict): """CopilotIdeChatPropEditorsItems @@ -74,6 +123,19 @@ class CopilotIdeChatPropEditorsItemsType(TypedDict): models: NotRequired[list[CopilotIdeChatPropEditorsItemsPropModelsItemsType]] +class CopilotIdeChatPropEditorsItemsTypeForResponse(TypedDict): + """CopilotIdeChatPropEditorsItems + + Copilot Chat metrics, for active editors. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse] + ] + + class CopilotIdeChatPropEditorsItemsPropModelsItemsType(TypedDict): """CopilotIdeChatPropEditorsItemsPropModelsItems""" @@ -86,6 +148,18 @@ class CopilotIdeChatPropEditorsItemsPropModelsItemsType(TypedDict): total_chat_copy_events: NotRequired[int] +class CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse(TypedDict): + """CopilotIdeChatPropEditorsItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + total_chats: NotRequired[int] + total_chat_insertion_events: NotRequired[int] + total_chat_copy_events: NotRequired[int] + + class CopilotDotcomPullRequestsType(TypedDict): """CopilotDotcomPullRequests @@ -96,6 +170,18 @@ class CopilotDotcomPullRequestsType(TypedDict): repositories: NotRequired[list[CopilotDotcomPullRequestsPropRepositoriesItemsType]] +class CopilotDotcomPullRequestsTypeForResponse(TypedDict): + """CopilotDotcomPullRequests + + Usage metrics for Copilot for pull requests. + """ + + total_engaged_users: NotRequired[int] + repositories: NotRequired[ + list[CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse] + ] + + class CopilotDotcomPullRequestsPropRepositoriesItemsType(TypedDict): """CopilotDotcomPullRequestsPropRepositoriesItems""" @@ -106,6 +192,18 @@ class CopilotDotcomPullRequestsPropRepositoriesItemsType(TypedDict): ] +class CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse(TypedDict): + """CopilotDotcomPullRequestsPropRepositoriesItems""" + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[ + CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse + ] + ] + + class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType(TypedDict): """CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItems""" @@ -116,6 +214,18 @@ class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType(TypedDic total_engaged_users: NotRequired[int] +class CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse( + TypedDict +): + """CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_pr_summaries_created: NotRequired[int] + total_engaged_users: NotRequired[int] + + class CopilotIdeCodeCompletionsType(TypedDict): """CopilotIdeCodeCompletions @@ -127,6 +237,19 @@ class CopilotIdeCodeCompletionsType(TypedDict): editors: NotRequired[list[CopilotIdeCodeCompletionsPropEditorsItemsType]] +class CopilotIdeCodeCompletionsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletions + + Usage metrics for Copilot editor code completions in the IDE. + """ + + total_engaged_users: NotRequired[int] + languages: NotRequired[ + list[CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse] + ] + editors: NotRequired[list[CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse]] + + class CopilotIdeCodeCompletionsPropLanguagesItemsType(TypedDict): """CopilotIdeCodeCompletionsPropLanguagesItems @@ -138,6 +261,17 @@ class CopilotIdeCodeCompletionsPropLanguagesItemsType(TypedDict): total_engaged_users: NotRequired[int] +class CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletionsPropLanguagesItems + + Usage metrics for a given language for the given editor for Copilot code + completions. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + + class CopilotIdeCodeCompletionsPropEditorsItemsType(TypedDict): """CopilotIdeCodeCompletionsPropEditorsItems @@ -151,6 +285,19 @@ class CopilotIdeCodeCompletionsPropEditorsItemsType(TypedDict): ] +class CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse(TypedDict): + """CopilotIdeCodeCompletionsPropEditorsItems + + Copilot code completion metrics for active editors. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + models: NotRequired[ + list[CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse] + ] + + class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType(TypedDict): """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItems""" @@ -165,6 +312,22 @@ class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType(TypedDict): ] +class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse( + TypedDict +): + """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItems""" + + name: NotRequired[str] + is_custom_model: NotRequired[bool] + custom_model_training_date: NotRequired[Union[str, None]] + total_engaged_users: NotRequired[int] + languages: NotRequired[ + list[ + CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse + ] + ] + + class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType( TypedDict ): @@ -182,19 +345,50 @@ class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItems total_code_lines_accepted: NotRequired[int] +class CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse( + TypedDict +): + """CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItems + + Usage metrics for a given language for the given editor for Copilot code + completions. + """ + + name: NotRequired[str] + total_engaged_users: NotRequired[int] + total_code_suggestions: NotRequired[int] + total_code_acceptances: NotRequired[int] + total_code_lines_suggested: NotRequired[int] + total_code_lines_accepted: NotRequired[int] + + __all__ = ( "CopilotDotcomChatPropModelsItemsType", + "CopilotDotcomChatPropModelsItemsTypeForResponse", "CopilotDotcomChatType", + "CopilotDotcomChatTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsPropModelsItemsTypeForResponse", "CopilotDotcomPullRequestsPropRepositoriesItemsType", + "CopilotDotcomPullRequestsPropRepositoriesItemsTypeForResponse", "CopilotDotcomPullRequestsType", + "CopilotDotcomPullRequestsTypeForResponse", "CopilotIdeChatPropEditorsItemsPropModelsItemsType", + "CopilotIdeChatPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeChatPropEditorsItemsType", + "CopilotIdeChatPropEditorsItemsTypeForResponse", "CopilotIdeChatType", + "CopilotIdeChatTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsPropModelsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropEditorsItemsType", + "CopilotIdeCodeCompletionsPropEditorsItemsTypeForResponse", "CopilotIdeCodeCompletionsPropLanguagesItemsType", + "CopilotIdeCodeCompletionsPropLanguagesItemsTypeForResponse", "CopilotIdeCodeCompletionsType", + "CopilotIdeCodeCompletionsTypeForResponse", "CopilotUsageMetricsDayType", + "CopilotUsageMetricsDayTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0107.py b/githubkit/versions/v2022_11_28/types/group_0107.py index fb3981a7a..f80f5f668 100644 --- a/githubkit/versions/v2022_11_28/types/group_0107.py +++ b/githubkit/versions/v2022_11_28/types/group_0107.py @@ -22,4 +22,17 @@ class DependabotPublicKeyType(TypedDict): key: str -__all__ = ("DependabotPublicKeyType",) +class DependabotPublicKeyTypeForResponse(TypedDict): + """DependabotPublicKey + + The public key used for setting Dependabot Secrets. + """ + + key_id: str + key: str + + +__all__ = ( + "DependabotPublicKeyType", + "DependabotPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0108.py b/githubkit/versions/v2022_11_28/types/group_0108.py index 0341cf749..535431733 100644 --- a/githubkit/versions/v2022_11_28/types/group_0108.py +++ b/githubkit/versions/v2022_11_28/types/group_0108.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0061 import MinimalRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class PackageType(TypedDict): @@ -36,4 +36,26 @@ class PackageType(TypedDict): updated_at: datetime -__all__ = ("PackageType",) +class PackageTypeForResponse(TypedDict): + """Package + + A software package + """ + + id: int + name: str + package_type: Literal["npm", "maven", "rubygems", "docker", "nuget", "container"] + url: str + html_url: str + version_count: int + visibility: Literal["private", "public"] + owner: NotRequired[Union[None, SimpleUserTypeForResponse]] + repository: NotRequired[Union[None, MinimalRepositoryTypeForResponse]] + created_at: str + updated_at: str + + +__all__ = ( + "PackageType", + "PackageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0109.py b/githubkit/versions/v2022_11_28/types/group_0109.py index 23c54a38b..23e9def92 100644 --- a/githubkit/versions/v2022_11_28/types/group_0109.py +++ b/githubkit/versions/v2022_11_28/types/group_0109.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationInvitationType(TypedDict): @@ -35,4 +35,27 @@ class OrganizationInvitationType(TypedDict): invitation_source: NotRequired[str] -__all__ = ("OrganizationInvitationType",) +class OrganizationInvitationTypeForResponse(TypedDict): + """Organization Invitation + + Organization Invitation + """ + + id: int + login: Union[str, None] + email: Union[str, None] + role: str + created_at: str + failed_at: NotRequired[Union[str, None]] + failed_reason: NotRequired[Union[str, None]] + inviter: SimpleUserTypeForResponse + team_count: int + node_id: str + invitation_teams_url: str + invitation_source: NotRequired[str] + + +__all__ = ( + "OrganizationInvitationType", + "OrganizationInvitationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0110.py b/githubkit/versions/v2022_11_28/types/group_0110.py index dd28f2299..7eab465b2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0110.py +++ b/githubkit/versions/v2022_11_28/types/group_0110.py @@ -32,6 +32,25 @@ class OrgHookType(TypedDict): type: str +class OrgHookTypeForResponse(TypedDict): + """Org Hook + + Org Hook + """ + + id: int + url: str + ping_url: str + deliveries_url: NotRequired[str] + name: str + events: list[str] + active: bool + config: OrgHookPropConfigTypeForResponse + updated_at: str + created_at: str + type: str + + class OrgHookPropConfigType(TypedDict): """OrgHookPropConfig""" @@ -41,7 +60,18 @@ class OrgHookPropConfigType(TypedDict): secret: NotRequired[str] +class OrgHookPropConfigTypeForResponse(TypedDict): + """OrgHookPropConfig""" + + url: NotRequired[str] + insecure_ssl: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + + __all__ = ( "OrgHookPropConfigType", + "OrgHookPropConfigTypeForResponse", "OrgHookType", + "OrgHookTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0111.py b/githubkit/versions/v2022_11_28/types/group_0111.py index eecf40a48..ca7774665 100644 --- a/githubkit/versions/v2022_11_28/types/group_0111.py +++ b/githubkit/versions/v2022_11_28/types/group_0111.py @@ -24,4 +24,18 @@ class ApiInsightsRouteStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsRouteStatsItemsType",) +class ApiInsightsRouteStatsItemsTypeForResponse(TypedDict): + """ApiInsightsRouteStatsItems""" + + http_method: NotRequired[str] + api_route: NotRequired[str] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsRouteStatsItemsType", + "ApiInsightsRouteStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0112.py b/githubkit/versions/v2022_11_28/types/group_0112.py index a652aaeff..d9c709819 100644 --- a/githubkit/versions/v2022_11_28/types/group_0112.py +++ b/githubkit/versions/v2022_11_28/types/group_0112.py @@ -25,4 +25,19 @@ class ApiInsightsSubjectStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsSubjectStatsItemsType",) +class ApiInsightsSubjectStatsItemsTypeForResponse(TypedDict): + """ApiInsightsSubjectStatsItems""" + + subject_type: NotRequired[str] + subject_name: NotRequired[str] + subject_id: NotRequired[int] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsSubjectStatsItemsType", + "ApiInsightsSubjectStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0113.py b/githubkit/versions/v2022_11_28/types/group_0113.py index efa213a4a..1d3e54f21 100644 --- a/githubkit/versions/v2022_11_28/types/group_0113.py +++ b/githubkit/versions/v2022_11_28/types/group_0113.py @@ -22,4 +22,17 @@ class ApiInsightsSummaryStatsType(TypedDict): rate_limited_request_count: NotRequired[int] -__all__ = ("ApiInsightsSummaryStatsType",) +class ApiInsightsSummaryStatsTypeForResponse(TypedDict): + """Summary Stats + + API Insights usage summary stats for an organization + """ + + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + + +__all__ = ( + "ApiInsightsSummaryStatsType", + "ApiInsightsSummaryStatsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0114.py b/githubkit/versions/v2022_11_28/types/group_0114.py index b1ac3a080..bf342a601 100644 --- a/githubkit/versions/v2022_11_28/types/group_0114.py +++ b/githubkit/versions/v2022_11_28/types/group_0114.py @@ -20,4 +20,15 @@ class ApiInsightsTimeStatsItemsType(TypedDict): rate_limited_request_count: NotRequired[int] -__all__ = ("ApiInsightsTimeStatsItemsType",) +class ApiInsightsTimeStatsItemsTypeForResponse(TypedDict): + """ApiInsightsTimeStatsItems""" + + timestamp: NotRequired[str] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + + +__all__ = ( + "ApiInsightsTimeStatsItemsType", + "ApiInsightsTimeStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0115.py b/githubkit/versions/v2022_11_28/types/group_0115.py index 810ca5b00..699578f3f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0115.py +++ b/githubkit/versions/v2022_11_28/types/group_0115.py @@ -27,4 +27,21 @@ class ApiInsightsUserStatsItemsType(TypedDict): last_request_timestamp: NotRequired[str] -__all__ = ("ApiInsightsUserStatsItemsType",) +class ApiInsightsUserStatsItemsTypeForResponse(TypedDict): + """ApiInsightsUserStatsItems""" + + actor_type: NotRequired[str] + actor_name: NotRequired[str] + actor_id: NotRequired[int] + integration_id: NotRequired[Union[int, None]] + oauth_application_id: NotRequired[Union[int, None]] + total_request_count: NotRequired[int] + rate_limited_request_count: NotRequired[int] + last_rate_limited_timestamp: NotRequired[Union[str, None]] + last_request_timestamp: NotRequired[str] + + +__all__ = ( + "ApiInsightsUserStatsItemsType", + "ApiInsightsUserStatsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0116.py b/githubkit/versions/v2022_11_28/types/group_0116.py index 86b7b0b1e..9a14ec8dd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0116.py +++ b/githubkit/versions/v2022_11_28/types/group_0116.py @@ -25,4 +25,18 @@ class InteractionLimitResponseType(TypedDict): expires_at: datetime -__all__ = ("InteractionLimitResponseType",) +class InteractionLimitResponseTypeForResponse(TypedDict): + """Interaction Limits + + Interaction limit settings. + """ + + limit: Literal["existing_users", "contributors_only", "collaborators_only"] + origin: str + expires_at: str + + +__all__ = ( + "InteractionLimitResponseType", + "InteractionLimitResponseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0117.py b/githubkit/versions/v2022_11_28/types/group_0117.py index 7711ae8ae..591ee5e84 100644 --- a/githubkit/versions/v2022_11_28/types/group_0117.py +++ b/githubkit/versions/v2022_11_28/types/group_0117.py @@ -25,4 +25,19 @@ class InteractionLimitType(TypedDict): ] -__all__ = ("InteractionLimitType",) +class InteractionLimitTypeForResponse(TypedDict): + """Interaction Restrictions + + Limit interactions to a specific type of user for a specified duration + """ + + limit: Literal["existing_users", "contributors_only", "collaborators_only"] + expiry: NotRequired[ + Literal["one_day", "three_days", "one_week", "one_month", "six_months"] + ] + + +__all__ = ( + "InteractionLimitType", + "InteractionLimitTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0118.py b/githubkit/versions/v2022_11_28/types/group_0118.py index 2d5d28056..8e7c8568f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0118.py +++ b/githubkit/versions/v2022_11_28/types/group_0118.py @@ -29,4 +29,23 @@ class OrganizationCreateIssueTypeType(TypedDict): ] -__all__ = ("OrganizationCreateIssueTypeType",) +class OrganizationCreateIssueTypeTypeForResponse(TypedDict): + """OrganizationCreateIssueType""" + + name: str + is_enabled: bool + description: NotRequired[Union[str, None]] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + + +__all__ = ( + "OrganizationCreateIssueTypeType", + "OrganizationCreateIssueTypeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0119.py b/githubkit/versions/v2022_11_28/types/group_0119.py index e6f7b909d..ed6efd6b8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0119.py +++ b/githubkit/versions/v2022_11_28/types/group_0119.py @@ -29,4 +29,23 @@ class OrganizationUpdateIssueTypeType(TypedDict): ] -__all__ = ("OrganizationUpdateIssueTypeType",) +class OrganizationUpdateIssueTypeTypeForResponse(TypedDict): + """OrganizationUpdateIssueType""" + + name: str + is_enabled: bool + description: NotRequired[Union[str, None]] + color: NotRequired[ + Union[ + None, + Literal[ + "gray", "blue", "green", "yellow", "orange", "red", "pink", "purple" + ], + ] + ] + + +__all__ = ( + "OrganizationUpdateIssueTypeType", + "OrganizationUpdateIssueTypeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0120.py b/githubkit/versions/v2022_11_28/types/group_0120.py index 2b698b397..9f57efcd0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0120.py +++ b/githubkit/versions/v2022_11_28/types/group_0120.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0039 import OrganizationSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0039 import OrganizationSimpleType, OrganizationSimpleTypeForResponse class OrgMembershipType(TypedDict): @@ -33,13 +33,38 @@ class OrgMembershipType(TypedDict): permissions: NotRequired[OrgMembershipPropPermissionsType] +class OrgMembershipTypeForResponse(TypedDict): + """Org Membership + + Org Membership + """ + + url: str + state: Literal["active", "pending"] + role: Literal["admin", "member", "billing_manager"] + direct_membership: NotRequired[bool] + enterprise_teams_providing_indirect_membership: NotRequired[list[str]] + organization_url: str + organization: OrganizationSimpleTypeForResponse + user: Union[None, SimpleUserTypeForResponse] + permissions: NotRequired[OrgMembershipPropPermissionsTypeForResponse] + + class OrgMembershipPropPermissionsType(TypedDict): """OrgMembershipPropPermissions""" can_create_repository: bool +class OrgMembershipPropPermissionsTypeForResponse(TypedDict): + """OrgMembershipPropPermissions""" + + can_create_repository: bool + + __all__ = ( "OrgMembershipPropPermissionsType", + "OrgMembershipPropPermissionsTypeForResponse", "OrgMembershipType", + "OrgMembershipTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0121.py b/githubkit/versions/v2022_11_28/types/group_0121.py index b0bdc2624..219003f35 100644 --- a/githubkit/versions/v2022_11_28/types/group_0121.py +++ b/githubkit/versions/v2022_11_28/types/group_0121.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class MigrationType(TypedDict): @@ -43,4 +43,33 @@ class MigrationType(TypedDict): exclude: NotRequired[list[str]] -__all__ = ("MigrationType",) +class MigrationTypeForResponse(TypedDict): + """Migration + + A migration. + """ + + id: int + owner: Union[None, SimpleUserTypeForResponse] + guid: str + state: str + lock_repositories: bool + exclude_metadata: bool + exclude_git_data: bool + exclude_attachments: bool + exclude_releases: bool + exclude_owner_projects: bool + org_metadata_only: bool + repositories: list[RepositoryTypeForResponse] + url: str + created_at: str + updated_at: str + node_id: str + archive_url: NotRequired[str] + exclude: NotRequired[list[str]] + + +__all__ = ( + "MigrationType", + "MigrationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0122.py b/githubkit/versions/v2022_11_28/types/group_0122.py index fb3b706a0..df3f4a4cb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0122.py +++ b/githubkit/versions/v2022_11_28/types/group_0122.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationRoleType(TypedDict): @@ -37,6 +37,27 @@ class OrganizationRoleType(TypedDict): updated_at: datetime +class OrganizationRoleTypeForResponse(TypedDict): + """Organization Role + + Organization roles + """ + + id: int + name: str + description: NotRequired[Union[str, None]] + base_role: NotRequired[ + Union[None, Literal["read", "triage", "write", "maintain", "admin"]] + ] + source: NotRequired[ + Union[None, Literal["Organization", "Enterprise", "Predefined"]] + ] + permissions: list[str] + organization: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + + class OrgsOrgOrganizationRolesGetResponse200Type(TypedDict): """OrgsOrgOrganizationRolesGetResponse200""" @@ -44,7 +65,16 @@ class OrgsOrgOrganizationRolesGetResponse200Type(TypedDict): roles: NotRequired[list[OrganizationRoleType]] +class OrgsOrgOrganizationRolesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgOrganizationRolesGetResponse200""" + + total_count: NotRequired[int] + roles: NotRequired[list[OrganizationRoleTypeForResponse]] + + __all__ = ( "OrganizationRoleType", + "OrganizationRoleTypeForResponse", "OrgsOrgOrganizationRolesGetResponse200Type", + "OrgsOrgOrganizationRolesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0123.py b/githubkit/versions/v2022_11_28/types/group_0123.py index db9914c08..56dce297d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0123.py +++ b/githubkit/versions/v2022_11_28/types/group_0123.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0094 import TeamSimpleType +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse class TeamRoleAssignmentType(TypedDict): @@ -41,6 +41,32 @@ class TeamRoleAssignmentType(TypedDict): enterprise_id: NotRequired[int] +class TeamRoleAssignmentTypeForResponse(TypedDict): + """A Role Assignment for a Team + + The Relationship a Team has with a role. + """ + + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + id: int + node_id: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[str] + notification_setting: NotRequired[str] + permission: str + permissions: NotRequired[TeamRoleAssignmentPropPermissionsTypeForResponse] + url: str + html_url: str + members_url: str + repositories_url: str + parent: Union[None, TeamSimpleTypeForResponse] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class TeamRoleAssignmentPropPermissionsType(TypedDict): """TeamRoleAssignmentPropPermissions""" @@ -51,7 +77,19 @@ class TeamRoleAssignmentPropPermissionsType(TypedDict): admin: bool +class TeamRoleAssignmentPropPermissionsTypeForResponse(TypedDict): + """TeamRoleAssignmentPropPermissions""" + + pull: bool + triage: bool + push: bool + maintain: bool + admin: bool + + __all__ = ( "TeamRoleAssignmentPropPermissionsType", + "TeamRoleAssignmentPropPermissionsTypeForResponse", "TeamRoleAssignmentType", + "TeamRoleAssignmentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0124.py b/githubkit/versions/v2022_11_28/types/group_0124.py index c8e862c63..2b7b2dd85 100644 --- a/githubkit/versions/v2022_11_28/types/group_0124.py +++ b/githubkit/versions/v2022_11_28/types/group_0124.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0094 import TeamSimpleType +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse class UserRoleAssignmentType(TypedDict): @@ -47,4 +47,39 @@ class UserRoleAssignmentType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("UserRoleAssignmentType",) +class UserRoleAssignmentTypeForResponse(TypedDict): + """A Role Assignment for a User + + The Relationship a User has with a role. + """ + + assignment: NotRequired[Literal["direct", "indirect", "mixed"]] + inherited_from: NotRequired[list[TeamSimpleTypeForResponse]] + name: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + starred_at: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "UserRoleAssignmentType", + "UserRoleAssignmentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0125.py b/githubkit/versions/v2022_11_28/types/group_0125.py index 9b4b7ff6c..0dc4d2679 100644 --- a/githubkit/versions/v2022_11_28/types/group_0125.py +++ b/githubkit/versions/v2022_11_28/types/group_0125.py @@ -33,6 +33,25 @@ class PackageVersionType(TypedDict): metadata: NotRequired[PackageVersionPropMetadataType] +class PackageVersionTypeForResponse(TypedDict): + """Package Version + + A version of a software package + """ + + id: int + name: str + url: str + package_html_url: str + html_url: NotRequired[str] + license_: NotRequired[str] + description: NotRequired[str] + created_at: str + updated_at: str + deleted_at: NotRequired[str] + metadata: NotRequired[PackageVersionPropMetadataTypeForResponse] + + class PackageVersionPropMetadataType(TypedDict): """Package Version Metadata""" @@ -41,21 +60,45 @@ class PackageVersionPropMetadataType(TypedDict): docker: NotRequired[PackageVersionPropMetadataPropDockerType] +class PackageVersionPropMetadataTypeForResponse(TypedDict): + """Package Version Metadata""" + + package_type: Literal["npm", "maven", "rubygems", "docker", "nuget", "container"] + container: NotRequired[PackageVersionPropMetadataPropContainerTypeForResponse] + docker: NotRequired[PackageVersionPropMetadataPropDockerTypeForResponse] + + class PackageVersionPropMetadataPropContainerType(TypedDict): """Container Metadata""" tags: list[str] +class PackageVersionPropMetadataPropContainerTypeForResponse(TypedDict): + """Container Metadata""" + + tags: list[str] + + class PackageVersionPropMetadataPropDockerType(TypedDict): """Docker Metadata""" tag: NotRequired[list[str]] +class PackageVersionPropMetadataPropDockerTypeForResponse(TypedDict): + """Docker Metadata""" + + tag: NotRequired[list[str]] + + __all__ = ( "PackageVersionPropMetadataPropContainerType", + "PackageVersionPropMetadataPropContainerTypeForResponse", "PackageVersionPropMetadataPropDockerType", + "PackageVersionPropMetadataPropDockerTypeForResponse", "PackageVersionPropMetadataType", + "PackageVersionPropMetadataTypeForResponse", "PackageVersionType", + "PackageVersionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0126.py b/githubkit/versions/v2022_11_28/types/group_0126.py index 4979cd78c..29a12bc49 100644 --- a/githubkit/versions/v2022_11_28/types/group_0126.py +++ b/githubkit/versions/v2022_11_28/types/group_0126.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationProgrammaticAccessGrantRequestType(TypedDict): @@ -36,6 +36,29 @@ class OrganizationProgrammaticAccessGrantRequestType(TypedDict): token_last_used_at: Union[str, None] +class OrganizationProgrammaticAccessGrantRequestTypeForResponse(TypedDict): + """Simple Organization Programmatic Access Grant Request + + Minimal representation of an organization programmatic access grant request for + enumerations + """ + + id: int + reason: Union[str, None] + owner: SimpleUserTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repositories_url: str + permissions: ( + OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse + ) + created_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """OrganizationProgrammaticAccessGrantRequestPropPermissions @@ -53,6 +76,25 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): ] +class OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse( + TypedDict +): + """OrganizationProgrammaticAccessGrantRequestPropPermissions + + Permissions requested, categorized by type of permission. + """ + + organization: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse + ] + repository: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse + ] + other: NotRequired[ + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse + ] + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -60,6 +102,13 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganization +""" + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -67,6 +116,13 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepository +""" + + OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType: TypeAlias = ( dict[str, Any] ) @@ -74,10 +130,22 @@ class OrganizationProgrammaticAccessGrantRequestPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOther +""" + + __all__ = ( "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropOtherTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantRequestPropPermissionsType", + "OrganizationProgrammaticAccessGrantRequestPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantRequestType", + "OrganizationProgrammaticAccessGrantRequestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0127.py b/githubkit/versions/v2022_11_28/types/group_0127.py index 54bd740d2..115577983 100644 --- a/githubkit/versions/v2022_11_28/types/group_0127.py +++ b/githubkit/versions/v2022_11_28/types/group_0127.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class OrganizationProgrammaticAccessGrantType(TypedDict): @@ -35,6 +35,26 @@ class OrganizationProgrammaticAccessGrantType(TypedDict): token_last_used_at: Union[str, None] +class OrganizationProgrammaticAccessGrantTypeForResponse(TypedDict): + """Organization Programmatic Access Grant + + Minimal representation of an organization programmatic access grant for + enumerations + """ + + id: int + owner: SimpleUserTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repositories_url: str + permissions: OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse + access_granted_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """OrganizationProgrammaticAccessGrantPropPermissions @@ -50,6 +70,23 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): other: NotRequired[OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType] +class OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse(TypedDict): + """OrganizationProgrammaticAccessGrantPropPermissions + + Permissions requested, categorized by type of permission. + """ + + organization: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse + ] + repository: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse + ] + other: NotRequired[ + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse + ] + + OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType: TypeAlias = ( dict[str, Any] ) @@ -57,6 +94,13 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropOrganization +""" + + OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -64,6 +108,13 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropRepository +""" + + OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType: TypeAlias = dict[ str, Any ] @@ -71,10 +122,22 @@ class OrganizationProgrammaticAccessGrantPropPermissionsType(TypedDict): """ +OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrganizationProgrammaticAccessGrantPropPermissionsPropOther +""" + + __all__ = ( "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOrganizationTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropOtherTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryType", + "OrganizationProgrammaticAccessGrantPropPermissionsPropRepositoryTypeForResponse", "OrganizationProgrammaticAccessGrantPropPermissionsType", + "OrganizationProgrammaticAccessGrantPropPermissionsTypeForResponse", "OrganizationProgrammaticAccessGrantType", + "OrganizationProgrammaticAccessGrantTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0128.py b/githubkit/versions/v2022_11_28/types/group_0128.py index 9451eb722..570f2e452 100644 --- a/githubkit/versions/v2022_11_28/types/group_0128.py +++ b/githubkit/versions/v2022_11_28/types/group_0128.py @@ -47,4 +47,40 @@ class OrgPrivateRegistryConfigurationWithSelectedRepositoriesType(TypedDict): updated_at: datetime -__all__ = ("OrgPrivateRegistryConfigurationWithSelectedRepositoriesType",) +class OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse(TypedDict): + """Organization private registry + + Private registry configuration for an organization + """ + + name: str + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: NotRequired[str] + username: NotRequired[str] + replaces_base: NotRequired[bool] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + created_at: str + updated_at: str + + +__all__ = ( + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesType", + "OrgPrivateRegistryConfigurationWithSelectedRepositoriesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0129.py b/githubkit/versions/v2022_11_28/types/group_0129.py index 07d3ae203..0972300ba 100644 --- a/githubkit/versions/v2022_11_28/types/group_0129.py +++ b/githubkit/versions/v2022_11_28/types/group_0129.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2StatusUpdateType(TypedDict): @@ -36,4 +36,27 @@ class ProjectsV2StatusUpdateType(TypedDict): body: NotRequired[Union[str, None]] -__all__ = ("ProjectsV2StatusUpdateType",) +class ProjectsV2StatusUpdateTypeForResponse(TypedDict): + """Projects v2 Status Update + + An status update belonging to a project + """ + + id: float + node_id: str + project_node_id: NotRequired[str] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + status: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + start_date: NotRequired[str] + target_date: NotRequired[str] + body: NotRequired[Union[str, None]] + + +__all__ = ( + "ProjectsV2StatusUpdateType", + "ProjectsV2StatusUpdateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0130.py b/githubkit/versions/v2022_11_28/types/group_0130.py index a2d1d1ee9..d6acaf83e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0130.py +++ b/githubkit/versions/v2022_11_28/types/group_0130.py @@ -13,8 +13,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0129 import ProjectsV2StatusUpdateType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0129 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) class ProjectsV2Type(TypedDict): @@ -42,4 +45,34 @@ class ProjectsV2Type(TypedDict): is_template: NotRequired[bool] -__all__ = ("ProjectsV2Type",) +class ProjectsV2TypeForResponse(TypedDict): + """Projects v2 Project + + A projects v2 project + """ + + id: float + node_id: str + owner: SimpleUserTypeForResponse + creator: SimpleUserTypeForResponse + title: str + description: Union[str, None] + public: bool + closed_at: Union[str, None] + created_at: str + updated_at: str + number: int + short_description: Union[str, None] + deleted_at: Union[str, None] + deleted_by: Union[None, SimpleUserTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + latest_status_update: NotRequired[ + Union[None, ProjectsV2StatusUpdateTypeForResponse] + ] + is_template: NotRequired[bool] + + +__all__ = ( + "ProjectsV2Type", + "ProjectsV2TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0131.py b/githubkit/versions/v2022_11_28/types/group_0131.py index 064aa0ae7..69d548083 100644 --- a/githubkit/versions/v2022_11_28/types/group_0131.py +++ b/githubkit/versions/v2022_11_28/types/group_0131.py @@ -21,4 +21,16 @@ class LinkType(TypedDict): href: str -__all__ = ("LinkType",) +class LinkTypeForResponse(TypedDict): + """Link + + Hypermedia Link + """ + + href: str + + +__all__ = ( + "LinkType", + "LinkTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0132.py b/githubkit/versions/v2022_11_28/types/group_0132.py index ac1473211..26c18b081 100644 --- a/githubkit/versions/v2022_11_28/types/group_0132.py +++ b/githubkit/versions/v2022_11_28/types/group_0132.py @@ -12,7 +12,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class AutoMergeType(TypedDict): @@ -27,4 +27,19 @@ class AutoMergeType(TypedDict): commit_message: Union[str, None] -__all__ = ("AutoMergeType",) +class AutoMergeTypeForResponse(TypedDict): + """Auto merge + + The status of auto merging a pull request. + """ + + enabled_by: SimpleUserTypeForResponse + merge_method: Literal["merge", "squash", "rebase"] + commit_title: Union[str, None] + commit_message: Union[str, None] + + +__all__ = ( + "AutoMergeType", + "AutoMergeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0133.py b/githubkit/versions/v2022_11_28/types/group_0133.py index 1f986a707..6e69a999d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0133.py +++ b/githubkit/versions/v2022_11_28/types/group_0133.py @@ -13,12 +13,20 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0040 import MilestoneType -from .group_0095 import TeamType -from .group_0132 import AutoMergeType -from .group_0134 import PullRequestSimplePropBaseType, PullRequestSimplePropHeadType -from .group_0135 import PullRequestSimplePropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse +from .group_0132 import AutoMergeType, AutoMergeTypeForResponse +from .group_0134 import ( + PullRequestSimplePropBaseType, + PullRequestSimplePropBaseTypeForResponse, + PullRequestSimplePropHeadType, + PullRequestSimplePropHeadTypeForResponse, +) +from .group_0135 import ( + PullRequestSimplePropLinksType, + PullRequestSimplePropLinksTypeForResponse, +) class PullRequestSimpleType(TypedDict): @@ -74,6 +82,59 @@ class PullRequestSimpleType(TypedDict): draft: NotRequired[bool] +class PullRequestSimpleTypeForResponse(TypedDict): + """Pull Request Simple + + Pull Request Simple + """ + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: str + locked: bool + title: str + user: Union[None, SimpleUserTypeForResponse] + body: Union[str, None] + labels: list[PullRequestSimplePropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamTypeForResponse], None]] + head: PullRequestSimplePropHeadTypeForResponse + base: PullRequestSimplePropBaseTypeForResponse + links: PullRequestSimplePropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + + class PullRequestSimplePropLabelsItemsType(TypedDict): """PullRequestSimplePropLabelsItems""" @@ -86,7 +147,21 @@ class PullRequestSimplePropLabelsItemsType(TypedDict): default: bool +class PullRequestSimplePropLabelsItemsTypeForResponse(TypedDict): + """PullRequestSimplePropLabelsItems""" + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + __all__ = ( "PullRequestSimplePropLabelsItemsType", + "PullRequestSimplePropLabelsItemsTypeForResponse", "PullRequestSimpleType", + "PullRequestSimpleTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0134.py b/githubkit/versions/v2022_11_28/types/group_0134.py index 1c03aef11..334e6008b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0134.py +++ b/githubkit/versions/v2022_11_28/types/group_0134.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class PullRequestSimplePropHeadType(TypedDict): @@ -26,6 +26,16 @@ class PullRequestSimplePropHeadType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestSimplePropHeadTypeForResponse(TypedDict): + """PullRequestSimplePropHead""" + + label: Union[str, None] + ref: str + repo: Union[None, RepositoryTypeForResponse] + sha: str + user: Union[None, SimpleUserTypeForResponse] + + class PullRequestSimplePropBaseType(TypedDict): """PullRequestSimplePropBase""" @@ -36,7 +46,19 @@ class PullRequestSimplePropBaseType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestSimplePropBaseTypeForResponse(TypedDict): + """PullRequestSimplePropBase""" + + label: str + ref: str + repo: RepositoryTypeForResponse + sha: str + user: Union[None, SimpleUserTypeForResponse] + + __all__ = ( "PullRequestSimplePropBaseType", + "PullRequestSimplePropBaseTypeForResponse", "PullRequestSimplePropHeadType", + "PullRequestSimplePropHeadTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0135.py b/githubkit/versions/v2022_11_28/types/group_0135.py index 7b1cd5e45..ea29d01d3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0135.py +++ b/githubkit/versions/v2022_11_28/types/group_0135.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0131 import LinkType +from .group_0131 import LinkType, LinkTypeForResponse class PullRequestSimplePropLinksType(TypedDict): @@ -27,4 +27,20 @@ class PullRequestSimplePropLinksType(TypedDict): self_: LinkType -__all__ = ("PullRequestSimplePropLinksType",) +class PullRequestSimplePropLinksTypeForResponse(TypedDict): + """PullRequestSimplePropLinks""" + + comments: LinkTypeForResponse + commits: LinkTypeForResponse + statuses: LinkTypeForResponse + html: LinkTypeForResponse + issue: LinkTypeForResponse + review_comments: LinkTypeForResponse + review_comment: LinkTypeForResponse + self_: LinkTypeForResponse + + +__all__ = ( + "PullRequestSimplePropLinksType", + "PullRequestSimplePropLinksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0136.py b/githubkit/versions/v2022_11_28/types/group_0136.py index 5ae5d7051..8bf1cc426 100644 --- a/githubkit/versions/v2022_11_28/types/group_0136.py +++ b/githubkit/versions/v2022_11_28/types/group_0136.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2DraftIssueType(TypedDict): @@ -31,4 +31,22 @@ class ProjectsV2DraftIssueType(TypedDict): updated_at: datetime -__all__ = ("ProjectsV2DraftIssueType",) +class ProjectsV2DraftIssueTypeForResponse(TypedDict): + """Draft Issue + + A draft issue in a project + """ + + id: float + node_id: str + title: str + body: NotRequired[Union[str, None]] + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + + +__all__ = ( + "ProjectsV2DraftIssueType", + "ProjectsV2DraftIssueTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0137.py b/githubkit/versions/v2022_11_28/types/group_0137.py index fca228548..332c82a4d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0137.py +++ b/githubkit/versions/v2022_11_28/types/group_0137.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0045 import IssueType -from .group_0133 import PullRequestSimpleType -from .group_0136 import ProjectsV2DraftIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0133 import PullRequestSimpleType, PullRequestSimpleTypeForResponse +from .group_0136 import ProjectsV2DraftIssueType, ProjectsV2DraftIssueTypeForResponse class ProjectsV2ItemSimpleType(TypedDict): @@ -39,4 +39,31 @@ class ProjectsV2ItemSimpleType(TypedDict): item_url: NotRequired[str] -__all__ = ("ProjectsV2ItemSimpleType",) +class ProjectsV2ItemSimpleTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + content: NotRequired[ + Union[ + IssueTypeForResponse, + PullRequestSimpleTypeForResponse, + ProjectsV2DraftIssueTypeForResponse, + ] + ] + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + project_url: NotRequired[str] + item_url: NotRequired[str] + + +__all__ = ( + "ProjectsV2ItemSimpleType", + "ProjectsV2ItemSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0138.py b/githubkit/versions/v2022_11_28/types/group_0138.py index 5df5af230..c8746ed25 100644 --- a/githubkit/versions/v2022_11_28/types/group_0138.py +++ b/githubkit/versions/v2022_11_28/types/group_0138.py @@ -47,6 +47,39 @@ class ProjectsV2FieldType(TypedDict): updated_at: datetime +class ProjectsV2FieldTypeForResponse(TypedDict): + """Projects v2 Field + + A field inside a projects v2 project + """ + + id: int + node_id: NotRequired[str] + project_url: str + name: str + data_type: Literal[ + "assignees", + "linked_pull_requests", + "reviewers", + "labels", + "milestone", + "repository", + "title", + "text", + "single_select", + "number", + "date", + "iteration", + "issue_type", + "parent_issue", + "sub_issues_progress", + ] + options: NotRequired[list[ProjectsV2SingleSelectOptionsTypeForResponse]] + configuration: NotRequired[ProjectsV2FieldPropConfigurationTypeForResponse] + created_at: str + updated_at: str + + class ProjectsV2SingleSelectOptionsType(TypedDict): """Projects v2 Single Select Option @@ -59,6 +92,18 @@ class ProjectsV2SingleSelectOptionsType(TypedDict): color: str +class ProjectsV2SingleSelectOptionsTypeForResponse(TypedDict): + """Projects v2 Single Select Option + + An option for a single select field + """ + + id: str + name: ProjectsV2SingleSelectOptionsPropNameTypeForResponse + description: ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse + color: str + + class ProjectsV2SingleSelectOptionsPropNameType(TypedDict): """ProjectsV2SingleSelectOptionsPropName @@ -69,6 +114,16 @@ class ProjectsV2SingleSelectOptionsPropNameType(TypedDict): html: str +class ProjectsV2SingleSelectOptionsPropNameTypeForResponse(TypedDict): + """ProjectsV2SingleSelectOptionsPropName + + The display name of the option, in raw text and HTML formats. + """ + + raw: str + html: str + + class ProjectsV2SingleSelectOptionsPropDescriptionType(TypedDict): """ProjectsV2SingleSelectOptionsPropDescription @@ -79,6 +134,16 @@ class ProjectsV2SingleSelectOptionsPropDescriptionType(TypedDict): html: str +class ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse(TypedDict): + """ProjectsV2SingleSelectOptionsPropDescription + + The description of the option, in raw text and HTML formats. + """ + + raw: str + html: str + + class ProjectsV2FieldPropConfigurationType(TypedDict): """ProjectsV2FieldPropConfiguration @@ -90,6 +155,17 @@ class ProjectsV2FieldPropConfigurationType(TypedDict): iterations: NotRequired[list[ProjectsV2IterationSettingsType]] +class ProjectsV2FieldPropConfigurationTypeForResponse(TypedDict): + """ProjectsV2FieldPropConfiguration + + Configuration for iteration fields. + """ + + start_day: NotRequired[int] + duration: NotRequired[int] + iterations: NotRequired[list[ProjectsV2IterationSettingsTypeForResponse]] + + class ProjectsV2IterationSettingsType(TypedDict): """Projects v2 Iteration Setting @@ -103,6 +179,19 @@ class ProjectsV2IterationSettingsType(TypedDict): completed: bool +class ProjectsV2IterationSettingsTypeForResponse(TypedDict): + """Projects v2 Iteration Setting + + An iteration setting for an iteration field + """ + + id: str + start_date: str + duration: int + title: ProjectsV2IterationSettingsPropTitleTypeForResponse + completed: bool + + class ProjectsV2IterationSettingsPropTitleType(TypedDict): """ProjectsV2IterationSettingsPropTitle @@ -113,12 +202,29 @@ class ProjectsV2IterationSettingsPropTitleType(TypedDict): html: str +class ProjectsV2IterationSettingsPropTitleTypeForResponse(TypedDict): + """ProjectsV2IterationSettingsPropTitle + + The iteration title, in raw text and HTML formats. + """ + + raw: str + html: str + + __all__ = ( "ProjectsV2FieldPropConfigurationType", + "ProjectsV2FieldPropConfigurationTypeForResponse", "ProjectsV2FieldType", + "ProjectsV2FieldTypeForResponse", "ProjectsV2IterationSettingsPropTitleType", + "ProjectsV2IterationSettingsPropTitleTypeForResponse", "ProjectsV2IterationSettingsType", + "ProjectsV2IterationSettingsTypeForResponse", "ProjectsV2SingleSelectOptionsPropDescriptionType", + "ProjectsV2SingleSelectOptionsPropDescriptionTypeForResponse", "ProjectsV2SingleSelectOptionsPropNameType", + "ProjectsV2SingleSelectOptionsPropNameTypeForResponse", "ProjectsV2SingleSelectOptionsType", + "ProjectsV2SingleSelectOptionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0139.py b/githubkit/versions/v2022_11_28/types/group_0139.py index e06d042fa..fa985a732 100644 --- a/githubkit/versions/v2022_11_28/types/group_0139.py +++ b/githubkit/versions/v2022_11_28/types/group_0139.py @@ -13,7 +13,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2ItemWithContentType(TypedDict): @@ -35,6 +35,27 @@ class ProjectsV2ItemWithContentType(TypedDict): fields: NotRequired[list[ProjectsV2ItemWithContentPropFieldsItemsType]] +class ProjectsV2ItemWithContentTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + project_url: NotRequired[str] + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + content: NotRequired[ + Union[ProjectsV2ItemWithContentPropContentTypeForResponse, None] + ] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + item_url: NotRequired[Union[str, None]] + fields: NotRequired[list[ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse]] + + ProjectsV2ItemWithContentPropContentType: TypeAlias = dict[str, Any] """ProjectsV2ItemWithContentPropContent @@ -42,13 +63,28 @@ class ProjectsV2ItemWithContentType(TypedDict): """ +ProjectsV2ItemWithContentPropContentTypeForResponse: TypeAlias = dict[str, Any] +"""ProjectsV2ItemWithContentPropContent + +The content of the item, which varies by content type. +""" + + ProjectsV2ItemWithContentPropFieldsItemsType: TypeAlias = dict[str, Any] """ProjectsV2ItemWithContentPropFieldsItems """ +ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse: TypeAlias = dict[str, Any] +"""ProjectsV2ItemWithContentPropFieldsItems +""" + + __all__ = ( "ProjectsV2ItemWithContentPropContentType", + "ProjectsV2ItemWithContentPropContentTypeForResponse", "ProjectsV2ItemWithContentPropFieldsItemsType", + "ProjectsV2ItemWithContentPropFieldsItemsTypeForResponse", "ProjectsV2ItemWithContentType", + "ProjectsV2ItemWithContentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0140.py b/githubkit/versions/v2022_11_28/types/group_0140.py index 0ddc5174c..c9022c041 100644 --- a/githubkit/versions/v2022_11_28/types/group_0140.py +++ b/githubkit/versions/v2022_11_28/types/group_0140.py @@ -32,4 +32,26 @@ class CustomPropertyType(TypedDict): ] -__all__ = ("CustomPropertyType",) +class CustomPropertyTypeForResponse(TypedDict): + """Organization Custom Property + + Custom property defined on an organization + """ + + property_name: str + url: NotRequired[str] + source_type: NotRequired[Literal["organization", "enterprise"]] + value_type: Literal["string", "single_select", "multi_select", "true_false"] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["org_actors", "org_and_repo_actors"]] + ] + + +__all__ = ( + "CustomPropertyType", + "CustomPropertyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0141.py b/githubkit/versions/v2022_11_28/types/group_0141.py index 1a1a48cd7..35ee57768 100644 --- a/githubkit/versions/v2022_11_28/types/group_0141.py +++ b/githubkit/versions/v2022_11_28/types/group_0141.py @@ -29,4 +29,23 @@ class CustomPropertySetPayloadType(TypedDict): ] -__all__ = ("CustomPropertySetPayloadType",) +class CustomPropertySetPayloadTypeForResponse(TypedDict): + """Custom Property Set Payload + + Custom property set payload + """ + + value_type: Literal["string", "single_select", "multi_select", "true_false"] + required: NotRequired[bool] + default_value: NotRequired[Union[str, list[str], None]] + description: NotRequired[Union[str, None]] + allowed_values: NotRequired[Union[list[str], None]] + values_editable_by: NotRequired[ + Union[None, Literal["org_actors", "org_and_repo_actors"]] + ] + + +__all__ = ( + "CustomPropertySetPayloadType", + "CustomPropertySetPayloadTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0142.py b/githubkit/versions/v2022_11_28/types/group_0142.py index 04f2ada3a..8270ca9df 100644 --- a/githubkit/versions/v2022_11_28/types/group_0142.py +++ b/githubkit/versions/v2022_11_28/types/group_0142.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0065 import CustomPropertyValueType +from .group_0065 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrgRepoCustomPropertyValuesType(TypedDict): @@ -26,4 +26,19 @@ class OrgRepoCustomPropertyValuesType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrgRepoCustomPropertyValuesType",) +class OrgRepoCustomPropertyValuesTypeForResponse(TypedDict): + """Organization Repository Custom Property Values + + List of custom property values for a repository + """ + + repository_id: int + repository_name: str + repository_full_name: str + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrgRepoCustomPropertyValuesType", + "OrgRepoCustomPropertyValuesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0143.py b/githubkit/versions/v2022_11_28/types/group_0143.py index cac6eb986..7bcbc6e43 100644 --- a/githubkit/versions/v2022_11_28/types/group_0143.py +++ b/githubkit/versions/v2022_11_28/types/group_0143.py @@ -25,4 +25,19 @@ class CodeOfConductSimpleType(TypedDict): html_url: Union[str, None] -__all__ = ("CodeOfConductSimpleType",) +class CodeOfConductSimpleTypeForResponse(TypedDict): + """Code Of Conduct Simple + + Code of Conduct Simple + """ + + url: str + key: str + name: str + html_url: Union[str, None] + + +__all__ = ( + "CodeOfConductSimpleType", + "CodeOfConductSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0144.py b/githubkit/versions/v2022_11_28/types/group_0144.py index b2ca68a2a..70de9146b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0144.py +++ b/githubkit/versions/v2022_11_28/types/group_0144.py @@ -13,11 +13,11 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType -from .group_0020 import RepositoryType -from .group_0060 import SecurityAndAnalysisType -from .group_0143 import CodeOfConductSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0060 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse +from .group_0143 import CodeOfConductSimpleType, CodeOfConductSimpleTypeForResponse class FullRepositoryType(TypedDict): @@ -133,6 +133,119 @@ class FullRepositoryType(TypedDict): custom_properties: NotRequired[FullRepositoryPropCustomPropertiesType] +class FullRepositoryTypeForResponse(TypedDict): + """Full Repository + + Full Repository + """ + + id: int + node_id: str + name: str + full_name: str + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: NotRequired[bool] + has_discussions: bool + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: str + created_at: str + updated_at: str + permissions: NotRequired[FullRepositoryPropPermissionsTypeForResponse] + allow_rebase_merge: NotRequired[bool] + template_repository: NotRequired[Union[None, RepositoryTypeForResponse]] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: int + network_count: int + license_: Union[None, LicenseSimpleTypeForResponse] + organization: NotRequired[Union[None, SimpleUserTypeForResponse]] + parent: NotRequired[RepositoryTypeForResponse] + source: NotRequired[RepositoryTypeForResponse] + forks: int + master_branch: NotRequired[str] + open_issues: int + watchers: int + anonymous_access_enabled: NotRequired[bool] + code_of_conduct: NotRequired[CodeOfConductSimpleTypeForResponse] + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + custom_properties: NotRequired[FullRepositoryPropCustomPropertiesTypeForResponse] + + class FullRepositoryPropPermissionsType(TypedDict): """FullRepositoryPropPermissions""" @@ -143,6 +256,16 @@ class FullRepositoryPropPermissionsType(TypedDict): pull: bool +class FullRepositoryPropPermissionsTypeForResponse(TypedDict): + """FullRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + push: bool + triage: NotRequired[bool] + pull: bool + + FullRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """FullRepositoryPropCustomProperties @@ -152,8 +275,20 @@ class FullRepositoryPropPermissionsType(TypedDict): """ +FullRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""FullRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + __all__ = ( "FullRepositoryPropCustomPropertiesType", + "FullRepositoryPropCustomPropertiesTypeForResponse", "FullRepositoryPropPermissionsType", + "FullRepositoryPropPermissionsTypeForResponse", "FullRepositoryType", + "FullRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0145.py b/githubkit/versions/v2022_11_28/types/group_0145.py index 83663a9b5..ebe366ccb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0145.py +++ b/githubkit/versions/v2022_11_28/types/group_0145.py @@ -26,4 +26,20 @@ class RepositoryRulesetBypassActorType(TypedDict): bypass_mode: NotRequired[Literal["always", "pull_request", "exempt"]] -__all__ = ("RepositoryRulesetBypassActorType",) +class RepositoryRulesetBypassActorTypeForResponse(TypedDict): + """Repository Ruleset Bypass Actor + + An actor that can bypass rules in a ruleset + """ + + actor_id: NotRequired[Union[int, None]] + actor_type: Literal[ + "Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey" + ] + bypass_mode: NotRequired[Literal["always", "pull_request", "exempt"]] + + +__all__ = ( + "RepositoryRulesetBypassActorType", + "RepositoryRulesetBypassActorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0146.py b/githubkit/versions/v2022_11_28/types/group_0146.py index 7069cb530..b778f3251 100644 --- a/githubkit/versions/v2022_11_28/types/group_0146.py +++ b/githubkit/versions/v2022_11_28/types/group_0146.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0147 import RepositoryRulesetConditionsPropRefNameType +from .group_0147 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) class RepositoryRulesetConditionsType(TypedDict): @@ -23,4 +26,16 @@ class RepositoryRulesetConditionsType(TypedDict): ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameType] -__all__ = ("RepositoryRulesetConditionsType",) +class RepositoryRulesetConditionsTypeForResponse(TypedDict): + """Repository ruleset conditions for ref names + + Parameters for a repository ruleset ref name condition + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + + +__all__ = ( + "RepositoryRulesetConditionsType", + "RepositoryRulesetConditionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0147.py b/githubkit/versions/v2022_11_28/types/group_0147.py index bf8990574..d4f5a2977 100644 --- a/githubkit/versions/v2022_11_28/types/group_0147.py +++ b/githubkit/versions/v2022_11_28/types/group_0147.py @@ -19,4 +19,14 @@ class RepositoryRulesetConditionsPropRefNameType(TypedDict): exclude: NotRequired[list[str]] -__all__ = ("RepositoryRulesetConditionsPropRefNameType",) +class RepositoryRulesetConditionsPropRefNameTypeForResponse(TypedDict): + """RepositoryRulesetConditionsPropRefName""" + + include: NotRequired[list[str]] + exclude: NotRequired[list[str]] + + +__all__ = ( + "RepositoryRulesetConditionsPropRefNameType", + "RepositoryRulesetConditionsPropRefNameTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0148.py b/githubkit/versions/v2022_11_28/types/group_0148.py index de3e87f30..a627f02c7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0148.py +++ b/githubkit/versions/v2022_11_28/types/group_0148.py @@ -13,6 +13,7 @@ from .group_0149 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, ) @@ -27,4 +28,18 @@ class RepositoryRulesetConditionsRepositoryNameTargetType(TypedDict): ) -__all__ = ("RepositoryRulesetConditionsRepositoryNameTargetType",) +class RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository names + + Parameters for a repository name condition + """ + + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryNameTargetType", + "RepositoryRulesetConditionsRepositoryNameTargetTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0149.py b/githubkit/versions/v2022_11_28/types/group_0149.py index f2a6b8a4a..8c2a0c538 100644 --- a/githubkit/versions/v2022_11_28/types/group_0149.py +++ b/githubkit/versions/v2022_11_28/types/group_0149.py @@ -20,4 +20,17 @@ class RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType(Type protected: NotRequired[bool] -__all__ = ("RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType",) +class RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryName""" + + include: NotRequired[list[str]] + exclude: NotRequired[list[str]] + protected: NotRequired[bool] + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType", + "RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0150.py b/githubkit/versions/v2022_11_28/types/group_0150.py index 381870f46..02edf6834 100644 --- a/githubkit/versions/v2022_11_28/types/group_0150.py +++ b/githubkit/versions/v2022_11_28/types/group_0150.py @@ -13,6 +13,7 @@ from .group_0151 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, ) @@ -25,4 +26,18 @@ class RepositoryRulesetConditionsRepositoryIdTargetType(TypedDict): repository_id: RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType -__all__ = ("RepositoryRulesetConditionsRepositoryIdTargetType",) +class RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository IDs + + Parameters for a repository ID condition + """ + + repository_id: ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse + ) + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryIdTargetType", + "RepositoryRulesetConditionsRepositoryIdTargetTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0151.py b/githubkit/versions/v2022_11_28/types/group_0151.py index ab014ee2b..327729263 100644 --- a/githubkit/versions/v2022_11_28/types/group_0151.py +++ b/githubkit/versions/v2022_11_28/types/group_0151.py @@ -18,4 +18,15 @@ class RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType(TypedDic repository_ids: NotRequired[list[int]] -__all__ = ("RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType",) +class RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryId""" + + repository_ids: NotRequired[list[int]] + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType", + "RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0152.py b/githubkit/versions/v2022_11_28/types/group_0152.py index 1bbf0a51a..4a176e88d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0152.py +++ b/githubkit/versions/v2022_11_28/types/group_0152.py @@ -13,6 +13,7 @@ from .group_0153 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) @@ -27,4 +28,16 @@ class RepositoryRulesetConditionsRepositoryPropertyTargetType(TypedDict): ) -__all__ = ("RepositoryRulesetConditionsRepositoryPropertyTargetType",) +class RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse(TypedDict): + """Repository ruleset conditions for repository properties + + Parameters for a repository property condition + """ + + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + + +__all__ = ( + "RepositoryRulesetConditionsRepositoryPropertyTargetType", + "RepositoryRulesetConditionsRepositoryPropertyTargetTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0153.py b/githubkit/versions/v2022_11_28/types/group_0153.py index 57df7a1f1..3f23749ac 100644 --- a/githubkit/versions/v2022_11_28/types/group_0153.py +++ b/githubkit/versions/v2022_11_28/types/group_0153.py @@ -22,6 +22,19 @@ class RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyT exclude: NotRequired[list[RepositoryRulesetConditionsRepositoryPropertySpecType]] +class RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse( + TypedDict +): + """RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryProperty""" + + include: NotRequired[ + list[RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse] + ] + exclude: NotRequired[ + list[RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse] + ] + + class RepositoryRulesetConditionsRepositoryPropertySpecType(TypedDict): """Repository ruleset property targeting definition @@ -33,7 +46,20 @@ class RepositoryRulesetConditionsRepositoryPropertySpecType(TypedDict): source: NotRequired[Literal["custom", "system"]] +class RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse(TypedDict): + """Repository ruleset property targeting definition + + Parameters for a targeting a repository property + """ + + name: str + property_values: list[str] + source: NotRequired[Literal["custom", "system"]] + + __all__ = ( "RepositoryRulesetConditionsRepositoryPropertySpecType", + "RepositoryRulesetConditionsRepositoryPropertySpecTypeForResponse", "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType", + "RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0154.py b/githubkit/versions/v2022_11_28/types/group_0154.py index 313b90200..3529f6d6f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0154.py +++ b/githubkit/versions/v2022_11_28/types/group_0154.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0147 import RepositoryRulesetConditionsPropRefNameType +from .group_0147 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0149 import ( RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameType, + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse, ) @@ -29,4 +33,19 @@ class OrgRulesetConditionsOneof0Type(TypedDict): ) -__all__ = ("OrgRulesetConditionsOneof0Type",) +class OrgRulesetConditionsOneof0TypeForResponse(TypedDict): + """repository_name_and_ref_name + + Conditions to target repositories by name and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_name: ( + RepositoryRulesetConditionsRepositoryNameTargetPropRepositoryNameTypeForResponse + ) + + +__all__ = ( + "OrgRulesetConditionsOneof0Type", + "OrgRulesetConditionsOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0155.py b/githubkit/versions/v2022_11_28/types/group_0155.py index 7f278c393..00ef807de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0155.py +++ b/githubkit/versions/v2022_11_28/types/group_0155.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0147 import RepositoryRulesetConditionsPropRefNameType +from .group_0147 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0151 import ( RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType, + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse, ) @@ -27,4 +31,19 @@ class OrgRulesetConditionsOneof1Type(TypedDict): repository_id: RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdType -__all__ = ("OrgRulesetConditionsOneof1Type",) +class OrgRulesetConditionsOneof1TypeForResponse(TypedDict): + """repository_id_and_ref_name + + Conditions to target repositories by id and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_id: ( + RepositoryRulesetConditionsRepositoryIdTargetPropRepositoryIdTypeForResponse + ) + + +__all__ = ( + "OrgRulesetConditionsOneof1Type", + "OrgRulesetConditionsOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0156.py b/githubkit/versions/v2022_11_28/types/group_0156.py index b4033e64c..46d5e1d6e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0156.py +++ b/githubkit/versions/v2022_11_28/types/group_0156.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0147 import RepositoryRulesetConditionsPropRefNameType +from .group_0147 import ( + RepositoryRulesetConditionsPropRefNameType, + RepositoryRulesetConditionsPropRefNameTypeForResponse, +) from .group_0153 import ( RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyType, + RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse, ) @@ -29,4 +33,17 @@ class OrgRulesetConditionsOneof2Type(TypedDict): ) -__all__ = ("OrgRulesetConditionsOneof2Type",) +class OrgRulesetConditionsOneof2TypeForResponse(TypedDict): + """repository_property_and_ref_name + + Conditions to target repositories by property and refs by name + """ + + ref_name: NotRequired[RepositoryRulesetConditionsPropRefNameTypeForResponse] + repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetPropRepositoryPropertyTypeForResponse + + +__all__ = ( + "OrgRulesetConditionsOneof2Type", + "OrgRulesetConditionsOneof2TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0157.py b/githubkit/versions/v2022_11_28/types/group_0157.py index 31548ad70..10ba63e37 100644 --- a/githubkit/versions/v2022_11_28/types/group_0157.py +++ b/githubkit/versions/v2022_11_28/types/group_0157.py @@ -22,6 +22,15 @@ class RepositoryRuleCreationType(TypedDict): type: Literal["creation"] +class RepositoryRuleCreationTypeForResponse(TypedDict): + """creation + + Only allow users with bypass permission to create matching refs. + """ + + type: Literal["creation"] + + class RepositoryRuleDeletionType(TypedDict): """deletion @@ -31,6 +40,15 @@ class RepositoryRuleDeletionType(TypedDict): type: Literal["deletion"] +class RepositoryRuleDeletionTypeForResponse(TypedDict): + """deletion + + Only allow users with bypass permissions to delete matching refs. + """ + + type: Literal["deletion"] + + class RepositoryRuleRequiredSignaturesType(TypedDict): """required_signatures @@ -40,6 +58,15 @@ class RepositoryRuleRequiredSignaturesType(TypedDict): type: Literal["required_signatures"] +class RepositoryRuleRequiredSignaturesTypeForResponse(TypedDict): + """required_signatures + + Commits pushed to matching refs must have verified signatures. + """ + + type: Literal["required_signatures"] + + class RepositoryRuleNonFastForwardType(TypedDict): """non_fast_forward @@ -49,9 +76,22 @@ class RepositoryRuleNonFastForwardType(TypedDict): type: Literal["non_fast_forward"] +class RepositoryRuleNonFastForwardTypeForResponse(TypedDict): + """non_fast_forward + + Prevent users with push access from force pushing to refs. + """ + + type: Literal["non_fast_forward"] + + __all__ = ( "RepositoryRuleCreationType", + "RepositoryRuleCreationTypeForResponse", "RepositoryRuleDeletionType", + "RepositoryRuleDeletionTypeForResponse", "RepositoryRuleNonFastForwardType", + "RepositoryRuleNonFastForwardTypeForResponse", "RepositoryRuleRequiredSignaturesType", + "RepositoryRuleRequiredSignaturesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0158.py b/githubkit/versions/v2022_11_28/types/group_0158.py index 5592e7a95..a8ad5b6c0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0158.py +++ b/githubkit/versions/v2022_11_28/types/group_0158.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0159 import RepositoryRuleUpdatePropParametersType +from .group_0159 import ( + RepositoryRuleUpdatePropParametersType, + RepositoryRuleUpdatePropParametersTypeForResponse, +) class RepositoryRuleUpdateType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleUpdateType(TypedDict): parameters: NotRequired[RepositoryRuleUpdatePropParametersType] -__all__ = ("RepositoryRuleUpdateType",) +class RepositoryRuleUpdateTypeForResponse(TypedDict): + """update + + Only allow users with bypass permission to update matching refs. + """ + + type: Literal["update"] + parameters: NotRequired[RepositoryRuleUpdatePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleUpdateType", + "RepositoryRuleUpdateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0159.py b/githubkit/versions/v2022_11_28/types/group_0159.py index 4de519b89..f042260d1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0159.py +++ b/githubkit/versions/v2022_11_28/types/group_0159.py @@ -18,4 +18,13 @@ class RepositoryRuleUpdatePropParametersType(TypedDict): update_allows_fetch_and_merge: bool -__all__ = ("RepositoryRuleUpdatePropParametersType",) +class RepositoryRuleUpdatePropParametersTypeForResponse(TypedDict): + """RepositoryRuleUpdatePropParameters""" + + update_allows_fetch_and_merge: bool + + +__all__ = ( + "RepositoryRuleUpdatePropParametersType", + "RepositoryRuleUpdatePropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0160.py b/githubkit/versions/v2022_11_28/types/group_0160.py index c531884ff..36307f784 100644 --- a/githubkit/versions/v2022_11_28/types/group_0160.py +++ b/githubkit/versions/v2022_11_28/types/group_0160.py @@ -22,4 +22,16 @@ class RepositoryRuleRequiredLinearHistoryType(TypedDict): type: Literal["required_linear_history"] -__all__ = ("RepositoryRuleRequiredLinearHistoryType",) +class RepositoryRuleRequiredLinearHistoryTypeForResponse(TypedDict): + """required_linear_history + + Prevent merge commits from being pushed to matching refs. + """ + + type: Literal["required_linear_history"] + + +__all__ = ( + "RepositoryRuleRequiredLinearHistoryType", + "RepositoryRuleRequiredLinearHistoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0161.py b/githubkit/versions/v2022_11_28/types/group_0161.py index 56757a977..0512421a0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0161.py +++ b/githubkit/versions/v2022_11_28/types/group_0161.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0162 import RepositoryRuleMergeQueuePropParametersType +from .group_0162 import ( + RepositoryRuleMergeQueuePropParametersType, + RepositoryRuleMergeQueuePropParametersTypeForResponse, +) class RepositoryRuleMergeQueueType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleMergeQueueType(TypedDict): parameters: NotRequired[RepositoryRuleMergeQueuePropParametersType] -__all__ = ("RepositoryRuleMergeQueueType",) +class RepositoryRuleMergeQueueTypeForResponse(TypedDict): + """merge_queue + + Merges must be performed via a merge queue. + """ + + type: Literal["merge_queue"] + parameters: NotRequired[RepositoryRuleMergeQueuePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleMergeQueueType", + "RepositoryRuleMergeQueueTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0162.py b/githubkit/versions/v2022_11_28/types/group_0162.py index 4d32d8491..2af5f1a51 100644 --- a/githubkit/versions/v2022_11_28/types/group_0162.py +++ b/githubkit/versions/v2022_11_28/types/group_0162.py @@ -25,4 +25,19 @@ class RepositoryRuleMergeQueuePropParametersType(TypedDict): min_entries_to_merge_wait_minutes: int -__all__ = ("RepositoryRuleMergeQueuePropParametersType",) +class RepositoryRuleMergeQueuePropParametersTypeForResponse(TypedDict): + """RepositoryRuleMergeQueuePropParameters""" + + check_response_timeout_minutes: int + grouping_strategy: Literal["ALLGREEN", "HEADGREEN"] + max_entries_to_build: int + max_entries_to_merge: int + merge_method: Literal["MERGE", "SQUASH", "REBASE"] + min_entries_to_merge: int + min_entries_to_merge_wait_minutes: int + + +__all__ = ( + "RepositoryRuleMergeQueuePropParametersType", + "RepositoryRuleMergeQueuePropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0163.py b/githubkit/versions/v2022_11_28/types/group_0163.py index b9cb5e8b0..385cd55c4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0163.py +++ b/githubkit/versions/v2022_11_28/types/group_0163.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0164 import RepositoryRuleRequiredDeploymentsPropParametersType +from .group_0164 import ( + RepositoryRuleRequiredDeploymentsPropParametersType, + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, +) class RepositoryRuleRequiredDeploymentsType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleRequiredDeploymentsType(TypedDict): parameters: NotRequired[RepositoryRuleRequiredDeploymentsPropParametersType] -__all__ = ("RepositoryRuleRequiredDeploymentsType",) +class RepositoryRuleRequiredDeploymentsTypeForResponse(TypedDict): + """required_deployments + + Choose which environments must be successfully deployed to before refs can be + pushed into a ref that matches this rule. + """ + + type: Literal["required_deployments"] + parameters: NotRequired[ + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleRequiredDeploymentsType", + "RepositoryRuleRequiredDeploymentsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0164.py b/githubkit/versions/v2022_11_28/types/group_0164.py index ef0c8d1d9..b4d560ae2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0164.py +++ b/githubkit/versions/v2022_11_28/types/group_0164.py @@ -18,4 +18,13 @@ class RepositoryRuleRequiredDeploymentsPropParametersType(TypedDict): required_deployment_environments: list[str] -__all__ = ("RepositoryRuleRequiredDeploymentsPropParametersType",) +class RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse(TypedDict): + """RepositoryRuleRequiredDeploymentsPropParameters""" + + required_deployment_environments: list[str] + + +__all__ = ( + "RepositoryRuleRequiredDeploymentsPropParametersType", + "RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0165.py b/githubkit/versions/v2022_11_28/types/group_0165.py index beedb5329..c0a46e2ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0165.py +++ b/githubkit/versions/v2022_11_28/types/group_0165.py @@ -25,6 +25,18 @@ class RepositoryRuleParamsRequiredReviewerConfigurationType(TypedDict): reviewer: RepositoryRuleParamsReviewerType +class RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse(TypedDict): + """RequiredReviewerConfiguration + + A reviewing team, and file patterns describing which files they must approve + changes to. + """ + + file_patterns: list[str] + minimum_approvals: int + reviewer: RepositoryRuleParamsReviewerTypeForResponse + + class RepositoryRuleParamsReviewerType(TypedDict): """Reviewer @@ -35,7 +47,19 @@ class RepositoryRuleParamsReviewerType(TypedDict): type: Literal["Team"] +class RepositoryRuleParamsReviewerTypeForResponse(TypedDict): + """Reviewer + + A required reviewing team + """ + + id: int + type: Literal["Team"] + + __all__ = ( "RepositoryRuleParamsRequiredReviewerConfigurationType", + "RepositoryRuleParamsRequiredReviewerConfigurationTypeForResponse", "RepositoryRuleParamsReviewerType", + "RepositoryRuleParamsReviewerTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0166.py b/githubkit/versions/v2022_11_28/types/group_0166.py index 51594620a..49d00cfc8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0166.py +++ b/githubkit/versions/v2022_11_28/types/group_0166.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0167 import RepositoryRulePullRequestPropParametersType +from .group_0167 import ( + RepositoryRulePullRequestPropParametersType, + RepositoryRulePullRequestPropParametersTypeForResponse, +) class RepositoryRulePullRequestType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRulePullRequestType(TypedDict): parameters: NotRequired[RepositoryRulePullRequestPropParametersType] -__all__ = ("RepositoryRulePullRequestType",) +class RepositoryRulePullRequestTypeForResponse(TypedDict): + """pull_request + + Require all commits be made to a non-target branch and submitted via a pull + request before they can be merged. + """ + + type: Literal["pull_request"] + parameters: NotRequired[RepositoryRulePullRequestPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRulePullRequestType", + "RepositoryRulePullRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0167.py b/githubkit/versions/v2022_11_28/types/group_0167.py index 1543217d1..94d35749a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0167.py +++ b/githubkit/versions/v2022_11_28/types/group_0167.py @@ -25,4 +25,19 @@ class RepositoryRulePullRequestPropParametersType(TypedDict): required_review_thread_resolution: bool -__all__ = ("RepositoryRulePullRequestPropParametersType",) +class RepositoryRulePullRequestPropParametersTypeForResponse(TypedDict): + """RepositoryRulePullRequestPropParameters""" + + allowed_merge_methods: NotRequired[list[Literal["merge", "squash", "rebase"]]] + automatic_copilot_code_review_enabled: NotRequired[bool] + dismiss_stale_reviews_on_push: bool + require_code_owner_review: bool + require_last_push_approval: bool + required_approving_review_count: int + required_review_thread_resolution: bool + + +__all__ = ( + "RepositoryRulePullRequestPropParametersType", + "RepositoryRulePullRequestPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0168.py b/githubkit/versions/v2022_11_28/types/group_0168.py index 2ceb555df..c488e929b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0168.py +++ b/githubkit/versions/v2022_11_28/types/group_0168.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0169 import RepositoryRuleRequiredStatusChecksPropParametersType +from .group_0169 import ( + RepositoryRuleRequiredStatusChecksPropParametersType, + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, +) class RepositoryRuleRequiredStatusChecksType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleRequiredStatusChecksType(TypedDict): parameters: NotRequired[RepositoryRuleRequiredStatusChecksPropParametersType] -__all__ = ("RepositoryRuleRequiredStatusChecksType",) +class RepositoryRuleRequiredStatusChecksTypeForResponse(TypedDict): + """required_status_checks + + Choose which status checks must pass before the ref is updated. When enabled, + commits must first be pushed to another ref where the checks pass. + """ + + type: Literal["required_status_checks"] + parameters: NotRequired[ + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleRequiredStatusChecksType", + "RepositoryRuleRequiredStatusChecksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0169.py b/githubkit/versions/v2022_11_28/types/group_0169.py index 82ebfc8c9..bd61533eb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0169.py +++ b/githubkit/versions/v2022_11_28/types/group_0169.py @@ -20,6 +20,16 @@ class RepositoryRuleRequiredStatusChecksPropParametersType(TypedDict): strict_required_status_checks_policy: bool +class RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse(TypedDict): + """RepositoryRuleRequiredStatusChecksPropParameters""" + + do_not_enforce_on_create: NotRequired[bool] + required_status_checks: list[ + RepositoryRuleParamsStatusCheckConfigurationTypeForResponse + ] + strict_required_status_checks_policy: bool + + class RepositoryRuleParamsStatusCheckConfigurationType(TypedDict): """StatusCheckConfiguration @@ -30,7 +40,19 @@ class RepositoryRuleParamsStatusCheckConfigurationType(TypedDict): integration_id: NotRequired[int] +class RepositoryRuleParamsStatusCheckConfigurationTypeForResponse(TypedDict): + """StatusCheckConfiguration + + Required status check + """ + + context: str + integration_id: NotRequired[int] + + __all__ = ( "RepositoryRuleParamsStatusCheckConfigurationType", + "RepositoryRuleParamsStatusCheckConfigurationTypeForResponse", "RepositoryRuleRequiredStatusChecksPropParametersType", + "RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0170.py b/githubkit/versions/v2022_11_28/types/group_0170.py index 824204164..6be1f8d1f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0170.py +++ b/githubkit/versions/v2022_11_28/types/group_0170.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0171 import RepositoryRuleCommitMessagePatternPropParametersType +from .group_0171 import ( + RepositoryRuleCommitMessagePatternPropParametersType, + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, +) class RepositoryRuleCommitMessagePatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitMessagePatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitMessagePatternPropParametersType] -__all__ = ("RepositoryRuleCommitMessagePatternType",) +class RepositoryRuleCommitMessagePatternTypeForResponse(TypedDict): + """commit_message_pattern + + Parameters to be used for the commit_message_pattern rule + """ + + type: Literal["commit_message_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitMessagePatternType", + "RepositoryRuleCommitMessagePatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0171.py b/githubkit/versions/v2022_11_28/types/group_0171.py index b6fc6932b..4851b9255 100644 --- a/githubkit/versions/v2022_11_28/types/group_0171.py +++ b/githubkit/versions/v2022_11_28/types/group_0171.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitMessagePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitMessagePatternPropParametersType",) +class RepositoryRuleCommitMessagePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitMessagePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitMessagePatternPropParametersType", + "RepositoryRuleCommitMessagePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0172.py b/githubkit/versions/v2022_11_28/types/group_0172.py index dcb10c929..605fcf727 100644 --- a/githubkit/versions/v2022_11_28/types/group_0172.py +++ b/githubkit/versions/v2022_11_28/types/group_0172.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0173 import RepositoryRuleCommitAuthorEmailPatternPropParametersType +from .group_0173 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersType, + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleCommitAuthorEmailPatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitAuthorEmailPatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitAuthorEmailPatternPropParametersType] -__all__ = ("RepositoryRuleCommitAuthorEmailPatternType",) +class RepositoryRuleCommitAuthorEmailPatternTypeForResponse(TypedDict): + """commit_author_email_pattern + + Parameters to be used for the commit_author_email_pattern rule + """ + + type: Literal["commit_author_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitAuthorEmailPatternType", + "RepositoryRuleCommitAuthorEmailPatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0173.py b/githubkit/versions/v2022_11_28/types/group_0173.py index d6712bb18..9fe432230 100644 --- a/githubkit/versions/v2022_11_28/types/group_0173.py +++ b/githubkit/versions/v2022_11_28/types/group_0173.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitAuthorEmailPatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitAuthorEmailPatternPropParametersType",) +class RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitAuthorEmailPatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitAuthorEmailPatternPropParametersType", + "RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0174.py b/githubkit/versions/v2022_11_28/types/group_0174.py index f59bdd2b7..d117c3f36 100644 --- a/githubkit/versions/v2022_11_28/types/group_0174.py +++ b/githubkit/versions/v2022_11_28/types/group_0174.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0175 import RepositoryRuleCommitterEmailPatternPropParametersType +from .group_0175 import ( + RepositoryRuleCommitterEmailPatternPropParametersType, + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleCommitterEmailPatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleCommitterEmailPatternType(TypedDict): parameters: NotRequired[RepositoryRuleCommitterEmailPatternPropParametersType] -__all__ = ("RepositoryRuleCommitterEmailPatternType",) +class RepositoryRuleCommitterEmailPatternTypeForResponse(TypedDict): + """committer_email_pattern + + Parameters to be used for the committer_email_pattern rule + """ + + type: Literal["committer_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCommitterEmailPatternType", + "RepositoryRuleCommitterEmailPatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0175.py b/githubkit/versions/v2022_11_28/types/group_0175.py index a6567de4b..f0cfdf7b8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0175.py +++ b/githubkit/versions/v2022_11_28/types/group_0175.py @@ -22,4 +22,16 @@ class RepositoryRuleCommitterEmailPatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleCommitterEmailPatternPropParametersType",) +class RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCommitterEmailPatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleCommitterEmailPatternPropParametersType", + "RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0176.py b/githubkit/versions/v2022_11_28/types/group_0176.py index 09c4330ed..bc5c6c2fa 100644 --- a/githubkit/versions/v2022_11_28/types/group_0176.py +++ b/githubkit/versions/v2022_11_28/types/group_0176.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0177 import RepositoryRuleBranchNamePatternPropParametersType +from .group_0177 import ( + RepositoryRuleBranchNamePatternPropParametersType, + RepositoryRuleBranchNamePatternPropParametersTypeForResponse, +) class RepositoryRuleBranchNamePatternType(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleBranchNamePatternType(TypedDict): parameters: NotRequired[RepositoryRuleBranchNamePatternPropParametersType] -__all__ = ("RepositoryRuleBranchNamePatternType",) +class RepositoryRuleBranchNamePatternTypeForResponse(TypedDict): + """branch_name_pattern + + Parameters to be used for the branch_name_pattern rule + """ + + type: Literal["branch_name_pattern"] + parameters: NotRequired[ + RepositoryRuleBranchNamePatternPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleBranchNamePatternType", + "RepositoryRuleBranchNamePatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0177.py b/githubkit/versions/v2022_11_28/types/group_0177.py index da29fc42d..a35a08bed 100644 --- a/githubkit/versions/v2022_11_28/types/group_0177.py +++ b/githubkit/versions/v2022_11_28/types/group_0177.py @@ -22,4 +22,16 @@ class RepositoryRuleBranchNamePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleBranchNamePatternPropParametersType",) +class RepositoryRuleBranchNamePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleBranchNamePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleBranchNamePatternPropParametersType", + "RepositoryRuleBranchNamePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0178.py b/githubkit/versions/v2022_11_28/types/group_0178.py index fd1e631a8..9f721cd56 100644 --- a/githubkit/versions/v2022_11_28/types/group_0178.py +++ b/githubkit/versions/v2022_11_28/types/group_0178.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0179 import RepositoryRuleTagNamePatternPropParametersType +from .group_0179 import ( + RepositoryRuleTagNamePatternPropParametersType, + RepositoryRuleTagNamePatternPropParametersTypeForResponse, +) class RepositoryRuleTagNamePatternType(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleTagNamePatternType(TypedDict): parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersType] -__all__ = ("RepositoryRuleTagNamePatternType",) +class RepositoryRuleTagNamePatternTypeForResponse(TypedDict): + """tag_name_pattern + + Parameters to be used for the tag_name_pattern rule + """ + + type: Literal["tag_name_pattern"] + parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleTagNamePatternType", + "RepositoryRuleTagNamePatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0179.py b/githubkit/versions/v2022_11_28/types/group_0179.py index cbfa3546b..fee26c80d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0179.py +++ b/githubkit/versions/v2022_11_28/types/group_0179.py @@ -22,4 +22,16 @@ class RepositoryRuleTagNamePatternPropParametersType(TypedDict): pattern: str -__all__ = ("RepositoryRuleTagNamePatternPropParametersType",) +class RepositoryRuleTagNamePatternPropParametersTypeForResponse(TypedDict): + """RepositoryRuleTagNamePatternPropParameters""" + + name: NotRequired[str] + negate: NotRequired[bool] + operator: Literal["starts_with", "ends_with", "contains", "regex"] + pattern: str + + +__all__ = ( + "RepositoryRuleTagNamePatternPropParametersType", + "RepositoryRuleTagNamePatternPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0180.py b/githubkit/versions/v2022_11_28/types/group_0180.py index a0a0690ff..81659f94c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0180.py +++ b/githubkit/versions/v2022_11_28/types/group_0180.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0181 import RepositoryRuleFilePathRestrictionPropParametersType +from .group_0181 import ( + RepositoryRuleFilePathRestrictionPropParametersType, + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, +) class RepositoryRuleFilePathRestrictionType(TypedDict): @@ -27,4 +30,21 @@ class RepositoryRuleFilePathRestrictionType(TypedDict): parameters: NotRequired[RepositoryRuleFilePathRestrictionPropParametersType] -__all__ = ("RepositoryRuleFilePathRestrictionType",) +class RepositoryRuleFilePathRestrictionTypeForResponse(TypedDict): + """file_path_restriction + + Prevent commits that include changes in specified file and folder paths from + being pushed to the commit graph. This includes absolute paths that contain file + names. + """ + + type: Literal["file_path_restriction"] + parameters: NotRequired[ + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleFilePathRestrictionType", + "RepositoryRuleFilePathRestrictionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0181.py b/githubkit/versions/v2022_11_28/types/group_0181.py index 7e198ed48..ac5fb5660 100644 --- a/githubkit/versions/v2022_11_28/types/group_0181.py +++ b/githubkit/versions/v2022_11_28/types/group_0181.py @@ -18,4 +18,13 @@ class RepositoryRuleFilePathRestrictionPropParametersType(TypedDict): restricted_file_paths: list[str] -__all__ = ("RepositoryRuleFilePathRestrictionPropParametersType",) +class RepositoryRuleFilePathRestrictionPropParametersTypeForResponse(TypedDict): + """RepositoryRuleFilePathRestrictionPropParameters""" + + restricted_file_paths: list[str] + + +__all__ = ( + "RepositoryRuleFilePathRestrictionPropParametersType", + "RepositoryRuleFilePathRestrictionPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0182.py b/githubkit/versions/v2022_11_28/types/group_0182.py index c04f8e955..a7088f7d0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0182.py +++ b/githubkit/versions/v2022_11_28/types/group_0182.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0183 import RepositoryRuleMaxFilePathLengthPropParametersType +from .group_0183 import ( + RepositoryRuleMaxFilePathLengthPropParametersType, + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, +) class RepositoryRuleMaxFilePathLengthType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleMaxFilePathLengthType(TypedDict): parameters: NotRequired[RepositoryRuleMaxFilePathLengthPropParametersType] -__all__ = ("RepositoryRuleMaxFilePathLengthType",) +class RepositoryRuleMaxFilePathLengthTypeForResponse(TypedDict): + """max_file_path_length + + Prevent commits that include file paths that exceed the specified character + limit from being pushed to the commit graph. + """ + + type: Literal["max_file_path_length"] + parameters: NotRequired[ + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleMaxFilePathLengthType", + "RepositoryRuleMaxFilePathLengthTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0183.py b/githubkit/versions/v2022_11_28/types/group_0183.py index 7f4773214..d497c4a45 100644 --- a/githubkit/versions/v2022_11_28/types/group_0183.py +++ b/githubkit/versions/v2022_11_28/types/group_0183.py @@ -18,4 +18,13 @@ class RepositoryRuleMaxFilePathLengthPropParametersType(TypedDict): max_file_path_length: int -__all__ = ("RepositoryRuleMaxFilePathLengthPropParametersType",) +class RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse(TypedDict): + """RepositoryRuleMaxFilePathLengthPropParameters""" + + max_file_path_length: int + + +__all__ = ( + "RepositoryRuleMaxFilePathLengthPropParametersType", + "RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0184.py b/githubkit/versions/v2022_11_28/types/group_0184.py index 795a253d1..9d32712fa 100644 --- a/githubkit/versions/v2022_11_28/types/group_0184.py +++ b/githubkit/versions/v2022_11_28/types/group_0184.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0185 import RepositoryRuleFileExtensionRestrictionPropParametersType +from .group_0185 import ( + RepositoryRuleFileExtensionRestrictionPropParametersType, + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, +) class RepositoryRuleFileExtensionRestrictionType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleFileExtensionRestrictionType(TypedDict): parameters: NotRequired[RepositoryRuleFileExtensionRestrictionPropParametersType] -__all__ = ("RepositoryRuleFileExtensionRestrictionType",) +class RepositoryRuleFileExtensionRestrictionTypeForResponse(TypedDict): + """file_extension_restriction + + Prevent commits that include files with specified file extensions from being + pushed to the commit graph. + """ + + type: Literal["file_extension_restriction"] + parameters: NotRequired[ + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleFileExtensionRestrictionType", + "RepositoryRuleFileExtensionRestrictionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0185.py b/githubkit/versions/v2022_11_28/types/group_0185.py index e8886bc56..32d651207 100644 --- a/githubkit/versions/v2022_11_28/types/group_0185.py +++ b/githubkit/versions/v2022_11_28/types/group_0185.py @@ -18,4 +18,13 @@ class RepositoryRuleFileExtensionRestrictionPropParametersType(TypedDict): restricted_file_extensions: list[str] -__all__ = ("RepositoryRuleFileExtensionRestrictionPropParametersType",) +class RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse(TypedDict): + """RepositoryRuleFileExtensionRestrictionPropParameters""" + + restricted_file_extensions: list[str] + + +__all__ = ( + "RepositoryRuleFileExtensionRestrictionPropParametersType", + "RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0186.py b/githubkit/versions/v2022_11_28/types/group_0186.py index ae302a394..a88d6ced7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0186.py +++ b/githubkit/versions/v2022_11_28/types/group_0186.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0187 import RepositoryRuleMaxFileSizePropParametersType +from .group_0187 import ( + RepositoryRuleMaxFileSizePropParametersType, + RepositoryRuleMaxFileSizePropParametersTypeForResponse, +) class RepositoryRuleMaxFileSizeType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRuleMaxFileSizeType(TypedDict): parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersType] -__all__ = ("RepositoryRuleMaxFileSizeType",) +class RepositoryRuleMaxFileSizeTypeForResponse(TypedDict): + """max_file_size + + Prevent commits with individual files that exceed the specified limit from being + pushed to the commit graph. + """ + + type: Literal["max_file_size"] + parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleMaxFileSizeType", + "RepositoryRuleMaxFileSizeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0187.py b/githubkit/versions/v2022_11_28/types/group_0187.py index f3b12569b..54d3562e7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0187.py +++ b/githubkit/versions/v2022_11_28/types/group_0187.py @@ -18,4 +18,13 @@ class RepositoryRuleMaxFileSizePropParametersType(TypedDict): max_file_size: int -__all__ = ("RepositoryRuleMaxFileSizePropParametersType",) +class RepositoryRuleMaxFileSizePropParametersTypeForResponse(TypedDict): + """RepositoryRuleMaxFileSizePropParameters""" + + max_file_size: int + + +__all__ = ( + "RepositoryRuleMaxFileSizePropParametersType", + "RepositoryRuleMaxFileSizePropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0188.py b/githubkit/versions/v2022_11_28/types/group_0188.py index 7464769b7..eeb7d533b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0188.py +++ b/githubkit/versions/v2022_11_28/types/group_0188.py @@ -22,4 +22,17 @@ class RepositoryRuleParamsRestrictedCommitsType(TypedDict): reason: NotRequired[str] -__all__ = ("RepositoryRuleParamsRestrictedCommitsType",) +class RepositoryRuleParamsRestrictedCommitsTypeForResponse(TypedDict): + """RestrictedCommits + + Restricted commit + """ + + oid: str + reason: NotRequired[str] + + +__all__ = ( + "RepositoryRuleParamsRestrictedCommitsType", + "RepositoryRuleParamsRestrictedCommitsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0189.py b/githubkit/versions/v2022_11_28/types/group_0189.py index c860fb59e..304534dd4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0189.py +++ b/githubkit/versions/v2022_11_28/types/group_0189.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0190 import RepositoryRuleWorkflowsPropParametersType +from .group_0190 import ( + RepositoryRuleWorkflowsPropParametersType, + RepositoryRuleWorkflowsPropParametersTypeForResponse, +) class RepositoryRuleWorkflowsType(TypedDict): @@ -26,4 +29,18 @@ class RepositoryRuleWorkflowsType(TypedDict): parameters: NotRequired[RepositoryRuleWorkflowsPropParametersType] -__all__ = ("RepositoryRuleWorkflowsType",) +class RepositoryRuleWorkflowsTypeForResponse(TypedDict): + """workflows + + Require all changes made to a targeted branch to pass the specified workflows + before they can be merged. + """ + + type: Literal["workflows"] + parameters: NotRequired[RepositoryRuleWorkflowsPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleWorkflowsType", + "RepositoryRuleWorkflowsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0190.py b/githubkit/versions/v2022_11_28/types/group_0190.py index c26b4894e..f924f64c2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0190.py +++ b/githubkit/versions/v2022_11_28/types/group_0190.py @@ -19,6 +19,13 @@ class RepositoryRuleWorkflowsPropParametersType(TypedDict): workflows: list[RepositoryRuleParamsWorkflowFileReferenceType] +class RepositoryRuleWorkflowsPropParametersTypeForResponse(TypedDict): + """RepositoryRuleWorkflowsPropParameters""" + + do_not_enforce_on_create: NotRequired[bool] + workflows: list[RepositoryRuleParamsWorkflowFileReferenceTypeForResponse] + + class RepositoryRuleParamsWorkflowFileReferenceType(TypedDict): """WorkflowFileReference @@ -31,7 +38,21 @@ class RepositoryRuleParamsWorkflowFileReferenceType(TypedDict): sha: NotRequired[str] +class RepositoryRuleParamsWorkflowFileReferenceTypeForResponse(TypedDict): + """WorkflowFileReference + + A workflow that must run for this rule to pass + """ + + path: str + ref: NotRequired[str] + repository_id: int + sha: NotRequired[str] + + __all__ = ( "RepositoryRuleParamsWorkflowFileReferenceType", + "RepositoryRuleParamsWorkflowFileReferenceTypeForResponse", "RepositoryRuleWorkflowsPropParametersType", + "RepositoryRuleWorkflowsPropParametersTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0191.py b/githubkit/versions/v2022_11_28/types/group_0191.py index b85068def..de5ae5a86 100644 --- a/githubkit/versions/v2022_11_28/types/group_0191.py +++ b/githubkit/versions/v2022_11_28/types/group_0191.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0192 import RepositoryRuleCodeScanningPropParametersType +from .group_0192 import ( + RepositoryRuleCodeScanningPropParametersType, + RepositoryRuleCodeScanningPropParametersTypeForResponse, +) class RepositoryRuleCodeScanningType(TypedDict): @@ -27,4 +30,19 @@ class RepositoryRuleCodeScanningType(TypedDict): parameters: NotRequired[RepositoryRuleCodeScanningPropParametersType] -__all__ = ("RepositoryRuleCodeScanningType",) +class RepositoryRuleCodeScanningTypeForResponse(TypedDict): + """code_scanning + + Choose which tools must provide code scanning results before the reference is + updated. When configured, code scanning must be enabled and have results for + both the commit and the reference being updated. + """ + + type: Literal["code_scanning"] + parameters: NotRequired[RepositoryRuleCodeScanningPropParametersTypeForResponse] + + +__all__ = ( + "RepositoryRuleCodeScanningType", + "RepositoryRuleCodeScanningTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0192.py b/githubkit/versions/v2022_11_28/types/group_0192.py index 0ce3aaee0..d014010cf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0192.py +++ b/githubkit/versions/v2022_11_28/types/group_0192.py @@ -19,6 +19,12 @@ class RepositoryRuleCodeScanningPropParametersType(TypedDict): code_scanning_tools: list[RepositoryRuleParamsCodeScanningToolType] +class RepositoryRuleCodeScanningPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCodeScanningPropParameters""" + + code_scanning_tools: list[RepositoryRuleParamsCodeScanningToolTypeForResponse] + + class RepositoryRuleParamsCodeScanningToolType(TypedDict): """CodeScanningTool @@ -32,7 +38,22 @@ class RepositoryRuleParamsCodeScanningToolType(TypedDict): tool: str +class RepositoryRuleParamsCodeScanningToolTypeForResponse(TypedDict): + """CodeScanningTool + + A tool that must provide code scanning results for this rule to pass. + """ + + alerts_threshold: Literal["none", "errors", "errors_and_warnings", "all"] + security_alerts_threshold: Literal[ + "none", "critical", "high_or_higher", "medium_or_higher", "all" + ] + tool: str + + __all__ = ( "RepositoryRuleCodeScanningPropParametersType", + "RepositoryRuleCodeScanningPropParametersTypeForResponse", "RepositoryRuleParamsCodeScanningToolType", + "RepositoryRuleParamsCodeScanningToolTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0193.py b/githubkit/versions/v2022_11_28/types/group_0193.py index 4da349446..33d51fa1c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0193.py +++ b/githubkit/versions/v2022_11_28/types/group_0193.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0194 import RepositoryRuleCopilotCodeReviewPropParametersType +from .group_0194 import ( + RepositoryRuleCopilotCodeReviewPropParametersType, + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, +) class RepositoryRuleCopilotCodeReviewType(TypedDict): @@ -26,4 +29,20 @@ class RepositoryRuleCopilotCodeReviewType(TypedDict): parameters: NotRequired[RepositoryRuleCopilotCodeReviewPropParametersType] -__all__ = ("RepositoryRuleCopilotCodeReviewType",) +class RepositoryRuleCopilotCodeReviewTypeForResponse(TypedDict): + """copilot_code_review + + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review. + """ + + type: Literal["copilot_code_review"] + parameters: NotRequired[ + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse + ] + + +__all__ = ( + "RepositoryRuleCopilotCodeReviewType", + "RepositoryRuleCopilotCodeReviewTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0194.py b/githubkit/versions/v2022_11_28/types/group_0194.py index 277d85a4a..671116d8b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0194.py +++ b/githubkit/versions/v2022_11_28/types/group_0194.py @@ -19,4 +19,14 @@ class RepositoryRuleCopilotCodeReviewPropParametersType(TypedDict): review_on_push: NotRequired[bool] -__all__ = ("RepositoryRuleCopilotCodeReviewPropParametersType",) +class RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse(TypedDict): + """RepositoryRuleCopilotCodeReviewPropParameters""" + + review_draft_pull_requests: NotRequired[bool] + review_on_push: NotRequired[bool] + + +__all__ = ( + "RepositoryRuleCopilotCodeReviewPropParametersType", + "RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0195.py b/githubkit/versions/v2022_11_28/types/group_0195.py index b6f902c94..367efb211 100644 --- a/githubkit/versions/v2022_11_28/types/group_0195.py +++ b/githubkit/versions/v2022_11_28/types/group_0195.py @@ -13,35 +13,105 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0145 import RepositoryRulesetBypassActorType -from .group_0146 import RepositoryRulesetConditionsType -from .group_0154 import OrgRulesetConditionsOneof0Type -from .group_0155 import OrgRulesetConditionsOneof1Type -from .group_0156 import OrgRulesetConditionsOneof2Type +from .group_0145 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0146 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) +from .group_0154 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0155 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0156 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, +) from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0161 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0193 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0161 import RepositoryRuleMergeQueueType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType -from .group_0193 import RepositoryRuleCopilotCodeReviewType class RepositoryRulesetType(TypedDict): @@ -103,6 +173,65 @@ class RepositoryRulesetType(TypedDict): updated_at: NotRequired[datetime] +class RepositoryRulesetTypeForResponse(TypedDict): + """Repository ruleset + + A set of rules to apply when specified conditions are met. + """ + + id: int + name: str + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + source_type: NotRequired[Literal["Repository", "Organization", "Enterprise"]] + source: str + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + current_user_can_bypass: NotRequired[ + Literal["always", "pull_requests_only", "never", "exempt"] + ] + node_id: NotRequired[str] + links: NotRequired[RepositoryRulesetPropLinksTypeForResponse] + conditions: NotRequired[ + Union[ + RepositoryRulesetConditionsTypeForResponse, + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + None, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + class RepositoryRulesetPropLinksType(TypedDict): """RepositoryRulesetPropLinks""" @@ -110,21 +239,44 @@ class RepositoryRulesetPropLinksType(TypedDict): html: NotRequired[Union[RepositoryRulesetPropLinksPropHtmlType, None]] +class RepositoryRulesetPropLinksTypeForResponse(TypedDict): + """RepositoryRulesetPropLinks""" + + self_: NotRequired[RepositoryRulesetPropLinksPropSelfTypeForResponse] + html: NotRequired[Union[RepositoryRulesetPropLinksPropHtmlTypeForResponse, None]] + + class RepositoryRulesetPropLinksPropSelfType(TypedDict): """RepositoryRulesetPropLinksPropSelf""" href: NotRequired[str] +class RepositoryRulesetPropLinksPropSelfTypeForResponse(TypedDict): + """RepositoryRulesetPropLinksPropSelf""" + + href: NotRequired[str] + + class RepositoryRulesetPropLinksPropHtmlType(TypedDict): """RepositoryRulesetPropLinksPropHtml""" href: NotRequired[str] +class RepositoryRulesetPropLinksPropHtmlTypeForResponse(TypedDict): + """RepositoryRulesetPropLinksPropHtml""" + + href: NotRequired[str] + + __all__ = ( "RepositoryRulesetPropLinksPropHtmlType", + "RepositoryRulesetPropLinksPropHtmlTypeForResponse", "RepositoryRulesetPropLinksPropSelfType", + "RepositoryRulesetPropLinksPropSelfTypeForResponse", "RepositoryRulesetPropLinksType", + "RepositoryRulesetPropLinksTypeForResponse", "RepositoryRulesetType", + "RepositoryRulesetTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0196.py b/githubkit/versions/v2022_11_28/types/group_0196.py index 74f027a0f..1eb3453a6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0196.py +++ b/githubkit/versions/v2022_11_28/types/group_0196.py @@ -30,4 +30,23 @@ class RuleSuitesItemsType(TypedDict): evaluation_result: NotRequired[Literal["pass", "fail", "bypass"]] -__all__ = ("RuleSuitesItemsType",) +class RuleSuitesItemsTypeForResponse(TypedDict): + """RuleSuitesItems""" + + id: NotRequired[int] + actor_id: NotRequired[int] + actor_name: NotRequired[str] + before_sha: NotRequired[str] + after_sha: NotRequired[str] + ref: NotRequired[str] + repository_id: NotRequired[int] + repository_name: NotRequired[str] + pushed_at: NotRequired[str] + result: NotRequired[Literal["pass", "fail", "bypass"]] + evaluation_result: NotRequired[Literal["pass", "fail", "bypass"]] + + +__all__ = ( + "RuleSuitesItemsType", + "RuleSuitesItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0197.py b/githubkit/versions/v2022_11_28/types/group_0197.py index edb6fa30e..c8c11df8f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0197.py +++ b/githubkit/versions/v2022_11_28/types/group_0197.py @@ -34,6 +34,28 @@ class RuleSuiteType(TypedDict): rule_evaluations: NotRequired[list[RuleSuitePropRuleEvaluationsItemsType]] +class RuleSuiteTypeForResponse(TypedDict): + """Rule Suite + + Response + """ + + id: NotRequired[int] + actor_id: NotRequired[Union[int, None]] + actor_name: NotRequired[Union[str, None]] + before_sha: NotRequired[str] + after_sha: NotRequired[str] + ref: NotRequired[str] + repository_id: NotRequired[int] + repository_name: NotRequired[str] + pushed_at: NotRequired[str] + result: NotRequired[Literal["pass", "fail", "bypass"]] + evaluation_result: NotRequired[Union[None, Literal["pass", "fail", "bypass"]]] + rule_evaluations: NotRequired[ + list[RuleSuitePropRuleEvaluationsItemsTypeForResponse] + ] + + class RuleSuitePropRuleEvaluationsItemsType(TypedDict): """RuleSuitePropRuleEvaluationsItems""" @@ -44,6 +66,18 @@ class RuleSuitePropRuleEvaluationsItemsType(TypedDict): details: NotRequired[Union[str, None]] +class RuleSuitePropRuleEvaluationsItemsTypeForResponse(TypedDict): + """RuleSuitePropRuleEvaluationsItems""" + + rule_source: NotRequired[ + RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse + ] + enforcement: NotRequired[Literal["active", "evaluate", "deleted ruleset"]] + result: NotRequired[Literal["pass", "fail"]] + rule_type: NotRequired[str] + details: NotRequired[Union[str, None]] + + class RuleSuitePropRuleEvaluationsItemsPropRuleSourceType(TypedDict): """RuleSuitePropRuleEvaluationsItemsPropRuleSource""" @@ -52,8 +86,19 @@ class RuleSuitePropRuleEvaluationsItemsPropRuleSourceType(TypedDict): name: NotRequired[Union[str, None]] +class RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse(TypedDict): + """RuleSuitePropRuleEvaluationsItemsPropRuleSource""" + + type: NotRequired[str] + id: NotRequired[Union[int, None]] + name: NotRequired[Union[str, None]] + + __all__ = ( "RuleSuitePropRuleEvaluationsItemsPropRuleSourceType", + "RuleSuitePropRuleEvaluationsItemsPropRuleSourceTypeForResponse", "RuleSuitePropRuleEvaluationsItemsType", + "RuleSuitePropRuleEvaluationsItemsTypeForResponse", "RuleSuiteType", + "RuleSuiteTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0198.py b/githubkit/versions/v2022_11_28/types/group_0198.py index c71e76e6a..247cabe8a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0198.py +++ b/githubkit/versions/v2022_11_28/types/group_0198.py @@ -12,7 +12,10 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0199 import RulesetVersionPropActorType +from .group_0199 import ( + RulesetVersionPropActorType, + RulesetVersionPropActorTypeForResponse, +) class RulesetVersionType(TypedDict): @@ -26,4 +29,18 @@ class RulesetVersionType(TypedDict): updated_at: datetime -__all__ = ("RulesetVersionType",) +class RulesetVersionTypeForResponse(TypedDict): + """Ruleset version + + The historical version of a ruleset + """ + + version_id: int + actor: RulesetVersionPropActorTypeForResponse + updated_at: str + + +__all__ = ( + "RulesetVersionType", + "RulesetVersionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0199.py b/githubkit/versions/v2022_11_28/types/group_0199.py index 8966c1c93..d0bd0c60a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0199.py +++ b/githubkit/versions/v2022_11_28/types/group_0199.py @@ -22,4 +22,17 @@ class RulesetVersionPropActorType(TypedDict): type: NotRequired[str] -__all__ = ("RulesetVersionPropActorType",) +class RulesetVersionPropActorTypeForResponse(TypedDict): + """RulesetVersionPropActor + + The actor who updated the ruleset + """ + + id: NotRequired[int] + type: NotRequired[str] + + +__all__ = ( + "RulesetVersionPropActorType", + "RulesetVersionPropActorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0200.py b/githubkit/versions/v2022_11_28/types/group_0200.py index ca58f67e4..4d9630b4b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0200.py +++ b/githubkit/versions/v2022_11_28/types/group_0200.py @@ -12,8 +12,14 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0199 import RulesetVersionPropActorType -from .group_0202 import RulesetVersionWithStateAllof1PropStateType +from .group_0199 import ( + RulesetVersionPropActorType, + RulesetVersionPropActorTypeForResponse, +) +from .group_0202 import ( + RulesetVersionWithStateAllof1PropStateType, + RulesetVersionWithStateAllof1PropStateTypeForResponse, +) class RulesetVersionWithStateType(TypedDict): @@ -25,4 +31,16 @@ class RulesetVersionWithStateType(TypedDict): state: RulesetVersionWithStateAllof1PropStateType -__all__ = ("RulesetVersionWithStateType",) +class RulesetVersionWithStateTypeForResponse(TypedDict): + """RulesetVersionWithState""" + + version_id: int + actor: RulesetVersionPropActorTypeForResponse + updated_at: str + state: RulesetVersionWithStateAllof1PropStateTypeForResponse + + +__all__ = ( + "RulesetVersionWithStateType", + "RulesetVersionWithStateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0201.py b/githubkit/versions/v2022_11_28/types/group_0201.py index 26c16483c..d0517abe7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0201.py +++ b/githubkit/versions/v2022_11_28/types/group_0201.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0202 import RulesetVersionWithStateAllof1PropStateType +from .group_0202 import ( + RulesetVersionWithStateAllof1PropStateType, + RulesetVersionWithStateAllof1PropStateTypeForResponse, +) class RulesetVersionWithStateAllof1Type(TypedDict): @@ -20,4 +23,13 @@ class RulesetVersionWithStateAllof1Type(TypedDict): state: RulesetVersionWithStateAllof1PropStateType -__all__ = ("RulesetVersionWithStateAllof1Type",) +class RulesetVersionWithStateAllof1TypeForResponse(TypedDict): + """RulesetVersionWithStateAllof1""" + + state: RulesetVersionWithStateAllof1PropStateTypeForResponse + + +__all__ = ( + "RulesetVersionWithStateAllof1Type", + "RulesetVersionWithStateAllof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0202.py b/githubkit/versions/v2022_11_28/types/group_0202.py index c09a8e009..448738c0c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0202.py +++ b/githubkit/versions/v2022_11_28/types/group_0202.py @@ -19,4 +19,14 @@ class RulesetVersionWithStateAllof1PropStateType(TypedDict): """ -__all__ = ("RulesetVersionWithStateAllof1PropStateType",) +class RulesetVersionWithStateAllof1PropStateTypeForResponse(TypedDict): + """RulesetVersionWithStateAllof1PropState + + The state of the ruleset version + """ + + +__all__ = ( + "RulesetVersionWithStateAllof1PropStateType", + "RulesetVersionWithStateAllof1PropStateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0203.py b/githubkit/versions/v2022_11_28/types/group_0203.py index b50ccb144..9b713bf16 100644 --- a/githubkit/versions/v2022_11_28/types/group_0203.py +++ b/githubkit/versions/v2022_11_28/types/group_0203.py @@ -30,6 +30,24 @@ class SecretScanningLocationCommitType(TypedDict): commit_url: str +class SecretScanningLocationCommitTypeForResponse(TypedDict): + """SecretScanningLocationCommit + + Represents a 'commit' secret scanning location type. This location type shows + that a secret was detected inside a commit to a repository. + """ + + path: str + start_line: float + end_line: float + start_column: float + end_column: float + blob_sha: str + blob_url: str + commit_sha: str + commit_url: str + + class SecretScanningLocationWikiCommitType(TypedDict): """SecretScanningLocationWikiCommit @@ -48,6 +66,24 @@ class SecretScanningLocationWikiCommitType(TypedDict): commit_url: str +class SecretScanningLocationWikiCommitTypeForResponse(TypedDict): + """SecretScanningLocationWikiCommit + + Represents a 'wiki_commit' secret scanning location type. This location type + shows that a secret was detected inside a commit to a repository wiki. + """ + + path: str + start_line: float + end_line: float + start_column: float + end_column: float + blob_sha: str + page_url: str + commit_sha: str + commit_url: str + + class SecretScanningLocationIssueBodyType(TypedDict): """SecretScanningLocationIssueBody @@ -58,6 +94,16 @@ class SecretScanningLocationIssueBodyType(TypedDict): issue_body_url: str +class SecretScanningLocationIssueBodyTypeForResponse(TypedDict): + """SecretScanningLocationIssueBody + + Represents an 'issue_body' secret scanning location type. This location type + shows that a secret was detected in the body of an issue. + """ + + issue_body_url: str + + class SecretScanningLocationDiscussionTitleType(TypedDict): """SecretScanningLocationDiscussionTitle @@ -68,6 +114,16 @@ class SecretScanningLocationDiscussionTitleType(TypedDict): discussion_title_url: str +class SecretScanningLocationDiscussionTitleTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionTitle + + Represents a 'discussion_title' secret scanning location type. This location + type shows that a secret was detected in the title of a discussion. + """ + + discussion_title_url: str + + class SecretScanningLocationDiscussionCommentType(TypedDict): """SecretScanningLocationDiscussionComment @@ -78,6 +134,16 @@ class SecretScanningLocationDiscussionCommentType(TypedDict): discussion_comment_url: str +class SecretScanningLocationDiscussionCommentTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionComment + + Represents a 'discussion_comment' secret scanning location type. This location + type shows that a secret was detected in a comment on a discussion. + """ + + discussion_comment_url: str + + class SecretScanningLocationPullRequestBodyType(TypedDict): """SecretScanningLocationPullRequestBody @@ -88,6 +154,16 @@ class SecretScanningLocationPullRequestBodyType(TypedDict): pull_request_body_url: str +class SecretScanningLocationPullRequestBodyTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestBody + + Represents a 'pull_request_body' secret scanning location type. This location + type shows that a secret was detected in the body of a pull request. + """ + + pull_request_body_url: str + + class SecretScanningLocationPullRequestReviewType(TypedDict): """SecretScanningLocationPullRequestReview @@ -98,12 +174,29 @@ class SecretScanningLocationPullRequestReviewType(TypedDict): pull_request_review_url: str +class SecretScanningLocationPullRequestReviewTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestReview + + Represents a 'pull_request_review' secret scanning location type. This location + type shows that a secret was detected in a review on a pull request. + """ + + pull_request_review_url: str + + __all__ = ( "SecretScanningLocationCommitType", + "SecretScanningLocationCommitTypeForResponse", "SecretScanningLocationDiscussionCommentType", + "SecretScanningLocationDiscussionCommentTypeForResponse", "SecretScanningLocationDiscussionTitleType", + "SecretScanningLocationDiscussionTitleTypeForResponse", "SecretScanningLocationIssueBodyType", + "SecretScanningLocationIssueBodyTypeForResponse", "SecretScanningLocationPullRequestBodyType", + "SecretScanningLocationPullRequestBodyTypeForResponse", "SecretScanningLocationPullRequestReviewType", + "SecretScanningLocationPullRequestReviewTypeForResponse", "SecretScanningLocationWikiCommitType", + "SecretScanningLocationWikiCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0204.py b/githubkit/versions/v2022_11_28/types/group_0204.py index f78b830c8..86aefd319 100644 --- a/githubkit/versions/v2022_11_28/types/group_0204.py +++ b/githubkit/versions/v2022_11_28/types/group_0204.py @@ -22,6 +22,16 @@ class SecretScanningLocationIssueTitleType(TypedDict): issue_title_url: str +class SecretScanningLocationIssueTitleTypeForResponse(TypedDict): + """SecretScanningLocationIssueTitle + + Represents an 'issue_title' secret scanning location type. This location type + shows that a secret was detected in the title of an issue. + """ + + issue_title_url: str + + class SecretScanningLocationIssueCommentType(TypedDict): """SecretScanningLocationIssueComment @@ -32,6 +42,16 @@ class SecretScanningLocationIssueCommentType(TypedDict): issue_comment_url: str +class SecretScanningLocationIssueCommentTypeForResponse(TypedDict): + """SecretScanningLocationIssueComment + + Represents an 'issue_comment' secret scanning location type. This location type + shows that a secret was detected in a comment on an issue. + """ + + issue_comment_url: str + + class SecretScanningLocationPullRequestTitleType(TypedDict): """SecretScanningLocationPullRequestTitle @@ -42,6 +62,16 @@ class SecretScanningLocationPullRequestTitleType(TypedDict): pull_request_title_url: str +class SecretScanningLocationPullRequestTitleTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestTitle + + Represents a 'pull_request_title' secret scanning location type. This location + type shows that a secret was detected in the title of a pull request. + """ + + pull_request_title_url: str + + class SecretScanningLocationPullRequestReviewCommentType(TypedDict): """SecretScanningLocationPullRequestReviewComment @@ -53,9 +83,24 @@ class SecretScanningLocationPullRequestReviewCommentType(TypedDict): pull_request_review_comment_url: str +class SecretScanningLocationPullRequestReviewCommentTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestReviewComment + + Represents a 'pull_request_review_comment' secret scanning location type. This + location type shows that a secret was detected in a review comment on a pull + request. + """ + + pull_request_review_comment_url: str + + __all__ = ( "SecretScanningLocationIssueCommentType", + "SecretScanningLocationIssueCommentTypeForResponse", "SecretScanningLocationIssueTitleType", + "SecretScanningLocationIssueTitleTypeForResponse", "SecretScanningLocationPullRequestReviewCommentType", + "SecretScanningLocationPullRequestReviewCommentTypeForResponse", "SecretScanningLocationPullRequestTitleType", + "SecretScanningLocationPullRequestTitleTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0205.py b/githubkit/versions/v2022_11_28/types/group_0205.py index fad48635c..5ec587b8f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0205.py +++ b/githubkit/versions/v2022_11_28/types/group_0205.py @@ -22,6 +22,16 @@ class SecretScanningLocationDiscussionBodyType(TypedDict): discussion_body_url: str +class SecretScanningLocationDiscussionBodyTypeForResponse(TypedDict): + """SecretScanningLocationDiscussionBody + + Represents a 'discussion_body' secret scanning location type. This location type + shows that a secret was detected in the body of a discussion. + """ + + discussion_body_url: str + + class SecretScanningLocationPullRequestCommentType(TypedDict): """SecretScanningLocationPullRequestComment @@ -32,7 +42,19 @@ class SecretScanningLocationPullRequestCommentType(TypedDict): pull_request_comment_url: str +class SecretScanningLocationPullRequestCommentTypeForResponse(TypedDict): + """SecretScanningLocationPullRequestComment + + Represents a 'pull_request_comment' secret scanning location type. This location + type shows that a secret was detected in a comment on a pull request. + """ + + pull_request_comment_url: str + + __all__ = ( "SecretScanningLocationDiscussionBodyType", + "SecretScanningLocationDiscussionBodyTypeForResponse", "SecretScanningLocationPullRequestCommentType", + "SecretScanningLocationPullRequestCommentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0206.py b/githubkit/versions/v2022_11_28/types/group_0206.py index f0b947b81..a6127e2fd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0206.py +++ b/githubkit/versions/v2022_11_28/types/group_0206.py @@ -13,26 +13,39 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0032 import SimpleRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse from .group_0203 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0204 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0205 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -89,4 +102,62 @@ class OrganizationSecretScanningAlertType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("OrganizationSecretScanningAlertType",) +class OrganizationSecretScanningAlertTypeForResponse(TypedDict): + """OrganizationSecretScanningAlert""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + state: NotRequired[Literal["open", "resolved"]] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + secret: NotRequired[str] + repository: NotRequired[SimpleRepositoryTypeForResponse] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + resolution_comment: NotRequired[Union[str, None]] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + is_base64_encoded: NotRequired[Union[bool, None]] + first_location_detected: NotRequired[ + Union[ + None, + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + has_more_locations: NotRequired[bool] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "OrganizationSecretScanningAlertType", + "OrganizationSecretScanningAlertTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0207.py b/githubkit/versions/v2022_11_28/types/group_0207.py index d4af021d9..13c680ba4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0207.py +++ b/githubkit/versions/v2022_11_28/types/group_0207.py @@ -25,6 +25,22 @@ class SecretScanningPatternConfigurationType(TypedDict): custom_pattern_overrides: NotRequired[list[SecretScanningPatternOverrideType]] +class SecretScanningPatternConfigurationTypeForResponse(TypedDict): + """Secret scanning pattern configuration + + A collection of secret scanning patterns and their settings related to push + protection. + """ + + pattern_config_version: NotRequired[Union[str, None]] + provider_pattern_overrides: NotRequired[ + list[SecretScanningPatternOverrideTypeForResponse] + ] + custom_pattern_overrides: NotRequired[ + list[SecretScanningPatternOverrideTypeForResponse] + ] + + class SecretScanningPatternOverrideType(TypedDict): """SecretScanningPatternOverride""" @@ -44,7 +60,28 @@ class SecretScanningPatternOverrideType(TypedDict): setting: NotRequired[Literal["not-set", "disabled", "enabled"]] +class SecretScanningPatternOverrideTypeForResponse(TypedDict): + """SecretScanningPatternOverride""" + + token_type: NotRequired[str] + custom_pattern_version: NotRequired[Union[str, None]] + slug: NotRequired[str] + display_name: NotRequired[str] + alert_total: NotRequired[int] + alert_total_percentage: NotRequired[int] + false_positives: NotRequired[int] + false_positive_rate: NotRequired[int] + bypass_rate: NotRequired[int] + default_setting: NotRequired[Literal["disabled", "enabled"]] + enterprise_setting: NotRequired[ + Union[None, Literal["not-set", "disabled", "enabled"]] + ] + setting: NotRequired[Literal["not-set", "disabled", "enabled"]] + + __all__ = ( "SecretScanningPatternConfigurationType", + "SecretScanningPatternConfigurationTypeForResponse", "SecretScanningPatternOverrideType", + "SecretScanningPatternOverrideTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0208.py b/githubkit/versions/v2022_11_28/types/group_0208.py index ef2fcae57..f0255c698 100644 --- a/githubkit/versions/v2022_11_28/types/group_0208.py +++ b/githubkit/versions/v2022_11_28/types/group_0208.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class RepositoryAdvisoryCreditType(TypedDict): @@ -37,4 +37,29 @@ class RepositoryAdvisoryCreditType(TypedDict): state: Literal["accepted", "declined", "pending"] -__all__ = ("RepositoryAdvisoryCreditType",) +class RepositoryAdvisoryCreditTypeForResponse(TypedDict): + """RepositoryAdvisoryCredit + + A credit given to a user for a repository security advisory. + """ + + user: SimpleUserTypeForResponse + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + state: Literal["accepted", "declined", "pending"] + + +__all__ = ( + "RepositoryAdvisoryCreditType", + "RepositoryAdvisoryCreditTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0209.py b/githubkit/versions/v2022_11_28/types/group_0209.py index e87628f3d..1044ad01e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0209.py +++ b/githubkit/versions/v2022_11_28/types/group_0209.py @@ -13,10 +13,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType -from .group_0003 import SimpleUserType -from .group_0095 import TeamType -from .group_0208 import RepositoryAdvisoryCreditType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse +from .group_0208 import ( + RepositoryAdvisoryCreditType, + RepositoryAdvisoryCreditTypeForResponse, +) class RepositoryAdvisoryType(TypedDict): @@ -54,6 +57,41 @@ class RepositoryAdvisoryType(TypedDict): private_fork: None +class RepositoryAdvisoryTypeForResponse(TypedDict): + """RepositoryAdvisory + + A repository security advisory. + """ + + ghsa_id: str + cve_id: Union[str, None] + url: str + html_url: str + summary: str + description: Union[str, None] + severity: Union[None, Literal["critical", "high", "medium", "low"]] + author: None + publisher: None + identifiers: list[RepositoryAdvisoryPropIdentifiersItemsTypeForResponse] + state: Literal["published", "closed", "withdrawn", "draft", "triage"] + created_at: Union[str, None] + updated_at: Union[str, None] + published_at: Union[str, None] + closed_at: Union[str, None] + withdrawn_at: Union[str, None] + submission: Union[RepositoryAdvisoryPropSubmissionTypeForResponse, None] + vulnerabilities: Union[list[RepositoryAdvisoryVulnerabilityTypeForResponse], None] + cvss: Union[RepositoryAdvisoryPropCvssTypeForResponse, None] + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: Union[list[RepositoryAdvisoryPropCwesItemsTypeForResponse], None] + cwe_ids: Union[list[str], None] + credits_: Union[list[RepositoryAdvisoryPropCreditsItemsTypeForResponse], None] + credits_detailed: Union[list[RepositoryAdvisoryCreditTypeForResponse], None] + collaborating_users: Union[list[SimpleUserTypeForResponse], None] + collaborating_teams: Union[list[TeamTypeForResponse], None] + private_fork: None + + class RepositoryAdvisoryPropIdentifiersItemsType(TypedDict): """RepositoryAdvisoryPropIdentifiersItems""" @@ -61,12 +99,25 @@ class RepositoryAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class RepositoryAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropIdentifiersItems""" + + type: Literal["CVE", "GHSA"] + value: str + + class RepositoryAdvisoryPropSubmissionType(TypedDict): """RepositoryAdvisoryPropSubmission""" accepted: bool +class RepositoryAdvisoryPropSubmissionTypeForResponse(TypedDict): + """RepositoryAdvisoryPropSubmission""" + + accepted: bool + + class RepositoryAdvisoryPropCvssType(TypedDict): """RepositoryAdvisoryPropCvss""" @@ -74,6 +125,13 @@ class RepositoryAdvisoryPropCvssType(TypedDict): score: Union[float, None] +class RepositoryAdvisoryPropCvssTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCvss""" + + vector_string: Union[str, None] + score: Union[float, None] + + class RepositoryAdvisoryPropCwesItemsType(TypedDict): """RepositoryAdvisoryPropCwesItems""" @@ -81,6 +139,13 @@ class RepositoryAdvisoryPropCwesItemsType(TypedDict): name: str +class RepositoryAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class RepositoryAdvisoryPropCreditsItemsType(TypedDict): """RepositoryAdvisoryPropCreditsItems""" @@ -101,6 +166,26 @@ class RepositoryAdvisoryPropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryPropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryPropCreditsItems""" + + login: NotRequired[str] + type: NotRequired[ + Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + ] + + class RepositoryAdvisoryVulnerabilityType(TypedDict): """RepositoryAdvisoryVulnerability @@ -114,6 +199,19 @@ class RepositoryAdvisoryVulnerabilityType(TypedDict): vulnerable_functions: Union[list[str], None] +class RepositoryAdvisoryVulnerabilityTypeForResponse(TypedDict): + """RepositoryAdvisoryVulnerability + + A product affected by the vulnerability detailed in a repository security + advisory. + """ + + package: Union[RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse, None] + vulnerable_version_range: Union[str, None] + patched_versions: Union[str, None] + vulnerable_functions: Union[list[str], None] + + class RepositoryAdvisoryVulnerabilityPropPackageType(TypedDict): """RepositoryAdvisoryVulnerabilityPropPackage @@ -138,13 +236,45 @@ class RepositoryAdvisoryVulnerabilityPropPackageType(TypedDict): name: Union[str, None] +class RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse(TypedDict): + """RepositoryAdvisoryVulnerabilityPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: Union[str, None] + + __all__ = ( "RepositoryAdvisoryPropCreditsItemsType", + "RepositoryAdvisoryPropCreditsItemsTypeForResponse", "RepositoryAdvisoryPropCvssType", + "RepositoryAdvisoryPropCvssTypeForResponse", "RepositoryAdvisoryPropCwesItemsType", + "RepositoryAdvisoryPropCwesItemsTypeForResponse", "RepositoryAdvisoryPropIdentifiersItemsType", + "RepositoryAdvisoryPropIdentifiersItemsTypeForResponse", "RepositoryAdvisoryPropSubmissionType", + "RepositoryAdvisoryPropSubmissionTypeForResponse", "RepositoryAdvisoryType", + "RepositoryAdvisoryTypeForResponse", "RepositoryAdvisoryVulnerabilityPropPackageType", + "RepositoryAdvisoryVulnerabilityPropPackageTypeForResponse", "RepositoryAdvisoryVulnerabilityType", + "RepositoryAdvisoryVulnerabilityTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0210.py b/githubkit/versions/v2022_11_28/types/group_0210.py index fb14d5d5d..9a82a577a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0210.py +++ b/githubkit/versions/v2022_11_28/types/group_0210.py @@ -21,6 +21,15 @@ class ActionsBillingUsageType(TypedDict): minutes_used_breakdown: ActionsBillingUsagePropMinutesUsedBreakdownType +class ActionsBillingUsageTypeForResponse(TypedDict): + """ActionsBillingUsage""" + + total_minutes_used: int + total_paid_minutes_used: int + included_minutes: int + minutes_used_breakdown: ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse + + class ActionsBillingUsagePropMinutesUsedBreakdownType(TypedDict): """ActionsBillingUsagePropMinutesUsedBreakdown""" @@ -41,7 +50,29 @@ class ActionsBillingUsagePropMinutesUsedBreakdownType(TypedDict): total: NotRequired[int] +class ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse(TypedDict): + """ActionsBillingUsagePropMinutesUsedBreakdown""" + + ubuntu: NotRequired[int] + macos: NotRequired[int] + windows: NotRequired[int] + ubuntu_4_core: NotRequired[int] + ubuntu_8_core: NotRequired[int] + ubuntu_16_core: NotRequired[int] + ubuntu_32_core: NotRequired[int] + ubuntu_64_core: NotRequired[int] + windows_4_core: NotRequired[int] + windows_8_core: NotRequired[int] + windows_16_core: NotRequired[int] + windows_32_core: NotRequired[int] + windows_64_core: NotRequired[int] + macos_12_core: NotRequired[int] + total: NotRequired[int] + + __all__ = ( "ActionsBillingUsagePropMinutesUsedBreakdownType", + "ActionsBillingUsagePropMinutesUsedBreakdownTypeForResponse", "ActionsBillingUsageType", + "ActionsBillingUsageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0211.py b/githubkit/versions/v2022_11_28/types/group_0211.py index cac22c41a..4de2348c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0211.py +++ b/githubkit/versions/v2022_11_28/types/group_0211.py @@ -20,4 +20,15 @@ class PackagesBillingUsageType(TypedDict): included_gigabytes_bandwidth: int -__all__ = ("PackagesBillingUsageType",) +class PackagesBillingUsageTypeForResponse(TypedDict): + """PackagesBillingUsage""" + + total_gigabytes_bandwidth_used: int + total_paid_gigabytes_bandwidth_used: int + included_gigabytes_bandwidth: int + + +__all__ = ( + "PackagesBillingUsageType", + "PackagesBillingUsageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0212.py b/githubkit/versions/v2022_11_28/types/group_0212.py index 15a19a09d..65e50ceca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0212.py +++ b/githubkit/versions/v2022_11_28/types/group_0212.py @@ -20,4 +20,15 @@ class CombinedBillingUsageType(TypedDict): estimated_storage_for_month: int -__all__ = ("CombinedBillingUsageType",) +class CombinedBillingUsageTypeForResponse(TypedDict): + """CombinedBillingUsage""" + + days_left_in_billing_cycle: int + estimated_paid_storage_for_month: int + estimated_storage_for_month: int + + +__all__ = ( + "CombinedBillingUsageType", + "CombinedBillingUsageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0213.py b/githubkit/versions/v2022_11_28/types/group_0213.py index 0d85582aa..0885d5026 100644 --- a/githubkit/versions/v2022_11_28/types/group_0213.py +++ b/githubkit/versions/v2022_11_28/types/group_0213.py @@ -23,4 +23,17 @@ class ImmutableReleasesOrganizationSettingsType(TypedDict): selected_repositories_url: NotRequired[str] -__all__ = ("ImmutableReleasesOrganizationSettingsType",) +class ImmutableReleasesOrganizationSettingsTypeForResponse(TypedDict): + """Check immutable releases organization settings + + Check immutable releases settings for an organization. + """ + + enforced_repositories: Literal["all", "none", "selected"] + selected_repositories_url: NotRequired[str] + + +__all__ = ( + "ImmutableReleasesOrganizationSettingsType", + "ImmutableReleasesOrganizationSettingsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0214.py b/githubkit/versions/v2022_11_28/types/group_0214.py index c2fd7df78..75d6f683b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0214.py +++ b/githubkit/versions/v2022_11_28/types/group_0214.py @@ -25,4 +25,20 @@ class NetworkSettingsType(TypedDict): region: str -__all__ = ("NetworkSettingsType",) +class NetworkSettingsTypeForResponse(TypedDict): + """Hosted compute network settings resource + + A hosted compute network settings resource. + """ + + id: str + network_configuration_id: NotRequired[str] + name: str + subnet_id: str + region: str + + +__all__ = ( + "NetworkSettingsType", + "NetworkSettingsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0215.py b/githubkit/versions/v2022_11_28/types/group_0215.py index 6b24e071f..0f30d5ecb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0215.py +++ b/githubkit/versions/v2022_11_28/types/group_0215.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0094 import TeamSimpleType +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse class TeamFullType(TypedDict): @@ -48,6 +48,38 @@ class TeamFullType(TypedDict): enterprise_id: NotRequired[int] +class TeamFullTypeForResponse(TypedDict): + """Full Team + + Groups of organization members that gives permissions on specified repositories. + """ + + id: int + node_id: str + url: str + html_url: str + name: str + slug: str + description: Union[str, None] + privacy: NotRequired[Literal["closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: str + members_url: str + repositories_url: str + parent: NotRequired[Union[None, TeamSimpleTypeForResponse]] + members_count: int + repos_count: int + created_at: str + updated_at: str + organization: TeamOrganizationTypeForResponse + ldap_dn: NotRequired[str] + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class TeamOrganizationType(TypedDict): """Team Organization @@ -105,6 +137,63 @@ class TeamOrganizationType(TypedDict): archived_at: Union[datetime, None] +class TeamOrganizationTypeForResponse(TypedDict): + """Team Organization + + Team Organization + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + name: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + blog: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + twitter_username: NotRequired[Union[str, None]] + is_verified: NotRequired[bool] + has_organization_projects: bool + has_repository_projects: bool + public_repos: int + public_gists: int + followers: int + following: int + html_url: str + created_at: str + type: str + total_private_repos: NotRequired[int] + owned_private_repos: NotRequired[int] + private_gists: NotRequired[Union[int, None]] + disk_usage: NotRequired[Union[int, None]] + collaborators: NotRequired[Union[int, None]] + billing_email: NotRequired[Union[str, None]] + plan: NotRequired[TeamOrganizationPropPlanTypeForResponse] + default_repository_permission: NotRequired[Union[str, None]] + members_can_create_repositories: NotRequired[Union[bool, None]] + two_factor_requirement_enabled: NotRequired[Union[bool, None]] + members_allowed_repository_creation_type: NotRequired[str] + members_can_create_public_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[Union[bool, None]] + web_commit_signoff_required: NotRequired[bool] + updated_at: str + archived_at: Union[str, None] + + class TeamOrganizationPropPlanType(TypedDict): """TeamOrganizationPropPlan""" @@ -115,8 +204,21 @@ class TeamOrganizationPropPlanType(TypedDict): seats: NotRequired[int] +class TeamOrganizationPropPlanTypeForResponse(TypedDict): + """TeamOrganizationPropPlan""" + + name: str + space: int + private_repos: int + filled_seats: NotRequired[int] + seats: NotRequired[int] + + __all__ = ( "TeamFullType", + "TeamFullTypeForResponse", "TeamOrganizationPropPlanType", + "TeamOrganizationPropPlanTypeForResponse", "TeamOrganizationType", + "TeamOrganizationTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0216.py b/githubkit/versions/v2022_11_28/types/group_0216.py index 5a2283322..b67a77eb4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0216.py +++ b/githubkit/versions/v2022_11_28/types/group_0216.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class TeamDiscussionType(TypedDict): @@ -44,4 +44,34 @@ class TeamDiscussionType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TeamDiscussionType",) +class TeamDiscussionTypeForResponse(TypedDict): + """Team Discussion + + A team discussion is a persistent record of a free-form conversation within a + team. + """ + + author: Union[None, SimpleUserTypeForResponse] + body: str + body_html: str + body_version: str + comments_count: int + comments_url: str + created_at: str + last_edited_at: Union[str, None] + html_url: str + node_id: str + number: int + pinned: bool + private: bool + team_url: str + title: str + updated_at: str + url: str + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TeamDiscussionType", + "TeamDiscussionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0217.py b/githubkit/versions/v2022_11_28/types/group_0217.py index b1a18181a..323cb30ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_0217.py +++ b/githubkit/versions/v2022_11_28/types/group_0217.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class TeamDiscussionCommentType(TypedDict): @@ -38,4 +38,28 @@ class TeamDiscussionCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TeamDiscussionCommentType",) +class TeamDiscussionCommentTypeForResponse(TypedDict): + """Team Discussion Comment + + A reply to a discussion within a team. + """ + + author: Union[None, SimpleUserTypeForResponse] + body: str + body_html: str + body_version: str + created_at: str + last_edited_at: Union[str, None] + discussion_url: str + html_url: str + node_id: str + number: int + updated_at: str + url: str + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TeamDiscussionCommentType", + "TeamDiscussionCommentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0218.py b/githubkit/versions/v2022_11_28/types/group_0218.py index 29fb93bc6..a31e74260 100644 --- a/githubkit/versions/v2022_11_28/types/group_0218.py +++ b/githubkit/versions/v2022_11_28/types/group_0218.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReactionType(TypedDict): @@ -32,4 +32,23 @@ class ReactionType(TypedDict): created_at: datetime -__all__ = ("ReactionType",) +class ReactionTypeForResponse(TypedDict): + """Reaction + + Reactions to conversations provide a way to help people express their feelings + more simply and effectively. + """ + + id: int + node_id: str + user: Union[None, SimpleUserTypeForResponse] + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + created_at: str + + +__all__ = ( + "ReactionType", + "ReactionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0219.py b/githubkit/versions/v2022_11_28/types/group_0219.py index 201ca0a17..02228d2b0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0219.py +++ b/githubkit/versions/v2022_11_28/types/group_0219.py @@ -24,4 +24,18 @@ class TeamMembershipType(TypedDict): state: Literal["active", "pending"] -__all__ = ("TeamMembershipType",) +class TeamMembershipTypeForResponse(TypedDict): + """Team Membership + + Team Membership + """ + + url: str + role: Literal["member", "maintainer"] + state: Literal["active", "pending"] + + +__all__ = ( + "TeamMembershipType", + "TeamMembershipTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0220.py b/githubkit/versions/v2022_11_28/types/group_0220.py index eac617342..33b9de68c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0220.py +++ b/githubkit/versions/v2022_11_28/types/group_0220.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class TeamProjectType(TypedDict): @@ -39,6 +39,30 @@ class TeamProjectType(TypedDict): permissions: TeamProjectPropPermissionsType +class TeamProjectTypeForResponse(TypedDict): + """Team Project + + A team's access to a project. + """ + + owner_url: str + url: str + html_url: str + columns_url: str + id: int + node_id: str + name: str + body: Union[str, None] + number: int + state: str + creator: SimpleUserTypeForResponse + created_at: str + updated_at: str + organization_permission: NotRequired[str] + private: NotRequired[bool] + permissions: TeamProjectPropPermissionsTypeForResponse + + class TeamProjectPropPermissionsType(TypedDict): """TeamProjectPropPermissions""" @@ -47,7 +71,17 @@ class TeamProjectPropPermissionsType(TypedDict): admin: bool +class TeamProjectPropPermissionsTypeForResponse(TypedDict): + """TeamProjectPropPermissions""" + + read: bool + write: bool + admin: bool + + __all__ = ( "TeamProjectPropPermissionsType", + "TeamProjectPropPermissionsTypeForResponse", "TeamProjectType", + "TeamProjectTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0221.py b/githubkit/versions/v2022_11_28/types/group_0221.py index d648ae260..4432454bb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0221.py +++ b/githubkit/versions/v2022_11_28/types/group_0221.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class TeamRepositoryType(TypedDict): @@ -114,6 +114,103 @@ class TeamRepositoryType(TypedDict): master_branch: NotRequired[str] +class TeamRepositoryTypeForResponse(TypedDict): + """Team Repository + + A team's access to a repository. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + forks: int + permissions: NotRequired[TeamRepositoryPropPermissionsTypeForResponse] + role_name: NotRequired[str] + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + open_issues: int + watchers: int + master_branch: NotRequired[str] + + class TeamRepositoryPropPermissionsType(TypedDict): """TeamRepositoryPropPermissions""" @@ -124,7 +221,19 @@ class TeamRepositoryPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class TeamRepositoryPropPermissionsTypeForResponse(TypedDict): + """TeamRepositoryPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + __all__ = ( "TeamRepositoryPropPermissionsType", + "TeamRepositoryPropPermissionsTypeForResponse", "TeamRepositoryType", + "TeamRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0222.py b/githubkit/versions/v2022_11_28/types/group_0222.py index d23a9ab67..e578a2cf1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0222.py +++ b/githubkit/versions/v2022_11_28/types/group_0222.py @@ -29,4 +29,23 @@ class ProjectColumnType(TypedDict): updated_at: datetime -__all__ = ("ProjectColumnType",) +class ProjectColumnTypeForResponse(TypedDict): + """Project Column + + Project columns contain cards of work. + """ + + url: str + project_url: str + cards_url: str + id: int + node_id: str + name: str + created_at: str + updated_at: str + + +__all__ = ( + "ProjectColumnType", + "ProjectColumnTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0223.py b/githubkit/versions/v2022_11_28/types/group_0223.py index 45af07517..61203d657 100644 --- a/githubkit/versions/v2022_11_28/types/group_0223.py +++ b/githubkit/versions/v2022_11_28/types/group_0223.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectCollaboratorPermissionType(TypedDict): @@ -25,4 +25,17 @@ class ProjectCollaboratorPermissionType(TypedDict): user: Union[None, SimpleUserType] -__all__ = ("ProjectCollaboratorPermissionType",) +class ProjectCollaboratorPermissionTypeForResponse(TypedDict): + """Project Collaborator Permission + + Project Collaborator Permission + """ + + permission: str + user: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ProjectCollaboratorPermissionType", + "ProjectCollaboratorPermissionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0224.py b/githubkit/versions/v2022_11_28/types/group_0224.py index 7564a62f1..afd56aa3d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0224.py +++ b/githubkit/versions/v2022_11_28/types/group_0224.py @@ -21,4 +21,16 @@ class RateLimitType(TypedDict): used: int -__all__ = ("RateLimitType",) +class RateLimitTypeForResponse(TypedDict): + """Rate Limit""" + + limit: int + remaining: int + reset: int + used: int + + +__all__ = ( + "RateLimitType", + "RateLimitTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0225.py b/githubkit/versions/v2022_11_28/types/group_0225.py index 94481f84f..39a9811ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0225.py +++ b/githubkit/versions/v2022_11_28/types/group_0225.py @@ -11,8 +11,11 @@ from typing_extensions import TypedDict -from .group_0224 import RateLimitType -from .group_0226 import RateLimitOverviewPropResourcesType +from .group_0224 import RateLimitType, RateLimitTypeForResponse +from .group_0226 import ( + RateLimitOverviewPropResourcesType, + RateLimitOverviewPropResourcesTypeForResponse, +) class RateLimitOverviewType(TypedDict): @@ -25,4 +28,17 @@ class RateLimitOverviewType(TypedDict): rate: RateLimitType -__all__ = ("RateLimitOverviewType",) +class RateLimitOverviewTypeForResponse(TypedDict): + """Rate Limit Overview + + Rate Limit Overview + """ + + resources: RateLimitOverviewPropResourcesTypeForResponse + rate: RateLimitTypeForResponse + + +__all__ = ( + "RateLimitOverviewType", + "RateLimitOverviewTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0226.py b/githubkit/versions/v2022_11_28/types/group_0226.py index b1d61540d..394f087d8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0226.py +++ b/githubkit/versions/v2022_11_28/types/group_0226.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0224 import RateLimitType +from .group_0224 import RateLimitType, RateLimitTypeForResponse class RateLimitOverviewPropResourcesType(TypedDict): @@ -31,4 +31,24 @@ class RateLimitOverviewPropResourcesType(TypedDict): code_scanning_autofix: NotRequired[RateLimitType] -__all__ = ("RateLimitOverviewPropResourcesType",) +class RateLimitOverviewPropResourcesTypeForResponse(TypedDict): + """RateLimitOverviewPropResources""" + + core: RateLimitTypeForResponse + graphql: NotRequired[RateLimitTypeForResponse] + search: RateLimitTypeForResponse + code_search: NotRequired[RateLimitTypeForResponse] + source_import: NotRequired[RateLimitTypeForResponse] + integration_manifest: NotRequired[RateLimitTypeForResponse] + code_scanning_upload: NotRequired[RateLimitTypeForResponse] + actions_runner_registration: NotRequired[RateLimitTypeForResponse] + scim: NotRequired[RateLimitTypeForResponse] + dependency_snapshots: NotRequired[RateLimitTypeForResponse] + dependency_sbom: NotRequired[RateLimitTypeForResponse] + code_scanning_autofix: NotRequired[RateLimitTypeForResponse] + + +__all__ = ( + "RateLimitOverviewPropResourcesType", + "RateLimitOverviewPropResourcesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0227.py b/githubkit/versions/v2022_11_28/types/group_0227.py index 02e909e24..0e7289a26 100644 --- a/githubkit/versions/v2022_11_28/types/group_0227.py +++ b/githubkit/versions/v2022_11_28/types/group_0227.py @@ -34,6 +34,26 @@ class ArtifactType(TypedDict): workflow_run: NotRequired[Union[ArtifactPropWorkflowRunType, None]] +class ArtifactTypeForResponse(TypedDict): + """Artifact + + An artifact + """ + + id: int + node_id: str + name: str + size_in_bytes: int + url: str + archive_download_url: str + expired: bool + created_at: Union[str, None] + expires_at: Union[str, None] + updated_at: Union[str, None] + digest: NotRequired[Union[str, None]] + workflow_run: NotRequired[Union[ArtifactPropWorkflowRunTypeForResponse, None]] + + class ArtifactPropWorkflowRunType(TypedDict): """ArtifactPropWorkflowRun""" @@ -44,7 +64,19 @@ class ArtifactPropWorkflowRunType(TypedDict): head_sha: NotRequired[str] +class ArtifactPropWorkflowRunTypeForResponse(TypedDict): + """ArtifactPropWorkflowRun""" + + id: NotRequired[int] + repository_id: NotRequired[int] + head_repository_id: NotRequired[int] + head_branch: NotRequired[str] + head_sha: NotRequired[str] + + __all__ = ( "ArtifactPropWorkflowRunType", + "ArtifactPropWorkflowRunTypeForResponse", "ArtifactType", + "ArtifactTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0228.py b/githubkit/versions/v2022_11_28/types/group_0228.py index 88facf6b2..13dae0b83 100644 --- a/githubkit/versions/v2022_11_28/types/group_0228.py +++ b/githubkit/versions/v2022_11_28/types/group_0228.py @@ -23,6 +23,16 @@ class ActionsCacheListType(TypedDict): actions_caches: list[ActionsCacheListPropActionsCachesItemsType] +class ActionsCacheListTypeForResponse(TypedDict): + """Repository actions caches + + Repository actions caches + """ + + total_count: int + actions_caches: list[ActionsCacheListPropActionsCachesItemsTypeForResponse] + + class ActionsCacheListPropActionsCachesItemsType(TypedDict): """ActionsCacheListPropActionsCachesItems""" @@ -35,7 +45,21 @@ class ActionsCacheListPropActionsCachesItemsType(TypedDict): size_in_bytes: NotRequired[int] +class ActionsCacheListPropActionsCachesItemsTypeForResponse(TypedDict): + """ActionsCacheListPropActionsCachesItems""" + + id: NotRequired[int] + ref: NotRequired[str] + key: NotRequired[str] + version: NotRequired[str] + last_accessed_at: NotRequired[str] + created_at: NotRequired[str] + size_in_bytes: NotRequired[int] + + __all__ = ( "ActionsCacheListPropActionsCachesItemsType", + "ActionsCacheListPropActionsCachesItemsTypeForResponse", "ActionsCacheListType", + "ActionsCacheListTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0229.py b/githubkit/versions/v2022_11_28/types/group_0229.py index 1d359461a..3ce0d17c2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0229.py +++ b/githubkit/versions/v2022_11_28/types/group_0229.py @@ -58,6 +58,50 @@ class JobType(TypedDict): head_branch: Union[str, None] +class JobTypeForResponse(TypedDict): + """Job + + Information of a job execution in a workflow run + """ + + id: int + run_id: int + run_url: str + run_attempt: NotRequired[int] + node_id: str + head_sha: str + url: str + html_url: Union[str, None] + status: Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + created_at: str + started_at: str + completed_at: Union[str, None] + name: str + steps: NotRequired[list[JobPropStepsItemsTypeForResponse]] + check_run_url: str + labels: list[str] + runner_id: Union[int, None] + runner_name: Union[str, None] + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + workflow_name: Union[str, None] + head_branch: Union[str, None] + + class JobPropStepsItemsType(TypedDict): """JobPropStepsItems""" @@ -69,7 +113,20 @@ class JobPropStepsItemsType(TypedDict): completed_at: NotRequired[Union[datetime, None]] +class JobPropStepsItemsTypeForResponse(TypedDict): + """JobPropStepsItems""" + + status: Literal["queued", "in_progress", "completed"] + conclusion: Union[str, None] + name: str + number: int + started_at: NotRequired[Union[str, None]] + completed_at: NotRequired[Union[str, None]] + + __all__ = ( "JobPropStepsItemsType", + "JobPropStepsItemsTypeForResponse", "JobType", + "JobTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0230.py b/githubkit/versions/v2022_11_28/types/group_0230.py index faacb2b0b..359ba2f41 100644 --- a/githubkit/versions/v2022_11_28/types/group_0230.py +++ b/githubkit/versions/v2022_11_28/types/group_0230.py @@ -22,4 +22,17 @@ class OidcCustomSubRepoType(TypedDict): include_claim_keys: NotRequired[list[str]] -__all__ = ("OidcCustomSubRepoType",) +class OidcCustomSubRepoTypeForResponse(TypedDict): + """Actions OIDC subject customization for a repository + + Actions OIDC subject customization for a repository + """ + + use_default: bool + include_claim_keys: NotRequired[list[str]] + + +__all__ = ( + "OidcCustomSubRepoType", + "OidcCustomSubRepoTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0231.py b/githubkit/versions/v2022_11_28/types/group_0231.py index 7d6ae5032..55e0f9a29 100644 --- a/githubkit/versions/v2022_11_28/types/group_0231.py +++ b/githubkit/versions/v2022_11_28/types/group_0231.py @@ -24,4 +24,18 @@ class ActionsSecretType(TypedDict): updated_at: datetime -__all__ = ("ActionsSecretType",) +class ActionsSecretTypeForResponse(TypedDict): + """Actions Secret + + Set secrets for GitHub Actions. + """ + + name: str + created_at: str + updated_at: str + + +__all__ = ( + "ActionsSecretType", + "ActionsSecretTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0232.py b/githubkit/versions/v2022_11_28/types/group_0232.py index eb13c7e2f..78084ce7d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0232.py +++ b/githubkit/versions/v2022_11_28/types/group_0232.py @@ -22,4 +22,16 @@ class ActionsVariableType(TypedDict): updated_at: datetime -__all__ = ("ActionsVariableType",) +class ActionsVariableTypeForResponse(TypedDict): + """Actions Variable""" + + name: str + value: str + created_at: str + updated_at: str + + +__all__ = ( + "ActionsVariableType", + "ActionsVariableTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0233.py b/githubkit/versions/v2022_11_28/types/group_0233.py index 1d9f783e3..29301e5c2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0233.py +++ b/githubkit/versions/v2022_11_28/types/group_0233.py @@ -22,4 +22,16 @@ class ActionsRepositoryPermissionsType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ActionsRepositoryPermissionsType",) +class ActionsRepositoryPermissionsTypeForResponse(TypedDict): + """ActionsRepositoryPermissions""" + + enabled: bool + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + selected_actions_url: NotRequired[str] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ActionsRepositoryPermissionsType", + "ActionsRepositoryPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0234.py b/githubkit/versions/v2022_11_28/types/group_0234.py index 7678cad21..3cec75707 100644 --- a/githubkit/versions/v2022_11_28/types/group_0234.py +++ b/githubkit/versions/v2022_11_28/types/group_0234.py @@ -19,4 +19,13 @@ class ActionsWorkflowAccessToRepositoryType(TypedDict): access_level: Literal["none", "user", "organization"] -__all__ = ("ActionsWorkflowAccessToRepositoryType",) +class ActionsWorkflowAccessToRepositoryTypeForResponse(TypedDict): + """ActionsWorkflowAccessToRepository""" + + access_level: Literal["none", "user", "organization"] + + +__all__ = ( + "ActionsWorkflowAccessToRepositoryType", + "ActionsWorkflowAccessToRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0235.py b/githubkit/versions/v2022_11_28/types/group_0235.py index 7879ad294..d2f33fbe7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0235.py +++ b/githubkit/versions/v2022_11_28/types/group_0235.py @@ -22,6 +22,16 @@ class PullRequestMinimalType(TypedDict): base: PullRequestMinimalPropBaseType +class PullRequestMinimalTypeForResponse(TypedDict): + """Pull Request Minimal""" + + id: int + number: int + url: str + head: PullRequestMinimalPropHeadTypeForResponse + base: PullRequestMinimalPropBaseTypeForResponse + + class PullRequestMinimalPropHeadType(TypedDict): """PullRequestMinimalPropHead""" @@ -30,6 +40,14 @@ class PullRequestMinimalPropHeadType(TypedDict): repo: PullRequestMinimalPropHeadPropRepoType +class PullRequestMinimalPropHeadTypeForResponse(TypedDict): + """PullRequestMinimalPropHead""" + + ref: str + sha: str + repo: PullRequestMinimalPropHeadPropRepoTypeForResponse + + class PullRequestMinimalPropHeadPropRepoType(TypedDict): """PullRequestMinimalPropHeadPropRepo""" @@ -38,6 +56,14 @@ class PullRequestMinimalPropHeadPropRepoType(TypedDict): name: str +class PullRequestMinimalPropHeadPropRepoTypeForResponse(TypedDict): + """PullRequestMinimalPropHeadPropRepo""" + + id: int + url: str + name: str + + class PullRequestMinimalPropBaseType(TypedDict): """PullRequestMinimalPropBase""" @@ -46,6 +72,14 @@ class PullRequestMinimalPropBaseType(TypedDict): repo: PullRequestMinimalPropBasePropRepoType +class PullRequestMinimalPropBaseTypeForResponse(TypedDict): + """PullRequestMinimalPropBase""" + + ref: str + sha: str + repo: PullRequestMinimalPropBasePropRepoTypeForResponse + + class PullRequestMinimalPropBasePropRepoType(TypedDict): """PullRequestMinimalPropBasePropRepo""" @@ -54,10 +88,23 @@ class PullRequestMinimalPropBasePropRepoType(TypedDict): name: str +class PullRequestMinimalPropBasePropRepoTypeForResponse(TypedDict): + """PullRequestMinimalPropBasePropRepo""" + + id: int + url: str + name: str + + __all__ = ( "PullRequestMinimalPropBasePropRepoType", + "PullRequestMinimalPropBasePropRepoTypeForResponse", "PullRequestMinimalPropBaseType", + "PullRequestMinimalPropBaseTypeForResponse", "PullRequestMinimalPropHeadPropRepoType", + "PullRequestMinimalPropHeadPropRepoTypeForResponse", "PullRequestMinimalPropHeadType", + "PullRequestMinimalPropHeadTypeForResponse", "PullRequestMinimalType", + "PullRequestMinimalTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0236.py b/githubkit/versions/v2022_11_28/types/group_0236.py index d8e989649..e0559e288 100644 --- a/githubkit/versions/v2022_11_28/types/group_0236.py +++ b/githubkit/versions/v2022_11_28/types/group_0236.py @@ -28,6 +28,20 @@ class SimpleCommitType(TypedDict): committer: Union[SimpleCommitPropCommitterType, None] +class SimpleCommitTypeForResponse(TypedDict): + """Simple Commit + + A commit. + """ + + id: str + tree_id: str + message: str + timestamp: str + author: Union[SimpleCommitPropAuthorTypeForResponse, None] + committer: Union[SimpleCommitPropCommitterTypeForResponse, None] + + class SimpleCommitPropAuthorType(TypedDict): """SimpleCommitPropAuthor @@ -38,6 +52,16 @@ class SimpleCommitPropAuthorType(TypedDict): email: str +class SimpleCommitPropAuthorTypeForResponse(TypedDict): + """SimpleCommitPropAuthor + + Information about the Git author + """ + + name: str + email: str + + class SimpleCommitPropCommitterType(TypedDict): """SimpleCommitPropCommitter @@ -48,8 +72,21 @@ class SimpleCommitPropCommitterType(TypedDict): email: str +class SimpleCommitPropCommitterTypeForResponse(TypedDict): + """SimpleCommitPropCommitter + + Information about the Git committer + """ + + name: str + email: str + + __all__ = ( "SimpleCommitPropAuthorType", + "SimpleCommitPropAuthorTypeForResponse", "SimpleCommitPropCommitterType", + "SimpleCommitPropCommitterTypeForResponse", "SimpleCommitType", + "SimpleCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0237.py b/githubkit/versions/v2022_11_28/types/group_0237.py index dbecb9835..886b991c8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0237.py +++ b/githubkit/versions/v2022_11_28/types/group_0237.py @@ -13,10 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0061 import MinimalRepositoryType -from .group_0235 import PullRequestMinimalType -from .group_0236 import SimpleCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0235 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0236 import SimpleCommitType, SimpleCommitTypeForResponse class WorkflowRunType(TypedDict): @@ -63,6 +63,52 @@ class WorkflowRunType(TypedDict): display_title: str +class WorkflowRunTypeForResponse(TypedDict): + """Workflow Run + + An invocation of a workflow + """ + + id: int + name: NotRequired[Union[str, None]] + node_id: str + check_suite_id: NotRequired[int] + check_suite_node_id: NotRequired[str] + head_branch: Union[str, None] + head_sha: str + path: str + run_number: int + run_attempt: NotRequired[int] + referenced_workflows: NotRequired[ + Union[list[ReferencedWorkflowTypeForResponse], None] + ] + event: str + status: Union[str, None] + conclusion: Union[str, None] + workflow_id: int + url: str + html_url: str + pull_requests: Union[list[PullRequestMinimalTypeForResponse], None] + created_at: str + updated_at: str + actor: NotRequired[SimpleUserTypeForResponse] + triggering_actor: NotRequired[SimpleUserTypeForResponse] + run_started_at: NotRequired[str] + jobs_url: str + logs_url: str + check_suite_url: str + artifacts_url: str + cancel_url: str + rerun_url: str + previous_attempt_url: NotRequired[Union[str, None]] + workflow_url: str + head_commit: Union[None, SimpleCommitTypeForResponse] + repository: MinimalRepositoryTypeForResponse + head_repository: MinimalRepositoryTypeForResponse + head_repository_id: NotRequired[int] + display_title: str + + class ReferencedWorkflowType(TypedDict): """Referenced workflow @@ -74,7 +120,20 @@ class ReferencedWorkflowType(TypedDict): ref: NotRequired[str] +class ReferencedWorkflowTypeForResponse(TypedDict): + """Referenced workflow + + A workflow referenced/reused by the initial caller workflow + """ + + path: str + sha: str + ref: NotRequired[str] + + __all__ = ( "ReferencedWorkflowType", + "ReferencedWorkflowTypeForResponse", "WorkflowRunType", + "WorkflowRunTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0238.py b/githubkit/versions/v2022_11_28/types/group_0238.py index 8003cc5ba..dd3d38ed5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0238.py +++ b/githubkit/versions/v2022_11_28/types/group_0238.py @@ -13,7 +13,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class EnvironmentApprovalsType(TypedDict): @@ -28,6 +28,18 @@ class EnvironmentApprovalsType(TypedDict): comment: str +class EnvironmentApprovalsTypeForResponse(TypedDict): + """Environment Approval + + An entry in the reviews log for environment deployments + """ + + environments: list[EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse] + state: Literal["approved", "rejected", "pending"] + user: SimpleUserTypeForResponse + comment: str + + class EnvironmentApprovalsPropEnvironmentsItemsType(TypedDict): """EnvironmentApprovalsPropEnvironmentsItems""" @@ -40,7 +52,21 @@ class EnvironmentApprovalsPropEnvironmentsItemsType(TypedDict): updated_at: NotRequired[datetime] +class EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse(TypedDict): + """EnvironmentApprovalsPropEnvironmentsItems""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "EnvironmentApprovalsPropEnvironmentsItemsType", + "EnvironmentApprovalsPropEnvironmentsItemsTypeForResponse", "EnvironmentApprovalsType", + "EnvironmentApprovalsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0239.py b/githubkit/versions/v2022_11_28/types/group_0239.py index 909bb75c8..0b9c455c3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0239.py +++ b/githubkit/versions/v2022_11_28/types/group_0239.py @@ -19,4 +19,14 @@ class ReviewCustomGatesCommentRequiredType(TypedDict): comment: str -__all__ = ("ReviewCustomGatesCommentRequiredType",) +class ReviewCustomGatesCommentRequiredTypeForResponse(TypedDict): + """ReviewCustomGatesCommentRequired""" + + environment_name: str + comment: str + + +__all__ = ( + "ReviewCustomGatesCommentRequiredType", + "ReviewCustomGatesCommentRequiredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0240.py b/githubkit/versions/v2022_11_28/types/group_0240.py index 75b0bb6f6..17064ebe2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0240.py +++ b/githubkit/versions/v2022_11_28/types/group_0240.py @@ -21,4 +21,15 @@ class ReviewCustomGatesStateRequiredType(TypedDict): comment: NotRequired[str] -__all__ = ("ReviewCustomGatesStateRequiredType",) +class ReviewCustomGatesStateRequiredTypeForResponse(TypedDict): + """ReviewCustomGatesStateRequired""" + + environment_name: str + state: Literal["approved", "rejected"] + comment: NotRequired[str] + + +__all__ = ( + "ReviewCustomGatesStateRequiredType", + "ReviewCustomGatesStateRequiredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0241.py b/githubkit/versions/v2022_11_28/types/group_0241.py index 8f6daaa8c..0199ed0a3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0241.py +++ b/githubkit/versions/v2022_11_28/types/group_0241.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class PendingDeploymentPropReviewersItemsType(TypedDict): @@ -24,6 +24,13 @@ class PendingDeploymentPropReviewersItemsType(TypedDict): reviewer: NotRequired[Union[SimpleUserType, TeamType]] +class PendingDeploymentPropReviewersItemsTypeForResponse(TypedDict): + """PendingDeploymentPropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + reviewer: NotRequired[Union[SimpleUserTypeForResponse, TeamTypeForResponse]] + + class PendingDeploymentType(TypedDict): """Pending Deployment @@ -37,6 +44,19 @@ class PendingDeploymentType(TypedDict): reviewers: list[PendingDeploymentPropReviewersItemsType] +class PendingDeploymentTypeForResponse(TypedDict): + """Pending Deployment + + Details of a deployment that is waiting for protection rules to pass + """ + + environment: PendingDeploymentPropEnvironmentTypeForResponse + wait_timer: int + wait_timer_started_at: Union[str, None] + current_user_can_approve: bool + reviewers: list[PendingDeploymentPropReviewersItemsTypeForResponse] + + class PendingDeploymentPropEnvironmentType(TypedDict): """PendingDeploymentPropEnvironment""" @@ -47,8 +67,21 @@ class PendingDeploymentPropEnvironmentType(TypedDict): html_url: NotRequired[str] +class PendingDeploymentPropEnvironmentTypeForResponse(TypedDict): + """PendingDeploymentPropEnvironment""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + + __all__ = ( "PendingDeploymentPropEnvironmentType", + "PendingDeploymentPropEnvironmentTypeForResponse", "PendingDeploymentPropReviewersItemsType", + "PendingDeploymentPropReviewersItemsTypeForResponse", "PendingDeploymentType", + "PendingDeploymentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0242.py b/githubkit/versions/v2022_11_28/types/group_0242.py index 92437789e..c7eb919e7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0242.py +++ b/githubkit/versions/v2022_11_28/types/group_0242.py @@ -13,8 +13,8 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentType(TypedDict): @@ -43,12 +43,45 @@ class DeploymentType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] +class DeploymentTypeForResponse(TypedDict): + """Deployment + + A request for a specific ref(branch,sha,tag) to be deployed + """ + + url: str + id: int + node_id: str + sha: str + ref: str + task: str + payload: Union[DeploymentPropPayloadOneof0TypeForResponse, str] + original_environment: NotRequired[str] + environment: str + description: Union[str, None] + creator: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + statuses_url: str + repository_url: str + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + DeploymentPropPayloadOneof0Type: TypeAlias = dict[str, Any] """DeploymentPropPayloadOneof0 """ +DeploymentPropPayloadOneof0TypeForResponse: TypeAlias = dict[str, Any] +"""DeploymentPropPayloadOneof0 +""" + + __all__ = ( "DeploymentPropPayloadOneof0Type", + "DeploymentPropPayloadOneof0TypeForResponse", "DeploymentType", + "DeploymentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0243.py b/githubkit/versions/v2022_11_28/types/group_0243.py index f9d6d4cf5..076dff29c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0243.py +++ b/githubkit/versions/v2022_11_28/types/group_0243.py @@ -22,6 +22,16 @@ class WorkflowRunUsageType(TypedDict): run_duration_ms: NotRequired[int] +class WorkflowRunUsageTypeForResponse(TypedDict): + """Workflow Run Usage + + Workflow Run Usage + """ + + billable: WorkflowRunUsagePropBillableTypeForResponse + run_duration_ms: NotRequired[int] + + class WorkflowRunUsagePropBillableType(TypedDict): """WorkflowRunUsagePropBillable""" @@ -30,6 +40,14 @@ class WorkflowRunUsagePropBillableType(TypedDict): windows: NotRequired[WorkflowRunUsagePropBillablePropWindowsType] +class WorkflowRunUsagePropBillableTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillable""" + + ubuntu: NotRequired[WorkflowRunUsagePropBillablePropUbuntuTypeForResponse] + macos: NotRequired[WorkflowRunUsagePropBillablePropMacosTypeForResponse] + windows: NotRequired[WorkflowRunUsagePropBillablePropWindowsTypeForResponse] + + class WorkflowRunUsagePropBillablePropUbuntuType(TypedDict): """WorkflowRunUsagePropBillablePropUbuntu""" @@ -40,6 +58,16 @@ class WorkflowRunUsagePropBillablePropUbuntuType(TypedDict): ] +class WorkflowRunUsagePropBillablePropUbuntuTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropUbuntu""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItems""" @@ -47,6 +75,13 @@ class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItems""" + + job_id: int + duration_ms: int + + class WorkflowRunUsagePropBillablePropMacosType(TypedDict): """WorkflowRunUsagePropBillablePropMacos""" @@ -57,6 +92,16 @@ class WorkflowRunUsagePropBillablePropMacosType(TypedDict): ] +class WorkflowRunUsagePropBillablePropMacosTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropMacos""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropMacosPropJobRunsItems""" @@ -64,6 +109,13 @@ class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropMacosPropJobRunsItems""" + + job_id: int + duration_ms: int + + class WorkflowRunUsagePropBillablePropWindowsType(TypedDict): """WorkflowRunUsagePropBillablePropWindows""" @@ -74,6 +126,16 @@ class WorkflowRunUsagePropBillablePropWindowsType(TypedDict): ] +class WorkflowRunUsagePropBillablePropWindowsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropWindows""" + + total_ms: int + jobs: int + job_runs: NotRequired[ + list[WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse] + ] + + class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType(TypedDict): """WorkflowRunUsagePropBillablePropWindowsPropJobRunsItems""" @@ -81,13 +143,28 @@ class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType(TypedDict): duration_ms: int +class WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse(TypedDict): + """WorkflowRunUsagePropBillablePropWindowsPropJobRunsItems""" + + job_id: int + duration_ms: int + + __all__ = ( "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropMacosPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropMacosType", + "WorkflowRunUsagePropBillablePropMacosTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropUbuntuPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropUbuntuType", + "WorkflowRunUsagePropBillablePropUbuntuTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsType", + "WorkflowRunUsagePropBillablePropWindowsPropJobRunsItemsTypeForResponse", "WorkflowRunUsagePropBillablePropWindowsType", + "WorkflowRunUsagePropBillablePropWindowsTypeForResponse", "WorkflowRunUsagePropBillableType", + "WorkflowRunUsagePropBillableTypeForResponse", "WorkflowRunUsageType", + "WorkflowRunUsageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0244.py b/githubkit/versions/v2022_11_28/types/group_0244.py index 6cefd47bb..2f737251d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0244.py +++ b/githubkit/versions/v2022_11_28/types/group_0244.py @@ -21,6 +21,15 @@ class WorkflowUsageType(TypedDict): billable: WorkflowUsagePropBillableType +class WorkflowUsageTypeForResponse(TypedDict): + """Workflow Usage + + Workflow Usage + """ + + billable: WorkflowUsagePropBillableTypeForResponse + + class WorkflowUsagePropBillableType(TypedDict): """WorkflowUsagePropBillable""" @@ -29,28 +38,59 @@ class WorkflowUsagePropBillableType(TypedDict): windows: NotRequired[WorkflowUsagePropBillablePropWindowsType] +class WorkflowUsagePropBillableTypeForResponse(TypedDict): + """WorkflowUsagePropBillable""" + + ubuntu: NotRequired[WorkflowUsagePropBillablePropUbuntuTypeForResponse] + macos: NotRequired[WorkflowUsagePropBillablePropMacosTypeForResponse] + windows: NotRequired[WorkflowUsagePropBillablePropWindowsTypeForResponse] + + class WorkflowUsagePropBillablePropUbuntuType(TypedDict): """WorkflowUsagePropBillablePropUbuntu""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropUbuntuTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropUbuntu""" + + total_ms: NotRequired[int] + + class WorkflowUsagePropBillablePropMacosType(TypedDict): """WorkflowUsagePropBillablePropMacos""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropMacosTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropMacos""" + + total_ms: NotRequired[int] + + class WorkflowUsagePropBillablePropWindowsType(TypedDict): """WorkflowUsagePropBillablePropWindows""" total_ms: NotRequired[int] +class WorkflowUsagePropBillablePropWindowsTypeForResponse(TypedDict): + """WorkflowUsagePropBillablePropWindows""" + + total_ms: NotRequired[int] + + __all__ = ( "WorkflowUsagePropBillablePropMacosType", + "WorkflowUsagePropBillablePropMacosTypeForResponse", "WorkflowUsagePropBillablePropUbuntuType", + "WorkflowUsagePropBillablePropUbuntuTypeForResponse", "WorkflowUsagePropBillablePropWindowsType", + "WorkflowUsagePropBillablePropWindowsTypeForResponse", "WorkflowUsagePropBillableType", + "WorkflowUsagePropBillableTypeForResponse", "WorkflowUsageType", + "WorkflowUsageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0245.py b/githubkit/versions/v2022_11_28/types/group_0245.py index 1deac10b0..bb7ff45ff 100644 --- a/githubkit/versions/v2022_11_28/types/group_0245.py +++ b/githubkit/versions/v2022_11_28/types/group_0245.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ActivityType(TypedDict): @@ -39,4 +39,30 @@ class ActivityType(TypedDict): actor: Union[None, SimpleUserType] -__all__ = ("ActivityType",) +class ActivityTypeForResponse(TypedDict): + """Activity + + Activity + """ + + id: int + node_id: str + before: str + after: str + ref: str + timestamp: str + activity_type: Literal[ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge", + ] + actor: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ActivityType", + "ActivityTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0246.py b/githubkit/versions/v2022_11_28/types/group_0246.py index 6d502f85a..685ada3ad 100644 --- a/githubkit/versions/v2022_11_28/types/group_0246.py +++ b/githubkit/versions/v2022_11_28/types/group_0246.py @@ -27,4 +27,20 @@ class AutolinkType(TypedDict): updated_at: NotRequired[Union[datetime, None]] -__all__ = ("AutolinkType",) +class AutolinkTypeForResponse(TypedDict): + """Autolink reference + + An autolink reference. + """ + + id: int + key_prefix: str + url_template: str + is_alphanumeric: bool + updated_at: NotRequired[Union[str, None]] + + +__all__ = ( + "AutolinkType", + "AutolinkTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0247.py b/githubkit/versions/v2022_11_28/types/group_0247.py index deb29de44..83e8fb03c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0247.py +++ b/githubkit/versions/v2022_11_28/types/group_0247.py @@ -22,4 +22,17 @@ class CheckAutomatedSecurityFixesType(TypedDict): paused: bool -__all__ = ("CheckAutomatedSecurityFixesType",) +class CheckAutomatedSecurityFixesTypeForResponse(TypedDict): + """Check Dependabot security updates + + Check Dependabot security updates + """ + + enabled: bool + paused: bool + + +__all__ = ( + "CheckAutomatedSecurityFixesType", + "CheckAutomatedSecurityFixesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0248.py b/githubkit/versions/v2022_11_28/types/group_0248.py index 50c4edf25..7c530fc66 100644 --- a/githubkit/versions/v2022_11_28/types/group_0248.py +++ b/githubkit/versions/v2022_11_28/types/group_0248.py @@ -13,7 +13,9 @@ from .group_0249 import ( ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType, + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse, ProtectedBranchPullRequestReviewPropDismissalRestrictionsType, + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse, ) @@ -36,4 +38,26 @@ class ProtectedBranchPullRequestReviewType(TypedDict): require_last_push_approval: NotRequired[bool] -__all__ = ("ProtectedBranchPullRequestReviewType",) +class ProtectedBranchPullRequestReviewTypeForResponse(TypedDict): + """Protected Branch Pull Request Review + + Protected Branch Pull Request Review + """ + + url: NotRequired[str] + dismissal_restrictions: NotRequired[ + ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse + ] + bypass_pull_request_allowances: NotRequired[ + ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse + ] + dismiss_stale_reviews: bool + require_code_owner_reviews: bool + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + + +__all__ = ( + "ProtectedBranchPullRequestReviewType", + "ProtectedBranchPullRequestReviewTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0249.py b/githubkit/versions/v2022_11_28/types/group_0249.py index 5d5f7857b..f0b9b9c15 100644 --- a/githubkit/versions/v2022_11_28/types/group_0249.py +++ b/githubkit/versions/v2022_11_28/types/group_0249.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class ProtectedBranchPullRequestReviewPropDismissalRestrictionsType(TypedDict): @@ -28,6 +28,19 @@ class ProtectedBranchPullRequestReviewPropDismissalRestrictionsType(TypedDict): teams_url: NotRequired[str] +class ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ProtectedBranchPullRequestReviewPropDismissalRestrictions""" + + users: NotRequired[list[SimpleUserTypeForResponse]] + teams: NotRequired[list[TeamTypeForResponse]] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + url: NotRequired[str] + users_url: NotRequired[str] + teams_url: NotRequired[str] + + class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType(TypedDict): """ProtectedBranchPullRequestReviewPropBypassPullRequestAllowances @@ -39,7 +52,22 @@ class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType(TypedD apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ProtectedBranchPullRequestReviewPropBypassPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[SimpleUserTypeForResponse]] + teams: NotRequired[list[TeamTypeForResponse]] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + __all__ = ( "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesType", + "ProtectedBranchPullRequestReviewPropBypassPullRequestAllowancesTypeForResponse", "ProtectedBranchPullRequestReviewPropDismissalRestrictionsType", + "ProtectedBranchPullRequestReviewPropDismissalRestrictionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0250.py b/githubkit/versions/v2022_11_28/types/group_0250.py index 94dfbea90..a60bcc0c6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0250.py +++ b/githubkit/versions/v2022_11_28/types/group_0250.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0095 import TeamType +from .group_0095 import TeamType, TeamTypeForResponse class BranchRestrictionPolicyType(TypedDict): @@ -29,6 +29,21 @@ class BranchRestrictionPolicyType(TypedDict): apps: list[BranchRestrictionPolicyPropAppsItemsType] +class BranchRestrictionPolicyTypeForResponse(TypedDict): + """Branch Restriction Policy + + Branch Restriction Policy + """ + + url: str + users_url: str + teams_url: str + apps_url: str + users: list[BranchRestrictionPolicyPropUsersItemsTypeForResponse] + teams: list[TeamTypeForResponse] + apps: list[BranchRestrictionPolicyPropAppsItemsTypeForResponse] + + class BranchRestrictionPolicyPropUsersItemsType(TypedDict): """BranchRestrictionPolicyPropUsersItems""" @@ -53,6 +68,30 @@ class BranchRestrictionPolicyPropUsersItemsType(TypedDict): user_view_type: NotRequired[str] +class BranchRestrictionPolicyPropUsersItemsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropUsersItems""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + user_view_type: NotRequired[str] + + class BranchRestrictionPolicyPropAppsItemsType(TypedDict): """BranchRestrictionPolicyPropAppsItems""" @@ -71,6 +110,26 @@ class BranchRestrictionPolicyPropAppsItemsType(TypedDict): events: NotRequired[list[str]] +class BranchRestrictionPolicyPropAppsItemsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItems""" + + id: NotRequired[int] + slug: NotRequired[str] + node_id: NotRequired[str] + owner: NotRequired[BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse] + name: NotRequired[str] + client_id: NotRequired[str] + description: NotRequired[str] + external_url: NotRequired[str] + html_url: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + permissions: NotRequired[ + BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse + ] + events: NotRequired[list[str]] + + class BranchRestrictionPolicyPropAppsItemsPropOwnerType(TypedDict): """BranchRestrictionPolicyPropAppsItemsPropOwner""" @@ -100,6 +159,35 @@ class BranchRestrictionPolicyPropAppsItemsPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItemsPropOwner""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + hooks_url: NotRequired[str] + issues_url: NotRequired[str] + members_url: NotRequired[str] + public_members_url: NotRequired[str] + avatar_url: NotRequired[str] + description: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + user_view_type: NotRequired[str] + + class BranchRestrictionPolicyPropAppsItemsPropPermissionsType(TypedDict): """BranchRestrictionPolicyPropAppsItemsPropPermissions""" @@ -109,10 +197,24 @@ class BranchRestrictionPolicyPropAppsItemsPropPermissionsType(TypedDict): single_file: NotRequired[str] +class BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse(TypedDict): + """BranchRestrictionPolicyPropAppsItemsPropPermissions""" + + metadata: NotRequired[str] + contents: NotRequired[str] + issues: NotRequired[str] + single_file: NotRequired[str] + + __all__ = ( "BranchRestrictionPolicyPropAppsItemsPropOwnerType", + "BranchRestrictionPolicyPropAppsItemsPropOwnerTypeForResponse", "BranchRestrictionPolicyPropAppsItemsPropPermissionsType", + "BranchRestrictionPolicyPropAppsItemsPropPermissionsTypeForResponse", "BranchRestrictionPolicyPropAppsItemsType", + "BranchRestrictionPolicyPropAppsItemsTypeForResponse", "BranchRestrictionPolicyPropUsersItemsType", + "BranchRestrictionPolicyPropUsersItemsTypeForResponse", "BranchRestrictionPolicyType", + "BranchRestrictionPolicyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0251.py b/githubkit/versions/v2022_11_28/types/group_0251.py index 10fe5ff14..54867c63a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0251.py +++ b/githubkit/versions/v2022_11_28/types/group_0251.py @@ -12,8 +12,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0248 import ProtectedBranchPullRequestReviewType -from .group_0250 import BranchRestrictionPolicyType +from .group_0248 import ( + ProtectedBranchPullRequestReviewType, + ProtectedBranchPullRequestReviewTypeForResponse, +) +from .group_0250 import ( + BranchRestrictionPolicyType, + BranchRestrictionPolicyTypeForResponse, +) class BranchProtectionType(TypedDict): @@ -42,6 +48,40 @@ class BranchProtectionType(TypedDict): allow_fork_syncing: NotRequired[BranchProtectionPropAllowForkSyncingType] +class BranchProtectionTypeForResponse(TypedDict): + """Branch Protection + + Branch Protection + """ + + url: NotRequired[str] + enabled: NotRequired[bool] + required_status_checks: NotRequired[ + ProtectedBranchRequiredStatusCheckTypeForResponse + ] + enforce_admins: NotRequired[ProtectedBranchAdminEnforcedTypeForResponse] + required_pull_request_reviews: NotRequired[ + ProtectedBranchPullRequestReviewTypeForResponse + ] + restrictions: NotRequired[BranchRestrictionPolicyTypeForResponse] + required_linear_history: NotRequired[ + BranchProtectionPropRequiredLinearHistoryTypeForResponse + ] + allow_force_pushes: NotRequired[BranchProtectionPropAllowForcePushesTypeForResponse] + allow_deletions: NotRequired[BranchProtectionPropAllowDeletionsTypeForResponse] + block_creations: NotRequired[BranchProtectionPropBlockCreationsTypeForResponse] + required_conversation_resolution: NotRequired[ + BranchProtectionPropRequiredConversationResolutionTypeForResponse + ] + name: NotRequired[str] + protection_url: NotRequired[str] + required_signatures: NotRequired[ + BranchProtectionPropRequiredSignaturesTypeForResponse + ] + lock_branch: NotRequired[BranchProtectionPropLockBranchTypeForResponse] + allow_fork_syncing: NotRequired[BranchProtectionPropAllowForkSyncingTypeForResponse] + + class ProtectedBranchAdminEnforcedType(TypedDict): """Protected Branch Admin Enforced @@ -52,36 +92,76 @@ class ProtectedBranchAdminEnforcedType(TypedDict): enabled: bool +class ProtectedBranchAdminEnforcedTypeForResponse(TypedDict): + """Protected Branch Admin Enforced + + Protected Branch Admin Enforced + """ + + url: str + enabled: bool + + class BranchProtectionPropRequiredLinearHistoryType(TypedDict): """BranchProtectionPropRequiredLinearHistory""" enabled: NotRequired[bool] +class BranchProtectionPropRequiredLinearHistoryTypeForResponse(TypedDict): + """BranchProtectionPropRequiredLinearHistory""" + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowForcePushesType(TypedDict): """BranchProtectionPropAllowForcePushes""" enabled: NotRequired[bool] +class BranchProtectionPropAllowForcePushesTypeForResponse(TypedDict): + """BranchProtectionPropAllowForcePushes""" + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowDeletionsType(TypedDict): """BranchProtectionPropAllowDeletions""" enabled: NotRequired[bool] +class BranchProtectionPropAllowDeletionsTypeForResponse(TypedDict): + """BranchProtectionPropAllowDeletions""" + + enabled: NotRequired[bool] + + class BranchProtectionPropBlockCreationsType(TypedDict): """BranchProtectionPropBlockCreations""" enabled: NotRequired[bool] +class BranchProtectionPropBlockCreationsTypeForResponse(TypedDict): + """BranchProtectionPropBlockCreations""" + + enabled: NotRequired[bool] + + class BranchProtectionPropRequiredConversationResolutionType(TypedDict): """BranchProtectionPropRequiredConversationResolution""" enabled: NotRequired[bool] +class BranchProtectionPropRequiredConversationResolutionTypeForResponse(TypedDict): + """BranchProtectionPropRequiredConversationResolution""" + + enabled: NotRequired[bool] + + class BranchProtectionPropRequiredSignaturesType(TypedDict): """BranchProtectionPropRequiredSignatures""" @@ -89,6 +169,13 @@ class BranchProtectionPropRequiredSignaturesType(TypedDict): enabled: bool +class BranchProtectionPropRequiredSignaturesTypeForResponse(TypedDict): + """BranchProtectionPropRequiredSignatures""" + + url: str + enabled: bool + + class BranchProtectionPropLockBranchType(TypedDict): """BranchProtectionPropLockBranch @@ -99,6 +186,16 @@ class BranchProtectionPropLockBranchType(TypedDict): enabled: NotRequired[bool] +class BranchProtectionPropLockBranchTypeForResponse(TypedDict): + """BranchProtectionPropLockBranch + + Whether to set the branch as read-only. If this is true, users will not be able + to push to the branch. + """ + + enabled: NotRequired[bool] + + class BranchProtectionPropAllowForkSyncingType(TypedDict): """BranchProtectionPropAllowForkSyncing @@ -109,6 +206,16 @@ class BranchProtectionPropAllowForkSyncingType(TypedDict): enabled: NotRequired[bool] +class BranchProtectionPropAllowForkSyncingTypeForResponse(TypedDict): + """BranchProtectionPropAllowForkSyncing + + Whether users can pull changes from upstream when the branch is locked. Set to + `true` to allow fork syncing. Set to `false` to prevent fork syncing. + """ + + enabled: NotRequired[bool] + + class ProtectedBranchRequiredStatusCheckType(TypedDict): """Protected Branch Required Status Check @@ -123,6 +230,20 @@ class ProtectedBranchRequiredStatusCheckType(TypedDict): strict: NotRequired[bool] +class ProtectedBranchRequiredStatusCheckTypeForResponse(TypedDict): + """Protected Branch Required Status Check + + Protected Branch Required Status Check + """ + + url: NotRequired[str] + enforcement_level: NotRequired[str] + contexts: list[str] + checks: list[ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse] + contexts_url: NotRequired[str] + strict: NotRequired[bool] + + class ProtectedBranchRequiredStatusCheckPropChecksItemsType(TypedDict): """ProtectedBranchRequiredStatusCheckPropChecksItems""" @@ -130,17 +251,36 @@ class ProtectedBranchRequiredStatusCheckPropChecksItemsType(TypedDict): app_id: Union[int, None] +class ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse(TypedDict): + """ProtectedBranchRequiredStatusCheckPropChecksItems""" + + context: str + app_id: Union[int, None] + + __all__ = ( "BranchProtectionPropAllowDeletionsType", + "BranchProtectionPropAllowDeletionsTypeForResponse", "BranchProtectionPropAllowForcePushesType", + "BranchProtectionPropAllowForcePushesTypeForResponse", "BranchProtectionPropAllowForkSyncingType", + "BranchProtectionPropAllowForkSyncingTypeForResponse", "BranchProtectionPropBlockCreationsType", + "BranchProtectionPropBlockCreationsTypeForResponse", "BranchProtectionPropLockBranchType", + "BranchProtectionPropLockBranchTypeForResponse", "BranchProtectionPropRequiredConversationResolutionType", + "BranchProtectionPropRequiredConversationResolutionTypeForResponse", "BranchProtectionPropRequiredLinearHistoryType", + "BranchProtectionPropRequiredLinearHistoryTypeForResponse", "BranchProtectionPropRequiredSignaturesType", + "BranchProtectionPropRequiredSignaturesTypeForResponse", "BranchProtectionType", + "BranchProtectionTypeForResponse", "ProtectedBranchAdminEnforcedType", + "ProtectedBranchAdminEnforcedTypeForResponse", "ProtectedBranchRequiredStatusCheckPropChecksItemsType", + "ProtectedBranchRequiredStatusCheckPropChecksItemsTypeForResponse", "ProtectedBranchRequiredStatusCheckType", + "ProtectedBranchRequiredStatusCheckTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0252.py b/githubkit/versions/v2022_11_28/types/group_0252.py index 8e7202f57..6f0ff61ad 100644 --- a/githubkit/versions/v2022_11_28/types/group_0252.py +++ b/githubkit/versions/v2022_11_28/types/group_0252.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0251 import BranchProtectionType +from .group_0251 import BranchProtectionType, BranchProtectionTypeForResponse class ShortBranchType(TypedDict): @@ -27,6 +27,19 @@ class ShortBranchType(TypedDict): protection_url: NotRequired[str] +class ShortBranchTypeForResponse(TypedDict): + """Short Branch + + Short Branch + """ + + name: str + commit: ShortBranchPropCommitTypeForResponse + protected: bool + protection: NotRequired[BranchProtectionTypeForResponse] + protection_url: NotRequired[str] + + class ShortBranchPropCommitType(TypedDict): """ShortBranchPropCommit""" @@ -34,7 +47,16 @@ class ShortBranchPropCommitType(TypedDict): url: str +class ShortBranchPropCommitTypeForResponse(TypedDict): + """ShortBranchPropCommit""" + + sha: str + url: str + + __all__ = ( "ShortBranchPropCommitType", + "ShortBranchPropCommitTypeForResponse", "ShortBranchType", + "ShortBranchTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0253.py b/githubkit/versions/v2022_11_28/types/group_0253.py index 7c317075a..0598dd769 100644 --- a/githubkit/versions/v2022_11_28/types/group_0253.py +++ b/githubkit/versions/v2022_11_28/types/group_0253.py @@ -24,4 +24,18 @@ class GitUserType(TypedDict): date: NotRequired[datetime] -__all__ = ("GitUserType",) +class GitUserTypeForResponse(TypedDict): + """Git User + + Metaproperties for Git author/committer information. + """ + + name: NotRequired[str] + email: NotRequired[str] + date: NotRequired[str] + + +__all__ = ( + "GitUserType", + "GitUserTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0254.py b/githubkit/versions/v2022_11_28/types/group_0254.py index fb5244f00..108dc5404 100644 --- a/githubkit/versions/v2022_11_28/types/group_0254.py +++ b/githubkit/versions/v2022_11_28/types/group_0254.py @@ -23,4 +23,17 @@ class VerificationType(TypedDict): verified_at: NotRequired[Union[str, None]] -__all__ = ("VerificationType",) +class VerificationTypeForResponse(TypedDict): + """Verification""" + + verified: bool + reason: str + payload: Union[str, None] + signature: Union[str, None] + verified_at: NotRequired[Union[str, None]] + + +__all__ = ( + "VerificationType", + "VerificationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0255.py b/githubkit/versions/v2022_11_28/types/group_0255.py index bb2e4713b..85c1e7f38 100644 --- a/githubkit/versions/v2022_11_28/types/group_0255.py +++ b/githubkit/versions/v2022_11_28/types/group_0255.py @@ -34,4 +34,28 @@ class DiffEntryType(TypedDict): previous_filename: NotRequired[str] -__all__ = ("DiffEntryType",) +class DiffEntryTypeForResponse(TypedDict): + """Diff Entry + + Diff Entry + """ + + sha: Union[str, None] + filename: str + status: Literal[ + "added", "removed", "modified", "renamed", "copied", "changed", "unchanged" + ] + additions: int + deletions: int + changes: int + blob_url: Union[str, None] + raw_url: Union[str, None] + contents_url: str + patch: NotRequired[str] + previous_filename: NotRequired[str] + + +__all__ = ( + "DiffEntryType", + "DiffEntryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0256.py b/githubkit/versions/v2022_11_28/types/group_0256.py index 383a7170a..d5135d637 100644 --- a/githubkit/versions/v2022_11_28/types/group_0256.py +++ b/githubkit/versions/v2022_11_28/types/group_0256.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0255 import DiffEntryType -from .group_0257 import CommitPropCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0255 import DiffEntryType, DiffEntryTypeForResponse +from .group_0257 import CommitPropCommitType, CommitPropCommitTypeForResponse class CommitType(TypedDict): @@ -36,6 +36,25 @@ class CommitType(TypedDict): files: NotRequired[list[DiffEntryType]] +class CommitTypeForResponse(TypedDict): + """Commit + + Commit + """ + + url: str + sha: str + node_id: str + html_url: str + comments_url: str + commit: CommitPropCommitTypeForResponse + author: Union[SimpleUserTypeForResponse, EmptyObjectTypeForResponse, None] + committer: Union[SimpleUserTypeForResponse, EmptyObjectTypeForResponse, None] + parents: list[CommitPropParentsItemsTypeForResponse] + stats: NotRequired[CommitPropStatsTypeForResponse] + files: NotRequired[list[DiffEntryTypeForResponse]] + + class EmptyObjectType(TypedDict): """Empty Object @@ -43,6 +62,13 @@ class EmptyObjectType(TypedDict): """ +class EmptyObjectTypeForResponse(TypedDict): + """Empty Object + + An object without any properties. + """ + + class CommitPropParentsItemsType(TypedDict): """CommitPropParentsItems""" @@ -51,6 +77,14 @@ class CommitPropParentsItemsType(TypedDict): html_url: NotRequired[str] +class CommitPropParentsItemsTypeForResponse(TypedDict): + """CommitPropParentsItems""" + + sha: str + url: str + html_url: NotRequired[str] + + class CommitPropStatsType(TypedDict): """CommitPropStats""" @@ -59,9 +93,21 @@ class CommitPropStatsType(TypedDict): total: NotRequired[int] +class CommitPropStatsTypeForResponse(TypedDict): + """CommitPropStats""" + + additions: NotRequired[int] + deletions: NotRequired[int] + total: NotRequired[int] + + __all__ = ( "CommitPropParentsItemsType", + "CommitPropParentsItemsTypeForResponse", "CommitPropStatsType", + "CommitPropStatsTypeForResponse", "CommitType", + "CommitTypeForResponse", "EmptyObjectType", + "EmptyObjectTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0257.py b/githubkit/versions/v2022_11_28/types/group_0257.py index 3afde9507..2c770ea59 100644 --- a/githubkit/versions/v2022_11_28/types/group_0257.py +++ b/githubkit/versions/v2022_11_28/types/group_0257.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0253 import GitUserType -from .group_0254 import VerificationType +from .group_0253 import GitUserType, GitUserTypeForResponse +from .group_0254 import VerificationType, VerificationTypeForResponse class CommitPropCommitType(TypedDict): @@ -28,6 +28,18 @@ class CommitPropCommitType(TypedDict): verification: NotRequired[VerificationType] +class CommitPropCommitTypeForResponse(TypedDict): + """CommitPropCommit""" + + url: str + author: Union[None, GitUserTypeForResponse] + committer: Union[None, GitUserTypeForResponse] + message: str + comment_count: int + tree: CommitPropCommitPropTreeTypeForResponse + verification: NotRequired[VerificationTypeForResponse] + + class CommitPropCommitPropTreeType(TypedDict): """CommitPropCommitPropTree""" @@ -35,7 +47,16 @@ class CommitPropCommitPropTreeType(TypedDict): url: str +class CommitPropCommitPropTreeTypeForResponse(TypedDict): + """CommitPropCommitPropTree""" + + sha: str + url: str + + __all__ = ( "CommitPropCommitPropTreeType", + "CommitPropCommitPropTreeTypeForResponse", "CommitPropCommitType", + "CommitPropCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0258.py b/githubkit/versions/v2022_11_28/types/group_0258.py index 57aeabfc4..a1d72ab9c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0258.py +++ b/githubkit/versions/v2022_11_28/types/group_0258.py @@ -11,8 +11,8 @@ from typing_extensions import NotRequired, TypedDict -from .group_0251 import BranchProtectionType -from .group_0256 import CommitType +from .group_0251 import BranchProtectionType, BranchProtectionTypeForResponse +from .group_0256 import CommitType, CommitTypeForResponse class BranchWithProtectionType(TypedDict): @@ -31,6 +31,22 @@ class BranchWithProtectionType(TypedDict): required_approving_review_count: NotRequired[int] +class BranchWithProtectionTypeForResponse(TypedDict): + """Branch With Protection + + Branch With Protection + """ + + name: str + commit: CommitTypeForResponse + links: BranchWithProtectionPropLinksTypeForResponse + protected: bool + protection: BranchProtectionTypeForResponse + protection_url: str + pattern: NotRequired[str] + required_approving_review_count: NotRequired[int] + + class BranchWithProtectionPropLinksType(TypedDict): """BranchWithProtectionPropLinks""" @@ -38,7 +54,16 @@ class BranchWithProtectionPropLinksType(TypedDict): self_: str +class BranchWithProtectionPropLinksTypeForResponse(TypedDict): + """BranchWithProtectionPropLinks""" + + html: str + self_: str + + __all__ = ( "BranchWithProtectionPropLinksType", + "BranchWithProtectionPropLinksTypeForResponse", "BranchWithProtectionType", + "BranchWithProtectionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0259.py b/githubkit/versions/v2022_11_28/types/group_0259.py index e66a4520f..be8a5bcc1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0259.py +++ b/githubkit/versions/v2022_11_28/types/group_0259.py @@ -12,8 +12,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0250 import BranchRestrictionPolicyType -from .group_0260 import ProtectedBranchPropRequiredPullRequestReviewsType +from .group_0250 import ( + BranchRestrictionPolicyType, + BranchRestrictionPolicyTypeForResponse, +) +from .group_0260 import ( + ProtectedBranchPropRequiredPullRequestReviewsType, + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse, +) class ProtectedBranchType(TypedDict): @@ -41,6 +47,35 @@ class ProtectedBranchType(TypedDict): allow_fork_syncing: NotRequired[ProtectedBranchPropAllowForkSyncingType] +class ProtectedBranchTypeForResponse(TypedDict): + """Protected Branch + + Branch protections protect branches + """ + + url: str + required_status_checks: NotRequired[StatusCheckPolicyTypeForResponse] + required_pull_request_reviews: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse + ] + required_signatures: NotRequired[ + ProtectedBranchPropRequiredSignaturesTypeForResponse + ] + enforce_admins: NotRequired[ProtectedBranchPropEnforceAdminsTypeForResponse] + required_linear_history: NotRequired[ + ProtectedBranchPropRequiredLinearHistoryTypeForResponse + ] + allow_force_pushes: NotRequired[ProtectedBranchPropAllowForcePushesTypeForResponse] + allow_deletions: NotRequired[ProtectedBranchPropAllowDeletionsTypeForResponse] + restrictions: NotRequired[BranchRestrictionPolicyTypeForResponse] + required_conversation_resolution: NotRequired[ + ProtectedBranchPropRequiredConversationResolutionTypeForResponse + ] + block_creations: NotRequired[ProtectedBranchPropBlockCreationsTypeForResponse] + lock_branch: NotRequired[ProtectedBranchPropLockBranchTypeForResponse] + allow_fork_syncing: NotRequired[ProtectedBranchPropAllowForkSyncingTypeForResponse] + + class ProtectedBranchPropRequiredSignaturesType(TypedDict): """ProtectedBranchPropRequiredSignatures""" @@ -48,6 +83,13 @@ class ProtectedBranchPropRequiredSignaturesType(TypedDict): enabled: bool +class ProtectedBranchPropRequiredSignaturesTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredSignatures""" + + url: str + enabled: bool + + class ProtectedBranchPropEnforceAdminsType(TypedDict): """ProtectedBranchPropEnforceAdmins""" @@ -55,36 +97,73 @@ class ProtectedBranchPropEnforceAdminsType(TypedDict): enabled: bool +class ProtectedBranchPropEnforceAdminsTypeForResponse(TypedDict): + """ProtectedBranchPropEnforceAdmins""" + + url: str + enabled: bool + + class ProtectedBranchPropRequiredLinearHistoryType(TypedDict): """ProtectedBranchPropRequiredLinearHistory""" enabled: bool +class ProtectedBranchPropRequiredLinearHistoryTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredLinearHistory""" + + enabled: bool + + class ProtectedBranchPropAllowForcePushesType(TypedDict): """ProtectedBranchPropAllowForcePushes""" enabled: bool +class ProtectedBranchPropAllowForcePushesTypeForResponse(TypedDict): + """ProtectedBranchPropAllowForcePushes""" + + enabled: bool + + class ProtectedBranchPropAllowDeletionsType(TypedDict): """ProtectedBranchPropAllowDeletions""" enabled: bool +class ProtectedBranchPropAllowDeletionsTypeForResponse(TypedDict): + """ProtectedBranchPropAllowDeletions""" + + enabled: bool + + class ProtectedBranchPropRequiredConversationResolutionType(TypedDict): """ProtectedBranchPropRequiredConversationResolution""" enabled: NotRequired[bool] +class ProtectedBranchPropRequiredConversationResolutionTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredConversationResolution""" + + enabled: NotRequired[bool] + + class ProtectedBranchPropBlockCreationsType(TypedDict): """ProtectedBranchPropBlockCreations""" enabled: bool +class ProtectedBranchPropBlockCreationsTypeForResponse(TypedDict): + """ProtectedBranchPropBlockCreations""" + + enabled: bool + + class ProtectedBranchPropLockBranchType(TypedDict): """ProtectedBranchPropLockBranch @@ -95,6 +174,16 @@ class ProtectedBranchPropLockBranchType(TypedDict): enabled: NotRequired[bool] +class ProtectedBranchPropLockBranchTypeForResponse(TypedDict): + """ProtectedBranchPropLockBranch + + Whether to set the branch as read-only. If this is true, users will not be able + to push to the branch. + """ + + enabled: NotRequired[bool] + + class ProtectedBranchPropAllowForkSyncingType(TypedDict): """ProtectedBranchPropAllowForkSyncing @@ -105,6 +194,16 @@ class ProtectedBranchPropAllowForkSyncingType(TypedDict): enabled: NotRequired[bool] +class ProtectedBranchPropAllowForkSyncingTypeForResponse(TypedDict): + """ProtectedBranchPropAllowForkSyncing + + Whether users can pull changes from upstream when the branch is locked. Set to + `true` to allow fork syncing. Set to `false` to prevent fork syncing. + """ + + enabled: NotRequired[bool] + + class StatusCheckPolicyType(TypedDict): """Status Check Policy @@ -118,6 +217,19 @@ class StatusCheckPolicyType(TypedDict): contexts_url: str +class StatusCheckPolicyTypeForResponse(TypedDict): + """Status Check Policy + + Status Check Policy + """ + + url: str + strict: bool + contexts: list[str] + checks: list[StatusCheckPolicyPropChecksItemsTypeForResponse] + contexts_url: str + + class StatusCheckPolicyPropChecksItemsType(TypedDict): """StatusCheckPolicyPropChecksItems""" @@ -125,17 +237,36 @@ class StatusCheckPolicyPropChecksItemsType(TypedDict): app_id: Union[int, None] +class StatusCheckPolicyPropChecksItemsTypeForResponse(TypedDict): + """StatusCheckPolicyPropChecksItems""" + + context: str + app_id: Union[int, None] + + __all__ = ( "ProtectedBranchPropAllowDeletionsType", + "ProtectedBranchPropAllowDeletionsTypeForResponse", "ProtectedBranchPropAllowForcePushesType", + "ProtectedBranchPropAllowForcePushesTypeForResponse", "ProtectedBranchPropAllowForkSyncingType", + "ProtectedBranchPropAllowForkSyncingTypeForResponse", "ProtectedBranchPropBlockCreationsType", + "ProtectedBranchPropBlockCreationsTypeForResponse", "ProtectedBranchPropEnforceAdminsType", + "ProtectedBranchPropEnforceAdminsTypeForResponse", "ProtectedBranchPropLockBranchType", + "ProtectedBranchPropLockBranchTypeForResponse", "ProtectedBranchPropRequiredConversationResolutionType", + "ProtectedBranchPropRequiredConversationResolutionTypeForResponse", "ProtectedBranchPropRequiredLinearHistoryType", + "ProtectedBranchPropRequiredLinearHistoryTypeForResponse", "ProtectedBranchPropRequiredSignaturesType", + "ProtectedBranchPropRequiredSignaturesTypeForResponse", "ProtectedBranchType", + "ProtectedBranchTypeForResponse", "StatusCheckPolicyPropChecksItemsType", + "StatusCheckPolicyPropChecksItemsTypeForResponse", "StatusCheckPolicyType", + "StatusCheckPolicyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0260.py b/githubkit/versions/v2022_11_28/types/group_0260.py index 1c2c479db..0d2316e4e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0260.py +++ b/githubkit/versions/v2022_11_28/types/group_0260.py @@ -13,7 +13,9 @@ from .group_0261 import ( ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType, + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse, ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType, + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse, ) @@ -33,4 +35,23 @@ class ProtectedBranchPropRequiredPullRequestReviewsType(TypedDict): ] -__all__ = ("ProtectedBranchPropRequiredPullRequestReviewsType",) +class ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse(TypedDict): + """ProtectedBranchPropRequiredPullRequestReviews""" + + url: str + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + dismissal_restrictions: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse + ] + bypass_pull_request_allowances: NotRequired[ + ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse + ] + + +__all__ = ( + "ProtectedBranchPropRequiredPullRequestReviewsType", + "ProtectedBranchPropRequiredPullRequestReviewsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0261.py b/githubkit/versions/v2022_11_28/types/group_0261.py index 77297de96..966d941c4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0261.py +++ b/githubkit/versions/v2022_11_28/types/group_0261.py @@ -12,9 +12,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType( @@ -30,6 +30,19 @@ class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictions""" + + url: str + users_url: str + teams_url: str + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType( TypedDict ): @@ -40,7 +53,19 @@ class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowanc apps: NotRequired[list[Union[IntegrationType, None]]] +class ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowances""" + + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + apps: NotRequired[list[Union[IntegrationTypeForResponse, None]]] + + __all__ = ( "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ProtectedBranchPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ProtectedBranchPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0262.py b/githubkit/versions/v2022_11_28/types/group_0262.py index daf967d0f..cbc6d7368 100644 --- a/githubkit/versions/v2022_11_28/types/group_0262.py +++ b/githubkit/versions/v2022_11_28/types/group_0262.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentSimpleType(TypedDict): @@ -39,4 +39,30 @@ class DeploymentSimpleType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] -__all__ = ("DeploymentSimpleType",) +class DeploymentSimpleTypeForResponse(TypedDict): + """Deployment + + A deployment created as the result of an Actions check run from a workflow that + references an environment + """ + + url: str + id: int + node_id: str + task: str + original_environment: NotRequired[str] + environment: str + description: Union[str, None] + created_at: str + updated_at: str + statuses_url: str + repository_url: str + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + +__all__ = ( + "DeploymentSimpleType", + "DeploymentSimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0263.py b/githubkit/versions/v2022_11_28/types/group_0263.py index 0ecd2d674..cc45b01f3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0263.py +++ b/githubkit/versions/v2022_11_28/types/group_0263.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0235 import PullRequestMinimalType -from .group_0262 import DeploymentSimpleType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0235 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0262 import DeploymentSimpleType, DeploymentSimpleTypeForResponse class CheckRunType(TypedDict): @@ -56,6 +56,44 @@ class CheckRunType(TypedDict): deployment: NotRequired[DeploymentSimpleType] +class CheckRunTypeForResponse(TypedDict): + """CheckRun + + A check performed on the code of a given code change + """ + + id: int + head_sha: str + node_id: str + external_id: Union[str, None] + url: str + html_url: Union[str, None] + details_url: Union[str, None] + status: Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + started_at: Union[str, None] + completed_at: Union[str, None] + output: CheckRunPropOutputTypeForResponse + name: str + check_suite: Union[CheckRunPropCheckSuiteTypeForResponse, None] + app: Union[None, IntegrationTypeForResponse, None] + pull_requests: list[PullRequestMinimalTypeForResponse] + deployment: NotRequired[DeploymentSimpleTypeForResponse] + + class CheckRunPropOutputType(TypedDict): """CheckRunPropOutput""" @@ -66,14 +104,33 @@ class CheckRunPropOutputType(TypedDict): annotations_url: str +class CheckRunPropOutputTypeForResponse(TypedDict): + """CheckRunPropOutput""" + + title: Union[str, None] + summary: Union[str, None] + text: Union[str, None] + annotations_count: int + annotations_url: str + + class CheckRunPropCheckSuiteType(TypedDict): """CheckRunPropCheckSuite""" id: int +class CheckRunPropCheckSuiteTypeForResponse(TypedDict): + """CheckRunPropCheckSuite""" + + id: int + + __all__ = ( "CheckRunPropCheckSuiteType", + "CheckRunPropCheckSuiteTypeForResponse", "CheckRunPropOutputType", + "CheckRunPropOutputTypeForResponse", "CheckRunType", + "CheckRunTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0264.py b/githubkit/versions/v2022_11_28/types/group_0264.py index 82fbb570d..ce4efb376 100644 --- a/githubkit/versions/v2022_11_28/types/group_0264.py +++ b/githubkit/versions/v2022_11_28/types/group_0264.py @@ -31,4 +31,25 @@ class CheckAnnotationType(TypedDict): blob_href: str -__all__ = ("CheckAnnotationType",) +class CheckAnnotationTypeForResponse(TypedDict): + """Check Annotation + + Check Annotation + """ + + path: str + start_line: int + end_line: int + start_column: Union[int, None] + end_column: Union[int, None] + annotation_level: Union[str, None] + title: Union[str, None] + message: Union[str, None] + raw_details: Union[str, None] + blob_href: str + + +__all__ = ( + "CheckAnnotationType", + "CheckAnnotationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0265.py b/githubkit/versions/v2022_11_28/types/group_0265.py index 5eb6d3f30..a183b9917 100644 --- a/githubkit/versions/v2022_11_28/types/group_0265.py +++ b/githubkit/versions/v2022_11_28/types/group_0265.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0061 import MinimalRepositoryType -from .group_0235 import PullRequestMinimalType -from .group_0236 import SimpleCommitType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0235 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0236 import SimpleCommitType, SimpleCommitTypeForResponse class CheckSuiteType(TypedDict): @@ -64,6 +64,51 @@ class CheckSuiteType(TypedDict): runs_rerequestable: NotRequired[bool] +class CheckSuiteTypeForResponse(TypedDict): + """CheckSuite + + A suite of checks performed on the code of a given code change + """ + + id: int + node_id: str + head_branch: Union[str, None] + head_sha: str + status: Union[ + None, + Literal[ + "queued", "in_progress", "completed", "waiting", "requested", "pending" + ], + ] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "startup_failure", + "stale", + ], + ] + url: Union[str, None] + before: Union[str, None] + after: Union[str, None] + pull_requests: Union[list[PullRequestMinimalTypeForResponse], None] + app: Union[None, IntegrationTypeForResponse, None] + repository: MinimalRepositoryTypeForResponse + created_at: Union[str, None] + updated_at: Union[str, None] + head_commit: SimpleCommitTypeForResponse + latest_check_runs_count: int + check_runs_url: str + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + + class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type(TypedDict): """ReposOwnerRepoCommitsRefCheckSuitesGetResponse200""" @@ -71,7 +116,16 @@ class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type(TypedDict): check_suites: list[CheckSuiteType] +class ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCommitsRefCheckSuitesGetResponse200""" + + total_count: int + check_suites: list[CheckSuiteTypeForResponse] + + __all__ = ( "CheckSuiteType", + "CheckSuiteTypeForResponse", "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckSuitesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0266.py b/githubkit/versions/v2022_11_28/types/group_0266.py index dc3766802..c348ee140 100644 --- a/githubkit/versions/v2022_11_28/types/group_0266.py +++ b/githubkit/versions/v2022_11_28/types/group_0266.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class CheckSuitePreferenceType(TypedDict): @@ -24,6 +24,16 @@ class CheckSuitePreferenceType(TypedDict): repository: MinimalRepositoryType +class CheckSuitePreferenceTypeForResponse(TypedDict): + """Check Suite Preference + + Check suite configuration preferences for a repository. + """ + + preferences: CheckSuitePreferencePropPreferencesTypeForResponse + repository: MinimalRepositoryTypeForResponse + + class CheckSuitePreferencePropPreferencesType(TypedDict): """CheckSuitePreferencePropPreferences""" @@ -32,6 +42,16 @@ class CheckSuitePreferencePropPreferencesType(TypedDict): ] +class CheckSuitePreferencePropPreferencesTypeForResponse(TypedDict): + """CheckSuitePreferencePropPreferences""" + + auto_trigger_checks: NotRequired[ + list[ + CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse + ] + ] + + class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType(TypedDict): """CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItems""" @@ -39,8 +59,20 @@ class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType(TypedDic setting: bool +class CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse( + TypedDict +): + """CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItems""" + + app_id: int + setting: bool + + __all__ = ( "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsType", + "CheckSuitePreferencePropPreferencesPropAutoTriggerChecksItemsTypeForResponse", "CheckSuitePreferencePropPreferencesType", + "CheckSuitePreferencePropPreferencesTypeForResponse", "CheckSuitePreferenceType", + "CheckSuitePreferenceTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0267.py b/githubkit/versions/v2022_11_28/types/group_0267.py index 89721064d..4d9cd636a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0267.py +++ b/githubkit/versions/v2022_11_28/types/group_0267.py @@ -13,10 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0097 import CodeScanningAlertRuleSummaryType -from .group_0098 import CodeScanningAnalysisToolType -from .group_0099 import CodeScanningAlertInstanceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0097 import ( + CodeScanningAlertRuleSummaryType, + CodeScanningAlertRuleSummaryTypeForResponse, +) +from .group_0098 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0099 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) class CodeScanningAlertItemsType(TypedDict): @@ -43,4 +52,31 @@ class CodeScanningAlertItemsType(TypedDict): assignees: NotRequired[list[SimpleUserType]] -__all__ = ("CodeScanningAlertItemsType",) +class CodeScanningAlertItemsTypeForResponse(TypedDict): + """CodeScanningAlertItems""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleSummaryTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + +__all__ = ( + "CodeScanningAlertItemsType", + "CodeScanningAlertItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0268.py b/githubkit/versions/v2022_11_28/types/group_0268.py index 0eaeb9161..42b80a5de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0268.py +++ b/githubkit/versions/v2022_11_28/types/group_0268.py @@ -13,9 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0098 import CodeScanningAnalysisToolType -from .group_0099 import CodeScanningAlertInstanceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0098 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) +from .group_0099 import ( + CodeScanningAlertInstanceType, + CodeScanningAlertInstanceTypeForResponse, +) class CodeScanningAlertType(TypedDict): @@ -42,6 +48,30 @@ class CodeScanningAlertType(TypedDict): assignees: NotRequired[list[SimpleUserType]] +class CodeScanningAlertTypeForResponse(TypedDict): + """CodeScanningAlert""" + + number: int + created_at: str + updated_at: NotRequired[str] + url: str + html_url: str + instances_url: str + state: Union[None, Literal["open", "dismissed", "fixed"]] + fixed_at: NotRequired[Union[str, None]] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_at: Union[str, None] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + dismissed_comment: NotRequired[Union[str, None]] + rule: CodeScanningAlertRuleTypeForResponse + tool: CodeScanningAnalysisToolTypeForResponse + most_recent_instance: CodeScanningAlertInstanceTypeForResponse + dismissal_approved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + class CodeScanningAlertRuleType(TypedDict): """CodeScanningAlertRule""" @@ -58,7 +88,25 @@ class CodeScanningAlertRuleType(TypedDict): help_uri: NotRequired[Union[str, None]] +class CodeScanningAlertRuleTypeForResponse(TypedDict): + """CodeScanningAlertRule""" + + id: NotRequired[Union[str, None]] + name: NotRequired[str] + severity: NotRequired[Union[None, Literal["none", "note", "warning", "error"]]] + security_severity_level: NotRequired[ + Union[None, Literal["low", "medium", "high", "critical"]] + ] + description: NotRequired[str] + full_description: NotRequired[str] + tags: NotRequired[Union[list[str], None]] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + + __all__ = ( "CodeScanningAlertRuleType", + "CodeScanningAlertRuleTypeForResponse", "CodeScanningAlertType", + "CodeScanningAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0269.py b/githubkit/versions/v2022_11_28/types/group_0269.py index 1a155e137..8c4a49f75 100644 --- a/githubkit/versions/v2022_11_28/types/group_0269.py +++ b/githubkit/versions/v2022_11_28/types/group_0269.py @@ -22,4 +22,15 @@ class CodeScanningAutofixType(TypedDict): started_at: datetime -__all__ = ("CodeScanningAutofixType",) +class CodeScanningAutofixTypeForResponse(TypedDict): + """CodeScanningAutofix""" + + status: Literal["pending", "error", "success", "outdated"] + description: Union[str, None] + started_at: str + + +__all__ = ( + "CodeScanningAutofixType", + "CodeScanningAutofixTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0270.py b/githubkit/versions/v2022_11_28/types/group_0270.py index 8ec0e8374..46ce99ac2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0270.py +++ b/githubkit/versions/v2022_11_28/types/group_0270.py @@ -22,4 +22,17 @@ class CodeScanningAutofixCommitsType(TypedDict): message: NotRequired[str] -__all__ = ("CodeScanningAutofixCommitsType",) +class CodeScanningAutofixCommitsTypeForResponse(TypedDict): + """CodeScanningAutofixCommits + + Commit an autofix for a code scanning alert + """ + + target_ref: NotRequired[str] + message: NotRequired[str] + + +__all__ = ( + "CodeScanningAutofixCommitsType", + "CodeScanningAutofixCommitsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0271.py b/githubkit/versions/v2022_11_28/types/group_0271.py index 2cbf6f579..2e19ebe82 100644 --- a/githubkit/versions/v2022_11_28/types/group_0271.py +++ b/githubkit/versions/v2022_11_28/types/group_0271.py @@ -19,4 +19,14 @@ class CodeScanningAutofixCommitsResponseType(TypedDict): sha: NotRequired[str] -__all__ = ("CodeScanningAutofixCommitsResponseType",) +class CodeScanningAutofixCommitsResponseTypeForResponse(TypedDict): + """CodeScanningAutofixCommitsResponse""" + + target_ref: NotRequired[str] + sha: NotRequired[str] + + +__all__ = ( + "CodeScanningAutofixCommitsResponseType", + "CodeScanningAutofixCommitsResponseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0272.py b/githubkit/versions/v2022_11_28/types/group_0272.py index 9117d3de5..00d320f7d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0272.py +++ b/githubkit/versions/v2022_11_28/types/group_0272.py @@ -12,7 +12,10 @@ from datetime import datetime from typing_extensions import NotRequired, TypedDict -from .group_0098 import CodeScanningAnalysisToolType +from .group_0098 import ( + CodeScanningAnalysisToolType, + CodeScanningAnalysisToolTypeForResponse, +) class CodeScanningAnalysisType(TypedDict): @@ -35,4 +38,27 @@ class CodeScanningAnalysisType(TypedDict): warning: str -__all__ = ("CodeScanningAnalysisType",) +class CodeScanningAnalysisTypeForResponse(TypedDict): + """CodeScanningAnalysis""" + + ref: str + commit_sha: str + analysis_key: str + environment: str + category: NotRequired[str] + error: str + created_at: str + results_count: int + rules_count: int + id: int + url: str + sarif_id: str + tool: CodeScanningAnalysisToolTypeForResponse + deletable: bool + warning: str + + +__all__ = ( + "CodeScanningAnalysisType", + "CodeScanningAnalysisTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0273.py b/githubkit/versions/v2022_11_28/types/group_0273.py index a217f8af1..8a776d3d3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0273.py +++ b/githubkit/versions/v2022_11_28/types/group_0273.py @@ -23,4 +23,17 @@ class CodeScanningAnalysisDeletionType(TypedDict): confirm_delete_url: Union[str, None] -__all__ = ("CodeScanningAnalysisDeletionType",) +class CodeScanningAnalysisDeletionTypeForResponse(TypedDict): + """Analysis deletion + + Successful deletion of a code scanning analysis + """ + + next_analysis_url: Union[str, None] + confirm_delete_url: Union[str, None] + + +__all__ = ( + "CodeScanningAnalysisDeletionType", + "CodeScanningAnalysisDeletionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0274.py b/githubkit/versions/v2022_11_28/types/group_0274.py index 279371ebd..504749b63 100644 --- a/githubkit/versions/v2022_11_28/types/group_0274.py +++ b/githubkit/versions/v2022_11_28/types/group_0274.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class CodeScanningCodeqlDatabaseType(TypedDict): @@ -34,4 +34,25 @@ class CodeScanningCodeqlDatabaseType(TypedDict): commit_oid: NotRequired[Union[str, None]] -__all__ = ("CodeScanningCodeqlDatabaseType",) +class CodeScanningCodeqlDatabaseTypeForResponse(TypedDict): + """CodeQL Database + + A CodeQL database. + """ + + id: int + name: str + language: str + uploader: SimpleUserTypeForResponse + content_type: str + size: int + created_at: str + updated_at: str + url: str + commit_oid: NotRequired[Union[str, None]] + + +__all__ = ( + "CodeScanningCodeqlDatabaseType", + "CodeScanningCodeqlDatabaseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0275.py b/githubkit/versions/v2022_11_28/types/group_0275.py index 86f33d140..2d4c3db9c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0275.py +++ b/githubkit/versions/v2022_11_28/types/group_0275.py @@ -28,4 +28,21 @@ class CodeScanningVariantAnalysisRepositoryType(TypedDict): updated_at: Union[datetime, None] -__all__ = ("CodeScanningVariantAnalysisRepositoryType",) +class CodeScanningVariantAnalysisRepositoryTypeForResponse(TypedDict): + """Repository Identifier + + Repository Identifier + """ + + id: int + name: str + full_name: str + private: bool + stargazers_count: int + updated_at: Union[str, None] + + +__all__ = ( + "CodeScanningVariantAnalysisRepositoryType", + "CodeScanningVariantAnalysisRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0276.py b/githubkit/versions/v2022_11_28/types/group_0276.py index a708007bf..81a3c9ba6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0276.py +++ b/githubkit/versions/v2022_11_28/types/group_0276.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0275 import CodeScanningVariantAnalysisRepositoryType +from .group_0275 import ( + CodeScanningVariantAnalysisRepositoryType, + CodeScanningVariantAnalysisRepositoryTypeForResponse, +) class CodeScanningVariantAnalysisSkippedRepoGroupType(TypedDict): @@ -21,4 +24,14 @@ class CodeScanningVariantAnalysisSkippedRepoGroupType(TypedDict): repositories: list[CodeScanningVariantAnalysisRepositoryType] -__all__ = ("CodeScanningVariantAnalysisSkippedRepoGroupType",) +class CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisSkippedRepoGroup""" + + repository_count: int + repositories: list[CodeScanningVariantAnalysisRepositoryTypeForResponse] + + +__all__ = ( + "CodeScanningVariantAnalysisSkippedRepoGroupType", + "CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0277.py b/githubkit/versions/v2022_11_28/types/group_0277.py index 411e395ff..ecfb8a8a2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0277.py +++ b/githubkit/versions/v2022_11_28/types/group_0277.py @@ -13,10 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0032 import SimpleRepositoryType -from .group_0278 import CodeScanningVariantAnalysisPropScannedRepositoriesItemsType -from .group_0279 import CodeScanningVariantAnalysisPropSkippedRepositoriesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse +from .group_0278 import ( + CodeScanningVariantAnalysisPropScannedRepositoriesItemsType, + CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse, +) +from .group_0279 import ( + CodeScanningVariantAnalysisPropSkippedRepositoriesType, + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse, +) class CodeScanningVariantAnalysisType(TypedDict): @@ -48,4 +54,36 @@ class CodeScanningVariantAnalysisType(TypedDict): ] -__all__ = ("CodeScanningVariantAnalysisType",) +class CodeScanningVariantAnalysisTypeForResponse(TypedDict): + """Variant Analysis + + A run of a CodeQL query against one or more repositories. + """ + + id: int + controller_repo: SimpleRepositoryTypeForResponse + actor: SimpleUserTypeForResponse + query_language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack_url: str + created_at: NotRequired[str] + updated_at: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + status: Literal["in_progress", "succeeded", "failed", "cancelled"] + actions_workflow_run_id: NotRequired[int] + failure_reason: NotRequired[ + Literal["no_repos_queried", "actions_workflow_run_failed", "internal_error"] + ] + scanned_repositories: NotRequired[ + list[CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse] + ] + skipped_repositories: NotRequired[ + CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse + ] + + +__all__ = ( + "CodeScanningVariantAnalysisType", + "CodeScanningVariantAnalysisTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0278.py b/githubkit/versions/v2022_11_28/types/group_0278.py index 7aadb05e6..b0745f01d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0278.py +++ b/githubkit/versions/v2022_11_28/types/group_0278.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0275 import CodeScanningVariantAnalysisRepositoryType +from .group_0275 import ( + CodeScanningVariantAnalysisRepositoryType, + CodeScanningVariantAnalysisRepositoryTypeForResponse, +) class CodeScanningVariantAnalysisPropScannedRepositoriesItemsType(TypedDict): @@ -27,4 +30,19 @@ class CodeScanningVariantAnalysisPropScannedRepositoriesItemsType(TypedDict): failure_message: NotRequired[str] -__all__ = ("CodeScanningVariantAnalysisPropScannedRepositoriesItemsType",) +class CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisPropScannedRepositoriesItems""" + + repository: CodeScanningVariantAnalysisRepositoryTypeForResponse + analysis_status: Literal[ + "pending", "in_progress", "succeeded", "failed", "canceled", "timed_out" + ] + result_count: NotRequired[int] + artifact_size_in_bytes: NotRequired[int] + failure_message: NotRequired[str] + + +__all__ = ( + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsType", + "CodeScanningVariantAnalysisPropScannedRepositoriesItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0279.py b/githubkit/versions/v2022_11_28/types/group_0279.py index d2b3234fd..ecea78017 100644 --- a/githubkit/versions/v2022_11_28/types/group_0279.py +++ b/githubkit/versions/v2022_11_28/types/group_0279.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0276 import CodeScanningVariantAnalysisSkippedRepoGroupType +from .group_0276 import ( + CodeScanningVariantAnalysisSkippedRepoGroupType, + CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse, +) class CodeScanningVariantAnalysisPropSkippedRepositoriesType(TypedDict): @@ -29,6 +32,19 @@ class CodeScanningVariantAnalysisPropSkippedRepositoriesType(TypedDict): over_limit_repos: CodeScanningVariantAnalysisSkippedRepoGroupType +class CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisPropSkippedRepositories + + Information about repositories that were skipped from processing. This + information is only available to the user that initiated the variant analysis. + """ + + access_mismatch_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + not_found_repos: CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse + no_codeql_db_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + over_limit_repos: CodeScanningVariantAnalysisSkippedRepoGroupTypeForResponse + + class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType( TypedDict ): @@ -38,7 +54,18 @@ class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType( repository_full_names: list[str] +class CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse( + TypedDict +): + """CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundRepos""" + + repository_count: int + repository_full_names: list[str] + + __all__ = ( "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesPropNotFoundReposTypeForResponse", "CodeScanningVariantAnalysisPropSkippedRepositoriesType", + "CodeScanningVariantAnalysisPropSkippedRepositoriesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0280.py b/githubkit/versions/v2022_11_28/types/group_0280.py index 0fa9efb10..dbbcfbfd7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0280.py +++ b/githubkit/versions/v2022_11_28/types/group_0280.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0032 import SimpleRepositoryType +from .group_0032 import SimpleRepositoryType, SimpleRepositoryTypeForResponse class CodeScanningVariantAnalysisRepoTaskType(TypedDict): @@ -30,4 +30,22 @@ class CodeScanningVariantAnalysisRepoTaskType(TypedDict): artifact_url: NotRequired[str] -__all__ = ("CodeScanningVariantAnalysisRepoTaskType",) +class CodeScanningVariantAnalysisRepoTaskTypeForResponse(TypedDict): + """CodeScanningVariantAnalysisRepoTask""" + + repository: SimpleRepositoryTypeForResponse + analysis_status: Literal[ + "pending", "in_progress", "succeeded", "failed", "canceled", "timed_out" + ] + artifact_size_in_bytes: NotRequired[int] + result_count: NotRequired[int] + failure_message: NotRequired[str] + database_commit_sha: NotRequired[str] + source_location_prefix: NotRequired[str] + artifact_url: NotRequired[str] + + +__all__ = ( + "CodeScanningVariantAnalysisRepoTaskType", + "CodeScanningVariantAnalysisRepoTaskTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0281.py b/githubkit/versions/v2022_11_28/types/group_0281.py index 481da9df9..af3d776d2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0281.py +++ b/githubkit/versions/v2022_11_28/types/group_0281.py @@ -46,4 +46,39 @@ class CodeScanningDefaultSetupType(TypedDict): schedule: NotRequired[Union[None, Literal["weekly"]]] -__all__ = ("CodeScanningDefaultSetupType",) +class CodeScanningDefaultSetupTypeForResponse(TypedDict): + """CodeScanningDefaultSetup + + Configuration for code scanning default setup. + """ + + state: NotRequired[Literal["configured", "not-configured"]] + languages: NotRequired[ + list[ + Literal[ + "actions", + "c-cpp", + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "javascript", + "python", + "ruby", + "typescript", + "swift", + ] + ] + ] + runner_type: NotRequired[Union[None, Literal["standard", "labeled"]]] + runner_label: NotRequired[Union[str, None]] + query_suite: NotRequired[Literal["default", "extended"]] + threat_model: NotRequired[Literal["remote", "remote_and_local"]] + updated_at: NotRequired[Union[str, None]] + schedule: NotRequired[Union[None, Literal["weekly"]]] + + +__all__ = ( + "CodeScanningDefaultSetupType", + "CodeScanningDefaultSetupTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0282.py b/githubkit/versions/v2022_11_28/types/group_0282.py index 69c76e214..1ae68a456 100644 --- a/githubkit/versions/v2022_11_28/types/group_0282.py +++ b/githubkit/versions/v2022_11_28/types/group_0282.py @@ -41,4 +41,35 @@ class CodeScanningDefaultSetupUpdateType(TypedDict): ] -__all__ = ("CodeScanningDefaultSetupUpdateType",) +class CodeScanningDefaultSetupUpdateTypeForResponse(TypedDict): + """CodeScanningDefaultSetupUpdate + + Configuration for code scanning default setup. + """ + + state: NotRequired[Literal["configured", "not-configured"]] + runner_type: NotRequired[Literal["standard", "labeled"]] + runner_label: NotRequired[Union[str, None]] + query_suite: NotRequired[Literal["default", "extended"]] + threat_model: NotRequired[Literal["remote", "remote_and_local"]] + languages: NotRequired[ + list[ + Literal[ + "actions", + "c-cpp", + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "swift", + ] + ] + ] + + +__all__ = ( + "CodeScanningDefaultSetupUpdateType", + "CodeScanningDefaultSetupUpdateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0283.py b/githubkit/versions/v2022_11_28/types/group_0283.py index f363fa4b1..30b4353a1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0283.py +++ b/githubkit/versions/v2022_11_28/types/group_0283.py @@ -24,4 +24,19 @@ class CodeScanningDefaultSetupUpdateResponseType(TypedDict): run_url: NotRequired[str] -__all__ = ("CodeScanningDefaultSetupUpdateResponseType",) +class CodeScanningDefaultSetupUpdateResponseTypeForResponse(TypedDict): + """CodeScanningDefaultSetupUpdateResponse + + You can use `run_url` to track the status of the run. This includes a property + status and conclusion. + You should not rely on this always being an actions workflow run object. + """ + + run_id: NotRequired[int] + run_url: NotRequired[str] + + +__all__ = ( + "CodeScanningDefaultSetupUpdateResponseType", + "CodeScanningDefaultSetupUpdateResponseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0284.py b/githubkit/versions/v2022_11_28/types/group_0284.py index 5a45d64e1..c6e50774f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0284.py +++ b/githubkit/versions/v2022_11_28/types/group_0284.py @@ -19,4 +19,14 @@ class CodeScanningSarifsReceiptType(TypedDict): url: NotRequired[str] -__all__ = ("CodeScanningSarifsReceiptType",) +class CodeScanningSarifsReceiptTypeForResponse(TypedDict): + """CodeScanningSarifsReceipt""" + + id: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "CodeScanningSarifsReceiptType", + "CodeScanningSarifsReceiptTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0285.py b/githubkit/versions/v2022_11_28/types/group_0285.py index 3b46d219b..cc934dac1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0285.py +++ b/githubkit/versions/v2022_11_28/types/group_0285.py @@ -21,4 +21,15 @@ class CodeScanningSarifsStatusType(TypedDict): errors: NotRequired[Union[list[str], None]] -__all__ = ("CodeScanningSarifsStatusType",) +class CodeScanningSarifsStatusTypeForResponse(TypedDict): + """CodeScanningSarifsStatus""" + + processing_status: NotRequired[Literal["pending", "complete", "failed"]] + analyses_url: NotRequired[Union[str, None]] + errors: NotRequired[Union[list[str], None]] + + +__all__ = ( + "CodeScanningSarifsStatusType", + "CodeScanningSarifsStatusTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0286.py b/githubkit/versions/v2022_11_28/types/group_0286.py index 39746fa67..212932ddd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0286.py +++ b/githubkit/versions/v2022_11_28/types/group_0286.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0028 import CodeSecurityConfigurationType +from .group_0028 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class CodeSecurityConfigurationForRepositoryType(TypedDict): @@ -36,4 +39,28 @@ class CodeSecurityConfigurationForRepositoryType(TypedDict): configuration: NotRequired[CodeSecurityConfigurationType] -__all__ = ("CodeSecurityConfigurationForRepositoryType",) +class CodeSecurityConfigurationForRepositoryTypeForResponse(TypedDict): + """CodeSecurityConfigurationForRepository + + Code security configuration associated with a repository and attachment status + """ + + status: NotRequired[ + Literal[ + "attached", + "attaching", + "detached", + "removed", + "enforced", + "failed", + "updating", + "removed_by_enterprise", + ] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + +__all__ = ( + "CodeSecurityConfigurationForRepositoryType", + "CodeSecurityConfigurationForRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0287.py b/githubkit/versions/v2022_11_28/types/group_0287.py index 4480d357f..3c8155c34 100644 --- a/githubkit/versions/v2022_11_28/types/group_0287.py +++ b/githubkit/versions/v2022_11_28/types/group_0287.py @@ -22,6 +22,15 @@ class CodeownersErrorsType(TypedDict): errors: list[CodeownersErrorsPropErrorsItemsType] +class CodeownersErrorsTypeForResponse(TypedDict): + """CODEOWNERS errors + + A list of errors found in a repo's CODEOWNERS file + """ + + errors: list[CodeownersErrorsPropErrorsItemsTypeForResponse] + + class CodeownersErrorsPropErrorsItemsType(TypedDict): """CodeownersErrorsPropErrorsItems""" @@ -34,7 +43,21 @@ class CodeownersErrorsPropErrorsItemsType(TypedDict): path: str +class CodeownersErrorsPropErrorsItemsTypeForResponse(TypedDict): + """CodeownersErrorsPropErrorsItems""" + + line: int + column: int + source: NotRequired[str] + kind: str + suggestion: NotRequired[Union[str, None]] + message: str + path: str + + __all__ = ( "CodeownersErrorsPropErrorsItemsType", + "CodeownersErrorsPropErrorsItemsTypeForResponse", "CodeownersErrorsType", + "CodeownersErrorsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0288.py b/githubkit/versions/v2022_11_28/types/group_0288.py index e1c93e03b..b96bf3aef 100644 --- a/githubkit/versions/v2022_11_28/types/group_0288.py +++ b/githubkit/versions/v2022_11_28/types/group_0288.py @@ -21,4 +21,16 @@ class CodespacesPermissionsCheckForDevcontainerType(TypedDict): accepted: bool -__all__ = ("CodespacesPermissionsCheckForDevcontainerType",) +class CodespacesPermissionsCheckForDevcontainerTypeForResponse(TypedDict): + """Codespaces Permissions Check + + Permission check result for a given devcontainer config. + """ + + accepted: bool + + +__all__ = ( + "CodespacesPermissionsCheckForDevcontainerType", + "CodespacesPermissionsCheckForDevcontainerTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0289.py b/githubkit/versions/v2022_11_28/types/group_0289.py index acd7df962..b2c533253 100644 --- a/githubkit/versions/v2022_11_28/types/group_0289.py +++ b/githubkit/versions/v2022_11_28/types/group_0289.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0061 import MinimalRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class RepositoryInvitationType(TypedDict): @@ -35,4 +35,25 @@ class RepositoryInvitationType(TypedDict): node_id: str -__all__ = ("RepositoryInvitationType",) +class RepositoryInvitationTypeForResponse(TypedDict): + """Repository Invitation + + Repository invitations let you manage who you collaborate with. + """ + + id: int + repository: MinimalRepositoryTypeForResponse + invitee: Union[None, SimpleUserTypeForResponse] + inviter: Union[None, SimpleUserTypeForResponse] + permissions: Literal["read", "write", "admin", "triage", "maintain"] + created_at: str + expired: NotRequired[bool] + url: str + html_url: str + node_id: str + + +__all__ = ( + "RepositoryInvitationType", + "RepositoryInvitationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0290.py b/githubkit/versions/v2022_11_28/types/group_0290.py index 10af54a9e..5c3ce38e7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0290.py +++ b/githubkit/versions/v2022_11_28/types/group_0290.py @@ -24,6 +24,17 @@ class RepositoryCollaboratorPermissionType(TypedDict): user: Union[None, CollaboratorType] +class RepositoryCollaboratorPermissionTypeForResponse(TypedDict): + """Repository Collaborator Permission + + Repository Collaborator Permission + """ + + permission: str + role_name: str + user: Union[None, CollaboratorTypeForResponse] + + class CollaboratorType(TypedDict): """Collaborator @@ -55,6 +66,37 @@ class CollaboratorType(TypedDict): user_view_type: NotRequired[str] +class CollaboratorTypeForResponse(TypedDict): + """Collaborator + + Collaborator + """ + + login: str + id: int + email: NotRequired[Union[str, None]] + name: NotRequired[Union[str, None]] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + permissions: NotRequired[CollaboratorPropPermissionsTypeForResponse] + role_name: str + user_view_type: NotRequired[str] + + class CollaboratorPropPermissionsType(TypedDict): """CollaboratorPropPermissions""" @@ -65,8 +107,21 @@ class CollaboratorPropPermissionsType(TypedDict): admin: bool +class CollaboratorPropPermissionsTypeForResponse(TypedDict): + """CollaboratorPropPermissions""" + + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + admin: bool + + __all__ = ( "CollaboratorPropPermissionsType", + "CollaboratorPropPermissionsTypeForResponse", "CollaboratorType", + "CollaboratorTypeForResponse", "RepositoryCollaboratorPermissionType", + "RepositoryCollaboratorPermissionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0291.py b/githubkit/versions/v2022_11_28/types/group_0291.py index 503d4d51a..33c7c8672 100644 --- a/githubkit/versions/v2022_11_28/types/group_0291.py +++ b/githubkit/versions/v2022_11_28/types/group_0291.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class CommitCommentType(TypedDict): @@ -48,6 +48,37 @@ class CommitCommentType(TypedDict): reactions: NotRequired[ReactionRollupType] +class CommitCommentTypeForResponse(TypedDict): + """Commit Comment + + Commit Comment + """ + + html_url: str + url: str + id: int + node_id: str + body: str + path: Union[str, None] + position: Union[int, None] + line: Union[int, None] + commit_id: str + user: Union[None, SimpleUserTypeForResponse] + created_at: str + updated_at: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + reactions: NotRequired[ReactionRollupTypeForResponse] + + class TimelineCommitCommentedEventType(TypedDict): """Timeline Commit Commented Event @@ -60,7 +91,21 @@ class TimelineCommitCommentedEventType(TypedDict): comments: NotRequired[list[CommitCommentType]] +class TimelineCommitCommentedEventTypeForResponse(TypedDict): + """Timeline Commit Commented Event + + Timeline Commit Commented Event + """ + + event: NotRequired[Literal["commit_commented"]] + node_id: NotRequired[str] + commit_id: NotRequired[str] + comments: NotRequired[list[CommitCommentTypeForResponse]] + + __all__ = ( "CommitCommentType", + "CommitCommentTypeForResponse", "TimelineCommitCommentedEventType", + "TimelineCommitCommentedEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0292.py b/githubkit/versions/v2022_11_28/types/group_0292.py index 997250710..5ae708d0d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0292.py +++ b/githubkit/versions/v2022_11_28/types/group_0292.py @@ -23,6 +23,17 @@ class BranchShortType(TypedDict): protected: bool +class BranchShortTypeForResponse(TypedDict): + """Branch Short + + Branch Short + """ + + name: str + commit: BranchShortPropCommitTypeForResponse + protected: bool + + class BranchShortPropCommitType(TypedDict): """BranchShortPropCommit""" @@ -30,7 +41,16 @@ class BranchShortPropCommitType(TypedDict): url: str +class BranchShortPropCommitTypeForResponse(TypedDict): + """BranchShortPropCommit""" + + sha: str + url: str + + __all__ = ( "BranchShortPropCommitType", + "BranchShortPropCommitTypeForResponse", "BranchShortType", + "BranchShortTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0293.py b/githubkit/versions/v2022_11_28/types/group_0293.py index 7ffc6c74e..802e5f57c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0293.py +++ b/githubkit/versions/v2022_11_28/types/group_0293.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class CombinedCommitStatusType(TypedDict): @@ -31,6 +31,21 @@ class CombinedCommitStatusType(TypedDict): url: str +class CombinedCommitStatusTypeForResponse(TypedDict): + """Combined Commit Status + + Combined Commit Status + """ + + state: str + statuses: list[SimpleCommitStatusTypeForResponse] + sha: str + total_count: int + repository: MinimalRepositoryTypeForResponse + commit_url: str + url: str + + class SimpleCommitStatusType(TypedDict): """Simple Commit Status""" @@ -47,7 +62,25 @@ class SimpleCommitStatusType(TypedDict): updated_at: datetime +class SimpleCommitStatusTypeForResponse(TypedDict): + """Simple Commit Status""" + + description: Union[str, None] + id: int + node_id: str + state: str + context: str + target_url: Union[str, None] + required: NotRequired[Union[bool, None]] + avatar_url: Union[str, None] + url: str + created_at: str + updated_at: str + + __all__ = ( "CombinedCommitStatusType", + "CombinedCommitStatusTypeForResponse", "SimpleCommitStatusType", + "SimpleCommitStatusTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0294.py b/githubkit/versions/v2022_11_28/types/group_0294.py index 13b770a02..df386b9a2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0294.py +++ b/githubkit/versions/v2022_11_28/types/group_0294.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class StatusType(TypedDict): @@ -34,4 +34,26 @@ class StatusType(TypedDict): creator: Union[None, SimpleUserType] -__all__ = ("StatusType",) +class StatusTypeForResponse(TypedDict): + """Status + + The status of a commit. + """ + + url: str + avatar_url: Union[str, None] + id: int + node_id: str + state: str + description: Union[str, None] + target_url: Union[str, None] + context: str + created_at: str + updated_at: str + creator: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "StatusType", + "StatusTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0295.py b/githubkit/versions/v2022_11_28/types/group_0295.py index 405a7df3d..ca04633d0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0295.py +++ b/githubkit/versions/v2022_11_28/types/group_0295.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0019 import LicenseSimpleType -from .group_0143 import CodeOfConductSimpleType +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0143 import CodeOfConductSimpleType, CodeOfConductSimpleTypeForResponse class CommunityProfilePropFilesType(TypedDict): @@ -29,6 +29,18 @@ class CommunityProfilePropFilesType(TypedDict): pull_request_template: Union[None, CommunityHealthFileType] +class CommunityProfilePropFilesTypeForResponse(TypedDict): + """CommunityProfilePropFiles""" + + code_of_conduct: Union[None, CodeOfConductSimpleTypeForResponse] + code_of_conduct_file: Union[None, CommunityHealthFileTypeForResponse] + license_: Union[None, LicenseSimpleTypeForResponse] + contributing: Union[None, CommunityHealthFileTypeForResponse] + readme: Union[None, CommunityHealthFileTypeForResponse] + issue_template: Union[None, CommunityHealthFileTypeForResponse] + pull_request_template: Union[None, CommunityHealthFileTypeForResponse] + + class CommunityHealthFileType(TypedDict): """Community Health File""" @@ -36,6 +48,13 @@ class CommunityHealthFileType(TypedDict): html_url: str +class CommunityHealthFileTypeForResponse(TypedDict): + """Community Health File""" + + url: str + html_url: str + + class CommunityProfileType(TypedDict): """Community Profile @@ -50,8 +69,25 @@ class CommunityProfileType(TypedDict): content_reports_enabled: NotRequired[bool] +class CommunityProfileTypeForResponse(TypedDict): + """Community Profile + + Community Profile + """ + + health_percentage: int + description: Union[str, None] + documentation: Union[str, None] + files: CommunityProfilePropFilesTypeForResponse + updated_at: Union[str, None] + content_reports_enabled: NotRequired[bool] + + __all__ = ( "CommunityHealthFileType", + "CommunityHealthFileTypeForResponse", "CommunityProfilePropFilesType", + "CommunityProfilePropFilesTypeForResponse", "CommunityProfileType", + "CommunityProfileTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0296.py b/githubkit/versions/v2022_11_28/types/group_0296.py index be93a1a51..b346f3afd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0296.py +++ b/githubkit/versions/v2022_11_28/types/group_0296.py @@ -12,8 +12,8 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0255 import DiffEntryType -from .group_0256 import CommitType +from .group_0255 import DiffEntryType, DiffEntryTypeForResponse +from .group_0256 import CommitType, CommitTypeForResponse class CommitComparisonType(TypedDict): @@ -37,4 +37,28 @@ class CommitComparisonType(TypedDict): files: NotRequired[list[DiffEntryType]] -__all__ = ("CommitComparisonType",) +class CommitComparisonTypeForResponse(TypedDict): + """Commit Comparison + + Commit Comparison + """ + + url: str + html_url: str + permalink_url: str + diff_url: str + patch_url: str + base_commit: CommitTypeForResponse + merge_base_commit: CommitTypeForResponse + status: Literal["diverged", "ahead", "behind", "identical"] + ahead_by: int + behind_by: int + total_commits: int + commits: list[CommitTypeForResponse] + files: NotRequired[list[DiffEntryTypeForResponse]] + + +__all__ = ( + "CommitComparisonType", + "CommitComparisonTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0297.py b/githubkit/versions/v2022_11_28/types/group_0297.py index 3c6f67fc5..bf0b7abd9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0297.py +++ b/githubkit/versions/v2022_11_28/types/group_0297.py @@ -34,6 +34,27 @@ class ContentTreeType(TypedDict): links: ContentTreePropLinksType +class ContentTreeTypeForResponse(TypedDict): + """Content Tree + + Content Tree + """ + + type: str + size: int + name: str + path: str + sha: str + content: NotRequired[str] + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + entries: NotRequired[list[ContentTreePropEntriesItemsTypeForResponse]] + encoding: NotRequired[str] + links: ContentTreePropLinksTypeForResponse + + class ContentTreePropLinksType(TypedDict): """ContentTreePropLinks""" @@ -42,6 +63,14 @@ class ContentTreePropLinksType(TypedDict): self_: str +class ContentTreePropLinksTypeForResponse(TypedDict): + """ContentTreePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + class ContentTreePropEntriesItemsType(TypedDict): """ContentTreePropEntriesItems""" @@ -57,6 +86,21 @@ class ContentTreePropEntriesItemsType(TypedDict): links: ContentTreePropEntriesItemsPropLinksType +class ContentTreePropEntriesItemsTypeForResponse(TypedDict): + """ContentTreePropEntriesItems""" + + type: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentTreePropEntriesItemsPropLinksTypeForResponse + + class ContentTreePropEntriesItemsPropLinksType(TypedDict): """ContentTreePropEntriesItemsPropLinks""" @@ -65,9 +109,21 @@ class ContentTreePropEntriesItemsPropLinksType(TypedDict): self_: str +class ContentTreePropEntriesItemsPropLinksTypeForResponse(TypedDict): + """ContentTreePropEntriesItemsPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentTreePropEntriesItemsPropLinksType", + "ContentTreePropEntriesItemsPropLinksTypeForResponse", "ContentTreePropEntriesItemsType", + "ContentTreePropEntriesItemsTypeForResponse", "ContentTreePropLinksType", + "ContentTreePropLinksTypeForResponse", "ContentTreeType", + "ContentTreeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0298.py b/githubkit/versions/v2022_11_28/types/group_0298.py index 74ee6a6e4..ea9b509d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0298.py +++ b/githubkit/versions/v2022_11_28/types/group_0298.py @@ -29,6 +29,22 @@ class ContentDirectoryItemsType(TypedDict): links: ContentDirectoryItemsPropLinksType +class ContentDirectoryItemsTypeForResponse(TypedDict): + """ContentDirectoryItems""" + + type: Literal["dir", "file", "submodule", "symlink"] + size: int + name: str + path: str + content: NotRequired[str] + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentDirectoryItemsPropLinksTypeForResponse + + class ContentDirectoryItemsPropLinksType(TypedDict): """ContentDirectoryItemsPropLinks""" @@ -37,7 +53,17 @@ class ContentDirectoryItemsPropLinksType(TypedDict): self_: str +class ContentDirectoryItemsPropLinksTypeForResponse(TypedDict): + """ContentDirectoryItemsPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentDirectoryItemsPropLinksType", + "ContentDirectoryItemsPropLinksTypeForResponse", "ContentDirectoryItemsType", + "ContentDirectoryItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0299.py b/githubkit/versions/v2022_11_28/types/group_0299.py index 2ad4b4ca8..2a27a3f40 100644 --- a/githubkit/versions/v2022_11_28/types/group_0299.py +++ b/githubkit/versions/v2022_11_28/types/group_0299.py @@ -35,6 +35,28 @@ class ContentFileType(TypedDict): submodule_git_url: NotRequired[str] +class ContentFileTypeForResponse(TypedDict): + """Content File + + Content File + """ + + type: Literal["file"] + encoding: str + size: int + name: str + path: str + content: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentFilePropLinksTypeForResponse + target: NotRequired[str] + submodule_git_url: NotRequired[str] + + class ContentFilePropLinksType(TypedDict): """ContentFilePropLinks""" @@ -43,7 +65,17 @@ class ContentFilePropLinksType(TypedDict): self_: str +class ContentFilePropLinksTypeForResponse(TypedDict): + """ContentFilePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentFilePropLinksType", + "ContentFilePropLinksTypeForResponse", "ContentFileType", + "ContentFileTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0300.py b/githubkit/versions/v2022_11_28/types/group_0300.py index 0998eda68..e4a1233b4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0300.py +++ b/githubkit/versions/v2022_11_28/types/group_0300.py @@ -32,6 +32,25 @@ class ContentSymlinkType(TypedDict): links: ContentSymlinkPropLinksType +class ContentSymlinkTypeForResponse(TypedDict): + """Symlink Content + + An object describing a symlink + """ + + type: Literal["symlink"] + target: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentSymlinkPropLinksTypeForResponse + + class ContentSymlinkPropLinksType(TypedDict): """ContentSymlinkPropLinks""" @@ -40,7 +59,17 @@ class ContentSymlinkPropLinksType(TypedDict): self_: str +class ContentSymlinkPropLinksTypeForResponse(TypedDict): + """ContentSymlinkPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentSymlinkPropLinksType", + "ContentSymlinkPropLinksTypeForResponse", "ContentSymlinkType", + "ContentSymlinkTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0301.py b/githubkit/versions/v2022_11_28/types/group_0301.py index b80d6984e..a84cd03f9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0301.py +++ b/githubkit/versions/v2022_11_28/types/group_0301.py @@ -32,6 +32,25 @@ class ContentSubmoduleType(TypedDict): links: ContentSubmodulePropLinksType +class ContentSubmoduleTypeForResponse(TypedDict): + """Submodule Content + + An object describing a submodule + """ + + type: Literal["submodule"] + submodule_git_url: str + size: int + name: str + path: str + sha: str + url: str + git_url: Union[str, None] + html_url: Union[str, None] + download_url: Union[str, None] + links: ContentSubmodulePropLinksTypeForResponse + + class ContentSubmodulePropLinksType(TypedDict): """ContentSubmodulePropLinks""" @@ -40,7 +59,17 @@ class ContentSubmodulePropLinksType(TypedDict): self_: str +class ContentSubmodulePropLinksTypeForResponse(TypedDict): + """ContentSubmodulePropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "ContentSubmodulePropLinksType", + "ContentSubmodulePropLinksTypeForResponse", "ContentSubmoduleType", + "ContentSubmoduleTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0302.py b/githubkit/versions/v2022_11_28/types/group_0302.py index 78a4cf43d..77decba34 100644 --- a/githubkit/versions/v2022_11_28/types/group_0302.py +++ b/githubkit/versions/v2022_11_28/types/group_0302.py @@ -23,6 +23,16 @@ class FileCommitType(TypedDict): commit: FileCommitPropCommitType +class FileCommitTypeForResponse(TypedDict): + """File Commit + + File Commit + """ + + content: Union[FileCommitPropContentTypeForResponse, None] + commit: FileCommitPropCommitTypeForResponse + + class FileCommitPropContentType(TypedDict): """FileCommitPropContent""" @@ -38,6 +48,21 @@ class FileCommitPropContentType(TypedDict): links: NotRequired[FileCommitPropContentPropLinksType] +class FileCommitPropContentTypeForResponse(TypedDict): + """FileCommitPropContent""" + + name: NotRequired[str] + path: NotRequired[str] + sha: NotRequired[str] + size: NotRequired[int] + url: NotRequired[str] + html_url: NotRequired[str] + git_url: NotRequired[str] + download_url: NotRequired[str] + type: NotRequired[str] + links: NotRequired[FileCommitPropContentPropLinksTypeForResponse] + + class FileCommitPropContentPropLinksType(TypedDict): """FileCommitPropContentPropLinks""" @@ -46,6 +71,14 @@ class FileCommitPropContentPropLinksType(TypedDict): html: NotRequired[str] +class FileCommitPropContentPropLinksTypeForResponse(TypedDict): + """FileCommitPropContentPropLinks""" + + self_: NotRequired[str] + git: NotRequired[str] + html: NotRequired[str] + + class FileCommitPropCommitType(TypedDict): """FileCommitPropCommit""" @@ -61,6 +94,21 @@ class FileCommitPropCommitType(TypedDict): verification: NotRequired[FileCommitPropCommitPropVerificationType] +class FileCommitPropCommitTypeForResponse(TypedDict): + """FileCommitPropCommit""" + + sha: NotRequired[str] + node_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + author: NotRequired[FileCommitPropCommitPropAuthorTypeForResponse] + committer: NotRequired[FileCommitPropCommitPropCommitterTypeForResponse] + message: NotRequired[str] + tree: NotRequired[FileCommitPropCommitPropTreeTypeForResponse] + parents: NotRequired[list[FileCommitPropCommitPropParentsItemsTypeForResponse]] + verification: NotRequired[FileCommitPropCommitPropVerificationTypeForResponse] + + class FileCommitPropCommitPropAuthorType(TypedDict): """FileCommitPropCommitPropAuthor""" @@ -69,6 +117,14 @@ class FileCommitPropCommitPropAuthorType(TypedDict): email: NotRequired[str] +class FileCommitPropCommitPropAuthorTypeForResponse(TypedDict): + """FileCommitPropCommitPropAuthor""" + + date: NotRequired[str] + name: NotRequired[str] + email: NotRequired[str] + + class FileCommitPropCommitPropCommitterType(TypedDict): """FileCommitPropCommitPropCommitter""" @@ -77,6 +133,14 @@ class FileCommitPropCommitPropCommitterType(TypedDict): email: NotRequired[str] +class FileCommitPropCommitPropCommitterTypeForResponse(TypedDict): + """FileCommitPropCommitPropCommitter""" + + date: NotRequired[str] + name: NotRequired[str] + email: NotRequired[str] + + class FileCommitPropCommitPropTreeType(TypedDict): """FileCommitPropCommitPropTree""" @@ -84,6 +148,13 @@ class FileCommitPropCommitPropTreeType(TypedDict): sha: NotRequired[str] +class FileCommitPropCommitPropTreeTypeForResponse(TypedDict): + """FileCommitPropCommitPropTree""" + + url: NotRequired[str] + sha: NotRequired[str] + + class FileCommitPropCommitPropParentsItemsType(TypedDict): """FileCommitPropCommitPropParentsItems""" @@ -92,6 +163,14 @@ class FileCommitPropCommitPropParentsItemsType(TypedDict): sha: NotRequired[str] +class FileCommitPropCommitPropParentsItemsTypeForResponse(TypedDict): + """FileCommitPropCommitPropParentsItems""" + + url: NotRequired[str] + html_url: NotRequired[str] + sha: NotRequired[str] + + class FileCommitPropCommitPropVerificationType(TypedDict): """FileCommitPropCommitPropVerification""" @@ -102,14 +181,33 @@ class FileCommitPropCommitPropVerificationType(TypedDict): verified_at: NotRequired[Union[str, None]] +class FileCommitPropCommitPropVerificationTypeForResponse(TypedDict): + """FileCommitPropCommitPropVerification""" + + verified: NotRequired[bool] + reason: NotRequired[str] + signature: NotRequired[Union[str, None]] + payload: NotRequired[Union[str, None]] + verified_at: NotRequired[Union[str, None]] + + __all__ = ( "FileCommitPropCommitPropAuthorType", + "FileCommitPropCommitPropAuthorTypeForResponse", "FileCommitPropCommitPropCommitterType", + "FileCommitPropCommitPropCommitterTypeForResponse", "FileCommitPropCommitPropParentsItemsType", + "FileCommitPropCommitPropParentsItemsTypeForResponse", "FileCommitPropCommitPropTreeType", + "FileCommitPropCommitPropTreeTypeForResponse", "FileCommitPropCommitPropVerificationType", + "FileCommitPropCommitPropVerificationTypeForResponse", "FileCommitPropCommitType", + "FileCommitPropCommitTypeForResponse", "FileCommitPropContentPropLinksType", + "FileCommitPropContentPropLinksTypeForResponse", "FileCommitPropContentType", + "FileCommitPropContentTypeForResponse", "FileCommitType", + "FileCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0303.py b/githubkit/versions/v2022_11_28/types/group_0303.py index 82a56dc68..373a635a2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0303.py +++ b/githubkit/versions/v2022_11_28/types/group_0303.py @@ -24,6 +24,18 @@ class RepositoryRuleViolationErrorType(TypedDict): metadata: NotRequired[RepositoryRuleViolationErrorPropMetadataType] +class RepositoryRuleViolationErrorTypeForResponse(TypedDict): + """RepositoryRuleViolationError + + Repository rule violation was detected + """ + + message: NotRequired[str] + documentation_url: NotRequired[str] + status: NotRequired[str] + metadata: NotRequired[RepositoryRuleViolationErrorPropMetadataTypeForResponse] + + class RepositoryRuleViolationErrorPropMetadataType(TypedDict): """RepositoryRuleViolationErrorPropMetadata""" @@ -32,6 +44,14 @@ class RepositoryRuleViolationErrorPropMetadataType(TypedDict): ] +class RepositoryRuleViolationErrorPropMetadataTypeForResponse(TypedDict): + """RepositoryRuleViolationErrorPropMetadata""" + + secret_scanning: NotRequired[ + RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse + ] + + class RepositoryRuleViolationErrorPropMetadataPropSecretScanningType(TypedDict): """RepositoryRuleViolationErrorPropMetadataPropSecretScanning""" @@ -42,6 +62,18 @@ class RepositoryRuleViolationErrorPropMetadataPropSecretScanningType(TypedDict): ] +class RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse( + TypedDict +): + """RepositoryRuleViolationErrorPropMetadataPropSecretScanning""" + + bypass_placeholders: NotRequired[ + list[ + RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse + ] + ] + + class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType( TypedDict ): @@ -53,9 +85,24 @@ class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceh token_type: NotRequired[str] +class RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse( + TypedDict +): + """RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholders + Items + """ + + placeholder_id: NotRequired[str] + token_type: NotRequired[str] + + __all__ = ( "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningPropBypassPlaceholdersItemsTypeForResponse", "RepositoryRuleViolationErrorPropMetadataPropSecretScanningType", + "RepositoryRuleViolationErrorPropMetadataPropSecretScanningTypeForResponse", "RepositoryRuleViolationErrorPropMetadataType", + "RepositoryRuleViolationErrorPropMetadataTypeForResponse", "RepositoryRuleViolationErrorType", + "RepositoryRuleViolationErrorTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0304.py b/githubkit/versions/v2022_11_28/types/group_0304.py index 0bcf70515..62a70d559 100644 --- a/githubkit/versions/v2022_11_28/types/group_0304.py +++ b/githubkit/versions/v2022_11_28/types/group_0304.py @@ -43,4 +43,37 @@ class ContributorType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("ContributorType",) +class ContributorTypeForResponse(TypedDict): + """Contributor + + Contributor + """ + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[Union[str, None]] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: str + site_admin: NotRequired[bool] + contributions: int + email: NotRequired[str] + name: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "ContributorType", + "ContributorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0305.py b/githubkit/versions/v2022_11_28/types/group_0305.py index 8954e6c1d..93fe5939b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0305.py +++ b/githubkit/versions/v2022_11_28/types/group_0305.py @@ -13,10 +13,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0035 import DependabotAlertSecurityVulnerabilityType -from .group_0036 import DependabotAlertSecurityAdvisoryType -from .group_0306 import DependabotAlertPropDependencyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0035 import ( + DependabotAlertSecurityVulnerabilityType, + DependabotAlertSecurityVulnerabilityTypeForResponse, +) +from .group_0036 import ( + DependabotAlertSecurityAdvisoryType, + DependabotAlertSecurityAdvisoryTypeForResponse, +) +from .group_0306 import ( + DependabotAlertPropDependencyType, + DependabotAlertPropDependencyTypeForResponse, +) class DependabotAlertType(TypedDict): @@ -47,4 +56,35 @@ class DependabotAlertType(TypedDict): auto_dismissed_at: NotRequired[Union[datetime, None]] -__all__ = ("DependabotAlertType",) +class DependabotAlertTypeForResponse(TypedDict): + """DependabotAlert + + A Dependabot alert. + """ + + number: int + state: Literal["auto_dismissed", "dismissed", "fixed", "open"] + dependency: DependabotAlertPropDependencyTypeForResponse + security_advisory: DependabotAlertSecurityAdvisoryTypeForResponse + security_vulnerability: DependabotAlertSecurityVulnerabilityTypeForResponse + url: str + html_url: str + created_at: str + updated_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[None, SimpleUserTypeForResponse] + dismissed_reason: Union[ + None, + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ], + ] + dismissed_comment: Union[str, None] + fixed_at: Union[str, None] + auto_dismissed_at: NotRequired[Union[str, None]] + + +__all__ = ( + "DependabotAlertType", + "DependabotAlertTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0306.py b/githubkit/versions/v2022_11_28/types/group_0306.py index 13f6ab701..84c8de3ea 100644 --- a/githubkit/versions/v2022_11_28/types/group_0306.py +++ b/githubkit/versions/v2022_11_28/types/group_0306.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0034 import DependabotAlertPackageType +from .group_0034 import ( + DependabotAlertPackageType, + DependabotAlertPackageTypeForResponse, +) class DependabotAlertPropDependencyType(TypedDict): @@ -27,4 +30,19 @@ class DependabotAlertPropDependencyType(TypedDict): relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]] -__all__ = ("DependabotAlertPropDependencyType",) +class DependabotAlertPropDependencyTypeForResponse(TypedDict): + """DependabotAlertPropDependency + + Details for the vulnerable dependency. + """ + + package: NotRequired[DependabotAlertPackageTypeForResponse] + manifest_path: NotRequired[str] + scope: NotRequired[Union[None, Literal["development", "runtime"]]] + relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]] + + +__all__ = ( + "DependabotAlertPropDependencyType", + "DependabotAlertPropDependencyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0307.py b/githubkit/versions/v2022_11_28/types/group_0307.py index b061be26e..1ee682e6a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0307.py +++ b/githubkit/versions/v2022_11_28/types/group_0307.py @@ -28,6 +28,23 @@ class DependencyGraphDiffItemsType(TypedDict): scope: Literal["unknown", "runtime", "development"] +class DependencyGraphDiffItemsTypeForResponse(TypedDict): + """DependencyGraphDiffItems""" + + change_type: Literal["added", "removed"] + manifest: str + ecosystem: str + name: str + version: str + package_url: Union[str, None] + license_: Union[str, None] + source_repository_url: Union[str, None] + vulnerabilities: list[ + DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse + ] + scope: Literal["unknown", "runtime", "development"] + + class DependencyGraphDiffItemsPropVulnerabilitiesItemsType(TypedDict): """DependencyGraphDiffItemsPropVulnerabilitiesItems""" @@ -37,7 +54,18 @@ class DependencyGraphDiffItemsPropVulnerabilitiesItemsType(TypedDict): advisory_url: str +class DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse(TypedDict): + """DependencyGraphDiffItemsPropVulnerabilitiesItems""" + + severity: str + advisory_ghsa_id: str + advisory_summary: str + advisory_url: str + + __all__ = ( "DependencyGraphDiffItemsPropVulnerabilitiesItemsType", + "DependencyGraphDiffItemsPropVulnerabilitiesItemsTypeForResponse", "DependencyGraphDiffItemsType", + "DependencyGraphDiffItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0308.py b/githubkit/versions/v2022_11_28/types/group_0308.py index 489a3ce99..e1acc6201 100644 --- a/githubkit/versions/v2022_11_28/types/group_0308.py +++ b/githubkit/versions/v2022_11_28/types/group_0308.py @@ -21,6 +21,15 @@ class DependencyGraphSpdxSbomType(TypedDict): sbom: DependencyGraphSpdxSbomPropSbomType +class DependencyGraphSpdxSbomTypeForResponse(TypedDict): + """Dependency Graph SPDX SBOM + + A schema for the SPDX JSON format returned by the Dependency Graph. + """ + + sbom: DependencyGraphSpdxSbomPropSbomTypeForResponse + + class DependencyGraphSpdxSbomPropSbomType(TypedDict): """DependencyGraphSpdxSbomPropSbom""" @@ -37,6 +46,22 @@ class DependencyGraphSpdxSbomPropSbomType(TypedDict): ] +class DependencyGraphSpdxSbomPropSbomTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbom""" + + spdxid: str + spdx_version: str + comment: NotRequired[str] + creation_info: DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse + name: str + data_license: str + document_namespace: str + packages: list[DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse] + relationships: NotRequired[ + list[DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse] + ] + + class DependencyGraphSpdxSbomPropSbomPropCreationInfoType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropCreationInfo""" @@ -44,6 +69,13 @@ class DependencyGraphSpdxSbomPropSbomPropCreationInfoType(TypedDict): creators: list[str] +class DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropCreationInfo""" + + created: str + creators: list[str] + + class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropRelationshipsItems""" @@ -52,6 +84,14 @@ class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType(TypedDict): related_spdx_element: NotRequired[str] +class DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropRelationshipsItems""" + + relationship_type: NotRequired[str] + spdx_element_id: NotRequired[str] + related_spdx_element: NotRequired[str] + + class DependencyGraphSpdxSbomPropSbomPropPackagesItemsType(TypedDict): """DependencyGraphSpdxSbomPropSbomPropPackagesItems""" @@ -69,6 +109,25 @@ class DependencyGraphSpdxSbomPropSbomPropPackagesItemsType(TypedDict): ] +class DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse(TypedDict): + """DependencyGraphSpdxSbomPropSbomPropPackagesItems""" + + spdxid: NotRequired[str] + name: NotRequired[str] + version_info: NotRequired[str] + download_location: NotRequired[str] + files_analyzed: NotRequired[bool] + license_concluded: NotRequired[str] + license_declared: NotRequired[str] + supplier: NotRequired[str] + copyright_text: NotRequired[str] + external_refs: NotRequired[ + list[ + DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse + ] + ] + + class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType( TypedDict ): @@ -79,11 +138,27 @@ class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType( reference_type: str +class DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse( + TypedDict +): + """DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItems""" + + reference_category: str + reference_locator: str + reference_type: str + + __all__ = ( "DependencyGraphSpdxSbomPropSbomPropCreationInfoType", + "DependencyGraphSpdxSbomPropSbomPropCreationInfoTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsPropExternalRefsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropPackagesItemsType", + "DependencyGraphSpdxSbomPropSbomPropPackagesItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsType", + "DependencyGraphSpdxSbomPropSbomPropRelationshipsItemsTypeForResponse", "DependencyGraphSpdxSbomPropSbomType", + "DependencyGraphSpdxSbomPropSbomTypeForResponse", "DependencyGraphSpdxSbomType", + "DependencyGraphSpdxSbomTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0309.py b/githubkit/versions/v2022_11_28/types/group_0309.py index 75968e9b1..d1f9dc602 100644 --- a/githubkit/versions/v2022_11_28/types/group_0309.py +++ b/githubkit/versions/v2022_11_28/types/group_0309.py @@ -20,4 +20,15 @@ """ -__all__ = ("MetadataType",) +MetadataTypeForResponse: TypeAlias = dict[str, Any] +"""metadata + +User-defined metadata to store domain-specific information limited to 8 keys +with scalar values. +""" + + +__all__ = ( + "MetadataType", + "MetadataTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0310.py b/githubkit/versions/v2022_11_28/types/group_0310.py index 563c0c960..14f6ea905 100644 --- a/githubkit/versions/v2022_11_28/types/group_0310.py +++ b/githubkit/versions/v2022_11_28/types/group_0310.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0309 import MetadataType +from .group_0309 import MetadataType, MetadataTypeForResponse class DependencyType(TypedDict): @@ -25,4 +25,17 @@ class DependencyType(TypedDict): dependencies: NotRequired[list[str]] -__all__ = ("DependencyType",) +class DependencyTypeForResponse(TypedDict): + """Dependency""" + + package_url: NotRequired[str] + metadata: NotRequired[MetadataTypeForResponse] + relationship: NotRequired[Literal["direct", "indirect"]] + scope: NotRequired[Literal["runtime", "development"]] + dependencies: NotRequired[list[str]] + + +__all__ = ( + "DependencyType", + "DependencyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0311.py b/githubkit/versions/v2022_11_28/types/group_0311.py index 1b744ef70..d60429063 100644 --- a/githubkit/versions/v2022_11_28/types/group_0311.py +++ b/githubkit/versions/v2022_11_28/types/group_0311.py @@ -12,7 +12,7 @@ from typing import Any from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0309 import MetadataType +from .group_0309 import MetadataType, MetadataTypeForResponse class ManifestType(TypedDict): @@ -24,12 +24,27 @@ class ManifestType(TypedDict): resolved: NotRequired[ManifestPropResolvedType] +class ManifestTypeForResponse(TypedDict): + """Manifest""" + + name: str + file: NotRequired[ManifestPropFileTypeForResponse] + metadata: NotRequired[MetadataTypeForResponse] + resolved: NotRequired[ManifestPropResolvedTypeForResponse] + + class ManifestPropFileType(TypedDict): """ManifestPropFile""" source_location: NotRequired[str] +class ManifestPropFileTypeForResponse(TypedDict): + """ManifestPropFile""" + + source_location: NotRequired[str] + + ManifestPropResolvedType: TypeAlias = dict[str, Any] """ManifestPropResolved @@ -37,8 +52,18 @@ class ManifestPropFileType(TypedDict): """ +ManifestPropResolvedTypeForResponse: TypeAlias = dict[str, Any] +"""ManifestPropResolved + +A collection of resolved package dependencies. +""" + + __all__ = ( "ManifestPropFileType", + "ManifestPropFileTypeForResponse", "ManifestPropResolvedType", + "ManifestPropResolvedTypeForResponse", "ManifestType", + "ManifestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0312.py b/githubkit/versions/v2022_11_28/types/group_0312.py index 227077d9d..e8dc9e9e9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0312.py +++ b/githubkit/versions/v2022_11_28/types/group_0312.py @@ -13,7 +13,7 @@ from typing import Any from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0309 import MetadataType +from .group_0309 import MetadataType, MetadataTypeForResponse class SnapshotType(TypedDict): @@ -32,6 +32,22 @@ class SnapshotType(TypedDict): scanned: datetime +class SnapshotTypeForResponse(TypedDict): + """snapshot + + Create a new snapshot of a repository's dependencies. + """ + + version: int + job: SnapshotPropJobTypeForResponse + sha: str + ref: str + detector: SnapshotPropDetectorTypeForResponse + metadata: NotRequired[MetadataTypeForResponse] + manifests: NotRequired[SnapshotPropManifestsTypeForResponse] + scanned: str + + class SnapshotPropJobType(TypedDict): """SnapshotPropJob""" @@ -40,6 +56,14 @@ class SnapshotPropJobType(TypedDict): html_url: NotRequired[str] +class SnapshotPropJobTypeForResponse(TypedDict): + """SnapshotPropJob""" + + id: str + correlator: str + html_url: NotRequired[str] + + class SnapshotPropDetectorType(TypedDict): """SnapshotPropDetector @@ -51,6 +75,17 @@ class SnapshotPropDetectorType(TypedDict): url: str +class SnapshotPropDetectorTypeForResponse(TypedDict): + """SnapshotPropDetector + + A description of the detector used. + """ + + name: str + version: str + url: str + + SnapshotPropManifestsType: TypeAlias = dict[str, Any] """SnapshotPropManifests @@ -59,9 +94,21 @@ class SnapshotPropDetectorType(TypedDict): """ +SnapshotPropManifestsTypeForResponse: TypeAlias = dict[str, Any] +"""SnapshotPropManifests + +A collection of package manifests, which are a collection of related +dependencies declared in a file or representing a logical group of dependencies. +""" + + __all__ = ( "SnapshotPropDetectorType", + "SnapshotPropDetectorTypeForResponse", "SnapshotPropJobType", + "SnapshotPropJobTypeForResponse", "SnapshotPropManifestsType", + "SnapshotPropManifestsTypeForResponse", "SnapshotType", + "SnapshotTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0313.py b/githubkit/versions/v2022_11_28/types/group_0313.py index 8e3d71848..36ce73b7d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0313.py +++ b/githubkit/versions/v2022_11_28/types/group_0313.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DeploymentStatusType(TypedDict): @@ -42,4 +42,32 @@ class DeploymentStatusType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] -__all__ = ("DeploymentStatusType",) +class DeploymentStatusTypeForResponse(TypedDict): + """Deployment Status + + The status of a deployment. + """ + + url: str + id: int + node_id: str + state: Literal[ + "error", "failure", "inactive", "pending", "success", "queued", "in_progress" + ] + creator: Union[None, SimpleUserTypeForResponse] + description: str + environment: NotRequired[str] + target_url: str + created_at: str + updated_at: str + deployment_url: str + repository_url: str + environment_url: NotRequired[str] + log_url: NotRequired[str] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + +__all__ = ( + "DeploymentStatusType", + "DeploymentStatusTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0314.py b/githubkit/versions/v2022_11_28/types/group_0314.py index 2b9241c94..54de31ad8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0314.py +++ b/githubkit/versions/v2022_11_28/types/group_0314.py @@ -23,4 +23,18 @@ class DeploymentBranchPolicySettingsType(TypedDict): custom_branch_policies: bool -__all__ = ("DeploymentBranchPolicySettingsType",) +class DeploymentBranchPolicySettingsTypeForResponse(TypedDict): + """DeploymentBranchPolicySettings + + The type of deployment branch policy for this environment. To allow all branches + to deploy, set to `null`. + """ + + protected_branches: bool + custom_branch_policies: bool + + +__all__ = ( + "DeploymentBranchPolicySettingsType", + "DeploymentBranchPolicySettingsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0315.py b/githubkit/versions/v2022_11_28/types/group_0315.py index 53962de2c..6717090e5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0315.py +++ b/githubkit/versions/v2022_11_28/types/group_0315.py @@ -13,8 +13,14 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0314 import DeploymentBranchPolicySettingsType -from .group_0316 import EnvironmentPropProtectionRulesItemsAnyof1Type +from .group_0314 import ( + DeploymentBranchPolicySettingsType, + DeploymentBranchPolicySettingsTypeForResponse, +) +from .group_0316 import ( + EnvironmentPropProtectionRulesItemsAnyof1Type, + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, +) class EnvironmentType(TypedDict): @@ -44,6 +50,33 @@ class EnvironmentType(TypedDict): ] +class EnvironmentTypeForResponse(TypedDict): + """Environment + + Details of a deployment environment + """ + + id: int + node_id: str + name: str + url: str + html_url: str + created_at: str + updated_at: str + protection_rules: NotRequired[ + list[ + Union[ + EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse, + EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse, + EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse, + ] + ] + ] + deployment_branch_policy: NotRequired[ + Union[DeploymentBranchPolicySettingsTypeForResponse, None] + ] + + class EnvironmentPropProtectionRulesItemsAnyof0Type(TypedDict): """EnvironmentPropProtectionRulesItemsAnyof0""" @@ -53,6 +86,15 @@ class EnvironmentPropProtectionRulesItemsAnyof0Type(TypedDict): wait_timer: NotRequired[int] +class EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof0""" + + id: int + node_id: str + type: str + wait_timer: NotRequired[int] + + class EnvironmentPropProtectionRulesItemsAnyof2Type(TypedDict): """EnvironmentPropProtectionRulesItemsAnyof2""" @@ -61,6 +103,14 @@ class EnvironmentPropProtectionRulesItemsAnyof2Type(TypedDict): type: str +class EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof2""" + + id: int + node_id: str + type: str + + class ReposOwnerRepoEnvironmentsGetResponse200Type(TypedDict): """ReposOwnerRepoEnvironmentsGetResponse200""" @@ -68,9 +118,20 @@ class ReposOwnerRepoEnvironmentsGetResponse200Type(TypedDict): environments: NotRequired[list[EnvironmentType]] +class ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoEnvironmentsGetResponse200""" + + total_count: NotRequired[int] + environments: NotRequired[list[EnvironmentTypeForResponse]] + + __all__ = ( "EnvironmentPropProtectionRulesItemsAnyof0Type", + "EnvironmentPropProtectionRulesItemsAnyof0TypeForResponse", "EnvironmentPropProtectionRulesItemsAnyof2Type", + "EnvironmentPropProtectionRulesItemsAnyof2TypeForResponse", "EnvironmentType", + "EnvironmentTypeForResponse", "ReposOwnerRepoEnvironmentsGetResponse200Type", + "ReposOwnerRepoEnvironmentsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0316.py b/githubkit/versions/v2022_11_28/types/group_0316.py index 94ee2364f..4beefa98b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0316.py +++ b/githubkit/versions/v2022_11_28/types/group_0316.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0317 import EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType +from .group_0317 import ( + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType, + EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse, +) class EnvironmentPropProtectionRulesItemsAnyof1Type(TypedDict): @@ -26,4 +29,19 @@ class EnvironmentPropProtectionRulesItemsAnyof1Type(TypedDict): ] -__all__ = ("EnvironmentPropProtectionRulesItemsAnyof1Type",) +class EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse(TypedDict): + """EnvironmentPropProtectionRulesItemsAnyof1""" + + id: int + node_id: str + prevent_self_review: NotRequired[bool] + type: str + reviewers: NotRequired[ + list[EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse] + ] + + +__all__ = ( + "EnvironmentPropProtectionRulesItemsAnyof1Type", + "EnvironmentPropProtectionRulesItemsAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0317.py b/githubkit/versions/v2022_11_28/types/group_0317.py index f69a13cb5..ef37ee637 100644 --- a/githubkit/versions/v2022_11_28/types/group_0317.py +++ b/githubkit/versions/v2022_11_28/types/group_0317.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType(TypedDict): @@ -23,4 +23,16 @@ class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType(TypedDict) reviewer: NotRequired[Union[SimpleUserType, TeamType]] -__all__ = ("EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType",) +class EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse( + TypedDict +): + """EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + reviewer: NotRequired[Union[SimpleUserTypeForResponse, TeamTypeForResponse]] + + +__all__ = ( + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsType", + "EnvironmentPropProtectionRulesItemsAnyof1PropReviewersItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0318.py b/githubkit/versions/v2022_11_28/types/group_0318.py index 35c7c1f2a..67cd2f438 100644 --- a/githubkit/versions/v2022_11_28/types/group_0318.py +++ b/githubkit/versions/v2022_11_28/types/group_0318.py @@ -20,4 +20,14 @@ class DeploymentBranchPolicyNamePatternWithTypeType(TypedDict): type: NotRequired[Literal["branch", "tag"]] -__all__ = ("DeploymentBranchPolicyNamePatternWithTypeType",) +class DeploymentBranchPolicyNamePatternWithTypeTypeForResponse(TypedDict): + """Deployment branch and tag policy name pattern""" + + name: str + type: NotRequired[Literal["branch", "tag"]] + + +__all__ = ( + "DeploymentBranchPolicyNamePatternWithTypeType", + "DeploymentBranchPolicyNamePatternWithTypeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0319.py b/githubkit/versions/v2022_11_28/types/group_0319.py index 784015c57..75b5ca7a8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0319.py +++ b/githubkit/versions/v2022_11_28/types/group_0319.py @@ -18,4 +18,13 @@ class DeploymentBranchPolicyNamePatternType(TypedDict): name: str -__all__ = ("DeploymentBranchPolicyNamePatternType",) +class DeploymentBranchPolicyNamePatternTypeForResponse(TypedDict): + """Deployment branch policy name pattern""" + + name: str + + +__all__ = ( + "DeploymentBranchPolicyNamePatternType", + "DeploymentBranchPolicyNamePatternTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0320.py b/githubkit/versions/v2022_11_28/types/group_0320.py index 55685e749..3ea9b15f6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0320.py +++ b/githubkit/versions/v2022_11_28/types/group_0320.py @@ -24,4 +24,19 @@ class CustomDeploymentRuleAppType(TypedDict): node_id: str -__all__ = ("CustomDeploymentRuleAppType",) +class CustomDeploymentRuleAppTypeForResponse(TypedDict): + """Custom deployment protection rule app + + A GitHub App that is providing a custom deployment protection rule. + """ + + id: int + slug: str + integration_url: str + node_id: str + + +__all__ = ( + "CustomDeploymentRuleAppType", + "CustomDeploymentRuleAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0321.py b/githubkit/versions/v2022_11_28/types/group_0321.py index 182178e4b..c5518467e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0321.py +++ b/githubkit/versions/v2022_11_28/types/group_0321.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0320 import CustomDeploymentRuleAppType +from .group_0320 import ( + CustomDeploymentRuleAppType, + CustomDeploymentRuleAppTypeForResponse, +) class DeploymentProtectionRuleType(TypedDict): @@ -26,6 +29,18 @@ class DeploymentProtectionRuleType(TypedDict): app: CustomDeploymentRuleAppType +class DeploymentProtectionRuleTypeForResponse(TypedDict): + """Deployment protection rule + + Deployment protection rule + """ + + id: int + node_id: str + enabled: bool + app: CustomDeploymentRuleAppTypeForResponse + + class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type( TypedDict ): @@ -39,7 +54,24 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetRespo custom_deployment_protection_rules: NotRequired[list[DeploymentProtectionRuleType]] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200 + + Examples: + {'$ref': '#/components/examples/deployment-protection-rules'} + """ + + total_count: NotRequired[int] + custom_deployment_protection_rules: NotRequired[ + list[DeploymentProtectionRuleTypeForResponse] + ] + + __all__ = ( "DeploymentProtectionRuleType", + "DeploymentProtectionRuleTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0322.py b/githubkit/versions/v2022_11_28/types/group_0322.py index deb8a4c9a..1c523ddac 100644 --- a/githubkit/versions/v2022_11_28/types/group_0322.py +++ b/githubkit/versions/v2022_11_28/types/group_0322.py @@ -22,4 +22,17 @@ class ShortBlobType(TypedDict): sha: str -__all__ = ("ShortBlobType",) +class ShortBlobTypeForResponse(TypedDict): + """Short Blob + + Short Blob + """ + + url: str + sha: str + + +__all__ = ( + "ShortBlobType", + "ShortBlobTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0323.py b/githubkit/versions/v2022_11_28/types/group_0323.py index 7145ff7f3..0989ffc02 100644 --- a/githubkit/versions/v2022_11_28/types/group_0323.py +++ b/githubkit/versions/v2022_11_28/types/group_0323.py @@ -28,4 +28,22 @@ class BlobType(TypedDict): highlighted_content: NotRequired[str] -__all__ = ("BlobType",) +class BlobTypeForResponse(TypedDict): + """Blob + + Blob + """ + + content: str + encoding: str + url: str + sha: str + size: Union[int, None] + node_id: str + highlighted_content: NotRequired[str] + + +__all__ = ( + "BlobType", + "BlobTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0324.py b/githubkit/versions/v2022_11_28/types/group_0324.py index cb7d784df..1cfd3649e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0324.py +++ b/githubkit/versions/v2022_11_28/types/group_0324.py @@ -32,6 +32,24 @@ class GitCommitType(TypedDict): html_url: str +class GitCommitTypeForResponse(TypedDict): + """Git Commit + + Low-level Git commit operations within a repository + """ + + sha: str + node_id: str + url: str + author: GitCommitPropAuthorTypeForResponse + committer: GitCommitPropCommitterTypeForResponse + message: str + tree: GitCommitPropTreeTypeForResponse + parents: list[GitCommitPropParentsItemsTypeForResponse] + verification: GitCommitPropVerificationTypeForResponse + html_url: str + + class GitCommitPropAuthorType(TypedDict): """GitCommitPropAuthor @@ -43,6 +61,17 @@ class GitCommitPropAuthorType(TypedDict): name: str +class GitCommitPropAuthorTypeForResponse(TypedDict): + """GitCommitPropAuthor + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class GitCommitPropCommitterType(TypedDict): """GitCommitPropCommitter @@ -54,6 +83,17 @@ class GitCommitPropCommitterType(TypedDict): name: str +class GitCommitPropCommitterTypeForResponse(TypedDict): + """GitCommitPropCommitter + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class GitCommitPropTreeType(TypedDict): """GitCommitPropTree""" @@ -61,6 +101,13 @@ class GitCommitPropTreeType(TypedDict): url: str +class GitCommitPropTreeTypeForResponse(TypedDict): + """GitCommitPropTree""" + + sha: str + url: str + + class GitCommitPropParentsItemsType(TypedDict): """GitCommitPropParentsItems""" @@ -69,6 +116,14 @@ class GitCommitPropParentsItemsType(TypedDict): html_url: str +class GitCommitPropParentsItemsTypeForResponse(TypedDict): + """GitCommitPropParentsItems""" + + sha: str + url: str + html_url: str + + class GitCommitPropVerificationType(TypedDict): """GitCommitPropVerification""" @@ -79,11 +134,27 @@ class GitCommitPropVerificationType(TypedDict): verified_at: Union[str, None] +class GitCommitPropVerificationTypeForResponse(TypedDict): + """GitCommitPropVerification""" + + verified: bool + reason: str + signature: Union[str, None] + payload: Union[str, None] + verified_at: Union[str, None] + + __all__ = ( "GitCommitPropAuthorType", + "GitCommitPropAuthorTypeForResponse", "GitCommitPropCommitterType", + "GitCommitPropCommitterTypeForResponse", "GitCommitPropParentsItemsType", + "GitCommitPropParentsItemsTypeForResponse", "GitCommitPropTreeType", + "GitCommitPropTreeTypeForResponse", "GitCommitPropVerificationType", + "GitCommitPropVerificationTypeForResponse", "GitCommitType", + "GitCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0325.py b/githubkit/versions/v2022_11_28/types/group_0325.py index 5f8d78e7c..287f452af 100644 --- a/githubkit/versions/v2022_11_28/types/group_0325.py +++ b/githubkit/versions/v2022_11_28/types/group_0325.py @@ -24,6 +24,18 @@ class GitRefType(TypedDict): object_: GitRefPropObjectType +class GitRefTypeForResponse(TypedDict): + """Git Reference + + Git references within a repository + """ + + ref: str + node_id: str + url: str + object_: GitRefPropObjectTypeForResponse + + class GitRefPropObjectType(TypedDict): """GitRefPropObject""" @@ -32,7 +44,17 @@ class GitRefPropObjectType(TypedDict): url: str +class GitRefPropObjectTypeForResponse(TypedDict): + """GitRefPropObject""" + + type: str + sha: str + url: str + + __all__ = ( "GitRefPropObjectType", + "GitRefPropObjectTypeForResponse", "GitRefType", + "GitRefTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0326.py b/githubkit/versions/v2022_11_28/types/group_0326.py index de4fdc143..0218adad8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0326.py +++ b/githubkit/versions/v2022_11_28/types/group_0326.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0254 import VerificationType +from .group_0254 import VerificationType, VerificationTypeForResponse class GitTagType(TypedDict): @@ -30,6 +30,22 @@ class GitTagType(TypedDict): verification: NotRequired[VerificationType] +class GitTagTypeForResponse(TypedDict): + """Git Tag + + Metadata for a Git tag + """ + + node_id: str + tag: str + sha: str + url: str + message: str + tagger: GitTagPropTaggerTypeForResponse + object_: GitTagPropObjectTypeForResponse + verification: NotRequired[VerificationTypeForResponse] + + class GitTagPropTaggerType(TypedDict): """GitTagPropTagger""" @@ -38,6 +54,14 @@ class GitTagPropTaggerType(TypedDict): name: str +class GitTagPropTaggerTypeForResponse(TypedDict): + """GitTagPropTagger""" + + date: str + email: str + name: str + + class GitTagPropObjectType(TypedDict): """GitTagPropObject""" @@ -46,8 +70,19 @@ class GitTagPropObjectType(TypedDict): url: str +class GitTagPropObjectTypeForResponse(TypedDict): + """GitTagPropObject""" + + sha: str + type: str + url: str + + __all__ = ( "GitTagPropObjectType", + "GitTagPropObjectTypeForResponse", "GitTagPropTaggerType", + "GitTagPropTaggerTypeForResponse", "GitTagType", + "GitTagTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0327.py b/githubkit/versions/v2022_11_28/types/group_0327.py index 6559266ff..4369e728a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0327.py +++ b/githubkit/versions/v2022_11_28/types/group_0327.py @@ -24,6 +24,18 @@ class GitTreeType(TypedDict): tree: list[GitTreePropTreeItemsType] +class GitTreeTypeForResponse(TypedDict): + """Git Tree + + The hierarchy between files in a Git repository. + """ + + sha: str + url: NotRequired[str] + truncated: bool + tree: list[GitTreePropTreeItemsTypeForResponse] + + class GitTreePropTreeItemsType(TypedDict): """GitTreePropTreeItems""" @@ -35,7 +47,20 @@ class GitTreePropTreeItemsType(TypedDict): url: NotRequired[str] +class GitTreePropTreeItemsTypeForResponse(TypedDict): + """GitTreePropTreeItems""" + + path: str + mode: str + type: str + sha: str + size: NotRequired[int] + url: NotRequired[str] + + __all__ = ( "GitTreePropTreeItemsType", + "GitTreePropTreeItemsTypeForResponse", "GitTreeType", + "GitTreeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0328.py b/githubkit/versions/v2022_11_28/types/group_0328.py index 2763aab9e..d20a17de3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0328.py +++ b/githubkit/versions/v2022_11_28/types/group_0328.py @@ -21,4 +21,15 @@ class HookResponseType(TypedDict): message: Union[str, None] -__all__ = ("HookResponseType",) +class HookResponseTypeForResponse(TypedDict): + """Hook Response""" + + code: Union[int, None] + status: Union[str, None] + message: Union[str, None] + + +__all__ = ( + "HookResponseType", + "HookResponseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0329.py b/githubkit/versions/v2022_11_28/types/group_0329.py index 74d5bd569..32aa79f1f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0329.py +++ b/githubkit/versions/v2022_11_28/types/group_0329.py @@ -12,8 +12,8 @@ from datetime import datetime from typing_extensions import NotRequired, TypedDict -from .group_0011 import WebhookConfigType -from .group_0328 import HookResponseType +from .group_0011 import WebhookConfigType, WebhookConfigTypeForResponse +from .group_0328 import HookResponseType, HookResponseTypeForResponse class HookType(TypedDict): @@ -37,4 +37,28 @@ class HookType(TypedDict): last_response: HookResponseType -__all__ = ("HookType",) +class HookTypeForResponse(TypedDict): + """Webhook + + Webhooks for repositories. + """ + + type: str + id: int + name: str + active: bool + events: list[str] + config: WebhookConfigTypeForResponse + updated_at: str + created_at: str + url: str + test_url: str + ping_url: str + deliveries_url: NotRequired[str] + last_response: HookResponseTypeForResponse + + +__all__ = ( + "HookType", + "HookTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0330.py b/githubkit/versions/v2022_11_28/types/group_0330.py index cb5cfcdb8..24f0adc71 100644 --- a/githubkit/versions/v2022_11_28/types/group_0330.py +++ b/githubkit/versions/v2022_11_28/types/group_0330.py @@ -22,4 +22,17 @@ class CheckImmutableReleasesType(TypedDict): enforced_by_owner: bool -__all__ = ("CheckImmutableReleasesType",) +class CheckImmutableReleasesTypeForResponse(TypedDict): + """Check immutable releases + + Check immutable releases + """ + + enabled: bool + enforced_by_owner: bool + + +__all__ = ( + "CheckImmutableReleasesType", + "CheckImmutableReleasesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0331.py b/githubkit/versions/v2022_11_28/types/group_0331.py index 991490339..08d2a0399 100644 --- a/githubkit/versions/v2022_11_28/types/group_0331.py +++ b/githubkit/versions/v2022_11_28/types/group_0331.py @@ -61,6 +61,54 @@ class ImportType(TypedDict): svn_root: NotRequired[str] +class ImportTypeForResponse(TypedDict): + """Import + + A repository import from an external source. + """ + + vcs: Union[str, None] + use_lfs: NotRequired[bool] + vcs_url: str + svc_root: NotRequired[str] + tfvc_project: NotRequired[str] + status: Literal[ + "auth", + "error", + "none", + "detecting", + "choose", + "auth_failed", + "importing", + "mapping", + "waiting_to_push", + "pushing", + "complete", + "setup", + "unknown", + "detection_found_multiple", + "detection_found_nothing", + "detection_needs_auth", + ] + status_text: NotRequired[Union[str, None]] + failed_step: NotRequired[Union[str, None]] + error_message: NotRequired[Union[str, None]] + import_percent: NotRequired[Union[int, None]] + commit_count: NotRequired[Union[int, None]] + push_percent: NotRequired[Union[int, None]] + has_large_files: NotRequired[bool] + large_files_size: NotRequired[int] + large_files_count: NotRequired[int] + project_choices: NotRequired[list[ImportPropProjectChoicesItemsTypeForResponse]] + message: NotRequired[str] + authors_count: NotRequired[Union[int, None]] + url: str + html_url: str + authors_url: str + repository_url: str + svn_root: NotRequired[str] + + class ImportPropProjectChoicesItemsType(TypedDict): """ImportPropProjectChoicesItems""" @@ -69,7 +117,17 @@ class ImportPropProjectChoicesItemsType(TypedDict): human_name: NotRequired[str] +class ImportPropProjectChoicesItemsTypeForResponse(TypedDict): + """ImportPropProjectChoicesItems""" + + vcs: NotRequired[str] + tfvc_project: NotRequired[str] + human_name: NotRequired[str] + + __all__ = ( "ImportPropProjectChoicesItemsType", + "ImportPropProjectChoicesItemsTypeForResponse", "ImportType", + "ImportTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0332.py b/githubkit/versions/v2022_11_28/types/group_0332.py index a760ba55a..b4a2eb302 100644 --- a/githubkit/versions/v2022_11_28/types/group_0332.py +++ b/githubkit/versions/v2022_11_28/types/group_0332.py @@ -27,4 +27,22 @@ class PorterAuthorType(TypedDict): import_url: str -__all__ = ("PorterAuthorType",) +class PorterAuthorTypeForResponse(TypedDict): + """Porter Author + + Porter Author + """ + + id: int + remote_id: str + remote_name: str + email: str + name: str + url: str + import_url: str + + +__all__ = ( + "PorterAuthorType", + "PorterAuthorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0333.py b/githubkit/versions/v2022_11_28/types/group_0333.py index ae1425148..6347f6a59 100644 --- a/githubkit/versions/v2022_11_28/types/group_0333.py +++ b/githubkit/versions/v2022_11_28/types/group_0333.py @@ -24,4 +24,19 @@ class PorterLargeFileType(TypedDict): size: int -__all__ = ("PorterLargeFileType",) +class PorterLargeFileTypeForResponse(TypedDict): + """Porter Large File + + Porter Large File + """ + + ref_name: str + path: str + oid: str + size: int + + +__all__ = ( + "PorterLargeFileType", + "PorterLargeFileTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0334.py b/githubkit/versions/v2022_11_28/types/group_0334.py index 30b36c8a3..0cfed07b6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0334.py +++ b/githubkit/versions/v2022_11_28/types/group_0334.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0045 import IssueType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class IssueEventType(TypedDict): @@ -60,6 +60,47 @@ class IssueEventType(TypedDict): performed_via_github_app: NotRequired[Union[None, IntegrationType, None]] +class IssueEventTypeForResponse(TypedDict): + """Issue Event + + Issue Event + """ + + id: int + node_id: str + url: str + actor: Union[None, SimpleUserTypeForResponse] + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + issue: NotRequired[Union[None, IssueTypeForResponse]] + label: NotRequired[IssueEventLabelTypeForResponse] + assignee: NotRequired[Union[None, SimpleUserTypeForResponse]] + assigner: NotRequired[Union[None, SimpleUserTypeForResponse]] + review_requester: NotRequired[Union[None, SimpleUserTypeForResponse]] + requested_reviewer: NotRequired[Union[None, SimpleUserTypeForResponse]] + requested_team: NotRequired[TeamTypeForResponse] + dismissed_review: NotRequired[IssueEventDismissedReviewTypeForResponse] + milestone: NotRequired[IssueEventMilestoneTypeForResponse] + project_card: NotRequired[IssueEventProjectCardTypeForResponse] + rename: NotRequired[IssueEventRenameTypeForResponse] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + lock_reason: NotRequired[Union[str, None]] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + + class IssueEventLabelType(TypedDict): """Issue Event Label @@ -70,6 +111,16 @@ class IssueEventLabelType(TypedDict): color: Union[str, None] +class IssueEventLabelTypeForResponse(TypedDict): + """Issue Event Label + + Issue Event Label + """ + + name: Union[str, None] + color: Union[str, None] + + class IssueEventDismissedReviewType(TypedDict): """Issue Event Dismissed Review""" @@ -79,6 +130,15 @@ class IssueEventDismissedReviewType(TypedDict): dismissal_commit_id: NotRequired[Union[str, None]] +class IssueEventDismissedReviewTypeForResponse(TypedDict): + """Issue Event Dismissed Review""" + + state: str + review_id: int + dismissal_message: Union[str, None] + dismissal_commit_id: NotRequired[Union[str, None]] + + class IssueEventMilestoneType(TypedDict): """Issue Event Milestone @@ -88,6 +148,15 @@ class IssueEventMilestoneType(TypedDict): title: str +class IssueEventMilestoneTypeForResponse(TypedDict): + """Issue Event Milestone + + Issue Event Milestone + """ + + title: str + + class IssueEventProjectCardType(TypedDict): """Issue Event Project Card @@ -102,6 +171,20 @@ class IssueEventProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class IssueEventProjectCardTypeForResponse(TypedDict): + """Issue Event Project Card + + Issue Event Project Card + """ + + url: str + id: int + project_url: str + project_id: int + column_name: str + previous_column_name: NotRequired[str] + + class IssueEventRenameType(TypedDict): """Issue Event Rename @@ -112,11 +195,27 @@ class IssueEventRenameType(TypedDict): to: str +class IssueEventRenameTypeForResponse(TypedDict): + """Issue Event Rename + + Issue Event Rename + """ + + from_: str + to: str + + __all__ = ( "IssueEventDismissedReviewType", + "IssueEventDismissedReviewTypeForResponse", "IssueEventLabelType", + "IssueEventLabelTypeForResponse", "IssueEventMilestoneType", + "IssueEventMilestoneTypeForResponse", "IssueEventProjectCardType", + "IssueEventProjectCardTypeForResponse", "IssueEventRenameType", + "IssueEventRenameTypeForResponse", "IssueEventType", + "IssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0335.py b/githubkit/versions/v2022_11_28/types/group_0335.py index e030b2d8c..5b9522f97 100644 --- a/githubkit/versions/v2022_11_28/types/group_0335.py +++ b/githubkit/versions/v2022_11_28/types/group_0335.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class LabeledIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class LabeledIssueEventType(TypedDict): label: LabeledIssueEventPropLabelType +class LabeledIssueEventTypeForResponse(TypedDict): + """Labeled Issue Event + + Labeled Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["labeled"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + label: LabeledIssueEventPropLabelTypeForResponse + + class LabeledIssueEventPropLabelType(TypedDict): """LabeledIssueEventPropLabel""" @@ -41,7 +59,16 @@ class LabeledIssueEventPropLabelType(TypedDict): color: str +class LabeledIssueEventPropLabelTypeForResponse(TypedDict): + """LabeledIssueEventPropLabel""" + + name: str + color: str + + __all__ = ( "LabeledIssueEventPropLabelType", + "LabeledIssueEventPropLabelTypeForResponse", "LabeledIssueEventType", + "LabeledIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0336.py b/githubkit/versions/v2022_11_28/types/group_0336.py index 94fd5f2f1..607ed755a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0336.py +++ b/githubkit/versions/v2022_11_28/types/group_0336.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class UnlabeledIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class UnlabeledIssueEventType(TypedDict): label: UnlabeledIssueEventPropLabelType +class UnlabeledIssueEventTypeForResponse(TypedDict): + """Unlabeled Issue Event + + Unlabeled Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["unlabeled"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + label: UnlabeledIssueEventPropLabelTypeForResponse + + class UnlabeledIssueEventPropLabelType(TypedDict): """UnlabeledIssueEventPropLabel""" @@ -41,7 +59,16 @@ class UnlabeledIssueEventPropLabelType(TypedDict): color: str +class UnlabeledIssueEventPropLabelTypeForResponse(TypedDict): + """UnlabeledIssueEventPropLabel""" + + name: str + color: str + + __all__ = ( "UnlabeledIssueEventPropLabelType", + "UnlabeledIssueEventPropLabelTypeForResponse", "UnlabeledIssueEventType", + "UnlabeledIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0337.py b/githubkit/versions/v2022_11_28/types/group_0337.py index 735f4766c..77fd56c49 100644 --- a/githubkit/versions/v2022_11_28/types/group_0337.py +++ b/githubkit/versions/v2022_11_28/types/group_0337.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class AssignedIssueEventType(TypedDict): @@ -35,4 +35,26 @@ class AssignedIssueEventType(TypedDict): assigner: SimpleUserType -__all__ = ("AssignedIssueEventType",) +class AssignedIssueEventTypeForResponse(TypedDict): + """Assigned Issue Event + + Assigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + assigner: SimpleUserTypeForResponse + + +__all__ = ( + "AssignedIssueEventType", + "AssignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0338.py b/githubkit/versions/v2022_11_28/types/group_0338.py index cee4c2513..9f3572b6a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0338.py +++ b/githubkit/versions/v2022_11_28/types/group_0338.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class UnassignedIssueEventType(TypedDict): @@ -35,4 +35,26 @@ class UnassignedIssueEventType(TypedDict): assigner: SimpleUserType -__all__ = ("UnassignedIssueEventType",) +class UnassignedIssueEventTypeForResponse(TypedDict): + """Unassigned Issue Event + + Unassigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + assigner: SimpleUserTypeForResponse + + +__all__ = ( + "UnassignedIssueEventType", + "UnassignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0339.py b/githubkit/versions/v2022_11_28/types/group_0339.py index 2b6b9a914..1a28663c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0339.py +++ b/githubkit/versions/v2022_11_28/types/group_0339.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class MilestonedIssueEventType(TypedDict): @@ -34,13 +34,39 @@ class MilestonedIssueEventType(TypedDict): milestone: MilestonedIssueEventPropMilestoneType +class MilestonedIssueEventTypeForResponse(TypedDict): + """Milestoned Issue Event + + Milestoned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["milestoned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + milestone: MilestonedIssueEventPropMilestoneTypeForResponse + + class MilestonedIssueEventPropMilestoneType(TypedDict): """MilestonedIssueEventPropMilestone""" title: str +class MilestonedIssueEventPropMilestoneTypeForResponse(TypedDict): + """MilestonedIssueEventPropMilestone""" + + title: str + + __all__ = ( "MilestonedIssueEventPropMilestoneType", + "MilestonedIssueEventPropMilestoneTypeForResponse", "MilestonedIssueEventType", + "MilestonedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0340.py b/githubkit/versions/v2022_11_28/types/group_0340.py index dfaf3aff4..60ccecc3f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0340.py +++ b/githubkit/versions/v2022_11_28/types/group_0340.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class DemilestonedIssueEventType(TypedDict): @@ -34,13 +34,39 @@ class DemilestonedIssueEventType(TypedDict): milestone: DemilestonedIssueEventPropMilestoneType +class DemilestonedIssueEventTypeForResponse(TypedDict): + """Demilestoned Issue Event + + Demilestoned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["demilestoned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + milestone: DemilestonedIssueEventPropMilestoneTypeForResponse + + class DemilestonedIssueEventPropMilestoneType(TypedDict): """DemilestonedIssueEventPropMilestone""" title: str +class DemilestonedIssueEventPropMilestoneTypeForResponse(TypedDict): + """DemilestonedIssueEventPropMilestone""" + + title: str + + __all__ = ( "DemilestonedIssueEventPropMilestoneType", + "DemilestonedIssueEventPropMilestoneTypeForResponse", "DemilestonedIssueEventType", + "DemilestonedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0341.py b/githubkit/versions/v2022_11_28/types/group_0341.py index 6d9cdf5e9..94b63e682 100644 --- a/githubkit/versions/v2022_11_28/types/group_0341.py +++ b/githubkit/versions/v2022_11_28/types/group_0341.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class RenamedIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class RenamedIssueEventType(TypedDict): rename: RenamedIssueEventPropRenameType +class RenamedIssueEventTypeForResponse(TypedDict): + """Renamed Issue Event + + Renamed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["renamed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + rename: RenamedIssueEventPropRenameTypeForResponse + + class RenamedIssueEventPropRenameType(TypedDict): """RenamedIssueEventPropRename""" @@ -41,7 +59,16 @@ class RenamedIssueEventPropRenameType(TypedDict): to: str +class RenamedIssueEventPropRenameTypeForResponse(TypedDict): + """RenamedIssueEventPropRename""" + + from_: str + to: str + + __all__ = ( "RenamedIssueEventPropRenameType", + "RenamedIssueEventPropRenameTypeForResponse", "RenamedIssueEventType", + "RenamedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0342.py b/githubkit/versions/v2022_11_28/types/group_0342.py index 282e48f8b..276b4774c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0342.py +++ b/githubkit/versions/v2022_11_28/types/group_0342.py @@ -12,9 +12,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class ReviewRequestedIssueEventType(TypedDict): @@ -37,4 +37,27 @@ class ReviewRequestedIssueEventType(TypedDict): requested_reviewer: NotRequired[SimpleUserType] -__all__ = ("ReviewRequestedIssueEventType",) +class ReviewRequestedIssueEventTypeForResponse(TypedDict): + """Review Requested Issue Event + + Review Requested Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_requested"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + review_requester: SimpleUserTypeForResponse + requested_team: NotRequired[TeamTypeForResponse] + requested_reviewer: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "ReviewRequestedIssueEventType", + "ReviewRequestedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0343.py b/githubkit/versions/v2022_11_28/types/group_0343.py index a722a57a7..5ff12ddcb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0343.py +++ b/githubkit/versions/v2022_11_28/types/group_0343.py @@ -12,9 +12,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class ReviewRequestRemovedIssueEventType(TypedDict): @@ -37,4 +37,27 @@ class ReviewRequestRemovedIssueEventType(TypedDict): requested_reviewer: NotRequired[SimpleUserType] -__all__ = ("ReviewRequestRemovedIssueEventType",) +class ReviewRequestRemovedIssueEventTypeForResponse(TypedDict): + """Review Request Removed Issue Event + + Review Request Removed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_request_removed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + review_requester: SimpleUserTypeForResponse + requested_team: NotRequired[TeamTypeForResponse] + requested_reviewer: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "ReviewRequestRemovedIssueEventType", + "ReviewRequestRemovedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0344.py b/githubkit/versions/v2022_11_28/types/group_0344.py index 160c5a57c..60e83087f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0344.py +++ b/githubkit/versions/v2022_11_28/types/group_0344.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class ReviewDismissedIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class ReviewDismissedIssueEventType(TypedDict): dismissed_review: ReviewDismissedIssueEventPropDismissedReviewType +class ReviewDismissedIssueEventTypeForResponse(TypedDict): + """Review Dismissed Issue Event + + Review Dismissed Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["review_dismissed"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + dismissed_review: ReviewDismissedIssueEventPropDismissedReviewTypeForResponse + + class ReviewDismissedIssueEventPropDismissedReviewType(TypedDict): """ReviewDismissedIssueEventPropDismissedReview""" @@ -43,7 +61,18 @@ class ReviewDismissedIssueEventPropDismissedReviewType(TypedDict): dismissal_commit_id: NotRequired[str] +class ReviewDismissedIssueEventPropDismissedReviewTypeForResponse(TypedDict): + """ReviewDismissedIssueEventPropDismissedReview""" + + state: str + review_id: int + dismissal_message: Union[str, None] + dismissal_commit_id: NotRequired[str] + + __all__ = ( "ReviewDismissedIssueEventPropDismissedReviewType", + "ReviewDismissedIssueEventPropDismissedReviewTypeForResponse", "ReviewDismissedIssueEventType", + "ReviewDismissedIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0345.py b/githubkit/versions/v2022_11_28/types/group_0345.py index 1c8f2b944..b64f7e558 100644 --- a/githubkit/versions/v2022_11_28/types/group_0345.py +++ b/githubkit/versions/v2022_11_28/types/group_0345.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class LockedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class LockedIssueEventType(TypedDict): lock_reason: Union[str, None] -__all__ = ("LockedIssueEventType",) +class LockedIssueEventTypeForResponse(TypedDict): + """Locked Issue Event + + Locked Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["locked"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + lock_reason: Union[str, None] + + +__all__ = ( + "LockedIssueEventType", + "LockedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0346.py b/githubkit/versions/v2022_11_28/types/group_0346.py index c1191415d..1a7ae0170 100644 --- a/githubkit/versions/v2022_11_28/types/group_0346.py +++ b/githubkit/versions/v2022_11_28/types/group_0346.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class AddedToProjectIssueEventType(TypedDict): @@ -34,6 +34,24 @@ class AddedToProjectIssueEventType(TypedDict): project_card: NotRequired[AddedToProjectIssueEventPropProjectCardType] +class AddedToProjectIssueEventTypeForResponse(TypedDict): + """Added to Project Issue Event + + Added to Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["added_to_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[AddedToProjectIssueEventPropProjectCardTypeForResponse] + + class AddedToProjectIssueEventPropProjectCardType(TypedDict): """AddedToProjectIssueEventPropProjectCard""" @@ -45,7 +63,20 @@ class AddedToProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class AddedToProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """AddedToProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "AddedToProjectIssueEventPropProjectCardType", + "AddedToProjectIssueEventPropProjectCardTypeForResponse", "AddedToProjectIssueEventType", + "AddedToProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0347.py b/githubkit/versions/v2022_11_28/types/group_0347.py index c8c8ecbcf..1e0cd3854 100644 --- a/githubkit/versions/v2022_11_28/types/group_0347.py +++ b/githubkit/versions/v2022_11_28/types/group_0347.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class MovedColumnInProjectIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class MovedColumnInProjectIssueEventType(TypedDict): project_card: NotRequired[MovedColumnInProjectIssueEventPropProjectCardType] +class MovedColumnInProjectIssueEventTypeForResponse(TypedDict): + """Moved Column in Project Issue Event + + Moved Column in Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["moved_columns_in_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[ + MovedColumnInProjectIssueEventPropProjectCardTypeForResponse + ] + + class MovedColumnInProjectIssueEventPropProjectCardType(TypedDict): """MovedColumnInProjectIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class MovedColumnInProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class MovedColumnInProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """MovedColumnInProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "MovedColumnInProjectIssueEventPropProjectCardType", + "MovedColumnInProjectIssueEventPropProjectCardTypeForResponse", "MovedColumnInProjectIssueEventType", + "MovedColumnInProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0348.py b/githubkit/versions/v2022_11_28/types/group_0348.py index 8616df3d4..d713e771b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0348.py +++ b/githubkit/versions/v2022_11_28/types/group_0348.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class RemovedFromProjectIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class RemovedFromProjectIssueEventType(TypedDict): project_card: NotRequired[RemovedFromProjectIssueEventPropProjectCardType] +class RemovedFromProjectIssueEventTypeForResponse(TypedDict): + """Removed from Project Issue Event + + Removed from Project Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["removed_from_project"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + project_card: NotRequired[ + RemovedFromProjectIssueEventPropProjectCardTypeForResponse + ] + + class RemovedFromProjectIssueEventPropProjectCardType(TypedDict): """RemovedFromProjectIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class RemovedFromProjectIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class RemovedFromProjectIssueEventPropProjectCardTypeForResponse(TypedDict): + """RemovedFromProjectIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "RemovedFromProjectIssueEventPropProjectCardType", + "RemovedFromProjectIssueEventPropProjectCardTypeForResponse", "RemovedFromProjectIssueEventType", + "RemovedFromProjectIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0349.py b/githubkit/versions/v2022_11_28/types/group_0349.py index 03ad239c9..61a3acfa7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0349.py +++ b/githubkit/versions/v2022_11_28/types/group_0349.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class ConvertedNoteToIssueIssueEventType(TypedDict): @@ -34,6 +34,26 @@ class ConvertedNoteToIssueIssueEventType(TypedDict): project_card: NotRequired[ConvertedNoteToIssueIssueEventPropProjectCardType] +class ConvertedNoteToIssueIssueEventTypeForResponse(TypedDict): + """Converted Note to Issue Issue Event + + Converted Note to Issue Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["converted_note_to_issue"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + project_card: NotRequired[ + ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse + ] + + class ConvertedNoteToIssueIssueEventPropProjectCardType(TypedDict): """ConvertedNoteToIssueIssueEventPropProjectCard""" @@ -45,7 +65,20 @@ class ConvertedNoteToIssueIssueEventPropProjectCardType(TypedDict): previous_column_name: NotRequired[str] +class ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse(TypedDict): + """ConvertedNoteToIssueIssueEventPropProjectCard""" + + id: int + url: str + project_id: int + project_url: str + column_name: str + previous_column_name: NotRequired[str] + + __all__ = ( "ConvertedNoteToIssueIssueEventPropProjectCardType", + "ConvertedNoteToIssueIssueEventPropProjectCardTypeForResponse", "ConvertedNoteToIssueIssueEventType", + "ConvertedNoteToIssueIssueEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0350.py b/githubkit/versions/v2022_11_28/types/group_0350.py index 3ed5f62d3..3145b49bd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0350.py +++ b/githubkit/versions/v2022_11_28/types/group_0350.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class TimelineCommentEventType(TypedDict): @@ -51,4 +51,40 @@ class TimelineCommentEventType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("TimelineCommentEventType",) +class TimelineCommentEventTypeForResponse(TypedDict): + """Timeline Comment Event + + Timeline Comment Event + """ + + event: Literal["commented"] + actor: SimpleUserTypeForResponse + id: int + node_id: str + url: str + body: NotRequired[str] + body_text: NotRequired[str] + body_html: NotRequired[str] + html_url: str + user: SimpleUserTypeForResponse + created_at: str + updated_at: str + issue_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "TimelineCommentEventType", + "TimelineCommentEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0351.py b/githubkit/versions/v2022_11_28/types/group_0351.py index 2b6d64468..651ffb015 100644 --- a/githubkit/versions/v2022_11_28/types/group_0351.py +++ b/githubkit/versions/v2022_11_28/types/group_0351.py @@ -13,8 +13,11 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0352 import TimelineCrossReferencedEventPropSourceType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0352 import ( + TimelineCrossReferencedEventPropSourceType, + TimelineCrossReferencedEventPropSourceTypeForResponse, +) class TimelineCrossReferencedEventType(TypedDict): @@ -30,4 +33,20 @@ class TimelineCrossReferencedEventType(TypedDict): source: TimelineCrossReferencedEventPropSourceType -__all__ = ("TimelineCrossReferencedEventType",) +class TimelineCrossReferencedEventTypeForResponse(TypedDict): + """Timeline Cross Referenced Event + + Timeline Cross Referenced Event + """ + + event: Literal["cross-referenced"] + actor: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + source: TimelineCrossReferencedEventPropSourceTypeForResponse + + +__all__ = ( + "TimelineCrossReferencedEventType", + "TimelineCrossReferencedEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0352.py b/githubkit/versions/v2022_11_28/types/group_0352.py index cfca225a5..7e38446ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0352.py +++ b/githubkit/versions/v2022_11_28/types/group_0352.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0045 import IssueType +from .group_0045 import IssueType, IssueTypeForResponse class TimelineCrossReferencedEventPropSourceType(TypedDict): @@ -21,4 +21,14 @@ class TimelineCrossReferencedEventPropSourceType(TypedDict): issue: NotRequired[IssueType] -__all__ = ("TimelineCrossReferencedEventPropSourceType",) +class TimelineCrossReferencedEventPropSourceTypeForResponse(TypedDict): + """TimelineCrossReferencedEventPropSource""" + + type: NotRequired[str] + issue: NotRequired[IssueTypeForResponse] + + +__all__ = ( + "TimelineCrossReferencedEventPropSourceType", + "TimelineCrossReferencedEventPropSourceTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0353.py b/githubkit/versions/v2022_11_28/types/group_0353.py index 11c95229f..f3b550a71 100644 --- a/githubkit/versions/v2022_11_28/types/group_0353.py +++ b/githubkit/versions/v2022_11_28/types/group_0353.py @@ -33,6 +33,25 @@ class TimelineCommittedEventType(TypedDict): html_url: str +class TimelineCommittedEventTypeForResponse(TypedDict): + """Timeline Committed Event + + Timeline Committed Event + """ + + event: NotRequired[Literal["committed"]] + sha: str + node_id: str + url: str + author: TimelineCommittedEventPropAuthorTypeForResponse + committer: TimelineCommittedEventPropCommitterTypeForResponse + message: str + tree: TimelineCommittedEventPropTreeTypeForResponse + parents: list[TimelineCommittedEventPropParentsItemsTypeForResponse] + verification: TimelineCommittedEventPropVerificationTypeForResponse + html_url: str + + class TimelineCommittedEventPropAuthorType(TypedDict): """TimelineCommittedEventPropAuthor @@ -44,6 +63,17 @@ class TimelineCommittedEventPropAuthorType(TypedDict): name: str +class TimelineCommittedEventPropAuthorTypeForResponse(TypedDict): + """TimelineCommittedEventPropAuthor + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class TimelineCommittedEventPropCommitterType(TypedDict): """TimelineCommittedEventPropCommitter @@ -55,6 +85,17 @@ class TimelineCommittedEventPropCommitterType(TypedDict): name: str +class TimelineCommittedEventPropCommitterTypeForResponse(TypedDict): + """TimelineCommittedEventPropCommitter + + Identifying information for the git-user + """ + + date: str + email: str + name: str + + class TimelineCommittedEventPropTreeType(TypedDict): """TimelineCommittedEventPropTree""" @@ -62,6 +103,13 @@ class TimelineCommittedEventPropTreeType(TypedDict): url: str +class TimelineCommittedEventPropTreeTypeForResponse(TypedDict): + """TimelineCommittedEventPropTree""" + + sha: str + url: str + + class TimelineCommittedEventPropParentsItemsType(TypedDict): """TimelineCommittedEventPropParentsItems""" @@ -70,6 +118,14 @@ class TimelineCommittedEventPropParentsItemsType(TypedDict): html_url: str +class TimelineCommittedEventPropParentsItemsTypeForResponse(TypedDict): + """TimelineCommittedEventPropParentsItems""" + + sha: str + url: str + html_url: str + + class TimelineCommittedEventPropVerificationType(TypedDict): """TimelineCommittedEventPropVerification""" @@ -80,11 +136,27 @@ class TimelineCommittedEventPropVerificationType(TypedDict): verified_at: Union[str, None] +class TimelineCommittedEventPropVerificationTypeForResponse(TypedDict): + """TimelineCommittedEventPropVerification""" + + verified: bool + reason: str + signature: Union[str, None] + payload: Union[str, None] + verified_at: Union[str, None] + + __all__ = ( "TimelineCommittedEventPropAuthorType", + "TimelineCommittedEventPropAuthorTypeForResponse", "TimelineCommittedEventPropCommitterType", + "TimelineCommittedEventPropCommitterTypeForResponse", "TimelineCommittedEventPropParentsItemsType", + "TimelineCommittedEventPropParentsItemsTypeForResponse", "TimelineCommittedEventPropTreeType", + "TimelineCommittedEventPropTreeTypeForResponse", "TimelineCommittedEventPropVerificationType", + "TimelineCommittedEventPropVerificationTypeForResponse", "TimelineCommittedEventType", + "TimelineCommittedEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0354.py b/githubkit/versions/v2022_11_28/types/group_0354.py index 55111041f..cc142ae3f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0354.py +++ b/githubkit/versions/v2022_11_28/types/group_0354.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class TimelineReviewedEventType(TypedDict): @@ -48,6 +48,38 @@ class TimelineReviewedEventType(TypedDict): ] +class TimelineReviewedEventTypeForResponse(TypedDict): + """Timeline Reviewed Event + + Timeline Reviewed Event + """ + + event: Literal["reviewed"] + id: int + node_id: str + user: SimpleUserTypeForResponse + body: Union[str, None] + state: str + html_url: str + pull_request_url: str + links: TimelineReviewedEventPropLinksTypeForResponse + submitted_at: NotRequired[str] + updated_at: NotRequired[Union[str, None]] + commit_id: str + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + class TimelineReviewedEventPropLinksType(TypedDict): """TimelineReviewedEventPropLinks""" @@ -55,21 +87,44 @@ class TimelineReviewedEventPropLinksType(TypedDict): pull_request: TimelineReviewedEventPropLinksPropPullRequestType +class TimelineReviewedEventPropLinksTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinks""" + + html: TimelineReviewedEventPropLinksPropHtmlTypeForResponse + pull_request: TimelineReviewedEventPropLinksPropPullRequestTypeForResponse + + class TimelineReviewedEventPropLinksPropHtmlType(TypedDict): """TimelineReviewedEventPropLinksPropHtml""" href: str +class TimelineReviewedEventPropLinksPropHtmlTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinksPropHtml""" + + href: str + + class TimelineReviewedEventPropLinksPropPullRequestType(TypedDict): """TimelineReviewedEventPropLinksPropPullRequest""" href: str +class TimelineReviewedEventPropLinksPropPullRequestTypeForResponse(TypedDict): + """TimelineReviewedEventPropLinksPropPullRequest""" + + href: str + + __all__ = ( "TimelineReviewedEventPropLinksPropHtmlType", + "TimelineReviewedEventPropLinksPropHtmlTypeForResponse", "TimelineReviewedEventPropLinksPropPullRequestType", + "TimelineReviewedEventPropLinksPropPullRequestTypeForResponse", "TimelineReviewedEventPropLinksType", + "TimelineReviewedEventPropLinksTypeForResponse", "TimelineReviewedEventType", + "TimelineReviewedEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0355.py b/githubkit/versions/v2022_11_28/types/group_0355.py index bc4afd735..6317fd0be 100644 --- a/githubkit/versions/v2022_11_28/types/group_0355.py +++ b/githubkit/versions/v2022_11_28/types/group_0355.py @@ -13,8 +13,8 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse class PullRequestReviewCommentType(TypedDict): @@ -64,6 +64,53 @@ class PullRequestReviewCommentType(TypedDict): body_text: NotRequired[str] +class PullRequestReviewCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + Pull Request Review Comments are comments on a portion of the Pull Request's + diff. + """ + + url: str + pull_request_review_id: Union[int, None] + id: int + node_id: str + diff_hunk: str + path: str + position: NotRequired[int] + original_position: NotRequired[int] + commit_id: str + original_commit_id: str + in_reply_to_id: NotRequired[int] + user: SimpleUserTypeForResponse + body: str + created_at: str + updated_at: str + html_url: str + pull_request_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + links: PullRequestReviewCommentPropLinksTypeForResponse + start_line: NotRequired[Union[int, None]] + original_start_line: NotRequired[Union[int, None]] + start_side: NotRequired[Union[None, Literal["LEFT", "RIGHT"]]] + line: NotRequired[int] + original_line: NotRequired[int] + side: NotRequired[Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + reactions: NotRequired[ReactionRollupTypeForResponse] + body_html: NotRequired[str] + body_text: NotRequired[str] + + class PullRequestReviewCommentPropLinksType(TypedDict): """PullRequestReviewCommentPropLinks""" @@ -72,24 +119,50 @@ class PullRequestReviewCommentPropLinksType(TypedDict): pull_request: PullRequestReviewCommentPropLinksPropPullRequestType +class PullRequestReviewCommentPropLinksTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinks""" + + self_: PullRequestReviewCommentPropLinksPropSelfTypeForResponse + html: PullRequestReviewCommentPropLinksPropHtmlTypeForResponse + pull_request: PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse + + class PullRequestReviewCommentPropLinksPropSelfType(TypedDict): """PullRequestReviewCommentPropLinksPropSelf""" href: str +class PullRequestReviewCommentPropLinksPropSelfTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropSelf""" + + href: str + + class PullRequestReviewCommentPropLinksPropHtmlType(TypedDict): """PullRequestReviewCommentPropLinksPropHtml""" href: str +class PullRequestReviewCommentPropLinksPropHtmlTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropHtml""" + + href: str + + class PullRequestReviewCommentPropLinksPropPullRequestType(TypedDict): """PullRequestReviewCommentPropLinksPropPullRequest""" href: str +class PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse(TypedDict): + """PullRequestReviewCommentPropLinksPropPullRequest""" + + href: str + + class TimelineLineCommentedEventType(TypedDict): """Timeline Line Commented Event @@ -101,11 +174,28 @@ class TimelineLineCommentedEventType(TypedDict): comments: NotRequired[list[PullRequestReviewCommentType]] +class TimelineLineCommentedEventTypeForResponse(TypedDict): + """Timeline Line Commented Event + + Timeline Line Commented Event + """ + + event: NotRequired[Literal["line_commented"]] + node_id: NotRequired[str] + comments: NotRequired[list[PullRequestReviewCommentTypeForResponse]] + + __all__ = ( "PullRequestReviewCommentPropLinksPropHtmlType", + "PullRequestReviewCommentPropLinksPropHtmlTypeForResponse", "PullRequestReviewCommentPropLinksPropPullRequestType", + "PullRequestReviewCommentPropLinksPropPullRequestTypeForResponse", "PullRequestReviewCommentPropLinksPropSelfType", + "PullRequestReviewCommentPropLinksPropSelfTypeForResponse", "PullRequestReviewCommentPropLinksType", + "PullRequestReviewCommentPropLinksTypeForResponse", "PullRequestReviewCommentType", + "PullRequestReviewCommentTypeForResponse", "TimelineLineCommentedEventType", + "TimelineLineCommentedEventTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0356.py b/githubkit/versions/v2022_11_28/types/group_0356.py index 3baa7987b..cdf3fbdf4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0356.py +++ b/githubkit/versions/v2022_11_28/types/group_0356.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class TimelineAssignedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class TimelineAssignedIssueEventType(TypedDict): assignee: SimpleUserType -__all__ = ("TimelineAssignedIssueEventType",) +class TimelineAssignedIssueEventTypeForResponse(TypedDict): + """Timeline Assigned Issue Event + + Timeline Assigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["assigned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + + +__all__ = ( + "TimelineAssignedIssueEventType", + "TimelineAssignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0357.py b/githubkit/versions/v2022_11_28/types/group_0357.py index 7d37c3f07..d35d38d15 100644 --- a/githubkit/versions/v2022_11_28/types/group_0357.py +++ b/githubkit/versions/v2022_11_28/types/group_0357.py @@ -12,8 +12,8 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class TimelineUnassignedIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class TimelineUnassignedIssueEventType(TypedDict): assignee: SimpleUserType -__all__ = ("TimelineUnassignedIssueEventType",) +class TimelineUnassignedIssueEventTypeForResponse(TypedDict): + """Timeline Unassigned Issue Event + + Timeline Unassigned Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: Literal["unassigned"] + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + assignee: SimpleUserTypeForResponse + + +__all__ = ( + "TimelineUnassignedIssueEventType", + "TimelineUnassignedIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0358.py b/githubkit/versions/v2022_11_28/types/group_0358.py index 4978c8454..8cd6db3e2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0358.py +++ b/githubkit/versions/v2022_11_28/types/group_0358.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse class StateChangeIssueEventType(TypedDict): @@ -34,4 +34,25 @@ class StateChangeIssueEventType(TypedDict): state_reason: NotRequired[Union[str, None]] -__all__ = ("StateChangeIssueEventType",) +class StateChangeIssueEventTypeForResponse(TypedDict): + """State Change Issue Event + + State Change Issue Event + """ + + id: int + node_id: str + url: str + actor: SimpleUserTypeForResponse + event: str + commit_id: Union[str, None] + commit_url: Union[str, None] + created_at: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + state_reason: NotRequired[Union[str, None]] + + +__all__ = ( + "StateChangeIssueEventType", + "StateChangeIssueEventTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0359.py b/githubkit/versions/v2022_11_28/types/group_0359.py index 0060c4ef9..14e2d98ac 100644 --- a/githubkit/versions/v2022_11_28/types/group_0359.py +++ b/githubkit/versions/v2022_11_28/types/group_0359.py @@ -32,4 +32,25 @@ class DeployKeyType(TypedDict): enabled: NotRequired[bool] -__all__ = ("DeployKeyType",) +class DeployKeyTypeForResponse(TypedDict): + """Deploy Key + + An SSH key granting access to a single repository. + """ + + id: int + key: str + url: str + title: str + verified: bool + created_at: str + read_only: bool + added_by: NotRequired[Union[str, None]] + last_used: NotRequired[Union[str, None]] + enabled: NotRequired[bool] + + +__all__ = ( + "DeployKeyType", + "DeployKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0360.py b/githubkit/versions/v2022_11_28/types/group_0360.py index bc5f5cd8b..8bb9406cd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0360.py +++ b/githubkit/versions/v2022_11_28/types/group_0360.py @@ -19,4 +19,14 @@ """ -__all__ = ("LanguageType",) +LanguageTypeForResponse: TypeAlias = dict[str, Any] +"""Language + +Language +""" + + +__all__ = ( + "LanguageType", + "LanguageTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0361.py b/githubkit/versions/v2022_11_28/types/group_0361.py index 2913097c9..dbf3f388b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0361.py +++ b/githubkit/versions/v2022_11_28/types/group_0361.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0019 import LicenseSimpleType +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class LicenseContentType(TypedDict): @@ -36,6 +36,27 @@ class LicenseContentType(TypedDict): license_: Union[None, LicenseSimpleType] +class LicenseContentTypeForResponse(TypedDict): + """License Content + + License Content + """ + + name: str + path: str + sha: str + size: int + url: str + html_url: Union[str, None] + git_url: Union[str, None] + download_url: Union[str, None] + type: str + content: str + encoding: str + links: LicenseContentPropLinksTypeForResponse + license_: Union[None, LicenseSimpleTypeForResponse] + + class LicenseContentPropLinksType(TypedDict): """LicenseContentPropLinks""" @@ -44,7 +65,17 @@ class LicenseContentPropLinksType(TypedDict): self_: str +class LicenseContentPropLinksTypeForResponse(TypedDict): + """LicenseContentPropLinks""" + + git: Union[str, None] + html: Union[str, None] + self_: str + + __all__ = ( "LicenseContentPropLinksType", + "LicenseContentPropLinksTypeForResponse", "LicenseContentType", + "LicenseContentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0362.py b/githubkit/versions/v2022_11_28/types/group_0362.py index ef4f49c12..3bdeef2e8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0362.py +++ b/githubkit/versions/v2022_11_28/types/group_0362.py @@ -24,4 +24,18 @@ class MergedUpstreamType(TypedDict): base_branch: NotRequired[str] -__all__ = ("MergedUpstreamType",) +class MergedUpstreamTypeForResponse(TypedDict): + """Merged upstream + + Results of a successful merge upstream request + """ + + message: NotRequired[str] + merge_type: NotRequired[Literal["merge", "fast-forward", "none"]] + base_branch: NotRequired[str] + + +__all__ = ( + "MergedUpstreamType", + "MergedUpstreamTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0363.py b/githubkit/versions/v2022_11_28/types/group_0363.py index 121c3bad8..0597c81e0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0363.py +++ b/githubkit/versions/v2022_11_28/types/group_0363.py @@ -36,6 +36,28 @@ class PageType(TypedDict): https_enforced: NotRequired[bool] +class PageTypeForResponse(TypedDict): + """GitHub Pages + + The configuration for GitHub Pages for a repository. + """ + + url: str + status: Union[None, Literal["built", "building", "errored"]] + cname: Union[str, None] + protected_domain_state: NotRequired[ + Union[None, Literal["pending", "verified", "unverified"]] + ] + pending_domain_unverified_at: NotRequired[Union[str, None]] + custom_404: bool + html_url: NotRequired[str] + build_type: NotRequired[Union[None, Literal["legacy", "workflow"]]] + source: NotRequired[PagesSourceHashTypeForResponse] + public: bool + https_certificate: NotRequired[PagesHttpsCertificateTypeForResponse] + https_enforced: NotRequired[bool] + + class PagesSourceHashType(TypedDict): """Pages Source Hash""" @@ -43,6 +65,13 @@ class PagesSourceHashType(TypedDict): path: str +class PagesSourceHashTypeForResponse(TypedDict): + """Pages Source Hash""" + + branch: str + path: str + + class PagesHttpsCertificateType(TypedDict): """Pages Https Certificate""" @@ -65,8 +94,33 @@ class PagesHttpsCertificateType(TypedDict): expires_at: NotRequired[date] +class PagesHttpsCertificateTypeForResponse(TypedDict): + """Pages Https Certificate""" + + state: Literal[ + "new", + "authorization_created", + "authorization_pending", + "authorized", + "authorization_revoked", + "issued", + "uploaded", + "approved", + "errored", + "bad_authz", + "destroy_pending", + "dns_changed", + ] + description: str + domains: list[str] + expires_at: NotRequired[str] + + __all__ = ( "PageType", + "PageTypeForResponse", "PagesHttpsCertificateType", + "PagesHttpsCertificateTypeForResponse", "PagesSourceHashType", + "PagesSourceHashTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0364.py b/githubkit/versions/v2022_11_28/types/group_0364.py index 83899a24e..26ea75b67 100644 --- a/githubkit/versions/v2022_11_28/types/group_0364.py +++ b/githubkit/versions/v2022_11_28/types/group_0364.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PageBuildType(TypedDict): @@ -32,13 +32,37 @@ class PageBuildType(TypedDict): updated_at: datetime +class PageBuildTypeForResponse(TypedDict): + """Page Build + + Page Build + """ + + url: str + status: str + error: PageBuildPropErrorTypeForResponse + pusher: Union[None, SimpleUserTypeForResponse] + commit: str + duration: int + created_at: str + updated_at: str + + class PageBuildPropErrorType(TypedDict): """PageBuildPropError""" message: Union[str, None] +class PageBuildPropErrorTypeForResponse(TypedDict): + """PageBuildPropError""" + + message: Union[str, None] + + __all__ = ( "PageBuildPropErrorType", + "PageBuildPropErrorTypeForResponse", "PageBuildType", + "PageBuildTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0365.py b/githubkit/versions/v2022_11_28/types/group_0365.py index d7001e4a1..ecb029506 100644 --- a/githubkit/versions/v2022_11_28/types/group_0365.py +++ b/githubkit/versions/v2022_11_28/types/group_0365.py @@ -22,4 +22,17 @@ class PageBuildStatusType(TypedDict): status: str -__all__ = ("PageBuildStatusType",) +class PageBuildStatusTypeForResponse(TypedDict): + """Page Build Status + + Page Build Status + """ + + url: str + status: str + + +__all__ = ( + "PageBuildStatusType", + "PageBuildStatusTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0366.py b/githubkit/versions/v2022_11_28/types/group_0366.py index d3e0b1eca..cb128734b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0366.py +++ b/githubkit/versions/v2022_11_28/types/group_0366.py @@ -25,4 +25,19 @@ class PageDeploymentType(TypedDict): preview_url: NotRequired[str] -__all__ = ("PageDeploymentType",) +class PageDeploymentTypeForResponse(TypedDict): + """GitHub Pages + + The GitHub Pages deployment status. + """ + + id: Union[int, str] + status_url: str + page_url: str + preview_url: NotRequired[str] + + +__all__ = ( + "PageDeploymentType", + "PageDeploymentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0367.py b/githubkit/versions/v2022_11_28/types/group_0367.py index 2bf2ddbc1..838dae067 100644 --- a/githubkit/versions/v2022_11_28/types/group_0367.py +++ b/githubkit/versions/v2022_11_28/types/group_0367.py @@ -33,4 +33,27 @@ class PagesDeploymentStatusType(TypedDict): ] -__all__ = ("PagesDeploymentStatusType",) +class PagesDeploymentStatusTypeForResponse(TypedDict): + """GitHub Pages deployment status""" + + status: NotRequired[ + Literal[ + "deployment_in_progress", + "syncing_files", + "finished_file_sync", + "updating_pages", + "purging_cdn", + "deployment_cancelled", + "deployment_failed", + "deployment_content_failed", + "deployment_attempt_error", + "deployment_lost", + "succeed", + ] + ] + + +__all__ = ( + "PagesDeploymentStatusType", + "PagesDeploymentStatusTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0368.py b/githubkit/versions/v2022_11_28/types/group_0368.py index 5546e6ba9..2b300413d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0368.py +++ b/githubkit/versions/v2022_11_28/types/group_0368.py @@ -23,6 +23,16 @@ class PagesHealthCheckType(TypedDict): alt_domain: NotRequired[Union[PagesHealthCheckPropAltDomainType, None]] +class PagesHealthCheckTypeForResponse(TypedDict): + """Pages Health Check Status + + Pages Health Check Status + """ + + domain: NotRequired[PagesHealthCheckPropDomainTypeForResponse] + alt_domain: NotRequired[Union[PagesHealthCheckPropAltDomainTypeForResponse, None]] + + class PagesHealthCheckPropDomainType(TypedDict): """PagesHealthCheckPropDomain""" @@ -56,6 +66,39 @@ class PagesHealthCheckPropDomainType(TypedDict): caa_error: NotRequired[Union[str, None]] +class PagesHealthCheckPropDomainTypeForResponse(TypedDict): + """PagesHealthCheckPropDomain""" + + host: NotRequired[str] + uri: NotRequired[str] + nameservers: NotRequired[str] + dns_resolves: NotRequired[bool] + is_proxied: NotRequired[Union[bool, None]] + is_cloudflare_ip: NotRequired[Union[bool, None]] + is_fastly_ip: NotRequired[Union[bool, None]] + is_old_ip_address: NotRequired[Union[bool, None]] + is_a_record: NotRequired[Union[bool, None]] + has_cname_record: NotRequired[Union[bool, None]] + has_mx_records_present: NotRequired[Union[bool, None]] + is_valid_domain: NotRequired[bool] + is_apex_domain: NotRequired[bool] + should_be_a_record: NotRequired[Union[bool, None]] + is_cname_to_github_user_domain: NotRequired[Union[bool, None]] + is_cname_to_pages_dot_github_dot_com: NotRequired[Union[bool, None]] + is_cname_to_fastly: NotRequired[Union[bool, None]] + is_pointed_to_github_pages_ip: NotRequired[Union[bool, None]] + is_non_github_pages_ip_present: NotRequired[Union[bool, None]] + is_pages_domain: NotRequired[bool] + is_served_by_pages: NotRequired[Union[bool, None]] + is_valid: NotRequired[bool] + reason: NotRequired[Union[str, None]] + responds_to_https: NotRequired[bool] + enforces_https: NotRequired[bool] + https_error: NotRequired[Union[str, None]] + is_https_eligible: NotRequired[Union[bool, None]] + caa_error: NotRequired[Union[str, None]] + + class PagesHealthCheckPropAltDomainType(TypedDict): """PagesHealthCheckPropAltDomain""" @@ -89,8 +132,44 @@ class PagesHealthCheckPropAltDomainType(TypedDict): caa_error: NotRequired[Union[str, None]] +class PagesHealthCheckPropAltDomainTypeForResponse(TypedDict): + """PagesHealthCheckPropAltDomain""" + + host: NotRequired[str] + uri: NotRequired[str] + nameservers: NotRequired[str] + dns_resolves: NotRequired[bool] + is_proxied: NotRequired[Union[bool, None]] + is_cloudflare_ip: NotRequired[Union[bool, None]] + is_fastly_ip: NotRequired[Union[bool, None]] + is_old_ip_address: NotRequired[Union[bool, None]] + is_a_record: NotRequired[Union[bool, None]] + has_cname_record: NotRequired[Union[bool, None]] + has_mx_records_present: NotRequired[Union[bool, None]] + is_valid_domain: NotRequired[bool] + is_apex_domain: NotRequired[bool] + should_be_a_record: NotRequired[Union[bool, None]] + is_cname_to_github_user_domain: NotRequired[Union[bool, None]] + is_cname_to_pages_dot_github_dot_com: NotRequired[Union[bool, None]] + is_cname_to_fastly: NotRequired[Union[bool, None]] + is_pointed_to_github_pages_ip: NotRequired[Union[bool, None]] + is_non_github_pages_ip_present: NotRequired[Union[bool, None]] + is_pages_domain: NotRequired[bool] + is_served_by_pages: NotRequired[Union[bool, None]] + is_valid: NotRequired[bool] + reason: NotRequired[Union[str, None]] + responds_to_https: NotRequired[bool] + enforces_https: NotRequired[bool] + https_error: NotRequired[Union[str, None]] + is_https_eligible: NotRequired[Union[bool, None]] + caa_error: NotRequired[Union[str, None]] + + __all__ = ( "PagesHealthCheckPropAltDomainType", + "PagesHealthCheckPropAltDomainTypeForResponse", "PagesHealthCheckPropDomainType", + "PagesHealthCheckPropDomainTypeForResponse", "PagesHealthCheckType", + "PagesHealthCheckTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0369.py b/githubkit/versions/v2022_11_28/types/group_0369.py index 5e2864583..0f8e14425 100644 --- a/githubkit/versions/v2022_11_28/types/group_0369.py +++ b/githubkit/versions/v2022_11_28/types/group_0369.py @@ -13,13 +13,21 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0040 import MilestoneType -from .group_0094 import TeamSimpleType -from .group_0132 import AutoMergeType -from .group_0370 import PullRequestPropLabelsItemsType -from .group_0371 import PullRequestPropBaseType, PullRequestPropHeadType -from .group_0372 import PullRequestPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse +from .group_0132 import AutoMergeType, AutoMergeTypeForResponse +from .group_0370 import ( + PullRequestPropLabelsItemsType, + PullRequestPropLabelsItemsTypeForResponse, +) +from .group_0371 import ( + PullRequestPropBaseType, + PullRequestPropBaseTypeForResponse, + PullRequestPropHeadType, + PullRequestPropHeadTypeForResponse, +) +from .group_0372 import PullRequestPropLinksType, PullRequestPropLinksTypeForResponse class PullRequestType(TypedDict): @@ -90,4 +98,75 @@ class PullRequestType(TypedDict): changed_files: int -__all__ = ("PullRequestType",) +class PullRequestTypeForResponse(TypedDict): + """Pull Request + + Pull requests let you tell others about changes you've pushed to a repository on + GitHub. Once a pull request is sent, interested parties can review the set of + changes, discuss potential modifications, and even push follow-up commits if + necessary. + """ + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: Literal["open", "closed"] + locked: bool + title: str + user: SimpleUserTypeForResponse + body: Union[str, None] + labels: list[PullRequestPropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamSimpleTypeForResponse], None]] + head: PullRequestPropHeadTypeForResponse + base: PullRequestPropBaseTypeForResponse + links: PullRequestPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + merged: bool + mergeable: Union[bool, None] + rebaseable: NotRequired[Union[bool, None]] + mergeable_state: str + merged_by: Union[None, SimpleUserTypeForResponse] + comments: int + review_comments: int + maintainer_can_modify: bool + commits: int + additions: int + deletions: int + changed_files: int + + +__all__ = ( + "PullRequestType", + "PullRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0370.py b/githubkit/versions/v2022_11_28/types/group_0370.py index 8c969ec82..1c8276385 100644 --- a/githubkit/versions/v2022_11_28/types/group_0370.py +++ b/githubkit/versions/v2022_11_28/types/group_0370.py @@ -25,4 +25,19 @@ class PullRequestPropLabelsItemsType(TypedDict): default: bool -__all__ = ("PullRequestPropLabelsItemsType",) +class PullRequestPropLabelsItemsTypeForResponse(TypedDict): + """PullRequestPropLabelsItems""" + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + +__all__ = ( + "PullRequestPropLabelsItemsType", + "PullRequestPropLabelsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0371.py b/githubkit/versions/v2022_11_28/types/group_0371.py index cd3535f15..a550dd849 100644 --- a/githubkit/versions/v2022_11_28/types/group_0371.py +++ b/githubkit/versions/v2022_11_28/types/group_0371.py @@ -12,8 +12,8 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse class PullRequestPropHeadType(TypedDict): @@ -26,6 +26,16 @@ class PullRequestPropHeadType(TypedDict): user: Union[None, SimpleUserType] +class PullRequestPropHeadTypeForResponse(TypedDict): + """PullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[None, RepositoryTypeForResponse] + sha: str + user: Union[None, SimpleUserTypeForResponse] + + class PullRequestPropBaseType(TypedDict): """PullRequestPropBase""" @@ -36,7 +46,19 @@ class PullRequestPropBaseType(TypedDict): user: SimpleUserType +class PullRequestPropBaseTypeForResponse(TypedDict): + """PullRequestPropBase""" + + label: str + ref: str + repo: RepositoryTypeForResponse + sha: str + user: SimpleUserTypeForResponse + + __all__ = ( "PullRequestPropBaseType", + "PullRequestPropBaseTypeForResponse", "PullRequestPropHeadType", + "PullRequestPropHeadTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0372.py b/githubkit/versions/v2022_11_28/types/group_0372.py index 2efa70b97..634e7d8cb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0372.py +++ b/githubkit/versions/v2022_11_28/types/group_0372.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0131 import LinkType +from .group_0131 import LinkType, LinkTypeForResponse class PullRequestPropLinksType(TypedDict): @@ -27,4 +27,20 @@ class PullRequestPropLinksType(TypedDict): self_: LinkType -__all__ = ("PullRequestPropLinksType",) +class PullRequestPropLinksTypeForResponse(TypedDict): + """PullRequestPropLinks""" + + comments: LinkTypeForResponse + commits: LinkTypeForResponse + statuses: LinkTypeForResponse + html: LinkTypeForResponse + issue: LinkTypeForResponse + review_comments: LinkTypeForResponse + review_comment: LinkTypeForResponse + self_: LinkTypeForResponse + + +__all__ = ( + "PullRequestPropLinksType", + "PullRequestPropLinksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0373.py b/githubkit/versions/v2022_11_28/types/group_0373.py index 211278b38..a5b59ccff 100644 --- a/githubkit/versions/v2022_11_28/types/group_0373.py +++ b/githubkit/versions/v2022_11_28/types/group_0373.py @@ -23,4 +23,18 @@ class PullRequestMergeResultType(TypedDict): message: str -__all__ = ("PullRequestMergeResultType",) +class PullRequestMergeResultTypeForResponse(TypedDict): + """Pull Request Merge Result + + Pull Request Merge Result + """ + + sha: str + merged: bool + message: str + + +__all__ = ( + "PullRequestMergeResultType", + "PullRequestMergeResultTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0374.py b/githubkit/versions/v2022_11_28/types/group_0374.py index 3e0ed76ba..53f58d238 100644 --- a/githubkit/versions/v2022_11_28/types/group_0374.py +++ b/githubkit/versions/v2022_11_28/types/group_0374.py @@ -11,8 +11,8 @@ from typing_extensions import TypedDict -from .group_0003 import SimpleUserType -from .group_0095 import TeamType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0095 import TeamType, TeamTypeForResponse class PullRequestReviewRequestType(TypedDict): @@ -25,4 +25,17 @@ class PullRequestReviewRequestType(TypedDict): teams: list[TeamType] -__all__ = ("PullRequestReviewRequestType",) +class PullRequestReviewRequestTypeForResponse(TypedDict): + """Pull Request Review Request + + Pull Request Review Request + """ + + users: list[SimpleUserTypeForResponse] + teams: list[TeamTypeForResponse] + + +__all__ = ( + "PullRequestReviewRequestType", + "PullRequestReviewRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0375.py b/githubkit/versions/v2022_11_28/types/group_0375.py index d7cb39fb2..d7e583d90 100644 --- a/githubkit/versions/v2022_11_28/types/group_0375.py +++ b/githubkit/versions/v2022_11_28/types/group_0375.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PullRequestReviewType(TypedDict): @@ -46,6 +46,36 @@ class PullRequestReviewType(TypedDict): ] +class PullRequestReviewTypeForResponse(TypedDict): + """Pull Request Review + + Pull Request Reviews are reviews on pull requests. + """ + + id: int + node_id: str + user: Union[None, SimpleUserTypeForResponse] + body: str + state: str + html_url: str + pull_request_url: str + links: PullRequestReviewPropLinksTypeForResponse + submitted_at: NotRequired[str] + commit_id: Union[str, None] + body_html: NotRequired[str] + body_text: NotRequired[str] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + + class PullRequestReviewPropLinksType(TypedDict): """PullRequestReviewPropLinks""" @@ -53,21 +83,44 @@ class PullRequestReviewPropLinksType(TypedDict): pull_request: PullRequestReviewPropLinksPropPullRequestType +class PullRequestReviewPropLinksTypeForResponse(TypedDict): + """PullRequestReviewPropLinks""" + + html: PullRequestReviewPropLinksPropHtmlTypeForResponse + pull_request: PullRequestReviewPropLinksPropPullRequestTypeForResponse + + class PullRequestReviewPropLinksPropHtmlType(TypedDict): """PullRequestReviewPropLinksPropHtml""" href: str +class PullRequestReviewPropLinksPropHtmlTypeForResponse(TypedDict): + """PullRequestReviewPropLinksPropHtml""" + + href: str + + class PullRequestReviewPropLinksPropPullRequestType(TypedDict): """PullRequestReviewPropLinksPropPullRequest""" href: str +class PullRequestReviewPropLinksPropPullRequestTypeForResponse(TypedDict): + """PullRequestReviewPropLinksPropPullRequest""" + + href: str + + __all__ = ( "PullRequestReviewPropLinksPropHtmlType", + "PullRequestReviewPropLinksPropHtmlTypeForResponse", "PullRequestReviewPropLinksPropPullRequestType", + "PullRequestReviewPropLinksPropPullRequestTypeForResponse", "PullRequestReviewPropLinksType", + "PullRequestReviewPropLinksTypeForResponse", "PullRequestReviewType", + "PullRequestReviewTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0376.py b/githubkit/versions/v2022_11_28/types/group_0376.py index 424c0ec8e..e7cd418f1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0376.py +++ b/githubkit/versions/v2022_11_28/types/group_0376.py @@ -13,9 +13,12 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType -from .group_0377 import ReviewCommentPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0377 import ( + ReviewCommentPropLinksType, + ReviewCommentPropLinksTypeForResponse, +) class ReviewCommentType(TypedDict): @@ -64,4 +67,53 @@ class ReviewCommentType(TypedDict): subject_type: NotRequired[Literal["line", "file"]] -__all__ = ("ReviewCommentType",) +class ReviewCommentTypeForResponse(TypedDict): + """Legacy Review Comment + + Legacy Review Comment + """ + + url: str + pull_request_review_id: Union[int, None] + id: int + node_id: str + diff_hunk: str + path: str + position: Union[int, None] + original_position: int + commit_id: str + original_commit_id: str + in_reply_to_id: NotRequired[int] + user: Union[None, SimpleUserTypeForResponse] + body: str + created_at: str + updated_at: str + html_url: str + pull_request_url: str + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + links: ReviewCommentPropLinksTypeForResponse + body_text: NotRequired[str] + body_html: NotRequired[str] + reactions: NotRequired[ReactionRollupTypeForResponse] + side: NotRequired[Literal["LEFT", "RIGHT"]] + start_side: NotRequired[Union[None, Literal["LEFT", "RIGHT"]]] + line: NotRequired[int] + original_line: NotRequired[int] + start_line: NotRequired[Union[int, None]] + original_start_line: NotRequired[Union[int, None]] + subject_type: NotRequired[Literal["line", "file"]] + + +__all__ = ( + "ReviewCommentType", + "ReviewCommentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0377.py b/githubkit/versions/v2022_11_28/types/group_0377.py index 6a24ae669..d1e6781d1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0377.py +++ b/githubkit/versions/v2022_11_28/types/group_0377.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0131 import LinkType +from .group_0131 import LinkType, LinkTypeForResponse class ReviewCommentPropLinksType(TypedDict): @@ -22,4 +22,15 @@ class ReviewCommentPropLinksType(TypedDict): pull_request: LinkType -__all__ = ("ReviewCommentPropLinksType",) +class ReviewCommentPropLinksTypeForResponse(TypedDict): + """ReviewCommentPropLinks""" + + self_: LinkTypeForResponse + html: LinkTypeForResponse + pull_request: LinkTypeForResponse + + +__all__ = ( + "ReviewCommentPropLinksType", + "ReviewCommentPropLinksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0378.py b/githubkit/versions/v2022_11_28/types/group_0378.py index ed9a33bfd..197e0c557 100644 --- a/githubkit/versions/v2022_11_28/types/group_0378.py +++ b/githubkit/versions/v2022_11_28/types/group_0378.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReleaseAssetType(TypedDict): @@ -38,4 +38,29 @@ class ReleaseAssetType(TypedDict): uploader: Union[None, SimpleUserType] -__all__ = ("ReleaseAssetType",) +class ReleaseAssetTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + url: str + browser_download_url: str + id: int + node_id: str + name: str + label: Union[str, None] + state: Literal["uploaded", "open"] + content_type: str + size: int + digest: Union[str, None] + download_count: int + created_at: str + updated_at: str + uploader: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "ReleaseAssetType", + "ReleaseAssetTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0379.py b/githubkit/versions/v2022_11_28/types/group_0379.py index 5f53e22e8..b9762e823 100644 --- a/githubkit/versions/v2022_11_28/types/group_0379.py +++ b/githubkit/versions/v2022_11_28/types/group_0379.py @@ -13,9 +13,9 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0042 import ReactionRollupType -from .group_0378 import ReleaseAssetType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0378 import ReleaseAssetType, ReleaseAssetTypeForResponse class ReleaseType(TypedDict): @@ -51,4 +51,40 @@ class ReleaseType(TypedDict): reactions: NotRequired[ReactionRollupType] -__all__ = ("ReleaseType",) +class ReleaseTypeForResponse(TypedDict): + """Release + + A release. + """ + + url: str + html_url: str + assets_url: str + upload_url: str + tarball_url: Union[str, None] + zipball_url: Union[str, None] + id: int + node_id: str + tag_name: str + target_commitish: str + name: Union[str, None] + body: NotRequired[Union[str, None]] + draft: bool + prerelease: bool + immutable: NotRequired[bool] + created_at: str + published_at: Union[str, None] + updated_at: NotRequired[Union[str, None]] + author: SimpleUserTypeForResponse + assets: list[ReleaseAssetTypeForResponse] + body_html: NotRequired[Union[str, None]] + body_text: NotRequired[Union[str, None]] + mentions_count: NotRequired[int] + discussion_url: NotRequired[str] + reactions: NotRequired[ReactionRollupTypeForResponse] + + +__all__ = ( + "ReleaseType", + "ReleaseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0380.py b/githubkit/versions/v2022_11_28/types/group_0380.py index 8cbfbc707..459ec0df1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0380.py +++ b/githubkit/versions/v2022_11_28/types/group_0380.py @@ -22,4 +22,17 @@ class ReleaseNotesContentType(TypedDict): body: str -__all__ = ("ReleaseNotesContentType",) +class ReleaseNotesContentTypeForResponse(TypedDict): + """Generated Release Notes Content + + Generated name and body describing a release + """ + + name: str + body: str + + +__all__ = ( + "ReleaseNotesContentType", + "ReleaseNotesContentTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0381.py b/githubkit/versions/v2022_11_28/types/group_0381.py index a7e58a24b..b92beceb4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0381.py +++ b/githubkit/versions/v2022_11_28/types/group_0381.py @@ -25,4 +25,19 @@ class RepositoryRuleRulesetInfoType(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleRulesetInfoType",) +class RepositoryRuleRulesetInfoTypeForResponse(TypedDict): + """repository ruleset data for rule + + User-defined metadata to store domain-specific information limited to 8 keys + with scalar values. + """ + + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleRulesetInfoType", + "RepositoryRuleRulesetInfoTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0382.py b/githubkit/versions/v2022_11_28/types/group_0382.py index 0f564cd7d..88c1c5062 100644 --- a/githubkit/versions/v2022_11_28/types/group_0382.py +++ b/githubkit/versions/v2022_11_28/types/group_0382.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof0Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof0Type",) +class RepositoryRuleDetailedOneof0TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof0""" + + type: Literal["creation"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof0Type", + "RepositoryRuleDetailedOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0383.py b/githubkit/versions/v2022_11_28/types/group_0383.py index eff9699b0..b4bfc9840 100644 --- a/githubkit/versions/v2022_11_28/types/group_0383.py +++ b/githubkit/versions/v2022_11_28/types/group_0383.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0159 import RepositoryRuleUpdatePropParametersType +from .group_0159 import ( + RepositoryRuleUpdatePropParametersType, + RepositoryRuleUpdatePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof1Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof1Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof1Type",) +class RepositoryRuleDetailedOneof1TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof1""" + + type: Literal["update"] + parameters: NotRequired[RepositoryRuleUpdatePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof1Type", + "RepositoryRuleDetailedOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0384.py b/githubkit/versions/v2022_11_28/types/group_0384.py index 273dd677c..72b43d87a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0384.py +++ b/githubkit/versions/v2022_11_28/types/group_0384.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof2Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof2Type",) +class RepositoryRuleDetailedOneof2TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof2""" + + type: Literal["deletion"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof2Type", + "RepositoryRuleDetailedOneof2TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0385.py b/githubkit/versions/v2022_11_28/types/group_0385.py index 8886199f4..c20ed6308 100644 --- a/githubkit/versions/v2022_11_28/types/group_0385.py +++ b/githubkit/versions/v2022_11_28/types/group_0385.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof3Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof3Type",) +class RepositoryRuleDetailedOneof3TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof3""" + + type: Literal["required_linear_history"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof3Type", + "RepositoryRuleDetailedOneof3TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0386.py b/githubkit/versions/v2022_11_28/types/group_0386.py index 7d46f0362..c900ef8e5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0386.py +++ b/githubkit/versions/v2022_11_28/types/group_0386.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0162 import RepositoryRuleMergeQueuePropParametersType +from .group_0162 import ( + RepositoryRuleMergeQueuePropParametersType, + RepositoryRuleMergeQueuePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof4Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof4Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof4Type",) +class RepositoryRuleDetailedOneof4TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof4""" + + type: Literal["merge_queue"] + parameters: NotRequired[RepositoryRuleMergeQueuePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof4Type", + "RepositoryRuleDetailedOneof4TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0387.py b/githubkit/versions/v2022_11_28/types/group_0387.py index 5af75c34e..455a63b68 100644 --- a/githubkit/versions/v2022_11_28/types/group_0387.py +++ b/githubkit/versions/v2022_11_28/types/group_0387.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0164 import RepositoryRuleRequiredDeploymentsPropParametersType +from .group_0164 import ( + RepositoryRuleRequiredDeploymentsPropParametersType, + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof5Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof5Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof5Type",) +class RepositoryRuleDetailedOneof5TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof5""" + + type: Literal["required_deployments"] + parameters: NotRequired[ + RepositoryRuleRequiredDeploymentsPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof5Type", + "RepositoryRuleDetailedOneof5TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0388.py b/githubkit/versions/v2022_11_28/types/group_0388.py index c30b2990f..3048133b0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0388.py +++ b/githubkit/versions/v2022_11_28/types/group_0388.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof6Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof6Type",) +class RepositoryRuleDetailedOneof6TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof6""" + + type: Literal["required_signatures"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof6Type", + "RepositoryRuleDetailedOneof6TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0389.py b/githubkit/versions/v2022_11_28/types/group_0389.py index 7806b57b6..f4ac045e9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0389.py +++ b/githubkit/versions/v2022_11_28/types/group_0389.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0167 import RepositoryRulePullRequestPropParametersType +from .group_0167 import ( + RepositoryRulePullRequestPropParametersType, + RepositoryRulePullRequestPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof7Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof7Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof7Type",) +class RepositoryRuleDetailedOneof7TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof7""" + + type: Literal["pull_request"] + parameters: NotRequired[RepositoryRulePullRequestPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof7Type", + "RepositoryRuleDetailedOneof7TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0390.py b/githubkit/versions/v2022_11_28/types/group_0390.py index 3b3fe7ca1..48f6e3728 100644 --- a/githubkit/versions/v2022_11_28/types/group_0390.py +++ b/githubkit/versions/v2022_11_28/types/group_0390.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0169 import RepositoryRuleRequiredStatusChecksPropParametersType +from .group_0169 import ( + RepositoryRuleRequiredStatusChecksPropParametersType, + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof8Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof8Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof8Type",) +class RepositoryRuleDetailedOneof8TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof8""" + + type: Literal["required_status_checks"] + parameters: NotRequired[ + RepositoryRuleRequiredStatusChecksPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof8Type", + "RepositoryRuleDetailedOneof8TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0391.py b/githubkit/versions/v2022_11_28/types/group_0391.py index d5be14715..baf932676 100644 --- a/githubkit/versions/v2022_11_28/types/group_0391.py +++ b/githubkit/versions/v2022_11_28/types/group_0391.py @@ -22,4 +22,16 @@ class RepositoryRuleDetailedOneof9Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof9Type",) +class RepositoryRuleDetailedOneof9TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof9""" + + type: Literal["non_fast_forward"] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof9Type", + "RepositoryRuleDetailedOneof9TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0392.py b/githubkit/versions/v2022_11_28/types/group_0392.py index 968030dab..5ea0fa60c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0392.py +++ b/githubkit/versions/v2022_11_28/types/group_0392.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0171 import RepositoryRuleCommitMessagePatternPropParametersType +from .group_0171 import ( + RepositoryRuleCommitMessagePatternPropParametersType, + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof10Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof10Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof10Type",) +class RepositoryRuleDetailedOneof10TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof10""" + + type: Literal["commit_message_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitMessagePatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof10Type", + "RepositoryRuleDetailedOneof10TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0393.py b/githubkit/versions/v2022_11_28/types/group_0393.py index 849575769..b0fca606c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0393.py +++ b/githubkit/versions/v2022_11_28/types/group_0393.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0173 import RepositoryRuleCommitAuthorEmailPatternPropParametersType +from .group_0173 import ( + RepositoryRuleCommitAuthorEmailPatternPropParametersType, + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof11Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof11Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof11Type",) +class RepositoryRuleDetailedOneof11TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof11""" + + type: Literal["commit_author_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitAuthorEmailPatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof11Type", + "RepositoryRuleDetailedOneof11TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0394.py b/githubkit/versions/v2022_11_28/types/group_0394.py index 66fc933a1..b8491f09d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0394.py +++ b/githubkit/versions/v2022_11_28/types/group_0394.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0175 import RepositoryRuleCommitterEmailPatternPropParametersType +from .group_0175 import ( + RepositoryRuleCommitterEmailPatternPropParametersType, + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof12Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof12Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof12Type",) +class RepositoryRuleDetailedOneof12TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof12""" + + type: Literal["committer_email_pattern"] + parameters: NotRequired[ + RepositoryRuleCommitterEmailPatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof12Type", + "RepositoryRuleDetailedOneof12TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0395.py b/githubkit/versions/v2022_11_28/types/group_0395.py index 5082817b2..1cb8f8a4f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0395.py +++ b/githubkit/versions/v2022_11_28/types/group_0395.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0177 import RepositoryRuleBranchNamePatternPropParametersType +from .group_0177 import ( + RepositoryRuleBranchNamePatternPropParametersType, + RepositoryRuleBranchNamePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof13Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof13Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof13Type",) +class RepositoryRuleDetailedOneof13TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof13""" + + type: Literal["branch_name_pattern"] + parameters: NotRequired[ + RepositoryRuleBranchNamePatternPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof13Type", + "RepositoryRuleDetailedOneof13TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0396.py b/githubkit/versions/v2022_11_28/types/group_0396.py index cfb9c40ce..bfdb1efb6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0396.py +++ b/githubkit/versions/v2022_11_28/types/group_0396.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0179 import RepositoryRuleTagNamePatternPropParametersType +from .group_0179 import ( + RepositoryRuleTagNamePatternPropParametersType, + RepositoryRuleTagNamePatternPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof14Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof14Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof14Type",) +class RepositoryRuleDetailedOneof14TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof14""" + + type: Literal["tag_name_pattern"] + parameters: NotRequired[RepositoryRuleTagNamePatternPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof14Type", + "RepositoryRuleDetailedOneof14TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0397.py b/githubkit/versions/v2022_11_28/types/group_0397.py index 983b73690..99f297f78 100644 --- a/githubkit/versions/v2022_11_28/types/group_0397.py +++ b/githubkit/versions/v2022_11_28/types/group_0397.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0181 import RepositoryRuleFilePathRestrictionPropParametersType +from .group_0181 import ( + RepositoryRuleFilePathRestrictionPropParametersType, + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof15Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof15Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof15Type",) +class RepositoryRuleDetailedOneof15TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof15""" + + type: Literal["file_path_restriction"] + parameters: NotRequired[ + RepositoryRuleFilePathRestrictionPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof15Type", + "RepositoryRuleDetailedOneof15TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0398.py b/githubkit/versions/v2022_11_28/types/group_0398.py index 9beb1b85e..d9ed9cc6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0398.py +++ b/githubkit/versions/v2022_11_28/types/group_0398.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0183 import RepositoryRuleMaxFilePathLengthPropParametersType +from .group_0183 import ( + RepositoryRuleMaxFilePathLengthPropParametersType, + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof16Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof16Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof16Type",) +class RepositoryRuleDetailedOneof16TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof16""" + + type: Literal["max_file_path_length"] + parameters: NotRequired[ + RepositoryRuleMaxFilePathLengthPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof16Type", + "RepositoryRuleDetailedOneof16TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0399.py b/githubkit/versions/v2022_11_28/types/group_0399.py index c5a339603..c6d143de2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0399.py +++ b/githubkit/versions/v2022_11_28/types/group_0399.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0185 import RepositoryRuleFileExtensionRestrictionPropParametersType +from .group_0185 import ( + RepositoryRuleFileExtensionRestrictionPropParametersType, + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof17Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof17Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof17Type",) +class RepositoryRuleDetailedOneof17TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof17""" + + type: Literal["file_extension_restriction"] + parameters: NotRequired[ + RepositoryRuleFileExtensionRestrictionPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof17Type", + "RepositoryRuleDetailedOneof17TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0400.py b/githubkit/versions/v2022_11_28/types/group_0400.py index 5923bed57..f8a114916 100644 --- a/githubkit/versions/v2022_11_28/types/group_0400.py +++ b/githubkit/versions/v2022_11_28/types/group_0400.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0187 import RepositoryRuleMaxFileSizePropParametersType +from .group_0187 import ( + RepositoryRuleMaxFileSizePropParametersType, + RepositoryRuleMaxFileSizePropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof18Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof18Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof18Type",) +class RepositoryRuleDetailedOneof18TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof18""" + + type: Literal["max_file_size"] + parameters: NotRequired[RepositoryRuleMaxFileSizePropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof18Type", + "RepositoryRuleDetailedOneof18TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0401.py b/githubkit/versions/v2022_11_28/types/group_0401.py index 18533c9f4..3e853d91a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0401.py +++ b/githubkit/versions/v2022_11_28/types/group_0401.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0190 import RepositoryRuleWorkflowsPropParametersType +from .group_0190 import ( + RepositoryRuleWorkflowsPropParametersType, + RepositoryRuleWorkflowsPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof19Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof19Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof19Type",) +class RepositoryRuleDetailedOneof19TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof19""" + + type: Literal["workflows"] + parameters: NotRequired[RepositoryRuleWorkflowsPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof19Type", + "RepositoryRuleDetailedOneof19TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0402.py b/githubkit/versions/v2022_11_28/types/group_0402.py index fd8b459fd..2edc3f9ba 100644 --- a/githubkit/versions/v2022_11_28/types/group_0402.py +++ b/githubkit/versions/v2022_11_28/types/group_0402.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0192 import RepositoryRuleCodeScanningPropParametersType +from .group_0192 import ( + RepositoryRuleCodeScanningPropParametersType, + RepositoryRuleCodeScanningPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof20Type(TypedDict): @@ -25,4 +28,17 @@ class RepositoryRuleDetailedOneof20Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof20Type",) +class RepositoryRuleDetailedOneof20TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof20""" + + type: Literal["code_scanning"] + parameters: NotRequired[RepositoryRuleCodeScanningPropParametersTypeForResponse] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof20Type", + "RepositoryRuleDetailedOneof20TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0403.py b/githubkit/versions/v2022_11_28/types/group_0403.py index c21567600..2852c658a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0403.py +++ b/githubkit/versions/v2022_11_28/types/group_0403.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0194 import RepositoryRuleCopilotCodeReviewPropParametersType +from .group_0194 import ( + RepositoryRuleCopilotCodeReviewPropParametersType, + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse, +) class RepositoryRuleDetailedOneof21Type(TypedDict): @@ -25,4 +28,19 @@ class RepositoryRuleDetailedOneof21Type(TypedDict): ruleset_id: NotRequired[int] -__all__ = ("RepositoryRuleDetailedOneof21Type",) +class RepositoryRuleDetailedOneof21TypeForResponse(TypedDict): + """RepositoryRuleDetailedOneof21""" + + type: Literal["copilot_code_review"] + parameters: NotRequired[ + RepositoryRuleCopilotCodeReviewPropParametersTypeForResponse + ] + ruleset_source_type: NotRequired[Literal["Repository", "Organization"]] + ruleset_source: NotRequired[str] + ruleset_id: NotRequired[int] + + +__all__ = ( + "RepositoryRuleDetailedOneof21Type", + "RepositoryRuleDetailedOneof21TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0404.py b/githubkit/versions/v2022_11_28/types/group_0404.py index 0b31c634c..888fdddd2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0404.py +++ b/githubkit/versions/v2022_11_28/types/group_0404.py @@ -13,25 +13,38 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse from .group_0203 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0204 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0205 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -87,4 +100,61 @@ class SecretScanningAlertType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("SecretScanningAlertType",) +class SecretScanningAlertTypeForResponse(TypedDict): + """SecretScanningAlert""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + state: NotRequired[Literal["open", "resolved"]] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + resolution_comment: NotRequired[Union[str, None]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + secret: NotRequired[str] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + is_base64_encoded: NotRequired[Union[bool, None]] + first_location_detected: NotRequired[ + Union[ + None, + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + has_more_locations: NotRequired[bool] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "SecretScanningAlertType", + "SecretScanningAlertTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0405.py b/githubkit/versions/v2022_11_28/types/group_0405.py index 0fcd301bb..90f32266b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0405.py +++ b/githubkit/versions/v2022_11_28/types/group_0405.py @@ -14,22 +14,35 @@ from .group_0203 import ( SecretScanningLocationCommitType, + SecretScanningLocationCommitTypeForResponse, SecretScanningLocationDiscussionCommentType, + SecretScanningLocationDiscussionCommentTypeForResponse, SecretScanningLocationDiscussionTitleType, + SecretScanningLocationDiscussionTitleTypeForResponse, SecretScanningLocationIssueBodyType, + SecretScanningLocationIssueBodyTypeForResponse, SecretScanningLocationPullRequestBodyType, + SecretScanningLocationPullRequestBodyTypeForResponse, SecretScanningLocationPullRequestReviewType, + SecretScanningLocationPullRequestReviewTypeForResponse, SecretScanningLocationWikiCommitType, + SecretScanningLocationWikiCommitTypeForResponse, ) from .group_0204 import ( SecretScanningLocationIssueCommentType, + SecretScanningLocationIssueCommentTypeForResponse, SecretScanningLocationIssueTitleType, + SecretScanningLocationIssueTitleTypeForResponse, SecretScanningLocationPullRequestReviewCommentType, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, SecretScanningLocationPullRequestTitleType, + SecretScanningLocationPullRequestTitleTypeForResponse, ) from .group_0205 import ( SecretScanningLocationDiscussionBodyType, + SecretScanningLocationDiscussionBodyTypeForResponse, SecretScanningLocationPullRequestCommentType, + SecretScanningLocationPullRequestCommentTypeForResponse, ) @@ -72,4 +85,46 @@ class SecretScanningLocationType(TypedDict): ] -__all__ = ("SecretScanningLocationType",) +class SecretScanningLocationTypeForResponse(TypedDict): + """SecretScanningLocation""" + + type: NotRequired[ + Literal[ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment", + ] + ] + details: NotRequired[ + Union[ + SecretScanningLocationCommitTypeForResponse, + SecretScanningLocationWikiCommitTypeForResponse, + SecretScanningLocationIssueTitleTypeForResponse, + SecretScanningLocationIssueBodyTypeForResponse, + SecretScanningLocationIssueCommentTypeForResponse, + SecretScanningLocationDiscussionTitleTypeForResponse, + SecretScanningLocationDiscussionBodyTypeForResponse, + SecretScanningLocationDiscussionCommentTypeForResponse, + SecretScanningLocationPullRequestTitleTypeForResponse, + SecretScanningLocationPullRequestBodyTypeForResponse, + SecretScanningLocationPullRequestCommentTypeForResponse, + SecretScanningLocationPullRequestReviewTypeForResponse, + SecretScanningLocationPullRequestReviewCommentTypeForResponse, + ] + ] + + +__all__ = ( + "SecretScanningLocationType", + "SecretScanningLocationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0406.py b/githubkit/versions/v2022_11_28/types/group_0406.py index a7d6503ef..ca1f467f0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0406.py +++ b/githubkit/versions/v2022_11_28/types/group_0406.py @@ -22,4 +22,15 @@ class SecretScanningPushProtectionBypassType(TypedDict): token_type: NotRequired[str] -__all__ = ("SecretScanningPushProtectionBypassType",) +class SecretScanningPushProtectionBypassTypeForResponse(TypedDict): + """SecretScanningPushProtectionBypass""" + + reason: NotRequired[Literal["false_positive", "used_in_tests", "will_fix_later"]] + expire_at: NotRequired[Union[str, None]] + token_type: NotRequired[str] + + +__all__ = ( + "SecretScanningPushProtectionBypassType", + "SecretScanningPushProtectionBypassTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0407.py b/githubkit/versions/v2022_11_28/types/group_0407.py index c28f498af..7d631dec7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0407.py +++ b/githubkit/versions/v2022_11_28/types/group_0407.py @@ -25,6 +25,19 @@ class SecretScanningScanHistoryType(TypedDict): ] +class SecretScanningScanHistoryTypeForResponse(TypedDict): + """SecretScanningScanHistory""" + + incremental_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + pattern_update_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + backfill_scans: NotRequired[list[SecretScanningScanTypeForResponse]] + custom_pattern_backfill_scans: NotRequired[ + list[ + SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse + ] + ] + + class SecretScanningScanType(TypedDict): """SecretScanningScan @@ -37,6 +50,18 @@ class SecretScanningScanType(TypedDict): started_at: NotRequired[Union[datetime, None]] +class SecretScanningScanTypeForResponse(TypedDict): + """SecretScanningScan + + Information on a single scan performed by secret scanning on the repository + """ + + type: NotRequired[str] + status: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + started_at: NotRequired[Union[str, None]] + + class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType(TypedDict): """SecretScanningScanHistoryPropCustomPatternBackfillScansItems""" @@ -48,8 +73,24 @@ class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType(TypedDict pattern_scope: NotRequired[str] +class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse( + TypedDict +): + """SecretScanningScanHistoryPropCustomPatternBackfillScansItems""" + + type: NotRequired[str] + status: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + started_at: NotRequired[Union[str, None]] + pattern_name: NotRequired[str] + pattern_scope: NotRequired[str] + + __all__ = ( "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsType", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsTypeForResponse", "SecretScanningScanHistoryType", + "SecretScanningScanHistoryTypeForResponse", "SecretScanningScanType", + "SecretScanningScanTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0408.py b/githubkit/versions/v2022_11_28/types/group_0408.py index 3fadc1994..8da657391 100644 --- a/githubkit/versions/v2022_11_28/types/group_0408.py +++ b/githubkit/versions/v2022_11_28/types/group_0408.py @@ -19,4 +19,16 @@ class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type(Typ pattern_scope: NotRequired[str] -__all__ = ("SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type",) +class SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse( + TypedDict +): + """SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1""" + + pattern_name: NotRequired[str] + pattern_scope: NotRequired[str] + + +__all__ = ( + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1Type", + "SecretScanningScanHistoryPropCustomPatternBackfillScansItemsAllof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0409.py b/githubkit/versions/v2022_11_28/types/group_0409.py index 3bd956c2f..f580e50f3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0409.py +++ b/githubkit/versions/v2022_11_28/types/group_0409.py @@ -29,6 +29,24 @@ class RepositoryAdvisoryCreateType(TypedDict): start_private_fork: NotRequired[bool] +class RepositoryAdvisoryCreateTypeForResponse(TypedDict): + """RepositoryAdvisoryCreate""" + + summary: str + description: str + cve_id: NotRequired[Union[str, None]] + vulnerabilities: list[ + RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse + ] + cwe_ids: NotRequired[Union[list[str], None]] + credits_: NotRequired[ + Union[list[RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse], None] + ] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + start_private_fork: NotRequired[bool] + + class RepositoryAdvisoryCreatePropCreditsItemsType(TypedDict): """RepositoryAdvisoryCreatePropCreditsItems""" @@ -47,6 +65,24 @@ class RepositoryAdvisoryCreatePropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryCreatePropCreditsItems""" + + login: str + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + class RepositoryAdvisoryCreatePropVulnerabilitiesItemsType(TypedDict): """RepositoryAdvisoryCreatePropVulnerabilitiesItems""" @@ -56,6 +92,15 @@ class RepositoryAdvisoryCreatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryCreatePropVulnerabilitiesItems""" + + package: RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType(TypedDict): """RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackage @@ -80,9 +125,39 @@ class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType(TypedDict) name: NotRequired[Union[str, None]] +class RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "RepositoryAdvisoryCreatePropCreditsItemsType", + "RepositoryAdvisoryCreatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", "RepositoryAdvisoryCreatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryCreatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryCreateType", + "RepositoryAdvisoryCreateTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0410.py b/githubkit/versions/v2022_11_28/types/group_0410.py index 23f5f5af0..210bf2982 100644 --- a/githubkit/versions/v2022_11_28/types/group_0410.py +++ b/githubkit/versions/v2022_11_28/types/group_0410.py @@ -27,6 +27,25 @@ class PrivateVulnerabilityReportCreateType(TypedDict): start_private_fork: NotRequired[bool] +class PrivateVulnerabilityReportCreateTypeForResponse(TypedDict): + """PrivateVulnerabilityReportCreate""" + + summary: str + description: str + vulnerabilities: NotRequired[ + Union[ + list[ + PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse + ], + None, + ] + ] + cwe_ids: NotRequired[Union[list[str], None]] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + start_private_fork: NotRequired[bool] + + class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType(TypedDict): """PrivateVulnerabilityReportCreatePropVulnerabilitiesItems""" @@ -36,6 +55,17 @@ class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse( + TypedDict +): + """PrivateVulnerabilityReportCreatePropVulnerabilitiesItems""" + + package: PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType( TypedDict ): @@ -62,8 +92,37 @@ class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType( name: NotRequired[Union[str, None]] +class PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsPropPackageTypeForResponse", "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsType", + "PrivateVulnerabilityReportCreatePropVulnerabilitiesItemsTypeForResponse", "PrivateVulnerabilityReportCreateType", + "PrivateVulnerabilityReportCreateTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0411.py b/githubkit/versions/v2022_11_28/types/group_0411.py index 689cbef7f..74f4b1bfc 100644 --- a/githubkit/versions/v2022_11_28/types/group_0411.py +++ b/githubkit/versions/v2022_11_28/types/group_0411.py @@ -33,6 +33,26 @@ class RepositoryAdvisoryUpdateType(TypedDict): collaborating_teams: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryUpdateTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdate""" + + summary: NotRequired[str] + description: NotRequired[str] + cve_id: NotRequired[Union[str, None]] + vulnerabilities: NotRequired[ + list[RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse] + ] + cwe_ids: NotRequired[Union[list[str], None]] + credits_: NotRequired[ + Union[list[RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse], None] + ] + severity: NotRequired[Union[None, Literal["critical", "high", "medium", "low"]]] + cvss_vector_string: NotRequired[Union[str, None]] + state: NotRequired[Literal["published", "closed", "draft"]] + collaborating_users: NotRequired[Union[list[str], None]] + collaborating_teams: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryUpdatePropCreditsItemsType(TypedDict): """RepositoryAdvisoryUpdatePropCreditsItems""" @@ -51,6 +71,24 @@ class RepositoryAdvisoryUpdatePropCreditsItemsType(TypedDict): ] +class RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdatePropCreditsItems""" + + login: str + type: Literal[ + "analyst", + "finder", + "reporter", + "coordinator", + "remediation_developer", + "remediation_reviewer", + "remediation_verifier", + "tool", + "sponsor", + "other", + ] + + class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType(TypedDict): """RepositoryAdvisoryUpdatePropVulnerabilitiesItems""" @@ -60,6 +98,15 @@ class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType(TypedDict): vulnerable_functions: NotRequired[Union[list[str], None]] +class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse(TypedDict): + """RepositoryAdvisoryUpdatePropVulnerabilitiesItems""" + + package: RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse + vulnerable_version_range: NotRequired[Union[str, None]] + patched_versions: NotRequired[Union[str, None]] + vulnerable_functions: NotRequired[Union[list[str], None]] + + class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType(TypedDict): """RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackage @@ -84,9 +131,39 @@ class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType(TypedDict) name: NotRequired[Union[str, None]] +class RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackage + + The name of the package affected by the vulnerability. + """ + + ecosystem: Literal[ + "rubygems", + "npm", + "pip", + "maven", + "nuget", + "composer", + "go", + "rust", + "erlang", + "actions", + "pub", + "other", + "swift", + ] + name: NotRequired[Union[str, None]] + + __all__ = ( "RepositoryAdvisoryUpdatePropCreditsItemsType", + "RepositoryAdvisoryUpdatePropCreditsItemsTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsPropPackageTypeForResponse", "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsType", + "RepositoryAdvisoryUpdatePropVulnerabilitiesItemsTypeForResponse", "RepositoryAdvisoryUpdateType", + "RepositoryAdvisoryUpdateTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0412.py b/githubkit/versions/v2022_11_28/types/group_0412.py index ca2546e70..6092769aa 100644 --- a/githubkit/versions/v2022_11_28/types/group_0412.py +++ b/githubkit/versions/v2022_11_28/types/group_0412.py @@ -13,7 +13,7 @@ from typing import Union from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class StargazerType(TypedDict): @@ -26,4 +26,17 @@ class StargazerType(TypedDict): user: Union[None, SimpleUserType] -__all__ = ("StargazerType",) +class StargazerTypeForResponse(TypedDict): + """Stargazer + + Stargazer + """ + + starred_at: str + user: Union[None, SimpleUserTypeForResponse] + + +__all__ = ( + "StargazerType", + "StargazerTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0413.py b/githubkit/versions/v2022_11_28/types/group_0413.py index c3c8c7e64..ef538ffa4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0413.py +++ b/githubkit/versions/v2022_11_28/types/group_0413.py @@ -23,4 +23,18 @@ class CommitActivityType(TypedDict): week: int -__all__ = ("CommitActivityType",) +class CommitActivityTypeForResponse(TypedDict): + """Commit Activity + + Commit Activity + """ + + days: list[int] + total: int + week: int + + +__all__ = ( + "CommitActivityType", + "CommitActivityTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0414.py b/githubkit/versions/v2022_11_28/types/group_0414.py index 0c764aa8c..1643851b2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0414.py +++ b/githubkit/versions/v2022_11_28/types/group_0414.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ContributorActivityType(TypedDict): @@ -26,6 +26,17 @@ class ContributorActivityType(TypedDict): weeks: list[ContributorActivityPropWeeksItemsType] +class ContributorActivityTypeForResponse(TypedDict): + """Contributor Activity + + Contributor Activity + """ + + author: Union[None, SimpleUserTypeForResponse] + total: int + weeks: list[ContributorActivityPropWeeksItemsTypeForResponse] + + class ContributorActivityPropWeeksItemsType(TypedDict): """ContributorActivityPropWeeksItems""" @@ -35,7 +46,18 @@ class ContributorActivityPropWeeksItemsType(TypedDict): c: NotRequired[int] +class ContributorActivityPropWeeksItemsTypeForResponse(TypedDict): + """ContributorActivityPropWeeksItems""" + + w: NotRequired[int] + a: NotRequired[int] + d: NotRequired[int] + c: NotRequired[int] + + __all__ = ( "ContributorActivityPropWeeksItemsType", + "ContributorActivityPropWeeksItemsTypeForResponse", "ContributorActivityType", + "ContributorActivityTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0415.py b/githubkit/versions/v2022_11_28/types/group_0415.py index 4bde16f66..035f01556 100644 --- a/githubkit/versions/v2022_11_28/types/group_0415.py +++ b/githubkit/versions/v2022_11_28/types/group_0415.py @@ -19,4 +19,14 @@ class ParticipationStatsType(TypedDict): owner: list[int] -__all__ = ("ParticipationStatsType",) +class ParticipationStatsTypeForResponse(TypedDict): + """Participation Stats""" + + all_: list[int] + owner: list[int] + + +__all__ = ( + "ParticipationStatsType", + "ParticipationStatsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0416.py b/githubkit/versions/v2022_11_28/types/group_0416.py index 00a60951a..10d72c6d5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0416.py +++ b/githubkit/versions/v2022_11_28/types/group_0416.py @@ -28,4 +28,21 @@ class RepositorySubscriptionType(TypedDict): repository_url: str -__all__ = ("RepositorySubscriptionType",) +class RepositorySubscriptionTypeForResponse(TypedDict): + """Repository Invitation + + Repository invitations let you manage who you collaborate with. + """ + + subscribed: bool + ignored: bool + reason: Union[str, None] + created_at: str + url: str + repository_url: str + + +__all__ = ( + "RepositorySubscriptionType", + "RepositorySubscriptionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0417.py b/githubkit/versions/v2022_11_28/types/group_0417.py index 8a231b6fb..1e82a0637 100644 --- a/githubkit/versions/v2022_11_28/types/group_0417.py +++ b/githubkit/versions/v2022_11_28/types/group_0417.py @@ -25,6 +25,19 @@ class TagType(TypedDict): node_id: str +class TagTypeForResponse(TypedDict): + """Tag + + Tag + """ + + name: str + commit: TagPropCommitTypeForResponse + zipball_url: str + tarball_url: str + node_id: str + + class TagPropCommitType(TypedDict): """TagPropCommit""" @@ -32,7 +45,16 @@ class TagPropCommitType(TypedDict): url: str +class TagPropCommitTypeForResponse(TypedDict): + """TagPropCommit""" + + sha: str + url: str + + __all__ = ( "TagPropCommitType", + "TagPropCommitTypeForResponse", "TagType", + "TagTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0418.py b/githubkit/versions/v2022_11_28/types/group_0418.py index a09ecf462..b6bc7c70e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0418.py +++ b/githubkit/versions/v2022_11_28/types/group_0418.py @@ -25,4 +25,20 @@ class TagProtectionType(TypedDict): pattern: str -__all__ = ("TagProtectionType",) +class TagProtectionTypeForResponse(TypedDict): + """Tag protection + + Tag protection + """ + + id: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[str] + enabled: NotRequired[bool] + pattern: str + + +__all__ = ( + "TagProtectionType", + "TagProtectionTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0419.py b/githubkit/versions/v2022_11_28/types/group_0419.py index 69365fe85..b8a744384 100644 --- a/githubkit/versions/v2022_11_28/types/group_0419.py +++ b/githubkit/versions/v2022_11_28/types/group_0419.py @@ -21,4 +21,16 @@ class TopicType(TypedDict): names: list[str] -__all__ = ("TopicType",) +class TopicTypeForResponse(TypedDict): + """Topic + + A topic aggregates entities that are related to a subject. + """ + + names: list[str] + + +__all__ = ( + "TopicType", + "TopicTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0420.py b/githubkit/versions/v2022_11_28/types/group_0420.py index 2412270d8..1b392ca9d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0420.py +++ b/githubkit/versions/v2022_11_28/types/group_0420.py @@ -21,4 +21,15 @@ class TrafficType(TypedDict): count: int -__all__ = ("TrafficType",) +class TrafficTypeForResponse(TypedDict): + """Traffic""" + + timestamp: str + uniques: int + count: int + + +__all__ = ( + "TrafficType", + "TrafficTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0421.py b/githubkit/versions/v2022_11_28/types/group_0421.py index 266057ec5..9cf515cb2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0421.py +++ b/githubkit/versions/v2022_11_28/types/group_0421.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0420 import TrafficType +from .group_0420 import TrafficType, TrafficTypeForResponse class CloneTrafficType(TypedDict): @@ -25,4 +25,18 @@ class CloneTrafficType(TypedDict): clones: list[TrafficType] -__all__ = ("CloneTrafficType",) +class CloneTrafficTypeForResponse(TypedDict): + """Clone Traffic + + Clone Traffic + """ + + count: int + uniques: int + clones: list[TrafficTypeForResponse] + + +__all__ = ( + "CloneTrafficType", + "CloneTrafficTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0422.py b/githubkit/versions/v2022_11_28/types/group_0422.py index 8ae9ebc92..f051d358a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0422.py +++ b/githubkit/versions/v2022_11_28/types/group_0422.py @@ -24,4 +24,19 @@ class ContentTrafficType(TypedDict): uniques: int -__all__ = ("ContentTrafficType",) +class ContentTrafficTypeForResponse(TypedDict): + """Content Traffic + + Content Traffic + """ + + path: str + title: str + count: int + uniques: int + + +__all__ = ( + "ContentTrafficType", + "ContentTrafficTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0423.py b/githubkit/versions/v2022_11_28/types/group_0423.py index d7d63281a..21940aad7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0423.py +++ b/githubkit/versions/v2022_11_28/types/group_0423.py @@ -23,4 +23,18 @@ class ReferrerTrafficType(TypedDict): uniques: int -__all__ = ("ReferrerTrafficType",) +class ReferrerTrafficTypeForResponse(TypedDict): + """Referrer Traffic + + Referrer Traffic + """ + + referrer: str + count: int + uniques: int + + +__all__ = ( + "ReferrerTrafficType", + "ReferrerTrafficTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0424.py b/githubkit/versions/v2022_11_28/types/group_0424.py index 885db95b5..90f0b012a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0424.py +++ b/githubkit/versions/v2022_11_28/types/group_0424.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0420 import TrafficType +from .group_0420 import TrafficType, TrafficTypeForResponse class ViewTrafficType(TypedDict): @@ -25,4 +25,18 @@ class ViewTrafficType(TypedDict): views: list[TrafficType] -__all__ = ("ViewTrafficType",) +class ViewTrafficTypeForResponse(TypedDict): + """View Traffic + + View Traffic + """ + + count: int + uniques: int + views: list[TrafficTypeForResponse] + + +__all__ = ( + "ViewTrafficType", + "ViewTrafficTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0425.py b/githubkit/versions/v2022_11_28/types/group_0425.py index e1d436bf1..63ffb7e36 100644 --- a/githubkit/versions/v2022_11_28/types/group_0425.py +++ b/githubkit/versions/v2022_11_28/types/group_0425.py @@ -23,6 +23,18 @@ class SearchResultTextMatchesItemsType(TypedDict): matches: NotRequired[list[SearchResultTextMatchesItemsPropMatchesItemsType]] +class SearchResultTextMatchesItemsTypeForResponse(TypedDict): + """SearchResultTextMatchesItems""" + + object_url: NotRequired[str] + object_type: NotRequired[Union[str, None]] + property_: NotRequired[str] + fragment: NotRequired[str] + matches: NotRequired[ + list[SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse] + ] + + class SearchResultTextMatchesItemsPropMatchesItemsType(TypedDict): """SearchResultTextMatchesItemsPropMatchesItems""" @@ -30,7 +42,16 @@ class SearchResultTextMatchesItemsPropMatchesItemsType(TypedDict): indices: NotRequired[list[int]] +class SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse(TypedDict): + """SearchResultTextMatchesItemsPropMatchesItems""" + + text: NotRequired[str] + indices: NotRequired[list[int]] + + __all__ = ( "SearchResultTextMatchesItemsPropMatchesItemsType", + "SearchResultTextMatchesItemsPropMatchesItemsTypeForResponse", "SearchResultTextMatchesItemsType", + "SearchResultTextMatchesItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0426.py b/githubkit/versions/v2022_11_28/types/group_0426.py index f32f5155b..83d45f875 100644 --- a/githubkit/versions/v2022_11_28/types/group_0426.py +++ b/githubkit/versions/v2022_11_28/types/group_0426.py @@ -13,8 +13,11 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0061 import MinimalRepositoryType -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class CodeSearchResultItemType(TypedDict): @@ -38,6 +41,27 @@ class CodeSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class CodeSearchResultItemTypeForResponse(TypedDict): + """Code Search Result Item + + Code Search Result Item + """ + + name: str + path: str + sha: str + url: str + git_url: str + html_url: str + repository: MinimalRepositoryTypeForResponse + score: float + file_size: NotRequired[int] + language: NotRequired[Union[str, None]] + last_modified_at: NotRequired[str] + line_numbers: NotRequired[list[str]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class SearchCodeGetResponse200Type(TypedDict): """SearchCodeGetResponse200""" @@ -46,7 +70,17 @@ class SearchCodeGetResponse200Type(TypedDict): items: list[CodeSearchResultItemType] +class SearchCodeGetResponse200TypeForResponse(TypedDict): + """SearchCodeGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[CodeSearchResultItemTypeForResponse] + + __all__ = ( "CodeSearchResultItemType", + "CodeSearchResultItemTypeForResponse", "SearchCodeGetResponse200Type", + "SearchCodeGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0427.py b/githubkit/versions/v2022_11_28/types/group_0427.py index 93aa5ee6d..3c271c9b1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0427.py +++ b/githubkit/versions/v2022_11_28/types/group_0427.py @@ -12,11 +12,17 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0061 import MinimalRepositoryType -from .group_0253 import GitUserType -from .group_0425 import SearchResultTextMatchesItemsType -from .group_0428 import CommitSearchResultItemPropCommitType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0253 import GitUserType, GitUserTypeForResponse +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) +from .group_0428 import ( + CommitSearchResultItemPropCommitType, + CommitSearchResultItemPropCommitTypeForResponse, +) class CommitSearchResultItemType(TypedDict): @@ -39,6 +45,26 @@ class CommitSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class CommitSearchResultItemTypeForResponse(TypedDict): + """Commit Search Result Item + + Commit Search Result Item + """ + + url: str + sha: str + html_url: str + comments_url: str + commit: CommitSearchResultItemPropCommitTypeForResponse + author: Union[None, SimpleUserTypeForResponse] + committer: Union[None, GitUserTypeForResponse] + parents: list[CommitSearchResultItemPropParentsItemsTypeForResponse] + repository: MinimalRepositoryTypeForResponse + score: float + node_id: str + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class CommitSearchResultItemPropParentsItemsType(TypedDict): """CommitSearchResultItemPropParentsItems""" @@ -47,6 +73,14 @@ class CommitSearchResultItemPropParentsItemsType(TypedDict): sha: NotRequired[str] +class CommitSearchResultItemPropParentsItemsTypeForResponse(TypedDict): + """CommitSearchResultItemPropParentsItems""" + + url: NotRequired[str] + html_url: NotRequired[str] + sha: NotRequired[str] + + class SearchCommitsGetResponse200Type(TypedDict): """SearchCommitsGetResponse200""" @@ -55,8 +89,19 @@ class SearchCommitsGetResponse200Type(TypedDict): items: list[CommitSearchResultItemType] +class SearchCommitsGetResponse200TypeForResponse(TypedDict): + """SearchCommitsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[CommitSearchResultItemTypeForResponse] + + __all__ = ( "CommitSearchResultItemPropParentsItemsType", + "CommitSearchResultItemPropParentsItemsTypeForResponse", "CommitSearchResultItemType", + "CommitSearchResultItemTypeForResponse", "SearchCommitsGetResponse200Type", + "SearchCommitsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0428.py b/githubkit/versions/v2022_11_28/types/group_0428.py index d942f4fe9..576104f6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0428.py +++ b/githubkit/versions/v2022_11_28/types/group_0428.py @@ -13,8 +13,8 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0253 import GitUserType -from .group_0254 import VerificationType +from .group_0253 import GitUserType, GitUserTypeForResponse +from .group_0254 import VerificationType, VerificationTypeForResponse class CommitSearchResultItemPropCommitType(TypedDict): @@ -29,6 +29,18 @@ class CommitSearchResultItemPropCommitType(TypedDict): verification: NotRequired[VerificationType] +class CommitSearchResultItemPropCommitTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommit""" + + author: CommitSearchResultItemPropCommitPropAuthorTypeForResponse + committer: Union[None, GitUserTypeForResponse] + comment_count: int + message: str + tree: CommitSearchResultItemPropCommitPropTreeTypeForResponse + url: str + verification: NotRequired[VerificationTypeForResponse] + + class CommitSearchResultItemPropCommitPropAuthorType(TypedDict): """CommitSearchResultItemPropCommitPropAuthor""" @@ -37,6 +49,14 @@ class CommitSearchResultItemPropCommitPropAuthorType(TypedDict): date: datetime +class CommitSearchResultItemPropCommitPropAuthorTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommitPropAuthor""" + + name: str + email: str + date: str + + class CommitSearchResultItemPropCommitPropTreeType(TypedDict): """CommitSearchResultItemPropCommitPropTree""" @@ -44,8 +64,18 @@ class CommitSearchResultItemPropCommitPropTreeType(TypedDict): url: str +class CommitSearchResultItemPropCommitPropTreeTypeForResponse(TypedDict): + """CommitSearchResultItemPropCommitPropTree""" + + sha: str + url: str + + __all__ = ( "CommitSearchResultItemPropCommitPropAuthorType", + "CommitSearchResultItemPropCommitPropAuthorTypeForResponse", "CommitSearchResultItemPropCommitPropTreeType", + "CommitSearchResultItemPropCommitPropTreeTypeForResponse", "CommitSearchResultItemPropCommitType", + "CommitSearchResultItemPropCommitTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0429.py b/githubkit/versions/v2022_11_28/types/group_0429.py index c594fb757..a50571d82 100644 --- a/githubkit/versions/v2022_11_28/types/group_0429.py +++ b/githubkit/versions/v2022_11_28/types/group_0429.py @@ -13,15 +13,23 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0010 import IntegrationType -from .group_0020 import RepositoryType -from .group_0040 import MilestoneType -from .group_0041 import IssueTypeType -from .group_0042 import ReactionRollupType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0042 import ReactionRollupType, ReactionRollupTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class IssueSearchResultItemType(TypedDict): @@ -80,6 +88,62 @@ class IssueSearchResultItemType(TypedDict): reactions: NotRequired[ReactionRollupType] +class IssueSearchResultItemTypeForResponse(TypedDict): + """Issue Search Result Item + + Issue Search Result Item + """ + + url: str + repository_url: str + labels_url: str + comments_url: str + events_url: str + html_url: str + id: int + node_id: str + number: int + title: str + locked: bool + active_lock_reason: NotRequired[Union[str, None]] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + user: Union[None, SimpleUserTypeForResponse] + labels: list[IssueSearchResultItemPropLabelsItemsTypeForResponse] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: str + state_reason: NotRequired[Union[str, None]] + assignee: Union[None, SimpleUserTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + comments: int + created_at: str + updated_at: str + closed_at: Union[str, None] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + pull_request: NotRequired[IssueSearchResultItemPropPullRequestTypeForResponse] + body: NotRequired[str] + score: float + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + draft: NotRequired[bool] + repository: NotRequired[RepositoryTypeForResponse] + body_html: NotRequired[str] + body_text: NotRequired[str] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + performed_via_github_app: NotRequired[Union[None, IntegrationTypeForResponse, None]] + reactions: NotRequired[ReactionRollupTypeForResponse] + + class IssueSearchResultItemPropLabelsItemsType(TypedDict): """IssueSearchResultItemPropLabelsItems""" @@ -92,6 +156,18 @@ class IssueSearchResultItemPropLabelsItemsType(TypedDict): description: NotRequired[Union[str, None]] +class IssueSearchResultItemPropLabelsItemsTypeForResponse(TypedDict): + """IssueSearchResultItemPropLabelsItems""" + + id: NotRequired[int] + node_id: NotRequired[str] + url: NotRequired[str] + name: NotRequired[str] + color: NotRequired[str] + default: NotRequired[bool] + description: NotRequired[Union[str, None]] + + class IssueSearchResultItemPropPullRequestType(TypedDict): """IssueSearchResultItemPropPullRequest""" @@ -102,6 +178,16 @@ class IssueSearchResultItemPropPullRequestType(TypedDict): url: Union[str, None] +class IssueSearchResultItemPropPullRequestTypeForResponse(TypedDict): + """IssueSearchResultItemPropPullRequest""" + + merged_at: NotRequired[Union[str, None]] + diff_url: Union[str, None] + html_url: Union[str, None] + patch_url: Union[str, None] + url: Union[str, None] + + class SearchIssuesGetResponse200Type(TypedDict): """SearchIssuesGetResponse200""" @@ -110,9 +196,21 @@ class SearchIssuesGetResponse200Type(TypedDict): items: list[IssueSearchResultItemType] +class SearchIssuesGetResponse200TypeForResponse(TypedDict): + """SearchIssuesGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[IssueSearchResultItemTypeForResponse] + + __all__ = ( "IssueSearchResultItemPropLabelsItemsType", + "IssueSearchResultItemPropLabelsItemsTypeForResponse", "IssueSearchResultItemPropPullRequestType", + "IssueSearchResultItemPropPullRequestTypeForResponse", "IssueSearchResultItemType", + "IssueSearchResultItemTypeForResponse", "SearchIssuesGetResponse200Type", + "SearchIssuesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0430.py b/githubkit/versions/v2022_11_28/types/group_0430.py index d4d8da263..2dd8e41ff 100644 --- a/githubkit/versions/v2022_11_28/types/group_0430.py +++ b/githubkit/versions/v2022_11_28/types/group_0430.py @@ -12,7 +12,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class LabelSearchResultItemType(TypedDict): @@ -32,6 +35,23 @@ class LabelSearchResultItemType(TypedDict): text_matches: NotRequired[list[SearchResultTextMatchesItemsType]] +class LabelSearchResultItemTypeForResponse(TypedDict): + """Label Search Result Item + + Label Search Result Item + """ + + id: int + node_id: str + url: str + name: str + color: str + default: bool + description: Union[str, None] + score: float + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + + class SearchLabelsGetResponse200Type(TypedDict): """SearchLabelsGetResponse200""" @@ -40,7 +60,17 @@ class SearchLabelsGetResponse200Type(TypedDict): items: list[LabelSearchResultItemType] +class SearchLabelsGetResponse200TypeForResponse(TypedDict): + """SearchLabelsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[LabelSearchResultItemTypeForResponse] + + __all__ = ( "LabelSearchResultItemType", + "LabelSearchResultItemTypeForResponse", "SearchLabelsGetResponse200Type", + "SearchLabelsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0431.py b/githubkit/versions/v2022_11_28/types/group_0431.py index 4984dcfee..58bbdec59 100644 --- a/githubkit/versions/v2022_11_28/types/group_0431.py +++ b/githubkit/versions/v2022_11_28/types/group_0431.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class RepoSearchResultItemType(TypedDict): @@ -115,6 +118,103 @@ class RepoSearchResultItemType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class RepoSearchResultItemTypeForResponse(TypedDict): + """Repo Search Result Item + + Repo Search Result Item + """ + + id: int + node_id: str + name: str + full_name: str + owner: Union[None, SimpleUserTypeForResponse] + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + created_at: str + updated_at: str + pushed_at: str + homepage: Union[str, None] + size: int + stargazers_count: int + watchers_count: int + language: Union[str, None] + forks_count: int + open_issues_count: int + master_branch: NotRequired[str] + default_branch: str + score: float + forks_url: str + keys_url: str + collaborators_url: str + teams_url: str + hooks_url: str + issue_events_url: str + events_url: str + assignees_url: str + branches_url: str + tags_url: str + blobs_url: str + git_tags_url: str + git_refs_url: str + trees_url: str + statuses_url: str + languages_url: str + stargazers_url: str + contributors_url: str + subscribers_url: str + subscription_url: str + commits_url: str + git_commits_url: str + comments_url: str + issue_comment_url: str + contents_url: str + compare_url: str + merges_url: str + archive_url: str + downloads_url: str + issues_url: str + pulls_url: str + milestones_url: str + notifications_url: str + labels_url: str + releases_url: str + deployments_url: str + git_url: str + ssh_url: str + clone_url: str + svn_url: str + forks: int + open_issues: int + watchers: int + topics: NotRequired[list[str]] + mirror_url: Union[str, None] + has_issues: bool + has_projects: bool + has_pages: bool + has_wiki: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + license_: Union[None, LicenseSimpleTypeForResponse] + permissions: NotRequired[RepoSearchResultItemPropPermissionsTypeForResponse] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + temp_clone_token: NotRequired[Union[str, None]] + allow_merge_commit: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + is_template: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + + class RepoSearchResultItemPropPermissionsType(TypedDict): """RepoSearchResultItemPropPermissions""" @@ -125,6 +225,16 @@ class RepoSearchResultItemPropPermissionsType(TypedDict): pull: bool +class RepoSearchResultItemPropPermissionsTypeForResponse(TypedDict): + """RepoSearchResultItemPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + push: bool + triage: NotRequired[bool] + pull: bool + + class SearchRepositoriesGetResponse200Type(TypedDict): """SearchRepositoriesGetResponse200""" @@ -133,8 +243,19 @@ class SearchRepositoriesGetResponse200Type(TypedDict): items: list[RepoSearchResultItemType] +class SearchRepositoriesGetResponse200TypeForResponse(TypedDict): + """SearchRepositoriesGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[RepoSearchResultItemTypeForResponse] + + __all__ = ( "RepoSearchResultItemPropPermissionsType", + "RepoSearchResultItemPropPermissionsTypeForResponse", "RepoSearchResultItemType", + "RepoSearchResultItemTypeForResponse", "SearchRepositoriesGetResponse200Type", + "SearchRepositoriesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0432.py b/githubkit/versions/v2022_11_28/types/group_0432.py index f4a136463..0f433948c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0432.py +++ b/githubkit/versions/v2022_11_28/types/group_0432.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class TopicSearchResultItemType(TypedDict): @@ -40,6 +43,34 @@ class TopicSearchResultItemType(TypedDict): aliases: NotRequired[Union[list[TopicSearchResultItemPropAliasesItemsType], None]] +class TopicSearchResultItemTypeForResponse(TypedDict): + """Topic Search Result Item + + Topic Search Result Item + """ + + name: str + display_name: Union[str, None] + short_description: Union[str, None] + description: Union[str, None] + created_by: Union[str, None] + released: Union[str, None] + created_at: str + updated_at: str + featured: bool + curated: bool + score: float + repository_count: NotRequired[Union[int, None]] + logo_url: NotRequired[Union[str, None]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + related: NotRequired[ + Union[list[TopicSearchResultItemPropRelatedItemsTypeForResponse], None] + ] + aliases: NotRequired[ + Union[list[TopicSearchResultItemPropAliasesItemsTypeForResponse], None] + ] + + class TopicSearchResultItemPropRelatedItemsType(TypedDict): """TopicSearchResultItemPropRelatedItems""" @@ -48,6 +79,14 @@ class TopicSearchResultItemPropRelatedItemsType(TypedDict): ] +class TopicSearchResultItemPropRelatedItemsTypeForResponse(TypedDict): + """TopicSearchResultItemPropRelatedItems""" + + topic_relation: NotRequired[ + TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse + ] + + class TopicSearchResultItemPropRelatedItemsPropTopicRelationType(TypedDict): """TopicSearchResultItemPropRelatedItemsPropTopicRelation""" @@ -57,6 +96,15 @@ class TopicSearchResultItemPropRelatedItemsPropTopicRelationType(TypedDict): relation_type: NotRequired[str] +class TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse(TypedDict): + """TopicSearchResultItemPropRelatedItemsPropTopicRelation""" + + id: NotRequired[int] + name: NotRequired[str] + topic_id: NotRequired[int] + relation_type: NotRequired[str] + + class TopicSearchResultItemPropAliasesItemsType(TypedDict): """TopicSearchResultItemPropAliasesItems""" @@ -65,6 +113,14 @@ class TopicSearchResultItemPropAliasesItemsType(TypedDict): ] +class TopicSearchResultItemPropAliasesItemsTypeForResponse(TypedDict): + """TopicSearchResultItemPropAliasesItems""" + + topic_relation: NotRequired[ + TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse + ] + + class TopicSearchResultItemPropAliasesItemsPropTopicRelationType(TypedDict): """TopicSearchResultItemPropAliasesItemsPropTopicRelation""" @@ -74,6 +130,15 @@ class TopicSearchResultItemPropAliasesItemsPropTopicRelationType(TypedDict): relation_type: NotRequired[str] +class TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse(TypedDict): + """TopicSearchResultItemPropAliasesItemsPropTopicRelation""" + + id: NotRequired[int] + name: NotRequired[str] + topic_id: NotRequired[int] + relation_type: NotRequired[str] + + class SearchTopicsGetResponse200Type(TypedDict): """SearchTopicsGetResponse200""" @@ -82,11 +147,25 @@ class SearchTopicsGetResponse200Type(TypedDict): items: list[TopicSearchResultItemType] +class SearchTopicsGetResponse200TypeForResponse(TypedDict): + """SearchTopicsGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[TopicSearchResultItemTypeForResponse] + + __all__ = ( "SearchTopicsGetResponse200Type", + "SearchTopicsGetResponse200TypeForResponse", "TopicSearchResultItemPropAliasesItemsPropTopicRelationType", + "TopicSearchResultItemPropAliasesItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropAliasesItemsType", + "TopicSearchResultItemPropAliasesItemsTypeForResponse", "TopicSearchResultItemPropRelatedItemsPropTopicRelationType", + "TopicSearchResultItemPropRelatedItemsPropTopicRelationTypeForResponse", "TopicSearchResultItemPropRelatedItemsType", + "TopicSearchResultItemPropRelatedItemsTypeForResponse", "TopicSearchResultItemType", + "TopicSearchResultItemTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0433.py b/githubkit/versions/v2022_11_28/types/group_0433.py index 0641622eb..6a3ca0f8f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0433.py +++ b/githubkit/versions/v2022_11_28/types/group_0433.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0425 import SearchResultTextMatchesItemsType +from .group_0425 import ( + SearchResultTextMatchesItemsType, + SearchResultTextMatchesItemsTypeForResponse, +) class UserSearchResultItemType(TypedDict): @@ -59,6 +62,49 @@ class UserSearchResultItemType(TypedDict): user_view_type: NotRequired[str] +class UserSearchResultItemTypeForResponse(TypedDict): + """User Search Result Item + + User Search Result Item + """ + + login: str + id: int + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + received_events_url: str + type: str + score: float + following_url: str + gists_url: str + starred_url: str + events_url: str + public_repos: NotRequired[int] + public_gists: NotRequired[int] + followers: NotRequired[int] + following: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[str] + name: NotRequired[Union[str, None]] + bio: NotRequired[Union[str, None]] + email: NotRequired[Union[str, None]] + location: NotRequired[Union[str, None]] + site_admin: bool + hireable: NotRequired[Union[bool, None]] + text_matches: NotRequired[list[SearchResultTextMatchesItemsTypeForResponse]] + blog: NotRequired[Union[str, None]] + company: NotRequired[Union[str, None]] + suspended_at: NotRequired[Union[str, None]] + user_view_type: NotRequired[str] + + class SearchUsersGetResponse200Type(TypedDict): """SearchUsersGetResponse200""" @@ -67,7 +113,17 @@ class SearchUsersGetResponse200Type(TypedDict): items: list[UserSearchResultItemType] +class SearchUsersGetResponse200TypeForResponse(TypedDict): + """SearchUsersGetResponse200""" + + total_count: int + incomplete_results: bool + items: list[UserSearchResultItemTypeForResponse] + + __all__ = ( "SearchUsersGetResponse200Type", + "SearchUsersGetResponse200TypeForResponse", "UserSearchResultItemType", + "UserSearchResultItemTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0434.py b/githubkit/versions/v2022_11_28/types/group_0434.py index 855325c4a..2b6422ca2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0434.py +++ b/githubkit/versions/v2022_11_28/types/group_0434.py @@ -65,6 +65,57 @@ class PrivateUserType(TypedDict): ldap_dn: NotRequired[str] +class PrivateUserTypeForResponse(TypedDict): + """Private User + + Private User + """ + + login: str + id: int + user_view_type: NotRequired[str] + node_id: str + avatar_url: str + gravatar_id: Union[str, None] + url: str + html_url: str + followers_url: str + following_url: str + gists_url: str + starred_url: str + subscriptions_url: str + organizations_url: str + repos_url: str + events_url: str + received_events_url: str + type: str + site_admin: bool + name: Union[str, None] + company: Union[str, None] + blog: Union[str, None] + location: Union[str, None] + email: Union[str, None] + notification_email: NotRequired[Union[str, None]] + hireable: Union[bool, None] + bio: Union[str, None] + twitter_username: NotRequired[Union[str, None]] + public_repos: int + public_gists: int + followers: int + following: int + created_at: str + updated_at: str + private_gists: int + total_private_repos: int + owned_private_repos: int + disk_usage: int + collaborators: int + two_factor_authentication: bool + plan: NotRequired[PrivateUserPropPlanTypeForResponse] + business_plus: NotRequired[bool] + ldap_dn: NotRequired[str] + + class PrivateUserPropPlanType(TypedDict): """PrivateUserPropPlan""" @@ -74,7 +125,18 @@ class PrivateUserPropPlanType(TypedDict): private_repos: int +class PrivateUserPropPlanTypeForResponse(TypedDict): + """PrivateUserPropPlan""" + + collaborators: int + name: str + space: int + private_repos: int + + __all__ = ( "PrivateUserPropPlanType", + "PrivateUserPropPlanTypeForResponse", "PrivateUserType", + "PrivateUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0435.py b/githubkit/versions/v2022_11_28/types/group_0435.py index 6be52538b..c16066e57 100644 --- a/githubkit/versions/v2022_11_28/types/group_0435.py +++ b/githubkit/versions/v2022_11_28/types/group_0435.py @@ -22,4 +22,17 @@ class CodespacesUserPublicKeyType(TypedDict): key: str -__all__ = ("CodespacesUserPublicKeyType",) +class CodespacesUserPublicKeyTypeForResponse(TypedDict): + """CodespacesUserPublicKey + + The public key used for setting user Codespaces' Secrets. + """ + + key_id: str + key: str + + +__all__ = ( + "CodespacesUserPublicKeyType", + "CodespacesUserPublicKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0436.py b/githubkit/versions/v2022_11_28/types/group_0436.py index 2b50d37d0..a785b760b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0436.py +++ b/githubkit/versions/v2022_11_28/types/group_0436.py @@ -30,4 +30,23 @@ class CodespaceExportDetailsType(TypedDict): html_url: NotRequired[Union[str, None]] -__all__ = ("CodespaceExportDetailsType",) +class CodespaceExportDetailsTypeForResponse(TypedDict): + """Fetches information about an export of a codespace. + + An export of a codespace. Also, latest export details for a codespace can be + fetched with id = latest + """ + + state: NotRequired[Union[str, None]] + completed_at: NotRequired[Union[str, None]] + branch: NotRequired[Union[str, None]] + sha: NotRequired[Union[str, None]] + id: NotRequired[str] + export_url: NotRequired[str] + html_url: NotRequired[Union[str, None]] + + +__all__ = ( + "CodespaceExportDetailsType", + "CodespaceExportDetailsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0437.py b/githubkit/versions/v2022_11_28/types/group_0437.py index f298cb906..f1cbd890c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0437.py +++ b/githubkit/versions/v2022_11_28/types/group_0437.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0101 import CodespaceMachineType -from .group_0144 import FullRepositoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0101 import CodespaceMachineType, CodespaceMachineTypeForResponse +from .group_0144 import FullRepositoryType, FullRepositoryTypeForResponse class CodespaceWithFullRepositoryType(TypedDict): @@ -77,6 +77,65 @@ class CodespaceWithFullRepositoryType(TypedDict): retention_expires_at: NotRequired[Union[datetime, None]] +class CodespaceWithFullRepositoryTypeForResponse(TypedDict): + """Codespace + + A codespace. + """ + + id: int + name: str + display_name: NotRequired[Union[str, None]] + environment_id: Union[str, None] + owner: SimpleUserTypeForResponse + billable_owner: SimpleUserTypeForResponse + repository: FullRepositoryTypeForResponse + machine: Union[None, CodespaceMachineTypeForResponse] + devcontainer_path: NotRequired[Union[str, None]] + prebuild: Union[bool, None] + created_at: str + updated_at: str + last_used_at: str + state: Literal[ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding", + ] + url: str + git_status: CodespaceWithFullRepositoryPropGitStatusTypeForResponse + location: Literal["EastUs", "SouthEastAsia", "WestEurope", "WestUs2"] + idle_timeout_minutes: Union[int, None] + web_url: str + machines_url: str + start_url: str + stop_url: str + publish_url: NotRequired[Union[str, None]] + pulls_url: Union[str, None] + recent_folders: list[str] + runtime_constraints: NotRequired[ + CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse + ] + pending_operation: NotRequired[Union[bool, None]] + pending_operation_disabled_reason: NotRequired[Union[str, None]] + idle_timeout_notice: NotRequired[Union[str, None]] + retention_period_minutes: NotRequired[Union[int, None]] + retention_expires_at: NotRequired[Union[str, None]] + + class CodespaceWithFullRepositoryPropGitStatusType(TypedDict): """CodespaceWithFullRepositoryPropGitStatus @@ -90,14 +149,36 @@ class CodespaceWithFullRepositoryPropGitStatusType(TypedDict): ref: NotRequired[str] +class CodespaceWithFullRepositoryPropGitStatusTypeForResponse(TypedDict): + """CodespaceWithFullRepositoryPropGitStatus + + Details about the codespace's git repository. + """ + + ahead: NotRequired[int] + behind: NotRequired[int] + has_unpushed_changes: NotRequired[bool] + has_uncommitted_changes: NotRequired[bool] + ref: NotRequired[str] + + class CodespaceWithFullRepositoryPropRuntimeConstraintsType(TypedDict): """CodespaceWithFullRepositoryPropRuntimeConstraints""" allowed_port_privacy_settings: NotRequired[Union[list[str], None]] +class CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse(TypedDict): + """CodespaceWithFullRepositoryPropRuntimeConstraints""" + + allowed_port_privacy_settings: NotRequired[Union[list[str], None]] + + __all__ = ( "CodespaceWithFullRepositoryPropGitStatusType", + "CodespaceWithFullRepositoryPropGitStatusTypeForResponse", "CodespaceWithFullRepositoryPropRuntimeConstraintsType", + "CodespaceWithFullRepositoryPropRuntimeConstraintsTypeForResponse", "CodespaceWithFullRepositoryType", + "CodespaceWithFullRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0438.py b/githubkit/versions/v2022_11_28/types/group_0438.py index 767832678..1993f7b87 100644 --- a/githubkit/versions/v2022_11_28/types/group_0438.py +++ b/githubkit/versions/v2022_11_28/types/group_0438.py @@ -25,4 +25,19 @@ class EmailType(TypedDict): visibility: Union[str, None] -__all__ = ("EmailType",) +class EmailTypeForResponse(TypedDict): + """Email + + Email + """ + + email: str + primary: bool + verified: bool + visibility: Union[str, None] + + +__all__ = ( + "EmailType", + "EmailTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0439.py b/githubkit/versions/v2022_11_28/types/group_0439.py index 324df51fb..2e19eb976 100644 --- a/githubkit/versions/v2022_11_28/types/group_0439.py +++ b/githubkit/versions/v2022_11_28/types/group_0439.py @@ -37,6 +37,29 @@ class GpgKeyType(TypedDict): raw_key: Union[str, None] +class GpgKeyTypeForResponse(TypedDict): + """GPG Key + + A unique encryption key + """ + + id: int + name: NotRequired[Union[str, None]] + primary_key_id: Union[int, None] + key_id: str + public_key: str + emails: list[GpgKeyPropEmailsItemsTypeForResponse] + subkeys: list[GpgKeyPropSubkeysItemsTypeForResponse] + can_sign: bool + can_encrypt_comms: bool + can_encrypt_storage: bool + can_certify: bool + created_at: str + expires_at: Union[str, None] + revoked: bool + raw_key: Union[str, None] + + class GpgKeyPropEmailsItemsType(TypedDict): """GpgKeyPropEmailsItems""" @@ -44,6 +67,13 @@ class GpgKeyPropEmailsItemsType(TypedDict): verified: NotRequired[bool] +class GpgKeyPropEmailsItemsTypeForResponse(TypedDict): + """GpgKeyPropEmailsItems""" + + email: NotRequired[str] + verified: NotRequired[bool] + + class GpgKeyPropSubkeysItemsType(TypedDict): """GpgKeyPropSubkeysItems""" @@ -63,6 +93,25 @@ class GpgKeyPropSubkeysItemsType(TypedDict): revoked: NotRequired[bool] +class GpgKeyPropSubkeysItemsTypeForResponse(TypedDict): + """GpgKeyPropSubkeysItems""" + + id: NotRequired[int] + primary_key_id: NotRequired[int] + key_id: NotRequired[str] + public_key: NotRequired[str] + emails: NotRequired[list[GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse]] + subkeys: NotRequired[list[Any]] + can_sign: NotRequired[bool] + can_encrypt_comms: NotRequired[bool] + can_encrypt_storage: NotRequired[bool] + can_certify: NotRequired[bool] + created_at: NotRequired[str] + expires_at: NotRequired[Union[str, None]] + raw_key: NotRequired[Union[str, None]] + revoked: NotRequired[bool] + + class GpgKeyPropSubkeysItemsPropEmailsItemsType(TypedDict): """GpgKeyPropSubkeysItemsPropEmailsItems""" @@ -70,9 +119,20 @@ class GpgKeyPropSubkeysItemsPropEmailsItemsType(TypedDict): verified: NotRequired[bool] +class GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse(TypedDict): + """GpgKeyPropSubkeysItemsPropEmailsItems""" + + email: NotRequired[str] + verified: NotRequired[bool] + + __all__ = ( "GpgKeyPropEmailsItemsType", + "GpgKeyPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsPropEmailsItemsType", + "GpgKeyPropSubkeysItemsPropEmailsItemsTypeForResponse", "GpgKeyPropSubkeysItemsType", + "GpgKeyPropSubkeysItemsTypeForResponse", "GpgKeyType", + "GpgKeyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0440.py b/githubkit/versions/v2022_11_28/types/group_0440.py index 3b5ea56a7..2e3274d2f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0440.py +++ b/githubkit/versions/v2022_11_28/types/group_0440.py @@ -30,4 +30,23 @@ class KeyType(TypedDict): last_used: NotRequired[Union[datetime, None]] -__all__ = ("KeyType",) +class KeyTypeForResponse(TypedDict): + """Key + + Key + """ + + key: str + id: int + url: str + title: str + created_at: str + verified: bool + read_only: bool + last_used: NotRequired[Union[str, None]] + + +__all__ = ( + "KeyType", + "KeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0441.py b/githubkit/versions/v2022_11_28/types/group_0441.py index 7fc0b213d..199410d09 100644 --- a/githubkit/versions/v2022_11_28/types/group_0441.py +++ b/githubkit/versions/v2022_11_28/types/group_0441.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0056 import MarketplaceListingPlanType +from .group_0056 import ( + MarketplaceListingPlanType, + MarketplaceListingPlanTypeForResponse, +) class UserMarketplacePurchaseType(TypedDict): @@ -32,6 +35,22 @@ class UserMarketplacePurchaseType(TypedDict): plan: MarketplaceListingPlanType +class UserMarketplacePurchaseTypeForResponse(TypedDict): + """User Marketplace Purchase + + User Marketplace Purchase + """ + + billing_cycle: str + next_billing_date: Union[str, None] + unit_count: Union[int, None] + on_free_trial: bool + free_trial_ends_on: Union[str, None] + updated_at: Union[str, None] + account: MarketplaceAccountTypeForResponse + plan: MarketplaceListingPlanTypeForResponse + + class MarketplaceAccountType(TypedDict): """Marketplace Account""" @@ -44,7 +63,21 @@ class MarketplaceAccountType(TypedDict): organization_billing_email: NotRequired[Union[str, None]] +class MarketplaceAccountTypeForResponse(TypedDict): + """Marketplace Account""" + + url: str + id: int + type: str + node_id: NotRequired[str] + login: str + email: NotRequired[Union[str, None]] + organization_billing_email: NotRequired[Union[str, None]] + + __all__ = ( "MarketplaceAccountType", + "MarketplaceAccountTypeForResponse", "UserMarketplacePurchaseType", + "UserMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0442.py b/githubkit/versions/v2022_11_28/types/group_0442.py index f892fc0d3..50d89685d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0442.py +++ b/githubkit/versions/v2022_11_28/types/group_0442.py @@ -22,4 +22,17 @@ class SocialAccountType(TypedDict): url: str -__all__ = ("SocialAccountType",) +class SocialAccountTypeForResponse(TypedDict): + """Social account + + Social media account + """ + + provider: str + url: str + + +__all__ = ( + "SocialAccountType", + "SocialAccountTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0443.py b/githubkit/versions/v2022_11_28/types/group_0443.py index a3c3f348b..0889d7548 100644 --- a/githubkit/versions/v2022_11_28/types/group_0443.py +++ b/githubkit/versions/v2022_11_28/types/group_0443.py @@ -25,4 +25,19 @@ class SshSigningKeyType(TypedDict): created_at: datetime -__all__ = ("SshSigningKeyType",) +class SshSigningKeyTypeForResponse(TypedDict): + """SSH Signing Key + + A public SSH key used to sign Git commits + """ + + key: str + id: int + title: str + created_at: str + + +__all__ = ( + "SshSigningKeyType", + "SshSigningKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0444.py b/githubkit/versions/v2022_11_28/types/group_0444.py index de982a527..a66a1c72f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0444.py +++ b/githubkit/versions/v2022_11_28/types/group_0444.py @@ -12,7 +12,7 @@ from datetime import datetime from typing_extensions import TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class StarredRepositoryType(TypedDict): @@ -25,4 +25,17 @@ class StarredRepositoryType(TypedDict): repo: RepositoryType -__all__ = ("StarredRepositoryType",) +class StarredRepositoryTypeForResponse(TypedDict): + """Starred Repository + + Starred Repository + """ + + starred_at: str + repo: RepositoryTypeForResponse + + +__all__ = ( + "StarredRepositoryType", + "StarredRepositoryTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0445.py b/githubkit/versions/v2022_11_28/types/group_0445.py index d66bf379e..e4b2caf0d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0445.py +++ b/githubkit/versions/v2022_11_28/types/group_0445.py @@ -21,6 +21,15 @@ class HovercardType(TypedDict): contexts: list[HovercardPropContextsItemsType] +class HovercardTypeForResponse(TypedDict): + """Hovercard + + Hovercard + """ + + contexts: list[HovercardPropContextsItemsTypeForResponse] + + class HovercardPropContextsItemsType(TypedDict): """HovercardPropContextsItems""" @@ -28,7 +37,16 @@ class HovercardPropContextsItemsType(TypedDict): octicon: str +class HovercardPropContextsItemsTypeForResponse(TypedDict): + """HovercardPropContextsItems""" + + message: str + octicon: str + + __all__ = ( "HovercardPropContextsItemsType", + "HovercardPropContextsItemsTypeForResponse", "HovercardType", + "HovercardTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0446.py b/githubkit/versions/v2022_11_28/types/group_0446.py index e0295b625..7bc61e6b9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0446.py +++ b/githubkit/versions/v2022_11_28/types/group_0446.py @@ -26,4 +26,19 @@ class KeySimpleType(TypedDict): last_used: NotRequired[Union[datetime, None]] -__all__ = ("KeySimpleType",) +class KeySimpleTypeForResponse(TypedDict): + """Key Simple + + Key Simple + """ + + id: int + key: str + created_at: NotRequired[str] + last_used: NotRequired[Union[str, None]] + + +__all__ = ( + "KeySimpleType", + "KeySimpleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0447.py b/githubkit/versions/v2022_11_28/types/group_0447.py index 27b38da1e..4c0ea2e42 100644 --- a/githubkit/versions/v2022_11_28/types/group_0447.py +++ b/githubkit/versions/v2022_11_28/types/group_0447.py @@ -22,6 +22,18 @@ class BillingPremiumRequestUsageReportUserType(TypedDict): usage_items: list[BillingPremiumRequestUsageReportUserPropUsageItemsItemsType] +class BillingPremiumRequestUsageReportUserTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUser""" + + time_period: BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse + user: str + product: NotRequired[str] + model: NotRequired[str] + usage_items: list[ + BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse + ] + + class BillingPremiumRequestUsageReportUserPropTimePeriodType(TypedDict): """BillingPremiumRequestUsageReportUserPropTimePeriod""" @@ -30,6 +42,14 @@ class BillingPremiumRequestUsageReportUserPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUserPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingPremiumRequestUsageReportUserPropUsageItemsItemsType(TypedDict): """BillingPremiumRequestUsageReportUserPropUsageItemsItems""" @@ -46,8 +66,27 @@ class BillingPremiumRequestUsageReportUserPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingPremiumRequestUsageReportUserPropUsageItemsItems""" + + product: str + sku: str + model: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingPremiumRequestUsageReportUserPropTimePeriodType", + "BillingPremiumRequestUsageReportUserPropTimePeriodTypeForResponse", "BillingPremiumRequestUsageReportUserPropUsageItemsItemsType", + "BillingPremiumRequestUsageReportUserPropUsageItemsItemsTypeForResponse", "BillingPremiumRequestUsageReportUserType", + "BillingPremiumRequestUsageReportUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0448.py b/githubkit/versions/v2022_11_28/types/group_0448.py index 4f0fc4229..2ae230d2a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0448.py +++ b/githubkit/versions/v2022_11_28/types/group_0448.py @@ -18,6 +18,14 @@ class BillingUsageReportUserType(TypedDict): usage_items: NotRequired[list[BillingUsageReportUserPropUsageItemsItemsType]] +class BillingUsageReportUserTypeForResponse(TypedDict): + """BillingUsageReportUser""" + + usage_items: NotRequired[ + list[BillingUsageReportUserPropUsageItemsItemsTypeForResponse] + ] + + class BillingUsageReportUserPropUsageItemsItemsType(TypedDict): """BillingUsageReportUserPropUsageItemsItems""" @@ -33,7 +41,24 @@ class BillingUsageReportUserPropUsageItemsItemsType(TypedDict): repository_name: NotRequired[str] +class BillingUsageReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageReportUserPropUsageItemsItems""" + + date: str + product: str + sku: str + quantity: int + unit_type: str + price_per_unit: float + gross_amount: float + discount_amount: float + net_amount: float + repository_name: NotRequired[str] + + __all__ = ( "BillingUsageReportUserPropUsageItemsItemsType", + "BillingUsageReportUserPropUsageItemsItemsTypeForResponse", "BillingUsageReportUserType", + "BillingUsageReportUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0449.py b/githubkit/versions/v2022_11_28/types/group_0449.py index 07602a484..09deddd97 100644 --- a/githubkit/versions/v2022_11_28/types/group_0449.py +++ b/githubkit/versions/v2022_11_28/types/group_0449.py @@ -23,6 +23,17 @@ class BillingUsageSummaryReportUserType(TypedDict): usage_items: list[BillingUsageSummaryReportUserPropUsageItemsItemsType] +class BillingUsageSummaryReportUserTypeForResponse(TypedDict): + """BillingUsageSummaryReportUser""" + + time_period: BillingUsageSummaryReportUserPropTimePeriodTypeForResponse + user: str + repository: NotRequired[str] + product: NotRequired[str] + sku: NotRequired[str] + usage_items: list[BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse] + + class BillingUsageSummaryReportUserPropTimePeriodType(TypedDict): """BillingUsageSummaryReportUserPropTimePeriod""" @@ -31,6 +42,14 @@ class BillingUsageSummaryReportUserPropTimePeriodType(TypedDict): day: NotRequired[int] +class BillingUsageSummaryReportUserPropTimePeriodTypeForResponse(TypedDict): + """BillingUsageSummaryReportUserPropTimePeriod""" + + year: int + month: NotRequired[int] + day: NotRequired[int] + + class BillingUsageSummaryReportUserPropUsageItemsItemsType(TypedDict): """BillingUsageSummaryReportUserPropUsageItemsItems""" @@ -46,8 +65,26 @@ class BillingUsageSummaryReportUserPropUsageItemsItemsType(TypedDict): net_amount: float +class BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse(TypedDict): + """BillingUsageSummaryReportUserPropUsageItemsItems""" + + product: str + sku: str + unit_type: str + price_per_unit: float + gross_quantity: float + gross_amount: float + discount_quantity: float + discount_amount: float + net_quantity: float + net_amount: float + + __all__ = ( "BillingUsageSummaryReportUserPropTimePeriodType", + "BillingUsageSummaryReportUserPropTimePeriodTypeForResponse", "BillingUsageSummaryReportUserPropUsageItemsItemsType", + "BillingUsageSummaryReportUserPropUsageItemsItemsTypeForResponse", "BillingUsageSummaryReportUserType", + "BillingUsageSummaryReportUserTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0450.py b/githubkit/versions/v2022_11_28/types/group_0450.py index 7ec29c5b4..7db791926 100644 --- a/githubkit/versions/v2022_11_28/types/group_0450.py +++ b/githubkit/versions/v2022_11_28/types/group_0450.py @@ -37,4 +37,30 @@ class EnterpriseWebhooksType(TypedDict): avatar_url: str -__all__ = ("EnterpriseWebhooksType",) +class EnterpriseWebhooksTypeForResponse(TypedDict): + """Enterprise + + An enterprise on GitHub. Webhook payloads contain the `enterprise` property when + the webhook is configured + on an enterprise account or an organization that's part of an enterprise + account. For more information, + see "[About enterprise accounts](https://docs.github.com/admin/overview/about- + enterprise-accounts)." + """ + + description: NotRequired[Union[str, None]] + html_url: str + website_url: NotRequired[Union[str, None]] + id: int + node_id: str + name: str + slug: str + created_at: Union[str, None] + updated_at: Union[str, None] + avatar_url: str + + +__all__ = ( + "EnterpriseWebhooksType", + "EnterpriseWebhooksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0451.py b/githubkit/versions/v2022_11_28/types/group_0451.py index bbc5a360f..2b52bf70f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0451.py +++ b/githubkit/versions/v2022_11_28/types/group_0451.py @@ -26,4 +26,21 @@ class SimpleInstallationType(TypedDict): node_id: str -__all__ = ("SimpleInstallationType",) +class SimpleInstallationTypeForResponse(TypedDict): + """Simple Installation + + The GitHub App installation. Webhook payloads contain the `installation` + property when the event is configured + for and sent to a GitHub App. For more information, + see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating- + github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + """ + + id: int + node_id: str + + +__all__ = ( + "SimpleInstallationType", + "SimpleInstallationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0452.py b/githubkit/versions/v2022_11_28/types/group_0452.py index b52264ecb..db1a77200 100644 --- a/githubkit/versions/v2022_11_28/types/group_0452.py +++ b/githubkit/versions/v2022_11_28/types/group_0452.py @@ -36,4 +36,30 @@ class OrganizationSimpleWebhooksType(TypedDict): description: Union[str, None] -__all__ = ("OrganizationSimpleWebhooksType",) +class OrganizationSimpleWebhooksTypeForResponse(TypedDict): + """Organization Simple + + A GitHub organization. Webhook payloads contain the `organization` property when + the webhook is configured for an + organization, or when the event occurs from activity in a repository owned by an + organization. + """ + + login: str + id: int + node_id: str + url: str + repos_url: str + events_url: str + hooks_url: str + issues_url: str + members_url: str + public_members_url: str + avatar_url: str + description: Union[str, None] + + +__all__ = ( + "OrganizationSimpleWebhooksType", + "OrganizationSimpleWebhooksTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0453.py b/githubkit/versions/v2022_11_28/types/group_0453.py index 5ba060a68..f12a66aa7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0453.py +++ b/githubkit/versions/v2022_11_28/types/group_0453.py @@ -13,8 +13,8 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0019 import LicenseSimpleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0019 import LicenseSimpleType, LicenseSimpleTypeForResponse class RepositoryWebhooksType(TypedDict): @@ -131,6 +131,122 @@ class RepositoryWebhooksType(TypedDict): anonymous_access_enabled: NotRequired[bool] +class RepositoryWebhooksTypeForResponse(TypedDict): + """Repository + + The repository on GitHub where the event occurred. Webhook payloads contain the + `repository` property + when the event occurs from activity in a repository. + """ + + id: int + node_id: str + name: str + full_name: str + license_: Union[None, LicenseSimpleTypeForResponse] + organization: NotRequired[Union[None, SimpleUserTypeForResponse]] + forks: int + permissions: NotRequired[RepositoryWebhooksPropPermissionsTypeForResponse] + owner: SimpleUserTypeForResponse + private: bool + html_url: str + description: Union[str, None] + fork: bool + url: str + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + downloads_url: str + events_url: str + forks_url: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + notifications_url: str + pulls_url: str + releases_url: str + ssh_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + clone_url: str + mirror_url: Union[str, None] + hooks_url: str + svn_url: str + homepage: Union[str, None] + language: Union[str, None] + forks_count: int + stargazers_count: int + watchers_count: int + size: int + default_branch: str + open_issues_count: int + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + custom_properties: NotRequired[ + RepositoryWebhooksPropCustomPropertiesTypeForResponse + ] + has_issues: bool + has_projects: bool + has_wiki: bool + has_pages: bool + has_downloads: bool + has_discussions: NotRequired[bool] + archived: bool + disabled: bool + visibility: NotRequired[str] + pushed_at: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + allow_rebase_merge: NotRequired[bool] + template_repository: NotRequired[ + Union[RepositoryWebhooksPropTemplateRepositoryTypeForResponse, None] + ] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + open_issues: int + watchers: int + master_branch: NotRequired[str] + starred_at: NotRequired[str] + anonymous_access_enabled: NotRequired[bool] + + class RepositoryWebhooksPropPermissionsType(TypedDict): """RepositoryWebhooksPropPermissions""" @@ -141,6 +257,16 @@ class RepositoryWebhooksPropPermissionsType(TypedDict): maintain: NotRequired[bool] +class RepositoryWebhooksPropPermissionsTypeForResponse(TypedDict): + """RepositoryWebhooksPropPermissions""" + + admin: bool + pull: bool + triage: NotRequired[bool] + push: bool + maintain: NotRequired[bool] + + RepositoryWebhooksPropCustomPropertiesType: TypeAlias = dict[str, Any] """RepositoryWebhooksPropCustomProperties @@ -150,6 +276,15 @@ class RepositoryWebhooksPropPermissionsType(TypedDict): """ +RepositoryWebhooksPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""RepositoryWebhooksPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class RepositoryWebhooksPropTemplateRepositoryType(TypedDict): """RepositoryWebhooksPropTemplateRepository""" @@ -246,6 +381,102 @@ class RepositoryWebhooksPropTemplateRepositoryType(TypedDict): network_count: NotRequired[int] +class RepositoryWebhooksPropTemplateRepositoryTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepository""" + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + full_name: NotRequired[str] + owner: NotRequired[RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse] + private: NotRequired[bool] + html_url: NotRequired[str] + description: NotRequired[str] + fork: NotRequired[bool] + url: NotRequired[str] + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + forks_url: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + git_url: NotRequired[str] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + notifications_url: NotRequired[str] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + ssh_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + clone_url: NotRequired[str] + mirror_url: NotRequired[str] + hooks_url: NotRequired[str] + svn_url: NotRequired[str] + homepage: NotRequired[str] + language: NotRequired[str] + forks_count: NotRequired[int] + stargazers_count: NotRequired[int] + watchers_count: NotRequired[int] + size: NotRequired[int] + default_branch: NotRequired[str] + open_issues_count: NotRequired[int] + is_template: NotRequired[bool] + topics: NotRequired[list[str]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_pages: NotRequired[bool] + has_downloads: NotRequired[bool] + archived: NotRequired[bool] + disabled: NotRequired[bool] + visibility: NotRequired[str] + pushed_at: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + permissions: NotRequired[ + RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse + ] + allow_rebase_merge: NotRequired[bool] + temp_clone_token: NotRequired[Union[str, None]] + allow_squash_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + allow_merge_commit: NotRequired[bool] + subscribers_count: NotRequired[int] + network_count: NotRequired[int] + + class RepositoryWebhooksPropTemplateRepositoryPropOwnerType(TypedDict): """RepositoryWebhooksPropTemplateRepositoryPropOwner""" @@ -269,6 +500,29 @@ class RepositoryWebhooksPropTemplateRepositoryPropOwnerType(TypedDict): site_admin: NotRequired[bool] +class RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepositoryPropOwner""" + + login: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + avatar_url: NotRequired[str] + gravatar_id: NotRequired[str] + url: NotRequired[str] + html_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + organizations_url: NotRequired[str] + repos_url: NotRequired[str] + events_url: NotRequired[str] + received_events_url: NotRequired[str] + type: NotRequired[str] + site_admin: NotRequired[bool] + + class RepositoryWebhooksPropTemplateRepositoryPropPermissionsType(TypedDict): """RepositoryWebhooksPropTemplateRepositoryPropPermissions""" @@ -279,11 +533,27 @@ class RepositoryWebhooksPropTemplateRepositoryPropPermissionsType(TypedDict): pull: NotRequired[bool] +class RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse(TypedDict): + """RepositoryWebhooksPropTemplateRepositoryPropPermissions""" + + admin: NotRequired[bool] + maintain: NotRequired[bool] + push: NotRequired[bool] + triage: NotRequired[bool] + pull: NotRequired[bool] + + __all__ = ( "RepositoryWebhooksPropCustomPropertiesType", + "RepositoryWebhooksPropCustomPropertiesTypeForResponse", "RepositoryWebhooksPropPermissionsType", + "RepositoryWebhooksPropPermissionsTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropOwnerType", + "RepositoryWebhooksPropTemplateRepositoryPropOwnerTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryPropPermissionsType", + "RepositoryWebhooksPropTemplateRepositoryPropPermissionsTypeForResponse", "RepositoryWebhooksPropTemplateRepositoryType", + "RepositoryWebhooksPropTemplateRepositoryTypeForResponse", "RepositoryWebhooksType", + "RepositoryWebhooksTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0454.py b/githubkit/versions/v2022_11_28/types/group_0454.py index fcc7b35f5..66445a3bd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0454.py +++ b/githubkit/versions/v2022_11_28/types/group_0454.py @@ -57,4 +57,50 @@ class WebhooksRuleType(TypedDict): updated_at: datetime -__all__ = ("WebhooksRuleType",) +class WebhooksRuleTypeForResponse(TypedDict): + """branch protection rule + + The branch protection rule. Includes a `name` and all the [branch protection + settings](https://docs.github.com/github/administering-a-repository/defining- + the-mergeability-of-pull-requests/about-protected-branches#about-branch- + protection-settings) applied to branches that match the name. Binary settings + are boolean. Multi-level configurations are one of `off`, `non_admins`, or + `everyone`. Actor and build lists are arrays of strings. + """ + + admin_enforced: bool + allow_deletions_enforcement_level: Literal["off", "non_admins", "everyone"] + allow_force_pushes_enforcement_level: Literal["off", "non_admins", "everyone"] + authorized_actor_names: list[str] + authorized_actors_only: bool + authorized_dismissal_actors_only: bool + create_protected: NotRequired[bool] + created_at: str + dismiss_stale_reviews_on_push: bool + id: int + ignore_approvals_from_contributors: bool + linear_history_requirement_enforcement_level: Literal[ + "off", "non_admins", "everyone" + ] + lock_branch_enforcement_level: Literal["off", "non_admins", "everyone"] + lock_allows_fork_sync: NotRequired[bool] + merge_queue_enforcement_level: Literal["off", "non_admins", "everyone"] + name: str + pull_request_reviews_enforcement_level: Literal["off", "non_admins", "everyone"] + repository_id: int + require_code_owner_review: bool + require_last_push_approval: NotRequired[bool] + required_approving_review_count: int + required_conversation_resolution_level: Literal["off", "non_admins", "everyone"] + required_deployments_enforcement_level: Literal["off", "non_admins", "everyone"] + required_status_checks: list[str] + required_status_checks_enforcement_level: Literal["off", "non_admins", "everyone"] + signature_requirement_enforcement_level: Literal["off", "non_admins", "everyone"] + strict_required_status_checks_policy: bool + updated_at: str + + +__all__ = ( + "WebhooksRuleType", + "WebhooksRuleTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0455.py b/githubkit/versions/v2022_11_28/types/group_0455.py index 6b943d0ff..9534a264c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0455.py +++ b/githubkit/versions/v2022_11_28/types/group_0455.py @@ -13,9 +13,9 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0061 import MinimalRepositoryType -from .group_0235 import PullRequestMinimalType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse +from .group_0235 import PullRequestMinimalType, PullRequestMinimalTypeForResponse class SimpleCheckSuiteType(TypedDict): @@ -57,4 +57,46 @@ class SimpleCheckSuiteType(TypedDict): url: NotRequired[str] -__all__ = ("SimpleCheckSuiteType",) +class SimpleCheckSuiteTypeForResponse(TypedDict): + """SimpleCheckSuite + + A suite of checks performed on the code of a given code change + """ + + after: NotRequired[Union[str, None]] + app: NotRequired[Union[IntegrationTypeForResponse, None]] + before: NotRequired[Union[str, None]] + conclusion: NotRequired[ + Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "stale", + "startup_failure", + ], + ] + ] + created_at: NotRequired[str] + head_branch: NotRequired[Union[str, None]] + head_sha: NotRequired[str] + id: NotRequired[int] + node_id: NotRequired[str] + pull_requests: NotRequired[list[PullRequestMinimalTypeForResponse]] + repository: NotRequired[MinimalRepositoryTypeForResponse] + status: NotRequired[ + Literal["queued", "in_progress", "completed", "pending", "waiting"] + ] + updated_at: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "SimpleCheckSuiteType", + "SimpleCheckSuiteTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0456.py b/githubkit/versions/v2022_11_28/types/group_0456.py index 6eb6c86d5..ae5baa1ec 100644 --- a/githubkit/versions/v2022_11_28/types/group_0456.py +++ b/githubkit/versions/v2022_11_28/types/group_0456.py @@ -13,10 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType -from .group_0235 import PullRequestMinimalType -from .group_0262 import DeploymentSimpleType -from .group_0455 import SimpleCheckSuiteType +from .group_0010 import IntegrationType, IntegrationTypeForResponse +from .group_0235 import PullRequestMinimalType, PullRequestMinimalTypeForResponse +from .group_0262 import DeploymentSimpleType, DeploymentSimpleTypeForResponse +from .group_0455 import SimpleCheckSuiteType, SimpleCheckSuiteTypeForResponse class CheckRunWithSimpleCheckSuiteType(TypedDict): @@ -59,6 +59,46 @@ class CheckRunWithSimpleCheckSuiteType(TypedDict): url: str +class CheckRunWithSimpleCheckSuiteTypeForResponse(TypedDict): + """CheckRun + + A check performed on the code of a given code change + """ + + app: Union[IntegrationTypeForResponse, None] + check_suite: SimpleCheckSuiteTypeForResponse + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "waiting", + "pending", + "startup_failure", + "stale", + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + ], + ] + deployment: NotRequired[DeploymentSimpleTypeForResponse] + details_url: str + external_id: str + head_sha: str + html_url: str + id: int + name: str + node_id: str + output: CheckRunWithSimpleCheckSuitePropOutputTypeForResponse + pull_requests: list[PullRequestMinimalTypeForResponse] + started_at: str + status: Literal["queued", "in_progress", "completed", "pending"] + url: str + + class CheckRunWithSimpleCheckSuitePropOutputType(TypedDict): """CheckRunWithSimpleCheckSuitePropOutput""" @@ -69,7 +109,19 @@ class CheckRunWithSimpleCheckSuitePropOutputType(TypedDict): title: Union[str, None] +class CheckRunWithSimpleCheckSuitePropOutputTypeForResponse(TypedDict): + """CheckRunWithSimpleCheckSuitePropOutput""" + + annotations_count: int + annotations_url: str + summary: Union[str, None] + text: Union[str, None] + title: Union[str, None] + + __all__ = ( "CheckRunWithSimpleCheckSuitePropOutputType", + "CheckRunWithSimpleCheckSuitePropOutputTypeForResponse", "CheckRunWithSimpleCheckSuiteType", + "CheckRunWithSimpleCheckSuiteTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0457.py b/githubkit/versions/v2022_11_28/types/group_0457.py index 6420e5dfa..f6131e650 100644 --- a/githubkit/versions/v2022_11_28/types/group_0457.py +++ b/githubkit/versions/v2022_11_28/types/group_0457.py @@ -32,4 +32,26 @@ class WebhooksDeployKeyType(TypedDict): enabled: NotRequired[bool] -__all__ = ("WebhooksDeployKeyType",) +class WebhooksDeployKeyTypeForResponse(TypedDict): + """WebhooksDeployKey + + The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a- + deploy-key) resource. + """ + + added_by: NotRequired[Union[str, None]] + created_at: str + id: int + key: str + last_used: NotRequired[Union[str, None]] + read_only: bool + title: str + url: str + verified: bool + enabled: NotRequired[bool] + + +__all__ = ( + "WebhooksDeployKeyType", + "WebhooksDeployKeyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0458.py b/githubkit/versions/v2022_11_28/types/group_0458.py index 34eb3310b..c0f8a2d40 100644 --- a/githubkit/versions/v2022_11_28/types/group_0458.py +++ b/githubkit/versions/v2022_11_28/types/group_0458.py @@ -28,4 +28,22 @@ class WebhooksWorkflowType(TypedDict): url: str -__all__ = ("WebhooksWorkflowType",) +class WebhooksWorkflowTypeForResponse(TypedDict): + """Workflow""" + + badge_url: str + created_at: str + html_url: str + id: int + name: str + node_id: str + path: str + state: str + updated_at: str + url: str + + +__all__ = ( + "WebhooksWorkflowType", + "WebhooksWorkflowTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0459.py b/githubkit/versions/v2022_11_28/types/group_0459.py index c93e49162..8dd684f6d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0459.py +++ b/githubkit/versions/v2022_11_28/types/group_0459.py @@ -37,6 +37,30 @@ class WebhooksApproverType(TypedDict): user_view_type: NotRequired[str] +class WebhooksApproverTypeForResponse(TypedDict): + """WebhooksApprover""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewersItemsType(TypedDict): """WebhooksReviewersItems""" @@ -44,6 +68,15 @@ class WebhooksReviewersItemsType(TypedDict): type: NotRequired[Literal["User"]] +class WebhooksReviewersItemsTypeForResponse(TypedDict): + """WebhooksReviewersItems""" + + reviewer: NotRequired[ + Union[WebhooksReviewersItemsPropReviewerTypeForResponse, None] + ] + type: NotRequired[Literal["User"]] + + class WebhooksReviewersItemsPropReviewerType(TypedDict): """User""" @@ -70,8 +103,37 @@ class WebhooksReviewersItemsPropReviewerType(TypedDict): url: NotRequired[str] +class WebhooksReviewersItemsPropReviewerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksApproverType", + "WebhooksApproverTypeForResponse", "WebhooksReviewersItemsPropReviewerType", + "WebhooksReviewersItemsPropReviewerTypeForResponse", "WebhooksReviewersItemsType", + "WebhooksReviewersItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0460.py b/githubkit/versions/v2022_11_28/types/group_0460.py index 167cc5522..f86e93924 100644 --- a/githubkit/versions/v2022_11_28/types/group_0460.py +++ b/githubkit/versions/v2022_11_28/types/group_0460.py @@ -25,4 +25,20 @@ class WebhooksWorkflowJobRunType(TypedDict): updated_at: str -__all__ = ("WebhooksWorkflowJobRunType",) +class WebhooksWorkflowJobRunTypeForResponse(TypedDict): + """WebhooksWorkflowJobRun""" + + conclusion: None + created_at: str + environment: str + html_url: str + id: int + name: None + status: str + updated_at: str + + +__all__ = ( + "WebhooksWorkflowJobRunType", + "WebhooksWorkflowJobRunTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0461.py b/githubkit/versions/v2022_11_28/types/group_0461.py index da4062d95..6287233b7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0461.py +++ b/githubkit/versions/v2022_11_28/types/group_0461.py @@ -40,4 +40,34 @@ class WebhooksUserType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhooksUserType",) +class WebhooksUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhooksUserType", + "WebhooksUserTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0462.py b/githubkit/versions/v2022_11_28/types/group_0462.py index 15c8ec597..d405d549b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0462.py +++ b/githubkit/versions/v2022_11_28/types/group_0462.py @@ -41,6 +41,33 @@ class WebhooksAnswerType(TypedDict): user: Union[WebhooksAnswerPropUserType, None] +class WebhooksAnswerTypeForResponse(TypedDict): + """WebhooksAnswer""" + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + child_comment_count: int + created_at: str + discussion_id: int + html_url: str + id: int + node_id: str + parent_id: Union[int, None] + reactions: NotRequired[WebhooksAnswerPropReactionsTypeForResponse] + repository_url: str + updated_at: str + user: Union[WebhooksAnswerPropUserTypeForResponse, None] + + class WebhooksAnswerPropReactionsType(TypedDict): """Reactions""" @@ -56,6 +83,21 @@ class WebhooksAnswerPropReactionsType(TypedDict): url: str +class WebhooksAnswerPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksAnswerPropUserType(TypedDict): """User""" @@ -83,8 +125,38 @@ class WebhooksAnswerPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksAnswerPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksAnswerPropReactionsType", + "WebhooksAnswerPropReactionsTypeForResponse", "WebhooksAnswerPropUserType", + "WebhooksAnswerPropUserTypeForResponse", "WebhooksAnswerType", + "WebhooksAnswerTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0463.py b/githubkit/versions/v2022_11_28/types/group_0463.py index 48f1a497e..7e1c45339 100644 --- a/githubkit/versions/v2022_11_28/types/group_0463.py +++ b/githubkit/versions/v2022_11_28/types/group_0463.py @@ -54,6 +54,46 @@ class DiscussionType(TypedDict): labels: NotRequired[list[LabelType]] +class DiscussionTypeForResponse(TypedDict): + """Discussion + + A Discussion in a repository. + """ + + active_lock_reason: Union[str, None] + answer_chosen_at: Union[str, None] + answer_chosen_by: Union[DiscussionPropAnswerChosenByTypeForResponse, None] + answer_html_url: Union[str, None] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + category: DiscussionPropCategoryTypeForResponse + comments: int + created_at: str + html_url: str + id: int + locked: bool + node_id: str + number: int + reactions: NotRequired[DiscussionPropReactionsTypeForResponse] + repository_url: str + state: Literal["open", "closed", "locked", "converting", "transferring"] + state_reason: Union[None, Literal["resolved", "outdated", "duplicate", "reopened"]] + timeline_url: NotRequired[str] + title: str + updated_at: str + user: Union[DiscussionPropUserTypeForResponse, None] + labels: NotRequired[list[LabelTypeForResponse]] + + class LabelType(TypedDict): """Label @@ -70,6 +110,22 @@ class LabelType(TypedDict): default: bool +class LabelTypeForResponse(TypedDict): + """Label + + Color-coded labels help you categorize and filter your issues (just like labels + in Gmail). + """ + + id: int + node_id: str + url: str + name: str + description: Union[str, None] + color: str + default: bool + + class DiscussionPropAnswerChosenByType(TypedDict): """User""" @@ -97,6 +153,33 @@ class DiscussionPropAnswerChosenByType(TypedDict): user_view_type: NotRequired[str] +class DiscussionPropAnswerChosenByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class DiscussionPropCategoryType(TypedDict): """DiscussionPropCategory""" @@ -112,6 +195,21 @@ class DiscussionPropCategoryType(TypedDict): updated_at: str +class DiscussionPropCategoryTypeForResponse(TypedDict): + """DiscussionPropCategory""" + + created_at: str + description: str + emoji: str + id: int + is_answerable: bool + name: str + node_id: NotRequired[str] + repository_id: int + slug: str + updated_at: str + + class DiscussionPropReactionsType(TypedDict): """Reactions""" @@ -127,6 +225,21 @@ class DiscussionPropReactionsType(TypedDict): url: str +class DiscussionPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class DiscussionPropUserType(TypedDict): """User""" @@ -154,11 +267,44 @@ class DiscussionPropUserType(TypedDict): user_view_type: NotRequired[str] +class DiscussionPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "DiscussionPropAnswerChosenByType", + "DiscussionPropAnswerChosenByTypeForResponse", "DiscussionPropCategoryType", + "DiscussionPropCategoryTypeForResponse", "DiscussionPropReactionsType", + "DiscussionPropReactionsTypeForResponse", "DiscussionPropUserType", + "DiscussionPropUserTypeForResponse", "DiscussionType", + "DiscussionTypeForResponse", "LabelType", + "LabelTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0464.py b/githubkit/versions/v2022_11_28/types/group_0464.py index 4c279958b..b5efe5be0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0464.py +++ b/githubkit/versions/v2022_11_28/types/group_0464.py @@ -40,6 +40,33 @@ class WebhooksCommentType(TypedDict): user: Union[WebhooksCommentPropUserType, None] +class WebhooksCommentTypeForResponse(TypedDict): + """WebhooksComment""" + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + child_comment_count: int + created_at: str + discussion_id: int + html_url: str + id: int + node_id: str + parent_id: Union[int, None] + reactions: WebhooksCommentPropReactionsTypeForResponse + repository_url: str + updated_at: str + user: Union[WebhooksCommentPropUserTypeForResponse, None] + + class WebhooksCommentPropReactionsType(TypedDict): """Reactions""" @@ -55,6 +82,21 @@ class WebhooksCommentPropReactionsType(TypedDict): url: str +class WebhooksCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksCommentPropUserType(TypedDict): """User""" @@ -82,8 +124,38 @@ class WebhooksCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksCommentPropReactionsType", + "WebhooksCommentPropReactionsTypeForResponse", "WebhooksCommentPropUserType", + "WebhooksCommentPropUserTypeForResponse", "WebhooksCommentType", + "WebhooksCommentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0465.py b/githubkit/versions/v2022_11_28/types/group_0465.py index 469b744f3..396f905a0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0465.py +++ b/githubkit/versions/v2022_11_28/types/group_0465.py @@ -25,4 +25,19 @@ class WebhooksLabelType(TypedDict): url: str -__all__ = ("WebhooksLabelType",) +class WebhooksLabelTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +__all__ = ( + "WebhooksLabelType", + "WebhooksLabelTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0466.py b/githubkit/versions/v2022_11_28/types/group_0466.py index 60f7cc9c6..b0d16caa0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0466.py +++ b/githubkit/versions/v2022_11_28/types/group_0466.py @@ -22,4 +22,17 @@ class WebhooksRepositoriesItemsType(TypedDict): private: bool -__all__ = ("WebhooksRepositoriesItemsType",) +class WebhooksRepositoriesItemsTypeForResponse(TypedDict): + """WebhooksRepositoriesItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + +__all__ = ( + "WebhooksRepositoriesItemsType", + "WebhooksRepositoriesItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0467.py b/githubkit/versions/v2022_11_28/types/group_0467.py index afa5d37c4..8cf3280d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0467.py +++ b/githubkit/versions/v2022_11_28/types/group_0467.py @@ -22,4 +22,17 @@ class WebhooksRepositoriesAddedItemsType(TypedDict): private: bool -__all__ = ("WebhooksRepositoriesAddedItemsType",) +class WebhooksRepositoriesAddedItemsTypeForResponse(TypedDict): + """WebhooksRepositoriesAddedItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + +__all__ = ( + "WebhooksRepositoriesAddedItemsType", + "WebhooksRepositoriesAddedItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0468.py b/githubkit/versions/v2022_11_28/types/group_0468.py index 62e701472..05f626482 100644 --- a/githubkit/versions/v2022_11_28/types/group_0468.py +++ b/githubkit/versions/v2022_11_28/types/group_0468.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class WebhooksIssueCommentType(TypedDict): @@ -46,6 +46,36 @@ class WebhooksIssueCommentType(TypedDict): user: Union[WebhooksIssueCommentPropUserType, None] +class WebhooksIssueCommentTypeForResponse(TypedDict): + """issue comment + + The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) + itself. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + created_at: str + html_url: str + id: int + issue_url: str + node_id: str + performed_via_github_app: Union[IntegrationTypeForResponse, None] + reactions: WebhooksIssueCommentPropReactionsTypeForResponse + updated_at: str + url: str + user: Union[WebhooksIssueCommentPropUserTypeForResponse, None] + + class WebhooksIssueCommentPropReactionsType(TypedDict): """Reactions""" @@ -61,6 +91,21 @@ class WebhooksIssueCommentPropReactionsType(TypedDict): url: str +class WebhooksIssueCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssueCommentPropUserType(TypedDict): """User""" @@ -88,8 +133,38 @@ class WebhooksIssueCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssueCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssueCommentPropReactionsType", + "WebhooksIssueCommentPropReactionsTypeForResponse", "WebhooksIssueCommentPropUserType", + "WebhooksIssueCommentPropUserTypeForResponse", "WebhooksIssueCommentType", + "WebhooksIssueCommentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0469.py b/githubkit/versions/v2022_11_28/types/group_0469.py index dea7603b6..37eea998a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0469.py +++ b/githubkit/versions/v2022_11_28/types/group_0469.py @@ -21,13 +21,30 @@ class WebhooksChangesType(TypedDict): body: NotRequired[WebhooksChangesPropBodyType] +class WebhooksChangesTypeForResponse(TypedDict): + """WebhooksChanges + + The changes to the comment. + """ + + body: NotRequired[WebhooksChangesPropBodyTypeForResponse] + + class WebhooksChangesPropBodyType(TypedDict): """WebhooksChangesPropBody""" from_: str +class WebhooksChangesPropBodyTypeForResponse(TypedDict): + """WebhooksChangesPropBody""" + + from_: str + + __all__ = ( "WebhooksChangesPropBodyType", + "WebhooksChangesPropBodyTypeForResponse", "WebhooksChangesType", + "WebhooksChangesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0470.py b/githubkit/versions/v2022_11_28/types/group_0470.py index f07316690..b8b9ece57 100644 --- a/githubkit/versions/v2022_11_28/types/group_0470.py +++ b/githubkit/versions/v2022_11_28/types/group_0470.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhooksIssueType(TypedDict): @@ -73,6 +78,61 @@ class WebhooksIssueType(TypedDict): user: Union[WebhooksIssuePropUserType, None] +class WebhooksIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[Union[WebhooksIssuePropAssigneeTypeForResponse, None]] + assignees: list[Union[WebhooksIssuePropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhooksIssuePropLabelsItemsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhooksIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[WebhooksIssuePropPerformedViaGithubAppTypeForResponse, None] + ] + pull_request: NotRequired[WebhooksIssuePropPullRequestTypeForResponse] + reactions: WebhooksIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhooksIssuePropUserTypeForResponse, None] + + class WebhooksIssuePropAssigneeType(TypedDict): """User""" @@ -100,6 +160,33 @@ class WebhooksIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +214,33 @@ class WebhooksIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +253,18 @@ class WebhooksIssuePropLabelsItemsType(TypedDict): url: str +class WebhooksIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +289,30 @@ class WebhooksIssuePropMilestoneType(TypedDict): url: str +class WebhooksIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksIssuePropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +340,33 @@ class WebhooksIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -213,6 +390,31 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhooksIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhooksIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -240,6 +442,33 @@ class WebhooksIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssuePropPerformedViaGithubAppPropPermissionsType(TypedDict): """WebhooksIssuePropPerformedViaGithubAppPropPermissions @@ -283,6 +512,49 @@ class WebhooksIssuePropPerformedViaGithubAppPropPermissionsType(TypedDict): workflows: NotRequired[Literal["read", "write"]] +class WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse(TypedDict): + """WebhooksIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhooksIssuePropPullRequestType(TypedDict): """WebhooksIssuePropPullRequest""" @@ -293,6 +565,16 @@ class WebhooksIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhooksIssuePropPullRequestTypeForResponse(TypedDict): + """WebhooksIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhooksIssuePropReactionsType(TypedDict): """Reactions""" @@ -308,6 +590,21 @@ class WebhooksIssuePropReactionsType(TypedDict): url: str +class WebhooksIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssuePropUserType(TypedDict): """User""" @@ -335,17 +632,56 @@ class WebhooksIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssuePropAssigneeType", + "WebhooksIssuePropAssigneeTypeForResponse", "WebhooksIssuePropAssigneesItemsType", + "WebhooksIssuePropAssigneesItemsTypeForResponse", "WebhooksIssuePropLabelsItemsType", + "WebhooksIssuePropLabelsItemsTypeForResponse", "WebhooksIssuePropMilestonePropCreatorType", + "WebhooksIssuePropMilestonePropCreatorTypeForResponse", "WebhooksIssuePropMilestoneType", + "WebhooksIssuePropMilestoneTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropOwnerType", + "WebhooksIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssuePropPerformedViaGithubAppType", + "WebhooksIssuePropPerformedViaGithubAppTypeForResponse", "WebhooksIssuePropPullRequestType", + "WebhooksIssuePropPullRequestTypeForResponse", "WebhooksIssuePropReactionsType", + "WebhooksIssuePropReactionsTypeForResponse", "WebhooksIssuePropUserType", + "WebhooksIssuePropUserTypeForResponse", "WebhooksIssueType", + "WebhooksIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0471.py b/githubkit/versions/v2022_11_28/types/group_0471.py index 78c0b9fb1..315cb55dd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0471.py +++ b/githubkit/versions/v2022_11_28/types/group_0471.py @@ -38,6 +38,30 @@ class WebhooksMilestoneType(TypedDict): url: str +class WebhooksMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksMilestonePropCreatorType(TypedDict): """User""" @@ -65,7 +89,36 @@ class WebhooksMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMilestonePropCreatorType", + "WebhooksMilestonePropCreatorTypeForResponse", "WebhooksMilestoneType", + "WebhooksMilestoneTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0472.py b/githubkit/versions/v2022_11_28/types/group_0472.py index 6d5739558..1682554ee 100644 --- a/githubkit/versions/v2022_11_28/types/group_0472.py +++ b/githubkit/versions/v2022_11_28/types/group_0472.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhooksIssue2Type(TypedDict): @@ -73,6 +78,61 @@ class WebhooksIssue2Type(TypedDict): user: Union[WebhooksIssue2PropUserType, None] +class WebhooksIssue2TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[Union[WebhooksIssue2PropAssigneeTypeForResponse, None]] + assignees: list[Union[WebhooksIssue2PropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhooksIssue2PropLabelsItemsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhooksIssue2PropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[WebhooksIssue2PropPerformedViaGithubAppTypeForResponse, None] + ] + pull_request: NotRequired[WebhooksIssue2PropPullRequestTypeForResponse] + reactions: WebhooksIssue2PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhooksIssue2PropUserTypeForResponse, None] + + class WebhooksIssue2PropAssigneeType(TypedDict): """User""" @@ -100,6 +160,33 @@ class WebhooksIssue2PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +214,33 @@ class WebhooksIssue2PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +253,18 @@ class WebhooksIssue2PropLabelsItemsType(TypedDict): url: str +class WebhooksIssue2PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksIssue2PropMilestoneType(TypedDict): """Milestone @@ -163,6 +289,30 @@ class WebhooksIssue2PropMilestoneType(TypedDict): url: str +class WebhooksIssue2PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksIssue2PropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksIssue2PropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +340,33 @@ class WebhooksIssue2PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropPerformedViaGithubAppType(TypedDict): """App @@ -213,6 +390,31 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhooksIssue2PropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhooksIssue2PropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -240,6 +442,33 @@ class WebhooksIssue2PropPerformedViaGithubAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType(TypedDict): """WebhooksIssue2PropPerformedViaGithubAppPropPermissions @@ -283,6 +512,49 @@ class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType(TypedDict): workflows: NotRequired[Literal["read", "write"]] +class WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse(TypedDict): + """WebhooksIssue2PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhooksIssue2PropPullRequestType(TypedDict): """WebhooksIssue2PropPullRequest""" @@ -293,6 +565,16 @@ class WebhooksIssue2PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhooksIssue2PropPullRequestTypeForResponse(TypedDict): + """WebhooksIssue2PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhooksIssue2PropReactionsType(TypedDict): """Reactions""" @@ -308,6 +590,21 @@ class WebhooksIssue2PropReactionsType(TypedDict): url: str +class WebhooksIssue2PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksIssue2PropUserType(TypedDict): """User""" @@ -335,17 +632,56 @@ class WebhooksIssue2PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksIssue2PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksIssue2PropAssigneeType", + "WebhooksIssue2PropAssigneeTypeForResponse", "WebhooksIssue2PropAssigneesItemsType", + "WebhooksIssue2PropAssigneesItemsTypeForResponse", "WebhooksIssue2PropLabelsItemsType", + "WebhooksIssue2PropLabelsItemsTypeForResponse", "WebhooksIssue2PropMilestonePropCreatorType", + "WebhooksIssue2PropMilestonePropCreatorTypeForResponse", "WebhooksIssue2PropMilestoneType", + "WebhooksIssue2PropMilestoneTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropOwnerType", + "WebhooksIssue2PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsType", + "WebhooksIssue2PropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhooksIssue2PropPerformedViaGithubAppType", + "WebhooksIssue2PropPerformedViaGithubAppTypeForResponse", "WebhooksIssue2PropPullRequestType", + "WebhooksIssue2PropPullRequestTypeForResponse", "WebhooksIssue2PropReactionsType", + "WebhooksIssue2PropReactionsTypeForResponse", "WebhooksIssue2PropUserType", + "WebhooksIssue2PropUserTypeForResponse", "WebhooksIssue2Type", + "WebhooksIssue2TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0473.py b/githubkit/versions/v2022_11_28/types/group_0473.py index 12263b7bb..b8be9f76a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0473.py +++ b/githubkit/versions/v2022_11_28/types/group_0473.py @@ -40,4 +40,34 @@ class WebhooksUserMannequinType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhooksUserMannequinType",) +class WebhooksUserMannequinTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhooksUserMannequinType", + "WebhooksUserMannequinTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0474.py b/githubkit/versions/v2022_11_28/types/group_0474.py index 442613e28..d330c0535 100644 --- a/githubkit/versions/v2022_11_28/types/group_0474.py +++ b/githubkit/versions/v2022_11_28/types/group_0474.py @@ -25,6 +25,18 @@ class WebhooksMarketplacePurchaseType(TypedDict): unit_count: int +class WebhooksMarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase""" + + account: WebhooksMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: Union[str, None] + on_free_trial: bool + plan: WebhooksMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhooksMarketplacePurchasePropAccountType(TypedDict): """WebhooksMarketplacePurchasePropAccount""" @@ -35,6 +47,16 @@ class WebhooksMarketplacePurchasePropAccountType(TypedDict): type: str +class WebhooksMarketplacePurchasePropAccountTypeForResponse(TypedDict): + """WebhooksMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhooksMarketplacePurchasePropPlanType(TypedDict): """WebhooksMarketplacePurchasePropPlan""" @@ -49,8 +71,25 @@ class WebhooksMarketplacePurchasePropPlanType(TypedDict): yearly_price_in_cents: int +class WebhooksMarketplacePurchasePropPlanTypeForResponse(TypedDict): + """WebhooksMarketplacePurchasePropPlan""" + + bullets: list[Union[str, None]] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhooksMarketplacePurchasePropAccountType", + "WebhooksMarketplacePurchasePropAccountTypeForResponse", "WebhooksMarketplacePurchasePropPlanType", + "WebhooksMarketplacePurchasePropPlanTypeForResponse", "WebhooksMarketplacePurchaseType", + "WebhooksMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0475.py b/githubkit/versions/v2022_11_28/types/group_0475.py index 38627d866..516262c14 100644 --- a/githubkit/versions/v2022_11_28/types/group_0475.py +++ b/githubkit/versions/v2022_11_28/types/group_0475.py @@ -25,6 +25,18 @@ class WebhooksPreviousMarketplacePurchaseType(TypedDict): unit_count: int +class WebhooksPreviousMarketplacePurchaseTypeForResponse(TypedDict): + """Marketplace Purchase""" + + account: WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: None + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: bool + plan: WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhooksPreviousMarketplacePurchasePropAccountType(TypedDict): """WebhooksPreviousMarketplacePurchasePropAccount""" @@ -35,6 +47,16 @@ class WebhooksPreviousMarketplacePurchasePropAccountType(TypedDict): type: str +class WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse(TypedDict): + """WebhooksPreviousMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhooksPreviousMarketplacePurchasePropPlanType(TypedDict): """WebhooksPreviousMarketplacePurchasePropPlan""" @@ -49,8 +71,25 @@ class WebhooksPreviousMarketplacePurchasePropPlanType(TypedDict): yearly_price_in_cents: int +class WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse(TypedDict): + """WebhooksPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhooksPreviousMarketplacePurchasePropAccountType", + "WebhooksPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhooksPreviousMarketplacePurchasePropPlanType", + "WebhooksPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhooksPreviousMarketplacePurchaseType", + "WebhooksPreviousMarketplacePurchaseTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0476.py b/githubkit/versions/v2022_11_28/types/group_0476.py index d69f1a75b..26ccdb330 100644 --- a/githubkit/versions/v2022_11_28/types/group_0476.py +++ b/githubkit/versions/v2022_11_28/types/group_0476.py @@ -40,6 +40,33 @@ class WebhooksTeamType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeamTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[Union[WebhooksTeamPropParentTypeForResponse, None]] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + type: NotRequired[Literal["enterprise", "organization"]] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class WebhooksTeamPropParentType(TypedDict): """WebhooksTeamPropParent""" @@ -60,7 +87,29 @@ class WebhooksTeamPropParentType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeamPropParentTypeForResponse(TypedDict): + """WebhooksTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + notification_setting: Literal["notifications_enabled", "notifications_disabled"] + repositories_url: str + slug: str + url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + __all__ = ( "WebhooksTeamPropParentType", + "WebhooksTeamPropParentTypeForResponse", "WebhooksTeamType", + "WebhooksTeamTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0477.py b/githubkit/versions/v2022_11_28/types/group_0477.py index 8c66d7aad..435d4b421 100644 --- a/githubkit/versions/v2022_11_28/types/group_0477.py +++ b/githubkit/versions/v2022_11_28/types/group_0477.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0236 import SimpleCommitType +from .group_0236 import SimpleCommitType, SimpleCommitTypeForResponse class MergeGroupType(TypedDict): @@ -27,4 +27,20 @@ class MergeGroupType(TypedDict): head_commit: SimpleCommitType -__all__ = ("MergeGroupType",) +class MergeGroupTypeForResponse(TypedDict): + """Merge Group + + A group of pull requests that the merge queue has grouped together to be merged. + """ + + head_sha: str + head_ref: str + base_sha: str + base_ref: str + head_commit: SimpleCommitTypeForResponse + + +__all__ = ( + "MergeGroupType", + "MergeGroupTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0478.py b/githubkit/versions/v2022_11_28/types/group_0478.py index 84341cab5..1210ba46c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0478.py +++ b/githubkit/versions/v2022_11_28/types/group_0478.py @@ -38,6 +38,30 @@ class WebhooksMilestone3Type(TypedDict): url: str +class WebhooksMilestone3TypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksMilestone3PropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksMilestone3PropCreatorType(TypedDict): """User""" @@ -65,7 +89,36 @@ class WebhooksMilestone3PropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMilestone3PropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMilestone3PropCreatorType", + "WebhooksMilestone3PropCreatorTypeForResponse", "WebhooksMilestone3Type", + "WebhooksMilestone3TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0479.py b/githubkit/versions/v2022_11_28/types/group_0479.py index 03d84e2f9..8cf000fca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0479.py +++ b/githubkit/versions/v2022_11_28/types/group_0479.py @@ -29,6 +29,22 @@ class WebhooksMembershipType(TypedDict): user: Union[WebhooksMembershipPropUserType, None] +class WebhooksMembershipTypeForResponse(TypedDict): + """Membership + + The membership between the user and the organization. Not present when the + action is `member_invited`. + """ + + organization_url: str + role: str + direct_membership: NotRequired[bool] + enterprise_teams_providing_indirect_membership: NotRequired[list[str]] + state: str + url: str + user: Union[WebhooksMembershipPropUserTypeForResponse, None] + + class WebhooksMembershipPropUserType(TypedDict): """User""" @@ -56,7 +72,36 @@ class WebhooksMembershipPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksMembershipPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksMembershipPropUserType", + "WebhooksMembershipPropUserTypeForResponse", "WebhooksMembershipType", + "WebhooksMembershipTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0480.py b/githubkit/versions/v2022_11_28/types/group_0480.py index 8767f4c9e..7dff31c8f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0480.py +++ b/githubkit/versions/v2022_11_28/types/group_0480.py @@ -12,7 +12,7 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class PersonalAccessTokenRequestType(TypedDict): @@ -37,6 +37,32 @@ class PersonalAccessTokenRequestType(TypedDict): token_last_used_at: Union[str, None] +class PersonalAccessTokenRequestTypeForResponse(TypedDict): + """Personal Access Token Request + + Details of a Personal Access Token Request. + """ + + id: int + owner: SimpleUserTypeForResponse + permissions_added: PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse + permissions_upgraded: ( + PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse + ) + permissions_result: PersonalAccessTokenRequestPropPermissionsResultTypeForResponse + repository_selection: Literal["none", "all", "subset"] + repository_count: Union[int, None] + repositories: Union[ + list[PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse], None + ] + created_at: str + token_id: int + token_name: str + token_expired: bool + token_expires_at: Union[str, None] + token_last_used_at: Union[str, None] + + class PersonalAccessTokenRequestPropRepositoriesItemsType(TypedDict): """PersonalAccessTokenRequestPropRepositoriesItems""" @@ -47,6 +73,16 @@ class PersonalAccessTokenRequestPropRepositoriesItemsType(TypedDict): private: bool +class PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropRepositoriesItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """PersonalAccessTokenRequestPropPermissionsAdded @@ -62,6 +98,23 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsAddedPropOtherType] +class PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsAdded + + New requested permissions, categorized by type of permission. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -69,6 +122,13 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsAddedPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -76,11 +136,25 @@ class PersonalAccessTokenRequestPropPermissionsAddedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsAddedPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsAddedPropOtherType: TypeAlias = dict[str, Any] """PersonalAccessTokenRequestPropPermissionsAddedPropOther """ +PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsAddedPropOther +""" + + class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """PersonalAccessTokenRequestPropPermissionsUpgraded @@ -97,6 +171,24 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType] +class PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsUpgraded + + Requested permissions that elevate access for a previously approved request for + access, categorized by type of permission. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -104,6 +196,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -111,6 +210,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType: TypeAlias = dict[ str, Any ] @@ -118,6 +224,13 @@ class PersonalAccessTokenRequestPropPermissionsUpgradedType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsUpgradedPropOther +""" + + class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """PersonalAccessTokenRequestPropPermissionsResult @@ -134,6 +247,24 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): other: NotRequired[PersonalAccessTokenRequestPropPermissionsResultPropOtherType] +class PersonalAccessTokenRequestPropPermissionsResultTypeForResponse(TypedDict): + """PersonalAccessTokenRequestPropPermissionsResult + + Permissions requested, categorized by type of permission. This field + incorporates `permissions_added` and `permissions_upgraded`. + """ + + organization: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse + ] + repository: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse + ] + other: NotRequired[ + PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse + ] + + PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType: TypeAlias = dict[ str, Any ] @@ -141,6 +272,13 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsResultPropOrganization +""" + + PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType: TypeAlias = dict[ str, Any ] @@ -148,24 +286,52 @@ class PersonalAccessTokenRequestPropPermissionsResultType(TypedDict): """ +PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse: TypeAlias = dict[ + str, Any +] +"""PersonalAccessTokenRequestPropPermissionsResultPropRepository +""" + + PersonalAccessTokenRequestPropPermissionsResultPropOtherType: TypeAlias = dict[str, Any] """PersonalAccessTokenRequestPropPermissionsResultPropOther """ +PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""PersonalAccessTokenRequestPropPermissionsResultPropOther +""" + + __all__ = ( "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsAddedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsAddedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsAddedType", + "PersonalAccessTokenRequestPropPermissionsAddedTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsResultPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropOtherType", + "PersonalAccessTokenRequestPropPermissionsResultPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsResultPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsResultType", + "PersonalAccessTokenRequestPropPermissionsResultTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOrganizationTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropOtherTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryType", + "PersonalAccessTokenRequestPropPermissionsUpgradedPropRepositoryTypeForResponse", "PersonalAccessTokenRequestPropPermissionsUpgradedType", + "PersonalAccessTokenRequestPropPermissionsUpgradedTypeForResponse", "PersonalAccessTokenRequestPropRepositoriesItemsType", + "PersonalAccessTokenRequestPropRepositoriesItemsTypeForResponse", "PersonalAccessTokenRequestType", + "PersonalAccessTokenRequestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0481.py b/githubkit/versions/v2022_11_28/types/group_0481.py index 15e68c071..bbdf68fe0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0481.py +++ b/githubkit/versions/v2022_11_28/types/group_0481.py @@ -32,6 +32,24 @@ class WebhooksProjectCardType(TypedDict): url: str +class WebhooksProjectCardTypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[WebhooksProjectCardPropCreatorTypeForResponse, None] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhooksProjectCardPropCreatorType(TypedDict): """User""" @@ -59,7 +77,36 @@ class WebhooksProjectCardPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksProjectCardPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksProjectCardPropCreatorType", + "WebhooksProjectCardPropCreatorTypeForResponse", "WebhooksProjectCardType", + "WebhooksProjectCardTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0482.py b/githubkit/versions/v2022_11_28/types/group_0482.py index f00c9358c..dd7a5ebc6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0482.py +++ b/githubkit/versions/v2022_11_28/types/group_0482.py @@ -32,6 +32,24 @@ class WebhooksProjectType(TypedDict): url: str +class WebhooksProjectTypeForResponse(TypedDict): + """Project""" + + body: Union[str, None] + columns_url: str + created_at: str + creator: Union[WebhooksProjectPropCreatorTypeForResponse, None] + html_url: str + id: int + name: str + node_id: str + number: int + owner_url: str + state: Literal["open", "closed"] + updated_at: str + url: str + + class WebhooksProjectPropCreatorType(TypedDict): """User""" @@ -59,7 +77,36 @@ class WebhooksProjectPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksProjectPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhooksProjectPropCreatorType", + "WebhooksProjectPropCreatorTypeForResponse", "WebhooksProjectType", + "WebhooksProjectTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0483.py b/githubkit/versions/v2022_11_28/types/group_0483.py index 3c545b05d..bf481b024 100644 --- a/githubkit/versions/v2022_11_28/types/group_0483.py +++ b/githubkit/versions/v2022_11_28/types/group_0483.py @@ -28,4 +28,21 @@ class WebhooksProjectColumnType(TypedDict): url: str -__all__ = ("WebhooksProjectColumnType",) +class WebhooksProjectColumnTypeForResponse(TypedDict): + """Project Column""" + + after_id: NotRequired[Union[int, None]] + cards_url: str + created_at: str + id: int + name: str + node_id: str + project_url: str + updated_at: str + url: str + + +__all__ = ( + "WebhooksProjectColumnType", + "WebhooksProjectColumnTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0484.py b/githubkit/versions/v2022_11_28/types/group_0484.py index d31a72cb2..0096fe169 100644 --- a/githubkit/versions/v2022_11_28/types/group_0484.py +++ b/githubkit/versions/v2022_11_28/types/group_0484.py @@ -20,6 +20,12 @@ class WebhooksProjectChangesType(TypedDict): archived_at: NotRequired[WebhooksProjectChangesPropArchivedAtType] +class WebhooksProjectChangesTypeForResponse(TypedDict): + """WebhooksProjectChanges""" + + archived_at: NotRequired[WebhooksProjectChangesPropArchivedAtTypeForResponse] + + class WebhooksProjectChangesPropArchivedAtType(TypedDict): """WebhooksProjectChangesPropArchivedAt""" @@ -27,7 +33,16 @@ class WebhooksProjectChangesPropArchivedAtType(TypedDict): to: NotRequired[Union[datetime, None]] +class WebhooksProjectChangesPropArchivedAtTypeForResponse(TypedDict): + """WebhooksProjectChangesPropArchivedAt""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhooksProjectChangesPropArchivedAtType", + "WebhooksProjectChangesPropArchivedAtTypeForResponse", "WebhooksProjectChangesType", + "WebhooksProjectChangesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0485.py b/githubkit/versions/v2022_11_28/types/group_0485.py index 11c42252b..308e5cca8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0485.py +++ b/githubkit/versions/v2022_11_28/types/group_0485.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ProjectsV2ItemType(TypedDict): @@ -33,4 +33,24 @@ class ProjectsV2ItemType(TypedDict): archived_at: Union[datetime, None] -__all__ = ("ProjectsV2ItemType",) +class ProjectsV2ItemTypeForResponse(TypedDict): + """Projects v2 Item + + An item belonging to a project + """ + + id: float + node_id: NotRequired[str] + project_node_id: NotRequired[str] + content_node_id: str + content_type: Literal["Issue", "PullRequest", "DraftIssue"] + creator: NotRequired[SimpleUserTypeForResponse] + created_at: str + updated_at: str + archived_at: Union[str, None] + + +__all__ = ( + "ProjectsV2ItemType", + "ProjectsV2ItemTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0486.py b/githubkit/versions/v2022_11_28/types/group_0486.py index 7c07082cc..5b52ac0a9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0486.py +++ b/githubkit/versions/v2022_11_28/types/group_0486.py @@ -13,13 +13,21 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0040 import MilestoneType -from .group_0094 import TeamSimpleType -from .group_0132 import AutoMergeType -from .group_0370 import PullRequestPropLabelsItemsType -from .group_0371 import PullRequestPropBaseType, PullRequestPropHeadType -from .group_0372 import PullRequestPropLinksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0094 import TeamSimpleType, TeamSimpleTypeForResponse +from .group_0132 import AutoMergeType, AutoMergeTypeForResponse +from .group_0370 import ( + PullRequestPropLabelsItemsType, + PullRequestPropLabelsItemsTypeForResponse, +) +from .group_0371 import ( + PullRequestPropBaseType, + PullRequestPropBaseTypeForResponse, + PullRequestPropHeadType, + PullRequestPropHeadTypeForResponse, +) +from .group_0372 import PullRequestPropLinksType, PullRequestPropLinksTypeForResponse class PullRequestWebhookType(TypedDict): @@ -94,4 +102,79 @@ class PullRequestWebhookType(TypedDict): use_squash_pr_title_as_default: NotRequired[bool] -__all__ = ("PullRequestWebhookType",) +class PullRequestWebhookTypeForResponse(TypedDict): + """PullRequestWebhook""" + + url: str + id: int + node_id: str + html_url: str + diff_url: str + patch_url: str + issue_url: str + commits_url: str + review_comments_url: str + review_comment_url: str + comments_url: str + statuses_url: str + number: int + state: Literal["open", "closed"] + locked: bool + title: str + user: SimpleUserTypeForResponse + body: Union[str, None] + labels: list[PullRequestPropLabelsItemsTypeForResponse] + milestone: Union[None, MilestoneTypeForResponse] + active_lock_reason: NotRequired[Union[str, None]] + created_at: str + updated_at: str + closed_at: Union[str, None] + merged_at: Union[str, None] + merge_commit_sha: Union[str, None] + assignee: Union[None, SimpleUserTypeForResponse] + assignees: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_reviewers: NotRequired[Union[list[SimpleUserTypeForResponse], None]] + requested_teams: NotRequired[Union[list[TeamSimpleTypeForResponse], None]] + head: PullRequestPropHeadTypeForResponse + base: PullRequestPropBaseTypeForResponse + links: PullRequestPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[AutoMergeTypeForResponse, None] + draft: NotRequired[bool] + merged: bool + mergeable: Union[bool, None] + rebaseable: NotRequired[Union[bool, None]] + mergeable_state: str + merged_by: Union[None, SimpleUserTypeForResponse] + comments: int + review_comments: int + maintainer_can_modify: bool + commits: int + additions: int + deletions: int + changed_files: int + allow_auto_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + use_squash_pr_title_as_default: NotRequired[bool] + + +__all__ = ( + "PullRequestWebhookType", + "PullRequestWebhookTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0487.py b/githubkit/versions/v2022_11_28/types/group_0487.py index 85163bcaa..c8384f5c2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0487.py +++ b/githubkit/versions/v2022_11_28/types/group_0487.py @@ -28,4 +28,22 @@ class PullRequestWebhookAllof1Type(TypedDict): use_squash_pr_title_as_default: NotRequired[bool] -__all__ = ("PullRequestWebhookAllof1Type",) +class PullRequestWebhookAllof1TypeForResponse(TypedDict): + """PullRequestWebhookAllof1""" + + allow_auto_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + use_squash_pr_title_as_default: NotRequired[bool] + + +__all__ = ( + "PullRequestWebhookAllof1Type", + "PullRequestWebhookAllof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0488.py b/githubkit/versions/v2022_11_28/types/group_0488.py index 9c89f8ed7..31e9ec81f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0488.py +++ b/githubkit/versions/v2022_11_28/types/group_0488.py @@ -84,6 +84,76 @@ class WebhooksPullRequest5Type(TypedDict): user: Union[WebhooksPullRequest5PropUserType, None] +class WebhooksPullRequest5TypeForResponse(TypedDict): + """Pull Request""" + + links: WebhooksPullRequest5PropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[WebhooksPullRequest5PropAssigneeTypeForResponse, None] + assignees: list[Union[WebhooksPullRequest5PropAssigneesItemsTypeForResponse, None]] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[WebhooksPullRequest5PropAutoMergeTypeForResponse, None] + base: WebhooksPullRequest5PropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhooksPullRequest5PropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhooksPullRequest5PropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[Union[WebhooksPullRequest5PropMergedByTypeForResponse, None]] + milestone: Union[WebhooksPullRequest5PropMilestoneTypeForResponse, None] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhooksPullRequest5PropUserTypeForResponse, None] + + class WebhooksPullRequest5PropAssigneeType(TypedDict): """User""" @@ -111,6 +181,33 @@ class WebhooksPullRequest5PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropAssigneesItemsType(TypedDict): """User""" @@ -137,6 +234,32 @@ class WebhooksPullRequest5PropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhooksPullRequest5PropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -149,6 +272,20 @@ class WebhooksPullRequest5PropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhooksPullRequest5PropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse, None + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhooksPullRequest5PropAutoMergePropEnabledByType(TypedDict): """User""" @@ -176,6 +313,33 @@ class WebhooksPullRequest5PropAutoMergePropEnabledByType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropLabelsItemsType(TypedDict): """Label""" @@ -188,6 +352,18 @@ class WebhooksPullRequest5PropLabelsItemsType(TypedDict): url: str +class WebhooksPullRequest5PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhooksPullRequest5PropMergedByType(TypedDict): """User""" @@ -215,6 +391,33 @@ class WebhooksPullRequest5PropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropMilestoneType(TypedDict): """Milestone @@ -239,6 +442,30 @@ class WebhooksPullRequest5PropMilestoneType(TypedDict): url: str +class WebhooksPullRequest5PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse, None] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhooksPullRequest5PropMilestonePropCreatorType(TypedDict): """User""" @@ -266,6 +493,33 @@ class WebhooksPullRequest5PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type(TypedDict): """User""" @@ -292,6 +546,32 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhooksPullRequest5PropUserType(TypedDict): """User""" @@ -319,78 +599,560 @@ class WebhooksPullRequest5PropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhooksPullRequest5PropLinksType(TypedDict): - """WebhooksPullRequest5PropLinks""" +class WebhooksPullRequest5PropUserTypeForResponse(TypedDict): + """User""" - comments: WebhooksPullRequest5PropLinksPropCommentsType - commits: WebhooksPullRequest5PropLinksPropCommitsType - html: WebhooksPullRequest5PropLinksPropHtmlType - issue: WebhooksPullRequest5PropLinksPropIssueType - review_comment: WebhooksPullRequest5PropLinksPropReviewCommentType - review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsType - self_: WebhooksPullRequest5PropLinksPropSelfType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropLinksType(TypedDict): + """WebhooksPullRequest5PropLinks""" + + comments: WebhooksPullRequest5PropLinksPropCommentsType + commits: WebhooksPullRequest5PropLinksPropCommitsType + html: WebhooksPullRequest5PropLinksPropHtmlType + issue: WebhooksPullRequest5PropLinksPropIssueType + review_comment: WebhooksPullRequest5PropLinksPropReviewCommentType + review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsType + self_: WebhooksPullRequest5PropLinksPropSelfType statuses: WebhooksPullRequest5PropLinksPropStatusesType +class WebhooksPullRequest5PropLinksTypeForResponse(TypedDict): + """WebhooksPullRequest5PropLinks""" + + comments: WebhooksPullRequest5PropLinksPropCommentsTypeForResponse + commits: WebhooksPullRequest5PropLinksPropCommitsTypeForResponse + html: WebhooksPullRequest5PropLinksPropHtmlTypeForResponse + issue: WebhooksPullRequest5PropLinksPropIssueTypeForResponse + review_comment: WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse + review_comments: WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse + self_: WebhooksPullRequest5PropLinksPropSelfTypeForResponse + statuses: WebhooksPullRequest5PropLinksPropStatusesTypeForResponse + + class WebhooksPullRequest5PropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropCommentsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropCommitsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropIssueTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropReviewCommentsType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhooksPullRequest5PropLinksPropSelfTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksPullRequest5PropLinksPropStatusesType(TypedDict): """Link""" href: str -class WebhooksPullRequest5PropBaseType(TypedDict): - """WebhooksPullRequest5PropBase""" +class WebhooksPullRequest5PropLinksPropStatusesTypeForResponse(TypedDict): + """Link""" + + href: str + + +class WebhooksPullRequest5PropBaseType(TypedDict): + """WebhooksPullRequest5PropBase""" + + label: str + ref: str + repo: WebhooksPullRequest5PropBasePropRepoType + sha: str + user: Union[WebhooksPullRequest5PropBasePropUserType, None] + + +class WebhooksPullRequest5PropBaseTypeForResponse(TypedDict): + """WebhooksPullRequest5PropBase""" + + label: str + ref: str + repo: WebhooksPullRequest5PropBasePropRepoTypeForResponse + sha: str + user: Union[WebhooksPullRequest5PropBasePropUserTypeForResponse, None] + + +class WebhooksPullRequest5PropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhooksPullRequest5PropBasePropRepoPropLicenseType, None] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerType, None] + permissions: NotRequired[WebhooksPullRequest5PropBasePropRepoPropPermissionsType] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoPropLicenseType(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhooksPullRequest5PropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropBasePropRepoPropPermissionsType(TypedDict): + """WebhooksPullRequest5PropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse(TypedDict): + """WebhooksPullRequest5PropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhooksPullRequest5PropHeadType(TypedDict): + """WebhooksPullRequest5PropHead""" + + label: str + ref: str + repo: WebhooksPullRequest5PropHeadPropRepoType + sha: str + user: Union[WebhooksPullRequest5PropHeadPropUserType, None] + + +class WebhooksPullRequest5PropHeadTypeForResponse(TypedDict): + """WebhooksPullRequest5PropHead""" label: str ref: str - repo: WebhooksPullRequest5PropBasePropRepoType + repo: WebhooksPullRequest5PropHeadPropRepoTypeForResponse sha: str - user: Union[WebhooksPullRequest5PropBasePropUserType, None] + user: Union[WebhooksPullRequest5PropHeadPropUserTypeForResponse, None] -class WebhooksPullRequest5PropBasePropUserType(TypedDict): +class WebhooksPullRequest5PropHeadPropUserType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -417,7 +1179,34 @@ class WebhooksPullRequest5PropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhooksPullRequest5PropBasePropRepoType(TypedDict): +class WebhooksPullRequest5PropHeadPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): """Repository A git repository @@ -476,7 +1265,7 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): labels_url: str language: Union[str, None] languages_url: str - license_: Union[WebhooksPullRequest5PropBasePropRepoPropLicenseType, None] + license_: Union[WebhooksPullRequest5PropHeadPropRepoPropLicenseType, None] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] @@ -489,8 +1278,8 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): open_issues: int open_issues_count: int organization: NotRequired[str] - owner: Union[WebhooksPullRequest5PropBasePropRepoPropOwnerType, None] - permissions: NotRequired[WebhooksPullRequest5PropBasePropRepoPropPermissionsType] + owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerType, None] + permissions: NotRequired[WebhooksPullRequest5PropHeadPropRepoPropPermissionsType] private: bool public: NotRequired[bool] pulls_url: str @@ -523,91 +1312,7 @@ class WebhooksPullRequest5PropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhooksPullRequest5PropBasePropRepoPropLicenseType(TypedDict): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhooksPullRequest5PropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhooksPullRequest5PropBasePropRepoPropPermissionsType(TypedDict): - """WebhooksPullRequest5PropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhooksPullRequest5PropHeadType(TypedDict): - """WebhooksPullRequest5PropHead""" - - label: str - ref: str - repo: WebhooksPullRequest5PropHeadPropRepoType - sha: str - user: Union[WebhooksPullRequest5PropHeadPropUserType, None] - - -class WebhooksPullRequest5PropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): +class WebhooksPullRequest5PropHeadPropRepoTypeForResponse(TypedDict): """Repository A git repository @@ -631,7 +1336,7 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -666,7 +1371,9 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): labels_url: str language: Union[str, None] languages_url: str - license_: Union[WebhooksPullRequest5PropHeadPropRepoPropLicenseType, None] + license_: Union[ + WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse, None + ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] @@ -679,12 +1386,14 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): open_issues: int open_issues_count: int organization: NotRequired[str] - owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerType, None] - permissions: NotRequired[WebhooksPullRequest5PropHeadPropRepoPropPermissionsType] + owner: Union[WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse + ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -704,7 +1413,7 @@ class WebhooksPullRequest5PropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -723,6 +1432,16 @@ class WebhooksPullRequest5PropHeadPropRepoPropLicenseType(TypedDict): url: Union[str, None] +class WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhooksPullRequest5PropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -750,6 +1469,33 @@ class WebhooksPullRequest5PropHeadPropRepoPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksPullRequest5PropHeadPropRepoPropPermissionsType(TypedDict): """WebhooksPullRequest5PropHeadPropRepoPropPermissions""" @@ -760,6 +1506,16 @@ class WebhooksPullRequest5PropHeadPropRepoPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse(TypedDict): + """WebhooksPullRequest5PropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type(TypedDict): """Team @@ -783,6 +1539,32 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType(TypedDict): """WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParent""" @@ -799,6 +1581,24 @@ class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType(TypedD url: str +class WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhooksPullRequest5PropRequestedTeamsItemsType(TypedDict): """Team @@ -822,6 +1622,31 @@ class WebhooksPullRequest5PropRequestedTeamsItemsType(TypedDict): url: NotRequired[str] +class WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse, None + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhooksPullRequest5PropRequestedTeamsItemsPropParentType(TypedDict): """WebhooksPullRequest5PropRequestedTeamsItemsPropParent""" @@ -838,41 +1663,93 @@ class WebhooksPullRequest5PropRequestedTeamsItemsPropParentType(TypedDict): url: str +class WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse(TypedDict): + """WebhooksPullRequest5PropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhooksPullRequest5PropAssigneeType", + "WebhooksPullRequest5PropAssigneeTypeForResponse", "WebhooksPullRequest5PropAssigneesItemsType", + "WebhooksPullRequest5PropAssigneesItemsTypeForResponse", "WebhooksPullRequest5PropAutoMergePropEnabledByType", + "WebhooksPullRequest5PropAutoMergePropEnabledByTypeForResponse", "WebhooksPullRequest5PropAutoMergeType", + "WebhooksPullRequest5PropAutoMergeTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropLicenseType", + "WebhooksPullRequest5PropBasePropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropOwnerType", + "WebhooksPullRequest5PropBasePropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropBasePropRepoPropPermissionsType", + "WebhooksPullRequest5PropBasePropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropBasePropRepoType", + "WebhooksPullRequest5PropBasePropRepoTypeForResponse", "WebhooksPullRequest5PropBasePropUserType", + "WebhooksPullRequest5PropBasePropUserTypeForResponse", "WebhooksPullRequest5PropBaseType", + "WebhooksPullRequest5PropBaseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropLicenseType", + "WebhooksPullRequest5PropHeadPropRepoPropLicenseTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropOwnerType", + "WebhooksPullRequest5PropHeadPropRepoPropOwnerTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoPropPermissionsType", + "WebhooksPullRequest5PropHeadPropRepoPropPermissionsTypeForResponse", "WebhooksPullRequest5PropHeadPropRepoType", + "WebhooksPullRequest5PropHeadPropRepoTypeForResponse", "WebhooksPullRequest5PropHeadPropUserType", + "WebhooksPullRequest5PropHeadPropUserTypeForResponse", "WebhooksPullRequest5PropHeadType", + "WebhooksPullRequest5PropHeadTypeForResponse", "WebhooksPullRequest5PropLabelsItemsType", + "WebhooksPullRequest5PropLabelsItemsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommentsType", + "WebhooksPullRequest5PropLinksPropCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropCommitsType", + "WebhooksPullRequest5PropLinksPropCommitsTypeForResponse", "WebhooksPullRequest5PropLinksPropHtmlType", + "WebhooksPullRequest5PropLinksPropHtmlTypeForResponse", "WebhooksPullRequest5PropLinksPropIssueType", + "WebhooksPullRequest5PropLinksPropIssueTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentType", + "WebhooksPullRequest5PropLinksPropReviewCommentTypeForResponse", "WebhooksPullRequest5PropLinksPropReviewCommentsType", + "WebhooksPullRequest5PropLinksPropReviewCommentsTypeForResponse", "WebhooksPullRequest5PropLinksPropSelfType", + "WebhooksPullRequest5PropLinksPropSelfTypeForResponse", "WebhooksPullRequest5PropLinksPropStatusesType", + "WebhooksPullRequest5PropLinksPropStatusesTypeForResponse", "WebhooksPullRequest5PropLinksType", + "WebhooksPullRequest5PropLinksTypeForResponse", "WebhooksPullRequest5PropMergedByType", + "WebhooksPullRequest5PropMergedByTypeForResponse", "WebhooksPullRequest5PropMilestonePropCreatorType", + "WebhooksPullRequest5PropMilestonePropCreatorTypeForResponse", "WebhooksPullRequest5PropMilestoneType", + "WebhooksPullRequest5PropMilestoneTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof0Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof0TypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentType", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhooksPullRequest5PropRequestedReviewersItemsOneof1Type", + "WebhooksPullRequest5PropRequestedReviewersItemsOneof1TypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsPropParentType", + "WebhooksPullRequest5PropRequestedTeamsItemsPropParentTypeForResponse", "WebhooksPullRequest5PropRequestedTeamsItemsType", + "WebhooksPullRequest5PropRequestedTeamsItemsTypeForResponse", "WebhooksPullRequest5PropUserType", + "WebhooksPullRequest5PropUserTypeForResponse", "WebhooksPullRequest5Type", + "WebhooksPullRequest5TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0489.py b/githubkit/versions/v2022_11_28/types/group_0489.py index fc62f86f0..c9b4f5717 100644 --- a/githubkit/versions/v2022_11_28/types/group_0489.py +++ b/githubkit/versions/v2022_11_28/types/group_0489.py @@ -59,6 +59,51 @@ class WebhooksReviewCommentType(TypedDict): user: Union[WebhooksReviewCommentPropUserType, None] +class WebhooksReviewCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment- + for-a-pull-request) itself. + """ + + links: WebhooksReviewCommentPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: int + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhooksReviewCommentPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[WebhooksReviewCommentPropUserTypeForResponse, None] + + class WebhooksReviewCommentPropReactionsType(TypedDict): """Reactions""" @@ -74,6 +119,21 @@ class WebhooksReviewCommentPropReactionsType(TypedDict): url: str +class WebhooksReviewCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksReviewCommentPropUserType(TypedDict): """User""" @@ -101,6 +161,33 @@ class WebhooksReviewCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReviewCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewCommentPropLinksType(TypedDict): """WebhooksReviewCommentPropLinks""" @@ -109,30 +196,63 @@ class WebhooksReviewCommentPropLinksType(TypedDict): self_: WebhooksReviewCommentPropLinksPropSelfType +class WebhooksReviewCommentPropLinksTypeForResponse(TypedDict): + """WebhooksReviewCommentPropLinks""" + + html: WebhooksReviewCommentPropLinksPropHtmlTypeForResponse + pull_request: WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse + self_: WebhooksReviewCommentPropLinksPropSelfTypeForResponse + + class WebhooksReviewCommentPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewCommentPropLinksPropPullRequestType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewCommentPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhooksReviewCommentPropLinksPropSelfTypeForResponse(TypedDict): + """Link""" + + href: str + + __all__ = ( "WebhooksReviewCommentPropLinksPropHtmlType", + "WebhooksReviewCommentPropLinksPropHtmlTypeForResponse", "WebhooksReviewCommentPropLinksPropPullRequestType", + "WebhooksReviewCommentPropLinksPropPullRequestTypeForResponse", "WebhooksReviewCommentPropLinksPropSelfType", + "WebhooksReviewCommentPropLinksPropSelfTypeForResponse", "WebhooksReviewCommentPropLinksType", + "WebhooksReviewCommentPropLinksTypeForResponse", "WebhooksReviewCommentPropReactionsType", + "WebhooksReviewCommentPropReactionsTypeForResponse", "WebhooksReviewCommentPropUserType", + "WebhooksReviewCommentPropUserTypeForResponse", "WebhooksReviewCommentType", + "WebhooksReviewCommentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0490.py b/githubkit/versions/v2022_11_28/types/group_0490.py index f2f9b5a88..88d916a55 100644 --- a/githubkit/versions/v2022_11_28/types/group_0490.py +++ b/githubkit/versions/v2022_11_28/types/group_0490.py @@ -43,6 +43,35 @@ class WebhooksReviewType(TypedDict): user: Union[WebhooksReviewPropUserType, None] +class WebhooksReviewTypeForResponse(TypedDict): + """WebhooksReview + + The review that was affected. + """ + + links: WebhooksReviewPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + commit_id: str + html_url: str + id: int + node_id: str + pull_request_url: str + state: str + submitted_at: Union[str, None] + updated_at: NotRequired[Union[str, None]] + user: Union[WebhooksReviewPropUserTypeForResponse, None] + + class WebhooksReviewPropUserType(TypedDict): """User""" @@ -70,6 +99,33 @@ class WebhooksReviewPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReviewPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReviewPropLinksType(TypedDict): """WebhooksReviewPropLinks""" @@ -77,22 +133,46 @@ class WebhooksReviewPropLinksType(TypedDict): pull_request: WebhooksReviewPropLinksPropPullRequestType +class WebhooksReviewPropLinksTypeForResponse(TypedDict): + """WebhooksReviewPropLinks""" + + html: WebhooksReviewPropLinksPropHtmlTypeForResponse + pull_request: WebhooksReviewPropLinksPropPullRequestTypeForResponse + + class WebhooksReviewPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhooksReviewPropLinksPropHtmlTypeForResponse(TypedDict): + """Link""" + + href: str + + class WebhooksReviewPropLinksPropPullRequestType(TypedDict): """Link""" href: str +class WebhooksReviewPropLinksPropPullRequestTypeForResponse(TypedDict): + """Link""" + + href: str + + __all__ = ( "WebhooksReviewPropLinksPropHtmlType", + "WebhooksReviewPropLinksPropHtmlTypeForResponse", "WebhooksReviewPropLinksPropPullRequestType", + "WebhooksReviewPropLinksPropPullRequestTypeForResponse", "WebhooksReviewPropLinksType", + "WebhooksReviewPropLinksTypeForResponse", "WebhooksReviewPropUserType", + "WebhooksReviewPropUserTypeForResponse", "WebhooksReviewType", + "WebhooksReviewTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0491.py b/githubkit/versions/v2022_11_28/types/group_0491.py index 6b3a8f298..4c8cddd76 100644 --- a/githubkit/versions/v2022_11_28/types/group_0491.py +++ b/githubkit/versions/v2022_11_28/types/group_0491.py @@ -45,6 +45,37 @@ class WebhooksReleaseType(TypedDict): zipball_url: Union[str, None] +class WebhooksReleaseTypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/rest/releases/releases/#get-a-release) + object. + """ + + assets: list[WebhooksReleasePropAssetsItemsTypeForResponse] + assets_url: str + author: Union[WebhooksReleasePropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + updated_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: bool + published_at: Union[str, None] + reactions: NotRequired[WebhooksReleasePropReactionsTypeForResponse] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + upload_url: str + url: str + zipball_url: Union[str, None] + + class WebhooksReleasePropAuthorType(TypedDict): """User""" @@ -72,6 +103,33 @@ class WebhooksReleasePropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksReleasePropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksReleasePropReactionsType(TypedDict): """Reactions""" @@ -87,6 +145,21 @@ class WebhooksReleasePropReactionsType(TypedDict): url: str +class WebhooksReleasePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhooksReleasePropAssetsItemsType(TypedDict): """Release Asset @@ -109,6 +182,30 @@ class WebhooksReleasePropAssetsItemsType(TypedDict): url: str +class WebhooksReleasePropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse, None] + ] + url: str + + class WebhooksReleasePropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -135,10 +232,41 @@ class WebhooksReleasePropAssetsItemsPropUploaderType(TypedDict): url: NotRequired[str] +class WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksReleasePropAssetsItemsPropUploaderType", + "WebhooksReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhooksReleasePropAssetsItemsType", + "WebhooksReleasePropAssetsItemsTypeForResponse", "WebhooksReleasePropAuthorType", + "WebhooksReleasePropAuthorTypeForResponse", "WebhooksReleasePropReactionsType", + "WebhooksReleasePropReactionsTypeForResponse", "WebhooksReleaseType", + "WebhooksReleaseTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0492.py b/githubkit/versions/v2022_11_28/types/group_0492.py index caa762b1b..f40b30c52 100644 --- a/githubkit/versions/v2022_11_28/types/group_0492.py +++ b/githubkit/versions/v2022_11_28/types/group_0492.py @@ -45,6 +45,37 @@ class WebhooksRelease1Type(TypedDict): zipball_url: Union[str, None] +class WebhooksRelease1TypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/rest/releases/releases/#get-a-release) + object. + """ + + assets: list[Union[WebhooksRelease1PropAssetsItemsTypeForResponse, None]] + assets_url: str + author: Union[WebhooksRelease1PropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: bool + published_at: Union[str, None] + reactions: NotRequired[WebhooksRelease1PropReactionsTypeForResponse] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + updated_at: Union[str, None] + upload_url: str + url: str + zipball_url: Union[str, None] + + class WebhooksRelease1PropAssetsItemsType(TypedDict): """Release Asset @@ -67,6 +98,30 @@ class WebhooksRelease1PropAssetsItemsType(TypedDict): url: str +class WebhooksRelease1PropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse, None] + ] + url: str + + class WebhooksRelease1PropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -93,6 +148,32 @@ class WebhooksRelease1PropAssetsItemsPropUploaderType(TypedDict): url: NotRequired[str] +class WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhooksRelease1PropAuthorType(TypedDict): """User""" @@ -120,6 +201,33 @@ class WebhooksRelease1PropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksRelease1PropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksRelease1PropReactionsType(TypedDict): """Reactions""" @@ -135,10 +243,30 @@ class WebhooksRelease1PropReactionsType(TypedDict): url: str +class WebhooksRelease1PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + __all__ = ( "WebhooksRelease1PropAssetsItemsPropUploaderType", + "WebhooksRelease1PropAssetsItemsPropUploaderTypeForResponse", "WebhooksRelease1PropAssetsItemsType", + "WebhooksRelease1PropAssetsItemsTypeForResponse", "WebhooksRelease1PropAuthorType", + "WebhooksRelease1PropAuthorTypeForResponse", "WebhooksRelease1PropReactionsType", + "WebhooksRelease1PropReactionsTypeForResponse", "WebhooksRelease1Type", + "WebhooksRelease1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0493.py b/githubkit/versions/v2022_11_28/types/group_0493.py index 3401e5834..41fb330b6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0493.py +++ b/githubkit/versions/v2022_11_28/types/group_0493.py @@ -39,6 +39,31 @@ class WebhooksAlertType(TypedDict): state: Literal["open"] +class WebhooksAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_reason: NotRequired[str] + dismissed_at: NotRequired[str] + dismisser: NotRequired[Union[WebhooksAlertPropDismisserTypeForResponse, None]] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["open"] + + class WebhooksAlertPropDismisserType(TypedDict): """User""" @@ -65,7 +90,35 @@ class WebhooksAlertPropDismisserType(TypedDict): url: NotRequired[str] +class WebhooksAlertPropDismisserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhooksAlertPropDismisserType", + "WebhooksAlertPropDismisserTypeForResponse", "WebhooksAlertType", + "WebhooksAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0494.py b/githubkit/versions/v2022_11_28/types/group_0494.py index 18ea4e27d..1ffa368f5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0494.py +++ b/githubkit/versions/v2022_11_28/types/group_0494.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class SecretScanningAlertWebhookType(TypedDict): @@ -56,4 +56,49 @@ class SecretScanningAlertWebhookType(TypedDict): assigned_to: NotRequired[Union[None, SimpleUserType]] -__all__ = ("SecretScanningAlertWebhookType",) +class SecretScanningAlertWebhookTypeForResponse(TypedDict): + """SecretScanningAlertWebhook""" + + number: NotRequired[int] + created_at: NotRequired[str] + updated_at: NotRequired[Union[None, str]] + url: NotRequired[str] + html_url: NotRequired[str] + locations_url: NotRequired[str] + resolution: NotRequired[ + Union[ + None, + Literal[ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + ], + ] + ] + resolved_at: NotRequired[Union[str, None]] + resolved_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + resolution_comment: NotRequired[Union[str, None]] + secret_type: NotRequired[str] + secret_type_display_name: NotRequired[str] + validity: NotRequired[Literal["active", "inactive", "unknown"]] + push_protection_bypassed: NotRequired[Union[bool, None]] + push_protection_bypassed_by: NotRequired[Union[None, SimpleUserTypeForResponse]] + push_protection_bypassed_at: NotRequired[Union[str, None]] + push_protection_bypass_request_reviewer: NotRequired[ + Union[None, SimpleUserTypeForResponse] + ] + push_protection_bypass_request_reviewer_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_comment: NotRequired[Union[str, None]] + push_protection_bypass_request_html_url: NotRequired[Union[str, None]] + publicly_leaked: NotRequired[Union[bool, None]] + multi_repo: NotRequired[Union[bool, None]] + assigned_to: NotRequired[Union[None, SimpleUserTypeForResponse]] + + +__all__ = ( + "SecretScanningAlertWebhookType", + "SecretScanningAlertWebhookTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0495.py b/githubkit/versions/v2022_11_28/types/group_0495.py index dce9a1159..66814bc42 100644 --- a/githubkit/versions/v2022_11_28/types/group_0495.py +++ b/githubkit/versions/v2022_11_28/types/group_0495.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse class WebhooksSecurityAdvisoryType(TypedDict): @@ -37,6 +37,30 @@ class WebhooksSecurityAdvisoryType(TypedDict): withdrawn_at: Union[str, None] +class WebhooksSecurityAdvisoryTypeForResponse(TypedDict): + """WebhooksSecurityAdvisory + + The details of the security advisory, including summary, description, and + severity. + """ + + cvss: WebhooksSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: list[WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse] + description: str + ghsa_id: str + identifiers: list[WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse] + published_at: str + references: list[WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse] + severity: str + summary: str + updated_at: str + vulnerabilities: list[ + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse + ] + withdrawn_at: Union[str, None] + + class WebhooksSecurityAdvisoryPropCvssType(TypedDict): """WebhooksSecurityAdvisoryPropCvss""" @@ -44,6 +68,13 @@ class WebhooksSecurityAdvisoryPropCvssType(TypedDict): vector_string: Union[str, None] +class WebhooksSecurityAdvisoryPropCvssTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropCvss""" + + score: float + vector_string: Union[str, None] + + class WebhooksSecurityAdvisoryPropCwesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropCwesItems""" @@ -51,6 +82,13 @@ class WebhooksSecurityAdvisoryPropCwesItemsType(TypedDict): name: str +class WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class WebhooksSecurityAdvisoryPropIdentifiersItemsType(TypedDict): """WebhooksSecurityAdvisoryPropIdentifiersItems""" @@ -58,12 +96,25 @@ class WebhooksSecurityAdvisoryPropIdentifiersItemsType(TypedDict): value: str +class WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropIdentifiersItems""" + + type: str + value: str + + class WebhooksSecurityAdvisoryPropReferencesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropReferencesItems""" url: str +class WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropReferencesItems""" + + url: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType(TypedDict): """WebhooksSecurityAdvisoryPropVulnerabilitiesItems""" @@ -76,6 +127,18 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType(TypedDict): vulnerable_version_range: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse(TypedDict): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItems""" + + first_patched_version: Union[ + WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + None, + ] + package: WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse + severity: str + vulnerable_version_range: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType( TypedDict ): @@ -84,6 +147,14 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTyp identifier: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersion""" + + identifier: str + + class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType(TypedDict): """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackage""" @@ -91,13 +162,30 @@ class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType(TypedDict) name: str +class WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackage""" + + ecosystem: str + name: str + + __all__ = ( "WebhooksSecurityAdvisoryPropCvssType", + "WebhooksSecurityAdvisoryPropCvssTypeForResponse", "WebhooksSecurityAdvisoryPropCwesItemsType", + "WebhooksSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropIdentifiersItemsType", + "WebhooksSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhooksSecurityAdvisoryPropReferencesItemsType", + "WebhooksSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhooksSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhooksSecurityAdvisoryType", + "WebhooksSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0496.py b/githubkit/versions/v2022_11_28/types/group_0496.py index 7dd35b2e2..03f2adb33 100644 --- a/githubkit/versions/v2022_11_28/types/group_0496.py +++ b/githubkit/versions/v2022_11_28/types/group_0496.py @@ -25,6 +25,18 @@ class WebhooksSponsorshipType(TypedDict): tier: WebhooksSponsorshipPropTierType +class WebhooksSponsorshipTypeForResponse(TypedDict): + """WebhooksSponsorship""" + + created_at: str + maintainer: NotRequired[WebhooksSponsorshipPropMaintainerTypeForResponse] + node_id: str + privacy_level: str + sponsor: Union[WebhooksSponsorshipPropSponsorTypeForResponse, None] + sponsorable: Union[WebhooksSponsorshipPropSponsorableTypeForResponse, None] + tier: WebhooksSponsorshipPropTierTypeForResponse + + class WebhooksSponsorshipPropMaintainerType(TypedDict): """WebhooksSponsorshipPropMaintainer""" @@ -49,6 +61,30 @@ class WebhooksSponsorshipPropMaintainerType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropMaintainerTypeForResponse(TypedDict): + """WebhooksSponsorshipPropMaintainer""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropSponsorType(TypedDict): """User""" @@ -76,6 +112,33 @@ class WebhooksSponsorshipPropSponsorType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropSponsorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropSponsorableType(TypedDict): """User""" @@ -103,6 +166,33 @@ class WebhooksSponsorshipPropSponsorableType(TypedDict): user_view_type: NotRequired[str] +class WebhooksSponsorshipPropSponsorableTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhooksSponsorshipPropTierType(TypedDict): """Sponsorship Tier @@ -122,10 +212,34 @@ class WebhooksSponsorshipPropTierType(TypedDict): node_id: str +class WebhooksSponsorshipPropTierTypeForResponse(TypedDict): + """Sponsorship Tier + + The `tier_changed` and `pending_tier_change` will include the original tier + before the change or pending change. For more information, see the pending tier + change payload. + """ + + created_at: str + description: str + is_custom_ammount: NotRequired[bool] + is_custom_amount: NotRequired[bool] + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + node_id: str + + __all__ = ( "WebhooksSponsorshipPropMaintainerType", + "WebhooksSponsorshipPropMaintainerTypeForResponse", "WebhooksSponsorshipPropSponsorType", + "WebhooksSponsorshipPropSponsorTypeForResponse", "WebhooksSponsorshipPropSponsorableType", + "WebhooksSponsorshipPropSponsorableTypeForResponse", "WebhooksSponsorshipPropTierType", + "WebhooksSponsorshipPropTierTypeForResponse", "WebhooksSponsorshipType", + "WebhooksSponsorshipTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0497.py b/githubkit/versions/v2022_11_28/types/group_0497.py index bcc71503a..14b92bd99 100644 --- a/githubkit/versions/v2022_11_28/types/group_0497.py +++ b/githubkit/versions/v2022_11_28/types/group_0497.py @@ -18,12 +18,24 @@ class WebhooksChanges8Type(TypedDict): tier: WebhooksChanges8PropTierType +class WebhooksChanges8TypeForResponse(TypedDict): + """WebhooksChanges8""" + + tier: WebhooksChanges8PropTierTypeForResponse + + class WebhooksChanges8PropTierType(TypedDict): """WebhooksChanges8PropTier""" from_: WebhooksChanges8PropTierPropFromType +class WebhooksChanges8PropTierTypeForResponse(TypedDict): + """WebhooksChanges8PropTier""" + + from_: WebhooksChanges8PropTierPropFromTypeForResponse + + class WebhooksChanges8PropTierPropFromType(TypedDict): """Sponsorship Tier @@ -43,8 +55,30 @@ class WebhooksChanges8PropTierPropFromType(TypedDict): node_id: str +class WebhooksChanges8PropTierPropFromTypeForResponse(TypedDict): + """Sponsorship Tier + + The `tier_changed` and `pending_tier_change` will include the original tier + before the change or pending change. For more information, see the pending tier + change payload. + """ + + created_at: str + description: str + is_custom_ammount: NotRequired[bool] + is_custom_amount: NotRequired[bool] + is_one_time: bool + monthly_price_in_cents: int + monthly_price_in_dollars: int + name: str + node_id: str + + __all__ = ( "WebhooksChanges8PropTierPropFromType", + "WebhooksChanges8PropTierPropFromTypeForResponse", "WebhooksChanges8PropTierType", + "WebhooksChanges8PropTierTypeForResponse", "WebhooksChanges8Type", + "WebhooksChanges8TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0498.py b/githubkit/versions/v2022_11_28/types/group_0498.py index cdbf156cc..429d89ea9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0498.py +++ b/githubkit/versions/v2022_11_28/types/group_0498.py @@ -40,6 +40,33 @@ class WebhooksTeam1Type(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeam1TypeForResponse(TypedDict): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[Union[WebhooksTeam1PropParentTypeForResponse, None]] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + type: NotRequired[Literal["enterprise", "organization"]] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + class WebhooksTeam1PropParentType(TypedDict): """WebhooksTeam1PropParent""" @@ -60,7 +87,29 @@ class WebhooksTeam1PropParentType(TypedDict): enterprise_id: NotRequired[int] +class WebhooksTeam1PropParentTypeForResponse(TypedDict): + """WebhooksTeam1PropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + notification_setting: Literal["notifications_enabled", "notifications_disabled"] + repositories_url: str + slug: str + url: str + type: Literal["enterprise", "organization"] + organization_id: NotRequired[int] + enterprise_id: NotRequired[int] + + __all__ = ( "WebhooksTeam1PropParentType", + "WebhooksTeam1PropParentTypeForResponse", "WebhooksTeam1Type", + "WebhooksTeam1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0499.py b/githubkit/versions/v2022_11_28/types/group_0499.py index 9df7fbfeb..5bec341ac 100644 --- a/githubkit/versions/v2022_11_28/types/group_0499.py +++ b/githubkit/versions/v2022_11_28/types/group_0499.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookBranchProtectionConfigurationDisabledType(TypedDict): @@ -30,4 +33,18 @@ class WebhookBranchProtectionConfigurationDisabledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionConfigurationDisabledType",) +class WebhookBranchProtectionConfigurationDisabledTypeForResponse(TypedDict): + """branch protection configuration disabled event""" + + action: Literal["disabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionConfigurationDisabledType", + "WebhookBranchProtectionConfigurationDisabledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0500.py b/githubkit/versions/v2022_11_28/types/group_0500.py index e0fded43c..e8730bd56 100644 --- a/githubkit/versions/v2022_11_28/types/group_0500.py +++ b/githubkit/versions/v2022_11_28/types/group_0500.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookBranchProtectionConfigurationEnabledType(TypedDict): @@ -30,4 +33,18 @@ class WebhookBranchProtectionConfigurationEnabledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionConfigurationEnabledType",) +class WebhookBranchProtectionConfigurationEnabledTypeForResponse(TypedDict): + """branch protection configuration enabled event""" + + action: Literal["enabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionConfigurationEnabledType", + "WebhookBranchProtectionConfigurationEnabledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0501.py b/githubkit/versions/v2022_11_28/types/group_0501.py index 5e9916eff..7c0615f06 100644 --- a/githubkit/versions/v2022_11_28/types/group_0501.py +++ b/githubkit/versions/v2022_11_28/types/group_0501.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0454 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0454 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookBranchProtectionRuleCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionRuleCreatedType",) +class WebhookBranchProtectionRuleCreatedTypeForResponse(TypedDict): + """branch protection rule created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionRuleCreatedType", + "WebhookBranchProtectionRuleCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0502.py b/githubkit/versions/v2022_11_28/types/group_0502.py index cbf474630..fc1278724 100644 --- a/githubkit/versions/v2022_11_28/types/group_0502.py +++ b/githubkit/versions/v2022_11_28/types/group_0502.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0454 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0454 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookBranchProtectionRuleDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookBranchProtectionRuleDeletedType",) +class WebhookBranchProtectionRuleDeletedTypeForResponse(TypedDict): + """branch protection rule deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookBranchProtectionRuleDeletedType", + "WebhookBranchProtectionRuleDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0503.py b/githubkit/versions/v2022_11_28/types/group_0503.py index 3b3e6aff1..33ce0f3ba 100644 --- a/githubkit/versions/v2022_11_28/types/group_0503.py +++ b/githubkit/versions/v2022_11_28/types/group_0503.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0454 import WebhooksRuleType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0454 import WebhooksRuleType, WebhooksRuleTypeForResponse class WebhookBranchProtectionRuleEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookBranchProtectionRuleEditedType(TypedDict): sender: SimpleUserType +class WebhookBranchProtectionRuleEditedTypeForResponse(TypedDict): + """branch protection rule edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookBranchProtectionRuleEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + rule: WebhooksRuleTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookBranchProtectionRuleEditedPropChangesType(TypedDict): """WebhookBranchProtectionRuleEditedPropChanges @@ -74,12 +90,61 @@ class WebhookBranchProtectionRuleEditedPropChangesType(TypedDict): ] +class WebhookBranchProtectionRuleEditedPropChangesTypeForResponse(TypedDict): + """WebhookBranchProtectionRuleEditedPropChanges + + If the action was `edited`, the changes to the rule. + """ + + admin_enforced: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse + ] + authorized_actor_names: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse + ] + authorized_actors_only: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse + ] + authorized_dismissal_actors_only: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse + ] + linear_history_requirement_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse + ] + lock_branch_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse + ] + lock_allows_fork_sync: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse + ] + pull_request_reviews_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse + ] + require_last_push_approval: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse + ] + required_status_checks: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse + ] + required_status_checks_enforcement_level: NotRequired[ + WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse + ] + + class WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType(TypedDict): """WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforced""" from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforced""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType( TypedDict ): @@ -88,6 +153,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType( from_: list[str] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNames""" + + from_: list[str] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType( TypedDict ): @@ -96,6 +169,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType( from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnly""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType( TypedDict ): @@ -104,6 +185,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsO from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnly""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType( TypedDict ): @@ -114,6 +203,16 @@ class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEn from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcem + entLevel + """ + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType( TypedDict ): @@ -122,12 +221,28 @@ class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevel from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevel""" + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType(TypedDict): """WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSync""" from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSync""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType( TypedDict ): @@ -138,6 +253,16 @@ class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcem from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLev + el + """ + + from_: Literal["off", "non_admins", "everyone"] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType( TypedDict ): @@ -146,6 +271,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTyp from_: Union[bool, None] +class WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApproval""" + + from_: Union[bool, None] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType( TypedDict ): @@ -154,6 +287,14 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType( from_: list[str] +class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecks""" + + from_: list[str] + + class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType( TypedDict ): @@ -164,18 +305,41 @@ class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforc from_: Literal["off", "non_admins", "everyone"] +class WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse( + TypedDict +): + """WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementL + evel + """ + + from_: Literal["off", "non_admins", "everyone"] + + __all__ = ( "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedType", + "WebhookBranchProtectionRuleEditedPropChangesPropAdminEnforcedTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorNamesTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyType", + "WebhookBranchProtectionRuleEditedPropChangesPropAuthorizedDismissalActorsOnlyTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLinearHistoryRequirementEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockAllowsForkSyncTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropLockBranchEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropPullRequestReviewsEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequireLastPushApprovalTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksEnforcementLevelTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksType", + "WebhookBranchProtectionRuleEditedPropChangesPropRequiredStatusChecksTypeForResponse", "WebhookBranchProtectionRuleEditedPropChangesType", + "WebhookBranchProtectionRuleEditedPropChangesTypeForResponse", "WebhookBranchProtectionRuleEditedType", + "WebhookBranchProtectionRuleEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0504.py b/githubkit/versions/v2022_11_28/types/group_0504.py index 4b2e87e2c..f323a2074 100644 --- a/githubkit/versions/v2022_11_28/types/group_0504.py +++ b/githubkit/versions/v2022_11_28/types/group_0504.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0456 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0456 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunCompletedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunCompletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunCompletedType",) +class WebhookCheckRunCompletedTypeForResponse(TypedDict): + """Check Run Completed Event""" + + action: Literal["completed"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunCompletedType", + "WebhookCheckRunCompletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0505.py b/githubkit/versions/v2022_11_28/types/group_0505.py index 831afd105..3b7d28ea8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0505.py +++ b/githubkit/versions/v2022_11_28/types/group_0505.py @@ -21,4 +21,16 @@ class WebhookCheckRunCompletedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunCompletedFormEncodedType",) +class WebhookCheckRunCompletedFormEncodedTypeForResponse(TypedDict): + """Check Run Completed Event + + The check_run.completed webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunCompletedFormEncodedType", + "WebhookCheckRunCompletedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0506.py b/githubkit/versions/v2022_11_28/types/group_0506.py index 6e0b16fcf..203cc3338 100644 --- a/githubkit/versions/v2022_11_28/types/group_0506.py +++ b/githubkit/versions/v2022_11_28/types/group_0506.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0456 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0456 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunCreatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunCreatedType",) +class WebhookCheckRunCreatedTypeForResponse(TypedDict): + """Check Run Created Event""" + + action: Literal["created"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunCreatedType", + "WebhookCheckRunCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0507.py b/githubkit/versions/v2022_11_28/types/group_0507.py index 090ccf388..ea23019c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0507.py +++ b/githubkit/versions/v2022_11_28/types/group_0507.py @@ -21,4 +21,16 @@ class WebhookCheckRunCreatedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunCreatedFormEncodedType",) +class WebhookCheckRunCreatedFormEncodedTypeForResponse(TypedDict): + """Check Run Created Event + + The check_run.created webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunCreatedFormEncodedType", + "WebhookCheckRunCreatedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0508.py b/githubkit/versions/v2022_11_28/types/group_0508.py index 3a4fc3600..df4539110 100644 --- a/githubkit/versions/v2022_11_28/types/group_0508.py +++ b/githubkit/versions/v2022_11_28/types/group_0508.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0456 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0456 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunRequestedActionType(TypedDict): @@ -33,6 +39,21 @@ class WebhookCheckRunRequestedActionType(TypedDict): sender: SimpleUserType +class WebhookCheckRunRequestedActionTypeForResponse(TypedDict): + """Check Run Requested Action Event""" + + action: Literal["requested_action"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + requested_action: NotRequired[ + WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse + ] + sender: SimpleUserTypeForResponse + + class WebhookCheckRunRequestedActionPropRequestedActionType(TypedDict): """WebhookCheckRunRequestedActionPropRequestedAction @@ -42,7 +63,18 @@ class WebhookCheckRunRequestedActionPropRequestedActionType(TypedDict): identifier: NotRequired[str] +class WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse(TypedDict): + """WebhookCheckRunRequestedActionPropRequestedAction + + The action requested by the user. + """ + + identifier: NotRequired[str] + + __all__ = ( "WebhookCheckRunRequestedActionPropRequestedActionType", + "WebhookCheckRunRequestedActionPropRequestedActionTypeForResponse", "WebhookCheckRunRequestedActionType", + "WebhookCheckRunRequestedActionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0509.py b/githubkit/versions/v2022_11_28/types/group_0509.py index 0d80e2c39..3077b77a7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0509.py +++ b/githubkit/versions/v2022_11_28/types/group_0509.py @@ -21,4 +21,16 @@ class WebhookCheckRunRequestedActionFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunRequestedActionFormEncodedType",) +class WebhookCheckRunRequestedActionFormEncodedTypeForResponse(TypedDict): + """Check Run Requested Action Event + + The check_run.requested_action webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunRequestedActionFormEncodedType", + "WebhookCheckRunRequestedActionFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0510.py b/githubkit/versions/v2022_11_28/types/group_0510.py index b1fb93060..81cc58ce9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0510.py +++ b/githubkit/versions/v2022_11_28/types/group_0510.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0456 import CheckRunWithSimpleCheckSuiteType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0456 import ( + CheckRunWithSimpleCheckSuiteType, + CheckRunWithSimpleCheckSuiteTypeForResponse, +) class WebhookCheckRunRerequestedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookCheckRunRerequestedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCheckRunRerequestedType",) +class WebhookCheckRunRerequestedTypeForResponse(TypedDict): + """Check Run Re-Requested Event""" + + action: Literal["rerequested"] + check_run: CheckRunWithSimpleCheckSuiteTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCheckRunRerequestedType", + "WebhookCheckRunRerequestedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0511.py b/githubkit/versions/v2022_11_28/types/group_0511.py index ef6a77599..895abece0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0511.py +++ b/githubkit/versions/v2022_11_28/types/group_0511.py @@ -21,4 +21,16 @@ class WebhookCheckRunRerequestedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookCheckRunRerequestedFormEncodedType",) +class WebhookCheckRunRerequestedFormEncodedTypeForResponse(TypedDict): + """Check Run Re-Requested Event + + The check_run.rerequested webhook encoded with URL encoding + """ + + payload: str + + +__all__ = ( + "WebhookCheckRunRerequestedFormEncodedType", + "WebhookCheckRunRerequestedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0512.py b/githubkit/versions/v2022_11_28/types/group_0512.py index 2e6281fda..e718a0490 100644 --- a/githubkit/versions/v2022_11_28/types/group_0512.py +++ b/githubkit/versions/v2022_11_28/types/group_0512.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteCompletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteCompletedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteCompletedTypeForResponse(TypedDict): + """check_suite completed event""" + + action: Literal["completed"] + check_suite: WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteCompletedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteCompletedPropCheckSuite @@ -75,6 +90,49 @@ class WebhookCheckSuiteCompletedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteCompletedPropCheckSuite + + The [check_suite](https://docs.github.com/rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + "startup_failure", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[ + None, Literal["requested", "in_progress", "completed", "queued", "pending"] + ] + updated_at: str + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppType(TypedDict): """App @@ -101,6 +159,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -128,6 +214,35 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissions @@ -171,6 +286,51 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType(TypedDi workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -182,6 +342,19 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse(TypedDict): + """SimpleCommit""" + + author: ( + WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + ) + committer: WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -194,6 +367,20 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType(Typed username: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -208,6 +395,20 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -218,6 +419,18 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType(TypedDic url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -228,6 +441,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType( sha: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -238,6 +461,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropR url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -248,6 +481,16 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType( sha: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -258,18 +501,41 @@ class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropR url: str +class WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropAppType", + "WebhookCheckSuiteCompletedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteCompletedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteCompletedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteCompletedPropCheckSuiteType", + "WebhookCheckSuiteCompletedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteCompletedType", + "WebhookCheckSuiteCompletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0513.py b/githubkit/versions/v2022_11_28/types/group_0513.py index a7713eb3b..c3614b83e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0513.py +++ b/githubkit/versions/v2022_11_28/types/group_0513.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteRequestedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteRequestedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteRequestedTypeForResponse(TypedDict): + """check_suite requested event""" + + action: Literal["requested"] + check_suite: WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteRequestedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteRequestedPropCheckSuite @@ -72,6 +87,46 @@ class WebhookCheckSuiteRequestedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteRequestedPropCheckSuite + + The [check_suite](https://docs.github.com/rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[None, Literal["requested", "in_progress", "completed", "queued"]] + updated_at: str + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppType(TypedDict): """App @@ -98,6 +153,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -125,6 +208,35 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissions @@ -168,6 +280,51 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType(TypedDi workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -179,6 +336,19 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse(TypedDict): + """SimpleCommit""" + + author: ( + WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + ) + committer: WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -191,6 +361,20 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType(Typed username: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -205,6 +389,20 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -215,6 +413,18 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType(TypedDic url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -225,6 +435,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType( sha: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -235,6 +455,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropR url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -245,6 +475,16 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType( sha: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -255,18 +495,41 @@ class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropR url: str +class WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRequestedPropCheckSuiteType", + "WebhookCheckSuiteRequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRequestedType", + "WebhookCheckSuiteRequestedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0514.py b/githubkit/versions/v2022_11_28/types/group_0514.py index 01a05268c..ba2f9472a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0514.py +++ b/githubkit/versions/v2022_11_28/types/group_0514.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCheckSuiteRerequestedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookCheckSuiteRerequestedType(TypedDict): sender: SimpleUserType +class WebhookCheckSuiteRerequestedTypeForResponse(TypedDict): + """check_suite rerequested event""" + + action: Literal["rerequested"] + check_suite: WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCheckSuiteRerequestedPropCheckSuiteType(TypedDict): """WebhookCheckSuiteRerequestedPropCheckSuite @@ -71,6 +86,45 @@ class WebhookCheckSuiteRerequestedPropCheckSuiteType(TypedDict): url: str +class WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse(TypedDict): + """WebhookCheckSuiteRerequestedPropCheckSuite + + The [check_suite](https://docs.github.com/rest/checks/suites#get-a-check-suite). + """ + + after: Union[str, None] + app: WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse + before: Union[str, None] + check_runs_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + head_branch: Union[str, None] + head_commit: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse + head_sha: str + id: int + latest_check_runs_count: int + node_id: str + pull_requests: list[ + WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse + ] + rerequestable: NotRequired[bool] + runs_rerequestable: NotRequired[bool] + status: Union[None, Literal["requested", "in_progress", "completed", "queued"]] + updated_at: str + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppType(TypedDict): """App @@ -97,6 +151,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + client_id: NotRequired[Union[str, None]] + name: str + node_id: str + owner: Union[ + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType(TypedDict): """User""" @@ -124,6 +206,35 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType(TypedDict): """WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissions @@ -167,6 +278,51 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType(Typed workflows: NotRequired[Literal["read", "write"]] +class WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType(TypedDict): """SimpleCommit""" @@ -178,6 +334,19 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType(TypedDict): tree_id: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse + committer: WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType(TypedDict): """Committer @@ -190,6 +359,20 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType( TypedDict ): @@ -204,6 +387,20 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -214,6 +411,18 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType(TypedD url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse + head: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType( TypedDict ): @@ -224,6 +433,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTyp sha: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -234,6 +453,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePro url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType( TypedDict ): @@ -244,6 +473,16 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTyp sha: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -254,18 +493,41 @@ class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPro url: str +class WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropOwnerTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppPropPermissionsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropAppType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropAppTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropAuthorTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitPropCommitterTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropHeadCommitTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropBaseTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsPropHeadTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsType", + "WebhookCheckSuiteRerequestedPropCheckSuitePropPullRequestsItemsTypeForResponse", "WebhookCheckSuiteRerequestedPropCheckSuiteType", + "WebhookCheckSuiteRerequestedPropCheckSuiteTypeForResponse", "WebhookCheckSuiteRerequestedType", + "WebhookCheckSuiteRerequestedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0515.py b/githubkit/versions/v2022_11_28/types/group_0515.py index af116360c..15af814f5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0515.py +++ b/githubkit/versions/v2022_11_28/types/group_0515.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0516 import WebhookCodeScanningAlertAppearedInBranchPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0516 import ( + WebhookCodeScanningAlertAppearedInBranchPropAlertType, + WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse, +) class WebhookCodeScanningAlertAppearedInBranchType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertAppearedInBranchType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertAppearedInBranchType",) +class WebhookCodeScanningAlertAppearedInBranchTypeForResponse(TypedDict): + """code_scanning_alert appeared_in_branch event""" + + action: Literal["appeared_in_branch"] + alert: WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertAppearedInBranchType", + "WebhookCodeScanningAlertAppearedInBranchTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0516.py b/githubkit/versions/v2022_11_28/types/group_0516.py index 9eb1fe779..a352717ea 100644 --- a/githubkit/versions/v2022_11_28/types/group_0516.py +++ b/githubkit/versions/v2022_11_28/types/group_0516.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertAppearedInBranchPropAlertType(TypedDict): @@ -47,6 +47,38 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertAppearedInBranchPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse, + None, + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed", "fixed"]] + tool: WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType(TypedDict): """User""" @@ -74,6 +106,35 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType(Typed user_view_type: NotRequired[str] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType( TypedDict ): @@ -94,6 +155,26 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTyp state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -108,6 +189,20 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePro start_line: NotRequired[int] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocat + ion + """ + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -118,6 +213,16 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePro text: NotRequired[str] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessa + ge + """ + + text: NotRequired[str] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertAppearedInBranchPropAlertPropRule""" @@ -126,6 +231,16 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType(TypedDict): severity: Union[None, Literal["none", "note", "warning", "error"]] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropRule""" + + description: str + id: str + severity: Union[None, Literal["none", "note", "warning", "error"]] + + class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertAppearedInBranchPropAlertPropTool""" @@ -133,12 +248,28 @@ class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertAppearedInBranchPropAlertPropTool""" + + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertAppearedInBranchPropAlertType", + "WebhookCodeScanningAlertAppearedInBranchPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0517.py b/githubkit/versions/v2022_11_28/types/group_0517.py index e1b364576..4b557e34a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0517.py +++ b/githubkit/versions/v2022_11_28/types/group_0517.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0518 import WebhookCodeScanningAlertClosedByUserPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0518 import ( + WebhookCodeScanningAlertClosedByUserPropAlertType, + WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse, +) class WebhookCodeScanningAlertClosedByUserType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertClosedByUserType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertClosedByUserType",) +class WebhookCodeScanningAlertClosedByUserTypeForResponse(TypedDict): + """code_scanning_alert closed_by_user event""" + + action: Literal["closed_by_user"] + alert: WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertClosedByUserType", + "WebhookCodeScanningAlertClosedByUserTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0518.py b/githubkit/versions/v2022_11_28/types/group_0518.py index bbb0a1302..a01ec5849 100644 --- a/githubkit/versions/v2022_11_28/types/group_0518.py +++ b/githubkit/versions/v2022_11_28/types/group_0518.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertClosedByUserPropAlertType(TypedDict): @@ -53,6 +53,44 @@ class WebhookCodeScanningAlertClosedByUserPropAlertType(TypedDict): ] +class WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: str + dismissed_by: Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse, + None, + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse + state: Literal["dismissed", "fixed"] + tool: WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse + url: str + dismissal_approved_by: NotRequired[ + Union[ + WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse, + None, + ] + ] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType(TypedDict): """User""" @@ -80,6 +118,35 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType(TypedDict user_view_type: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType( TypedDict ): @@ -100,6 +167,26 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType( state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -112,6 +199,18 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLoc start_line: NotRequired[int] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -120,6 +219,14 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMes text: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertClosedByUserPropAlertPropRule""" @@ -133,6 +240,19 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertClosedByUserPropAlertPropTool""" @@ -141,6 +261,14 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertClosedByUserPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType( TypedDict ): @@ -170,13 +298,50 @@ class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType( user_view_type: NotRequired[str] +class WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissalApprovedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertClosedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertClosedByUserPropAlertType", + "WebhookCodeScanningAlertClosedByUserPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0519.py b/githubkit/versions/v2022_11_28/types/group_0519.py index accc4d158..0a31bb366 100644 --- a/githubkit/versions/v2022_11_28/types/group_0519.py +++ b/githubkit/versions/v2022_11_28/types/group_0519.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0520 import WebhookCodeScanningAlertCreatedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0520 import ( + WebhookCodeScanningAlertCreatedPropAlertType, + WebhookCodeScanningAlertCreatedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertCreatedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertCreatedType",) +class WebhookCodeScanningAlertCreatedTypeForResponse(TypedDict): + """code_scanning_alert created event""" + + action: Literal["created"] + alert: WebhookCodeScanningAlertCreatedPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertCreatedType", + "WebhookCodeScanningAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0520.py b/githubkit/versions/v2022_11_28/types/group_0520.py index fd467f49a..efcd13067 100644 --- a/githubkit/versions/v2022_11_28/types/group_0520.py +++ b/githubkit/versions/v2022_11_28/types/group_0520.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertCreatedPropAlertType(TypedDict): @@ -43,6 +43,36 @@ class WebhookCodeScanningAlertCreatedPropAlertType(TypedDict): assignees: NotRequired[list[SimpleUserType]] +class WebhookCodeScanningAlertCreatedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlert + + The code scanning alert involved in the event. + """ + + created_at: Union[str, None] + dismissed_at: None + dismissed_by: None + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: None + fixed_at: NotRequired[None] + html_url: str + instances_url: NotRequired[str] + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed"]] + tool: Union[WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse, None] + updated_at: NotRequired[Union[str, None]] + url: str + dismissal_approved_by: NotRequired[None] + assignees: NotRequired[list[SimpleUserTypeForResponse]] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -61,6 +91,26 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType(TypedDi state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -73,6 +123,18 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocation start_line: NotRequired[int] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -81,6 +143,14 @@ class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageT text: NotRequired[str] +class WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertCreatedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertCreatedPropAlertPropRule""" @@ -94,6 +164,19 @@ class WebhookCodeScanningAlertCreatedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertCreatedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertCreatedPropAlertPropTool""" @@ -102,11 +185,25 @@ class WebhookCodeScanningAlertCreatedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertCreatedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertCreatedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropRuleType", + "WebhookCodeScanningAlertCreatedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertPropToolType", + "WebhookCodeScanningAlertCreatedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertCreatedPropAlertType", + "WebhookCodeScanningAlertCreatedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0521.py b/githubkit/versions/v2022_11_28/types/group_0521.py index 05362c8b9..0a5511f99 100644 --- a/githubkit/versions/v2022_11_28/types/group_0521.py +++ b/githubkit/versions/v2022_11_28/types/group_0521.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0522 import WebhookCodeScanningAlertFixedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0522 import ( + WebhookCodeScanningAlertFixedPropAlertType, + WebhookCodeScanningAlertFixedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertFixedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertFixedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertFixedType",) +class WebhookCodeScanningAlertFixedTypeForResponse(TypedDict): + """code_scanning_alert fixed event""" + + action: Literal["fixed"] + alert: WebhookCodeScanningAlertFixedPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertFixedType", + "WebhookCodeScanningAlertFixedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0522.py b/githubkit/versions/v2022_11_28/types/group_0522.py index e56e94af9..834271f30 100644 --- a/githubkit/versions/v2022_11_28/types/group_0522.py +++ b/githubkit/versions/v2022_11_28/types/group_0522.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertFixedPropAlertType(TypedDict): @@ -43,6 +43,38 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse, None + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[ + None, Literal["false positive", "won't fix", "used in tests"] + ] + fixed_at: NotRequired[None] + html_url: str + instances_url: NotRequired[str] + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["fixed"]] + tool: WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertFixedPropAlertPropDismissedByType(TypedDict): """User""" @@ -70,6 +102,33 @@ class WebhookCodeScanningAlertFixedPropAlertPropDismissedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -88,6 +147,26 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType(TypedDict state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -100,6 +179,18 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTy start_line: NotRequired[int] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -108,6 +199,14 @@ class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTyp text: NotRequired[str] +class WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertFixedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertFixedPropAlertPropRule""" @@ -121,6 +220,19 @@ class WebhookCodeScanningAlertFixedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertFixedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertFixedPropAlertPropTool""" @@ -129,12 +241,27 @@ class WebhookCodeScanningAlertFixedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertFixedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertFixedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertFixedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertFixedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropRuleType", + "WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertPropToolType", + "WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertFixedPropAlertType", + "WebhookCodeScanningAlertFixedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0523.py b/githubkit/versions/v2022_11_28/types/group_0523.py index c71062985..28f0d0f49 100644 --- a/githubkit/versions/v2022_11_28/types/group_0523.py +++ b/githubkit/versions/v2022_11_28/types/group_0523.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0524 import WebhookCodeScanningAlertReopenedPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0524 import ( + WebhookCodeScanningAlertReopenedPropAlertType, + WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, +) class WebhookCodeScanningAlertReopenedType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertReopenedType",) +class WebhookCodeScanningAlertReopenedTypeForResponse(TypedDict): + """code_scanning_alert reopened event""" + + action: Literal["reopened"] + alert: Union[WebhookCodeScanningAlertReopenedPropAlertTypeForResponse, None] + commit_oid: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: Union[str, None] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertReopenedType", + "WebhookCodeScanningAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0524.py b/githubkit/versions/v2022_11_28/types/group_0524.py index caa551b59..47a47ec82 100644 --- a/githubkit/versions/v2022_11_28/types/group_0524.py +++ b/githubkit/versions/v2022_11_28/types/group_0524.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertReopenedPropAlertType(TypedDict): @@ -42,10 +42,45 @@ class WebhookCodeScanningAlertReopenedPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertReopenedPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: Union[str, None] + dismissed_by: Union[ + WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse, None + ] + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: Union[str, None] + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "dismissed", "fixed"]] + tool: WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropDismissedBy""" +class WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropDismissedBy""" + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType(TypedDict): """Alert Instance""" @@ -64,6 +99,26 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType(TypedD state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -76,6 +131,18 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocatio start_line: NotRequired[int] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocation""" + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -84,6 +151,14 @@ class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessage text: NotRequired[str] +class WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertReopenedPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropRule""" @@ -97,6 +172,19 @@ class WebhookCodeScanningAlertReopenedPropAlertPropRuleType(TypedDict): tags: NotRequired[Union[list[str], None]] +class WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlertPropRule""" + + description: str + full_description: NotRequired[str] + help_: NotRequired[Union[str, None]] + help_uri: NotRequired[Union[str, None]] + id: str + name: NotRequired[str] + severity: Union[None, Literal["none", "note", "warning", "error"]] + tags: NotRequired[Union[list[str], None]] + + class WebhookCodeScanningAlertReopenedPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertReopenedPropAlertPropTool""" @@ -105,12 +193,27 @@ class WebhookCodeScanningAlertReopenedPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedPropAlertPropTool""" + + guid: NotRequired[Union[str, None]] + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByType", + "WebhookCodeScanningAlertReopenedPropAlertPropDismissedByTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertReopenedPropAlertType", + "WebhookCodeScanningAlertReopenedPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0525.py b/githubkit/versions/v2022_11_28/types/group_0525.py index 00b85c33a..be2e389ad 100644 --- a/githubkit/versions/v2022_11_28/types/group_0525.py +++ b/githubkit/versions/v2022_11_28/types/group_0525.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0526 import WebhookCodeScanningAlertReopenedByUserPropAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0526 import ( + WebhookCodeScanningAlertReopenedByUserPropAlertType, + WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse, +) class WebhookCodeScanningAlertReopenedByUserType(TypedDict): @@ -34,4 +40,21 @@ class WebhookCodeScanningAlertReopenedByUserType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCodeScanningAlertReopenedByUserType",) +class WebhookCodeScanningAlertReopenedByUserTypeForResponse(TypedDict): + """code_scanning_alert reopened_by_user event""" + + action: Literal["reopened_by_user"] + alert: WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse + commit_oid: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCodeScanningAlertReopenedByUserType", + "WebhookCodeScanningAlertReopenedByUserTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0526.py b/githubkit/versions/v2022_11_28/types/group_0526.py index d90cf6c4d..9e20d73f0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0526.py +++ b/githubkit/versions/v2022_11_28/types/group_0526.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookCodeScanningAlertReopenedByUserPropAlertType(TypedDict): @@ -43,6 +43,33 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertType(TypedDict): url: str +class WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlert + + The code scanning alert involved in the event. + """ + + assignees: NotRequired[list[SimpleUserTypeForResponse]] + created_at: str + dismissed_at: None + dismissed_by: None + dismissed_comment: NotRequired[Union[str, None]] + dismissed_reason: None + fixed_at: NotRequired[None] + html_url: str + most_recent_instance: NotRequired[ + Union[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse, + None, + ] + ] + number: int + rule: WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse + state: Union[None, Literal["open", "fixed"]] + tool: WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse + url: str + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType( TypedDict ): @@ -63,6 +90,26 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType( state: Literal["open", "dismissed", "fixed"] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse( + TypedDict +): + """Alert Instance""" + + analysis_key: str + category: NotRequired[str] + classifications: NotRequired[list[str]] + commit_sha: NotRequired[str] + environment: str + location: NotRequired[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse + ] + message: NotRequired[ + WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse + ] + ref: str + state: Literal["open", "dismissed", "fixed"] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType( TypedDict ): @@ -77,6 +124,20 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropL start_line: NotRequired[int] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocatio + n + """ + + end_column: NotRequired[int] + end_line: NotRequired[int] + path: NotRequired[str] + start_column: NotRequired[int] + start_line: NotRequired[int] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType( TypedDict ): @@ -85,6 +146,14 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropM text: NotRequired[str] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse( + TypedDict +): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessage""" + + text: NotRequired[str] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType(TypedDict): """WebhookCodeScanningAlertReopenedByUserPropAlertPropRule""" @@ -93,6 +162,14 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType(TypedDict): severity: Union[None, Literal["none", "note", "warning", "error"]] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropRule""" + + description: str + id: str + severity: Union[None, Literal["none", "note", "warning", "error"]] + + class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType(TypedDict): """WebhookCodeScanningAlertReopenedByUserPropAlertPropTool""" @@ -100,11 +177,24 @@ class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType(TypedDict): version: Union[str, None] +class WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse(TypedDict): + """WebhookCodeScanningAlertReopenedByUserPropAlertPropTool""" + + name: str + version: Union[str, None] + + __all__ = ( "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropLocationTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstancePropMessageTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropMostRecentInstanceTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropRuleTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolType", + "WebhookCodeScanningAlertReopenedByUserPropAlertPropToolTypeForResponse", "WebhookCodeScanningAlertReopenedByUserPropAlertType", + "WebhookCodeScanningAlertReopenedByUserPropAlertTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0527.py b/githubkit/versions/v2022_11_28/types/group_0527.py index 8e4ca816d..e2ca0523d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0527.py +++ b/githubkit/versions/v2022_11_28/types/group_0527.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCommitCommentCreatedType(TypedDict): @@ -31,6 +34,18 @@ class WebhookCommitCommentCreatedType(TypedDict): sender: SimpleUserType +class WebhookCommitCommentCreatedTypeForResponse(TypedDict): + """commit_comment created event""" + + action: Literal["created"] + comment: WebhookCommitCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookCommitCommentCreatedPropCommentType(TypedDict): """WebhookCommitCommentCreatedPropComment @@ -64,6 +79,41 @@ class WebhookCommitCommentCreatedPropCommentType(TypedDict): user: Union[WebhookCommitCommentCreatedPropCommentPropUserType, None] +class WebhookCommitCommentCreatedPropCommentTypeForResponse(TypedDict): + """WebhookCommitCommentCreatedPropComment + + The [commit + comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue- + comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + html_url: str + id: int + line: Union[int, None] + node_id: str + path: Union[str, None] + position: Union[int, None] + reactions: NotRequired[ + WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse + ] + updated_at: str + url: str + user: Union[WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse, None] + + class WebhookCommitCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -79,6 +129,21 @@ class WebhookCommitCommentCreatedPropCommentPropReactionsType(TypedDict): url: str +class WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookCommitCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -106,9 +171,40 @@ class WebhookCommitCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookCommitCommentCreatedPropCommentPropReactionsType", + "WebhookCommitCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookCommitCommentCreatedPropCommentPropUserType", + "WebhookCommitCommentCreatedPropCommentPropUserTypeForResponse", "WebhookCommitCommentCreatedPropCommentType", + "WebhookCommitCommentCreatedPropCommentTypeForResponse", "WebhookCommitCommentCreatedType", + "WebhookCommitCommentCreatedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0528.py b/githubkit/versions/v2022_11_28/types/group_0528.py index 55a4f9cdc..c084500c0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0528.py +++ b/githubkit/versions/v2022_11_28/types/group_0528.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCreateType(TypedDict): @@ -34,4 +37,22 @@ class WebhookCreateType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookCreateType",) +class WebhookCreateTypeForResponse(TypedDict): + """create event""" + + description: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + master_branch: str + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher_type: str + ref: str + ref_type: Literal["tag", "branch"] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookCreateType", + "WebhookCreateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0529.py b/githubkit/versions/v2022_11_28/types/group_0529.py index 7a092a219..963df4d3c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0529.py +++ b/githubkit/versions/v2022_11_28/types/group_0529.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0140 import CustomPropertyType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0140 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyCreatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyCreatedType",) +class WebhookCustomPropertyCreatedTypeForResponse(TypedDict): + """custom property created event""" + + action: Literal["created"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyCreatedType", + "WebhookCustomPropertyCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0530.py b/githubkit/versions/v2022_11_28/types/group_0530.py index 83e49fdfe..6ff40e483 100644 --- a/githubkit/versions/v2022_11_28/types/group_0530.py +++ b/githubkit/versions/v2022_11_28/types/group_0530.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyDeletedType(TypedDict): @@ -29,13 +32,32 @@ class WebhookCustomPropertyDeletedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookCustomPropertyDeletedTypeForResponse(TypedDict): + """custom property deleted event""" + + action: Literal["deleted"] + definition: WebhookCustomPropertyDeletedPropDefinitionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookCustomPropertyDeletedPropDefinitionType(TypedDict): """WebhookCustomPropertyDeletedPropDefinition""" property_name: str +class WebhookCustomPropertyDeletedPropDefinitionTypeForResponse(TypedDict): + """WebhookCustomPropertyDeletedPropDefinition""" + + property_name: str + + __all__ = ( "WebhookCustomPropertyDeletedPropDefinitionType", + "WebhookCustomPropertyDeletedPropDefinitionTypeForResponse", "WebhookCustomPropertyDeletedType", + "WebhookCustomPropertyDeletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0531.py b/githubkit/versions/v2022_11_28/types/group_0531.py index bcb836481..215572f95 100644 --- a/githubkit/versions/v2022_11_28/types/group_0531.py +++ b/githubkit/versions/v2022_11_28/types/group_0531.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0140 import CustomPropertyType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0140 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyPromotedToEnterpriseType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyPromotedToEnterpriseType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyPromotedToEnterpriseType",) +class WebhookCustomPropertyPromotedToEnterpriseTypeForResponse(TypedDict): + """custom property promoted to business event""" + + action: Literal["promote_to_enterprise"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyPromotedToEnterpriseType", + "WebhookCustomPropertyPromotedToEnterpriseTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0532.py b/githubkit/versions/v2022_11_28/types/group_0532.py index 46d0ebe36..fa4a33edc 100644 --- a/githubkit/versions/v2022_11_28/types/group_0532.py +++ b/githubkit/versions/v2022_11_28/types/group_0532.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0140 import CustomPropertyType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0140 import CustomPropertyType, CustomPropertyTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookCustomPropertyUpdatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookCustomPropertyUpdatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookCustomPropertyUpdatedType",) +class WebhookCustomPropertyUpdatedTypeForResponse(TypedDict): + """custom property updated event""" + + action: Literal["updated"] + definition: CustomPropertyTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyUpdatedType", + "WebhookCustomPropertyUpdatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0533.py b/githubkit/versions/v2022_11_28/types/group_0533.py index 680346d8c..83d4896d2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0533.py +++ b/githubkit/versions/v2022_11_28/types/group_0533.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0065 import CustomPropertyValueType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0065 import CustomPropertyValueType, CustomPropertyValueTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookCustomPropertyValuesUpdatedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookCustomPropertyValuesUpdatedType(TypedDict): old_property_values: list[CustomPropertyValueType] -__all__ = ("WebhookCustomPropertyValuesUpdatedType",) +class WebhookCustomPropertyValuesUpdatedTypeForResponse(TypedDict): + """Custom property values updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + new_property_values: list[CustomPropertyValueTypeForResponse] + old_property_values: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "WebhookCustomPropertyValuesUpdatedType", + "WebhookCustomPropertyValuesUpdatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0534.py b/githubkit/versions/v2022_11_28/types/group_0534.py index 22de4179b..b58b749db 100644 --- a/githubkit/versions/v2022_11_28/types/group_0534.py +++ b/githubkit/versions/v2022_11_28/types/group_0534.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDeleteType(TypedDict): @@ -32,4 +35,20 @@ class WebhookDeleteType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeleteType",) +class WebhookDeleteTypeForResponse(TypedDict): + """delete event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher_type: str + ref: str + ref_type: Literal["tag", "branch"] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeleteType", + "WebhookDeleteTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0535.py b/githubkit/versions/v2022_11_28/types/group_0535.py index cd6bdc056..18d3ab50f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0535.py +++ b/githubkit/versions/v2022_11_28/types/group_0535.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertAutoDismissedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertAutoDismissedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertAutoDismissedType",) +class WebhookDependabotAlertAutoDismissedTypeForResponse(TypedDict): + """Dependabot alert auto-dismissed event""" + + action: Literal["auto_dismissed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertAutoDismissedType", + "WebhookDependabotAlertAutoDismissedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0536.py b/githubkit/versions/v2022_11_28/types/group_0536.py index 3c2b19af8..53afe09d5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0536.py +++ b/githubkit/versions/v2022_11_28/types/group_0536.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertAutoReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertAutoReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertAutoReopenedType",) +class WebhookDependabotAlertAutoReopenedTypeForResponse(TypedDict): + """Dependabot alert auto-reopened event""" + + action: Literal["auto_reopened"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertAutoReopenedType", + "WebhookDependabotAlertAutoReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0537.py b/githubkit/versions/v2022_11_28/types/group_0537.py index 94f48e5a3..f433cfe31 100644 --- a/githubkit/versions/v2022_11_28/types/group_0537.py +++ b/githubkit/versions/v2022_11_28/types/group_0537.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertCreatedType",) +class WebhookDependabotAlertCreatedTypeForResponse(TypedDict): + """Dependabot alert created event""" + + action: Literal["created"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertCreatedType", + "WebhookDependabotAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0538.py b/githubkit/versions/v2022_11_28/types/group_0538.py index 3ad08c6f9..a69fdc289 100644 --- a/githubkit/versions/v2022_11_28/types/group_0538.py +++ b/githubkit/versions/v2022_11_28/types/group_0538.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertDismissedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertDismissedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertDismissedType",) +class WebhookDependabotAlertDismissedTypeForResponse(TypedDict): + """Dependabot alert dismissed event""" + + action: Literal["dismissed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertDismissedType", + "WebhookDependabotAlertDismissedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0539.py b/githubkit/versions/v2022_11_28/types/group_0539.py index f5f9b82b7..f4a249ac0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0539.py +++ b/githubkit/versions/v2022_11_28/types/group_0539.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertFixedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertFixedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertFixedType",) +class WebhookDependabotAlertFixedTypeForResponse(TypedDict): + """Dependabot alert fixed event""" + + action: Literal["fixed"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertFixedType", + "WebhookDependabotAlertFixedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0540.py b/githubkit/versions/v2022_11_28/types/group_0540.py index 0077c4fe1..7f0b0971b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0540.py +++ b/githubkit/versions/v2022_11_28/types/group_0540.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertReintroducedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertReintroducedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertReintroducedType",) +class WebhookDependabotAlertReintroducedTypeForResponse(TypedDict): + """Dependabot alert reintroduced event""" + + action: Literal["reintroduced"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertReintroducedType", + "WebhookDependabotAlertReintroducedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0541.py b/githubkit/versions/v2022_11_28/types/group_0541.py index 7dfbc94d5..a2c0b92a9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0541.py +++ b/githubkit/versions/v2022_11_28/types/group_0541.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0305 import DependabotAlertType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0305 import DependabotAlertType, DependabotAlertTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDependabotAlertReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDependabotAlertReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDependabotAlertReopenedType",) +class WebhookDependabotAlertReopenedTypeForResponse(TypedDict): + """Dependabot alert reopened event""" + + action: Literal["reopened"] + alert: DependabotAlertTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDependabotAlertReopenedType", + "WebhookDependabotAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0542.py b/githubkit/versions/v2022_11_28/types/group_0542.py index ecabfd61f..71cf83b71 100644 --- a/githubkit/versions/v2022_11_28/types/group_0542.py +++ b/githubkit/versions/v2022_11_28/types/group_0542.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0457 import WebhooksDeployKeyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0457 import WebhooksDeployKeyType, WebhooksDeployKeyTypeForResponse class WebhookDeployKeyCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDeployKeyCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeployKeyCreatedType",) +class WebhookDeployKeyCreatedTypeForResponse(TypedDict): + """deploy_key created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + key: WebhooksDeployKeyTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeployKeyCreatedType", + "WebhookDeployKeyCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0543.py b/githubkit/versions/v2022_11_28/types/group_0543.py index 2e68ae8fa..60200f904 100644 --- a/githubkit/versions/v2022_11_28/types/group_0543.py +++ b/githubkit/versions/v2022_11_28/types/group_0543.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0457 import WebhooksDeployKeyType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0457 import WebhooksDeployKeyType, WebhooksDeployKeyTypeForResponse class WebhookDeployKeyDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDeployKeyDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDeployKeyDeletedType",) +class WebhookDeployKeyDeletedTypeForResponse(TypedDict): + """deploy_key deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + key: WebhooksDeployKeyTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDeployKeyDeletedType", + "WebhookDeployKeyDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0544.py b/githubkit/versions/v2022_11_28/types/group_0544.py index 1a487fae1..af83aa569 100644 --- a/githubkit/versions/v2022_11_28/types/group_0544.py +++ b/githubkit/versions/v2022_11_28/types/group_0544.py @@ -13,12 +13,15 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0458 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0458 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookDeploymentCreatedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookDeploymentCreatedType(TypedDict): workflow_run: Union[WebhookDeploymentCreatedPropWorkflowRunType, None] +class WebhookDeploymentCreatedTypeForResponse(TypedDict): + """deployment created event""" + + action: Literal["created"] + deployment: WebhookDeploymentCreatedPropDeploymentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: Union[WebhookDeploymentCreatedPropWorkflowRunTypeForResponse, None] + + class WebhookDeploymentCreatedPropDeploymentType(TypedDict): """Deployment @@ -64,6 +81,42 @@ class WebhookDeploymentCreatedPropDeploymentType(TypedDict): url: str +class WebhookDeploymentCreatedPropDeploymentTypeForResponse(TypedDict): + """Deployment + + The [deployment](https://docs.github.com/rest/deployments/deployments#list- + deployments). + """ + + created_at: str + creator: Union[ + WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse, None + ] + description: Union[str, None] + environment: str + id: int + node_id: str + original_environment: str + payload: Union[ + str, WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse + ] + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + production_environment: NotRequired[bool] + ref: str + repository_url: str + sha: str + statuses_url: str + task: str + transient_environment: NotRequired[bool] + updated_at: str + url: str + + class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): """User""" @@ -91,11 +144,45 @@ class WebhookDeploymentCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type: TypeAlias = dict[str, Any] """WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 """ +WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse: TypeAlias = ( + dict[str, Any] +) +"""WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1 +""" + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType(TypedDict): """App @@ -124,6 +211,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -153,6 +270,35 @@ class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTy user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -198,6 +344,51 @@ class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermiss workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentCreatedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -264,6 +455,77 @@ class WebhookDeploymentCreatedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse, None] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[None] + head_repository: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[None] + pull_requests: list[ + WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: NotRequired[ + Union[ + WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -291,6 +553,33 @@ class WebhookDeploymentCreatedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -301,6 +590,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -328,6 +627,35 @@ class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepository""" @@ -381,6 +709,61 @@ class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" @@ -404,6 +787,31 @@ class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType(Typ url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropRepository""" @@ -457,6 +865,59 @@ class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType(TypedDict): url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse(TypedDict): + """WebhookDeploymentCreatedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwner""" @@ -480,6 +941,31 @@ class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType(TypedDi url: NotRequired[str] +class WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -490,6 +976,18 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -502,6 +1000,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -512,6 +1020,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRe url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -524,6 +1042,16 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( sha: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -534,25 +1062,55 @@ class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRe url: str +class WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentCreatedPropDeploymentType", + "WebhookDeploymentCreatedPropDeploymentTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentCreatedPropWorkflowRunType", + "WebhookDeploymentCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentCreatedType", + "WebhookDeploymentCreatedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0545.py b/githubkit/versions/v2022_11_28/types/group_0545.py index 3136fbe42..a34111640 100644 --- a/githubkit/versions/v2022_11_28/types/group_0545.py +++ b/githubkit/versions/v2022_11_28/types/group_0545.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0242 import DeploymentType -from .group_0369 import PullRequestType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0242 import DeploymentType, DeploymentTypeForResponse +from .group_0369 import PullRequestType, PullRequestTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookDeploymentProtectionRuleRequestedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookDeploymentProtectionRuleRequestedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookDeploymentProtectionRuleRequestedType",) +class WebhookDeploymentProtectionRuleRequestedTypeForResponse(TypedDict): + """deployment protection rule requested event""" + + action: Literal["requested"] + environment: NotRequired[str] + event: NotRequired[str] + deployment_callback_url: NotRequired[str] + deployment: NotRequired[DeploymentTypeForResponse] + pull_requests: NotRequired[list[PullRequestTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookDeploymentProtectionRuleRequestedType", + "WebhookDeploymentProtectionRuleRequestedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0546.py b/githubkit/versions/v2022_11_28/types/group_0546.py index e5d0ef09a..945367836 100644 --- a/githubkit/versions/v2022_11_28/types/group_0546.py +++ b/githubkit/versions/v2022_11_28/types/group_0546.py @@ -13,13 +13,24 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0459 import WebhooksApproverType, WebhooksReviewersItemsType -from .group_0460 import WebhooksWorkflowJobRunType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0459 import ( + WebhooksApproverType, + WebhooksApproverTypeForResponse, + WebhooksReviewersItemsType, + WebhooksReviewersItemsTypeForResponse, +) +from .group_0460 import ( + WebhooksWorkflowJobRunType, + WebhooksWorkflowJobRunTypeForResponse, +) class WebhookDeploymentReviewApprovedType(TypedDict): @@ -42,6 +53,28 @@ class WebhookDeploymentReviewApprovedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewApprovedPropWorkflowRunType, None] +class WebhookDeploymentReviewApprovedTypeForResponse(TypedDict): + """WebhookDeploymentReviewApproved""" + + action: Literal["approved"] + approver: NotRequired[WebhooksApproverTypeForResponse] + comment: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + reviewers: NotRequired[list[WebhooksReviewersItemsTypeForResponse]] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: NotRequired[WebhooksWorkflowJobRunTypeForResponse] + workflow_job_runs: NotRequired[ + list[WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse] + ] + workflow_run: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowJobRunsItems""" @@ -55,6 +88,19 @@ class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType(TypedDict): updated_at: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewApprovedPropWorkflowJobRunsItems""" + + conclusion: NotRequired[None] + created_at: NotRequired[str] + environment: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + status: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -125,6 +171,82 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -152,10 +274,43 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -166,6 +321,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItems sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -193,6 +358,35 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType(Type user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepository""" @@ -246,6 +440,61 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType(Typed url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -272,6 +521,32 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerT user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepository""" @@ -325,6 +600,61 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType(TypedDict url: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -351,6 +681,32 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -367,6 +723,18 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -377,6 +745,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBas sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -387,6 +765,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBas url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -397,6 +785,16 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHea sha: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -407,21 +805,47 @@ class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHea url: str +class WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewApprovedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewApprovedPropWorkflowRunType", + "WebhookDeploymentReviewApprovedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewApprovedType", + "WebhookDeploymentReviewApprovedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0547.py b/githubkit/versions/v2022_11_28/types/group_0547.py index 084ef73d2..5b169a496 100644 --- a/githubkit/versions/v2022_11_28/types/group_0547.py +++ b/githubkit/versions/v2022_11_28/types/group_0547.py @@ -13,13 +13,24 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0459 import WebhooksApproverType, WebhooksReviewersItemsType -from .group_0460 import WebhooksWorkflowJobRunType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0459 import ( + WebhooksApproverType, + WebhooksApproverTypeForResponse, + WebhooksReviewersItemsType, + WebhooksReviewersItemsTypeForResponse, +) +from .group_0460 import ( + WebhooksWorkflowJobRunType, + WebhooksWorkflowJobRunTypeForResponse, +) class WebhookDeploymentReviewRejectedType(TypedDict): @@ -42,6 +53,28 @@ class WebhookDeploymentReviewRejectedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewRejectedPropWorkflowRunType, None] +class WebhookDeploymentReviewRejectedTypeForResponse(TypedDict): + """WebhookDeploymentReviewRejected""" + + action: Literal["rejected"] + approver: NotRequired[WebhooksApproverTypeForResponse] + comment: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + reviewers: NotRequired[list[WebhooksReviewersItemsTypeForResponse]] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: NotRequired[WebhooksWorkflowJobRunTypeForResponse] + workflow_job_runs: NotRequired[ + list[WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse] + ] + workflow_run: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowJobRunsItems""" @@ -55,6 +88,19 @@ class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType(TypedDict): updated_at: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewRejectedPropWorkflowJobRunsItems""" + + conclusion: NotRequired[Union[str, None]] + created_at: NotRequired[str] + environment: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + status: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -123,6 +169,80 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunType(TypedDict): display_title: str +class WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal["requested", "in_progress", "completed", "queued", "waiting"] + triggering_actor: Union[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + display_title: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -150,10 +270,43 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -164,6 +317,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItems sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -191,6 +354,35 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType(Type user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepository""" @@ -244,6 +436,61 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType(Typed url: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -270,6 +517,32 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerT user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepository""" @@ -323,6 +596,61 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType(TypedDict url: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -349,6 +677,32 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -365,6 +719,18 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -375,6 +741,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBas sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -385,6 +761,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBas url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -395,6 +781,16 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHea sha: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -405,21 +801,47 @@ class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHea url: str +class WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowJobRunsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRejectedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRejectedPropWorkflowRunType", + "WebhookDeploymentReviewRejectedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRejectedType", + "WebhookDeploymentReviewRejectedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0548.py b/githubkit/versions/v2022_11_28/types/group_0548.py index 649f2cbb6..81c2068ec 100644 --- a/githubkit/versions/v2022_11_28/types/group_0548.py +++ b/githubkit/versions/v2022_11_28/types/group_0548.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookDeploymentReviewRequestedType(TypedDict): @@ -38,6 +41,25 @@ class WebhookDeploymentReviewRequestedType(TypedDict): workflow_run: Union[WebhookDeploymentReviewRequestedPropWorkflowRunType, None] +class WebhookDeploymentReviewRequestedTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequested""" + + action: Literal["requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + environment: str + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requestor: Union[WebhooksUserTypeForResponse, None] + reviewers: list[WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse] + sender: SimpleUserTypeForResponse + since: str + workflow_job_run: WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse + workflow_run: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse, None + ] + + class WebhookDeploymentReviewRequestedPropWorkflowJobRunType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowJobRun""" @@ -51,6 +73,19 @@ class WebhookDeploymentReviewRequestedPropWorkflowJobRunType(TypedDict): updated_at: str +class WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequestedPropWorkflowJobRun""" + + conclusion: None + created_at: str + environment: str + html_url: str + id: int + name: Union[str, None] + status: str + updated_at: str + + class WebhookDeploymentReviewRequestedPropReviewersItemsType(TypedDict): """WebhookDeploymentReviewRequestedPropReviewersItems""" @@ -60,6 +95,18 @@ class WebhookDeploymentReviewRequestedPropReviewersItemsType(TypedDict): type: NotRequired[Literal["User", "Team"]] +class WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse(TypedDict): + """WebhookDeploymentReviewRequestedPropReviewersItems""" + + reviewer: NotRequired[ + Union[ + WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse, + None, + ] + ] + type: NotRequired[Literal["User", "Team"]] + + class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType(TypedDict): """User""" @@ -87,6 +134,35 @@ class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType(TypedDi user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -157,6 +233,82 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunType(TypedDict): display_title: str +class WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + ], + ] + created_at: str + event: str + head_branch: str + head_commit: NotRequired[ + Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse, + None, + ] + ] + head_repository: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[Union[str, None]] + pull_requests: list[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + display_title: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -184,10 +336,45 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommit""" +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommit""" + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -198,6 +385,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItem sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -225,6 +422,35 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType(Typ user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepository""" @@ -278,6 +504,61 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType(Type url: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -304,6 +585,32 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwner user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepository""" @@ -357,6 +664,61 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType(TypedDic url: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -383,6 +745,32 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType user_view_type: NotRequired[str] +class WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType( TypedDict ): @@ -399,6 +787,18 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType( url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -409,6 +809,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBa sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -419,6 +829,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBa url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -429,6 +849,16 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHe sha: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -439,23 +869,51 @@ class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHe url: str +class WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerType", + "WebhookDeploymentReviewRequestedPropReviewersItemsPropReviewerTypeForResponse", "WebhookDeploymentReviewRequestedPropReviewersItemsType", + "WebhookDeploymentReviewRequestedPropReviewersItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowJobRunType", + "WebhookDeploymentReviewRequestedPropWorkflowJobRunTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentReviewRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentReviewRequestedPropWorkflowRunType", + "WebhookDeploymentReviewRequestedPropWorkflowRunTypeForResponse", "WebhookDeploymentReviewRequestedType", + "WebhookDeploymentReviewRequestedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0549.py b/githubkit/versions/v2022_11_28/types/group_0549.py index 86e81ad5d..d27ea2d49 100644 --- a/githubkit/versions/v2022_11_28/types/group_0549.py +++ b/githubkit/versions/v2022_11_28/types/group_0549.py @@ -13,12 +13,15 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0458 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0458 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookDeploymentStatusCreatedType(TypedDict): @@ -39,6 +42,26 @@ class WebhookDeploymentStatusCreatedType(TypedDict): ] +class WebhookDeploymentStatusCreatedTypeForResponse(TypedDict): + """deployment_status created event""" + + action: Literal["created"] + check_run: NotRequired[ + Union[WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse, None] + ] + deployment: WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse + deployment_status: WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: NotRequired[Union[WebhooksWorkflowTypeForResponse, None]] + workflow_run: NotRequired[ + Union[WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse, None] + ] + + class WebhookDeploymentStatusCreatedPropCheckRunType(TypedDict): """WebhookDeploymentStatusCreatedPropCheckRun""" @@ -68,6 +91,35 @@ class WebhookDeploymentStatusCreatedPropCheckRunType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse(TypedDict): + """WebhookDeploymentStatusCreatedPropCheckRun""" + + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + ], + ] + details_url: str + external_id: str + head_sha: str + html_url: str + id: int + name: str + node_id: str + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting", "pending"] + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentType(TypedDict): """Deployment @@ -102,6 +154,44 @@ class WebhookDeploymentStatusCreatedPropDeploymentType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse(TypedDict): + """Deployment + + The [deployment](https://docs.github.com/rest/deployments/deployments#list- + deployments). + """ + + created_at: str + creator: Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse, None + ] + description: Union[str, None] + environment: str + id: int + node_id: str + original_environment: str + payload: Union[ + str, + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse, + None, + ] + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + production_environment: NotRequired[bool] + ref: str + repository_url: str + sha: str + statuses_url: str + task: str + transient_environment: NotRequired[bool] + updated_at: str + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): """User""" @@ -129,6 +219,33 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type: TypeAlias = dict[ str, Any ] @@ -136,6 +253,13 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType(TypedDict): """ +WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1 +""" + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType( TypedDict ): @@ -166,6 +290,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -195,6 +349,35 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropO user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -241,6 +424,52 @@ class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropP workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermiss + ions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentStatusCreatedPropDeploymentStatusType(TypedDict): """WebhookDeploymentStatusCreatedPropDeploymentStatus @@ -272,6 +501,38 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusType(TypedDict): url: str +class WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse(TypedDict): + """WebhookDeploymentStatusCreatedPropDeploymentStatus + + The [deployment status](https://docs.github.com/rest/deployments/statuses#list- + deployment-statuses). + """ + + created_at: str + creator: Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse, + None, + ] + deployment_url: str + description: str + environment: str + environment_url: NotRequired[str] + id: int + log_url: NotRequired[str] + node_id: str + performed_via_github_app: NotRequired[ + Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + repository_url: str + state: str + target_url: str + updated_at: str + url: str + + class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType(TypedDict): """User""" @@ -299,6 +560,35 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType(TypedDic user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType( TypedDict ): @@ -329,7 +619,66 @@ class actors within GitHub. updated_at: Union[datetime, None] -class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType( +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse( TypedDict ): """User""" @@ -404,6 +753,52 @@ class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAp workflows: NotRequired[Literal["read", "write"]] +class WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropP + ermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookDeploymentStatusCreatedPropWorkflowRunType(TypedDict): """Deployment Workflow Run""" @@ -473,6 +868,78 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunType(TypedDict): workflow_url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse(TypedDict): + """Deployment Workflow Run""" + + actor: Union[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: NotRequired[str] + cancel_url: NotRequired[str] + check_suite_id: int + check_suite_node_id: str + check_suite_url: NotRequired[str] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "startup_failure", + ], + ] + created_at: str + display_title: str + event: str + head_branch: str + head_commit: NotRequired[None] + head_repository: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse + ] + head_sha: str + html_url: str + id: int + jobs_url: NotRequired[str] + logs_url: NotRequired[str] + name: str + node_id: str + path: str + previous_attempt_url: NotRequired[None] + pull_requests: list[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse + ] + rerun_url: NotRequired[str] + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "waiting", "pending" + ] + triggering_actor: Union[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -500,6 +967,33 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -510,6 +1004,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsT sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -537,6 +1041,35 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType(Typed user_view_type: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType(TypedDict): """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepository""" @@ -590,6 +1123,61 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType(TypedD url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -615,6 +1203,31 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTy url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType(TypedDict): """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepository""" @@ -668,6 +1281,61 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType(TypedDict) url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepository""" + + archive_url: NotRequired[str] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[None] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[bool] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + languages_url: NotRequired[str] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + owner: NotRequired[ + WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse + ] + private: NotRequired[bool] + pulls_url: NotRequired[str] + releases_url: NotRequired[str] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + trees_url: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType( TypedDict ): @@ -693,6 +1361,31 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType( url: NotRequired[str] +class WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """Check Run Pull Request""" @@ -703,6 +1396,18 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType(Typ url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """Check Run Pull Request""" + + base: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -713,6 +1418,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -723,6 +1438,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBase url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -733,6 +1458,16 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead sha: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -743,31 +1478,67 @@ class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHead url: str +class WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookDeploymentStatusCreatedPropCheckRunType", + "WebhookDeploymentStatusCreatedPropCheckRunTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1Type", + "WebhookDeploymentStatusCreatedPropDeploymentPropPayloadOneof1TypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropCreatorTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusPropPerformedViaGithubAppTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentStatusType", + "WebhookDeploymentStatusCreatedPropDeploymentStatusTypeForResponse", "WebhookDeploymentStatusCreatedPropDeploymentType", + "WebhookDeploymentStatusCreatedPropDeploymentTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorType", + "WebhookDeploymentStatusCreatedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookDeploymentStatusCreatedPropWorkflowRunType", + "WebhookDeploymentStatusCreatedPropWorkflowRunTypeForResponse", "WebhookDeploymentStatusCreatedType", + "WebhookDeploymentStatusCreatedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0550.py b/githubkit/versions/v2022_11_28/types/group_0550.py index 161bfb968..52e7c0af2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0550.py +++ b/githubkit/versions/v2022_11_28/types/group_0550.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0462 import WebhooksAnswerType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0462 import WebhooksAnswerType, WebhooksAnswerTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionAnsweredType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionAnsweredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionAnsweredType",) +class WebhookDiscussionAnsweredTypeForResponse(TypedDict): + """discussion answered event""" + + action: Literal["answered"] + answer: WebhooksAnswerTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionAnsweredType", + "WebhookDiscussionAnsweredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0551.py b/githubkit/versions/v2022_11_28/types/group_0551.py index cd2116ba6..9903eac91 100644 --- a/githubkit/versions/v2022_11_28/types/group_0551.py +++ b/githubkit/versions/v2022_11_28/types/group_0551.py @@ -13,12 +13,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionCategoryChangedType(TypedDict): @@ -34,18 +37,45 @@ class WebhookDiscussionCategoryChangedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionCategoryChangedTypeForResponse(TypedDict): + """discussion category changed event""" + + action: Literal["category_changed"] + changes: WebhookDiscussionCategoryChangedPropChangesTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionCategoryChangedPropChangesType(TypedDict): """WebhookDiscussionCategoryChangedPropChanges""" category: WebhookDiscussionCategoryChangedPropChangesPropCategoryType +class WebhookDiscussionCategoryChangedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionCategoryChangedPropChanges""" + + category: WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse + + class WebhookDiscussionCategoryChangedPropChangesPropCategoryType(TypedDict): """WebhookDiscussionCategoryChangedPropChangesPropCategory""" from_: WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType +class WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse(TypedDict): + """WebhookDiscussionCategoryChangedPropChangesPropCategory""" + + from_: ( + WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse + ) + + class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType(TypedDict): """WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFrom""" @@ -61,9 +91,30 @@ class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType(TypedD updated_at: str +class WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse( + TypedDict +): + """WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFrom""" + + created_at: str + description: str + emoji: str + id: int + is_answerable: bool + name: str + node_id: NotRequired[str] + repository_id: int + slug: str + updated_at: str + + __all__ = ( "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryPropFromTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesPropCategoryType", + "WebhookDiscussionCategoryChangedPropChangesPropCategoryTypeForResponse", "WebhookDiscussionCategoryChangedPropChangesType", + "WebhookDiscussionCategoryChangedPropChangesTypeForResponse", "WebhookDiscussionCategoryChangedType", + "WebhookDiscussionCategoryChangedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0552.py b/githubkit/versions/v2022_11_28/types/group_0552.py index bb53da593..efe08dd3b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0552.py +++ b/githubkit/versions/v2022_11_28/types/group_0552.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionClosedType",) +class WebhookDiscussionClosedTypeForResponse(TypedDict): + """discussion closed event""" + + action: Literal["closed"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionClosedType", + "WebhookDiscussionClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0553.py b/githubkit/versions/v2022_11_28/types/group_0553.py index 82f844a38..e705025ee 100644 --- a/githubkit/versions/v2022_11_28/types/group_0553.py +++ b/githubkit/versions/v2022_11_28/types/group_0553.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0464 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0464 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentCreatedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionCommentCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCommentCreatedType",) +class WebhookDiscussionCommentCreatedTypeForResponse(TypedDict): + """discussion_comment created event""" + + action: Literal["created"] + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCommentCreatedType", + "WebhookDiscussionCommentCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0554.py b/githubkit/versions/v2022_11_28/types/group_0554.py index 4475c7016..9b79adbc9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0554.py +++ b/githubkit/versions/v2022_11_28/types/group_0554.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0464 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0464 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentDeletedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionCommentDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCommentDeletedType",) +class WebhookDiscussionCommentDeletedTypeForResponse(TypedDict): + """discussion_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCommentDeletedType", + "WebhookDiscussionCommentDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0555.py b/githubkit/versions/v2022_11_28/types/group_0555.py index 6ea7c0a3d..7b81efea4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0555.py +++ b/githubkit/versions/v2022_11_28/types/group_0555.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0464 import WebhooksCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0464 import WebhooksCommentType, WebhooksCommentTypeForResponse class WebhookDiscussionCommentEditedType(TypedDict): @@ -35,20 +38,49 @@ class WebhookDiscussionCommentEditedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionCommentEditedTypeForResponse(TypedDict): + """discussion_comment edited event""" + + action: Literal["edited"] + changes: WebhookDiscussionCommentEditedPropChangesTypeForResponse + comment: WebhooksCommentTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionCommentEditedPropChangesType(TypedDict): """WebhookDiscussionCommentEditedPropChanges""" body: WebhookDiscussionCommentEditedPropChangesPropBodyType +class WebhookDiscussionCommentEditedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionCommentEditedPropChanges""" + + body: WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse + + class WebhookDiscussionCommentEditedPropChangesPropBodyType(TypedDict): """WebhookDiscussionCommentEditedPropChangesPropBody""" from_: str +class WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookDiscussionCommentEditedPropChangesPropBody""" + + from_: str + + __all__ = ( "WebhookDiscussionCommentEditedPropChangesPropBodyType", + "WebhookDiscussionCommentEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionCommentEditedPropChangesType", + "WebhookDiscussionCommentEditedPropChangesTypeForResponse", "WebhookDiscussionCommentEditedType", + "WebhookDiscussionCommentEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0556.py b/githubkit/versions/v2022_11_28/types/group_0556.py index effbeb46a..6e84d6838 100644 --- a/githubkit/versions/v2022_11_28/types/group_0556.py +++ b/githubkit/versions/v2022_11_28/types/group_0556.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionCreatedType",) +class WebhookDiscussionCreatedTypeForResponse(TypedDict): + """discussion created event""" + + action: Literal["created"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionCreatedType", + "WebhookDiscussionCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0557.py b/githubkit/versions/v2022_11_28/types/group_0557.py index 8de9e432f..6c9236c18 100644 --- a/githubkit/versions/v2022_11_28/types/group_0557.py +++ b/githubkit/versions/v2022_11_28/types/group_0557.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionDeletedType",) +class WebhookDiscussionDeletedTypeForResponse(TypedDict): + """discussion deleted event""" + + action: Literal["deleted"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionDeletedType", + "WebhookDiscussionDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0558.py b/githubkit/versions/v2022_11_28/types/group_0558.py index 0dd716120..06094b2ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0558.py +++ b/githubkit/versions/v2022_11_28/types/group_0558.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookDiscussionEditedType(TypedDict): sender: SimpleUserType +class WebhookDiscussionEditedTypeForResponse(TypedDict): + """discussion edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookDiscussionEditedPropChangesTypeForResponse] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookDiscussionEditedPropChangesType(TypedDict): """WebhookDiscussionEditedPropChanges""" @@ -40,21 +56,44 @@ class WebhookDiscussionEditedPropChangesType(TypedDict): title: NotRequired[WebhookDiscussionEditedPropChangesPropTitleType] +class WebhookDiscussionEditedPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChanges""" + + body: NotRequired[WebhookDiscussionEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookDiscussionEditedPropChangesPropTitleTypeForResponse] + + class WebhookDiscussionEditedPropChangesPropBodyType(TypedDict): """WebhookDiscussionEditedPropChangesPropBody""" from_: str +class WebhookDiscussionEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChangesPropBody""" + + from_: str + + class WebhookDiscussionEditedPropChangesPropTitleType(TypedDict): """WebhookDiscussionEditedPropChangesPropTitle""" from_: str +class WebhookDiscussionEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookDiscussionEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookDiscussionEditedPropChangesPropBodyType", + "WebhookDiscussionEditedPropChangesPropBodyTypeForResponse", "WebhookDiscussionEditedPropChangesPropTitleType", + "WebhookDiscussionEditedPropChangesPropTitleTypeForResponse", "WebhookDiscussionEditedPropChangesType", + "WebhookDiscussionEditedPropChangesTypeForResponse", "WebhookDiscussionEditedType", + "WebhookDiscussionEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0559.py b/githubkit/versions/v2022_11_28/types/group_0559.py index b3edfb1db..463c8bf42 100644 --- a/githubkit/versions/v2022_11_28/types/group_0559.py +++ b/githubkit/versions/v2022_11_28/types/group_0559.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookDiscussionLabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionLabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionLabeledType",) +class WebhookDiscussionLabeledTypeForResponse(TypedDict): + """discussion labeled event""" + + action: Literal["labeled"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionLabeledType", + "WebhookDiscussionLabeledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0560.py b/githubkit/versions/v2022_11_28/types/group_0560.py index 82a8a8675..006387dd2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0560.py +++ b/githubkit/versions/v2022_11_28/types/group_0560.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionLockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionLockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionLockedType",) +class WebhookDiscussionLockedTypeForResponse(TypedDict): + """discussion locked event""" + + action: Literal["locked"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionLockedType", + "WebhookDiscussionLockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0561.py b/githubkit/versions/v2022_11_28/types/group_0561.py index 6a30d1d17..9adb11e6d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0561.py +++ b/githubkit/versions/v2022_11_28/types/group_0561.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionPinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionPinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionPinnedType",) +class WebhookDiscussionPinnedTypeForResponse(TypedDict): + """discussion pinned event""" + + action: Literal["pinned"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionPinnedType", + "WebhookDiscussionPinnedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0562.py b/githubkit/versions/v2022_11_28/types/group_0562.py index 9cafd925b..691f5b759 100644 --- a/githubkit/versions/v2022_11_28/types/group_0562.py +++ b/githubkit/versions/v2022_11_28/types/group_0562.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionReopenedType",) +class WebhookDiscussionReopenedTypeForResponse(TypedDict): + """discussion reopened event""" + + action: Literal["reopened"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionReopenedType", + "WebhookDiscussionReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0563.py b/githubkit/versions/v2022_11_28/types/group_0563.py index aa2e0f384..0ee0cd719 100644 --- a/githubkit/versions/v2022_11_28/types/group_0563.py +++ b/githubkit/versions/v2022_11_28/types/group_0563.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0564 import WebhookDiscussionTransferredPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0564 import ( + WebhookDiscussionTransferredPropChangesType, + WebhookDiscussionTransferredPropChangesTypeForResponse, +) class WebhookDiscussionTransferredType(TypedDict): @@ -34,4 +40,20 @@ class WebhookDiscussionTransferredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionTransferredType",) +class WebhookDiscussionTransferredTypeForResponse(TypedDict): + """discussion transferred event""" + + action: Literal["transferred"] + changes: WebhookDiscussionTransferredPropChangesTypeForResponse + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionTransferredType", + "WebhookDiscussionTransferredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0564.py b/githubkit/versions/v2022_11_28/types/group_0564.py index 73eecbf6c..475312659 100644 --- a/githubkit/versions/v2022_11_28/types/group_0564.py +++ b/githubkit/versions/v2022_11_28/types/group_0564.py @@ -11,8 +11,8 @@ from typing_extensions import TypedDict -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionTransferredPropChangesType(TypedDict): @@ -22,4 +22,14 @@ class WebhookDiscussionTransferredPropChangesType(TypedDict): new_repository: RepositoryWebhooksType -__all__ = ("WebhookDiscussionTransferredPropChangesType",) +class WebhookDiscussionTransferredPropChangesTypeForResponse(TypedDict): + """WebhookDiscussionTransferredPropChanges""" + + new_discussion: DiscussionTypeForResponse + new_repository: RepositoryWebhooksTypeForResponse + + +__all__ = ( + "WebhookDiscussionTransferredPropChangesType", + "WebhookDiscussionTransferredPropChangesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0565.py b/githubkit/versions/v2022_11_28/types/group_0565.py index 2c2c02c1e..610250367 100644 --- a/githubkit/versions/v2022_11_28/types/group_0565.py +++ b/githubkit/versions/v2022_11_28/types/group_0565.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0462 import WebhooksAnswerType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0462 import WebhooksAnswerType, WebhooksAnswerTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnansweredType(TypedDict): @@ -30,4 +33,18 @@ class WebhookDiscussionUnansweredType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookDiscussionUnansweredType",) +class WebhookDiscussionUnansweredTypeForResponse(TypedDict): + """discussion unanswered event""" + + action: Literal["unanswered"] + discussion: DiscussionTypeForResponse + old_answer: WebhooksAnswerTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookDiscussionUnansweredType", + "WebhookDiscussionUnansweredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0566.py b/githubkit/versions/v2022_11_28/types/group_0566.py index fbc24d3e2..af8484ee6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0566.py +++ b/githubkit/versions/v2022_11_28/types/group_0566.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookDiscussionUnlabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookDiscussionUnlabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnlabeledType",) +class WebhookDiscussionUnlabeledTypeForResponse(TypedDict): + """discussion unlabeled event""" + + action: Literal["unlabeled"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnlabeledType", + "WebhookDiscussionUnlabeledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0567.py b/githubkit/versions/v2022_11_28/types/group_0567.py index de01a7bca..bc7bf0663 100644 --- a/githubkit/versions/v2022_11_28/types/group_0567.py +++ b/githubkit/versions/v2022_11_28/types/group_0567.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnlockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionUnlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnlockedType",) +class WebhookDiscussionUnlockedTypeForResponse(TypedDict): + """discussion unlocked event""" + + action: Literal["unlocked"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnlockedType", + "WebhookDiscussionUnlockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0568.py b/githubkit/versions/v2022_11_28/types/group_0568.py index 4dc607ead..ac38633ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0568.py +++ b/githubkit/versions/v2022_11_28/types/group_0568.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0463 import DiscussionType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0463 import DiscussionType, DiscussionTypeForResponse class WebhookDiscussionUnpinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookDiscussionUnpinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookDiscussionUnpinnedType",) +class WebhookDiscussionUnpinnedTypeForResponse(TypedDict): + """discussion unpinned event""" + + action: Literal["unpinned"] + discussion: DiscussionTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookDiscussionUnpinnedType", + "WebhookDiscussionUnpinnedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0569.py b/githubkit/versions/v2022_11_28/types/group_0569.py index 076afd78e..88a85b86d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0569.py +++ b/githubkit/versions/v2022_11_28/types/group_0569.py @@ -11,12 +11,15 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0570 import WebhookForkPropForkeeType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0570 import WebhookForkPropForkeeType, WebhookForkPropForkeeTypeForResponse class WebhookForkType(TypedDict): @@ -33,4 +36,21 @@ class WebhookForkType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookForkType",) +class WebhookForkTypeForResponse(TypedDict): + """fork event + + A user forks a repository. + """ + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + forkee: WebhookForkPropForkeeTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookForkType", + "WebhookForkTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0570.py b/githubkit/versions/v2022_11_28/types/group_0570.py index 3619fab67..ef77ff515 100644 --- a/githubkit/versions/v2022_11_28/types/group_0570.py +++ b/githubkit/versions/v2022_11_28/types/group_0570.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0572 import WebhookForkPropForkeeAllof0PropPermissionsType +from .group_0572 import ( + WebhookForkPropForkeeAllof0PropPermissionsType, + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, +) class WebhookForkPropForkeeType(TypedDict): @@ -115,6 +118,105 @@ class WebhookForkPropForkeeType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookForkPropForkeeTypeForResponse(TypedDict): + """WebhookForkPropForkee + + The created [`repository`](https://docs.github.com/rest/repos/repos#get-a- + repository) resource. + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: str + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[Union[str, None], None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: Literal[True] + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[Union[str, None], None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[None, None] + languages_url: str + license_: Union[WebhookForkPropForkeeMergedLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[None, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: WebhookForkPropForkeeMergedOwnerTypeForResponse + permissions: NotRequired[WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: str + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookForkPropForkeeMergedLicenseType(TypedDict): """WebhookForkPropForkeeMergedLicense""" @@ -125,6 +227,16 @@ class WebhookForkPropForkeeMergedLicenseType(TypedDict): url: Union[str, None] +class WebhookForkPropForkeeMergedLicenseTypeForResponse(TypedDict): + """WebhookForkPropForkeeMergedLicense""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookForkPropForkeeMergedOwnerType(TypedDict): """WebhookForkPropForkeeMergedOwner""" @@ -152,8 +264,38 @@ class WebhookForkPropForkeeMergedOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookForkPropForkeeMergedOwnerTypeForResponse(TypedDict): + """WebhookForkPropForkeeMergedOwner""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeMergedLicenseType", + "WebhookForkPropForkeeMergedLicenseTypeForResponse", "WebhookForkPropForkeeMergedOwnerType", + "WebhookForkPropForkeeMergedOwnerTypeForResponse", "WebhookForkPropForkeeType", + "WebhookForkPropForkeeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0571.py b/githubkit/versions/v2022_11_28/types/group_0571.py index 6af24d55b..8583b4c08 100644 --- a/githubkit/versions/v2022_11_28/types/group_0571.py +++ b/githubkit/versions/v2022_11_28/types/group_0571.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0572 import WebhookForkPropForkeeAllof0PropPermissionsType +from .group_0572 import ( + WebhookForkPropForkeeAllof0PropPermissionsType, + WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse, +) class WebhookForkPropForkeeAllof0Type(TypedDict): @@ -114,6 +117,104 @@ class WebhookForkPropForkeeAllof0Type(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookForkPropForkeeAllof0TypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookForkPropForkeeAllof0PropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookForkPropForkeeAllof0PropOwnerTypeForResponse, None] + permissions: NotRequired[WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookForkPropForkeeAllof0PropLicenseType(TypedDict): """License""" @@ -124,6 +225,16 @@ class WebhookForkPropForkeeAllof0PropLicenseType(TypedDict): url: Union[str, None] +class WebhookForkPropForkeeAllof0PropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookForkPropForkeeAllof0PropOwnerType(TypedDict): """User""" @@ -151,8 +262,38 @@ class WebhookForkPropForkeeAllof0PropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookForkPropForkeeAllof0PropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeAllof0PropLicenseType", + "WebhookForkPropForkeeAllof0PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof0PropOwnerType", + "WebhookForkPropForkeeAllof0PropOwnerTypeForResponse", "WebhookForkPropForkeeAllof0Type", + "WebhookForkPropForkeeAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0572.py b/githubkit/versions/v2022_11_28/types/group_0572.py index a6cb9b92f..231558363 100644 --- a/githubkit/versions/v2022_11_28/types/group_0572.py +++ b/githubkit/versions/v2022_11_28/types/group_0572.py @@ -22,4 +22,17 @@ class WebhookForkPropForkeeAllof0PropPermissionsType(TypedDict): triage: NotRequired[bool] -__all__ = ("WebhookForkPropForkeeAllof0PropPermissionsType",) +class WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof0PropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +__all__ = ( + "WebhookForkPropForkeeAllof0PropPermissionsType", + "WebhookForkPropForkeeAllof0PropPermissionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0573.py b/githubkit/versions/v2022_11_28/types/group_0573.py index 624daaf0c..9b8afc521 100644 --- a/githubkit/versions/v2022_11_28/types/group_0573.py +++ b/githubkit/versions/v2022_11_28/types/group_0573.py @@ -96,10 +96,99 @@ class WebhookForkPropForkeeAllof1Type(TypedDict): watchers_count: NotRequired[int] +class WebhookForkPropForkeeAllof1TypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1""" + + allow_forking: NotRequired[bool] + archive_url: NotRequired[str] + archived: NotRequired[bool] + assignees_url: NotRequired[str] + blobs_url: NotRequired[str] + branches_url: NotRequired[str] + clone_url: NotRequired[str] + collaborators_url: NotRequired[str] + comments_url: NotRequired[str] + commits_url: NotRequired[str] + compare_url: NotRequired[str] + contents_url: NotRequired[str] + contributors_url: NotRequired[str] + created_at: NotRequired[str] + default_branch: NotRequired[str] + deployments_url: NotRequired[str] + description: NotRequired[Union[str, None]] + disabled: NotRequired[bool] + downloads_url: NotRequired[str] + events_url: NotRequired[str] + fork: NotRequired[Literal[True]] + forks: NotRequired[int] + forks_count: NotRequired[int] + forks_url: NotRequired[str] + full_name: NotRequired[str] + git_commits_url: NotRequired[str] + git_refs_url: NotRequired[str] + git_tags_url: NotRequired[str] + git_url: NotRequired[str] + has_downloads: NotRequired[bool] + has_issues: NotRequired[bool] + has_pages: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + homepage: NotRequired[Union[str, None]] + hooks_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + is_template: NotRequired[bool] + issue_comment_url: NotRequired[str] + issue_events_url: NotRequired[str] + issues_url: NotRequired[str] + keys_url: NotRequired[str] + labels_url: NotRequired[str] + language: NotRequired[None] + languages_url: NotRequired[str] + license_: NotRequired[ + Union[WebhookForkPropForkeeAllof1PropLicenseTypeForResponse, None] + ] + merges_url: NotRequired[str] + milestones_url: NotRequired[str] + mirror_url: NotRequired[None] + name: NotRequired[str] + node_id: NotRequired[str] + notifications_url: NotRequired[str] + open_issues: NotRequired[int] + open_issues_count: NotRequired[int] + owner: NotRequired[WebhookForkPropForkeeAllof1PropOwnerTypeForResponse] + private: NotRequired[bool] + public: NotRequired[bool] + pulls_url: NotRequired[str] + pushed_at: NotRequired[str] + releases_url: NotRequired[str] + size: NotRequired[int] + ssh_url: NotRequired[str] + stargazers_count: NotRequired[int] + stargazers_url: NotRequired[str] + statuses_url: NotRequired[str] + subscribers_url: NotRequired[str] + subscription_url: NotRequired[str] + svn_url: NotRequired[str] + tags_url: NotRequired[str] + teams_url: NotRequired[str] + topics: NotRequired[list[Union[str, None]]] + trees_url: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + visibility: NotRequired[str] + watchers: NotRequired[int] + watchers_count: NotRequired[int] + + class WebhookForkPropForkeeAllof1PropLicenseType(TypedDict): """WebhookForkPropForkeeAllof1PropLicense""" +class WebhookForkPropForkeeAllof1PropLicenseTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1PropLicense""" + + class WebhookForkPropForkeeAllof1PropOwnerType(TypedDict): """WebhookForkPropForkeeAllof1PropOwner""" @@ -123,8 +212,34 @@ class WebhookForkPropForkeeAllof1PropOwnerType(TypedDict): url: NotRequired[str] +class WebhookForkPropForkeeAllof1PropOwnerTypeForResponse(TypedDict): + """WebhookForkPropForkeeAllof1PropOwner""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookForkPropForkeeAllof1PropLicenseType", + "WebhookForkPropForkeeAllof1PropLicenseTypeForResponse", "WebhookForkPropForkeeAllof1PropOwnerType", + "WebhookForkPropForkeeAllof1PropOwnerTypeForResponse", "WebhookForkPropForkeeAllof1Type", + "WebhookForkPropForkeeAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0574.py b/githubkit/versions/v2022_11_28/types/group_0574.py index 52c10d4b8..265972f9a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0574.py +++ b/githubkit/versions/v2022_11_28/types/group_0574.py @@ -12,7 +12,7 @@ from typing import Literal from typing_extensions import TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class WebhookGithubAppAuthorizationRevokedType(TypedDict): @@ -22,4 +22,14 @@ class WebhookGithubAppAuthorizationRevokedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookGithubAppAuthorizationRevokedType",) +class WebhookGithubAppAuthorizationRevokedTypeForResponse(TypedDict): + """github_app_authorization revoked event""" + + action: Literal["revoked"] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookGithubAppAuthorizationRevokedType", + "WebhookGithubAppAuthorizationRevokedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0575.py b/githubkit/versions/v2022_11_28/types/group_0575.py index 5e1411411..182a41e58 100644 --- a/githubkit/versions/v2022_11_28/types/group_0575.py +++ b/githubkit/versions/v2022_11_28/types/group_0575.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookGollumType(TypedDict): @@ -30,6 +33,17 @@ class WebhookGollumType(TypedDict): sender: SimpleUserType +class WebhookGollumTypeForResponse(TypedDict): + """gollum event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pages: list[WebhookGollumPropPagesItemsTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookGollumPropPagesItemsType(TypedDict): """WebhookGollumPropPagesItems""" @@ -41,7 +55,20 @@ class WebhookGollumPropPagesItemsType(TypedDict): title: str +class WebhookGollumPropPagesItemsTypeForResponse(TypedDict): + """WebhookGollumPropPagesItems""" + + action: Literal["created", "edited"] + html_url: str + page_name: str + sha: str + summary: Union[str, None] + title: str + + __all__ = ( "WebhookGollumPropPagesItemsType", + "WebhookGollumPropPagesItemsTypeForResponse", "WebhookGollumType", + "WebhookGollumTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0576.py b/githubkit/versions/v2022_11_28/types/group_0576.py index 87e1aeaa9..67bff3b00 100644 --- a/githubkit/versions/v2022_11_28/types/group_0576.py +++ b/githubkit/versions/v2022_11_28/types/group_0576.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0466 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0466 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationCreatedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookInstallationCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationCreatedType",) +class WebhookInstallationCreatedTypeForResponse(TypedDict): + """installation created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[Union[WebhooksUserTypeForResponse, None]] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationCreatedType", + "WebhookInstallationCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0577.py b/githubkit/versions/v2022_11_28/types/group_0577.py index 938def744..0041be391 100644 --- a/githubkit/versions/v2022_11_28/types/group_0577.py +++ b/githubkit/versions/v2022_11_28/types/group_0577.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0466 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0466 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationDeletedType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationDeletedType",) +class WebhookInstallationDeletedTypeForResponse(TypedDict): + """installation deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationDeletedType", + "WebhookInstallationDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0578.py b/githubkit/versions/v2022_11_28/types/group_0578.py index bc8aa173d..a6ab1b793 100644 --- a/githubkit/versions/v2022_11_28/types/group_0578.py +++ b/githubkit/versions/v2022_11_28/types/group_0578.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0466 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0466 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationNewPermissionsAcceptedType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationNewPermissionsAcceptedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationNewPermissionsAcceptedType",) +class WebhookInstallationNewPermissionsAcceptedTypeForResponse(TypedDict): + """installation new_permissions_accepted event""" + + action: Literal["new_permissions_accepted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationNewPermissionsAcceptedType", + "WebhookInstallationNewPermissionsAcceptedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0579.py b/githubkit/versions/v2022_11_28/types/group_0579.py index bb3295118..955e40de7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0579.py +++ b/githubkit/versions/v2022_11_28/types/group_0579.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0467 import WebhooksRepositoriesAddedItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0467 import ( + WebhooksRepositoriesAddedItemsType, + WebhooksRepositoriesAddedItemsTypeForResponse, +) class WebhookInstallationRepositoriesAddedType(TypedDict): @@ -38,6 +44,23 @@ class WebhookInstallationRepositoriesAddedType(TypedDict): sender: SimpleUserType +class WebhookInstallationRepositoriesAddedTypeForResponse(TypedDict): + """installation_repositories added event""" + + action: Literal["added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories_added: list[WebhooksRepositoriesAddedItemsTypeForResponse] + repositories_removed: list[ + WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_selection: Literal["all", "selected"] + requester: Union[WebhooksUserTypeForResponse, None] + sender: SimpleUserTypeForResponse + + class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType(TypedDict): """WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItems""" @@ -48,7 +71,21 @@ class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType(Typed private: NotRequired[bool] +class WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse( + TypedDict +): + """WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItems""" + + full_name: NotRequired[str] + id: NotRequired[int] + name: NotRequired[str] + node_id: NotRequired[str] + private: NotRequired[bool] + + __all__ = ( "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesAddedPropRepositoriesRemovedItemsTypeForResponse", "WebhookInstallationRepositoriesAddedType", + "WebhookInstallationRepositoriesAddedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0580.py b/githubkit/versions/v2022_11_28/types/group_0580.py index 1c94d682a..dd82fff5e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0580.py +++ b/githubkit/versions/v2022_11_28/types/group_0580.py @@ -12,13 +12,19 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0467 import WebhooksRepositoriesAddedItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0467 import ( + WebhooksRepositoriesAddedItemsType, + WebhooksRepositoriesAddedItemsTypeForResponse, +) class WebhookInstallationRepositoriesRemovedType(TypedDict): @@ -38,6 +44,23 @@ class WebhookInstallationRepositoriesRemovedType(TypedDict): sender: SimpleUserType +class WebhookInstallationRepositoriesRemovedTypeForResponse(TypedDict): + """installation_repositories removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories_added: list[WebhooksRepositoriesAddedItemsTypeForResponse] + repositories_removed: list[ + WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_selection: Literal["all", "selected"] + requester: Union[WebhooksUserTypeForResponse, None] + sender: SimpleUserTypeForResponse + + class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType(TypedDict): """WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItems""" @@ -48,7 +71,21 @@ class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType(Typ private: bool +class WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse( + TypedDict +): + """WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItems""" + + full_name: str + id: int + name: str + node_id: str + private: bool + + __all__ = ( "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsType", + "WebhookInstallationRepositoriesRemovedPropRepositoriesRemovedItemsTypeForResponse", "WebhookInstallationRepositoriesRemovedType", + "WebhookInstallationRepositoriesRemovedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0581.py b/githubkit/versions/v2022_11_28/types/group_0581.py index 484f91f63..1f442fb8d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0581.py +++ b/githubkit/versions/v2022_11_28/types/group_0581.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0466 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0466 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationSuspendType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationSuspendType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationSuspendType",) +class WebhookInstallationSuspendTypeForResponse(TypedDict): + """installation suspend event""" + + action: Literal["suspend"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationSuspendType", + "WebhookInstallationSuspendTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0582.py b/githubkit/versions/v2022_11_28/types/group_0582.py index 0483bb7bc..0715d2898 100644 --- a/githubkit/versions/v2022_11_28/types/group_0582.py +++ b/githubkit/versions/v2022_11_28/types/group_0582.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookInstallationTargetRenamedType(TypedDict): @@ -33,6 +36,20 @@ class WebhookInstallationTargetRenamedType(TypedDict): target_type: str +class WebhookInstallationTargetRenamedTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamed""" + + account: WebhookInstallationTargetRenamedPropAccountTypeForResponse + action: Literal["renamed"] + changes: WebhookInstallationTargetRenamedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: SimpleInstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + target_type: str + + class WebhookInstallationTargetRenamedPropAccountType(TypedDict): """WebhookInstallationTargetRenamedPropAccount""" @@ -75,6 +92,48 @@ class WebhookInstallationTargetRenamedPropAccountType(TypedDict): user_view_type: NotRequired[str] +class WebhookInstallationTargetRenamedPropAccountTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropAccount""" + + archived_at: NotRequired[Union[str, None]] + avatar_url: str + created_at: NotRequired[str] + description: NotRequired[None] + events_url: NotRequired[str] + followers: NotRequired[int] + followers_url: NotRequired[str] + following: NotRequired[int] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + has_organization_projects: NotRequired[bool] + has_repository_projects: NotRequired[bool] + hooks_url: NotRequired[str] + html_url: str + id: int + is_verified: NotRequired[bool] + issues_url: NotRequired[str] + login: NotRequired[str] + members_url: NotRequired[str] + name: NotRequired[str] + node_id: str + organizations_url: NotRequired[str] + public_gists: NotRequired[int] + public_members_url: NotRequired[str] + public_repos: NotRequired[int] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + slug: NotRequired[str] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + website_url: NotRequired[None] + user_view_type: NotRequired[str] + + class WebhookInstallationTargetRenamedPropChangesType(TypedDict): """WebhookInstallationTargetRenamedPropChanges""" @@ -82,22 +141,50 @@ class WebhookInstallationTargetRenamedPropChangesType(TypedDict): slug: NotRequired[WebhookInstallationTargetRenamedPropChangesPropSlugType] +class WebhookInstallationTargetRenamedPropChangesTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChanges""" + + login: NotRequired[ + WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse + ] + slug: NotRequired[ + WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse + ] + + class WebhookInstallationTargetRenamedPropChangesPropLoginType(TypedDict): """WebhookInstallationTargetRenamedPropChangesPropLogin""" from_: str +class WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChangesPropLogin""" + + from_: str + + class WebhookInstallationTargetRenamedPropChangesPropSlugType(TypedDict): """WebhookInstallationTargetRenamedPropChangesPropSlug""" from_: str +class WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse(TypedDict): + """WebhookInstallationTargetRenamedPropChangesPropSlug""" + + from_: str + + __all__ = ( "WebhookInstallationTargetRenamedPropAccountType", + "WebhookInstallationTargetRenamedPropAccountTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropLoginType", + "WebhookInstallationTargetRenamedPropChangesPropLoginTypeForResponse", "WebhookInstallationTargetRenamedPropChangesPropSlugType", + "WebhookInstallationTargetRenamedPropChangesPropSlugTypeForResponse", "WebhookInstallationTargetRenamedPropChangesType", + "WebhookInstallationTargetRenamedPropChangesTypeForResponse", "WebhookInstallationTargetRenamedType", + "WebhookInstallationTargetRenamedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0583.py b/githubkit/versions/v2022_11_28/types/group_0583.py index 686ae403f..1adc07bfa 100644 --- a/githubkit/versions/v2022_11_28/types/group_0583.py +++ b/githubkit/versions/v2022_11_28/types/group_0583.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0018 import InstallationType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0466 import WebhooksRepositoriesItemsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0018 import InstallationType, InstallationTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0466 import ( + WebhooksRepositoriesItemsType, + WebhooksRepositoriesItemsTypeForResponse, +) class WebhookInstallationUnsuspendType(TypedDict): @@ -33,4 +39,20 @@ class WebhookInstallationUnsuspendType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookInstallationUnsuspendType",) +class WebhookInstallationUnsuspendTypeForResponse(TypedDict): + """installation unsuspend event""" + + action: Literal["unsuspend"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: InstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repositories: NotRequired[list[WebhooksRepositoriesItemsTypeForResponse]] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + requester: NotRequired[None] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookInstallationUnsuspendType", + "WebhookInstallationUnsuspendTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0584.py b/githubkit/versions/v2022_11_28/types/group_0584.py index fb00b1858..53ef39b61 100644 --- a/githubkit/versions/v2022_11_28/types/group_0584.py +++ b/githubkit/versions/v2022_11_28/types/group_0584.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0585 import WebhookIssueCommentCreatedPropCommentType -from .group_0586 import WebhookIssueCommentCreatedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0585 import ( + WebhookIssueCommentCreatedPropCommentType, + WebhookIssueCommentCreatedPropCommentTypeForResponse, +) +from .group_0586 import ( + WebhookIssueCommentCreatedPropIssueType, + WebhookIssueCommentCreatedPropIssueTypeForResponse, +) class WebhookIssueCommentCreatedType(TypedDict): @@ -34,4 +43,20 @@ class WebhookIssueCommentCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentCreatedType",) +class WebhookIssueCommentCreatedTypeForResponse(TypedDict): + """issue_comment created event""" + + action: Literal["created"] + comment: WebhookIssueCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentCreatedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentCreatedType", + "WebhookIssueCommentCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0585.py b/githubkit/versions/v2022_11_28/types/group_0585.py index 70fa2faff..680422b0e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0585.py +++ b/githubkit/versions/v2022_11_28/types/group_0585.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0010 import IntegrationType +from .group_0010 import IntegrationType, IntegrationTypeForResponse class WebhookIssueCommentCreatedPropCommentType(TypedDict): @@ -46,6 +46,36 @@ class WebhookIssueCommentCreatedPropCommentType(TypedDict): user: Union[WebhookIssueCommentCreatedPropCommentPropUserType, None] +class WebhookIssueCommentCreatedPropCommentTypeForResponse(TypedDict): + """issue comment + + The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) + itself. + """ + + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + created_at: str + html_url: str + id: int + issue_url: str + node_id: str + performed_via_github_app: Union[None, IntegrationTypeForResponse, None] + reactions: WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse + updated_at: str + url: str + user: Union[WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse, None] + + class WebhookIssueCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -61,6 +91,21 @@ class WebhookIssueCommentCreatedPropCommentPropReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -88,8 +133,38 @@ class WebhookIssueCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropCommentPropReactionsType", + "WebhookIssueCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropCommentPropUserType", + "WebhookIssueCommentCreatedPropCommentPropUserTypeForResponse", "WebhookIssueCommentCreatedPropCommentType", + "WebhookIssueCommentCreatedPropCommentTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0586.py b/githubkit/versions/v2022_11_28/types/group_0586.py index 9c35468d3..7c6b17c71 100644 --- a/githubkit/versions/v2022_11_28/types/group_0586.py +++ b/githubkit/versions/v2022_11_28/types/group_0586.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0588 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0594 import ( + WebhookIssueCommentCreatedPropIssueMergedMilestoneType, + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0594 import WebhookIssueCommentCreatedPropIssueMergedMilestoneType from .group_0595 import ( WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,75 @@ class WebhookIssueCommentCreatedPropIssueType(TypedDict): user: WebhookIssueCommentCreatedPropIssueMergedUserType +class WebhookIssueCommentCreatedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment + belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[ + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse + ] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentCreatedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedAssignees""" @@ -112,6 +193,33 @@ class WebhookIssueCommentCreatedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedReactions""" @@ -127,6 +235,21 @@ class WebhookIssueCommentCreatedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentCreatedPropIssueMergedUser""" @@ -154,9 +277,40 @@ class WebhookIssueCommentCreatedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueMergedAssigneesType", + "WebhookIssueCommentCreatedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedReactionsType", + "WebhookIssueCommentCreatedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueMergedUserType", + "WebhookIssueCommentCreatedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueType", + "WebhookIssueCommentCreatedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0587.py b/githubkit/versions/v2022_11_28/types/group_0587.py index 40be275f3..57d431b38 100644 --- a/githubkit/versions/v2022_11_28/types/group_0587.py +++ b/githubkit/versions/v2022_11_28/types/group_0587.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0588 import ( WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0590 import ( + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0590 import WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType from .group_0592 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -90,6 +102,78 @@ class WebhookIssueCommentCreatedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentCreatedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse, None + ] + ] + assignees: list[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -117,6 +201,35 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -132,6 +245,21 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentCreatedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -159,9 +287,40 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0Type", + "WebhookIssueCommentCreatedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0588.py b/githubkit/versions/v2022_11_28/types/group_0588.py index 088b44492..950aa701b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0588.py +++ b/githubkit/versions/v2022_11_28/types/group_0588.py @@ -41,6 +41,33 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,20 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof0PropPullRequest""" @@ -63,8 +104,23 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0589.py b/githubkit/versions/v2022_11_28/types/group_0589.py index 2a39d32cf..53120e548 100644 --- a/githubkit/versions/v2022_11_28/types/group_0589.py +++ b/githubkit/versions/v2022_11_28/types/group_0589.py @@ -40,4 +40,36 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0590.py b/githubkit/versions/v2022_11_28/types/group_0590.py index 84cd18f15..9ee82a151 100644 --- a/githubkit/versions/v2022_11_28/types/group_0590.py +++ b/githubkit/versions/v2022_11_28/types/group_0590.py @@ -15,6 +15,7 @@ from .group_0589 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0591.py b/githubkit/versions/v2022_11_28/types/group_0591.py index b261a91af..e037d681a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0591.py +++ b/githubkit/versions/v2022_11_28/types/group_0591.py @@ -42,6 +42,35 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwne user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -88,7 +117,55 @@ class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPerm workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermission + s + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0592.py b/githubkit/versions/v2022_11_28/types/group_0592.py index 80220d4ac..45b6bf22d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0592.py +++ b/githubkit/versions/v2022_11_28/types/group_0592.py @@ -15,7 +15,9 @@ from .group_0591 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0593.py b/githubkit/versions/v2022_11_28/types/group_0593.py index 7b1858f2a..1508927b7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0593.py +++ b/githubkit/versions/v2022_11_28/types/group_0593.py @@ -55,6 +55,60 @@ class WebhookIssueCommentCreatedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentCreatedPropIssueAllof1PropUserType] +class WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[ + WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse + ] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +136,43 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +185,38 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropReactions""" @@ -121,6 +232,21 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentCreatedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentCreatedPropIssueAllof1PropUser""" @@ -144,13 +270,44 @@ class WebhookIssueCommentCreatedPropIssueAllof1PropUserType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentCreatedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentCreatedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1PropUserType", + "WebhookIssueCommentCreatedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentCreatedPropIssueAllof1Type", + "WebhookIssueCommentCreatedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0594.py b/githubkit/versions/v2022_11_28/types/group_0594.py index bd363f1d3..14e814528 100644 --- a/githubkit/versions/v2022_11_28/types/group_0594.py +++ b/githubkit/versions/v2022_11_28/types/group_0594.py @@ -15,6 +15,7 @@ from .group_0589 import ( WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentCreatedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentCreatedPropIssueMergedMilestoneType",) +class WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentCreatedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueMergedMilestoneType", + "WebhookIssueCommentCreatedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0595.py b/githubkit/versions/v2022_11_28/types/group_0595.py index 9932ae9de..5b03a6fa5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0595.py +++ b/githubkit/versions/v2022_11_28/types/group_0595.py @@ -15,7 +15,9 @@ from .group_0591 import ( WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType(TypedDi updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentCreatedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentCreatedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0596.py b/githubkit/versions/v2022_11_28/types/group_0596.py index 8691e3601..386a9c4e7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0596.py +++ b/githubkit/versions/v2022_11_28/types/group_0596.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0468 import WebhooksIssueCommentType -from .group_0597 import WebhookIssueCommentDeletedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0468 import WebhooksIssueCommentType, WebhooksIssueCommentTypeForResponse +from .group_0597 import ( + WebhookIssueCommentDeletedPropIssueType, + WebhookIssueCommentDeletedPropIssueTypeForResponse, +) class WebhookIssueCommentDeletedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssueCommentDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentDeletedType",) +class WebhookIssueCommentDeletedTypeForResponse(TypedDict): + """issue_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksIssueCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentDeletedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentDeletedType", + "WebhookIssueCommentDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0597.py b/githubkit/versions/v2022_11_28/types/group_0597.py index 4b188cc96..b612b2b86 100644 --- a/githubkit/versions/v2022_11_28/types/group_0597.py +++ b/githubkit/versions/v2022_11_28/types/group_0597.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0599 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0605 import ( + WebhookIssueCommentDeletedPropIssueMergedMilestoneType, + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0605 import WebhookIssueCommentDeletedPropIssueMergedMilestoneType from .group_0606 import ( WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,75 @@ class WebhookIssueCommentDeletedPropIssueType(TypedDict): user: WebhookIssueCommentDeletedPropIssueMergedUserType +class WebhookIssueCommentDeletedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment + belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[ + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse + ] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentDeletedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedAssignees""" @@ -112,6 +193,33 @@ class WebhookIssueCommentDeletedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedReactions""" @@ -127,6 +235,21 @@ class WebhookIssueCommentDeletedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentDeletedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentDeletedPropIssueMergedUser""" @@ -154,9 +277,40 @@ class WebhookIssueCommentDeletedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueMergedAssigneesType", + "WebhookIssueCommentDeletedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedReactionsType", + "WebhookIssueCommentDeletedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueMergedUserType", + "WebhookIssueCommentDeletedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueType", + "WebhookIssueCommentDeletedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0598.py b/githubkit/versions/v2022_11_28/types/group_0598.py index 3a42a60e7..f7ed0cbfe 100644 --- a/githubkit/versions/v2022_11_28/types/group_0598.py +++ b/githubkit/versions/v2022_11_28/types/group_0598.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0599 import ( WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0601 import ( + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0601 import WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType from .group_0603 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -90,6 +102,78 @@ class WebhookIssueCommentDeletedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentDeletedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse, None + ] + ] + assignees: list[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -117,6 +201,35 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -132,6 +245,21 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentDeletedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -159,9 +287,40 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0Type", + "WebhookIssueCommentDeletedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0599.py b/githubkit/versions/v2022_11_28/types/group_0599.py index 0cf270ec9..c882531cc 100644 --- a/githubkit/versions/v2022_11_28/types/group_0599.py +++ b/githubkit/versions/v2022_11_28/types/group_0599.py @@ -41,6 +41,33 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,20 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof0PropPullRequest""" @@ -63,8 +104,23 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0600.py b/githubkit/versions/v2022_11_28/types/group_0600.py index b8118ecd1..8bfb4deea 100644 --- a/githubkit/versions/v2022_11_28/types/group_0600.py +++ b/githubkit/versions/v2022_11_28/types/group_0600.py @@ -40,4 +40,36 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0601.py b/githubkit/versions/v2022_11_28/types/group_0601.py index ce2a8161b..2bf1b5c0c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0601.py +++ b/githubkit/versions/v2022_11_28/types/group_0601.py @@ -15,6 +15,7 @@ from .group_0600 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0602.py b/githubkit/versions/v2022_11_28/types/group_0602.py index 078dc1e49..adb1885cd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0602.py +++ b/githubkit/versions/v2022_11_28/types/group_0602.py @@ -42,6 +42,35 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwne user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -88,7 +117,55 @@ class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPerm workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermission + s + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0603.py b/githubkit/versions/v2022_11_28/types/group_0603.py index 4dccae906..edbc954b9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0603.py +++ b/githubkit/versions/v2022_11_28/types/group_0603.py @@ -15,7 +15,9 @@ from .group_0602 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0604.py b/githubkit/versions/v2022_11_28/types/group_0604.py index 0664cda5a..4fae5e590 100644 --- a/githubkit/versions/v2022_11_28/types/group_0604.py +++ b/githubkit/versions/v2022_11_28/types/group_0604.py @@ -55,6 +55,60 @@ class WebhookIssueCommentDeletedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentDeletedPropIssueAllof1PropUserType] +class WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[ + WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse + ] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +136,43 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +185,38 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropReactions""" @@ -121,6 +232,21 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentDeletedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentDeletedPropIssueAllof1PropUser""" @@ -145,13 +271,45 @@ class WebhookIssueCommentDeletedPropIssueAllof1PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentDeletedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentDeletedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1PropUserType", + "WebhookIssueCommentDeletedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentDeletedPropIssueAllof1Type", + "WebhookIssueCommentDeletedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0605.py b/githubkit/versions/v2022_11_28/types/group_0605.py index 008ab7f85..13dbb8e9f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0605.py +++ b/githubkit/versions/v2022_11_28/types/group_0605.py @@ -15,6 +15,7 @@ from .group_0600 import ( WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentDeletedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentDeletedPropIssueMergedMilestoneType",) +class WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentDeletedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueMergedMilestoneType", + "WebhookIssueCommentDeletedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0606.py b/githubkit/versions/v2022_11_28/types/group_0606.py index a3ab459bb..1651e507f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0606.py +++ b/githubkit/versions/v2022_11_28/types/group_0606.py @@ -15,7 +15,9 @@ from .group_0602 import ( WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType(TypedDi updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentDeletedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentDeletedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0607.py b/githubkit/versions/v2022_11_28/types/group_0607.py index c90008a7f..42b1677a7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0607.py +++ b/githubkit/versions/v2022_11_28/types/group_0607.py @@ -12,14 +12,20 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0468 import WebhooksIssueCommentType -from .group_0469 import WebhooksChangesType -from .group_0608 import WebhookIssueCommentEditedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0468 import WebhooksIssueCommentType, WebhooksIssueCommentTypeForResponse +from .group_0469 import WebhooksChangesType, WebhooksChangesTypeForResponse +from .group_0608 import ( + WebhookIssueCommentEditedPropIssueType, + WebhookIssueCommentEditedPropIssueTypeForResponse, +) class WebhookIssueCommentEditedType(TypedDict): @@ -36,4 +42,21 @@ class WebhookIssueCommentEditedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueCommentEditedType",) +class WebhookIssueCommentEditedTypeForResponse(TypedDict): + """issue_comment edited event""" + + action: Literal["edited"] + changes: WebhooksChangesTypeForResponse + comment: WebhooksIssueCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssueCommentEditedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueCommentEditedType", + "WebhookIssueCommentEditedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0608.py b/githubkit/versions/v2022_11_28/types/group_0608.py index 8cae7a255..77513024e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0608.py +++ b/githubkit/versions/v2022_11_28/types/group_0608.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0610 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0616 import ( + WebhookIssueCommentEditedPropIssueMergedMilestoneType, + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, ) -from .group_0616 import WebhookIssueCommentEditedPropIssueMergedMilestoneType from .group_0617 import ( WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType, + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, ) @@ -85,6 +97,73 @@ class WebhookIssueCommentEditedPropIssueType(TypedDict): user: WebhookIssueCommentEditedPropIssueMergedUserType +class WebhookIssueCommentEditedPropIssueTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment + belongs to. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: Union[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, None + ], + None, + ] + assignees: list[WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: list[WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse] + labels_url: str + locked: bool + milestone: Union[ + WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse + + class WebhookIssueCommentEditedPropIssueMergedAssigneesType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedAssignees""" @@ -112,6 +191,33 @@ class WebhookIssueCommentEditedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueMergedReactionsType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedReactions""" @@ -127,6 +233,21 @@ class WebhookIssueCommentEditedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentEditedPropIssueMergedUserType(TypedDict): """WebhookIssueCommentEditedPropIssueMergedUser""" @@ -154,9 +275,40 @@ class WebhookIssueCommentEditedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueMergedAssigneesType", + "WebhookIssueCommentEditedPropIssueMergedAssigneesTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedReactionsType", + "WebhookIssueCommentEditedPropIssueMergedReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueMergedUserType", + "WebhookIssueCommentEditedPropIssueMergedUserTypeForResponse", "WebhookIssueCommentEditedPropIssueType", + "WebhookIssueCommentEditedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0609.py b/githubkit/versions/v2022_11_28/types/group_0609.py index b994e9527..6a90ede69 100644 --- a/githubkit/versions/v2022_11_28/types/group_0609.py +++ b/githubkit/versions/v2022_11_28/types/group_0609.py @@ -13,16 +13,28 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) from .group_0610 import ( WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType, + WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType, + WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType, + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0612 import ( + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, ) -from .group_0612 import WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType from .group_0614 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, ) @@ -90,6 +102,76 @@ class WebhookIssueCommentEditedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssueCommentEditedPropIssueAllof0PropUserType, None] +class WebhookIssueCommentEditedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -117,6 +199,35 @@ class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -132,6 +243,21 @@ class WebhookIssueCommentEditedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssueCommentEditedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -159,9 +285,40 @@ class WebhookIssueCommentEditedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropUserType", + "WebhookIssueCommentEditedPropIssueAllof0PropUserTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0Type", + "WebhookIssueCommentEditedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0610.py b/githubkit/versions/v2022_11_28/types/group_0610.py index 398fe7733..0442f028d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0610.py +++ b/githubkit/versions/v2022_11_28/types/group_0610.py @@ -41,6 +41,33 @@ class WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -53,6 +80,18 @@ class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof0PropPullRequest""" @@ -63,8 +102,21 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestType", + "WebhookIssueCommentEditedPropIssueAllof0PropPullRequestTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0611.py b/githubkit/versions/v2022_11_28/types/group_0611.py index 9ac4a4c4e..ad8621cf9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0611.py +++ b/githubkit/versions/v2022_11_28/types/group_0611.py @@ -40,4 +40,36 @@ class WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType(Typed user_view_type: NotRequired[str] -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0612.py b/githubkit/versions/v2022_11_28/types/group_0612.py index 7713a16ed..db786b26d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0612.py +++ b/githubkit/versions/v2022_11_28/types/group_0612.py @@ -15,6 +15,7 @@ from .group_0611 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -44,4 +45,34 @@ class WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType",) +class WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0613.py b/githubkit/versions/v2022_11_28/types/group_0613.py index 3b96ed6e4..9a19b94bb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0613.py +++ b/githubkit/versions/v2022_11_28/types/group_0613.py @@ -42,6 +42,35 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwner user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -87,7 +116,54 @@ class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermi workflows: NotRequired[Literal["read", "write"]] +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0614.py b/githubkit/versions/v2022_11_28/types/group_0614.py index c953494c1..14ad74d2c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0614.py +++ b/githubkit/versions/v2022_11_28/types/group_0614.py @@ -15,7 +15,9 @@ from .group_0613 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -47,4 +49,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0615.py b/githubkit/versions/v2022_11_28/types/group_0615.py index d5d49ac59..e4d8aad70 100644 --- a/githubkit/versions/v2022_11_28/types/group_0615.py +++ b/githubkit/versions/v2022_11_28/types/group_0615.py @@ -55,6 +55,58 @@ class WebhookIssueCommentEditedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssueCommentEditedPropIssueAllof1PropUserType] +class WebhookIssueCommentEditedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: Union[ + WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse, None + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: list[WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse] + labels_url: NotRequired[str] + locked: bool + milestone: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["open", "closed"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType(TypedDict): """User""" @@ -82,10 +134,43 @@ class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItems""" +class WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType(TypedDict): """Label""" @@ -98,14 +183,36 @@ class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType(TypedDict): url: str +class WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropMilestone""" +class WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropMilestone""" + + class WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssueCommentEditedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropReactions""" @@ -121,6 +228,21 @@ class WebhookIssueCommentEditedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssueCommentEditedPropIssueAllof1PropUserType(TypedDict): """WebhookIssueCommentEditedPropIssueAllof1PropUser""" @@ -144,13 +266,44 @@ class WebhookIssueCommentEditedPropIssueAllof1PropUserType(TypedDict): url: NotRequired[str] +class WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsType", + "WebhookIssueCommentEditedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneType", + "WebhookIssueCommentEditedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropReactionsType", + "WebhookIssueCommentEditedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1PropUserType", + "WebhookIssueCommentEditedPropIssueAllof1PropUserTypeForResponse", "WebhookIssueCommentEditedPropIssueAllof1Type", + "WebhookIssueCommentEditedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0616.py b/githubkit/versions/v2022_11_28/types/group_0616.py index a265bac98..a273868bf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0616.py +++ b/githubkit/versions/v2022_11_28/types/group_0616.py @@ -15,6 +15,7 @@ from .group_0611 import ( WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, ) @@ -41,4 +42,31 @@ class WebhookIssueCommentEditedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssueCommentEditedPropIssueMergedMilestoneType",) +class WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssueCommentEditedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueMergedMilestoneType", + "WebhookIssueCommentEditedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0617.py b/githubkit/versions/v2022_11_28/types/group_0617.py index 604ed6459..f1494a620 100644 --- a/githubkit/versions/v2022_11_28/types/group_0617.py +++ b/githubkit/versions/v2022_11_28/types/group_0617.py @@ -15,7 +15,9 @@ from .group_0613 import ( WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -41,4 +43,31 @@ class WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType(TypedDic updated_at: Union[datetime, None] -__all__ = ("WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssueCommentEditedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssueCommentEditedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0618.py b/githubkit/versions/v2022_11_28/types/group_0618.py index a788eb43e..c2c33bbe5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0618.py +++ b/githubkit/versions/v2022_11_28/types/group_0618.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockedByAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockedByAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockedByAddedType",) +class WebhookIssueDependenciesBlockedByAddedTypeForResponse(TypedDict): + """blocked by issue added event""" + + action: Literal["blocked_by_added"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + blocking_issue_repo: RepositoryTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockedByAddedType", + "WebhookIssueDependenciesBlockedByAddedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0619.py b/githubkit/versions/v2022_11_28/types/group_0619.py index 2216e2b18..97c335295 100644 --- a/githubkit/versions/v2022_11_28/types/group_0619.py +++ b/githubkit/versions/v2022_11_28/types/group_0619.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockedByRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockedByRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockedByRemovedType",) +class WebhookIssueDependenciesBlockedByRemovedTypeForResponse(TypedDict): + """blocked by issue removed event""" + + action: Literal["blocked_by_removed"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + blocking_issue_repo: RepositoryTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockedByRemovedType", + "WebhookIssueDependenciesBlockedByRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0620.py b/githubkit/versions/v2022_11_28/types/group_0620.py index 086522956..10a8c6e1c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0620.py +++ b/githubkit/versions/v2022_11_28/types/group_0620.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockingAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockingAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockingAddedType",) +class WebhookIssueDependenciesBlockingAddedTypeForResponse(TypedDict): + """blocking issue added event""" + + action: Literal["blocking_added"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocked_issue_repo: RepositoryTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockingAddedType", + "WebhookIssueDependenciesBlockingAddedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0621.py b/githubkit/versions/v2022_11_28/types/group_0621.py index 8d6040de8..2383fa4e1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0621.py +++ b/githubkit/versions/v2022_11_28/types/group_0621.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookIssueDependenciesBlockingRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookIssueDependenciesBlockingRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssueDependenciesBlockingRemovedType",) +class WebhookIssueDependenciesBlockingRemovedTypeForResponse(TypedDict): + """blocking issue removed event""" + + action: Literal["blocking_removed"] + blocked_issue_id: float + blocked_issue: IssueTypeForResponse + blocked_issue_repo: RepositoryTypeForResponse + blocking_issue_id: float + blocking_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssueDependenciesBlockingRemovedType", + "WebhookIssueDependenciesBlockingRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0622.py b/githubkit/versions/v2022_11_28/types/group_0622.py index 84a556749..60033d7e5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0622.py +++ b/githubkit/versions/v2022_11_28/types/group_0622.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0470 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0470 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesAssignedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesAssignedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesAssignedType",) +class WebhookIssuesAssignedTypeForResponse(TypedDict): + """issues assigned event""" + + action: Literal["assigned"] + assignee: NotRequired[Union[WebhooksUserTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesAssignedType", + "WebhookIssuesAssignedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0623.py b/githubkit/versions/v2022_11_28/types/group_0623.py index 41688eb49..09888c86e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0623.py +++ b/githubkit/versions/v2022_11_28/types/group_0623.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0624 import WebhookIssuesClosedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0624 import ( + WebhookIssuesClosedPropIssueType, + WebhookIssuesClosedPropIssueTypeForResponse, +) class WebhookIssuesClosedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesClosedType",) +class WebhookIssuesClosedTypeForResponse(TypedDict): + """issues closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesClosedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesClosedType", + "WebhookIssuesClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0624.py b/githubkit/versions/v2022_11_28/types/group_0624.py index a5d4bb252..7e40a7fac 100644 --- a/githubkit/versions/v2022_11_28/types/group_0624.py +++ b/githubkit/versions/v2022_11_28/types/group_0624.py @@ -13,12 +13,26 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType -from .group_0630 import WebhookIssuesClosedPropIssueAllof0PropPullRequestType -from .group_0632 import WebhookIssuesClosedPropIssueMergedMilestoneType -from .group_0633 import WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0630 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestType, + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, +) +from .group_0632 import ( + WebhookIssuesClosedPropIssueMergedMilestoneType, + WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, +) +from .group_0633 import ( + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType, + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, +) class WebhookIssuesClosedPropIssueType(TypedDict): @@ -76,6 +90,67 @@ class WebhookIssuesClosedPropIssueType(TypedDict): user: WebhookIssuesClosedPropIssueMergedUserType +class WebhookIssuesClosedPropIssueTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + Literal["resolved", "off-topic", "too heated", "spam"], None + ] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse, None] + ] + assignees: list[WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[Union[str, None], None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[list[WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse]] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: WebhookIssuesClosedPropIssueMergedUserTypeForResponse + + class WebhookIssuesClosedPropIssueMergedAssigneeType(TypedDict): """WebhookIssuesClosedPropIssueMergedAssignee""" @@ -103,6 +178,33 @@ class WebhookIssuesClosedPropIssueMergedAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedAssignee""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueMergedAssigneesType(TypedDict): """WebhookIssuesClosedPropIssueMergedAssignees""" @@ -130,6 +232,33 @@ class WebhookIssuesClosedPropIssueMergedAssigneesType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedAssignees""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueMergedLabelsType(TypedDict): """WebhookIssuesClosedPropIssueMergedLabels""" @@ -142,6 +271,18 @@ class WebhookIssuesClosedPropIssueMergedLabelsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedLabels""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesClosedPropIssueMergedReactionsType(TypedDict): """WebhookIssuesClosedPropIssueMergedReactions""" @@ -157,6 +298,21 @@ class WebhookIssuesClosedPropIssueMergedReactionsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedReactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesClosedPropIssueMergedUserType(TypedDict): """WebhookIssuesClosedPropIssueMergedUser""" @@ -184,11 +340,44 @@ class WebhookIssuesClosedPropIssueMergedUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueMergedUserTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedUser""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueMergedAssigneeType", + "WebhookIssuesClosedPropIssueMergedAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueMergedAssigneesType", + "WebhookIssuesClosedPropIssueMergedAssigneesTypeForResponse", "WebhookIssuesClosedPropIssueMergedLabelsType", + "WebhookIssuesClosedPropIssueMergedLabelsTypeForResponse", "WebhookIssuesClosedPropIssueMergedReactionsType", + "WebhookIssuesClosedPropIssueMergedReactionsTypeForResponse", "WebhookIssuesClosedPropIssueMergedUserType", + "WebhookIssuesClosedPropIssueMergedUserTypeForResponse", "WebhookIssuesClosedPropIssueType", + "WebhookIssuesClosedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0625.py b/githubkit/versions/v2022_11_28/types/group_0625.py index 3b2f83da7..d1e49e903 100644 --- a/githubkit/versions/v2022_11_28/types/group_0625.py +++ b/githubkit/versions/v2022_11_28/types/group_0625.py @@ -13,12 +13,26 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType -from .group_0627 import WebhookIssuesClosedPropIssueAllof0PropMilestoneType -from .group_0629 import WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType -from .group_0630 import WebhookIssuesClosedPropIssueAllof0PropPullRequestType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse +from .group_0627 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestoneType, + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, +) +from .group_0629 import ( + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, +) +from .group_0630 import ( + WebhookIssuesClosedPropIssueAllof0PropPullRequestType, + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse, +) class WebhookIssuesClosedPropIssueAllof0Type(TypedDict): @@ -80,6 +94,74 @@ class WebhookIssuesClosedPropIssueAllof0Type(TypedDict): user: Union[WebhookIssuesClosedPropIssueAllof0PropUserType, None] +class WebhookIssuesClosedPropIssueAllof0TypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse + ] + reactions: WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse, None] + + class WebhookIssuesClosedPropIssueAllof0PropAssigneeType(TypedDict): """User""" @@ -107,6 +189,33 @@ class WebhookIssuesClosedPropIssueAllof0PropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType(TypedDict): """User""" @@ -134,6 +243,33 @@ class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType(TypedDict): """Label""" @@ -146,6 +282,18 @@ class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesClosedPropIssueAllof0PropReactionsType(TypedDict): """Reactions""" @@ -161,6 +309,21 @@ class WebhookIssuesClosedPropIssueAllof0PropReactionsType(TypedDict): url: str +class WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesClosedPropIssueAllof0PropUserType(TypedDict): """User""" @@ -188,11 +351,44 @@ class WebhookIssuesClosedPropIssueAllof0PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof0PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof0PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof0PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropReactionsType", + "WebhookIssuesClosedPropIssueAllof0PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropUserType", + "WebhookIssuesClosedPropIssueAllof0PropUserTypeForResponse", "WebhookIssuesClosedPropIssueAllof0Type", + "WebhookIssuesClosedPropIssueAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0626.py b/githubkit/versions/v2022_11_28/types/group_0626.py index 2a05f2e97..072f0f8cf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0626.py +++ b/githubkit/versions/v2022_11_28/types/group_0626.py @@ -40,4 +40,36 @@ class WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType",) +class WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType", + "WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0627.py b/githubkit/versions/v2022_11_28/types/group_0627.py index 522d6f7e2..c32589b0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0627.py +++ b/githubkit/versions/v2022_11_28/types/group_0627.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0626 import WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType +from .group_0626 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, +) class WebhookIssuesClosedPropIssueAllof0PropMilestoneType(TypedDict): @@ -40,4 +43,33 @@ class WebhookIssuesClosedPropIssueAllof0PropMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropMilestoneType",) +class WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof0PropMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0628.py b/githubkit/versions/v2022_11_28/types/group_0628.py index 77496d06f..d72cf5e9d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0628.py +++ b/githubkit/versions/v2022_11_28/types/group_0628.py @@ -42,6 +42,35 @@ class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType( user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -87,7 +116,54 @@ class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissions workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0629.py b/githubkit/versions/v2022_11_28/types/group_0629.py index b7b9f30a0..351805295 100644 --- a/githubkit/versions/v2022_11_28/types/group_0629.py +++ b/githubkit/versions/v2022_11_28/types/group_0629.py @@ -15,7 +15,9 @@ from .group_0628 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -46,4 +48,37 @@ class actors within GitHub. updated_at: Union[datetime, None] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType",) +class WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0630.py b/githubkit/versions/v2022_11_28/types/group_0630.py index 46a9659b2..9fa0774e6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0630.py +++ b/githubkit/versions/v2022_11_28/types/group_0630.py @@ -24,4 +24,17 @@ class WebhookIssuesClosedPropIssueAllof0PropPullRequestType(TypedDict): url: NotRequired[str] -__all__ = ("WebhookIssuesClosedPropIssueAllof0PropPullRequestType",) +class WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof0PropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "WebhookIssuesClosedPropIssueAllof0PropPullRequestType", + "WebhookIssuesClosedPropIssueAllof0PropPullRequestTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0631.py b/githubkit/versions/v2022_11_28/types/group_0631.py index 06e71289d..657fef3f2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0631.py +++ b/githubkit/versions/v2022_11_28/types/group_0631.py @@ -55,26 +55,104 @@ class WebhookIssuesClosedPropIssueAllof1Type(TypedDict): user: NotRequired[WebhookIssuesClosedPropIssueAllof1PropUserType] +class WebhookIssuesClosedPropIssueAllof1TypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1""" + + active_lock_reason: NotRequired[Union[str, None]] + assignee: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse, None] + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[str] + body: NotRequired[Union[str, None]] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[ + list[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse, None + ] + ] + ] + labels_url: NotRequired[str] + locked: NotRequired[bool] + milestone: NotRequired[ + Union[WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse, None] + ] + node_id: NotRequired[str] + number: NotRequired[int] + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + reactions: NotRequired[ + WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + state: Literal["closed", "open"] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse] + + class WebhookIssuesClosedPropIssueAllof1PropAssigneeType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropAssignee""" +class WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropAssignee""" + + class WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropAssigneesItems""" +class WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropAssigneesItems""" + + class WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropLabelsItems""" +class WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropLabelsItems""" + + class WebhookIssuesClosedPropIssueAllof1PropMilestoneType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropMilestone""" +class WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropMilestone""" + + class WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubApp""" +class WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubApp""" + + class WebhookIssuesClosedPropIssueAllof1PropReactionsType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropReactions""" @@ -90,6 +168,21 @@ class WebhookIssuesClosedPropIssueAllof1PropReactionsType(TypedDict): url: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropReactions""" + + plus_one: NotRequired[int] + minus_one: NotRequired[int] + confused: NotRequired[int] + eyes: NotRequired[int] + heart: NotRequired[int] + hooray: NotRequired[int] + laugh: NotRequired[int] + rocket: NotRequired[int] + total_count: NotRequired[int] + url: NotRequired[str] + + class WebhookIssuesClosedPropIssueAllof1PropUserType(TypedDict): """WebhookIssuesClosedPropIssueAllof1PropUser""" @@ -114,13 +207,45 @@ class WebhookIssuesClosedPropIssueAllof1PropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueAllof1PropUser""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesClosedPropIssueAllof1PropAssigneeType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneeTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsType", + "WebhookIssuesClosedPropIssueAllof1PropAssigneesItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsType", + "WebhookIssuesClosedPropIssueAllof1PropLabelsItemsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropMilestoneType", + "WebhookIssuesClosedPropIssueAllof1PropMilestoneTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueAllof1PropPerformedViaGithubAppTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropReactionsType", + "WebhookIssuesClosedPropIssueAllof1PropReactionsTypeForResponse", "WebhookIssuesClosedPropIssueAllof1PropUserType", + "WebhookIssuesClosedPropIssueAllof1PropUserTypeForResponse", "WebhookIssuesClosedPropIssueAllof1Type", + "WebhookIssuesClosedPropIssueAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0632.py b/githubkit/versions/v2022_11_28/types/group_0632.py index b97c64c40..c28c07705 100644 --- a/githubkit/versions/v2022_11_28/types/group_0632.py +++ b/githubkit/versions/v2022_11_28/types/group_0632.py @@ -13,7 +13,10 @@ from typing import Literal, Union from typing_extensions import TypedDict -from .group_0626 import WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType +from .group_0626 import ( + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorType, + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, +) class WebhookIssuesClosedPropIssueMergedMilestoneType(TypedDict): @@ -37,4 +40,30 @@ class WebhookIssuesClosedPropIssueMergedMilestoneType(TypedDict): url: str -__all__ = ("WebhookIssuesClosedPropIssueMergedMilestoneType",) +class WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedMilestone""" + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesClosedPropIssueAllof0PropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +__all__ = ( + "WebhookIssuesClosedPropIssueMergedMilestoneType", + "WebhookIssuesClosedPropIssueMergedMilestoneTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0633.py b/githubkit/versions/v2022_11_28/types/group_0633.py index 562c4c6dc..b8faa05ed 100644 --- a/githubkit/versions/v2022_11_28/types/group_0633.py +++ b/githubkit/versions/v2022_11_28/types/group_0633.py @@ -15,7 +15,9 @@ from .group_0628 import ( WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsType, + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse, ) @@ -40,4 +42,29 @@ class WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType(TypedDict): updated_at: Union[datetime, None] -__all__ = ("WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType",) +class WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse(TypedDict): + """WebhookIssuesClosedPropIssueMergedPerformedViaGithubApp""" + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesClosedPropIssueAllof0PropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + +__all__ = ( + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppType", + "WebhookIssuesClosedPropIssueMergedPerformedViaGithubAppTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0634.py b/githubkit/versions/v2022_11_28/types/group_0634.py index a460b27b4..04ee764e9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0634.py +++ b/githubkit/versions/v2022_11_28/types/group_0634.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0635 import WebhookIssuesDeletedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0635 import ( + WebhookIssuesDeletedPropIssueType, + WebhookIssuesDeletedPropIssueTypeForResponse, +) class WebhookIssuesDeletedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesDeletedType",) +class WebhookIssuesDeletedTypeForResponse(TypedDict): + """issues deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesDeletedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesDeletedType", + "WebhookIssuesDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0635.py b/githubkit/versions/v2022_11_28/types/group_0635.py index b0e074d92..91a672b1e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0635.py +++ b/githubkit/versions/v2022_11_28/types/group_0635.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesDeletedPropIssueType(TypedDict): @@ -73,6 +78,71 @@ class WebhookIssuesDeletedPropIssueType(TypedDict): user: Union[WebhookIssuesDeletedPropIssuePropUserType, None] +class WebhookIssuesDeletedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesDeletedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesDeletedPropIssuePropAssigneeType(TypedDict): """User""" @@ -100,6 +170,33 @@ class WebhookIssuesDeletedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +224,33 @@ class WebhookIssuesDeletedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +263,18 @@ class WebhookIssuesDeletedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesDeletedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +299,32 @@ class WebhookIssuesDeletedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +352,33 @@ class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +406,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +461,35 @@ class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedD user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +535,51 @@ class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesDeletedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesDeletedPropIssuePropPullRequest""" @@ -299,6 +590,16 @@ class WebhookIssuesDeletedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesDeletedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesDeletedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +615,21 @@ class WebhookIssuesDeletedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesDeletedPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +657,56 @@ class WebhookIssuesDeletedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDeletedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesDeletedPropIssuePropAssigneeType", + "WebhookIssuesDeletedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDeletedPropIssuePropAssigneesItemsType", + "WebhookIssuesDeletedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropLabelsItemsType", + "WebhookIssuesDeletedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDeletedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDeletedPropIssuePropMilestoneType", + "WebhookIssuesDeletedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDeletedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDeletedPropIssuePropPullRequestType", + "WebhookIssuesDeletedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDeletedPropIssuePropReactionsType", + "WebhookIssuesDeletedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDeletedPropIssuePropUserType", + "WebhookIssuesDeletedPropIssuePropUserTypeForResponse", "WebhookIssuesDeletedPropIssueType", + "WebhookIssuesDeletedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0636.py b/githubkit/versions/v2022_11_28/types/group_0636.py index b5e0446a1..31bac88ba 100644 --- a/githubkit/versions/v2022_11_28/types/group_0636.py +++ b/githubkit/versions/v2022_11_28/types/group_0636.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0471 import WebhooksMilestoneType -from .group_0637 import WebhookIssuesDemilestonedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0471 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse +from .group_0637 import ( + WebhookIssuesDemilestonedPropIssueType, + WebhookIssuesDemilestonedPropIssueTypeForResponse, +) class WebhookIssuesDemilestonedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesDemilestonedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesDemilestonedType",) +class WebhookIssuesDemilestonedTypeForResponse(TypedDict): + """issues demilestoned event""" + + action: Literal["demilestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesDemilestonedPropIssueTypeForResponse + milestone: NotRequired[WebhooksMilestoneTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesDemilestonedType", + "WebhookIssuesDemilestonedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0637.py b/githubkit/versions/v2022_11_28/types/group_0637.py index 8485c26d2..78a12eb90 100644 --- a/githubkit/versions/v2022_11_28/types/group_0637.py +++ b/githubkit/versions/v2022_11_28/types/group_0637.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesDemilestonedPropIssueType(TypedDict): @@ -79,6 +84,78 @@ class WebhookIssuesDemilestonedPropIssueType(TypedDict): user: Union[WebhookIssuesDemilestonedPropIssuePropUserType, None] +class WebhookIssuesDemilestonedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + Union[ + WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse, None + ] + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse, None + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesDemilestonedPropIssuePropAssigneeType(TypedDict): """User""" @@ -105,6 +182,32 @@ class WebhookIssuesDemilestonedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -131,6 +234,32 @@ class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -143,6 +272,18 @@ class WebhookIssuesDemilestonedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesDemilestonedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -167,6 +308,32 @@ class WebhookIssuesDemilestonedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -194,6 +361,35 @@ class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -221,6 +417,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -250,6 +476,35 @@ class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType( user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -295,6 +550,51 @@ class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissions workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesDemilestonedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesDemilestonedPropIssuePropPullRequest""" @@ -305,6 +605,16 @@ class WebhookIssuesDemilestonedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesDemilestonedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesDemilestonedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -320,6 +630,21 @@ class WebhookIssuesDemilestonedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesDemilestonedPropIssuePropUserType(TypedDict): """User""" @@ -347,17 +672,56 @@ class WebhookIssuesDemilestonedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesDemilestonedPropIssuePropAssigneeType", + "WebhookIssuesDemilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesDemilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesDemilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesDemilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropMilestoneType", + "WebhookIssuesDemilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesDemilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropPullRequestType", + "WebhookIssuesDemilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropReactionsType", + "WebhookIssuesDemilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesDemilestonedPropIssuePropUserType", + "WebhookIssuesDemilestonedPropIssuePropUserTypeForResponse", "WebhookIssuesDemilestonedPropIssueType", + "WebhookIssuesDemilestonedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0638.py b/githubkit/versions/v2022_11_28/types/group_0638.py index f1fd64bac..797b9c6df 100644 --- a/githubkit/versions/v2022_11_28/types/group_0638.py +++ b/githubkit/versions/v2022_11_28/types/group_0638.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType -from .group_0639 import WebhookIssuesEditedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0639 import ( + WebhookIssuesEditedPropIssueType, + WebhookIssuesEditedPropIssueTypeForResponse, +) class WebhookIssuesEditedType(TypedDict): @@ -35,6 +41,20 @@ class WebhookIssuesEditedType(TypedDict): sender: SimpleUserType +class WebhookIssuesEditedTypeForResponse(TypedDict): + """issues edited event""" + + action: Literal["edited"] + changes: WebhookIssuesEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesEditedPropIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookIssuesEditedPropChangesType(TypedDict): """WebhookIssuesEditedPropChanges @@ -45,21 +65,47 @@ class WebhookIssuesEditedPropChangesType(TypedDict): title: NotRequired[WebhookIssuesEditedPropChangesPropTitleType] +class WebhookIssuesEditedPropChangesTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChanges + + The changes to the issue. + """ + + body: NotRequired[WebhookIssuesEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookIssuesEditedPropChangesPropTitleTypeForResponse] + + class WebhookIssuesEditedPropChangesPropBodyType(TypedDict): """WebhookIssuesEditedPropChangesPropBody""" from_: str +class WebhookIssuesEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChangesPropBody""" + + from_: str + + class WebhookIssuesEditedPropChangesPropTitleType(TypedDict): """WebhookIssuesEditedPropChangesPropTitle""" from_: str +class WebhookIssuesEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookIssuesEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookIssuesEditedPropChangesPropBodyType", + "WebhookIssuesEditedPropChangesPropBodyTypeForResponse", "WebhookIssuesEditedPropChangesPropTitleType", + "WebhookIssuesEditedPropChangesPropTitleTypeForResponse", "WebhookIssuesEditedPropChangesType", + "WebhookIssuesEditedPropChangesTypeForResponse", "WebhookIssuesEditedType", + "WebhookIssuesEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0639.py b/githubkit/versions/v2022_11_28/types/group_0639.py index 4dc8594d3..5e10319f1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0639.py +++ b/githubkit/versions/v2022_11_28/types/group_0639.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesEditedPropIssueType(TypedDict): @@ -73,6 +78,71 @@ class WebhookIssuesEditedPropIssueType(TypedDict): user: Union[WebhookIssuesEditedPropIssuePropUserType, None] +class WebhookIssuesEditedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesEditedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesEditedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesEditedPropIssuePropAssigneeType(TypedDict): """User""" @@ -100,6 +170,33 @@ class WebhookIssuesEditedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -126,6 +223,32 @@ class WebhookIssuesEditedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -138,6 +261,18 @@ class WebhookIssuesEditedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesEditedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -162,6 +297,32 @@ class WebhookIssuesEditedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesEditedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -189,6 +350,33 @@ class WebhookIssuesEditedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -216,6 +404,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -243,6 +459,35 @@ class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -288,6 +533,51 @@ class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesEditedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesEditedPropIssuePropPullRequest""" @@ -298,6 +588,16 @@ class WebhookIssuesEditedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesEditedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesEditedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -313,6 +613,21 @@ class WebhookIssuesEditedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesEditedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesEditedPropIssuePropUserType(TypedDict): """User""" @@ -340,17 +655,56 @@ class WebhookIssuesEditedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesEditedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesEditedPropIssuePropAssigneeType", + "WebhookIssuesEditedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesEditedPropIssuePropAssigneesItemsType", + "WebhookIssuesEditedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropLabelsItemsType", + "WebhookIssuesEditedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesEditedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesEditedPropIssuePropMilestoneType", + "WebhookIssuesEditedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesEditedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesEditedPropIssuePropPullRequestType", + "WebhookIssuesEditedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesEditedPropIssuePropReactionsType", + "WebhookIssuesEditedPropIssuePropReactionsTypeForResponse", "WebhookIssuesEditedPropIssuePropUserType", + "WebhookIssuesEditedPropIssuePropUserTypeForResponse", "WebhookIssuesEditedPropIssueType", + "WebhookIssuesEditedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0640.py b/githubkit/versions/v2022_11_28/types/group_0640.py index 93cd04077..498bf031a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0640.py +++ b/githubkit/versions/v2022_11_28/types/group_0640.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType -from .group_0641 import WebhookIssuesLabeledPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0641 import ( + WebhookIssuesLabeledPropIssueType, + WebhookIssuesLabeledPropIssueTypeForResponse, +) class WebhookIssuesLabeledType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesLabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesLabeledType",) +class WebhookIssuesLabeledTypeForResponse(TypedDict): + """issues labeled event""" + + action: Literal["labeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesLabeledPropIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesLabeledType", + "WebhookIssuesLabeledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0641.py b/githubkit/versions/v2022_11_28/types/group_0641.py index 4cec069c1..02718e9e9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0641.py +++ b/githubkit/versions/v2022_11_28/types/group_0641.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesLabeledPropIssueType(TypedDict): @@ -73,6 +78,71 @@ class WebhookIssuesLabeledPropIssueType(TypedDict): user: Union[WebhookIssuesLabeledPropIssuePropUserType, None] +class WebhookIssuesLabeledPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesLabeledPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesLabeledPropIssuePropAssigneeType(TypedDict): """User""" @@ -100,6 +170,33 @@ class WebhookIssuesLabeledPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -126,6 +223,32 @@ class WebhookIssuesLabeledPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -138,6 +261,18 @@ class WebhookIssuesLabeledPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesLabeledPropIssuePropMilestoneType(TypedDict): """Milestone @@ -162,6 +297,32 @@ class WebhookIssuesLabeledPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -189,6 +350,33 @@ class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -216,6 +404,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -243,6 +459,35 @@ class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType(TypedD user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -288,6 +533,51 @@ class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesLabeledPropIssuePropPullRequestType(TypedDict): """WebhookIssuesLabeledPropIssuePropPullRequest""" @@ -298,6 +588,16 @@ class WebhookIssuesLabeledPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesLabeledPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesLabeledPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -313,6 +613,21 @@ class WebhookIssuesLabeledPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesLabeledPropIssuePropUserType(TypedDict): """User""" @@ -340,17 +655,56 @@ class WebhookIssuesLabeledPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLabeledPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesLabeledPropIssuePropAssigneeType", + "WebhookIssuesLabeledPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLabeledPropIssuePropAssigneesItemsType", + "WebhookIssuesLabeledPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropLabelsItemsType", + "WebhookIssuesLabeledPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLabeledPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLabeledPropIssuePropMilestoneType", + "WebhookIssuesLabeledPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLabeledPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLabeledPropIssuePropPullRequestType", + "WebhookIssuesLabeledPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLabeledPropIssuePropReactionsType", + "WebhookIssuesLabeledPropIssuePropReactionsTypeForResponse", "WebhookIssuesLabeledPropIssuePropUserType", + "WebhookIssuesLabeledPropIssuePropUserTypeForResponse", "WebhookIssuesLabeledPropIssueType", + "WebhookIssuesLabeledPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0642.py b/githubkit/versions/v2022_11_28/types/group_0642.py index b3d5e3074..3ca48b2d8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0642.py +++ b/githubkit/versions/v2022_11_28/types/group_0642.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0643 import WebhookIssuesLockedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0643 import ( + WebhookIssuesLockedPropIssueType, + WebhookIssuesLockedPropIssueTypeForResponse, +) class WebhookIssuesLockedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesLockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesLockedType",) +class WebhookIssuesLockedTypeForResponse(TypedDict): + """issues locked event""" + + action: Literal["locked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesLockedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesLockedType", + "WebhookIssuesLockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0643.py b/githubkit/versions/v2022_11_28/types/group_0643.py index f035e7429..261348f56 100644 --- a/githubkit/versions/v2022_11_28/types/group_0643.py +++ b/githubkit/versions/v2022_11_28/types/group_0643.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesLockedPropIssueType(TypedDict): @@ -75,6 +80,71 @@ class WebhookIssuesLockedPropIssueType(TypedDict): user: Union[WebhookIssuesLockedPropIssuePropUserType, None] +class WebhookIssuesLockedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: Literal[True] + milestone: Union[WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesLockedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesLockedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesLockedPropIssuePropAssigneeType(TypedDict): """User""" @@ -102,6 +172,33 @@ class WebhookIssuesLockedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -129,6 +226,33 @@ class WebhookIssuesLockedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -141,6 +265,18 @@ class WebhookIssuesLockedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesLockedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -165,6 +301,32 @@ class WebhookIssuesLockedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesLockedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -192,6 +354,33 @@ class WebhookIssuesLockedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -219,6 +408,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -246,6 +463,35 @@ class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -291,6 +537,51 @@ class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesLockedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesLockedPropIssuePropPullRequest""" @@ -301,6 +592,16 @@ class WebhookIssuesLockedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesLockedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesLockedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -316,6 +617,21 @@ class WebhookIssuesLockedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesLockedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesLockedPropIssuePropUserType(TypedDict): """User""" @@ -343,17 +659,56 @@ class WebhookIssuesLockedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesLockedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesLockedPropIssuePropAssigneeType", + "WebhookIssuesLockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesLockedPropIssuePropAssigneesItemsType", + "WebhookIssuesLockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropLabelsItemsType", + "WebhookIssuesLockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesLockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesLockedPropIssuePropMilestoneType", + "WebhookIssuesLockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesLockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesLockedPropIssuePropPullRequestType", + "WebhookIssuesLockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesLockedPropIssuePropReactionsType", + "WebhookIssuesLockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesLockedPropIssuePropUserType", + "WebhookIssuesLockedPropIssuePropUserTypeForResponse", "WebhookIssuesLockedPropIssueType", + "WebhookIssuesLockedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0644.py b/githubkit/versions/v2022_11_28/types/group_0644.py index bfb3bd670..7ad38f382 100644 --- a/githubkit/versions/v2022_11_28/types/group_0644.py +++ b/githubkit/versions/v2022_11_28/types/group_0644.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0471 import WebhooksMilestoneType -from .group_0645 import WebhookIssuesMilestonedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0471 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse +from .group_0645 import ( + WebhookIssuesMilestonedPropIssueType, + WebhookIssuesMilestonedPropIssueTypeForResponse, +) class WebhookIssuesMilestonedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesMilestonedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesMilestonedType",) +class WebhookIssuesMilestonedTypeForResponse(TypedDict): + """issues milestoned event""" + + action: Literal["milestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesMilestonedPropIssueTypeForResponse + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesMilestonedType", + "WebhookIssuesMilestonedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0645.py b/githubkit/versions/v2022_11_28/types/group_0645.py index 3e117ac98..e3a941444 100644 --- a/githubkit/versions/v2022_11_28/types/group_0645.py +++ b/githubkit/versions/v2022_11_28/types/group_0645.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesMilestonedPropIssueType(TypedDict): @@ -75,6 +80,74 @@ class WebhookIssuesMilestonedPropIssueType(TypedDict): user: Union[WebhookIssuesMilestonedPropIssuePropUserType, None] +class WebhookIssuesMilestonedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + Union[WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse, None] + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesMilestonedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesMilestonedPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +174,32 @@ class WebhookIssuesMilestonedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +226,32 @@ class WebhookIssuesMilestonedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +264,18 @@ class WebhookIssuesMilestonedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesMilestonedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +300,32 @@ class WebhookIssuesMilestonedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +353,35 @@ class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +409,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +466,35 @@ class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +540,51 @@ class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTy workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesMilestonedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesMilestonedPropIssuePropPullRequest""" @@ -299,6 +595,16 @@ class WebhookIssuesMilestonedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesMilestonedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesMilestonedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +620,21 @@ class WebhookIssuesMilestonedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesMilestonedPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +662,56 @@ class WebhookIssuesMilestonedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesMilestonedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesMilestonedPropIssuePropAssigneeType", + "WebhookIssuesMilestonedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesMilestonedPropIssuePropAssigneesItemsType", + "WebhookIssuesMilestonedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropLabelsItemsType", + "WebhookIssuesMilestonedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesMilestonedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesMilestonedPropIssuePropMilestoneType", + "WebhookIssuesMilestonedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesMilestonedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesMilestonedPropIssuePropPullRequestType", + "WebhookIssuesMilestonedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesMilestonedPropIssuePropReactionsType", + "WebhookIssuesMilestonedPropIssuePropReactionsTypeForResponse", "WebhookIssuesMilestonedPropIssuePropUserType", + "WebhookIssuesMilestonedPropIssuePropUserTypeForResponse", "WebhookIssuesMilestonedPropIssueType", + "WebhookIssuesMilestonedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0646.py b/githubkit/versions/v2022_11_28/types/group_0646.py index 7e6fb0a04..6decbd3d2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0646.py +++ b/githubkit/versions/v2022_11_28/types/group_0646.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0647 import WebhookIssuesOpenedPropChangesType -from .group_0649 import WebhookIssuesOpenedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0647 import ( + WebhookIssuesOpenedPropChangesType, + WebhookIssuesOpenedPropChangesTypeForResponse, +) +from .group_0649 import ( + WebhookIssuesOpenedPropIssueType, + WebhookIssuesOpenedPropIssueTypeForResponse, +) class WebhookIssuesOpenedType(TypedDict): @@ -34,4 +43,20 @@ class WebhookIssuesOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesOpenedType",) +class WebhookIssuesOpenedTypeForResponse(TypedDict): + """issues opened event""" + + action: Literal["opened"] + changes: NotRequired[WebhookIssuesOpenedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesOpenedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesOpenedType", + "WebhookIssuesOpenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0647.py b/githubkit/versions/v2022_11_28/types/group_0647.py index 16bf239ed..f0c61fbf6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0647.py +++ b/githubkit/versions/v2022_11_28/types/group_0647.py @@ -13,7 +13,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0648 import WebhookIssuesOpenedPropChangesPropOldIssueType +from .group_0648 import ( + WebhookIssuesOpenedPropChangesPropOldIssueType, + WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, +) class WebhookIssuesOpenedPropChangesType(TypedDict): @@ -23,6 +26,13 @@ class WebhookIssuesOpenedPropChangesType(TypedDict): old_repository: WebhookIssuesOpenedPropChangesPropOldRepositoryType +class WebhookIssuesOpenedPropChangesTypeForResponse(TypedDict): + """WebhookIssuesOpenedPropChanges""" + + old_issue: Union[WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse, None] + old_repository: WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse + + class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): """Repository @@ -129,6 +139,114 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_discussions: NotRequired[bool] + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType: TypeAlias = ( dict[str, Any] ) @@ -140,6 +258,17 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryType(TypedDict): """ +WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType(TypedDict): """License""" @@ -150,6 +279,18 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType(TypedDict): """User""" @@ -177,6 +318,35 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType(TypedDict): """WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissions""" @@ -187,11 +357,29 @@ class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType(TypedDi triage: NotRequired[bool] +class WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropLicenseTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldRepositoryType", + "WebhookIssuesOpenedPropChangesPropOldRepositoryTypeForResponse", "WebhookIssuesOpenedPropChangesType", + "WebhookIssuesOpenedPropChangesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0648.py b/githubkit/versions/v2022_11_28/types/group_0648.py index 4529c95fa..3e2e04f0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0648.py +++ b/githubkit/versions/v2022_11_28/types/group_0648.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesOpenedPropChangesPropOldIssueType(TypedDict): @@ -94,6 +99,89 @@ class WebhookIssuesOpenedPropChangesPropOldIssueType(TypedDict): type: NotRequired[Union[IssueTypeType, None]] +class WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: NotRequired[ + Union[None, Literal["resolved", "off-topic", "too heated", "spam"]] + ] + assignee: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse, None + ] + ] + assignees: NotRequired[ + list[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse, + None, + ] + ] + ] + author_association: NotRequired[ + Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + ] + body: NotRequired[Union[str, None]] + closed_at: NotRequired[Union[str, None]] + comments: NotRequired[int] + comments_url: NotRequired[str] + created_at: NotRequired[str] + draft: NotRequired[bool] + events_url: NotRequired[str] + html_url: NotRequired[str] + id: int + labels: NotRequired[ + list[WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse] + ] + labels_url: NotRequired[str] + locked: NotRequired[bool] + milestone: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse, None + ] + ] + node_id: NotRequired[str] + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse + ] + reactions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse + ] + repository_url: NotRequired[str] + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + user: NotRequired[ + Union[WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse, None] + ] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType(TypedDict): """User""" @@ -121,6 +209,33 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType(TypedDict): """User""" @@ -148,6 +263,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType(TypedDict user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType(TypedDict): """Label""" @@ -160,6 +304,20 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType(TypedDict): """Milestone @@ -186,6 +344,33 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -213,6 +398,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType(Typ user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType( TypedDict ): @@ -243,6 +457,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -272,6 +516,35 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwn user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -318,6 +591,52 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPer workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissio + ns + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType(TypedDict): """WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequest""" @@ -328,6 +647,18 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType(TypedDict): """Reactions""" @@ -343,6 +674,21 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesOpenedPropChangesPropOldIssuePropUserType(TypedDict): """User""" @@ -370,17 +716,56 @@ class WebhookIssuesOpenedPropChangesPropOldIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssuePropUserType", + "WebhookIssuesOpenedPropChangesPropOldIssuePropUserTypeForResponse", "WebhookIssuesOpenedPropChangesPropOldIssueType", + "WebhookIssuesOpenedPropChangesPropOldIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0649.py b/githubkit/versions/v2022_11_28/types/group_0649.py index 1f2825a34..593d7a70e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0649.py +++ b/githubkit/versions/v2022_11_28/types/group_0649.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesOpenedPropIssueType(TypedDict): @@ -73,6 +78,71 @@ class WebhookIssuesOpenedPropIssueType(TypedDict): user: Union[WebhookIssuesOpenedPropIssuePropUserType, None] +class WebhookIssuesOpenedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesOpenedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesOpenedPropIssuePropAssigneeType(TypedDict): """User""" @@ -100,6 +170,33 @@ class WebhookIssuesOpenedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +224,33 @@ class WebhookIssuesOpenedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +263,18 @@ class WebhookIssuesOpenedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesOpenedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +299,32 @@ class WebhookIssuesOpenedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +352,33 @@ class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +406,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +461,35 @@ class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDi user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +535,51 @@ class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType( workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesOpenedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesOpenedPropIssuePropPullRequest""" @@ -299,6 +590,16 @@ class WebhookIssuesOpenedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesOpenedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesOpenedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +615,21 @@ class WebhookIssuesOpenedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesOpenedPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +657,56 @@ class WebhookIssuesOpenedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesOpenedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesOpenedPropIssuePropAssigneeType", + "WebhookIssuesOpenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesOpenedPropIssuePropAssigneesItemsType", + "WebhookIssuesOpenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropLabelsItemsType", + "WebhookIssuesOpenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesOpenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesOpenedPropIssuePropMilestoneType", + "WebhookIssuesOpenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesOpenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesOpenedPropIssuePropPullRequestType", + "WebhookIssuesOpenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesOpenedPropIssuePropReactionsType", + "WebhookIssuesOpenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesOpenedPropIssuePropUserType", + "WebhookIssuesOpenedPropIssuePropUserTypeForResponse", "WebhookIssuesOpenedPropIssueType", + "WebhookIssuesOpenedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0650.py b/githubkit/versions/v2022_11_28/types/group_0650.py index 3a1d941c0..16144c855 100644 --- a/githubkit/versions/v2022_11_28/types/group_0650.py +++ b/githubkit/versions/v2022_11_28/types/group_0650.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0472 import WebhooksIssue2Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0472 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse class WebhookIssuesPinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookIssuesPinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesPinnedType",) +class WebhookIssuesPinnedTypeForResponse(TypedDict): + """issues pinned event""" + + action: Literal["pinned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesPinnedType", + "WebhookIssuesPinnedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0651.py b/githubkit/versions/v2022_11_28/types/group_0651.py index 2ed211d61..d9343e533 100644 --- a/githubkit/versions/v2022_11_28/types/group_0651.py +++ b/githubkit/versions/v2022_11_28/types/group_0651.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0652 import WebhookIssuesReopenedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0652 import ( + WebhookIssuesReopenedPropIssueType, + WebhookIssuesReopenedPropIssueTypeForResponse, +) class WebhookIssuesReopenedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesReopenedType",) +class WebhookIssuesReopenedTypeForResponse(TypedDict): + """issues reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesReopenedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesReopenedType", + "WebhookIssuesReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0652.py b/githubkit/versions/v2022_11_28/types/group_0652.py index 8d5aaecd6..07f706fc6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0652.py +++ b/githubkit/versions/v2022_11_28/types/group_0652.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesReopenedPropIssueType(TypedDict): @@ -75,6 +80,71 @@ class WebhookIssuesReopenedPropIssueType(TypedDict): type: NotRequired[Union[IssueTypeType, None]] +class WebhookIssuesReopenedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: Literal["open", "closed"] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + updated_at: str + url: str + user: Union[WebhookIssuesReopenedPropIssuePropUserTypeForResponse, None] + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + + class WebhookIssuesReopenedPropIssuePropAssigneeType(TypedDict): """User""" @@ -101,6 +171,32 @@ class WebhookIssuesReopenedPropIssuePropAssigneeType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -127,6 +223,32 @@ class WebhookIssuesReopenedPropIssuePropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -139,6 +261,18 @@ class WebhookIssuesReopenedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesReopenedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -163,6 +297,32 @@ class WebhookIssuesReopenedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -190,6 +350,33 @@ class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -217,6 +404,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -244,6 +459,35 @@ class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -289,6 +533,51 @@ class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write", "admin"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write", "admin"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesReopenedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesReopenedPropIssuePropPullRequest""" @@ -299,6 +588,16 @@ class WebhookIssuesReopenedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesReopenedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesReopenedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -314,6 +613,21 @@ class WebhookIssuesReopenedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesReopenedPropIssuePropUserType(TypedDict): """User""" @@ -341,17 +655,56 @@ class WebhookIssuesReopenedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesReopenedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesReopenedPropIssuePropAssigneeType", + "WebhookIssuesReopenedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesReopenedPropIssuePropAssigneesItemsType", + "WebhookIssuesReopenedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropLabelsItemsType", + "WebhookIssuesReopenedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesReopenedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesReopenedPropIssuePropMilestoneType", + "WebhookIssuesReopenedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesReopenedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesReopenedPropIssuePropPullRequestType", + "WebhookIssuesReopenedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesReopenedPropIssuePropReactionsType", + "WebhookIssuesReopenedPropIssuePropReactionsTypeForResponse", "WebhookIssuesReopenedPropIssuePropUserType", + "WebhookIssuesReopenedPropIssuePropUserTypeForResponse", "WebhookIssuesReopenedPropIssueType", + "WebhookIssuesReopenedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0653.py b/githubkit/versions/v2022_11_28/types/group_0653.py index f64e1dd46..91b685bcd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0653.py +++ b/githubkit/versions/v2022_11_28/types/group_0653.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0472 import WebhooksIssue2Type -from .group_0654 import WebhookIssuesTransferredPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0472 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse +from .group_0654 import ( + WebhookIssuesTransferredPropChangesType, + WebhookIssuesTransferredPropChangesTypeForResponse, +) class WebhookIssuesTransferredType(TypedDict): @@ -34,4 +40,20 @@ class WebhookIssuesTransferredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesTransferredType",) +class WebhookIssuesTransferredTypeForResponse(TypedDict): + """issues transferred event""" + + action: Literal["transferred"] + changes: WebhookIssuesTransferredPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesTransferredType", + "WebhookIssuesTransferredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0654.py b/githubkit/versions/v2022_11_28/types/group_0654.py index ccf70913e..f6c2aa5da 100644 --- a/githubkit/versions/v2022_11_28/types/group_0654.py +++ b/githubkit/versions/v2022_11_28/types/group_0654.py @@ -13,7 +13,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0655 import WebhookIssuesTransferredPropChangesPropNewIssueType +from .group_0655 import ( + WebhookIssuesTransferredPropChangesPropNewIssueType, + WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse, +) class WebhookIssuesTransferredPropChangesType(TypedDict): @@ -23,6 +26,13 @@ class WebhookIssuesTransferredPropChangesType(TypedDict): new_repository: WebhookIssuesTransferredPropChangesPropNewRepositoryType +class WebhookIssuesTransferredPropChangesTypeForResponse(TypedDict): + """WebhookIssuesTransferredPropChanges""" + + new_issue: WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse + new_repository: WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse + + class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): """Repository @@ -131,6 +141,116 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType: TypeAlias = dict[ str, Any ] @@ -142,6 +262,17 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryType(TypedDict): """ +WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType(TypedDict): """License""" @@ -152,6 +283,18 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType(TypedD url: Union[str, None] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType(TypedDict): """User""" @@ -179,6 +322,35 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType(TypedDic user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType( TypedDict ): @@ -191,11 +363,29 @@ class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType( triage: NotRequired[bool] +class WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropCustomPropertiesTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropLicenseTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewRepositoryType", + "WebhookIssuesTransferredPropChangesPropNewRepositoryTypeForResponse", "WebhookIssuesTransferredPropChangesType", + "WebhookIssuesTransferredPropChangesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0655.py b/githubkit/versions/v2022_11_28/types/group_0655.py index 86963022a..feed5002e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0655.py +++ b/githubkit/versions/v2022_11_28/types/group_0655.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesTransferredPropChangesPropNewIssueType(TypedDict): @@ -88,6 +93,87 @@ class WebhookIssuesTransferredPropChangesPropNewIssueType(TypedDict): user: Union[WebhookIssuesTransferredPropChangesPropNewIssuePropUserType, None] +class WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse, + None, + ] + ] + assignees: list[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[ + WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse + ] + ] + labels_url: str + locked: NotRequired[bool] + milestone: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse, + None, + ] + ] + pull_request: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse + ] + reactions: ( + WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse + ) + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse, None + ] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType(TypedDict): """User""" @@ -115,6 +201,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType(TypedDict) user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType(TypedDict): """User""" @@ -142,6 +257,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType(Type user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType(TypedDict): """Label""" @@ -154,6 +298,20 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType(TypedDi url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType(TypedDict): """Milestone @@ -181,6 +339,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType(TypedDict url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType( TypedDict ): @@ -210,6 +397,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTyp user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType( TypedDict ): @@ -240,6 +456,36 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse( + TypedDict +): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType( TypedDict ): @@ -269,6 +515,35 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPr user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -315,6 +590,52 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPr workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPerm + issions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType(TypedDict): """WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequest""" @@ -325,6 +646,18 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType(TypedDi url: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse( + TypedDict +): + """WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType(TypedDict): """Reactions""" @@ -340,6 +673,23 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType(TypedDict url: str +class WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesTransferredPropChangesPropNewIssuePropUserType(TypedDict): """User""" @@ -367,17 +717,56 @@ class WebhookIssuesTransferredPropChangesPropNewIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneeTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropLabelsItemsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropMilestoneTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropPullRequestTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropReactionsTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssuePropUserType", + "WebhookIssuesTransferredPropChangesPropNewIssuePropUserTypeForResponse", "WebhookIssuesTransferredPropChangesPropNewIssueType", + "WebhookIssuesTransferredPropChangesPropNewIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0656.py b/githubkit/versions/v2022_11_28/types/group_0656.py index b6dd2b064..df6280e01 100644 --- a/githubkit/versions/v2022_11_28/types/group_0656.py +++ b/githubkit/versions/v2022_11_28/types/group_0656.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0041 import IssueTypeType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0470 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0470 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesTypedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesTypedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesTypedType",) +class WebhookIssuesTypedTypeForResponse(TypedDict): + """issues typed event""" + + action: Literal["typed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + type: Union[IssueTypeTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesTypedType", + "WebhookIssuesTypedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0657.py b/githubkit/versions/v2022_11_28/types/group_0657.py index 909b3d73b..58c257f6b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0657.py +++ b/githubkit/versions/v2022_11_28/types/group_0657.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0470 import WebhooksIssueType -from .group_0473 import WebhooksUserMannequinType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0470 import WebhooksIssueType, WebhooksIssueTypeForResponse +from .group_0473 import WebhooksUserMannequinType, WebhooksUserMannequinTypeForResponse class WebhookIssuesUnassignedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUnassignedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnassignedType",) +class WebhookIssuesUnassignedTypeForResponse(TypedDict): + """issues unassigned event""" + + action: Literal["unassigned"] + assignee: NotRequired[Union[WebhooksUserMannequinTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnassignedType", + "WebhookIssuesUnassignedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0658.py b/githubkit/versions/v2022_11_28/types/group_0658.py index 2f6e018fc..cde84d2ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_0658.py +++ b/githubkit/versions/v2022_11_28/types/group_0658.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType -from .group_0470 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse +from .group_0470 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesUnlabeledType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUnlabeledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnlabeledType",) +class WebhookIssuesUnlabeledTypeForResponse(TypedDict): + """issues unlabeled event""" + + action: Literal["unlabeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + label: NotRequired[WebhooksLabelTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnlabeledType", + "WebhookIssuesUnlabeledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0659.py b/githubkit/versions/v2022_11_28/types/group_0659.py index 1626104f4..c25b52b44 100644 --- a/githubkit/versions/v2022_11_28/types/group_0659.py +++ b/githubkit/versions/v2022_11_28/types/group_0659.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0660 import WebhookIssuesUnlockedPropIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0660 import ( + WebhookIssuesUnlockedPropIssueType, + WebhookIssuesUnlockedPropIssueTypeForResponse, +) class WebhookIssuesUnlockedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookIssuesUnlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnlockedType",) +class WebhookIssuesUnlockedTypeForResponse(TypedDict): + """issues unlocked event""" + + action: Literal["unlocked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhookIssuesUnlockedPropIssueTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnlockedType", + "WebhookIssuesUnlockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0660.py b/githubkit/versions/v2022_11_28/types/group_0660.py index 05376745e..63540cea5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0660.py +++ b/githubkit/versions/v2022_11_28/types/group_0660.py @@ -13,9 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0041 import IssueTypeType -from .group_0043 import IssueDependenciesSummaryType, SubIssuesSummaryType -from .group_0044 import IssueFieldValueType +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0043 import ( + IssueDependenciesSummaryType, + IssueDependenciesSummaryTypeForResponse, + SubIssuesSummaryType, + SubIssuesSummaryTypeForResponse, +) +from .group_0044 import IssueFieldValueType, IssueFieldValueTypeForResponse class WebhookIssuesUnlockedPropIssueType(TypedDict): @@ -75,6 +80,71 @@ class WebhookIssuesUnlockedPropIssueType(TypedDict): user: Union[WebhookIssuesUnlockedPropIssuePropUserType, None] +class WebhookIssuesUnlockedPropIssueTypeForResponse(TypedDict): + """Issue + + The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + """ + + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: NotRequired[ + Union[WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse, None] + ] + assignees: list[ + Union[WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse, None] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + closed_at: Union[str, None] + comments: int + comments_url: str + created_at: str + draft: NotRequired[bool] + events_url: str + html_url: str + id: int + labels: NotRequired[ + list[Union[WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse, None]] + ] + labels_url: str + locked: Literal[False] + milestone: Union[WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse, None] + node_id: str + number: int + performed_via_github_app: NotRequired[ + Union[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse, None + ] + ] + pull_request: NotRequired[ + WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse + ] + reactions: WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse + repository_url: str + sub_issues_summary: NotRequired[SubIssuesSummaryTypeForResponse] + issue_dependencies_summary: NotRequired[IssueDependenciesSummaryTypeForResponse] + issue_field_values: NotRequired[list[IssueFieldValueTypeForResponse]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[Union[str, None]] + timeline_url: NotRequired[str] + title: str + type: NotRequired[Union[IssueTypeTypeForResponse, None]] + updated_at: str + url: str + user: Union[WebhookIssuesUnlockedPropIssuePropUserTypeForResponse, None] + + class WebhookIssuesUnlockedPropIssuePropAssigneeType(TypedDict): """User""" @@ -102,6 +172,33 @@ class WebhookIssuesUnlockedPropIssuePropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropAssigneesItemsType(TypedDict): """User""" @@ -129,6 +226,33 @@ class WebhookIssuesUnlockedPropIssuePropAssigneesItemsType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropLabelsItemsType(TypedDict): """Label""" @@ -141,6 +265,18 @@ class WebhookIssuesUnlockedPropIssuePropLabelsItemsType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookIssuesUnlockedPropIssuePropMilestoneType(TypedDict): """Milestone @@ -165,6 +301,32 @@ class WebhookIssuesUnlockedPropIssuePropMilestoneType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse, None + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType(TypedDict): """User""" @@ -192,6 +354,33 @@ class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType(TypedDict): """App @@ -219,6 +408,34 @@ class actors within GitHub. updated_at: Union[datetime, None] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse(TypedDict): + """App + + GitHub apps are a new way to extend GitHub. They can be installed directly on + organizations and user accounts and granted access to specific repositories. + They come with granular permissions and built-in webhooks. GitHub apps are first + class actors within GitHub. + """ + + created_at: Union[str, None] + description: Union[str, None] + events: NotRequired[list[str]] + external_url: Union[str, None] + html_url: str + id: Union[int, None] + name: str + node_id: str + owner: Union[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse + ] + slug: NotRequired[str] + updated_at: Union[str, None] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType(TypedDict): """User""" @@ -246,6 +463,35 @@ class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType( TypedDict ): @@ -291,6 +537,51 @@ class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType workflows: NotRequired[Literal["read", "write"]] +class WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse( + TypedDict +): + """WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissions + + The set of permissions for the GitHub app + """ + + actions: NotRequired[Literal["read", "write"]] + administration: NotRequired[Literal["read", "write"]] + checks: NotRequired[Literal["read", "write"]] + content_references: NotRequired[Literal["read", "write"]] + contents: NotRequired[Literal["read", "write"]] + deployments: NotRequired[Literal["read", "write"]] + discussions: NotRequired[Literal["read", "write"]] + emails: NotRequired[Literal["read", "write"]] + environments: NotRequired[Literal["read", "write"]] + issues: NotRequired[Literal["read", "write"]] + keys: NotRequired[Literal["read", "write"]] + members: NotRequired[Literal["read", "write"]] + metadata: NotRequired[Literal["read", "write"]] + organization_administration: NotRequired[Literal["read", "write"]] + organization_hooks: NotRequired[Literal["read", "write"]] + organization_packages: NotRequired[Literal["read", "write"]] + organization_plan: NotRequired[Literal["read", "write"]] + organization_projects: NotRequired[Literal["read", "write"]] + organization_secrets: NotRequired[Literal["read", "write"]] + organization_self_hosted_runners: NotRequired[Literal["read", "write"]] + organization_user_blocking: NotRequired[Literal["read", "write"]] + packages: NotRequired[Literal["read", "write"]] + pages: NotRequired[Literal["read", "write"]] + pull_requests: NotRequired[Literal["read", "write"]] + repository_hooks: NotRequired[Literal["read", "write"]] + repository_projects: NotRequired[Literal["read", "write"]] + secret_scanning_alerts: NotRequired[Literal["read", "write"]] + secrets: NotRequired[Literal["read", "write"]] + security_events: NotRequired[Literal["read", "write"]] + security_scanning_alert: NotRequired[Literal["read", "write"]] + single_file: NotRequired[Literal["read", "write"]] + statuses: NotRequired[Literal["read", "write"]] + team_discussions: NotRequired[Literal["read", "write"]] + vulnerability_alerts: NotRequired[Literal["read", "write"]] + workflows: NotRequired[Literal["read", "write"]] + + class WebhookIssuesUnlockedPropIssuePropPullRequestType(TypedDict): """WebhookIssuesUnlockedPropIssuePropPullRequest""" @@ -301,6 +592,16 @@ class WebhookIssuesUnlockedPropIssuePropPullRequestType(TypedDict): url: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse(TypedDict): + """WebhookIssuesUnlockedPropIssuePropPullRequest""" + + diff_url: NotRequired[str] + html_url: NotRequired[str] + merged_at: NotRequired[Union[str, None]] + patch_url: NotRequired[str] + url: NotRequired[str] + + class WebhookIssuesUnlockedPropIssuePropReactionsType(TypedDict): """Reactions""" @@ -316,6 +617,21 @@ class WebhookIssuesUnlockedPropIssuePropReactionsType(TypedDict): url: str +class WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookIssuesUnlockedPropIssuePropUserType(TypedDict): """User""" @@ -343,17 +659,56 @@ class WebhookIssuesUnlockedPropIssuePropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookIssuesUnlockedPropIssuePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookIssuesUnlockedPropIssuePropAssigneeType", + "WebhookIssuesUnlockedPropIssuePropAssigneeTypeForResponse", "WebhookIssuesUnlockedPropIssuePropAssigneesItemsType", + "WebhookIssuesUnlockedPropIssuePropAssigneesItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropLabelsItemsType", + "WebhookIssuesUnlockedPropIssuePropLabelsItemsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorType", + "WebhookIssuesUnlockedPropIssuePropMilestonePropCreatorTypeForResponse", "WebhookIssuesUnlockedPropIssuePropMilestoneType", + "WebhookIssuesUnlockedPropIssuePropMilestoneTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropOwnerTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppPropPermissionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppType", + "WebhookIssuesUnlockedPropIssuePropPerformedViaGithubAppTypeForResponse", "WebhookIssuesUnlockedPropIssuePropPullRequestType", + "WebhookIssuesUnlockedPropIssuePropPullRequestTypeForResponse", "WebhookIssuesUnlockedPropIssuePropReactionsType", + "WebhookIssuesUnlockedPropIssuePropReactionsTypeForResponse", "WebhookIssuesUnlockedPropIssuePropUserType", + "WebhookIssuesUnlockedPropIssuePropUserTypeForResponse", "WebhookIssuesUnlockedPropIssueType", + "WebhookIssuesUnlockedPropIssueTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0661.py b/githubkit/versions/v2022_11_28/types/group_0661.py index 3d5070f5e..5f9c1528a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0661.py +++ b/githubkit/versions/v2022_11_28/types/group_0661.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0472 import WebhooksIssue2Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0472 import WebhooksIssue2Type, WebhooksIssue2TypeForResponse class WebhookIssuesUnpinnedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookIssuesUnpinnedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUnpinnedType",) +class WebhookIssuesUnpinnedTypeForResponse(TypedDict): + """issues unpinned event""" + + action: Literal["unpinned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssue2TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUnpinnedType", + "WebhookIssuesUnpinnedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0662.py b/githubkit/versions/v2022_11_28/types/group_0662.py index 4efbc4a33..269ed8e59 100644 --- a/githubkit/versions/v2022_11_28/types/group_0662.py +++ b/githubkit/versions/v2022_11_28/types/group_0662.py @@ -12,13 +12,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0041 import IssueTypeType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0470 import WebhooksIssueType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0041 import IssueTypeType, IssueTypeTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0470 import WebhooksIssueType, WebhooksIssueTypeForResponse class WebhookIssuesUntypedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookIssuesUntypedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookIssuesUntypedType",) +class WebhookIssuesUntypedTypeForResponse(TypedDict): + """issues untyped event""" + + action: Literal["untyped"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + issue: WebhooksIssueTypeForResponse + type: Union[IssueTypeTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookIssuesUntypedType", + "WebhookIssuesUntypedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0663.py b/githubkit/versions/v2022_11_28/types/group_0663.py index ff07bc149..8fa364b06 100644 --- a/githubkit/versions/v2022_11_28/types/group_0663.py +++ b/githubkit/versions/v2022_11_28/types/group_0663.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookLabelCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookLabelCreatedType",) +class WebhookLabelCreatedTypeForResponse(TypedDict): + """label created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookLabelCreatedType", + "WebhookLabelCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0664.py b/githubkit/versions/v2022_11_28/types/group_0664.py index 1df7c3fd6..57e351571 100644 --- a/githubkit/versions/v2022_11_28/types/group_0664.py +++ b/githubkit/versions/v2022_11_28/types/group_0664.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookLabelDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookLabelDeletedType",) +class WebhookLabelDeletedTypeForResponse(TypedDict): + """label deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookLabelDeletedType", + "WebhookLabelDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0665.py b/githubkit/versions/v2022_11_28/types/group_0665.py index b20a04f82..dbe84410b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0665.py +++ b/githubkit/versions/v2022_11_28/types/group_0665.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookLabelEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookLabelEditedType(TypedDict): sender: SimpleUserType +class WebhookLabelEditedTypeForResponse(TypedDict): + """label edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookLabelEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: WebhooksLabelTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookLabelEditedPropChangesType(TypedDict): """WebhookLabelEditedPropChanges @@ -44,28 +60,64 @@ class WebhookLabelEditedPropChangesType(TypedDict): name: NotRequired[WebhookLabelEditedPropChangesPropNameType] +class WebhookLabelEditedPropChangesTypeForResponse(TypedDict): + """WebhookLabelEditedPropChanges + + The changes to the label if the action was `edited`. + """ + + color: NotRequired[WebhookLabelEditedPropChangesPropColorTypeForResponse] + description: NotRequired[ + WebhookLabelEditedPropChangesPropDescriptionTypeForResponse + ] + name: NotRequired[WebhookLabelEditedPropChangesPropNameTypeForResponse] + + class WebhookLabelEditedPropChangesPropColorType(TypedDict): """WebhookLabelEditedPropChangesPropColor""" from_: str +class WebhookLabelEditedPropChangesPropColorTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropColor""" + + from_: str + + class WebhookLabelEditedPropChangesPropDescriptionType(TypedDict): """WebhookLabelEditedPropChangesPropDescription""" from_: str +class WebhookLabelEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropDescription""" + + from_: str + + class WebhookLabelEditedPropChangesPropNameType(TypedDict): """WebhookLabelEditedPropChangesPropName""" from_: str +class WebhookLabelEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookLabelEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookLabelEditedPropChangesPropColorType", + "WebhookLabelEditedPropChangesPropColorTypeForResponse", "WebhookLabelEditedPropChangesPropDescriptionType", + "WebhookLabelEditedPropChangesPropDescriptionTypeForResponse", "WebhookLabelEditedPropChangesPropNameType", + "WebhookLabelEditedPropChangesPropNameTypeForResponse", "WebhookLabelEditedPropChangesType", + "WebhookLabelEditedPropChangesTypeForResponse", "WebhookLabelEditedType", + "WebhookLabelEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0666.py b/githubkit/versions/v2022_11_28/types/group_0666.py index be484ec0c..5787bd192 100644 --- a/githubkit/versions/v2022_11_28/types/group_0666.py +++ b/githubkit/versions/v2022_11_28/types/group_0666.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0474 import WebhooksMarketplacePurchaseType -from .group_0475 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0474 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) +from .group_0475 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchaseCancelledType(TypedDict): @@ -35,4 +44,23 @@ class WebhookMarketplacePurchaseCancelledType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMarketplacePurchaseCancelledType",) +class WebhookMarketplacePurchaseCancelledTypeForResponse(TypedDict): + """marketplace_purchase cancelled event""" + + action: Literal["cancelled"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMarketplacePurchaseCancelledType", + "WebhookMarketplacePurchaseCancelledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0667.py b/githubkit/versions/v2022_11_28/types/group_0667.py index f75cf2098..6697c63eb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0667.py +++ b/githubkit/versions/v2022_11_28/types/group_0667.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0474 import WebhooksMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0474 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchaseChangedType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchaseChangedType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchaseChangedTypeForResponse(TypedDict): + """marketplace_purchase changed event""" + + action: Literal["changed"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType(TypedDict): """Marketplace Purchase""" @@ -50,6 +72,20 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType(Typed unit_count: int +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: Union[bool, None] + plan: WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType( TypedDict ): @@ -62,6 +98,18 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccoun type: str +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccount""" + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType( TypedDict ): @@ -78,9 +126,29 @@ class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTy yearly_price_in_cents: int +class WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchaseChangedPropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchaseChangedType", + "WebhookMarketplacePurchaseChangedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0668.py b/githubkit/versions/v2022_11_28/types/group_0668.py index 4ff312f4f..3c87a4f5b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0668.py +++ b/githubkit/versions/v2022_11_28/types/group_0668.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0474 import WebhooksMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0474 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePendingChangeType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchasePendingChangeType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchasePendingChangeTypeForResponse(TypedDict): + """marketplace_purchase pending_change event""" + + action: Literal["pending_change"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType( TypedDict ): @@ -50,6 +72,20 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType unit_count: int +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: Union[str, None] + next_billing_date: NotRequired[Union[str, None]] + on_free_trial: bool + plan: WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType( TypedDict ): @@ -64,6 +100,20 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseProp type: str +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccoun + t + """ + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType( TypedDict ): @@ -80,9 +130,29 @@ class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseProp yearly_price_in_cents: int +class WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangePropPreviousMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeType", + "WebhookMarketplacePurchasePendingChangeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0669.py b/githubkit/versions/v2022_11_28/types/group_0669.py index 258a8205d..95e593e20 100644 --- a/githubkit/versions/v2022_11_28/types/group_0669.py +++ b/githubkit/versions/v2022_11_28/types/group_0669.py @@ -12,12 +12,18 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0475 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0475 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePendingChangeCancelledType(TypedDict): @@ -36,6 +42,22 @@ class WebhookMarketplacePurchasePendingChangeCancelledType(TypedDict): sender: SimpleUserType +class WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse(TypedDict): + """marketplace_purchase pending_change_cancelled event""" + + action: Literal["pending_change_cancelled"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType( TypedDict ): @@ -50,6 +72,20 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTyp unit_count: int +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse( + TypedDict +): + """Marketplace Purchase""" + + account: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse + billing_cycle: str + free_trial_ends_on: None + next_billing_date: Union[str, None] + on_free_trial: bool + plan: WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse + unit_count: int + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType( TypedDict ): @@ -64,6 +100,20 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePro type: str +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccou + nt + """ + + id: int + login: str + node_id: str + organization_billing_email: Union[str, None] + type: str + + class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType( TypedDict ): @@ -80,9 +130,29 @@ class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePro yearly_price_in_cents: int +class WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse( + TypedDict +): + """WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlan""" + + bullets: list[str] + description: str + has_free_trial: bool + id: int + monthly_price_in_cents: int + name: str + price_model: Literal["FREE", "FLAT_RATE", "PER_UNIT"] + unit_name: Union[str, None] + yearly_price_in_cents: int + + __all__ = ( "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropAccountTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchasePropPlanTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseType", + "WebhookMarketplacePurchasePendingChangeCancelledPropMarketplacePurchaseTypeForResponse", "WebhookMarketplacePurchasePendingChangeCancelledType", + "WebhookMarketplacePurchasePendingChangeCancelledTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0670.py b/githubkit/versions/v2022_11_28/types/group_0670.py index 9a230b77b..e0ee56d7a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0670.py +++ b/githubkit/versions/v2022_11_28/types/group_0670.py @@ -12,13 +12,22 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0474 import WebhooksMarketplacePurchaseType -from .group_0475 import WebhooksPreviousMarketplacePurchaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0474 import ( + WebhooksMarketplacePurchaseType, + WebhooksMarketplacePurchaseTypeForResponse, +) +from .group_0475 import ( + WebhooksPreviousMarketplacePurchaseType, + WebhooksPreviousMarketplacePurchaseTypeForResponse, +) class WebhookMarketplacePurchasePurchasedType(TypedDict): @@ -35,4 +44,23 @@ class WebhookMarketplacePurchasePurchasedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMarketplacePurchasePurchasedType",) +class WebhookMarketplacePurchasePurchasedTypeForResponse(TypedDict): + """marketplace_purchase purchased event""" + + action: Literal["purchased"] + effective_date: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + marketplace_purchase: WebhooksMarketplacePurchaseTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + previous_marketplace_purchase: NotRequired[ + WebhooksPreviousMarketplacePurchaseTypeForResponse + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMarketplacePurchasePurchasedType", + "WebhookMarketplacePurchasePurchasedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0671.py b/githubkit/versions/v2022_11_28/types/group_0671.py index 897f1b49f..dc6a72c43 100644 --- a/githubkit/versions/v2022_11_28/types/group_0671.py +++ b/githubkit/versions/v2022_11_28/types/group_0671.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberAddedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMemberAddedType(TypedDict): sender: SimpleUserType +class WebhookMemberAddedTypeForResponse(TypedDict): + """member added event""" + + action: Literal["added"] + changes: NotRequired[WebhookMemberAddedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMemberAddedPropChangesType(TypedDict): """WebhookMemberAddedPropChanges""" @@ -40,6 +56,13 @@ class WebhookMemberAddedPropChangesType(TypedDict): role_name: NotRequired[WebhookMemberAddedPropChangesPropRoleNameType] +class WebhookMemberAddedPropChangesTypeForResponse(TypedDict): + """WebhookMemberAddedPropChanges""" + + permission: NotRequired[WebhookMemberAddedPropChangesPropPermissionTypeForResponse] + role_name: NotRequired[WebhookMemberAddedPropChangesPropRoleNameTypeForResponse] + + class WebhookMemberAddedPropChangesPropPermissionType(TypedDict): """WebhookMemberAddedPropChangesPropPermission @@ -55,6 +78,21 @@ class WebhookMemberAddedPropChangesPropPermissionType(TypedDict): to: Literal["write", "admin", "read"] +class WebhookMemberAddedPropChangesPropPermissionTypeForResponse(TypedDict): + """WebhookMemberAddedPropChangesPropPermission + + This field is included for legacy purposes; use the `role_name` field instead. + The `maintain` + role is mapped to `write` and the `triage` role is mapped to `read`. To + determine the role + assigned to the collaborator, use the `role_name` field instead, which will + provide the full + role name, including custom roles. + """ + + to: Literal["write", "admin", "read"] + + class WebhookMemberAddedPropChangesPropRoleNameType(TypedDict): """WebhookMemberAddedPropChangesPropRoleName @@ -64,9 +102,22 @@ class WebhookMemberAddedPropChangesPropRoleNameType(TypedDict): to: str +class WebhookMemberAddedPropChangesPropRoleNameTypeForResponse(TypedDict): + """WebhookMemberAddedPropChangesPropRoleName + + The role assigned to the collaborator. + """ + + to: str + + __all__ = ( "WebhookMemberAddedPropChangesPropPermissionType", + "WebhookMemberAddedPropChangesPropPermissionTypeForResponse", "WebhookMemberAddedPropChangesPropRoleNameType", + "WebhookMemberAddedPropChangesPropRoleNameTypeForResponse", "WebhookMemberAddedPropChangesType", + "WebhookMemberAddedPropChangesTypeForResponse", "WebhookMemberAddedType", + "WebhookMemberAddedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0672.py b/githubkit/versions/v2022_11_28/types/group_0672.py index bb9a532c3..1f4b2c24a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0672.py +++ b/githubkit/versions/v2022_11_28/types/group_0672.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMemberEditedType(TypedDict): sender: SimpleUserType +class WebhookMemberEditedTypeForResponse(TypedDict): + """member edited event""" + + action: Literal["edited"] + changes: WebhookMemberEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMemberEditedPropChangesType(TypedDict): """WebhookMemberEditedPropChanges @@ -43,12 +59,30 @@ class WebhookMemberEditedPropChangesType(TypedDict): permission: NotRequired[WebhookMemberEditedPropChangesPropPermissionType] +class WebhookMemberEditedPropChangesTypeForResponse(TypedDict): + """WebhookMemberEditedPropChanges + + The changes to the collaborator permissions + """ + + old_permission: NotRequired[ + WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse + ] + permission: NotRequired[WebhookMemberEditedPropChangesPropPermissionTypeForResponse] + + class WebhookMemberEditedPropChangesPropOldPermissionType(TypedDict): """WebhookMemberEditedPropChangesPropOldPermission""" from_: str +class WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse(TypedDict): + """WebhookMemberEditedPropChangesPropOldPermission""" + + from_: str + + class WebhookMemberEditedPropChangesPropPermissionType(TypedDict): """WebhookMemberEditedPropChangesPropPermission""" @@ -56,9 +90,20 @@ class WebhookMemberEditedPropChangesPropPermissionType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookMemberEditedPropChangesPropPermissionTypeForResponse(TypedDict): + """WebhookMemberEditedPropChangesPropPermission""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookMemberEditedPropChangesPropOldPermissionType", + "WebhookMemberEditedPropChangesPropOldPermissionTypeForResponse", "WebhookMemberEditedPropChangesPropPermissionType", + "WebhookMemberEditedPropChangesPropPermissionTypeForResponse", "WebhookMemberEditedPropChangesType", + "WebhookMemberEditedPropChangesTypeForResponse", "WebhookMemberEditedType", + "WebhookMemberEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0673.py b/githubkit/versions/v2022_11_28/types/group_0673.py index 6b6ed659b..329e0f5a0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0673.py +++ b/githubkit/versions/v2022_11_28/types/group_0673.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookMemberRemovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMemberRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMemberRemovedType",) +class WebhookMemberRemovedTypeForResponse(TypedDict): + """member removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMemberRemovedType", + "WebhookMemberRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0674.py b/githubkit/versions/v2022_11_28/types/group_0674.py index 3ede65a55..9a21b595e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0674.py +++ b/githubkit/versions/v2022_11_28/types/group_0674.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0476 import WebhooksTeamType +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0476 import WebhooksTeamType, WebhooksTeamTypeForResponse class WebhookMembershipAddedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookMembershipAddedType(TypedDict): team: WebhooksTeamType +class WebhookMembershipAddedTypeForResponse(TypedDict): + """membership added event""" + + action: Literal["added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + scope: Literal["team"] + sender: Union[WebhookMembershipAddedPropSenderTypeForResponse, None] + team: WebhooksTeamTypeForResponse + + class WebhookMembershipAddedPropSenderType(TypedDict): """User""" @@ -61,7 +78,36 @@ class WebhookMembershipAddedPropSenderType(TypedDict): user_view_type: NotRequired[str] +class WebhookMembershipAddedPropSenderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookMembershipAddedPropSenderType", + "WebhookMembershipAddedPropSenderTypeForResponse", "WebhookMembershipAddedType", + "WebhookMembershipAddedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0675.py b/githubkit/versions/v2022_11_28/types/group_0675.py index b5def5cad..1d8db7e12 100644 --- a/githubkit/versions/v2022_11_28/types/group_0675.py +++ b/githubkit/versions/v2022_11_28/types/group_0675.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType -from .group_0476 import WebhooksTeamType +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse +from .group_0476 import WebhooksTeamType, WebhooksTeamTypeForResponse class WebhookMembershipRemovedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookMembershipRemovedType(TypedDict): team: WebhooksTeamType +class WebhookMembershipRemovedTypeForResponse(TypedDict): + """membership removed event""" + + action: Literal["removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + member: Union[WebhooksUserTypeForResponse, None] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + scope: Literal["team", "organization"] + sender: Union[WebhookMembershipRemovedPropSenderTypeForResponse, None] + team: WebhooksTeamTypeForResponse + + class WebhookMembershipRemovedPropSenderType(TypedDict): """User""" @@ -61,7 +78,36 @@ class WebhookMembershipRemovedPropSenderType(TypedDict): user_view_type: NotRequired[str] +class WebhookMembershipRemovedPropSenderTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookMembershipRemovedPropSenderType", + "WebhookMembershipRemovedPropSenderTypeForResponse", "WebhookMembershipRemovedType", + "WebhookMembershipRemovedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0676.py b/githubkit/versions/v2022_11_28/types/group_0676.py index 3ed1549f3..cc832c0cd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0676.py +++ b/githubkit/versions/v2022_11_28/types/group_0676.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0477 import MergeGroupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0477 import MergeGroupType, MergeGroupTypeForResponse class WebhookMergeGroupChecksRequestedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookMergeGroupChecksRequestedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookMergeGroupChecksRequestedType",) +class WebhookMergeGroupChecksRequestedTypeForResponse(TypedDict): + """WebhookMergeGroupChecksRequested""" + + action: Literal["checks_requested"] + installation: NotRequired[SimpleInstallationTypeForResponse] + merge_group: MergeGroupTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookMergeGroupChecksRequestedType", + "WebhookMergeGroupChecksRequestedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0677.py b/githubkit/versions/v2022_11_28/types/group_0677.py index 71f0901ef..b24ec481b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0677.py +++ b/githubkit/versions/v2022_11_28/types/group_0677.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0477 import MergeGroupType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0477 import MergeGroupType, MergeGroupTypeForResponse class WebhookMergeGroupDestroyedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookMergeGroupDestroyedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookMergeGroupDestroyedType",) +class WebhookMergeGroupDestroyedTypeForResponse(TypedDict): + """WebhookMergeGroupDestroyed""" + + action: Literal["destroyed"] + reason: NotRequired[Literal["merged", "invalidated", "dequeued"]] + installation: NotRequired[SimpleInstallationTypeForResponse] + merge_group: MergeGroupTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookMergeGroupDestroyedType", + "WebhookMergeGroupDestroyedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0678.py b/githubkit/versions/v2022_11_28/types/group_0678.py index 6a884b8f9..f1fba7492 100644 --- a/githubkit/versions/v2022_11_28/types/group_0678.py +++ b/githubkit/versions/v2022_11_28/types/group_0678.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookMetaDeletedType(TypedDict): @@ -32,6 +35,19 @@ class WebhookMetaDeletedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookMetaDeletedTypeForResponse(TypedDict): + """meta deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + hook: WebhookMetaDeletedPropHookTypeForResponse + hook_id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookMetaDeletedPropHookType(TypedDict): """WebhookMetaDeletedPropHook @@ -49,6 +65,23 @@ class WebhookMetaDeletedPropHookType(TypedDict): updated_at: str +class WebhookMetaDeletedPropHookTypeForResponse(TypedDict): + """WebhookMetaDeletedPropHook + + The deleted webhook. This will contain different keys based on the type of + webhook it is: repository, organization, business, app, or GitHub Marketplace. + """ + + active: bool + config: WebhookMetaDeletedPropHookPropConfigTypeForResponse + created_at: str + events: list[str] + id: int + name: str + type: str + updated_at: str + + class WebhookMetaDeletedPropHookPropConfigType(TypedDict): """WebhookMetaDeletedPropHookPropConfig""" @@ -58,8 +91,20 @@ class WebhookMetaDeletedPropHookPropConfigType(TypedDict): url: str +class WebhookMetaDeletedPropHookPropConfigTypeForResponse(TypedDict): + """WebhookMetaDeletedPropHookPropConfig""" + + content_type: Literal["json", "form"] + insecure_ssl: str + secret: NotRequired[str] + url: str + + __all__ = ( "WebhookMetaDeletedPropHookPropConfigType", + "WebhookMetaDeletedPropHookPropConfigTypeForResponse", "WebhookMetaDeletedPropHookType", + "WebhookMetaDeletedPropHookTypeForResponse", "WebhookMetaDeletedType", + "WebhookMetaDeletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0679.py b/githubkit/versions/v2022_11_28/types/group_0679.py index 91e3b7469..73b21021d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0679.py +++ b/githubkit/versions/v2022_11_28/types/group_0679.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0471 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0471 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneClosedType",) +class WebhookMilestoneClosedTypeForResponse(TypedDict): + """milestone closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneClosedType", + "WebhookMilestoneClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0680.py b/githubkit/versions/v2022_11_28/types/group_0680.py index 64b679510..6c677d6de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0680.py +++ b/githubkit/versions/v2022_11_28/types/group_0680.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0478 import WebhooksMilestone3Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0478 import WebhooksMilestone3Type, WebhooksMilestone3TypeForResponse class WebhookMilestoneCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneCreatedType",) +class WebhookMilestoneCreatedTypeForResponse(TypedDict): + """milestone created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestone3TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneCreatedType", + "WebhookMilestoneCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0681.py b/githubkit/versions/v2022_11_28/types/group_0681.py index 94bf597bd..388317111 100644 --- a/githubkit/versions/v2022_11_28/types/group_0681.py +++ b/githubkit/versions/v2022_11_28/types/group_0681.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0471 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0471 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneDeletedType",) +class WebhookMilestoneDeletedTypeForResponse(TypedDict): + """milestone deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneDeletedType", + "WebhookMilestoneDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0682.py b/githubkit/versions/v2022_11_28/types/group_0682.py index 4ac9a3fc4..67da7bbe3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0682.py +++ b/githubkit/versions/v2022_11_28/types/group_0682.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0471 import WebhooksMilestoneType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0471 import WebhooksMilestoneType, WebhooksMilestoneTypeForResponse class WebhookMilestoneEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookMilestoneEditedType(TypedDict): sender: SimpleUserType +class WebhookMilestoneEditedTypeForResponse(TypedDict): + """milestone edited event""" + + action: Literal["edited"] + changes: WebhookMilestoneEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestoneTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookMilestoneEditedPropChangesType(TypedDict): """WebhookMilestoneEditedPropChanges @@ -44,28 +60,64 @@ class WebhookMilestoneEditedPropChangesType(TypedDict): title: NotRequired[WebhookMilestoneEditedPropChangesPropTitleType] +class WebhookMilestoneEditedPropChangesTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChanges + + The changes to the milestone if the action was `edited`. + """ + + description: NotRequired[ + WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse + ] + due_on: NotRequired[WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse] + title: NotRequired[WebhookMilestoneEditedPropChangesPropTitleTypeForResponse] + + class WebhookMilestoneEditedPropChangesPropDescriptionType(TypedDict): """WebhookMilestoneEditedPropChangesPropDescription""" from_: str +class WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropDescription""" + + from_: str + + class WebhookMilestoneEditedPropChangesPropDueOnType(TypedDict): """WebhookMilestoneEditedPropChangesPropDueOn""" from_: str +class WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropDueOn""" + + from_: str + + class WebhookMilestoneEditedPropChangesPropTitleType(TypedDict): """WebhookMilestoneEditedPropChangesPropTitle""" from_: str +class WebhookMilestoneEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookMilestoneEditedPropChangesPropTitle""" + + from_: str + + __all__ = ( "WebhookMilestoneEditedPropChangesPropDescriptionType", + "WebhookMilestoneEditedPropChangesPropDescriptionTypeForResponse", "WebhookMilestoneEditedPropChangesPropDueOnType", + "WebhookMilestoneEditedPropChangesPropDueOnTypeForResponse", "WebhookMilestoneEditedPropChangesPropTitleType", + "WebhookMilestoneEditedPropChangesPropTitleTypeForResponse", "WebhookMilestoneEditedPropChangesType", + "WebhookMilestoneEditedPropChangesTypeForResponse", "WebhookMilestoneEditedType", + "WebhookMilestoneEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0683.py b/githubkit/versions/v2022_11_28/types/group_0683.py index 5bf38302f..ee514e0c9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0683.py +++ b/githubkit/versions/v2022_11_28/types/group_0683.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0478 import WebhooksMilestone3Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0478 import WebhooksMilestone3Type, WebhooksMilestone3TypeForResponse class WebhookMilestoneOpenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookMilestoneOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookMilestoneOpenedType",) +class WebhookMilestoneOpenedTypeForResponse(TypedDict): + """milestone opened event""" + + action: Literal["opened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + milestone: WebhooksMilestone3TypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookMilestoneOpenedType", + "WebhookMilestoneOpenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0684.py b/githubkit/versions/v2022_11_28/types/group_0684.py index 9043299a5..ff0a0cab9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0684.py +++ b/githubkit/versions/v2022_11_28/types/group_0684.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrgBlockBlockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrgBlockBlockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrgBlockBlockedType",) +class WebhookOrgBlockBlockedTypeForResponse(TypedDict): + """org_block blocked event""" + + action: Literal["blocked"] + blocked_user: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrgBlockBlockedType", + "WebhookOrgBlockBlockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0685.py b/githubkit/versions/v2022_11_28/types/group_0685.py index 0188e3bfd..e5da439ad 100644 --- a/githubkit/versions/v2022_11_28/types/group_0685.py +++ b/githubkit/versions/v2022_11_28/types/group_0685.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrgBlockUnblockedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrgBlockUnblockedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrgBlockUnblockedType",) +class WebhookOrgBlockUnblockedTypeForResponse(TypedDict): + """org_block unblocked event""" + + action: Literal["unblocked"] + blocked_user: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrgBlockUnblockedType", + "WebhookOrgBlockUnblockedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0686.py b/githubkit/versions/v2022_11_28/types/group_0686.py index aa7446853..f03005cea 100644 --- a/githubkit/versions/v2022_11_28/types/group_0686.py +++ b/githubkit/versions/v2022_11_28/types/group_0686.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0479 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0479 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationDeletedType",) +class WebhookOrganizationDeletedTypeForResponse(TypedDict): + """organization deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: NotRequired[WebhooksMembershipTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationDeletedType", + "WebhookOrganizationDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0687.py b/githubkit/versions/v2022_11_28/types/group_0687.py index 09eab7e1f..ca4e107da 100644 --- a/githubkit/versions/v2022_11_28/types/group_0687.py +++ b/githubkit/versions/v2022_11_28/types/group_0687.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0479 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0479 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationMemberAddedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationMemberAddedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationMemberAddedType",) +class WebhookOrganizationMemberAddedTypeForResponse(TypedDict): + """organization member_added event""" + + action: Literal["member_added"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: WebhooksMembershipTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationMemberAddedType", + "WebhookOrganizationMemberAddedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0688.py b/githubkit/versions/v2022_11_28/types/group_0688.py index 9de52706a..506fe9c3a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0688.py +++ b/githubkit/versions/v2022_11_28/types/group_0688.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookOrganizationMemberInvitedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookOrganizationMemberInvitedType(TypedDict): user: NotRequired[Union[WebhooksUserType, None]] +class WebhookOrganizationMemberInvitedTypeForResponse(TypedDict): + """organization member_invited event""" + + action: Literal["member_invited"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + invitation: WebhookOrganizationMemberInvitedPropInvitationTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + user: NotRequired[Union[WebhooksUserTypeForResponse, None]] + + class WebhookOrganizationMemberInvitedPropInvitationType(TypedDict): """WebhookOrganizationMemberInvitedPropInvitation @@ -54,6 +70,28 @@ class WebhookOrganizationMemberInvitedPropInvitationType(TypedDict): invitation_source: NotRequired[str] +class WebhookOrganizationMemberInvitedPropInvitationTypeForResponse(TypedDict): + """WebhookOrganizationMemberInvitedPropInvitation + + The invitation for the user or email if the action is `member_invited`. + """ + + created_at: str + email: Union[str, None] + failed_at: Union[str, None] + failed_reason: Union[str, None] + id: float + invitation_teams_url: str + inviter: Union[ + WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse, None + ] + login: Union[str, None] + node_id: str + role: str + team_count: float + invitation_source: NotRequired[str] + + class WebhookOrganizationMemberInvitedPropInvitationPropInviterType(TypedDict): """User""" @@ -81,8 +119,40 @@ class WebhookOrganizationMemberInvitedPropInvitationPropInviterType(TypedDict): user_view_type: NotRequired[str] +class WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookOrganizationMemberInvitedPropInvitationPropInviterType", + "WebhookOrganizationMemberInvitedPropInvitationPropInviterTypeForResponse", "WebhookOrganizationMemberInvitedPropInvitationType", + "WebhookOrganizationMemberInvitedPropInvitationTypeForResponse", "WebhookOrganizationMemberInvitedType", + "WebhookOrganizationMemberInvitedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0689.py b/githubkit/versions/v2022_11_28/types/group_0689.py index 0b58bc465..61ef90881 100644 --- a/githubkit/versions/v2022_11_28/types/group_0689.py +++ b/githubkit/versions/v2022_11_28/types/group_0689.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0479 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0479 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationMemberRemovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookOrganizationMemberRemovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookOrganizationMemberRemovedType",) +class WebhookOrganizationMemberRemovedTypeForResponse(TypedDict): + """organization member_removed event""" + + action: Literal["member_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: WebhooksMembershipTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookOrganizationMemberRemovedType", + "WebhookOrganizationMemberRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0690.py b/githubkit/versions/v2022_11_28/types/group_0690.py index 5554d7f6b..6d436822b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0690.py +++ b/githubkit/versions/v2022_11_28/types/group_0690.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0479 import WebhooksMembershipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0479 import WebhooksMembershipType, WebhooksMembershipTypeForResponse class WebhookOrganizationRenamedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookOrganizationRenamedType(TypedDict): sender: SimpleUserType +class WebhookOrganizationRenamedTypeForResponse(TypedDict): + """organization renamed event""" + + action: Literal["renamed"] + changes: NotRequired[WebhookOrganizationRenamedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + membership: NotRequired[WebhooksMembershipTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookOrganizationRenamedPropChangesType(TypedDict): """WebhookOrganizationRenamedPropChanges""" login: NotRequired[WebhookOrganizationRenamedPropChangesPropLoginType] +class WebhookOrganizationRenamedPropChangesTypeForResponse(TypedDict): + """WebhookOrganizationRenamedPropChanges""" + + login: NotRequired[WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse] + + class WebhookOrganizationRenamedPropChangesPropLoginType(TypedDict): """WebhookOrganizationRenamedPropChangesPropLogin""" from_: NotRequired[str] +class WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse(TypedDict): + """WebhookOrganizationRenamedPropChangesPropLogin""" + + from_: NotRequired[str] + + __all__ = ( "WebhookOrganizationRenamedPropChangesPropLoginType", + "WebhookOrganizationRenamedPropChangesPropLoginTypeForResponse", "WebhookOrganizationRenamedPropChangesType", + "WebhookOrganizationRenamedPropChangesTypeForResponse", "WebhookOrganizationRenamedType", + "WebhookOrganizationRenamedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0691.py b/githubkit/versions/v2022_11_28/types/group_0691.py index fbf589490..d5db97ba4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0691.py +++ b/githubkit/versions/v2022_11_28/types/group_0691.py @@ -28,25 +28,62 @@ class WebhookRubygemsMetadataType(TypedDict): commit_oid: NotRequired[str] +class WebhookRubygemsMetadataTypeForResponse(TypedDict): + """Ruby Gems metadata""" + + name: NotRequired[str] + description: NotRequired[str] + readme: NotRequired[str] + homepage: NotRequired[str] + version_info: NotRequired[WebhookRubygemsMetadataPropVersionInfoTypeForResponse] + platform: NotRequired[str] + metadata: NotRequired[WebhookRubygemsMetadataPropMetadataTypeForResponse] + repo: NotRequired[str] + dependencies: NotRequired[ + list[WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse] + ] + commit_oid: NotRequired[str] + + class WebhookRubygemsMetadataPropVersionInfoType(TypedDict): """WebhookRubygemsMetadataPropVersionInfo""" version: NotRequired[str] +class WebhookRubygemsMetadataPropVersionInfoTypeForResponse(TypedDict): + """WebhookRubygemsMetadataPropVersionInfo""" + + version: NotRequired[str] + + WebhookRubygemsMetadataPropMetadataType: TypeAlias = dict[str, Any] """WebhookRubygemsMetadataPropMetadata """ +WebhookRubygemsMetadataPropMetadataTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookRubygemsMetadataPropMetadata +""" + + WebhookRubygemsMetadataPropDependenciesItemsType: TypeAlias = dict[str, Any] """WebhookRubygemsMetadataPropDependenciesItems """ +WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookRubygemsMetadataPropDependenciesItems +""" + + __all__ = ( "WebhookRubygemsMetadataPropDependenciesItemsType", + "WebhookRubygemsMetadataPropDependenciesItemsTypeForResponse", "WebhookRubygemsMetadataPropMetadataType", + "WebhookRubygemsMetadataPropMetadataTypeForResponse", "WebhookRubygemsMetadataPropVersionInfoType", + "WebhookRubygemsMetadataPropVersionInfoTypeForResponse", "WebhookRubygemsMetadataType", + "WebhookRubygemsMetadataTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0692.py b/githubkit/versions/v2022_11_28/types/group_0692.py index 103bf5a29..bd5e5b585 100644 --- a/githubkit/versions/v2022_11_28/types/group_0692.py +++ b/githubkit/versions/v2022_11_28/types/group_0692.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0693 import WebhookPackagePublishedPropPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0693 import ( + WebhookPackagePublishedPropPackageType, + WebhookPackagePublishedPropPackageTypeForResponse, +) class WebhookPackagePublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookPackagePublishedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPackagePublishedType",) +class WebhookPackagePublishedTypeForResponse(TypedDict): + """package published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + package: WebhookPackagePublishedPropPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPackagePublishedType", + "WebhookPackagePublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0693.py b/githubkit/versions/v2022_11_28/types/group_0693.py index 82d83457f..473e287e4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0693.py +++ b/githubkit/versions/v2022_11_28/types/group_0693.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0694 import WebhookPackagePublishedPropPackagePropPackageVersionType +from .group_0694 import ( + WebhookPackagePublishedPropPackagePropPackageVersionType, + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, +) class WebhookPackagePublishedPropPackageType(TypedDict): @@ -37,6 +40,28 @@ class WebhookPackagePublishedPropPackageType(TypedDict): updated_at: Union[str, None] +class WebhookPackagePublishedPropPackageTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackage + + Information about the package. + """ + + created_at: Union[str, None] + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: Union[WebhookPackagePublishedPropPackagePropOwnerTypeForResponse, None] + package_type: str + package_version: Union[ + WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse, None + ] + registry: Union[WebhookPackagePublishedPropPackagePropRegistryTypeForResponse, None] + updated_at: Union[str, None] + + class WebhookPackagePublishedPropPackagePropOwnerType(TypedDict): """User""" @@ -64,6 +89,33 @@ class WebhookPackagePublishedPropPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropRegistryType(TypedDict): """WebhookPackagePublishedPropPackagePropRegistry""" @@ -74,8 +126,21 @@ class WebhookPackagePublishedPropPackagePropRegistryType(TypedDict): vendor: str +class WebhookPackagePublishedPropPackagePropRegistryTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackagePropRegistry""" + + about_url: str + name: str + type: str + url: str + vendor: str + + __all__ = ( "WebhookPackagePublishedPropPackagePropOwnerType", + "WebhookPackagePublishedPropPackagePropOwnerTypeForResponse", "WebhookPackagePublishedPropPackagePropRegistryType", + "WebhookPackagePublishedPropPackagePropRegistryTypeForResponse", "WebhookPackagePublishedPropPackageType", + "WebhookPackagePublishedPropPackageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0694.py b/githubkit/versions/v2022_11_28/types/group_0694.py index bf71b8ee8..1c9a7386f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0694.py +++ b/githubkit/versions/v2022_11_28/types/group_0694.py @@ -12,7 +12,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0691 import WebhookRubygemsMetadataType +from .group_0691 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookPackagePublishedPropPackagePropPackageVersionType(TypedDict): @@ -81,6 +84,76 @@ class WebhookPackagePublishedPropPackagePropPackageVersionType(TypedDict): version: str +class WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse(TypedDict): + """WebhookPackagePublishedPropPackagePropPackageVersion""" + + author: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse, + None, + ] + ] + body: NotRequired[ + Union[ + str, + WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ] + ] + body_html: NotRequired[str] + container_metadata: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse, + None, + ] + ] + created_at: NotRequired[str] + description: str + docker_metadata: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + npm_metadata: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse, + None, + ] + ] + nuget_metadata: NotRequired[ + Union[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse + ], + None, + ] + ] + package_files: list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: NotRequired[str] + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + source_url: NotRequired[str] + summary: str + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + target_oid: NotRequired[str] + updated_at: NotRequired[str] + version: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType(TypedDict): """User""" @@ -108,10 +181,45 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType(TypedDi user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type(TypedDict): """WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType( TypedDict ): @@ -134,6 +242,28 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataT ] +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadata""" + + labels: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + None, + ] + ] + manifest: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + None, + ] + ] + tag: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse + ] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType( TypedDict ): @@ -142,6 +272,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLab + els + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType( TypedDict ): @@ -150,6 +288,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropMan + ifest + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType( TypedDict ): @@ -159,6 +305,15 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataP name: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTag""" + + digest: NotRequired[str] + name: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -167,6 +322,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItem tags: NotRequired[list[str]] +class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItems""" + + tags: NotRequired[list[str]] + + WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType: TypeAlias = ( dict[str, Any] ) @@ -174,6 +337,13 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItem """ +WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItems +""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType( TypedDict ): @@ -267,18 +437,123 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType( deleted_by_id: NotRequired[int] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadata""" + + name: NotRequired[str] + version: NotRequired[str] + npm_user: NotRequired[str] + author: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse, + None, + ] + ] + bugs: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse, + None, + ] + ] + dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse + ] + dev_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse + ] + peer_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse + ] + optional_dependencies: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse + ] + description: NotRequired[str] + dist: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse, + None, + ] + ] + git_head: NotRequired[str] + homepage: NotRequired[str] + license_: NotRequired[str] + main: NotRequired[str] + repository: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse, + None, + ] + ] + scripts: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse + ] + id: NotRequired[str] + node_version: NotRequired[str] + npm_version: NotRequired[str] + has_shrinkwrap: NotRequired[bool] + maintainers: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse + ] + ] + contributors: NotRequired[ + list[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse + ] + ] + engines: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse + ] + keywords: NotRequired[list[str]] + files: NotRequired[list[str]] + bin_: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse + ] + man: NotRequired[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse + ] + directories: NotRequired[ + Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse, + None, + ] + ] + os: NotRequired[list[str]] + cpu: NotRequired[list[str]] + readme: NotRequired[str] + installation_command: NotRequired[str] + release_id: NotRequired[int] + commit_oid: NotRequired[str] + published_via_actions: NotRequired[bool] + deleted_by_id: NotRequired[int] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthor""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthor""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugs""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugs""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType( TypedDict ): @@ -287,6 +562,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDep """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenc + ies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType( TypedDict ): @@ -295,6 +578,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDev """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDepend + encies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType( TypedDict ): @@ -303,6 +594,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPee """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDepen + dencies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType( TypedDict ): @@ -311,12 +610,26 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOpt """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalD + ependencies + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDist""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDist""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType( TypedDict ): @@ -325,12 +638,26 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRep """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositor + y + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScripts""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScripts""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType( TypedDict ): @@ -339,6 +666,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMai """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintaine + rsItems + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType( TypedDict ): @@ -347,24 +682,50 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropCon """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContribut + orsItems + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEngines""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEngines""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBin""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBin""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType( TypedDict ): """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMan""" +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMan""" + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType( TypedDict ): @@ -373,6 +734,14 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDir """ +class WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectori + es + """ + + class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -391,6 +760,24 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsT updated_at: str +class WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItems""" + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: Union[str, None] + size: int + state: Union[str, None] + updated_at: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType( TypedDict ): @@ -408,6 +795,23 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems ] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems""" + + id: NotRequired[Union[int, str]] + name: NotRequired[str] + value: NotRequired[ + Union[ + bool, + str, + int, + WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ] + ] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type( TypedDict ): @@ -421,6 +825,19 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItems type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropVa + lueOneof3 + """ + + url: NotRequired[str] + branch: NotRequired[str] + commit: NotRequired[str] + type: NotRequired[str] + + class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType(TypedDict): """WebhookPackagePublishedPropPackagePropPackageVersionPropRelease""" @@ -440,6 +857,27 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType(TypedD url: str +class WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookPackagePublishedPropPackagePropPackageVersionPropRelease""" + + author: Union[ + WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + None, + ] + created_at: str + draft: bool + html_url: str + id: int + name: Union[str, None] + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -469,35 +907,94 @@ class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorT user_view_type: NotRequired[str] +class WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropBugsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropContributorsItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDirectoriesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropDistTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropMaintainersItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropRepositoryTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackagePublishedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackagePublishedPropPackagePropPackageVersionType", + "WebhookPackagePublishedPropPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0695.py b/githubkit/versions/v2022_11_28/types/group_0695.py index 79b4ce679..2430c7e87 100644 --- a/githubkit/versions/v2022_11_28/types/group_0695.py +++ b/githubkit/versions/v2022_11_28/types/group_0695.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0696 import WebhookPackageUpdatedPropPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0696 import ( + WebhookPackageUpdatedPropPackageType, + WebhookPackageUpdatedPropPackageTypeForResponse, +) class WebhookPackageUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookPackageUpdatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPackageUpdatedType",) +class WebhookPackageUpdatedTypeForResponse(TypedDict): + """package updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + package: WebhookPackageUpdatedPropPackageTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPackageUpdatedType", + "WebhookPackageUpdatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0696.py b/githubkit/versions/v2022_11_28/types/group_0696.py index 99dafbf26..21e3bf768 100644 --- a/githubkit/versions/v2022_11_28/types/group_0696.py +++ b/githubkit/versions/v2022_11_28/types/group_0696.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0697 import WebhookPackageUpdatedPropPackagePropPackageVersionType +from .group_0697 import ( + WebhookPackageUpdatedPropPackagePropPackageVersionType, + WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse, +) class WebhookPackageUpdatedPropPackageType(TypedDict): @@ -35,6 +38,26 @@ class WebhookPackageUpdatedPropPackageType(TypedDict): updated_at: str +class WebhookPackageUpdatedPropPackageTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackage + + Information about the package. + """ + + created_at: str + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: Union[WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse, None] + package_type: str + package_version: WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse + registry: Union[WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse, None] + updated_at: str + + class WebhookPackageUpdatedPropPackagePropOwnerType(TypedDict): """User""" @@ -62,6 +85,33 @@ class WebhookPackageUpdatedPropPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackageUpdatedPropPackagePropRegistryType(TypedDict): """WebhookPackageUpdatedPropPackagePropRegistry""" @@ -72,8 +122,21 @@ class WebhookPackageUpdatedPropPackagePropRegistryType(TypedDict): vendor: str +class WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackagePropRegistry""" + + about_url: str + name: str + type: str + url: str + vendor: str + + __all__ = ( "WebhookPackageUpdatedPropPackagePropOwnerType", + "WebhookPackageUpdatedPropPackagePropOwnerTypeForResponse", "WebhookPackageUpdatedPropPackagePropRegistryType", + "WebhookPackageUpdatedPropPackagePropRegistryTypeForResponse", "WebhookPackageUpdatedPropPackageType", + "WebhookPackageUpdatedPropPackageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0697.py b/githubkit/versions/v2022_11_28/types/group_0697.py index 7d0f58884..dba95978b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0697.py +++ b/githubkit/versions/v2022_11_28/types/group_0697.py @@ -12,7 +12,10 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0691 import WebhookRubygemsMetadataType +from .group_0691 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookPackageUpdatedPropPackagePropPackageVersionType(TypedDict): @@ -57,6 +60,49 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionType(TypedDict): version: str +class WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse(TypedDict): + """WebhookPackageUpdatedPropPackagePropPackageVersion""" + + author: Union[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse, + None, + ] + body: str + body_html: str + created_at: str + description: str + docker_metadata: NotRequired[ + list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + package_files: list[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: NotRequired[str] + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + source_url: NotRequired[str] + summary: str + tag_name: NotRequired[str] + target_commitish: str + target_oid: str + updated_at: str + version: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType(TypedDict): """User""" @@ -84,6 +130,35 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType(TypedDict user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -92,6 +167,14 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsT tags: NotRequired[list[str]] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItems""" + + tags: NotRequired[list[str]] + + WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType: TypeAlias = ( dict[str, Any] ) @@ -99,6 +182,13 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsT """ +WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItems +""" + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -117,6 +207,24 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTyp updated_at: str +class WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItems""" + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: str + size: int + state: str + updated_at: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType(TypedDict): """WebhookPackageUpdatedPropPackagePropPackageVersionPropRelease""" @@ -136,6 +244,27 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType(TypedDic url: str +class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookPackageUpdatedPropPackagePropPackageVersionPropRelease""" + + author: Union[ + WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse, + None, + ] + created_at: str + draft: bool + html_url: str + id: int + name: str + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -165,12 +294,48 @@ class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTyp user_view_type: NotRequired[str] +class WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseType", + "WebhookPackageUpdatedPropPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookPackageUpdatedPropPackagePropPackageVersionType", + "WebhookPackageUpdatedPropPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0698.py b/githubkit/versions/v2022_11_28/types/group_0698.py index 8718bf337..605f69a0c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0698.py +++ b/githubkit/versions/v2022_11_28/types/group_0698.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPageBuildType(TypedDict): @@ -31,6 +34,18 @@ class WebhookPageBuildType(TypedDict): sender: SimpleUserType +class WebhookPageBuildTypeForResponse(TypedDict): + """page_build event""" + + build: WebhookPageBuildPropBuildTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPageBuildPropBuildType(TypedDict): """WebhookPageBuildPropBuild @@ -48,12 +63,35 @@ class WebhookPageBuildPropBuildType(TypedDict): url: str +class WebhookPageBuildPropBuildTypeForResponse(TypedDict): + """WebhookPageBuildPropBuild + + The [List GitHub Pages builds](https://docs.github.com/rest/pages/pages#list- + github-pages-builds) itself. + """ + + commit: Union[str, None] + created_at: str + duration: int + error: WebhookPageBuildPropBuildPropErrorTypeForResponse + pusher: Union[WebhookPageBuildPropBuildPropPusherTypeForResponse, None] + status: str + updated_at: str + url: str + + class WebhookPageBuildPropBuildPropErrorType(TypedDict): """WebhookPageBuildPropBuildPropError""" message: Union[str, None] +class WebhookPageBuildPropBuildPropErrorTypeForResponse(TypedDict): + """WebhookPageBuildPropBuildPropError""" + + message: Union[str, None] + + class WebhookPageBuildPropBuildPropPusherType(TypedDict): """User""" @@ -81,9 +119,40 @@ class WebhookPageBuildPropBuildPropPusherType(TypedDict): user_view_type: NotRequired[str] +class WebhookPageBuildPropBuildPropPusherTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookPageBuildPropBuildPropErrorType", + "WebhookPageBuildPropBuildPropErrorTypeForResponse", "WebhookPageBuildPropBuildPropPusherType", + "WebhookPageBuildPropBuildPropPusherTypeForResponse", "WebhookPageBuildPropBuildType", + "WebhookPageBuildPropBuildTypeForResponse", "WebhookPageBuildType", + "WebhookPageBuildTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0699.py b/githubkit/versions/v2022_11_28/types/group_0699.py index dd9bc635e..872f7c37e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0699.py +++ b/githubkit/versions/v2022_11_28/types/group_0699.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0480 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0480 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestApprovedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestApprovedType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestApprovedType",) +class WebhookPersonalAccessTokenRequestApprovedTypeForResponse(TypedDict): + """personal_access_token_request approved event""" + + action: Literal["approved"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestApprovedType", + "WebhookPersonalAccessTokenRequestApprovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0700.py b/githubkit/versions/v2022_11_28/types/group_0700.py index 7ca52fa78..47f2b2991 100644 --- a/githubkit/versions/v2022_11_28/types/group_0700.py +++ b/githubkit/versions/v2022_11_28/types/group_0700.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0480 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0480 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestCancelledType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestCancelledType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestCancelledType",) +class WebhookPersonalAccessTokenRequestCancelledTypeForResponse(TypedDict): + """personal_access_token_request cancelled event""" + + action: Literal["cancelled"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestCancelledType", + "WebhookPersonalAccessTokenRequestCancelledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0701.py b/githubkit/versions/v2022_11_28/types/group_0701.py index a2a214f99..ad991371a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0701.py +++ b/githubkit/versions/v2022_11_28/types/group_0701.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0480 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0480 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestCreatedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestCreatedType(TypedDict): installation: NotRequired[SimpleInstallationType] -__all__ = ("WebhookPersonalAccessTokenRequestCreatedType",) +class WebhookPersonalAccessTokenRequestCreatedTypeForResponse(TypedDict): + """personal_access_token_request created event""" + + action: Literal["created"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + + +__all__ = ( + "WebhookPersonalAccessTokenRequestCreatedType", + "WebhookPersonalAccessTokenRequestCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0702.py b/githubkit/versions/v2022_11_28/types/group_0702.py index bc7679615..95a57a419 100644 --- a/githubkit/versions/v2022_11_28/types/group_0702.py +++ b/githubkit/versions/v2022_11_28/types/group_0702.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0480 import PersonalAccessTokenRequestType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0480 import ( + PersonalAccessTokenRequestType, + PersonalAccessTokenRequestTypeForResponse, +) class WebhookPersonalAccessTokenRequestDeniedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookPersonalAccessTokenRequestDeniedType(TypedDict): installation: SimpleInstallationType -__all__ = ("WebhookPersonalAccessTokenRequestDeniedType",) +class WebhookPersonalAccessTokenRequestDeniedTypeForResponse(TypedDict): + """personal_access_token_request denied event""" + + action: Literal["denied"] + personal_access_token_request: PersonalAccessTokenRequestTypeForResponse + organization: OrganizationSimpleWebhooksTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + installation: SimpleInstallationTypeForResponse + + +__all__ = ( + "WebhookPersonalAccessTokenRequestDeniedType", + "WebhookPersonalAccessTokenRequestDeniedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0703.py b/githubkit/versions/v2022_11_28/types/group_0703.py index 3918ff243..c6c041718 100644 --- a/githubkit/versions/v2022_11_28/types/group_0703.py +++ b/githubkit/versions/v2022_11_28/types/group_0703.py @@ -11,10 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0704 import WebhookPingPropHookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0704 import WebhookPingPropHookType, WebhookPingPropHookTypeForResponse class WebhookPingType(TypedDict): @@ -28,4 +31,18 @@ class WebhookPingType(TypedDict): zen: NotRequired[str] -__all__ = ("WebhookPingType",) +class WebhookPingTypeForResponse(TypedDict): + """WebhookPing""" + + hook: NotRequired[WebhookPingPropHookTypeForResponse] + hook_id: NotRequired[int] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + zen: NotRequired[str] + + +__all__ = ( + "WebhookPingType", + "WebhookPingTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0704.py b/githubkit/versions/v2022_11_28/types/group_0704.py index 6cf151962..68e0592f9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0704.py +++ b/githubkit/versions/v2022_11_28/types/group_0704.py @@ -13,7 +13,7 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0328 import HookResponseType +from .group_0328 import HookResponseType, HookResponseTypeForResponse class WebhookPingPropHookType(TypedDict): @@ -38,6 +38,28 @@ class WebhookPingPropHookType(TypedDict): url: NotRequired[str] +class WebhookPingPropHookTypeForResponse(TypedDict): + """Webhook + + The webhook that is being pinged + """ + + active: bool + app_id: NotRequired[int] + config: WebhookPingPropHookPropConfigTypeForResponse + created_at: str + deliveries_url: NotRequired[str] + events: list[str] + id: int + last_response: NotRequired[HookResponseTypeForResponse] + name: Literal["web"] + ping_url: NotRequired[str] + test_url: NotRequired[str] + type: str + updated_at: str + url: NotRequired[str] + + class WebhookPingPropHookPropConfigType(TypedDict): """WebhookPingPropHookPropConfig""" @@ -47,7 +69,18 @@ class WebhookPingPropHookPropConfigType(TypedDict): url: NotRequired[str] +class WebhookPingPropHookPropConfigTypeForResponse(TypedDict): + """WebhookPingPropHookPropConfig""" + + content_type: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + secret: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookPingPropHookPropConfigType", + "WebhookPingPropHookPropConfigTypeForResponse", "WebhookPingPropHookType", + "WebhookPingPropHookTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0705.py b/githubkit/versions/v2022_11_28/types/group_0705.py index 76f44f172..4f402123c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0705.py +++ b/githubkit/versions/v2022_11_28/types/group_0705.py @@ -21,4 +21,16 @@ class WebhookPingFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookPingFormEncodedType",) +class WebhookPingFormEncodedTypeForResponse(TypedDict): + """WebhookPingFormEncoded + + The webhooks ping payload encoded with URL encoding. + """ + + payload: str + + +__all__ = ( + "WebhookPingFormEncodedType", + "WebhookPingFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0706.py b/githubkit/versions/v2022_11_28/types/group_0706.py index d5287bae8..546ad7063 100644 --- a/githubkit/versions/v2022_11_28/types/group_0706.py +++ b/githubkit/versions/v2022_11_28/types/group_0706.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0481 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0481 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardConvertedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectCardConvertedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardConvertedTypeForResponse(TypedDict): + """project_card converted event""" + + action: Literal["converted"] + changes: WebhookProjectCardConvertedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardConvertedPropChangesType(TypedDict): """WebhookProjectCardConvertedPropChanges""" note: WebhookProjectCardConvertedPropChangesPropNoteType +class WebhookProjectCardConvertedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardConvertedPropChanges""" + + note: WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse + + class WebhookProjectCardConvertedPropChangesPropNoteType(TypedDict): """WebhookProjectCardConvertedPropChangesPropNote""" from_: str +class WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse(TypedDict): + """WebhookProjectCardConvertedPropChangesPropNote""" + + from_: str + + __all__ = ( "WebhookProjectCardConvertedPropChangesPropNoteType", + "WebhookProjectCardConvertedPropChangesPropNoteTypeForResponse", "WebhookProjectCardConvertedPropChangesType", + "WebhookProjectCardConvertedPropChangesTypeForResponse", "WebhookProjectCardConvertedType", + "WebhookProjectCardConvertedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0707.py b/githubkit/versions/v2022_11_28/types/group_0707.py index ca25601fa..e72c4ba19 100644 --- a/githubkit/versions/v2022_11_28/types/group_0707.py +++ b/githubkit/versions/v2022_11_28/types/group_0707.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0481 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0481 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectCardCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectCardCreatedType",) +class WebhookProjectCardCreatedTypeForResponse(TypedDict): + """project_card created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectCardCreatedType", + "WebhookProjectCardCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0708.py b/githubkit/versions/v2022_11_28/types/group_0708.py index 4a2c20e8c..b4b62a6a4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0708.py +++ b/githubkit/versions/v2022_11_28/types/group_0708.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookProjectCardDeletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookProjectCardDeletedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardDeletedTypeForResponse(TypedDict): + """project_card deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhookProjectCardDeletedPropProjectCardTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardDeletedPropProjectCardType(TypedDict): """Project Card""" @@ -50,6 +65,26 @@ class WebhookProjectCardDeletedPropProjectCardType(TypedDict): url: str +class WebhookProjectCardDeletedPropProjectCardTypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: Union[int, None] + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardDeletedPropProjectCardPropCreatorType(TypedDict): """User""" @@ -77,8 +112,38 @@ class WebhookProjectCardDeletedPropProjectCardPropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardDeletedPropProjectCardPropCreatorType", + "WebhookProjectCardDeletedPropProjectCardPropCreatorTypeForResponse", "WebhookProjectCardDeletedPropProjectCardType", + "WebhookProjectCardDeletedPropProjectCardTypeForResponse", "WebhookProjectCardDeletedType", + "WebhookProjectCardDeletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0709.py b/githubkit/versions/v2022_11_28/types/group_0709.py index 5029040d0..5eadc53bc 100644 --- a/githubkit/versions/v2022_11_28/types/group_0709.py +++ b/githubkit/versions/v2022_11_28/types/group_0709.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0481 import WebhooksProjectCardType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0481 import WebhooksProjectCardType, WebhooksProjectCardTypeForResponse class WebhookProjectCardEditedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectCardEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardEditedTypeForResponse(TypedDict): + """project_card edited event""" + + action: Literal["edited"] + changes: WebhookProjectCardEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhooksProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardEditedPropChangesType(TypedDict): """WebhookProjectCardEditedPropChanges""" note: WebhookProjectCardEditedPropChangesPropNoteType +class WebhookProjectCardEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardEditedPropChanges""" + + note: WebhookProjectCardEditedPropChangesPropNoteTypeForResponse + + class WebhookProjectCardEditedPropChangesPropNoteType(TypedDict): """WebhookProjectCardEditedPropChangesPropNote""" from_: Union[str, None] +class WebhookProjectCardEditedPropChangesPropNoteTypeForResponse(TypedDict): + """WebhookProjectCardEditedPropChangesPropNote""" + + from_: Union[str, None] + + __all__ = ( "WebhookProjectCardEditedPropChangesPropNoteType", + "WebhookProjectCardEditedPropChangesPropNoteTypeForResponse", "WebhookProjectCardEditedPropChangesType", + "WebhookProjectCardEditedPropChangesTypeForResponse", "WebhookProjectCardEditedType", + "WebhookProjectCardEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0710.py b/githubkit/versions/v2022_11_28/types/group_0710.py index 37882dbd6..d3913b53e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0710.py +++ b/githubkit/versions/v2022_11_28/types/group_0710.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookProjectCardMovedType(TypedDict): @@ -33,18 +36,43 @@ class WebhookProjectCardMovedType(TypedDict): sender: SimpleUserType +class WebhookProjectCardMovedTypeForResponse(TypedDict): + """project_card moved event""" + + action: Literal["moved"] + changes: NotRequired[WebhookProjectCardMovedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_card: WebhookProjectCardMovedPropProjectCardTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + class WebhookProjectCardMovedPropChangesType(TypedDict): """WebhookProjectCardMovedPropChanges""" column_id: WebhookProjectCardMovedPropChangesPropColumnIdType +class WebhookProjectCardMovedPropChangesTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropChanges""" + + column_id: WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse + + class WebhookProjectCardMovedPropChangesPropColumnIdType(TypedDict): """WebhookProjectCardMovedPropChangesPropColumnId""" from_: int +class WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropChangesPropColumnId""" + + from_: int + + class WebhookProjectCardMovedPropProjectCardType(TypedDict): """WebhookProjectCardMovedPropProjectCard""" @@ -63,6 +91,26 @@ class WebhookProjectCardMovedPropProjectCardType(TypedDict): url: str +class WebhookProjectCardMovedPropProjectCardTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCard""" + + after_id: Union[Union[int, None], None] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[Union[str, None], None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardMovedPropProjectCardMergedCreatorType(TypedDict): """WebhookProjectCardMovedPropProjectCardMergedCreator""" @@ -90,10 +138,42 @@ class WebhookProjectCardMovedPropProjectCardMergedCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardMergedCreator""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropChangesPropColumnIdType", + "WebhookProjectCardMovedPropChangesPropColumnIdTypeForResponse", "WebhookProjectCardMovedPropChangesType", + "WebhookProjectCardMovedPropChangesTypeForResponse", "WebhookProjectCardMovedPropProjectCardMergedCreatorType", + "WebhookProjectCardMovedPropProjectCardMergedCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardType", + "WebhookProjectCardMovedPropProjectCardTypeForResponse", "WebhookProjectCardMovedType", + "WebhookProjectCardMovedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0711.py b/githubkit/versions/v2022_11_28/types/group_0711.py index c75678d30..a955e1a6b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0711.py +++ b/githubkit/versions/v2022_11_28/types/group_0711.py @@ -32,6 +32,26 @@ class WebhookProjectCardMovedPropProjectCardAllof0Type(TypedDict): url: str +class WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse(TypedDict): + """Project Card""" + + after_id: NotRequired[Union[int, None]] + archived: bool + column_id: int + column_url: str + content_url: NotRequired[str] + created_at: str + creator: Union[ + WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse, None + ] + id: int + node_id: str + note: Union[str, None] + project_url: str + updated_at: str + url: str + + class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType(TypedDict): """User""" @@ -59,7 +79,36 @@ class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType(TypedDict): user_view_type: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof0PropCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof0Type", + "WebhookProjectCardMovedPropProjectCardAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0712.py b/githubkit/versions/v2022_11_28/types/group_0712.py index 8e4564103..7cc74ee1e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0712.py +++ b/githubkit/versions/v2022_11_28/types/group_0712.py @@ -32,6 +32,27 @@ class WebhookProjectCardMovedPropProjectCardAllof1Type(TypedDict): url: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardAllof1""" + + after_id: Union[int, None] + archived: NotRequired[bool] + column_id: NotRequired[int] + column_url: NotRequired[str] + created_at: NotRequired[str] + creator: NotRequired[ + Union[ + WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse, None + ] + ] + id: NotRequired[int] + node_id: NotRequired[str] + note: NotRequired[Union[str, None]] + project_url: NotRequired[str] + updated_at: NotRequired[str] + url: NotRequired[str] + + class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType(TypedDict): """WebhookProjectCardMovedPropProjectCardAllof1PropCreator""" @@ -55,7 +76,32 @@ class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType(TypedDict): url: NotRequired[str] +class WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse(TypedDict): + """WebhookProjectCardMovedPropProjectCardAllof1PropCreator""" + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + + __all__ = ( "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorType", + "WebhookProjectCardMovedPropProjectCardAllof1PropCreatorTypeForResponse", "WebhookProjectCardMovedPropProjectCardAllof1Type", + "WebhookProjectCardMovedPropProjectCardAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0713.py b/githubkit/versions/v2022_11_28/types/group_0713.py index 3efb797f7..f4553dcce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0713.py +++ b/githubkit/versions/v2022_11_28/types/group_0713.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0482 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0482 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectClosedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectClosedType",) +class WebhookProjectClosedTypeForResponse(TypedDict): + """project closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectClosedType", + "WebhookProjectClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0714.py b/githubkit/versions/v2022_11_28/types/group_0714.py index 32cf23025..18de2b28f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0714.py +++ b/githubkit/versions/v2022_11_28/types/group_0714.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0483 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0483 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectColumnCreatedType",) +class WebhookProjectColumnCreatedTypeForResponse(TypedDict): + """project_column created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectColumnCreatedType", + "WebhookProjectColumnCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0715.py b/githubkit/versions/v2022_11_28/types/group_0715.py index b87e0cc32..3aa9221ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_0715.py +++ b/githubkit/versions/v2022_11_28/types/group_0715.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0483 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0483 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnDeletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectColumnDeletedType",) +class WebhookProjectColumnDeletedTypeForResponse(TypedDict): + """project_column deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectColumnDeletedType", + "WebhookProjectColumnDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0716.py b/githubkit/versions/v2022_11_28/types/group_0716.py index 43e3c10e0..101e4301d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0716.py +++ b/githubkit/versions/v2022_11_28/types/group_0716.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0483 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0483 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnEditedType(TypedDict): @@ -33,20 +36,48 @@ class WebhookProjectColumnEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookProjectColumnEditedTypeForResponse(TypedDict): + """project_column edited event""" + + action: Literal["edited"] + changes: WebhookProjectColumnEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookProjectColumnEditedPropChangesType(TypedDict): """WebhookProjectColumnEditedPropChanges""" name: NotRequired[WebhookProjectColumnEditedPropChangesPropNameType] +class WebhookProjectColumnEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectColumnEditedPropChanges""" + + name: NotRequired[WebhookProjectColumnEditedPropChangesPropNameTypeForResponse] + + class WebhookProjectColumnEditedPropChangesPropNameType(TypedDict): """WebhookProjectColumnEditedPropChangesPropName""" from_: str +class WebhookProjectColumnEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookProjectColumnEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookProjectColumnEditedPropChangesPropNameType", + "WebhookProjectColumnEditedPropChangesPropNameTypeForResponse", "WebhookProjectColumnEditedPropChangesType", + "WebhookProjectColumnEditedPropChangesTypeForResponse", "WebhookProjectColumnEditedType", + "WebhookProjectColumnEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0717.py b/githubkit/versions/v2022_11_28/types/group_0717.py index 1aaf3d0e3..55ee67f27 100644 --- a/githubkit/versions/v2022_11_28/types/group_0717.py +++ b/githubkit/versions/v2022_11_28/types/group_0717.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0483 import WebhooksProjectColumnType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0483 import WebhooksProjectColumnType, WebhooksProjectColumnTypeForResponse class WebhookProjectColumnMovedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectColumnMovedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectColumnMovedType",) +class WebhookProjectColumnMovedTypeForResponse(TypedDict): + """project_column moved event""" + + action: Literal["moved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project_column: WebhooksProjectColumnTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectColumnMovedType", + "WebhookProjectColumnMovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0718.py b/githubkit/versions/v2022_11_28/types/group_0718.py index fc63019b9..9d7d7b923 100644 --- a/githubkit/versions/v2022_11_28/types/group_0718.py +++ b/githubkit/versions/v2022_11_28/types/group_0718.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0482 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0482 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectCreatedType",) +class WebhookProjectCreatedTypeForResponse(TypedDict): + """project created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectCreatedType", + "WebhookProjectCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0719.py b/githubkit/versions/v2022_11_28/types/group_0719.py index b79313e82..761b4cbe4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0719.py +++ b/githubkit/versions/v2022_11_28/types/group_0719.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0482 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0482 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectDeletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookProjectDeletedType",) +class WebhookProjectDeletedTypeForResponse(TypedDict): + """project deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[Union[None, RepositoryWebhooksTypeForResponse]] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookProjectDeletedType", + "WebhookProjectDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0720.py b/githubkit/versions/v2022_11_28/types/group_0720.py index 3618907ec..71bdf417e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0720.py +++ b/githubkit/versions/v2022_11_28/types/group_0720.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0482 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0482 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookProjectEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookProjectEditedTypeForResponse(TypedDict): + """project edited event""" + + action: Literal["edited"] + changes: NotRequired[WebhookProjectEditedPropChangesTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookProjectEditedPropChangesType(TypedDict): """WebhookProjectEditedPropChanges @@ -43,21 +59,47 @@ class WebhookProjectEditedPropChangesType(TypedDict): name: NotRequired[WebhookProjectEditedPropChangesPropNameType] +class WebhookProjectEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectEditedPropChanges + + The changes to the project if the action was `edited`. + """ + + body: NotRequired[WebhookProjectEditedPropChangesPropBodyTypeForResponse] + name: NotRequired[WebhookProjectEditedPropChangesPropNameTypeForResponse] + + class WebhookProjectEditedPropChangesPropBodyType(TypedDict): """WebhookProjectEditedPropChangesPropBody""" from_: str +class WebhookProjectEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookProjectEditedPropChangesPropBody""" + + from_: str + + class WebhookProjectEditedPropChangesPropNameType(TypedDict): """WebhookProjectEditedPropChangesPropName""" from_: str +class WebhookProjectEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookProjectEditedPropChangesPropName""" + + from_: str + + __all__ = ( "WebhookProjectEditedPropChangesPropBodyType", + "WebhookProjectEditedPropChangesPropBodyTypeForResponse", "WebhookProjectEditedPropChangesPropNameType", + "WebhookProjectEditedPropChangesPropNameTypeForResponse", "WebhookProjectEditedPropChangesType", + "WebhookProjectEditedPropChangesTypeForResponse", "WebhookProjectEditedType", + "WebhookProjectEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0721.py b/githubkit/versions/v2022_11_28/types/group_0721.py index 1beead09c..883cd2f25 100644 --- a/githubkit/versions/v2022_11_28/types/group_0721.py +++ b/githubkit/versions/v2022_11_28/types/group_0721.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0482 import WebhooksProjectType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0482 import WebhooksProjectType, WebhooksProjectTypeForResponse class WebhookProjectReopenedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookProjectReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectReopenedType",) +class WebhookProjectReopenedTypeForResponse(TypedDict): + """project reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + project: WebhooksProjectTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectReopenedType", + "WebhookProjectReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0722.py b/githubkit/versions/v2022_11_28/types/group_0722.py index 55513da59..9ff497e9d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0722.py +++ b/githubkit/versions/v2022_11_28/types/group_0722.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0130 import ProjectsV2Type -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0130 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectClosedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectClosedType",) +class WebhookProjectsV2ProjectClosedTypeForResponse(TypedDict): + """Projects v2 Project Closed Event""" + + action: Literal["closed"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectClosedType", + "WebhookProjectsV2ProjectClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0723.py b/githubkit/versions/v2022_11_28/types/group_0723.py index d923f186e..ead2e5d2b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0723.py +++ b/githubkit/versions/v2022_11_28/types/group_0723.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0130 import ProjectsV2Type -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0130 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectCreatedType(TypedDict): @@ -31,4 +34,20 @@ class WebhookProjectsV2ProjectCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectCreatedType",) +class WebhookProjectsV2ProjectCreatedTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectCreated + + A project was created + """ + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectCreatedType", + "WebhookProjectsV2ProjectCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0724.py b/githubkit/versions/v2022_11_28/types/group_0724.py index 2aaf30e2c..e4f85d800 100644 --- a/githubkit/versions/v2022_11_28/types/group_0724.py +++ b/githubkit/versions/v2022_11_28/types/group_0724.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0130 import ProjectsV2Type -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0130 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectDeletedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectDeletedType",) +class WebhookProjectsV2ProjectDeletedTypeForResponse(TypedDict): + """Projects v2 Project Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectDeletedType", + "WebhookProjectsV2ProjectDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0725.py b/githubkit/versions/v2022_11_28/types/group_0725.py index cfc80ba3f..4ba3d4bf6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0725.py +++ b/githubkit/versions/v2022_11_28/types/group_0725.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0130 import ProjectsV2Type -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0130 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectEditedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ProjectEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ProjectEditedTypeForResponse(TypedDict): + """Projects v2 Project Edited Event""" + + action: Literal["edited"] + changes: WebhookProjectsV2ProjectEditedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ProjectEditedPropChangesType(TypedDict): """WebhookProjectsV2ProjectEditedPropChanges""" @@ -42,6 +56,23 @@ class WebhookProjectsV2ProjectEditedPropChangesType(TypedDict): title: NotRequired[WebhookProjectsV2ProjectEditedPropChangesPropTitleType] +class WebhookProjectsV2ProjectEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChanges""" + + description: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse + ] + public: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse + ] + short_description: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse + ] + title: NotRequired[ + WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse + ] + + class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropDescription""" @@ -49,6 +80,15 @@ class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse( + TypedDict +): + """WebhookProjectsV2ProjectEditedPropChangesPropDescription""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2ProjectEditedPropChangesPropPublicType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropPublic""" @@ -56,6 +96,13 @@ class WebhookProjectsV2ProjectEditedPropChangesPropPublicType(TypedDict): to: NotRequired[bool] +class WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChangesPropPublic""" + + from_: NotRequired[bool] + to: NotRequired[bool] + + class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropShortDescription""" @@ -63,6 +110,15 @@ class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType(TypedDic to: NotRequired[Union[str, None]] +class WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse( + TypedDict +): + """WebhookProjectsV2ProjectEditedPropChangesPropShortDescription""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2ProjectEditedPropChangesPropTitleType(TypedDict): """WebhookProjectsV2ProjectEditedPropChangesPropTitle""" @@ -70,11 +126,24 @@ class WebhookProjectsV2ProjectEditedPropChangesPropTitleType(TypedDict): to: NotRequired[str] +class WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookProjectsV2ProjectEditedPropChangesPropTitle""" + + from_: NotRequired[str] + to: NotRequired[str] + + __all__ = ( "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropPublicType", + "WebhookProjectsV2ProjectEditedPropChangesPropPublicTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionType", + "WebhookProjectsV2ProjectEditedPropChangesPropShortDescriptionTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesPropTitleType", + "WebhookProjectsV2ProjectEditedPropChangesPropTitleTypeForResponse", "WebhookProjectsV2ProjectEditedPropChangesType", + "WebhookProjectsV2ProjectEditedPropChangesTypeForResponse", "WebhookProjectsV2ProjectEditedType", + "WebhookProjectsV2ProjectEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0726.py b/githubkit/versions/v2022_11_28/types/group_0726.py index ecdd7119c..7bb9534d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0726.py +++ b/githubkit/versions/v2022_11_28/types/group_0726.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0484 import WebhooksProjectChangesType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0484 import ( + WebhooksProjectChangesType, + WebhooksProjectChangesTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemArchivedType(TypedDict): @@ -30,4 +36,18 @@ class WebhookProjectsV2ItemArchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemArchivedType",) +class WebhookProjectsV2ItemArchivedTypeForResponse(TypedDict): + """Projects v2 Item Archived Event""" + + action: Literal["archived"] + changes: WebhooksProjectChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemArchivedType", + "WebhookProjectsV2ItemArchivedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0727.py b/githubkit/versions/v2022_11_28/types/group_0727.py index 82cc5d158..f6ae31277 100644 --- a/githubkit/versions/v2022_11_28/types/group_0727.py +++ b/githubkit/versions/v2022_11_28/types/group_0727.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemConvertedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ItemConvertedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemConvertedTypeForResponse(TypedDict): + """Projects v2 Item Converted Event""" + + action: Literal["converted"] + changes: WebhookProjectsV2ItemConvertedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemConvertedPropChangesType(TypedDict): """WebhookProjectsV2ItemConvertedPropChanges""" @@ -37,6 +51,14 @@ class WebhookProjectsV2ItemConvertedPropChangesType(TypedDict): ] +class WebhookProjectsV2ItemConvertedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ItemConvertedPropChanges""" + + content_type: NotRequired[ + WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse + ] + + class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType(TypedDict): """WebhookProjectsV2ItemConvertedPropChangesPropContentType""" @@ -44,8 +66,20 @@ class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType(TypedDict): to: NotRequired[str] +class WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemConvertedPropChangesPropContentType""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[str] + + __all__ = ( "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeType", + "WebhookProjectsV2ItemConvertedPropChangesPropContentTypeTypeForResponse", "WebhookProjectsV2ItemConvertedPropChangesType", + "WebhookProjectsV2ItemConvertedPropChangesTypeForResponse", "WebhookProjectsV2ItemConvertedType", + "WebhookProjectsV2ItemConvertedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0728.py b/githubkit/versions/v2022_11_28/types/group_0728.py index 887a8fdf5..10fd27fb7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0728.py +++ b/githubkit/versions/v2022_11_28/types/group_0728.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemCreatedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ItemCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemCreatedType",) +class WebhookProjectsV2ItemCreatedTypeForResponse(TypedDict): + """Projects v2 Item Created Event""" + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemCreatedType", + "WebhookProjectsV2ItemCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0729.py b/githubkit/versions/v2022_11_28/types/group_0729.py index 737253b41..04f1b99e5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0729.py +++ b/githubkit/versions/v2022_11_28/types/group_0729.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemDeletedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ItemDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemDeletedType",) +class WebhookProjectsV2ItemDeletedTypeForResponse(TypedDict): + """Projects v2 Item Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemDeletedType", + "WebhookProjectsV2ItemDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0730.py b/githubkit/versions/v2022_11_28/types/group_0730.py index 3ba32c98f..04a65b201 100644 --- a/githubkit/versions/v2022_11_28/types/group_0730.py +++ b/githubkit/versions/v2022_11_28/types/group_0730.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemEditedType(TypedDict): @@ -34,12 +37,36 @@ class WebhookProjectsV2ItemEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemEditedTypeForResponse(TypedDict): + """Projects v2 Item Edited Event""" + + action: Literal["edited"] + changes: NotRequired[ + Union[ + WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse, + WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse, + ] + ] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemEditedPropChangesOneof0Type(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof0""" field_value: WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType +class WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof0""" + + field_value: ( + WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse + ) + + class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValue""" @@ -67,6 +94,35 @@ class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType(TypedDict): ] +class WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValue""" + + field_node_id: NotRequired[str] + field_type: NotRequired[str] + field_name: NotRequired[str] + project_number: NotRequired[int] + from_: NotRequired[ + Union[ + str, + int, + ProjectsV2SingleSelectOptionTypeForResponse, + ProjectsV2IterationSettingTypeForResponse, + None, + ] + ] + to: NotRequired[ + Union[ + str, + int, + ProjectsV2SingleSelectOptionTypeForResponse, + ProjectsV2IterationSettingTypeForResponse, + None, + ] + ] + + class ProjectsV2SingleSelectOptionType(TypedDict): """Projects v2 Single Select Option @@ -79,6 +135,18 @@ class ProjectsV2SingleSelectOptionType(TypedDict): description: NotRequired[Union[str, None]] +class ProjectsV2SingleSelectOptionTypeForResponse(TypedDict): + """Projects v2 Single Select Option + + An option for a single select field + """ + + id: str + name: str + color: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + + class ProjectsV2IterationSettingType(TypedDict): """Projects v2 Iteration Setting @@ -93,12 +161,32 @@ class ProjectsV2IterationSettingType(TypedDict): completed: NotRequired[bool] +class ProjectsV2IterationSettingTypeForResponse(TypedDict): + """Projects v2 Iteration Setting + + An iteration setting for an iteration field + """ + + id: str + title: str + title_html: NotRequired[str] + duration: NotRequired[Union[float, None]] + start_date: NotRequired[Union[str, None]] + completed: NotRequired[bool] + + class WebhookProjectsV2ItemEditedPropChangesOneof1Type(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof1""" body: WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType +class WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof1""" + + body: WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse + + class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType(TypedDict): """WebhookProjectsV2ItemEditedPropChangesOneof1PropBody""" @@ -106,12 +194,26 @@ class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse(TypedDict): + """WebhookProjectsV2ItemEditedPropChangesOneof1PropBody""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "ProjectsV2IterationSettingType", + "ProjectsV2IterationSettingTypeForResponse", "ProjectsV2SingleSelectOptionType", + "ProjectsV2SingleSelectOptionTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueType", + "WebhookProjectsV2ItemEditedPropChangesOneof0PropFieldValueTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof0Type", + "WebhookProjectsV2ItemEditedPropChangesOneof0TypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyType", + "WebhookProjectsV2ItemEditedPropChangesOneof1PropBodyTypeForResponse", "WebhookProjectsV2ItemEditedPropChangesOneof1Type", + "WebhookProjectsV2ItemEditedPropChangesOneof1TypeForResponse", "WebhookProjectsV2ItemEditedType", + "WebhookProjectsV2ItemEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0731.py b/githubkit/versions/v2022_11_28/types/group_0731.py index b96a61dd0..359f12b7f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0731.py +++ b/githubkit/versions/v2022_11_28/types/group_0731.py @@ -12,10 +12,13 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemReorderedType(TypedDict): @@ -29,6 +32,17 @@ class WebhookProjectsV2ItemReorderedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2ItemReorderedTypeForResponse(TypedDict): + """Projects v2 Item Reordered Event""" + + action: Literal["reordered"] + changes: WebhookProjectsV2ItemReorderedPropChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2ItemReorderedPropChangesType(TypedDict): """WebhookProjectsV2ItemReorderedPropChanges""" @@ -37,6 +51,14 @@ class WebhookProjectsV2ItemReorderedPropChangesType(TypedDict): ] +class WebhookProjectsV2ItemReorderedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2ItemReorderedPropChanges""" + + previous_projects_v2_item_node_id: NotRequired[ + WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse + ] + + class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType( TypedDict ): @@ -46,8 +68,20 @@ class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdT to: NotRequired[Union[str, None]] +class WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse( + TypedDict +): + """WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeId""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdType", + "WebhookProjectsV2ItemReorderedPropChangesPropPreviousProjectsV2ItemNodeIdTypeForResponse", "WebhookProjectsV2ItemReorderedPropChangesType", + "WebhookProjectsV2ItemReorderedPropChangesTypeForResponse", "WebhookProjectsV2ItemReorderedType", + "WebhookProjectsV2ItemReorderedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0732.py b/githubkit/versions/v2022_11_28/types/group_0732.py index 0c894c4e8..93bdd61b1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0732.py +++ b/githubkit/versions/v2022_11_28/types/group_0732.py @@ -12,11 +12,17 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0484 import WebhooksProjectChangesType -from .group_0485 import ProjectsV2ItemType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0484 import ( + WebhooksProjectChangesType, + WebhooksProjectChangesTypeForResponse, +) +from .group_0485 import ProjectsV2ItemType, ProjectsV2ItemTypeForResponse class WebhookProjectsV2ItemRestoredType(TypedDict): @@ -30,4 +36,18 @@ class WebhookProjectsV2ItemRestoredType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ItemRestoredType",) +class WebhookProjectsV2ItemRestoredTypeForResponse(TypedDict): + """Projects v2 Item Restored Event""" + + action: Literal["restored"] + changes: WebhooksProjectChangesTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_item: ProjectsV2ItemTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ItemRestoredType", + "WebhookProjectsV2ItemRestoredTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0733.py b/githubkit/versions/v2022_11_28/types/group_0733.py index d58a8a2f6..fb98aba52 100644 --- a/githubkit/versions/v2022_11_28/types/group_0733.py +++ b/githubkit/versions/v2022_11_28/types/group_0733.py @@ -12,10 +12,13 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0130 import ProjectsV2Type -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0130 import ProjectsV2Type, ProjectsV2TypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2ProjectReopenedType(TypedDict): @@ -28,4 +31,17 @@ class WebhookProjectsV2ProjectReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2ProjectReopenedType",) +class WebhookProjectsV2ProjectReopenedTypeForResponse(TypedDict): + """Projects v2 Project Reopened Event""" + + action: Literal["reopened"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2: ProjectsV2TypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2ProjectReopenedType", + "WebhookProjectsV2ProjectReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0734.py b/githubkit/versions/v2022_11_28/types/group_0734.py index dd8ad2c7b..cc1d53088 100644 --- a/githubkit/versions/v2022_11_28/types/group_0734.py +++ b/githubkit/versions/v2022_11_28/types/group_0734.py @@ -12,10 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0129 import ProjectsV2StatusUpdateType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0129 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateCreatedType(TypedDict): @@ -28,4 +34,17 @@ class WebhookProjectsV2StatusUpdateCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2StatusUpdateCreatedType",) +class WebhookProjectsV2StatusUpdateCreatedTypeForResponse(TypedDict): + """Projects v2 Status Update Created Event""" + + action: Literal["created"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2StatusUpdateCreatedType", + "WebhookProjectsV2StatusUpdateCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0735.py b/githubkit/versions/v2022_11_28/types/group_0735.py index 13720a3ff..108957ba4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0735.py +++ b/githubkit/versions/v2022_11_28/types/group_0735.py @@ -12,10 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0129 import ProjectsV2StatusUpdateType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0129 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateDeletedType(TypedDict): @@ -28,4 +34,17 @@ class WebhookProjectsV2StatusUpdateDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookProjectsV2StatusUpdateDeletedType",) +class WebhookProjectsV2StatusUpdateDeletedTypeForResponse(TypedDict): + """Projects v2 Status Update Deleted Event""" + + action: Literal["deleted"] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookProjectsV2StatusUpdateDeletedType", + "WebhookProjectsV2StatusUpdateDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0736.py b/githubkit/versions/v2022_11_28/types/group_0736.py index 8ed54060f..b41152160 100644 --- a/githubkit/versions/v2022_11_28/types/group_0736.py +++ b/githubkit/versions/v2022_11_28/types/group_0736.py @@ -13,10 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0129 import ProjectsV2StatusUpdateType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0129 import ( + ProjectsV2StatusUpdateType, + ProjectsV2StatusUpdateTypeForResponse, +) +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookProjectsV2StatusUpdateEditedType(TypedDict): @@ -30,6 +36,17 @@ class WebhookProjectsV2StatusUpdateEditedType(TypedDict): sender: SimpleUserType +class WebhookProjectsV2StatusUpdateEditedTypeForResponse(TypedDict): + """Projects v2 Status Update Edited Event""" + + action: Literal["edited"] + changes: NotRequired[WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + projects_v2_status_update: ProjectsV2StatusUpdateTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookProjectsV2StatusUpdateEditedPropChangesType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChanges""" @@ -43,6 +60,23 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesType(TypedDict): ] +class WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse(TypedDict): + """WebhookProjectsV2StatusUpdateEditedPropChanges""" + + body: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse + ] + status: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse + ] + start_date: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse + ] + target_date: NotRequired[ + WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse + ] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropBody""" @@ -50,6 +84,13 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType(TypedDict): to: NotRequired[Union[str, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropBody""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropStatus""" @@ -61,6 +102,19 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType(TypedDict): ] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropStatus""" + + from_: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + to: NotRequired[ + Union[None, Literal["INACTIVE", "ON_TRACK", "AT_RISK", "OFF_TRACK", "COMPLETE"]] + ] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDate""" @@ -68,6 +122,15 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType(TypedDict) to: NotRequired[Union[date, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDate""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType(TypedDict): """WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDate""" @@ -75,11 +138,26 @@ class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType(TypedDict to: NotRequired[Union[date, None]] +class WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse( + TypedDict +): + """WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDate""" + + from_: NotRequired[Union[str, None]] + to: NotRequired[Union[str, None]] + + __all__ = ( "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropBodyTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStartDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropStatusTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateType", + "WebhookProjectsV2StatusUpdateEditedPropChangesPropTargetDateTypeForResponse", "WebhookProjectsV2StatusUpdateEditedPropChangesType", + "WebhookProjectsV2StatusUpdateEditedPropChangesTypeForResponse", "WebhookProjectsV2StatusUpdateEditedType", + "WebhookProjectsV2StatusUpdateEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0737.py b/githubkit/versions/v2022_11_28/types/group_0737.py index 51ff2a738..6a7f731dd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0737.py +++ b/githubkit/versions/v2022_11_28/types/group_0737.py @@ -11,11 +11,14 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPublicType(TypedDict): @@ -28,4 +31,17 @@ class WebhookPublicType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPublicType",) +class WebhookPublicTypeForResponse(TypedDict): + """public event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPublicType", + "WebhookPublicTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0738.py b/githubkit/versions/v2022_11_28/types/group_0738.py index b40ac8fbe..43d33e777 100644 --- a/githubkit/versions/v2022_11_28/types/group_0738.py +++ b/githubkit/versions/v2022_11_28/types/group_0738.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0461 import WebhooksUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0461 import WebhooksUserType, WebhooksUserTypeForResponse class WebhookPullRequestAssignedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestAssignedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAssignedTypeForResponse(TypedDict): + """pull_request assigned event""" + + action: Literal["assigned"] + assignee: Union[WebhooksUserTypeForResponse, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAssignedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAssignedPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,95 @@ class WebhookPullRequestAssignedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAssignedPropPullRequestPropUserType, None] +class WebhookPullRequestAssignedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestAssignedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +244,33 @@ class WebhookPullRequestAssignedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -165,6 +298,35 @@ class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType(TypedDict) user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -179,6 +341,21 @@ class WebhookPullRequestAssignedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -208,6 +385,35 @@ class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -220,6 +426,20 @@ class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -247,6 +467,33 @@ class WebhookPullRequestAssignedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -273,6 +520,33 @@ class WebhookPullRequestAssignedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -300,7 +574,7 @@ class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -329,7 +603,9 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0 user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -356,27 +632,137 @@ class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAssignedPropPullRequestPropLinks""" - - comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropLinks""" + + comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType(TypedDict): @@ -385,18 +771,42 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -405,6 +815,14 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -413,18 +831,42 @@ class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAssignedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAssignedPropPullRequestPropBase""" @@ -435,6 +877,18 @@ class WebhookPullRequestAssignedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestAssignedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestAssignedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -462,7 +916,392 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestAssignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -522,7 +1361,7 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -537,10 +1376,10 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -574,68 +1413,9 @@ class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAssignedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAssignedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -659,7 +1439,7 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -695,7 +1475,8 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -710,15 +1491,16 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -738,7 +1520,7 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -759,6 +1541,18 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -786,6 +1580,35 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -798,6 +1621,18 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -825,6 +1660,35 @@ class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -853,6 +1717,34 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -873,6 +1765,26 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -899,6 +1811,34 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -917,42 +1857,97 @@ class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAssignedPropPullRequestPropAssigneeType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAssignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestAssignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestAssignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropBaseType", + "WebhookPullRequestAssignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropHeadType", + "WebhookPullRequestAssignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAssignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropLinksType", + "WebhookPullRequestAssignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMergedByType", + "WebhookPullRequestAssignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAssignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropMilestoneType", + "WebhookPullRequestAssignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAssignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAssignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAssignedPropPullRequestPropUserType", + "WebhookPullRequestAssignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAssignedPropPullRequestType", + "WebhookPullRequestAssignedPropPullRequestTypeForResponse", "WebhookPullRequestAssignedType", + "WebhookPullRequestAssignedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0739.py b/githubkit/versions/v2022_11_28/types/group_0739.py index cf3174d97..f890edafe 100644 --- a/githubkit/versions/v2022_11_28/types/group_0739.py +++ b/githubkit/versions/v2022_11_28/types/group_0739.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestAutoMergeDisabledType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestAutoMergeDisabledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAutoMergeDisabledTypeForResponse(TypedDict): + """pull_request auto_merge_disabled event""" + + action: Literal["auto_merge_disabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse + reason: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAutoMergeDisabledPropPullRequestType(TypedDict): """Pull Request""" @@ -119,6 +136,101 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType, None] +class WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -146,6 +258,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType(TypedDi user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -174,6 +315,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType( url: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -189,6 +358,23 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType(TypedD merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -218,6 +404,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabled user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -230,6 +445,20 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType(Type url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -257,6 +486,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType(TypedDi user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +542,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType(TypedD url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -313,7 +600,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreator user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -337,12 +624,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -369,9 +658,94 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" - +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" + comments: ( WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType ) @@ -388,6 +762,21 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType(TypedDict) ) +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinks""" + + comments: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType( TypedDict ): @@ -396,6 +785,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTyp href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType( TypedDict ): @@ -404,6 +801,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType( TypedDict ): @@ -412,6 +817,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -420,6 +833,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -428,6 +849,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewComme href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -436,6 +865,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewComme href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -444,6 +881,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType( href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -452,6 +897,14 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTyp href: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBase""" @@ -464,7 +917,474 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType(TypedDict): ] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_discussions: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_discussions: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -491,7 +1411,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -534,10 +1454,10 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ git_url: str has_downloads: bool has_issues: bool - has_discussions: bool has_pages: bool has_projects: bool has_wiki: bool + has_discussions: bool homepage: Union[str, None] hooks_url: str html_url: str @@ -551,7 +1471,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -567,11 +1487,11 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -605,101 +1525,9 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType(Typ web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermission - s - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -723,7 +1551,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -759,7 +1587,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -775,16 +1603,16 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -804,7 +1632,7 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType(Typ teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -825,6 +1653,18 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLice url: Union[str, None] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -854,6 +1694,35 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwne user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -868,6 +1737,20 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPerm triage: NotRequired[bool] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermission + s + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -896,6 +1779,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -916,6 +1827,26 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersIt url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOne + of1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -944,6 +1875,34 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsT url: NotRequired[str] +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -964,42 +1923,99 @@ class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsP url: str +class WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropPar + ent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeDisabledPropPullRequestType", + "WebhookPullRequestAutoMergeDisabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeDisabledType", + "WebhookPullRequestAutoMergeDisabledTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0740.py b/githubkit/versions/v2022_11_28/types/group_0740.py index 03479afdd..01502a9de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0740.py +++ b/githubkit/versions/v2022_11_28/types/group_0740.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestAutoMergeEnabledType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestAutoMergeEnabledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestAutoMergeEnabledTypeForResponse(TypedDict): + """pull_request auto_merge_enabled event""" + + action: Literal["auto_merge_enabled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse + reason: NotRequired[str] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestAutoMergeEnabledPropPullRequestType(TypedDict): """Pull Request""" @@ -119,6 +136,101 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType, None] +class WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -146,6 +258,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -174,6 +315,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType( url: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -189,6 +358,23 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType(TypedDi merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -218,6 +404,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledB user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -230,6 +445,20 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType(Typed url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -257,6 +486,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +542,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType(TypedDi url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -313,7 +600,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorT user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -342,7 +629,9 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -369,8 +658,93 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType @@ -386,6 +760,21 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinks""" + + comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType( TypedDict ): @@ -394,6 +783,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType( TypedDict ): @@ -402,12 +799,28 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType( href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -416,6 +829,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType( href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -424,6 +845,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommen href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -432,12 +861,28 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommen href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -446,6 +891,14 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType href: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBase""" @@ -458,7 +911,474 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType(TypedDict): ] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" + + label: str + ref: str + repo: ( + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -485,7 +1405,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType(Type user_view_type: NotRequired[str] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -545,7 +1465,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -561,11 +1481,11 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -599,99 +1519,9 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType(Type web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -715,7 +1545,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -751,7 +1581,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -767,16 +1597,16 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -796,7 +1626,7 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType(Type teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -817,6 +1647,18 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicen url: Union[str, None] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -846,6 +1688,35 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwner user_view_type: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -858,6 +1729,18 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermi triage: NotRequired[bool] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -886,6 +1769,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -906,6 +1817,26 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersIte url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneo + f1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -934,6 +1865,34 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTy url: NotRequired[str] +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -954,42 +1913,99 @@ class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPr url: str +class WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropPare + nt + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestAutoMergeEnabledPropPullRequestType", + "WebhookPullRequestAutoMergeEnabledPropPullRequestTypeForResponse", "WebhookPullRequestAutoMergeEnabledType", + "WebhookPullRequestAutoMergeEnabledTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0741.py b/githubkit/versions/v2022_11_28/types/group_0741.py index 7c2205d3b..4f0c9af4c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0741.py +++ b/githubkit/versions/v2022_11_28/types/group_0741.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestClosedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestClosedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestClosedType",) +class WebhookPullRequestClosedTypeForResponse(TypedDict): + """pull_request closed event""" + + action: Literal["closed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestClosedType", + "WebhookPullRequestClosedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0742.py b/githubkit/versions/v2022_11_28/types/group_0742.py index 118e69e70..bfb2ee2eb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0742.py +++ b/githubkit/versions/v2022_11_28/types/group_0742.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestConvertedToDraftType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestConvertedToDraftType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestConvertedToDraftType",) +class WebhookPullRequestConvertedToDraftTypeForResponse(TypedDict): + """pull_request converted_to_draft event""" + + action: Literal["converted_to_draft"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestConvertedToDraftType", + "WebhookPullRequestConvertedToDraftTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0743.py b/githubkit/versions/v2022_11_28/types/group_0743.py index 9d46f323a..7dd086c8e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0743.py +++ b/githubkit/versions/v2022_11_28/types/group_0743.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0040 import MilestoneType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0488 import WebhooksPullRequest5Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0488 import WebhooksPullRequest5Type, WebhooksPullRequest5TypeForResponse class WebhookPullRequestDemilestonedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestDemilestonedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookPullRequestDemilestonedType",) +class WebhookPullRequestDemilestonedTypeForResponse(TypedDict): + """pull_request demilestoned event""" + + action: Literal["demilestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + milestone: NotRequired[MilestoneTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhooksPullRequest5TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookPullRequestDemilestonedType", + "WebhookPullRequestDemilestonedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0744.py b/githubkit/versions/v2022_11_28/types/group_0744.py index 6d00e0b36..f03619071 100644 --- a/githubkit/versions/v2022_11_28/types/group_0744.py +++ b/githubkit/versions/v2022_11_28/types/group_0744.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestDequeuedType(TypedDict): @@ -47,6 +50,33 @@ class WebhookPullRequestDequeuedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestDequeuedTypeForResponse(TypedDict): + """pull_request dequeued event""" + + action: Literal["dequeued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestDequeuedPropPullRequestTypeForResponse + reason: Literal[ + "UNKNOWN_REMOVAL_REASON", + "MANUAL", + "MERGE", + "MERGE_CONFLICT", + "CI_FAILURE", + "CI_TIMEOUT", + "ALREADY_MERGED", + "QUEUE_CLEARED", + "ROLL_BACK", + "BRANCH_PROTECTIONS", + "GIT_TREE_INVALID", + "INVALID_MERGE_COMMIT", + ] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestDequeuedPropPullRequestType(TypedDict): """Pull Request""" @@ -123,6 +153,95 @@ class WebhookPullRequestDequeuedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestDequeuedPropPullRequestPropUserType, None] +class WebhookPullRequestDequeuedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestDequeuedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -150,6 +269,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -176,6 +322,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -190,6 +364,21 @@ class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -219,6 +408,35 @@ class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -231,6 +449,20 @@ class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -258,6 +490,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -284,6 +543,33 @@ class WebhookPullRequestDequeuedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -311,7 +597,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -335,12 +621,14 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0 site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -362,16 +650,99 @@ class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestDequeuedPropPullRequestPropLinks""" +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropLinks""" + + comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType html: WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType issue: WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType review_comment: ( @@ -384,30 +755,81 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -416,6 +838,14 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -424,18 +854,42 @@ class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestDequeuedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestDequeuedPropPullRequestPropBase""" @@ -446,7 +900,458 @@ class WebhookPullRequestDequeuedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType, None] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestDequeuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -473,7 +1378,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -533,7 +1438,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -548,10 +1453,10 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -585,95 +1490,9 @@ class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestDequeuedPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -697,7 +1516,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -733,7 +1552,8 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -748,15 +1568,16 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -776,7 +1597,7 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -797,6 +1618,18 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -824,6 +1657,35 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -836,6 +1698,18 @@ class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -864,6 +1738,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -884,6 +1786,26 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -910,6 +1832,34 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -928,42 +1878,97 @@ class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestDequeuedPropPullRequestPropAssigneeType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestDequeuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropBaseType", + "WebhookPullRequestDequeuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropHeadType", + "WebhookPullRequestDequeuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropLinksType", + "WebhookPullRequestDequeuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMergedByType", + "WebhookPullRequestDequeuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropMilestoneType", + "WebhookPullRequestDequeuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestDequeuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestPropUserType", + "WebhookPullRequestDequeuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestDequeuedPropPullRequestType", + "WebhookPullRequestDequeuedPropPullRequestTypeForResponse", "WebhookPullRequestDequeuedType", + "WebhookPullRequestDequeuedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0745.py b/githubkit/versions/v2022_11_28/types/group_0745.py index e88c0b74b..941ebe790 100644 --- a/githubkit/versions/v2022_11_28/types/group_0745.py +++ b/githubkit/versions/v2022_11_28/types/group_0745.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestEditedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPullRequestEditedTypeForResponse(TypedDict): + """pull_request edited event""" + + action: Literal["edited"] + changes: WebhookPullRequestEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPullRequestEditedPropChangesType(TypedDict): """WebhookPullRequestEditedPropChanges @@ -45,18 +62,41 @@ class WebhookPullRequestEditedPropChangesType(TypedDict): title: NotRequired[WebhookPullRequestEditedPropChangesPropTitleType] +class WebhookPullRequestEditedPropChangesTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChanges + + The changes to the comment if the action was `edited`. + """ + + base: NotRequired[WebhookPullRequestEditedPropChangesPropBaseTypeForResponse] + body: NotRequired[WebhookPullRequestEditedPropChangesPropBodyTypeForResponse] + title: NotRequired[WebhookPullRequestEditedPropChangesPropTitleTypeForResponse] + + class WebhookPullRequestEditedPropChangesPropBodyType(TypedDict): """WebhookPullRequestEditedPropChangesPropBody""" from_: str +class WebhookPullRequestEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBody""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropTitleType(TypedDict): """WebhookPullRequestEditedPropChangesPropTitle""" from_: str +class WebhookPullRequestEditedPropChangesPropTitleTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropTitle""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropBaseType(TypedDict): """WebhookPullRequestEditedPropChangesPropBase""" @@ -64,24 +104,50 @@ class WebhookPullRequestEditedPropChangesPropBaseType(TypedDict): sha: WebhookPullRequestEditedPropChangesPropBasePropShaType +class WebhookPullRequestEditedPropChangesPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBase""" + + ref: WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse + sha: WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse + + class WebhookPullRequestEditedPropChangesPropBasePropRefType(TypedDict): """WebhookPullRequestEditedPropChangesPropBasePropRef""" from_: str +class WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBasePropRef""" + + from_: str + + class WebhookPullRequestEditedPropChangesPropBasePropShaType(TypedDict): """WebhookPullRequestEditedPropChangesPropBasePropSha""" from_: str +class WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse(TypedDict): + """WebhookPullRequestEditedPropChangesPropBasePropSha""" + + from_: str + + __all__ = ( "WebhookPullRequestEditedPropChangesPropBasePropRefType", + "WebhookPullRequestEditedPropChangesPropBasePropRefTypeForResponse", "WebhookPullRequestEditedPropChangesPropBasePropShaType", + "WebhookPullRequestEditedPropChangesPropBasePropShaTypeForResponse", "WebhookPullRequestEditedPropChangesPropBaseType", + "WebhookPullRequestEditedPropChangesPropBaseTypeForResponse", "WebhookPullRequestEditedPropChangesPropBodyType", + "WebhookPullRequestEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestEditedPropChangesPropTitleType", + "WebhookPullRequestEditedPropChangesPropTitleTypeForResponse", "WebhookPullRequestEditedPropChangesType", + "WebhookPullRequestEditedPropChangesTypeForResponse", "WebhookPullRequestEditedType", + "WebhookPullRequestEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0746.py b/githubkit/versions/v2022_11_28/types/group_0746.py index 2b56b7ea9..7f0a6a025 100644 --- a/githubkit/versions/v2022_11_28/types/group_0746.py +++ b/githubkit/versions/v2022_11_28/types/group_0746.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestEnqueuedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestEnqueuedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestEnqueuedTypeForResponse(TypedDict): + """pull_request enqueued event""" + + action: Literal["enqueued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestEnqueuedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestEnqueuedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,95 @@ class WebhookPullRequestEnqueuedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestEnqueuedPropPullRequestPropUserType, None] +class WebhookPullRequestEnqueuedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +241,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +294,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +336,21 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -205,6 +380,35 @@ class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +421,20 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +462,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +515,33 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,7 +569,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -321,12 +593,14 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0 site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -348,30 +622,140 @@ class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" - - comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType - +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" -class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" + + comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" href: str @@ -382,18 +766,42 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -402,6 +810,14 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -410,18 +826,42 @@ class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestEnqueuedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestEnqueuedPropPullRequestPropBase""" @@ -432,7 +872,458 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType, None] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestEnqueuedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -459,7 +1350,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -519,7 +1410,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -534,10 +1425,10 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -571,95 +1462,9 @@ class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestEnqueuedPropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -683,7 +1488,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -719,7 +1524,8 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -734,15 +1540,16 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -762,7 +1569,7 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -783,6 +1590,18 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -810,6 +1629,35 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -822,6 +1670,18 @@ class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -850,6 +1710,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -870,6 +1758,26 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -896,6 +1804,34 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -914,42 +1850,97 @@ class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeType", + "WebhookPullRequestEnqueuedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropBaseType", + "WebhookPullRequestEnqueuedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropHeadType", + "WebhookPullRequestEnqueuedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropLinksType", + "WebhookPullRequestEnqueuedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMergedByType", + "WebhookPullRequestEnqueuedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneType", + "WebhookPullRequestEnqueuedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestEnqueuedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestPropUserType", + "WebhookPullRequestEnqueuedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestEnqueuedPropPullRequestType", + "WebhookPullRequestEnqueuedPropPullRequestTypeForResponse", "WebhookPullRequestEnqueuedType", + "WebhookPullRequestEnqueuedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0747.py b/githubkit/versions/v2022_11_28/types/group_0747.py index a912c6fed..ee6d3b47b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0747.py +++ b/githubkit/versions/v2022_11_28/types/group_0747.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookPullRequestLabeledType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestLabeledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestLabeledTypeForResponse(TypedDict): + """pull_request labeled event""" + + action: Literal["labeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: NotRequired[WebhooksLabelTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestLabeledPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestLabeledPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,91 @@ class WebhookPullRequestLabeledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestLabeledPropPullRequestPropUserType, None] +class WebhookPullRequestLabeledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse, None] + ] + milestone: Union[ + WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestLabeledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +240,33 @@ class WebhookPullRequestLabeledPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -164,6 +293,34 @@ class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -178,6 +335,21 @@ class WebhookPullRequestLabeledPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType(TypedDict): """User""" @@ -205,6 +377,35 @@ class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +418,18 @@ class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +457,33 @@ class WebhookPullRequestLabeledPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +510,33 @@ class WebhookPullRequestLabeledPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,6 +564,35 @@ class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): @@ -326,7 +622,9 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0T user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -353,8 +651,62 @@ class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestLabeledPropPullRequestPropLinks""" +class WebhookPullRequestLabeledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropLinks""" comments: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType @@ -370,36 +722,93 @@ class WebhookPullRequestLabeledPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -408,18 +817,42 @@ class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLabeledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestLabeledPropPullRequestPropBase""" @@ -430,6 +863,18 @@ class WebhookPullRequestLabeledPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestLabeledPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestLabeledPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -457,7 +902,392 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestLabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -517,7 +1347,7 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -532,10 +1362,10 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -569,68 +1399,9 @@ class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestLabeledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestLabeledPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -654,7 +1425,7 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -690,7 +1461,8 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -705,15 +1477,16 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -733,7 +1506,7 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -754,6 +1527,18 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -781,6 +1566,35 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -793,6 +1607,18 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTyp triage: NotRequired[bool] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -820,6 +1646,35 @@ class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -848,6 +1703,34 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1T url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -868,6 +1751,26 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1P url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropPar + ent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -894,6 +1797,34 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType(TypedD url: NotRequired[str] +class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -912,42 +1843,97 @@ class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentT url: str +class WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestLabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestLabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestLabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropBaseType", + "WebhookPullRequestLabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropHeadType", + "WebhookPullRequestLabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropLinksType", + "WebhookPullRequestLabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMergedByType", + "WebhookPullRequestLabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestLabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLabeledPropPullRequestPropUserType", + "WebhookPullRequestLabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLabeledPropPullRequestType", + "WebhookPullRequestLabeledPropPullRequestTypeForResponse", "WebhookPullRequestLabeledType", + "WebhookPullRequestLabeledTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0748.py b/githubkit/versions/v2022_11_28/types/group_0748.py index ad6c73952..78e90438b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0748.py +++ b/githubkit/versions/v2022_11_28/types/group_0748.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestLockedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestLockedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestLockedTypeForResponse(TypedDict): + """pull_request locked event""" + + action: Literal["locked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestLockedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestLockedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,91 @@ class WebhookPullRequestLockedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestLockedPropPullRequestPropUserType, None] +class WebhookPullRequestLockedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse, None] + ] + milestone: Union[ + WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestLockedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +237,33 @@ class WebhookPullRequestLockedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +290,34 @@ class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType(TypedDict): url: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +332,21 @@ class WebhookPullRequestLockedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType(TypedDict): """User""" @@ -203,6 +374,35 @@ class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType(Type user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -215,6 +415,18 @@ class WebhookPullRequestLockedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse(TypedDict): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -242,6 +454,33 @@ class WebhookPullRequestLockedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -268,6 +507,33 @@ class WebhookPullRequestLockedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -295,6 +561,35 @@ class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType(TypedD user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): @@ -324,7 +619,9 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Ty user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -351,8 +648,62 @@ class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestLockedPropPullRequestPropLinks""" +class WebhookPullRequestLockedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropLinks""" comments: WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType commits: WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType @@ -368,54 +719,137 @@ class WebhookPullRequestLockedPropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType +class WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse + ) + review_comments: WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestLockedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestLockedPropPullRequestPropBase""" @@ -426,6 +860,18 @@ class WebhookPullRequestLockedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestLockedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestLockedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -453,7 +899,386 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestLockedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestLockedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -513,7 +1338,7 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -528,10 +1353,10 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -565,66 +1390,7 @@ class WebhookPullRequestLockedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType(TypedDict): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestLockedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestLockedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestLockedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse(TypedDict): """Repository A git repository @@ -648,7 +1414,7 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -684,7 +1450,8 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -699,15 +1466,16 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -727,7 +1495,7 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -746,6 +1514,18 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType(Typ url: Union[str, None] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -773,6 +1553,35 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -785,6 +1594,18 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType triage: NotRequired[bool] +class WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestLockedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -812,6 +1633,33 @@ class WebhookPullRequestLockedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -840,6 +1688,34 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Ty url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -860,6 +1736,26 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Pr url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropPare + nt + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -886,6 +1782,34 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType(TypedDi url: NotRequired[str] +class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -904,42 +1828,97 @@ class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTy url: str +class WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestLockedPropPullRequestPropAssigneeType", + "WebhookPullRequestLockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestLockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestLockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestLockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestLockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropBaseType", + "WebhookPullRequestLockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestLockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropHeadType", + "WebhookPullRequestLockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestLockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestLockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropLinksType", + "WebhookPullRequestLockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMergedByType", + "WebhookPullRequestLockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestLockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropMilestoneType", + "WebhookPullRequestLockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestLockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestLockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestLockedPropPullRequestPropUserType", + "WebhookPullRequestLockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestLockedPropPullRequestType", + "WebhookPullRequestLockedPropPullRequestTypeForResponse", "WebhookPullRequestLockedType", + "WebhookPullRequestLockedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0749.py b/githubkit/versions/v2022_11_28/types/group_0749.py index c16859a76..37e47e7da 100644 --- a/githubkit/versions/v2022_11_28/types/group_0749.py +++ b/githubkit/versions/v2022_11_28/types/group_0749.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0040 import MilestoneType -from .group_0450 import EnterpriseWebhooksType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0488 import WebhooksPullRequest5Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0040 import MilestoneType, MilestoneTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0488 import WebhooksPullRequest5Type, WebhooksPullRequest5TypeForResponse class WebhookPullRequestMilestonedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestMilestonedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookPullRequestMilestonedType",) +class WebhookPullRequestMilestonedTypeForResponse(TypedDict): + """pull_request milestoned event""" + + action: Literal["milestoned"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + milestone: NotRequired[MilestoneTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhooksPullRequest5TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookPullRequestMilestonedType", + "WebhookPullRequestMilestonedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0750.py b/githubkit/versions/v2022_11_28/types/group_0750.py index b1c881d6b..5f0f6cd41 100644 --- a/githubkit/versions/v2022_11_28/types/group_0750.py +++ b/githubkit/versions/v2022_11_28/types/group_0750.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestOpenedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestOpenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestOpenedType",) +class WebhookPullRequestOpenedTypeForResponse(TypedDict): + """pull_request opened event""" + + action: Literal["opened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestOpenedType", + "WebhookPullRequestOpenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0751.py b/githubkit/versions/v2022_11_28/types/group_0751.py index 0e3d66c59..c0c0fc6e2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0751.py +++ b/githubkit/versions/v2022_11_28/types/group_0751.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestReadyForReviewType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestReadyForReviewType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestReadyForReviewType",) +class WebhookPullRequestReadyForReviewTypeForResponse(TypedDict): + """pull_request ready_for_review event""" + + action: Literal["ready_for_review"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestReadyForReviewType", + "WebhookPullRequestReadyForReviewTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0752.py b/githubkit/versions/v2022_11_28/types/group_0752.py index 8f6d01e2f..0d99a1b6b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0752.py +++ b/githubkit/versions/v2022_11_28/types/group_0752.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0486 import PullRequestWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0486 import PullRequestWebhookType, PullRequestWebhookTypeForResponse class WebhookPullRequestReopenedType(TypedDict): @@ -33,4 +36,20 @@ class WebhookPullRequestReopenedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookPullRequestReopenedType",) +class WebhookPullRequestReopenedTypeForResponse(TypedDict): + """pull_request reopened event""" + + action: Literal["reopened"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: PullRequestWebhookTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookPullRequestReopenedType", + "WebhookPullRequestReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0753.py b/githubkit/versions/v2022_11_28/types/group_0753.py index d8ef2daa7..9a1b73d67 100644 --- a/githubkit/versions/v2022_11_28/types/group_0753.py +++ b/githubkit/versions/v2022_11_28/types/group_0753.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewCommentCreatedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestReviewCommentCreatedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentCreatedTypeForResponse(TypedDict): + """pull_request_review_comment created event""" + + action: Literal["created"] + comment: WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentCreatedPropCommentType(TypedDict): """Pull Request Review Comment @@ -78,6 +94,55 @@ class WebhookPullRequestReviewCommentCreatedPropCommentType(TypedDict): user: Union[WebhookPullRequestReviewCommentCreatedPropCommentPropUserType, None] +class WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse(TypedDict): + """Pull Request Review Comment + + The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment- + for-a-pull-request) itself. + """ + + links: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: Union[int, None] + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: ( + WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse + ) + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType(TypedDict): """Reactions""" @@ -93,6 +158,23 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType(TypedDi url: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropUserType(TypedDict): """User""" @@ -120,6 +202,35 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType(TypedDict): """WebhookPullRequestReviewCommentCreatedPropCommentPropLinks""" @@ -130,12 +241,30 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType(TypedDict): self_: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropCommentPropLinks""" + + html: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType( TypedDict ): @@ -144,12 +273,28 @@ class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestT href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentCreatedPropPullRequest""" @@ -225,6 +370,87 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequest""" + + links: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -252,7 +478,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -278,24 +504,10 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTyp subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType(TypedDict): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -319,53 +531,11 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnab site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType(TypedDict): - """Milestone - - A collection of related issues and pull requests. - """ - - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, - None, - ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -391,11 +561,42 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCrea subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type( - TypedDict +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType( + TypedDict ): """User""" @@ -418,12 +619,14 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -445,107 +648,183 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDic site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType( TypedDict ): - """Link""" + """Label""" - href: str + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse( TypedDict ): - """Link""" - - href: str - + """Label""" -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType( - TypedDict -): - """Link""" + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str - href: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType(TypedDict): + """Milestone -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType( - TypedDict -): - """Link""" + A collection of related issues and pull requests. + """ - href: str + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse( TypedDict ): - """Link""" + """Milestone - href: str + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type( TypedDict ): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + """User""" - label: str - ref: str - repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, None - ] + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): """User""" @@ -569,12 +848,689 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -622,7 +1578,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( has_pages: bool has_projects: bool has_wiki: bool - has_discussions: bool + has_discussions: NotRequired[bool] homepage: Union[str, None] hooks_url: str html_url: str @@ -636,7 +1592,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -652,11 +1608,11 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -690,76 +1646,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermiss - ions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -785,7 +1672,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -821,7 +1708,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -837,16 +1724,16 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -866,7 +1753,7 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -887,6 +1774,18 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -916,6 +1815,35 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -930,6 +1858,20 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -959,6 +1901,35 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -987,6 +1958,34 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -1007,6 +2006,26 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1035,6 +2054,34 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1055,48 +2102,111 @@ class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropReactionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentPropUserType", + "WebhookPullRequestReviewCommentCreatedPropCommentPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropCommentType", + "WebhookPullRequestReviewCommentCreatedPropCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentCreatedPropPullRequestType", + "WebhookPullRequestReviewCommentCreatedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentCreatedType", + "WebhookPullRequestReviewCommentCreatedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0754.py b/githubkit/versions/v2022_11_28/types/group_0754.py index f574182e8..5ac9a70c7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0754.py +++ b/githubkit/versions/v2022_11_28/types/group_0754.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0489 import WebhooksReviewCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0489 import WebhooksReviewCommentType, WebhooksReviewCommentTypeForResponse class WebhookPullRequestReviewCommentDeletedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookPullRequestReviewCommentDeletedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentDeletedTypeForResponse(TypedDict): + """pull_request_review_comment deleted event""" + + action: Literal["deleted"] + comment: WebhooksReviewCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentDeletedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentDeletedPropPullRequest""" @@ -109,6 +125,87 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequest""" + + links: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +233,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -164,6 +290,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -179,6 +333,23 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType(Typ merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -208,6 +379,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnab user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -222,6 +422,20 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -249,6 +463,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType(Typ url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -278,7 +521,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCrea user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -307,7 +550,9 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -329,50 +574,174 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDic site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" href: str @@ -385,6 +754,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTyp href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -393,6 +770,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -401,6 +786,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -409,6 +802,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -417,6 +818,14 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatuses href: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBase""" @@ -429,6 +838,21 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType(TypedDic ] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType( TypedDict ): @@ -458,7 +882,410 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -520,7 +1347,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -536,11 +1363,11 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -574,76 +1401,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermiss - ions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -669,7 +1427,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -705,7 +1463,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -721,16 +1479,16 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -750,7 +1508,7 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -771,6 +1529,18 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -800,6 +1570,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -814,6 +1613,20 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -843,6 +1656,35 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -871,6 +1713,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -891,6 +1761,26 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -919,6 +1809,34 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -939,41 +1857,97 @@ class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentDeletedPropPullRequestType", + "WebhookPullRequestReviewCommentDeletedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentDeletedType", + "WebhookPullRequestReviewCommentDeletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0755.py b/githubkit/versions/v2022_11_28/types/group_0755.py index cc904c573..7c20c743c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0755.py +++ b/githubkit/versions/v2022_11_28/types/group_0755.py @@ -13,13 +13,16 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0469 import WebhooksChangesType -from .group_0489 import WebhooksReviewCommentType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0469 import WebhooksChangesType, WebhooksChangesTypeForResponse +from .group_0489 import WebhooksReviewCommentType, WebhooksReviewCommentTypeForResponse class WebhookPullRequestReviewCommentEditedType(TypedDict): @@ -36,6 +39,20 @@ class WebhookPullRequestReviewCommentEditedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewCommentEditedTypeForResponse(TypedDict): + """pull_request_review_comment edited event""" + + action: Literal["edited"] + changes: WebhooksChangesTypeForResponse + comment: WebhooksReviewCommentTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewCommentEditedPropPullRequestType(TypedDict): """WebhookPullRequestReviewCommentEditedPropPullRequest""" @@ -111,6 +128,87 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequest""" + + links: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + ] + base: WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: NotRequired[bool] + head: WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +236,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -167,6 +294,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -182,6 +338,23 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType(Type merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -211,6 +384,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabl user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -225,6 +427,20 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -252,6 +468,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType(Type url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -281,7 +526,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreat user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -305,12 +550,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -332,45 +579,161 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] - user_view_type: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str - + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + user_view_type: NotRequired[str] + url: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + user_view_type: NotRequired[str] + url: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType( TypedDict @@ -380,6 +743,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType( href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType( TypedDict ): @@ -388,6 +759,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -396,6 +775,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCom href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -404,6 +791,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCom href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -412,6 +807,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType( href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -420,6 +823,14 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesT href: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewCommentEditedPropPullRequestPropBase""" @@ -432,6 +843,21 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType(TypedDict ] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType( TypedDict ): @@ -461,7 +887,410 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -523,7 +1352,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -539,11 +1368,11 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -577,76 +1406,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType( web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissi - ons - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewCommentEditedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -672,7 +1432,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -708,7 +1468,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -724,16 +1484,16 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -753,7 +1513,7 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -774,6 +1534,18 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLi url: Union[str, None] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -803,6 +1575,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOw user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -817,6 +1618,20 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPe triage: NotRequired[bool] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissi + ons + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -846,6 +1661,35 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -874,6 +1718,34 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers url: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -894,6 +1766,26 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewers url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsO + neof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -922,6 +1814,34 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItem url: NotRequired[str] +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -942,41 +1862,97 @@ class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItem url: str +class WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropP + arent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewCommentEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewCommentEditedPropPullRequestType", + "WebhookPullRequestReviewCommentEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewCommentEditedType", + "WebhookPullRequestReviewCommentEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0756.py b/githubkit/versions/v2022_11_28/types/group_0756.py index a6711927f..d2eea6f71 100644 --- a/githubkit/versions/v2022_11_28/types/group_0756.py +++ b/githubkit/versions/v2022_11_28/types/group_0756.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewDismissedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestReviewDismissedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewDismissedTypeForResponse(TypedDict): + """pull_request_review dismissed event""" + + action: Literal["dismissed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhookPullRequestReviewDismissedPropReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewDismissedPropReviewType(TypedDict): """WebhookPullRequestReviewDismissedPropReview @@ -62,6 +78,37 @@ class WebhookPullRequestReviewDismissedPropReviewType(TypedDict): user: Union[WebhookPullRequestReviewDismissedPropReviewPropUserType, None] +class WebhookPullRequestReviewDismissedPropReviewTypeForResponse(TypedDict): + """WebhookPullRequestReviewDismissedPropReview + + The review that was affected. + """ + + links: WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: Union[str, None] + commit_id: str + html_url: str + id: int + node_id: str + pull_request_url: str + state: Literal["dismissed", "approved", "changes_requested"] + submitted_at: str + updated_at: NotRequired[Union[str, None]] + user: Union[ + WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewDismissedPropReviewPropUserType(TypedDict): """User""" @@ -89,6 +136,33 @@ class WebhookPullRequestReviewDismissedPropReviewPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropReviewPropLinksType(TypedDict): """WebhookPullRequestReviewDismissedPropReviewPropLinks""" @@ -98,12 +172,27 @@ class WebhookPullRequestReviewDismissedPropReviewPropLinksType(TypedDict): ) +class WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestReviewDismissedPropReviewPropLinks""" + + html: WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse + + class WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType( TypedDict ): @@ -112,6 +201,14 @@ class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType( href: str +class WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewDismissedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -182,6 +279,84 @@ class WebhookPullRequestReviewDismissedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewDismissedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -209,7 +384,9 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType(TypedDict user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -233,26 +410,10 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(Typ subscriptions_url: NotRequired[str] type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType(TypedDict): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType( - TypedDict -): +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -274,51 +435,11 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledBy site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType(TypedDict): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType(TypedDict): - """Milestone - - A collection of related issues and pull requests. - """ - - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, - None, - ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -342,12 +463,43 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTy site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] - user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -371,12 +523,14 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -398,99 +552,239 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" +class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType(TypedDict): + """Label""" - comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse( TypedDict ): - """Link""" - - href: str + """Label""" + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - href: str +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType(TypedDict): + """Milestone + A collection of related issues and pull requests. + """ -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType(TypedDict): - """Link""" + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str - href: str +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType(TypedDict): - """Link""" + A collection of related issues and pull requests. + """ - href: str + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType(TypedDict): - """Link""" +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" +class WebhookPullRequestReviewDismissedPropPullRequestPropUserType(TypedDict): + """User""" - label: str - ref: str - repo: WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, None - ] + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -512,12 +806,623 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(Typed site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse + html: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse + ) + issue: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: ( + WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse + ) + statuses: WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -577,7 +1482,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -593,11 +1498,11 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -631,74 +1536,9 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType(Typed web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewDismissedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -722,7 +1562,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -758,7 +1598,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -774,16 +1614,16 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -803,7 +1643,7 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType(Typed teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -824,6 +1664,18 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicens url: Union[str, None] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -853,6 +1705,35 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerT user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -865,6 +1746,18 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermis triage: NotRequired[bool] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -892,6 +1785,35 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -920,6 +1842,34 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -940,6 +1890,26 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof + 1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -968,6 +1938,34 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -988,46 +1986,107 @@ class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPro url: str +class WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParen + t + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewDismissedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropBaseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropHeadType", + "WebhookPullRequestReviewDismissedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropLinksType", + "WebhookPullRequestReviewDismissedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewDismissedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewDismissedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestPropUserType", + "WebhookPullRequestReviewDismissedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropPullRequestType", + "WebhookPullRequestReviewDismissedPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropLinksType", + "WebhookPullRequestReviewDismissedPropReviewPropLinksTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewPropUserType", + "WebhookPullRequestReviewDismissedPropReviewPropUserTypeForResponse", "WebhookPullRequestReviewDismissedPropReviewType", + "WebhookPullRequestReviewDismissedPropReviewTypeForResponse", "WebhookPullRequestReviewDismissedType", + "WebhookPullRequestReviewDismissedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0757.py b/githubkit/versions/v2022_11_28/types/group_0757.py index c103fc10b..85c74dcf1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0757.py +++ b/githubkit/versions/v2022_11_28/types/group_0757.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0490 import WebhooksReviewType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0490 import WebhooksReviewType, WebhooksReviewTypeForResponse class WebhookPullRequestReviewEditedType(TypedDict): @@ -35,18 +38,44 @@ class WebhookPullRequestReviewEditedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewEditedTypeForResponse(TypedDict): + """pull_request_review edited event""" + + action: Literal["edited"] + changes: WebhookPullRequestReviewEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewEditedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhooksReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewEditedPropChangesType(TypedDict): """WebhookPullRequestReviewEditedPropChanges""" body: NotRequired[WebhookPullRequestReviewEditedPropChangesPropBodyType] +class WebhookPullRequestReviewEditedPropChangesTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropChanges""" + + body: NotRequired[WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse] + + class WebhookPullRequestReviewEditedPropChangesPropBodyType(TypedDict): """WebhookPullRequestReviewEditedPropChangesPropBody""" from_: str +class WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropChangesPropBody""" + + from_: str + + class WebhookPullRequestReviewEditedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -113,6 +142,81 @@ class WebhookPullRequestReviewEditedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewEditedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewEditedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -140,6 +244,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -166,6 +299,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType(TypedD url: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -181,6 +342,23 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -210,6 +388,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTyp user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -222,6 +429,20 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType(TypedDict url: str +class WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -248,6 +469,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -277,7 +527,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -306,7 +556,9 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -333,24 +585,132 @@ class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: ( + WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse + ) + review_comment: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): """Link""" href: str @@ -362,18 +722,42 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType(Type href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -382,6 +766,14 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTyp href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -390,18 +782,42 @@ class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTy href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewEditedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewEditedPropPullRequestPropBase""" @@ -412,6 +828,19 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -439,7 +868,379 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType(TypedDic user_view_type: NotRequired[str] -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestReviewEditedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -498,7 +1299,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -512,10 +1313,10 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -543,70 +1344,9 @@ class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType(TypedDic watchers_count: int -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewEditedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewEditedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -630,7 +1370,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -665,7 +1405,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -679,15 +1419,16 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -703,7 +1444,7 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType(TypedDic teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -722,6 +1463,18 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTy url: Union[str, None] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -751,6 +1504,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -763,6 +1545,18 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissio triage: NotRequired[bool] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -790,6 +1584,35 @@ class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType(TypedDic user_view_type: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -818,6 +1641,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -838,6 +1689,26 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOn url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Pr + opParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -866,6 +1737,34 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType( url: NotRequired[str] +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -884,43 +1783,99 @@ class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropPa url: str +class WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewEditedPropChangesPropBodyType", + "WebhookPullRequestReviewEditedPropChangesPropBodyTypeForResponse", "WebhookPullRequestReviewEditedPropChangesType", + "WebhookPullRequestReviewEditedPropChangesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewEditedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropBaseType", + "WebhookPullRequestReviewEditedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropHeadType", + "WebhookPullRequestReviewEditedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropLinksType", + "WebhookPullRequestReviewEditedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewEditedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewEditedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestPropUserType", + "WebhookPullRequestReviewEditedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewEditedPropPullRequestType", + "WebhookPullRequestReviewEditedPropPullRequestTypeForResponse", "WebhookPullRequestReviewEditedType", + "WebhookPullRequestReviewEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0758.py b/githubkit/versions/v2022_11_28/types/group_0758.py index f04b54baf..b37bbc3cf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0758.py +++ b/githubkit/versions/v2022_11_28/types/group_0758.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestRemovedOneof0Type(TypedDict): @@ -36,6 +39,25 @@ class WebhookPullRequestReviewRequestRemovedOneof0Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestRemovedOneof0""" + + action: Literal["review_request_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse + ) + repository: RepositoryWebhooksTypeForResponse + requested_reviewer: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse, + None, + ] + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType(TypedDict): """User""" @@ -63,6 +85,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType(TypedDict): """Pull Request""" @@ -158,6 +209,104 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType(TypedDict) ] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse( + TypedDict +): + """Pull Request""" + + links: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType( TypedDict ): @@ -187,7 +336,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -216,24 +365,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesIt user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -262,21 +394,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -305,36 +423,41 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -363,7 +486,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -392,7 +515,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType( TypedDict ): """User""" @@ -421,107 +572,894 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" - - comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType - html: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType - ) - issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType - self_: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType - ) - statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """Link""" - - href: str - + """User""" -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType( - TypedDict + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType + html: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType + ) + issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType + self_: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType + ) + statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse( + TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBase""" + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" label: str ref: str repo: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType ) sha: str user: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, None, ] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType( TypedDict ): """User""" @@ -550,7 +1488,36 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUse user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -612,7 +1579,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -628,11 +1595,11 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -666,108 +1633,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRep web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropP - ermissions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHead""" - - label: str - ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType - ) - sha: str - user: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType, - None, - ] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -793,7 +1659,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -829,7 +1695,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -845,16 +1711,16 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -874,7 +1740,7 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -895,6 +1761,18 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep url: Union[str, None] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -924,6 +1802,35 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -938,6 +1845,20 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRep triage: NotRequired[bool] +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropP + ermissions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -966,6 +1887,34 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -986,6 +1935,26 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewer + sItemsOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1014,6 +1983,34 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1034,43 +2031,101 @@ class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsIte + msPropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestRemovedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0759.py b/githubkit/versions/v2022_11_28/types/group_0759.py index d5a84373a..af7ac3f0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0759.py +++ b/githubkit/versions/v2022_11_28/types/group_0759.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestRemovedOneof1Type(TypedDict): @@ -34,6 +37,24 @@ class WebhookPullRequestReviewRequestRemovedOneof1Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestRemovedOneof1""" + + action: Literal["review_request_removed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse + ) + repository: RepositoryWebhooksTypeForResponse + requested_team: ( + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse + ) + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType(TypedDict): """Team @@ -60,6 +81,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType(TypedDic url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType( TypedDict ): @@ -78,6 +127,24 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTyp url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType(TypedDict): """Pull Request""" @@ -173,6 +240,104 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType(TypedDict) ] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse( + TypedDict +): + """Pull Request""" + + links: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType( TypedDict ): @@ -202,7 +367,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -231,24 +396,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesIt user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -277,21 +425,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType( - TypedDict -): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): """User""" @@ -320,36 +454,41 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -378,7 +517,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePr user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -407,7 +546,35 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType( TypedDict ): """User""" @@ -436,107 +603,894 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + """User""" - comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType - html: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType - ) - issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType - self_: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType - ) + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType + html: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType + ) + issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType + self_: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType + ) statuses: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP + ermissions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" - href: str + label: str + ref: str + repo: ( + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType + ) + sha: str + user: Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, + None, + ] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse( TypedDict ): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBase""" + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" label: str ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType - ) + repo: WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse sha: str user: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse, None, ] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType( TypedDict ): """User""" @@ -565,7 +1519,36 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUse user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -627,7 +1610,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -643,11 +1626,11 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -681,108 +1664,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRep web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropP - ermissions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType( - TypedDict -): - """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHead""" - - label: str - ref: str - repo: ( - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType - ) - sha: str - user: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType, - None, - ] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -808,7 +1690,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -844,7 +1726,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -860,16 +1742,16 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -889,7 +1771,7 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -910,6 +1792,18 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep url: Union[str, None] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -939,6 +1833,35 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -953,6 +1876,20 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRep triage: NotRequired[bool] +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropP + ermissions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -981,6 +1918,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -1001,6 +1966,26 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedRe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewer + sItemsOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1029,6 +2014,34 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1049,44 +2062,103 @@ class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTe url: str +class WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsIte + msPropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestRemovedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestRemovedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestRemovedOneof1Type", + "WebhookPullRequestReviewRequestRemovedOneof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0760.py b/githubkit/versions/v2022_11_28/types/group_0760.py index 70fa53641..08a42997f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0760.py +++ b/githubkit/versions/v2022_11_28/types/group_0760.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestedOneof0Type(TypedDict): @@ -36,6 +39,23 @@ class WebhookPullRequestReviewRequestedOneof0Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestedOneof0TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestedOneof0""" + + action: Literal["review_requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requested_reviewer: Union[ + WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse, + None, + ] + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType(TypedDict): """User""" @@ -63,6 +83,35 @@ class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType(TypedDict user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestType(TypedDict): """Pull Request""" @@ -154,6 +203,104 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType(TypedDict): """User""" @@ -181,7 +328,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -210,24 +357,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -251,26 +381,14 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEna site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -292,41 +410,46 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(Typ site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -350,12 +473,12 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCre site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -384,7 +507,35 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -406,107 +557,916 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDi site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBase""" +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" label: str ref: str - repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType sha: str user: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType, None + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse, + None, ] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse( TypedDict ): """User""" @@ -535,7 +1495,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -597,7 +1557,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -613,11 +1573,11 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -651,103 +1611,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermis - sions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -773,7 +1637,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -809,7 +1673,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -825,16 +1689,16 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -854,7 +1718,7 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -875,6 +1739,18 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp url: Union[str, None] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -904,6 +1780,35 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -918,6 +1823,20 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoProp triage: NotRequired[bool] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermis + sions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -946,6 +1865,34 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -966,6 +1913,26 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItem + sOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -994,6 +1961,34 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsIt url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1014,43 +2009,101 @@ class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsIt url: str +class WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof0PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerType", + "WebhookPullRequestReviewRequestedOneof0PropRequestedReviewerTypeForResponse", "WebhookPullRequestReviewRequestedOneof0Type", + "WebhookPullRequestReviewRequestedOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0761.py b/githubkit/versions/v2022_11_28/types/group_0761.py index 2fdc603c0..f37b546d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0761.py +++ b/githubkit/versions/v2022_11_28/types/group_0761.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewRequestedOneof1Type(TypedDict): @@ -34,6 +37,22 @@ class WebhookPullRequestReviewRequestedOneof1Type(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewRequestedOneof1TypeForResponse(TypedDict): + """WebhookPullRequestReviewRequestedOneof1""" + + action: Literal["review_requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + requested_team: ( + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse + ) + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType(TypedDict): """Team @@ -59,6 +78,34 @@ class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType(TypedDict): url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType(TypedDict): """WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParent""" @@ -75,6 +122,24 @@ class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType(Typ url: str +class WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestType(TypedDict): """Pull Request""" @@ -166,6 +231,104 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType(TypedDict): """User""" @@ -193,7 +356,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse( TypedDict ): """User""" @@ -222,24 +385,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType( - TypedDict -): - """PullRequestAutoMerge - - The status of auto merging a pull request. - """ - - commit_message: Union[str, None] - commit_title: Union[str, None] - enabled_by: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, - None, - ] - merge_method: Literal["merge", "squash", "rebase"] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType( TypedDict ): """User""" @@ -263,26 +409,14 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEna site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse( TypedDict ): - """Label""" - - color: str - default: bool - description: Union[str, None] - id: int - name: str - node_id: str - url: str - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -304,41 +438,46 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(Typ site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType( TypedDict ): - """Milestone + """PullRequestAutoMerge - A collection of related issues and pull requests. + The status of auto merging a pull request. """ - closed_at: Union[datetime, None] - closed_issues: int - created_at: datetime - creator: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType, None, ] - description: Union[str, None] - due_on: Union[datetime, None] - html_url: str - id: int - labels_url: str - node_id: str - number: int - open_issues: int - state: Literal["open", "closed"] - title: str - updated_at: datetime - url: str + merge_method: Literal["merge", "squash", "rebase"] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType( TypedDict ): """User""" @@ -362,12 +501,12 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCre site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse( TypedDict ): """User""" @@ -396,7 +535,35 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType(TypedDict): """User""" avatar_url: NotRequired[str] @@ -418,19 +585,278 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDi site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" - comments: ( - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[datetime, None] + closed_issues: int + created_at: datetime + creator: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType, + None, + ] + description: Union[str, None] + due_on: Union[datetime, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: datetime + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType ) html: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType issue: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType @@ -442,83 +868,633 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType(TypedD ) -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, None + ] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): - """Link""" + """Repository - href: str + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse( TypedDict ): - """Link""" + """License""" - href: str + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( TypedDict ): - """Link""" + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis + sions + """ - href: str + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType( - TypedDict -): - """Link""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" - href: str + label: str + ref: str + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType + sha: str + user: Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, None + ] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBase""" +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" label: str ref: str - repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType + repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse sha: str user: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType, None + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse, + None, ] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse( TypedDict ): """User""" @@ -547,7 +1523,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType user_view_type: NotRequired[str] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType( TypedDict ): """Repository @@ -609,7 +1585,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -625,11 +1601,11 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -663,103 +1639,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType( - TypedDict -): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermis - sions - """ - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType - sha: str - user: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType( +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): """Repository @@ -785,7 +1665,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -821,7 +1701,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -837,16 +1717,16 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -866,7 +1746,7 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -887,6 +1767,18 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp url: Union[str, None] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -916,6 +1808,35 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp user_view_type: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -930,6 +1851,20 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoProp triage: NotRequired[bool] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermis + sions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -958,6 +1893,34 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -978,6 +1941,26 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewe url: str +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItem + sOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -1006,6 +1989,34 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsIt url: NotRequired[str] +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -1026,44 +2037,103 @@ class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsIt url: str +class WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropPullRequestType", + "WebhookPullRequestReviewRequestedOneof1PropPullRequestTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamPropParentTypeForResponse", "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamType", + "WebhookPullRequestReviewRequestedOneof1PropRequestedTeamTypeForResponse", "WebhookPullRequestReviewRequestedOneof1Type", + "WebhookPullRequestReviewRequestedOneof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0762.py b/githubkit/versions/v2022_11_28/types/group_0762.py index 8f3d27c6f..fd9c74c91 100644 --- a/githubkit/versions/v2022_11_28/types/group_0762.py +++ b/githubkit/versions/v2022_11_28/types/group_0762.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0490 import WebhooksReviewType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0490 import WebhooksReviewType, WebhooksReviewTypeForResponse class WebhookPullRequestReviewSubmittedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookPullRequestReviewSubmittedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestReviewSubmittedTypeForResponse(TypedDict): + """pull_request_review submitted event""" + + action: Literal["submitted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + review: WebhooksReviewTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestReviewSubmittedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -104,6 +120,84 @@ class WebhookPullRequestReviewSubmittedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewSubmittedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -131,6 +225,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType(TypedDict user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -157,6 +280,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType(Typ url: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -172,6 +323,23 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType(TypedDic merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -201,6 +369,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledBy user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -213,6 +410,20 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType(TypedD url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -240,6 +451,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType(TypedDic url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -269,7 +509,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTy user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -298,7 +538,9 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -325,32 +567,152 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" - - comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" + """User""" - href: str + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse + html: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse + ) + issue: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse + ) + statuses: WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse( TypedDict ): """Link""" @@ -364,12 +726,28 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType(Type href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -378,6 +756,14 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewComment href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -386,12 +772,28 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewComment href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -400,6 +802,14 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType( href: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewSubmittedPropPullRequestPropBase""" @@ -412,6 +822,23 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType(TypedDict): ] +class WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBase""" + + label: str + ref: str + repo: ( + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse + ) + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -439,7 +866,404 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType(Typed user_view_type: NotRequired[str] -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, None + ] + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, None + ] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -499,7 +1323,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -515,11 +1339,11 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, None, ] permissions: NotRequired[ - WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -553,74 +1377,9 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType(Typed web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestReviewSubmittedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType, None - ] - sha: str - user: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType, None - ] - - -class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -644,7 +1403,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -680,7 +1439,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -696,16 +1455,16 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType, + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -725,7 +1484,7 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType(Typed teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -746,6 +1505,18 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicens url: Union[str, None] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -775,6 +1546,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerT user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -787,6 +1587,18 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermis triage: NotRequired[bool] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -814,6 +1626,35 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType(Typed user_view_type: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -842,6 +1683,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -862,6 +1731,26 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItem url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof + 1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -890,6 +1779,34 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -910,41 +1827,97 @@ class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPro url: str +class WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParen + t + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestPropUserType", + "WebhookPullRequestReviewSubmittedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewSubmittedPropPullRequestType", + "WebhookPullRequestReviewSubmittedPropPullRequestTypeForResponse", "WebhookPullRequestReviewSubmittedType", + "WebhookPullRequestReviewSubmittedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0763.py b/githubkit/versions/v2022_11_28/types/group_0763.py index fb41fe16f..eb83aa40c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0763.py +++ b/githubkit/versions/v2022_11_28/types/group_0763.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewThreadResolvedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestReviewThreadResolvedType(TypedDict): updated_at: NotRequired[Union[datetime, None]] +class WebhookPullRequestReviewThreadResolvedTypeForResponse(TypedDict): + """pull_request_review_thread resolved event""" + + action: Literal["resolved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + thread: WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse + updated_at: NotRequired[Union[str, None]] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -107,6 +124,85 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType, None] +class WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -134,6 +230,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType(Type user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -162,6 +287,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTyp url: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -177,6 +330,23 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType(Typ merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -206,6 +376,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnab user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -220,6 +419,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType( url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -247,6 +460,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType(Typ url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -276,7 +518,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCrea user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -300,12 +542,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer site_admin: NotRequired[bool] starred_url: NotRequired[str] subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + type: NotRequired[Literal["Bot", "User", "Organization"]] url: NotRequired[str] user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -332,47 +576,171 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDic user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType( @@ -383,6 +751,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTyp href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -391,6 +767,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -399,6 +783,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCo href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -407,6 +799,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -415,6 +815,14 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatuses href: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBase""" @@ -427,6 +835,21 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType(TypedDic ] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType( TypedDict ): @@ -456,7 +879,145 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType( user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): """Repository @@ -482,7 +1043,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -518,7 +1079,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -532,16 +1093,16 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -557,7 +1118,7 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType( teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -577,6 +1138,18 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropL url: Union[str, None] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): @@ -606,6 +1179,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropO user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): @@ -620,6 +1222,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHead""" @@ -634,6 +1250,24 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType(TypedDic ] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse, + None, + ] + sha: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType( TypedDict ): @@ -743,6 +1377,115 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType( web_commit_signoff_required: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType( TypedDict ): @@ -755,7 +1498,48 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropL url: Union[str, None] -class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType( +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( TypedDict ): """User""" @@ -798,6 +1582,20 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropP triage: NotRequired[bool] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermiss + ions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -827,6 +1625,35 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -855,6 +1682,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -875,6 +1730,26 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewer url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItems + Oneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -903,6 +1778,34 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsIte url: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -923,6 +1826,26 @@ class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsIte url: str +class WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsProp + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadResolvedPropThreadType(TypedDict): """WebhookPullRequestReviewThreadResolvedPropThread""" @@ -932,6 +1855,15 @@ class WebhookPullRequestReviewThreadResolvedPropThreadType(TypedDict): node_id: str +class WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse(TypedDict): + """WebhookPullRequestReviewThreadResolvedPropThread""" + + comments: list[ + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse + ] + node_id: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType(TypedDict): """Pull Request Review Comment @@ -982,6 +1914,56 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType(Type ] +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse( + TypedDict +): + """Pull Request Review Comment + + The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment- + for-a-pull-request) itself. + """ + + links: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: Union[int, None] + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType( TypedDict ): @@ -999,6 +1981,23 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReact url: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType( TypedDict ): @@ -1028,6 +2027,35 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserT user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType( TypedDict ): @@ -1038,6 +2066,16 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks self_: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks""" + + html: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType( TypedDict ): @@ -1046,6 +2084,14 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType( TypedDict ): @@ -1054,6 +2100,14 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType( TypedDict ): @@ -1062,49 +2116,101 @@ class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinks href: str +class WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + __all__ = ( "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadResolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadResolvedPropThreadType", + "WebhookPullRequestReviewThreadResolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadResolvedType", + "WebhookPullRequestReviewThreadResolvedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0764.py b/githubkit/versions/v2022_11_28/types/group_0764.py index c8f50b9a0..9e588361a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0764.py +++ b/githubkit/versions/v2022_11_28/types/group_0764.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestReviewThreadUnresolvedType(TypedDict): @@ -34,6 +37,20 @@ class WebhookPullRequestReviewThreadUnresolvedType(TypedDict): updated_at: NotRequired[Union[datetime, None]] +class WebhookPullRequestReviewThreadUnresolvedTypeForResponse(TypedDict): + """pull_request_review_thread unresolved event""" + + action: Literal["unresolved"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + thread: WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse + updated_at: NotRequired[Union[str, None]] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestType(TypedDict): """Simple Pull Request""" @@ -109,6 +126,87 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestType(TypedDict): ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse(TypedDict): + """Simple Pull Request""" + + links: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse + ) + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + assignee: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse, + None, + ] + assignees: list[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse, + None, + ] + base: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + closed_at: Union[str, None] + comments_url: str + commits_url: str + created_at: str + diff_url: str + draft: bool + head: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + merge_commit_sha: Union[str, None] + merged_at: Union[str, None] + milestone: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse, + None, + ] + node_id: str + number: int + patch_url: str + requested_reviewers: list[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType( TypedDict ): @@ -138,6 +236,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType( user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType( TypedDict ): @@ -166,6 +293,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsT url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType( TypedDict ): @@ -183,6 +338,23 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType( merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: str + enabled_by: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -212,6 +384,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEn user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType( TypedDict ): @@ -226,6 +427,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType( TypedDict ): @@ -255,6 +470,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType( url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -284,7 +528,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCr user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -313,7 +557,9 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -340,47 +586,171 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedD user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" - - comments: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType - ) - commits: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType - ) - html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType - review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType - review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType - self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType - statuses: ( - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType - ) - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType( - TypedDict -): - """Link""" - - href: str - - -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( TypedDict ): - """Link""" - - href: str + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType + ) + commits: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType + ) + html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType + review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType + review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType + self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType + statuses: ( + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType + ) + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinks""" + + comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse + commits: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse + html: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType( + TypedDict +): + """Link""" + + href: str + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType( @@ -391,6 +761,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueT href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -399,6 +777,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReview href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -407,6 +793,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReview href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType( TypedDict ): @@ -415,6 +809,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTy href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType( TypedDict ): @@ -423,6 +825,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatus href: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBase""" @@ -436,6 +846,21 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType(TypedD ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType( TypedDict ): @@ -465,7 +890,145 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTyp user_view_type: NotRequired[str] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse( TypedDict ): """Repository @@ -491,7 +1054,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -527,7 +1090,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -541,16 +1104,16 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType, + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, None, ] permissions: NotRequired[ - WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -566,7 +1129,7 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTyp teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str visibility: Literal["public", "private", "internal"] watchers: int @@ -586,6 +1149,18 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro url: Union[str, None] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType( TypedDict ): @@ -615,6 +1190,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType( TypedDict ): @@ -629,6 +1233,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPro triage: NotRequired[bool] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermi + ssions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHead""" @@ -642,6 +1260,21 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType(TypedD ] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType( TypedDict ): @@ -671,6 +1304,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTyp user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType( TypedDict ): @@ -780,7 +1442,128 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTyp web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType( +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( TypedDict ): """License""" @@ -821,6 +1604,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPro user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -835,6 +1647,20 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPro triage: NotRequired[bool] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermi + ssions + """ + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -863,6 +1689,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -883,6 +1737,26 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReview url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersIte + msOneof1PropParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -911,6 +1785,34 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsI url: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -931,6 +1833,26 @@ class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsI url: str +class WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPr + opParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadType(TypedDict): """WebhookPullRequestReviewThreadUnresolvedPropThread""" @@ -940,6 +1862,15 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadType(TypedDict): node_id: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse(TypedDict): + """WebhookPullRequestReviewThreadUnresolvedPropThread""" + + comments: list[ + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse + ] + node_id: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType( TypedDict ): @@ -992,6 +1923,56 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType( ] +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse( + TypedDict +): + """Pull Request Review Comment + + The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment- + for-a-pull-request) itself. + """ + + links: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + body: str + commit_id: str + created_at: str + diff_hunk: str + html_url: str + id: int + in_reply_to_id: NotRequired[int] + line: Union[int, None] + node_id: str + original_commit_id: str + original_line: int + original_position: int + original_start_line: Union[int, None] + path: str + position: Union[int, None] + pull_request_review_id: Union[int, None] + pull_request_url: str + reactions: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse + side: Literal["LEFT", "RIGHT"] + start_line: Union[int, None] + start_side: Union[None, Literal["LEFT", "RIGHT"]] + subject_type: NotRequired[Literal["line", "file"]] + updated_at: str + url: str + user: Union[ + WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse, + None, + ] + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType( TypedDict ): @@ -1009,6 +1990,23 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropRea url: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse( + TypedDict +): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType( TypedDict ): @@ -1038,6 +2036,35 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUse user_view_type: NotRequired[str] +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType( TypedDict ): @@ -1048,6 +2075,16 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin self_: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse( + TypedDict +): + """WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinks""" + + html: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse + pull_request: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse + self_: WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType( TypedDict ): @@ -1056,6 +2093,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType( TypedDict ): @@ -1064,6 +2109,14 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType( TypedDict ): @@ -1072,49 +2125,101 @@ class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLin href: str +class WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + __all__ = ( "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropHtmlTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropPullRequestTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksPropSelfTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropLinksTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropReactionsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsPropUserTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadPropCommentsItemsTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedPropThreadType", + "WebhookPullRequestReviewThreadUnresolvedPropThreadTypeForResponse", "WebhookPullRequestReviewThreadUnresolvedType", + "WebhookPullRequestReviewThreadUnresolvedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0765.py b/githubkit/versions/v2022_11_28/types/group_0765.py index ea27f5699..b5c562912 100644 --- a/githubkit/versions/v2022_11_28/types/group_0765.py +++ b/githubkit/versions/v2022_11_28/types/group_0765.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestSynchronizeType(TypedDict): @@ -35,6 +38,21 @@ class WebhookPullRequestSynchronizeType(TypedDict): sender: SimpleUserType +class WebhookPullRequestSynchronizeTypeForResponse(TypedDict): + """pull_request synchronize event""" + + action: Literal["synchronize"] + after: str + before: str + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestSynchronizePropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestSynchronizePropPullRequestType(TypedDict): """Pull Request""" @@ -115,6 +133,98 @@ class WebhookPullRequestSynchronizePropPullRequestType(TypedDict): user: Union[WebhookPullRequestSynchronizePropPullRequestPropUserType, None] +class WebhookPullRequestSynchronizePropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse, + None, + ] + ] + milestone: Union[ + WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestSynchronizePropPullRequestPropAssigneeType(TypedDict): """User""" @@ -142,6 +252,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -168,6 +307,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType(TypedDi url: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -182,6 +349,23 @@ class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -211,6 +395,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -223,6 +436,20 @@ class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType(TypedDict) url: str +class WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropMergedByType(TypedDict): """User""" @@ -250,6 +477,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -276,6 +532,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -305,7 +590,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -334,7 +619,9 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -361,13 +648,96 @@ class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestSynchronizePropPullRequestPropLinks""" +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" - comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropLinks""" + + comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType review_comment: ( WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType ) @@ -378,30 +748,81 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksType(TypedDict): statuses: WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType +class WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse + ) + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -410,6 +831,14 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -418,18 +847,42 @@ class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTyp href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestSynchronizePropPullRequestPropBaseType(TypedDict): """WebhookPullRequestSynchronizePropPullRequestPropBase""" @@ -440,7 +893,463 @@ class WebhookPullRequestSynchronizePropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType, None] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType + sha: str + user: Union[WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestSynchronizePropPullRequestPropHead""" + + label: str + ref: str + repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse, + None, + ] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -467,7 +1376,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType(TypedDict user_view_type: NotRequired[str] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -527,7 +1436,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType, + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, None, ] master_branch: NotRequired[str] @@ -543,10 +1452,10 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -580,97 +1489,9 @@ class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType(TypedDict web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestSynchronizePropPullRequestPropHead""" - - label: str - ref: str - repo: WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType - sha: str - user: Union[WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -694,7 +1515,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -730,7 +1551,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType, + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, None, ] master_branch: NotRequired[str] @@ -746,15 +1567,16 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -774,7 +1596,7 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType(TypedDict teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -795,6 +1617,18 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTyp url: Union[str, None] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -824,6 +1658,35 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -836,6 +1699,18 @@ class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermission triage: NotRequired[bool] +class WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -864,6 +1739,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -884,6 +1787,26 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOne url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Pro + pParent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType( TypedDict ): @@ -912,6 +1835,34 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType( url: NotRequired[str] +class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -930,42 +1881,97 @@ class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropPar url: str +class WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestSynchronizePropPullRequestPropAssigneeType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeType", + "WebhookPullRequestSynchronizePropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropBaseType", + "WebhookPullRequestSynchronizePropPullRequestPropBaseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropHeadType", + "WebhookPullRequestSynchronizePropPullRequestPropHeadTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropLinksType", + "WebhookPullRequestSynchronizePropPullRequestPropLinksTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMergedByType", + "WebhookPullRequestSynchronizePropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropMilestoneType", + "WebhookPullRequestSynchronizePropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestSynchronizePropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestPropUserType", + "WebhookPullRequestSynchronizePropPullRequestPropUserTypeForResponse", "WebhookPullRequestSynchronizePropPullRequestType", + "WebhookPullRequestSynchronizePropPullRequestTypeForResponse", "WebhookPullRequestSynchronizeType", + "WebhookPullRequestSynchronizeTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0766.py b/githubkit/versions/v2022_11_28/types/group_0766.py index 6b7d845ce..c8654d506 100644 --- a/githubkit/versions/v2022_11_28/types/group_0766.py +++ b/githubkit/versions/v2022_11_28/types/group_0766.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0473 import WebhooksUserMannequinType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0473 import WebhooksUserMannequinType, WebhooksUserMannequinTypeForResponse class WebhookPullRequestUnassignedType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestUnassignedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPullRequestUnassignedTypeForResponse(TypedDict): + """pull_request unassigned event""" + + action: Literal["unassigned"] + assignee: NotRequired[Union[WebhooksUserMannequinTypeForResponse, None]] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnassignedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPullRequestUnassignedPropPullRequestType(TypedDict): """Pull Request""" @@ -113,6 +130,97 @@ class WebhookPullRequestUnassignedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnassignedPropPullRequestPropUserType, None] +class WebhookPullRequestUnassignedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse, None + ] + + class WebhookPullRequestUnassignedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -140,6 +248,33 @@ class WebhookPullRequestUnassignedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -166,6 +301,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType(TypedDic url: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -180,6 +343,23 @@ class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse( + TypedDict +): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -209,6 +389,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -221,6 +430,20 @@ class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -248,6 +471,33 @@ class WebhookPullRequestUnassignedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -274,6 +524,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse( + TypedDict +): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType( TypedDict ): @@ -303,7 +582,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType( user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -332,7 +611,9 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -359,22 +640,124 @@ class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnassignedPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType - +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType(TypedDict): """Link""" @@ -382,24 +765,56 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType(Typed href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -408,6 +823,14 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -416,18 +839,42 @@ class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnassignedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnassignedPropPullRequestPropBase""" @@ -438,6 +885,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropBase""" + + label: Union[str, None] + ref: str + repo: WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -465,7 +924,394 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType(TypedDict) user_view_type: NotRequired[str] -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnassignedPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -525,7 +1371,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -540,10 +1386,10 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -577,70 +1423,9 @@ class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType(TypedDict) web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnassignedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnassignedPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -664,7 +1449,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -700,7 +1485,8 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -715,15 +1501,16 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -743,7 +1530,7 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType(TypedDict) teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -764,6 +1551,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType url: Union[str, None] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -793,6 +1592,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -805,6 +1633,18 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissions triage: NotRequired[bool] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -832,6 +1672,35 @@ class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType(TypedDict) user_view_type: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -860,6 +1729,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -880,6 +1777,26 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneo url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Prop + Parent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -906,6 +1823,34 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType(Typ url: NotRequired[str] +class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -924,42 +1869,97 @@ class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropPare url: str +class WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnassignedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnassignedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropBaseType", + "WebhookPullRequestUnassignedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropHeadType", + "WebhookPullRequestUnassignedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropLinksType", + "WebhookPullRequestUnassignedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMergedByType", + "WebhookPullRequestUnassignedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnassignedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnassignedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestPropUserType", + "WebhookPullRequestUnassignedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnassignedPropPullRequestType", + "WebhookPullRequestUnassignedPropPullRequestTypeForResponse", "WebhookPullRequestUnassignedType", + "WebhookPullRequestUnassignedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0767.py b/githubkit/versions/v2022_11_28/types/group_0767.py index d9d605828..63b07a12a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0767.py +++ b/githubkit/versions/v2022_11_28/types/group_0767.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0465 import WebhooksLabelType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0465 import WebhooksLabelType, WebhooksLabelTypeForResponse class WebhookPullRequestUnlabeledType(TypedDict): @@ -35,6 +38,20 @@ class WebhookPullRequestUnlabeledType(TypedDict): sender: SimpleUserType +class WebhookPullRequestUnlabeledTypeForResponse(TypedDict): + """pull_request unlabeled event""" + + action: Literal["unlabeled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + label: NotRequired[WebhooksLabelTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnlabeledPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestUnlabeledPropPullRequestType(TypedDict): """Pull Request""" @@ -111,6 +128,95 @@ class WebhookPullRequestUnlabeledPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnlabeledPropPullRequestPropUserType, None] +class WebhookPullRequestUnlabeledPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -138,6 +244,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -164,6 +297,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType(TypedDict url: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -178,6 +339,21 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: Union[str, None] + enabled_by: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -207,6 +383,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -219,6 +424,20 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropMergedByType(TypedDict): """User""" @@ -246,6 +465,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -272,6 +518,33 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -299,7 +572,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType(Typ user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -328,7 +601,9 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -355,28 +630,138 @@ class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str - +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization", "Mannequin"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" @@ -384,18 +769,42 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType(TypedDi href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -404,6 +813,14 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -412,18 +829,42 @@ class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlabeledPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnlabeledPropPullRequestPropBase""" @@ -434,6 +875,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -461,7 +914,394 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnlabeledPropPullRequestPropHead""" + + label: Union[str, None] + ref: str + repo: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -521,7 +1361,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -536,10 +1376,10 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -573,70 +1413,9 @@ class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType( - TypedDict -): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnlabeledPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnlabeledPropPullRequestPropHead""" - - label: Union[str, None] - ref: str - repo: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -660,7 +1439,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -696,7 +1475,8 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -711,15 +1491,16 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -739,7 +1520,7 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -760,6 +1541,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType( TypedDict ): @@ -789,6 +1582,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -801,6 +1623,18 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsT triage: NotRequired[bool] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -828,6 +1662,35 @@ class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -856,6 +1719,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + parent: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -876,6 +1767,26 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropP + arent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -902,6 +1813,34 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType(Type url: NotRequired[str] +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -920,42 +1859,97 @@ class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParen url: str +class WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlabeledPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropBaseType", + "WebhookPullRequestUnlabeledPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropHeadType", + "WebhookPullRequestUnlabeledPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropLinksType", + "WebhookPullRequestUnlabeledPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMergedByType", + "WebhookPullRequestUnlabeledPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlabeledPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlabeledPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestPropUserType", + "WebhookPullRequestUnlabeledPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlabeledPropPullRequestType", + "WebhookPullRequestUnlabeledPropPullRequestTypeForResponse", "WebhookPullRequestUnlabeledType", + "WebhookPullRequestUnlabeledTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0768.py b/githubkit/versions/v2022_11_28/types/group_0768.py index e9ba3374a..8270e1b8e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0768.py +++ b/githubkit/versions/v2022_11_28/types/group_0768.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookPullRequestUnlockedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookPullRequestUnlockedType(TypedDict): sender: SimpleUserType +class WebhookPullRequestUnlockedTypeForResponse(TypedDict): + """pull_request unlocked event""" + + action: Literal["unlocked"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + number: int + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pull_request: WebhookPullRequestUnlockedPropPullRequestTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookPullRequestUnlockedPropPullRequestType(TypedDict): """Pull Request""" @@ -109,6 +125,95 @@ class WebhookPullRequestUnlockedPropPullRequestType(TypedDict): user: Union[WebhookPullRequestUnlockedPropPullRequestPropUserType, None] +class WebhookPullRequestUnlockedPropPullRequestTypeForResponse(TypedDict): + """Pull Request""" + + links: WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse + active_lock_reason: Union[ + None, Literal["resolved", "off-topic", "too heated", "spam"] + ] + additions: NotRequired[int] + assignee: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse, None + ] + assignees: list[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse, + None, + ] + ] + author_association: Literal[ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER", + ] + auto_merge: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse, None + ] + base: WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse + body: Union[str, None] + changed_files: NotRequired[int] + closed_at: Union[str, None] + comments: NotRequired[int] + comments_url: str + commits: NotRequired[int] + commits_url: str + created_at: str + deletions: NotRequired[int] + diff_url: str + draft: bool + head: WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse + html_url: str + id: int + issue_url: str + labels: list[ + WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse + ] + locked: bool + maintainer_can_modify: NotRequired[bool] + merge_commit_sha: Union[str, None] + mergeable: NotRequired[Union[bool, None]] + mergeable_state: NotRequired[str] + merged: NotRequired[Union[bool, None]] + merged_at: Union[str, None] + merged_by: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse, None + ] + ] + milestone: Union[ + WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse, None + ] + node_id: str + number: int + patch_url: str + rebaseable: NotRequired[Union[bool, None]] + requested_reviewers: list[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse, + None, + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse, + ] + ] + requested_teams: list[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse + ] + review_comment_url: str + review_comments: NotRequired[int] + review_comments_url: str + state: Literal["open", "closed"] + statuses_url: str + title: str + updated_at: str + url: str + user: Union[WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse, None] + + class WebhookPullRequestUnlockedPropPullRequestPropAssigneeType(TypedDict): """User""" @@ -136,6 +241,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropAssigneeType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType(TypedDict): """User""" @@ -162,6 +294,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType(TypedDict) url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType(TypedDict): """PullRequestAutoMerge @@ -176,6 +336,21 @@ class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType(TypedDict): merge_method: Literal["merge", "squash", "rebase"] +class WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse(TypedDict): + """PullRequestAutoMerge + + The status of auto merging a pull request. + """ + + commit_message: Union[str, None] + commit_title: str + enabled_by: Union[ + WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse, + None, + ] + merge_method: Literal["merge", "squash", "rebase"] + + class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType( TypedDict ): @@ -205,6 +380,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType( user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType(TypedDict): """Label""" @@ -217,6 +421,20 @@ class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType(TypedDict): url: str +class WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse( + TypedDict +): + """Label""" + + color: str + default: bool + description: Union[str, None] + id: int + name: str + node_id: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropMergedByType(TypedDict): """User""" @@ -244,6 +462,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropMergedByType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropMilestoneType(TypedDict): """Milestone @@ -270,6 +515,33 @@ class WebhookPullRequestUnlockedPropPullRequestPropMilestoneType(TypedDict): url: str +class WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse(TypedDict): + """Milestone + + A collection of related issues and pull requests. + """ + + closed_at: Union[str, None] + closed_issues: int + created_at: str + creator: Union[ + WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse, + None, + ] + description: Union[str, None] + due_on: Union[str, None] + html_url: str + id: int + labels_url: str + node_id: str + number: int + open_issues: int + state: Literal["open", "closed"] + title: str + updated_at: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType(TypedDict): """User""" @@ -297,7 +569,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType(Type user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type( +class WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse( TypedDict ): """User""" @@ -326,7 +598,9 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0 user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type( + TypedDict +): """User""" avatar_url: NotRequired[str] @@ -353,28 +627,138 @@ class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropLinksType(TypedDict): - """WebhookPullRequestUnlockedPropPullRequestPropLinks""" - - comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType - commits: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType - html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType - issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType - review_comment: ( - WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType - ) - review_comments: ( - WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType - ) - self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType - statuses: WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType - - -class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType(TypedDict): - """Link""" - - href: str - +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropUserType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksType(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropLinks""" + + comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType + commits: WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType + html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType + issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType + review_comment: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType + ) + review_comments: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType + ) + self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType + statuses: WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropLinks""" + + comments: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse + ) + commits: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse + ) + html: WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse + issue: WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse + review_comment: WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse + review_comments: WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse + self_: WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse + statuses: ( + WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse + ) + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType(TypedDict): + """Link""" + + href: str + + +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType(TypedDict): """Link""" @@ -382,18 +766,42 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType(TypedDic href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType( TypedDict ): @@ -402,6 +810,14 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType( href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType( TypedDict ): @@ -410,18 +826,42 @@ class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType( href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType(TypedDict): """Link""" href: str +class WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse( + TypedDict +): + """Link""" + + href: str + + class WebhookPullRequestUnlockedPropPullRequestPropBaseType(TypedDict): """WebhookPullRequestUnlockedPropPullRequestPropBase""" @@ -432,6 +872,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropBaseType(TypedDict): user: Union[WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType, None] +class WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropBase""" + + label: str + ref: str + repo: WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse + sha: str + user: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse, None + ] + + class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType(TypedDict): """User""" @@ -459,7 +911,392 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType(TypedDict): user_view_type: NotRequired[str] -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): +class WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, datetime] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, None + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, None + ] + permissions: NotRequired[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, datetime, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: datetime + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse( + TypedDict +): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse, + None, + ] + master_branch: NotRequired[str] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse, + None, + ] + permissions: NotRequired[ + WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + use_squash_pr_title_as_default: NotRequired[bool] + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadType(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, None] + sha: str + user: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, None] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse(TypedDict): + """WebhookPullRequestUnlockedPropPullRequestPropHead""" + + label: str + ref: str + repo: Union[ + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse, None + ] + sha: str + user: Union[ + WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse, None + ] + + +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -519,7 +1356,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, None ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -534,10 +1371,10 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, None ] permissions: NotRequired[ - WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType ] private: bool public: NotRequired[bool] @@ -571,68 +1408,9 @@ class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType(TypedDict): web_commit_signoff_required: NotRequired[bool] -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType( - TypedDict -): - """License""" - - key: str - name: str - node_id: str - spdx_id: str - url: Union[str, None] - - -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType(TypedDict): - """User""" - - avatar_url: NotRequired[str] - deleted: NotRequired[bool] - email: NotRequired[Union[str, None]] - events_url: NotRequired[str] - followers_url: NotRequired[str] - following_url: NotRequired[str] - gists_url: NotRequired[str] - gravatar_id: NotRequired[str] - html_url: NotRequired[str] - id: int - login: str - name: NotRequired[str] - node_id: NotRequired[str] - organizations_url: NotRequired[str] - received_events_url: NotRequired[str] - repos_url: NotRequired[str] - site_admin: NotRequired[bool] - starred_url: NotRequired[str] - subscriptions_url: NotRequired[str] - type: NotRequired[Literal["Bot", "User", "Organization"]] - url: NotRequired[str] - user_view_type: NotRequired[str] - - -class WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType( +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse( TypedDict ): - """WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissions""" - - admin: bool - maintain: NotRequired[bool] - pull: bool - push: bool - triage: NotRequired[bool] - - -class WebhookPullRequestUnlockedPropPullRequestPropHeadType(TypedDict): - """WebhookPullRequestUnlockedPropPullRequestPropHead""" - - label: str - ref: str - repo: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType, None] - sha: str - user: Union[WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType, None] - - -class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): """Repository A git repository @@ -656,7 +1434,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): compare_url: str contents_url: str contributors_url: str - created_at: Union[int, datetime] + created_at: Union[int, str] default_branch: str delete_branch_on_merge: NotRequired[bool] deployments_url: str @@ -692,7 +1470,8 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): language: Union[str, None] languages_url: str license_: Union[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse, + None, ] master_branch: NotRequired[str] merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] @@ -707,15 +1486,16 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): open_issues_count: int organization: NotRequired[str] owner: Union[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType, None + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse, + None, ] permissions: NotRequired[ - WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType + WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse ] private: bool public: NotRequired[bool] pulls_url: str - pushed_at: Union[int, datetime, None] + pushed_at: Union[int, str, None] releases_url: str role_name: NotRequired[Union[str, None]] size: int @@ -735,7 +1515,7 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType(TypedDict): teams_url: str topics: list[str] trees_url: str - updated_at: datetime + updated_at: str url: str use_squash_pr_title_as_default: NotRequired[bool] visibility: Literal["public", "private", "internal"] @@ -756,6 +1536,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType( url: Union[str, None] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType(TypedDict): """User""" @@ -783,6 +1575,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType(Typ user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType( TypedDict ): @@ -795,6 +1616,18 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTy triage: NotRequired[bool] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType(TypedDict): """User""" @@ -822,6 +1655,35 @@ class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType(TypedDict): user_view_type: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type( TypedDict ): @@ -850,6 +1712,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1 url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType( TypedDict ): @@ -870,6 +1760,26 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1 url: str +class WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropPa + rent + """ + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType(TypedDict): """Team @@ -896,6 +1806,34 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType(Typed url: NotRequired[str] +class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse( + TypedDict +): + """Team + + Groups of organization members that gives permissions on specified repositories. + """ + + deleted: NotRequired[bool] + description: NotRequired[Union[str, None]] + html_url: NotRequired[str] + id: int + members_url: NotRequired[str] + name: str + node_id: NotRequired[str] + parent: NotRequired[ + Union[ + WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse, + None, + ] + ] + permission: NotRequired[str] + privacy: NotRequired[Literal["open", "closed", "secret"]] + repositories_url: NotRequired[str] + slug: NotRequired[str] + url: NotRequired[str] + + class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType( TypedDict ): @@ -914,42 +1852,97 @@ class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParent url: str +class WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse( + TypedDict +): + """WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParent""" + + description: Union[str, None] + html_url: str + id: int + members_url: str + name: str + node_id: str + permission: str + privacy: Literal["open", "closed", "secret"] + repositories_url: str + slug: str + url: str + + __all__ = ( "WebhookPullRequestUnlockedPropPullRequestPropAssigneeType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropAssigneesItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergePropEnabledByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeType", + "WebhookPullRequestUnlockedPropPullRequestPropAutoMergeTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropBasePropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropBaseType", + "WebhookPullRequestUnlockedPropPullRequestPropBaseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropLicenseTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropOwnerTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoPropPermissionsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropRepoTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropHeadType", + "WebhookPullRequestUnlockedPropPullRequestPropHeadTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropLabelsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropCommitsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropHtmlTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropIssueTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropReviewCommentsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropSelfTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksPropStatusesTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropLinksType", + "WebhookPullRequestUnlockedPropPullRequestPropLinksTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMergedByType", + "WebhookPullRequestUnlockedPropPullRequestPropMergedByTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestonePropCreatorTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropMilestoneType", + "WebhookPullRequestUnlockedPropPullRequestPropMilestoneTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof0TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1PropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1Type", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedReviewersItemsOneof1TypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsPropParentTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsType", + "WebhookPullRequestUnlockedPropPullRequestPropRequestedTeamsItemsTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestPropUserType", + "WebhookPullRequestUnlockedPropPullRequestPropUserTypeForResponse", "WebhookPullRequestUnlockedPropPullRequestType", + "WebhookPullRequestUnlockedPropPullRequestTypeForResponse", "WebhookPullRequestUnlockedType", + "WebhookPullRequestUnlockedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0769.py b/githubkit/versions/v2022_11_28/types/group_0769.py index d950efd86..fe89f898b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0769.py +++ b/githubkit/versions/v2022_11_28/types/group_0769.py @@ -13,10 +13,13 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) class WebhookPushType(TypedDict): @@ -40,6 +43,27 @@ class WebhookPushType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookPushTypeForResponse(TypedDict): + """push event""" + + after: str + base_ref: Union[str, None] + before: str + commits: list[WebhookPushPropCommitsItemsTypeForResponse] + compare: str + created: bool + deleted: bool + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + forced: bool + head_commit: Union[WebhookPushPropHeadCommitTypeForResponse, None] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + pusher: WebhookPushPropPusherTypeForResponse + ref: str + repository: WebhookPushPropRepositoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookPushPropHeadCommitType(TypedDict): """Commit""" @@ -56,6 +80,22 @@ class WebhookPushPropHeadCommitType(TypedDict): url: str +class WebhookPushPropHeadCommitTypeForResponse(TypedDict): + """Commit""" + + added: NotRequired[list[str]] + author: WebhookPushPropHeadCommitPropAuthorTypeForResponse + committer: WebhookPushPropHeadCommitPropCommitterTypeForResponse + distinct: bool + id: str + message: str + modified: NotRequired[list[str]] + removed: NotRequired[list[str]] + timestamp: str + tree_id: str + url: str + + class WebhookPushPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -68,6 +108,18 @@ class WebhookPushPropHeadCommitPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookPushPropHeadCommitPropAuthorTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropHeadCommitPropCommitterType(TypedDict): """Committer @@ -80,6 +132,18 @@ class WebhookPushPropHeadCommitPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookPushPropHeadCommitPropCommitterTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropPusherType(TypedDict): """Committer @@ -92,6 +156,18 @@ class WebhookPushPropPusherType(TypedDict): username: NotRequired[str] +class WebhookPushPropPusherTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: NotRequired[Union[str, None]] + name: str + username: NotRequired[str] + + class WebhookPushPropCommitsItemsType(TypedDict): """Commit""" @@ -108,6 +184,22 @@ class WebhookPushPropCommitsItemsType(TypedDict): url: str +class WebhookPushPropCommitsItemsTypeForResponse(TypedDict): + """Commit""" + + added: NotRequired[list[str]] + author: WebhookPushPropCommitsItemsPropAuthorTypeForResponse + committer: WebhookPushPropCommitsItemsPropCommitterTypeForResponse + distinct: bool + id: str + message: str + modified: NotRequired[list[str]] + removed: NotRequired[list[str]] + timestamp: str + tree_id: str + url: str + + class WebhookPushPropCommitsItemsPropAuthorType(TypedDict): """Committer @@ -120,6 +212,18 @@ class WebhookPushPropCommitsItemsPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookPushPropCommitsItemsPropAuthorTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropCommitsItemsPropCommitterType(TypedDict): """Committer @@ -132,6 +236,18 @@ class WebhookPushPropCommitsItemsPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookPushPropCommitsItemsPropCommitterTypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookPushPropRepositoryType(TypedDict): """Repository @@ -232,6 +348,108 @@ class WebhookPushPropRepositoryType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class WebhookPushPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + has_discussions: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookPushPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookPushPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[WebhookPushPropRepositoryPropPermissionsTypeForResponse] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + web_commit_signoff_required: NotRequired[bool] + + WebhookPushPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookPushPropRepositoryPropCustomProperties @@ -241,6 +459,15 @@ class WebhookPushPropRepositoryType(TypedDict): """ +WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookPushPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookPushPropRepositoryPropLicenseType(TypedDict): """License""" @@ -251,6 +478,16 @@ class WebhookPushPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookPushPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookPushPropRepositoryPropOwnerType(TypedDict): """User""" @@ -278,6 +515,33 @@ class WebhookPushPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookPushPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookPushPropRepositoryPropPermissionsType(TypedDict): """WebhookPushPropRepositoryPropPermissions""" @@ -288,18 +552,41 @@ class WebhookPushPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookPushPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookPushPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookPushPropCommitsItemsPropAuthorType", + "WebhookPushPropCommitsItemsPropAuthorTypeForResponse", "WebhookPushPropCommitsItemsPropCommitterType", + "WebhookPushPropCommitsItemsPropCommitterTypeForResponse", "WebhookPushPropCommitsItemsType", + "WebhookPushPropCommitsItemsTypeForResponse", "WebhookPushPropHeadCommitPropAuthorType", + "WebhookPushPropHeadCommitPropAuthorTypeForResponse", "WebhookPushPropHeadCommitPropCommitterType", + "WebhookPushPropHeadCommitPropCommitterTypeForResponse", "WebhookPushPropHeadCommitType", + "WebhookPushPropHeadCommitTypeForResponse", "WebhookPushPropPusherType", + "WebhookPushPropPusherTypeForResponse", "WebhookPushPropRepositoryPropCustomPropertiesType", + "WebhookPushPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookPushPropRepositoryPropLicenseType", + "WebhookPushPropRepositoryPropLicenseTypeForResponse", "WebhookPushPropRepositoryPropOwnerType", + "WebhookPushPropRepositoryPropOwnerTypeForResponse", "WebhookPushPropRepositoryPropPermissionsType", + "WebhookPushPropRepositoryPropPermissionsTypeForResponse", "WebhookPushPropRepositoryType", + "WebhookPushPropRepositoryTypeForResponse", "WebhookPushType", + "WebhookPushTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0770.py b/githubkit/versions/v2022_11_28/types/group_0770.py index b50193165..040259ebf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0770.py +++ b/githubkit/versions/v2022_11_28/types/group_0770.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0771 import WebhookRegistryPackagePublishedPropRegistryPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0771 import ( + WebhookRegistryPackagePublishedPropRegistryPackageType, + WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse, +) class WebhookRegistryPackagePublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookRegistryPackagePublishedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRegistryPackagePublishedType",) +class WebhookRegistryPackagePublishedTypeForResponse(TypedDict): + """WebhookRegistryPackagePublished""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + registry_package: WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRegistryPackagePublishedType", + "WebhookRegistryPackagePublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0771.py b/githubkit/versions/v2022_11_28/types/group_0771.py index 6ee96003d..59d63f16b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0771.py +++ b/githubkit/versions/v2022_11_28/types/group_0771.py @@ -14,6 +14,7 @@ from .group_0772 import ( WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, ) @@ -38,6 +39,29 @@ class WebhookRegistryPackagePublishedPropRegistryPackageType(TypedDict): updated_at: Union[str, None] +class WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse(TypedDict): + """WebhookRegistryPackagePublishedPropRegistryPackage""" + + created_at: Union[str, None] + description: Union[str, None] + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse + package_type: str + package_version: Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse, + None, + ] + registry: Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse, + None, + ] + updated_at: Union[str, None] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType(TypedDict): """WebhookRegistryPackagePublishedPropRegistryPackagePropOwner""" @@ -62,6 +86,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType(TypedDict) user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropOwner""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType(TypedDict): """WebhookRegistryPackagePublishedPropRegistryPackagePropRegistry""" @@ -72,8 +122,23 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType(TypedDi vendor: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropRegistry""" + + about_url: NotRequired[str] + name: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + vendor: NotRequired[str] + + __all__ = ( "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropRegistryTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackageType", + "WebhookRegistryPackagePublishedPropRegistryPackageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0772.py b/githubkit/versions/v2022_11_28/types/group_0772.py index 6680516a8..d7c18668e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0772.py +++ b/githubkit/versions/v2022_11_28/types/group_0772.py @@ -12,7 +12,10 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0691 import WebhookRubygemsMetadataType +from .group_0691 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType( @@ -80,6 +83,71 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType( version: str +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersion""" + + author: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse + ] + body: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse, + ] + ] + body_html: NotRequired[str] + container_metadata: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse + ] + created_at: NotRequired[str] + description: str + docker_metadata: NotRequired[ + list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + npm_metadata: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse, + None, + ] + ] + nuget_metadata: NotRequired[ + Union[ + list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse + ], + None, + ] + ] + package_files: list[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: str + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + summary: str + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + target_oid: NotRequired[str] + updated_at: NotRequired[str] + version: str + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType( TypedDict ): @@ -106,6 +174,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAu user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthor""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type( TypedDict ): @@ -114,6 +208,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneo + f1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -124,6 +226,16 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDo tags: NotRequired[list[str]] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMe + tadataItems + """ + + tags: NotRequired[list[str]] + + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType: TypeAlias = dict[ str, Any ] @@ -132,6 +244,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDo """ +WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadata +Items +""" + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType( TypedDict ): @@ -224,6 +344,98 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp deleted_by_id: NotRequired[int] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ata + """ + + name: NotRequired[str] + version: NotRequired[str] + npm_user: NotRequired[str] + author: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse, + None, + ] + ] + bugs: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse, + None, + ] + ] + dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse + ] + dev_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse + ] + peer_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse + ] + optional_dependencies: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse + ] + description: NotRequired[str] + dist: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse, + None, + ] + ] + git_head: NotRequired[str] + homepage: NotRequired[str] + license_: NotRequired[str] + main: NotRequired[str] + repository: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse, + None, + ] + ] + scripts: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse + ] + id: NotRequired[str] + node_version: NotRequired[str] + npm_version: NotRequired[str] + has_shrinkwrap: NotRequired[bool] + maintainers: NotRequired[list[str]] + contributors: NotRequired[list[str]] + engines: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse + ] + keywords: NotRequired[list[str]] + files: NotRequired[list[str]] + bin_: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse + ] + man: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse + ] + directories: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse, + None, + ] + ] + os: NotRequired[list[str]] + cpu: NotRequired[list[str]] + readme: NotRequired[str] + installation_command: NotRequired[str] + release_id: NotRequired[int] + commit_oid: NotRequired[str] + published_via_actions: NotRequired[bool] + deleted_by_id: NotRequired[int] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type( TypedDict ): @@ -232,6 +444,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropAuthorOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type( TypedDict ): @@ -240,6 +460,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropBugsOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType( TypedDict ): @@ -248,6 +476,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType( TypedDict ): @@ -256,6 +492,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDevDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType( TypedDict ): @@ -264,6 +508,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropPeerDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType( TypedDict ): @@ -272,6 +524,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropOptionalDependencies + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type( TypedDict ): @@ -280,6 +540,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDistOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type( TypedDict ): @@ -288,6 +556,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropRepositoryOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType( TypedDict ): @@ -296,6 +572,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropScripts + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType( TypedDict ): @@ -304,6 +588,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropEngines + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType( TypedDict ): @@ -312,6 +604,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropBin + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType( TypedDict ): @@ -320,6 +620,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropMan + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type( TypedDict ): @@ -328,6 +636,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNp """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetad + ataPropDirectoriesOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -348,6 +664,26 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPa updated_at: str +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageF + ilesItems + """ + + content_type: str + created_at: str + download_url: str + id: int + md5: Union[str, None] + name: str + sha1: Union[str, None] + sha256: Union[str, None] + size: int + state: Union[str, None] + updated_at: str + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType( TypedDict ): @@ -372,6 +708,30 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo ] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadata + """ + + labels: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse, + None, + ] + ] + manifest: NotRequired[ + Union[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse, + None, + ] + ] + tag: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse + ] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType( TypedDict ): @@ -380,6 +740,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropLabels + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType( TypedDict ): @@ -388,6 +756,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropManifest + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType( TypedDict ): @@ -399,6 +775,17 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropCo name: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContaine + rMetadataPropTag + """ + + digest: NotRequired[str] + name: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType( TypedDict ): @@ -425,6 +812,32 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu ] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItems + """ + + id: NotRequired[ + Union[ + str, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse, + int, + None, + ] + ] + name: NotRequired[str] + value: NotRequired[ + Union[ + bool, + str, + int, + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse, + ] + ] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type( TypedDict ): @@ -433,6 +846,14 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu """ +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItemsPropIdOneof1 + """ + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type( TypedDict ): @@ -446,6 +867,19 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNu type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMet + adataItemsPropValueOneof3 + """ + + url: NotRequired[str] + branch: NotRequired[str] + commit: NotRequired[str] + type: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType( TypedDict ): @@ -466,6 +900,26 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRe url: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRelease""" + + author: NotRequired[ + WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse + ] + created_at: NotRequired[str] + draft: NotRequired[bool] + html_url: NotRequired[str] + id: NotRequired[int] + name: NotRequired[Union[str, None]] + prerelease: NotRequired[bool] + published_at: NotRequired[str] + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + url: NotRequired[str] + + class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -494,34 +948,91 @@ class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropRe user_view_type: NotRequired[str] +class WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseP + ropAuthor + """ + + avatar_url: NotRequired[str] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[str] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropBodyOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropLabelsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropManifestTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataPropTagTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropContainerMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropAuthorOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBinTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropBugsOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDevDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDirectoriesOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropDistOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropEnginesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropManTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropOptionalDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropPeerDependenciesTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropRepositoryOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataPropScriptsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNpmMetadataTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropIdOneof1TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3Type", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsPropValueOneof3TypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropNugetMetadataItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackagePublishedPropRegistryPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0773.py b/githubkit/versions/v2022_11_28/types/group_0773.py index 2c725c269..1b3b77e38 100644 --- a/githubkit/versions/v2022_11_28/types/group_0773.py +++ b/githubkit/versions/v2022_11_28/types/group_0773.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0774 import WebhookRegistryPackageUpdatedPropRegistryPackageType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0774 import ( + WebhookRegistryPackageUpdatedPropRegistryPackageType, + WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse, +) class WebhookRegistryPackageUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookRegistryPackageUpdatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRegistryPackageUpdatedType",) +class WebhookRegistryPackageUpdatedTypeForResponse(TypedDict): + """WebhookRegistryPackageUpdated""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + registry_package: WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRegistryPackageUpdatedType", + "WebhookRegistryPackageUpdatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0774.py b/githubkit/versions/v2022_11_28/types/group_0774.py index ea6558d63..7ea8ca5a0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0774.py +++ b/githubkit/versions/v2022_11_28/types/group_0774.py @@ -14,6 +14,7 @@ from .group_0775 import ( WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType, + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse, ) @@ -38,6 +39,26 @@ class WebhookRegistryPackageUpdatedPropRegistryPackageType(TypedDict): updated_at: str +class WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse(TypedDict): + """WebhookRegistryPackageUpdatedPropRegistryPackage""" + + created_at: str + description: None + ecosystem: str + html_url: str + id: int + name: str + namespace: str + owner: WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse + package_type: str + package_version: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse + registry: Union[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse, + None, + ] + updated_at: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType(TypedDict): """WebhookRegistryPackageUpdatedPropRegistryPackagePropOwner""" @@ -62,12 +83,47 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropOwner""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType(TypedDict): """WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistry""" +class WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistry""" + + __all__ = ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropOwnerTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropRegistryTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackageType", + "WebhookRegistryPackageUpdatedPropRegistryPackageTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0775.py b/githubkit/versions/v2022_11_28/types/group_0775.py index d6863660c..71163299f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0775.py +++ b/githubkit/versions/v2022_11_28/types/group_0775.py @@ -12,7 +12,10 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0691 import WebhookRubygemsMetadataType +from .group_0691 import ( + WebhookRubygemsMetadataType, + WebhookRubygemsMetadataTypeForResponse, +) class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType(TypedDict): @@ -59,6 +62,50 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType(Typ version: str +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersion""" + + author: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse + body: str + body_html: str + created_at: str + description: str + docker_metadata: NotRequired[ + list[ + Union[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse, + None, + ] + ] + ] + draft: NotRequired[bool] + html_url: str + id: int + installation_command: str + manifest: NotRequired[str] + metadata: list[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse + ] + name: str + package_files: list[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse + ] + package_url: str + prerelease: NotRequired[bool] + release: NotRequired[ + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse + ] + rubygems_metadata: NotRequired[list[WebhookRubygemsMetadataTypeForResponse]] + summary: str + tag_name: NotRequired[str] + target_commitish: str + target_oid: str + updated_at: str + version: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType( TypedDict ): @@ -85,6 +132,32 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuth user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthor""" + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType( TypedDict ): @@ -95,6 +168,16 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDock tags: NotRequired[list[str]] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMeta + dataItems + """ + + tags: NotRequired[list[str]] + + WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType: TypeAlias = dict[ str, Any ] @@ -103,6 +186,14 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDock """ +WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataIt +ems +""" + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType( TypedDict ): @@ -123,6 +214,26 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPack updated_at: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFil + esItems + """ + + content_type: NotRequired[str] + created_at: NotRequired[str] + download_url: NotRequired[str] + id: NotRequired[int] + md5: NotRequired[Union[str, None]] + name: NotRequired[str] + sha1: NotRequired[Union[str, None]] + sha256: NotRequired[str] + size: NotRequired[int] + state: NotRequired[str] + updated_at: NotRequired[str] + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType( TypedDict ): @@ -141,6 +252,24 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRele url: str +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRelease""" + + author: WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse + created_at: str + draft: bool + html_url: str + id: int + name: str + prerelease: bool + published_at: str + tag_name: str + target_commitish: str + url: str + + class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType( TypedDict ): @@ -169,12 +298,47 @@ class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropRele user_view_type: NotRequired[str] +class WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse( + TypedDict +): + """WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePro + pAuthor + """ + + avatar_url: str + events_url: str + followers_url: str + following_url: str + gists_url: str + gravatar_id: str + html_url: str + id: int + login: str + node_id: str + organizations_url: str + received_events_url: str + repos_url: str + site_admin: bool + starred_url: str + subscriptions_url: str + type: str + url: str + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropDockerMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropMetadataItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropPackageFilesItemsTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleasePropAuthorTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionPropReleaseTypeForResponse", "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionType", + "WebhookRegistryPackageUpdatedPropRegistryPackagePropPackageVersionTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0776.py b/githubkit/versions/v2022_11_28/types/group_0776.py index e23f20f29..74b9e0829 100644 --- a/githubkit/versions/v2022_11_28/types/group_0776.py +++ b/githubkit/versions/v2022_11_28/types/group_0776.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0491 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0491 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookReleaseCreatedType",) +class WebhookReleaseCreatedTypeForResponse(TypedDict): + """release created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookReleaseCreatedType", + "WebhookReleaseCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0777.py b/githubkit/versions/v2022_11_28/types/group_0777.py index 66858d1c7..31f8d95c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0777.py +++ b/githubkit/versions/v2022_11_28/types/group_0777.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0491 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0491 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookReleaseDeletedType",) +class WebhookReleaseDeletedTypeForResponse(TypedDict): + """release deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookReleaseDeletedType", + "WebhookReleaseDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0778.py b/githubkit/versions/v2022_11_28/types/group_0778.py index 8ed658059..8140ad229 100644 --- a/githubkit/versions/v2022_11_28/types/group_0778.py +++ b/githubkit/versions/v2022_11_28/types/group_0778.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0491 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0491 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookReleaseEditedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookReleaseEditedTypeForResponse(TypedDict): + """release edited event""" + + action: Literal["edited"] + changes: WebhookReleaseEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookReleaseEditedPropChangesType(TypedDict): """WebhookReleaseEditedPropChanges""" @@ -42,35 +58,76 @@ class WebhookReleaseEditedPropChangesType(TypedDict): make_latest: NotRequired[WebhookReleaseEditedPropChangesPropMakeLatestType] +class WebhookReleaseEditedPropChangesTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChanges""" + + body: NotRequired[WebhookReleaseEditedPropChangesPropBodyTypeForResponse] + name: NotRequired[WebhookReleaseEditedPropChangesPropNameTypeForResponse] + tag_name: NotRequired[WebhookReleaseEditedPropChangesPropTagNameTypeForResponse] + make_latest: NotRequired[ + WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse + ] + + class WebhookReleaseEditedPropChangesPropBodyType(TypedDict): """WebhookReleaseEditedPropChangesPropBody""" from_: str +class WebhookReleaseEditedPropChangesPropBodyTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropBody""" + + from_: str + + class WebhookReleaseEditedPropChangesPropNameType(TypedDict): """WebhookReleaseEditedPropChangesPropName""" from_: str +class WebhookReleaseEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropName""" + + from_: str + + class WebhookReleaseEditedPropChangesPropTagNameType(TypedDict): """WebhookReleaseEditedPropChangesPropTagName""" from_: str +class WebhookReleaseEditedPropChangesPropTagNameTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropTagName""" + + from_: str + + class WebhookReleaseEditedPropChangesPropMakeLatestType(TypedDict): """WebhookReleaseEditedPropChangesPropMakeLatest""" to: bool +class WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse(TypedDict): + """WebhookReleaseEditedPropChangesPropMakeLatest""" + + to: bool + + __all__ = ( "WebhookReleaseEditedPropChangesPropBodyType", + "WebhookReleaseEditedPropChangesPropBodyTypeForResponse", "WebhookReleaseEditedPropChangesPropMakeLatestType", + "WebhookReleaseEditedPropChangesPropMakeLatestTypeForResponse", "WebhookReleaseEditedPropChangesPropNameType", + "WebhookReleaseEditedPropChangesPropNameTypeForResponse", "WebhookReleaseEditedPropChangesPropTagNameType", + "WebhookReleaseEditedPropChangesPropTagNameTypeForResponse", "WebhookReleaseEditedPropChangesType", + "WebhookReleaseEditedPropChangesTypeForResponse", "WebhookReleaseEditedType", + "WebhookReleaseEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0779.py b/githubkit/versions/v2022_11_28/types/group_0779.py index dc8b118c9..464fc60dd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0779.py +++ b/githubkit/versions/v2022_11_28/types/group_0779.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookReleasePrereleasedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookReleasePrereleasedType(TypedDict): sender: NotRequired[SimpleUserType] +class WebhookReleasePrereleasedTypeForResponse(TypedDict): + """release prereleased event""" + + action: Literal["prereleased"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhookReleasePrereleasedPropReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + class WebhookReleasePrereleasedPropReleaseType(TypedDict): """Release @@ -63,6 +78,41 @@ class WebhookReleasePrereleasedPropReleaseType(TypedDict): zipball_url: Union[str, None] +class WebhookReleasePrereleasedPropReleaseTypeForResponse(TypedDict): + """Release + + The [release](https://docs.github.com/rest/releases/releases/#get-a-release) + object. + """ + + assets: list[ + Union[WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse, None] + ] + assets_url: str + author: Union[WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse, None] + body: Union[str, None] + created_at: Union[str, None] + discussion_url: NotRequired[str] + draft: bool + html_url: str + id: int + immutable: bool + name: Union[str, None] + node_id: str + prerelease: Literal[True] + published_at: Union[str, None] + reactions: NotRequired[ + WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse + ] + tag_name: str + tarball_url: Union[str, None] + target_commitish: str + upload_url: str + updated_at: Union[str, None] + url: str + zipball_url: Union[str, None] + + class WebhookReleasePrereleasedPropReleasePropAssetsItemsType(TypedDict): """Release Asset @@ -87,6 +137,33 @@ class WebhookReleasePrereleasedPropReleasePropAssetsItemsType(TypedDict): url: str +class WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse(TypedDict): + """Release Asset + + Data related to a release. + """ + + browser_download_url: str + content_type: str + created_at: str + download_count: int + id: int + label: Union[str, None] + name: str + node_id: str + size: int + digest: Union[str, None] + state: Literal["uploaded"] + updated_at: str + uploader: NotRequired[ + Union[ + WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse, + None, + ] + ] + url: str + + class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType(TypedDict): """User""" @@ -113,6 +190,34 @@ class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType(TypedD url: NotRequired[str] +class WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookReleasePrereleasedPropReleasePropAuthorType(TypedDict): """User""" @@ -140,6 +245,33 @@ class WebhookReleasePrereleasedPropReleasePropAuthorType(TypedDict): user_view_type: NotRequired[str] +class WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookReleasePrereleasedPropReleasePropReactionsType(TypedDict): """Reactions""" @@ -155,11 +287,32 @@ class WebhookReleasePrereleasedPropReleasePropReactionsType(TypedDict): url: str +class WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse(TypedDict): + """Reactions""" + + plus_one: int + minus_one: int + confused: int + eyes: int + heart: int + hooray: int + laugh: int + rocket: int + total_count: int + url: str + + __all__ = ( "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsPropUploaderTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAssetsItemsType", + "WebhookReleasePrereleasedPropReleasePropAssetsItemsTypeForResponse", "WebhookReleasePrereleasedPropReleasePropAuthorType", + "WebhookReleasePrereleasedPropReleasePropAuthorTypeForResponse", "WebhookReleasePrereleasedPropReleasePropReactionsType", + "WebhookReleasePrereleasedPropReleasePropReactionsTypeForResponse", "WebhookReleasePrereleasedPropReleaseType", + "WebhookReleasePrereleasedPropReleaseTypeForResponse", "WebhookReleasePrereleasedType", + "WebhookReleasePrereleasedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0780.py b/githubkit/versions/v2022_11_28/types/group_0780.py index f33a7cfee..62dadc5af 100644 --- a/githubkit/versions/v2022_11_28/types/group_0780.py +++ b/githubkit/versions/v2022_11_28/types/group_0780.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0492 import WebhooksRelease1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0492 import WebhooksRelease1Type, WebhooksRelease1TypeForResponse class WebhookReleasePublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleasePublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleasePublishedType",) +class WebhookReleasePublishedTypeForResponse(TypedDict): + """release published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksRelease1TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleasePublishedType", + "WebhookReleasePublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0781.py b/githubkit/versions/v2022_11_28/types/group_0781.py index f0b60d95a..267cf6e41 100644 --- a/githubkit/versions/v2022_11_28/types/group_0781.py +++ b/githubkit/versions/v2022_11_28/types/group_0781.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0491 import WebhooksReleaseType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0491 import WebhooksReleaseType, WebhooksReleaseTypeForResponse class WebhookReleaseReleasedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseReleasedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleaseReleasedType",) +class WebhookReleaseReleasedTypeForResponse(TypedDict): + """release released event""" + + action: Literal["released"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksReleaseTypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleaseReleasedType", + "WebhookReleaseReleasedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0782.py b/githubkit/versions/v2022_11_28/types/group_0782.py index 2ae913f53..ef8cca81a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0782.py +++ b/githubkit/versions/v2022_11_28/types/group_0782.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0492 import WebhooksRelease1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0492 import WebhooksRelease1Type, WebhooksRelease1TypeForResponse class WebhookReleaseUnpublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookReleaseUnpublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookReleaseUnpublishedType",) +class WebhookReleaseUnpublishedTypeForResponse(TypedDict): + """release unpublished event""" + + action: Literal["unpublished"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + release: WebhooksRelease1TypeForResponse + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookReleaseUnpublishedType", + "WebhookReleaseUnpublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0783.py b/githubkit/versions/v2022_11_28/types/group_0783.py index 0956a7383..ab901d245 100644 --- a/githubkit/versions/v2022_11_28/types/group_0783.py +++ b/githubkit/versions/v2022_11_28/types/group_0783.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0209 import RepositoryAdvisoryType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0209 import RepositoryAdvisoryType, RepositoryAdvisoryTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryAdvisoryPublishedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryAdvisoryPublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookRepositoryAdvisoryPublishedType",) +class WebhookRepositoryAdvisoryPublishedTypeForResponse(TypedDict): + """Repository advisory published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + repository_advisory: RepositoryAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookRepositoryAdvisoryPublishedType", + "WebhookRepositoryAdvisoryPublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0784.py b/githubkit/versions/v2022_11_28/types/group_0784.py index 46fc6e881..11f1f3768 100644 --- a/githubkit/versions/v2022_11_28/types/group_0784.py +++ b/githubkit/versions/v2022_11_28/types/group_0784.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0209 import RepositoryAdvisoryType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0209 import RepositoryAdvisoryType, RepositoryAdvisoryTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryAdvisoryReportedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryAdvisoryReportedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookRepositoryAdvisoryReportedType",) +class WebhookRepositoryAdvisoryReportedTypeForResponse(TypedDict): + """Repository advisory reported event""" + + action: Literal["reported"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + repository_advisory: RepositoryAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookRepositoryAdvisoryReportedType", + "WebhookRepositoryAdvisoryReportedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0785.py b/githubkit/versions/v2022_11_28/types/group_0785.py index 5031d40a2..b7fa829c9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0785.py +++ b/githubkit/versions/v2022_11_28/types/group_0785.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryArchivedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryArchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryArchivedType",) +class WebhookRepositoryArchivedTypeForResponse(TypedDict): + """repository archived event""" + + action: Literal["archived"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryArchivedType", + "WebhookRepositoryArchivedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0786.py b/githubkit/versions/v2022_11_28/types/group_0786.py index 4d221e222..87dfa4e3e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0786.py +++ b/githubkit/versions/v2022_11_28/types/group_0786.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryCreatedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryCreatedType",) +class WebhookRepositoryCreatedTypeForResponse(TypedDict): + """repository created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryCreatedType", + "WebhookRepositoryCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0787.py b/githubkit/versions/v2022_11_28/types/group_0787.py index 06c5a0b93..1ae244c7c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0787.py +++ b/githubkit/versions/v2022_11_28/types/group_0787.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryDeletedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryDeletedType",) +class WebhookRepositoryDeletedTypeForResponse(TypedDict): + """repository deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryDeletedType", + "WebhookRepositoryDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0788.py b/githubkit/versions/v2022_11_28/types/group_0788.py index b37744f33..190f4ee48 100644 --- a/githubkit/versions/v2022_11_28/types/group_0788.py +++ b/githubkit/versions/v2022_11_28/types/group_0788.py @@ -12,11 +12,14 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryDispatchSampleType(TypedDict): @@ -32,6 +35,21 @@ class WebhookRepositoryDispatchSampleType(TypedDict): sender: SimpleUserType +class WebhookRepositoryDispatchSampleTypeForResponse(TypedDict): + """repository_dispatch event""" + + action: str + branch: str + client_payload: Union[ + WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse, None + ] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: SimpleInstallationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + WebhookRepositoryDispatchSamplePropClientPayloadType: TypeAlias = dict[str, Any] """WebhookRepositoryDispatchSamplePropClientPayload @@ -40,7 +58,19 @@ class WebhookRepositoryDispatchSampleType(TypedDict): """ +WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookRepositoryDispatchSamplePropClientPayload + +The `client_payload` that was specified in the `POST +/repos/{owner}/{repo}/dispatches` request body. +""" + + __all__ = ( "WebhookRepositoryDispatchSamplePropClientPayloadType", + "WebhookRepositoryDispatchSamplePropClientPayloadTypeForResponse", "WebhookRepositoryDispatchSampleType", + "WebhookRepositoryDispatchSampleTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0789.py b/githubkit/versions/v2022_11_28/types/group_0789.py index e8485e322..d255d33dd 100644 --- a/githubkit/versions/v2022_11_28/types/group_0789.py +++ b/githubkit/versions/v2022_11_28/types/group_0789.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryEditedType(TypedDict): @@ -31,6 +34,18 @@ class WebhookRepositoryEditedType(TypedDict): sender: SimpleUserType +class WebhookRepositoryEditedTypeForResponse(TypedDict): + """repository edited event""" + + action: Literal["edited"] + changes: WebhookRepositoryEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryEditedPropChangesType(TypedDict): """WebhookRepositoryEditedPropChanges""" @@ -40,35 +55,78 @@ class WebhookRepositoryEditedPropChangesType(TypedDict): topics: NotRequired[WebhookRepositoryEditedPropChangesPropTopicsType] +class WebhookRepositoryEditedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChanges""" + + default_branch: NotRequired[ + WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse + ] + description: NotRequired[ + WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse + ] + homepage: NotRequired[WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse] + topics: NotRequired[WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse] + + class WebhookRepositoryEditedPropChangesPropDefaultBranchType(TypedDict): """WebhookRepositoryEditedPropChangesPropDefaultBranch""" from_: str +class WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropDefaultBranch""" + + from_: str + + class WebhookRepositoryEditedPropChangesPropDescriptionType(TypedDict): """WebhookRepositoryEditedPropChangesPropDescription""" from_: Union[str, None] +class WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropDescription""" + + from_: Union[str, None] + + class WebhookRepositoryEditedPropChangesPropHomepageType(TypedDict): """WebhookRepositoryEditedPropChangesPropHomepage""" from_: Union[str, None] +class WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropHomepage""" + + from_: Union[str, None] + + class WebhookRepositoryEditedPropChangesPropTopicsType(TypedDict): """WebhookRepositoryEditedPropChangesPropTopics""" from_: NotRequired[Union[list[str], None]] +class WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse(TypedDict): + """WebhookRepositoryEditedPropChangesPropTopics""" + + from_: NotRequired[Union[list[str], None]] + + __all__ = ( "WebhookRepositoryEditedPropChangesPropDefaultBranchType", + "WebhookRepositoryEditedPropChangesPropDefaultBranchTypeForResponse", "WebhookRepositoryEditedPropChangesPropDescriptionType", + "WebhookRepositoryEditedPropChangesPropDescriptionTypeForResponse", "WebhookRepositoryEditedPropChangesPropHomepageType", + "WebhookRepositoryEditedPropChangesPropHomepageTypeForResponse", "WebhookRepositoryEditedPropChangesPropTopicsType", + "WebhookRepositoryEditedPropChangesPropTopicsTypeForResponse", "WebhookRepositoryEditedPropChangesType", + "WebhookRepositoryEditedPropChangesTypeForResponse", "WebhookRepositoryEditedType", + "WebhookRepositoryEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0790.py b/githubkit/versions/v2022_11_28/types/group_0790.py index d259492ae..b89d70c4a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0790.py +++ b/githubkit/versions/v2022_11_28/types/group_0790.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryImportType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryImportType(TypedDict): status: Literal["success", "cancelled", "failure"] -__all__ = ("WebhookRepositoryImportType",) +class WebhookRepositoryImportTypeForResponse(TypedDict): + """repository_import event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + status: Literal["success", "cancelled", "failure"] + + +__all__ = ( + "WebhookRepositoryImportType", + "WebhookRepositoryImportTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0791.py b/githubkit/versions/v2022_11_28/types/group_0791.py index ffc53490f..e03336d89 100644 --- a/githubkit/versions/v2022_11_28/types/group_0791.py +++ b/githubkit/versions/v2022_11_28/types/group_0791.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryPrivatizedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryPrivatizedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryPrivatizedType",) +class WebhookRepositoryPrivatizedTypeForResponse(TypedDict): + """repository privatized event""" + + action: Literal["privatized"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryPrivatizedType", + "WebhookRepositoryPrivatizedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0792.py b/githubkit/versions/v2022_11_28/types/group_0792.py index 64afc73ed..a6491903f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0792.py +++ b/githubkit/versions/v2022_11_28/types/group_0792.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryPublicizedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryPublicizedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryPublicizedType",) +class WebhookRepositoryPublicizedTypeForResponse(TypedDict): + """repository publicized event""" + + action: Literal["publicized"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryPublicizedType", + "WebhookRepositoryPublicizedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0793.py b/githubkit/versions/v2022_11_28/types/group_0793.py index 42423e892..f13f6a147 100644 --- a/githubkit/versions/v2022_11_28/types/group_0793.py +++ b/githubkit/versions/v2022_11_28/types/group_0793.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRenamedType(TypedDict): @@ -31,27 +34,63 @@ class WebhookRepositoryRenamedType(TypedDict): sender: SimpleUserType +class WebhookRepositoryRenamedTypeForResponse(TypedDict): + """repository renamed event""" + + action: Literal["renamed"] + changes: WebhookRepositoryRenamedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryRenamedPropChangesType(TypedDict): """WebhookRepositoryRenamedPropChanges""" repository: WebhookRepositoryRenamedPropChangesPropRepositoryType +class WebhookRepositoryRenamedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryRenamedPropChanges""" + + repository: WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse + + class WebhookRepositoryRenamedPropChangesPropRepositoryType(TypedDict): """WebhookRepositoryRenamedPropChangesPropRepository""" name: WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType +class WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse(TypedDict): + """WebhookRepositoryRenamedPropChangesPropRepository""" + + name: WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse + + class WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType(TypedDict): """WebhookRepositoryRenamedPropChangesPropRepositoryPropName""" from_: str +class WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse( + TypedDict +): + """WebhookRepositoryRenamedPropChangesPropRepositoryPropName""" + + from_: str + + __all__ = ( "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameType", + "WebhookRepositoryRenamedPropChangesPropRepositoryPropNameTypeForResponse", "WebhookRepositoryRenamedPropChangesPropRepositoryType", + "WebhookRepositoryRenamedPropChangesPropRepositoryTypeForResponse", "WebhookRepositoryRenamedPropChangesType", + "WebhookRepositoryRenamedPropChangesTypeForResponse", "WebhookRepositoryRenamedType", + "WebhookRepositoryRenamedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0794.py b/githubkit/versions/v2022_11_28/types/group_0794.py index 20367a36a..62db412d9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0794.py +++ b/githubkit/versions/v2022_11_28/types/group_0794.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import RepositoryRulesetType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRulesetCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryRulesetCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetCreatedType",) +class WebhookRepositoryRulesetCreatedTypeForResponse(TypedDict): + """repository ruleset created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetCreatedType", + "WebhookRepositoryRulesetCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0795.py b/githubkit/versions/v2022_11_28/types/group_0795.py index e4e717572..e899d53f8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0795.py +++ b/githubkit/versions/v2022_11_28/types/group_0795.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import RepositoryRulesetType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryRulesetDeletedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryRulesetDeletedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetDeletedType",) +class WebhookRepositoryRulesetDeletedTypeForResponse(TypedDict): + """repository ruleset deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetDeletedType", + "WebhookRepositoryRulesetDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0796.py b/githubkit/versions/v2022_11_28/types/group_0796.py index 5e02c75d6..e0f3c1443 100644 --- a/githubkit/versions/v2022_11_28/types/group_0796.py +++ b/githubkit/versions/v2022_11_28/types/group_0796.py @@ -12,13 +12,19 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0195 import RepositoryRulesetType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0797 import WebhookRepositoryRulesetEditedPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0195 import RepositoryRulesetType, RepositoryRulesetTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0797 import ( + WebhookRepositoryRulesetEditedPropChangesType, + WebhookRepositoryRulesetEditedPropChangesTypeForResponse, +) class WebhookRepositoryRulesetEditedType(TypedDict): @@ -34,4 +40,20 @@ class WebhookRepositoryRulesetEditedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryRulesetEditedType",) +class WebhookRepositoryRulesetEditedTypeForResponse(TypedDict): + """repository ruleset edited event""" + + action: Literal["edited"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + repository_ruleset: RepositoryRulesetTypeForResponse + changes: NotRequired[WebhookRepositoryRulesetEditedPropChangesTypeForResponse] + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryRulesetEditedType", + "WebhookRepositoryRulesetEditedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0797.py b/githubkit/versions/v2022_11_28/types/group_0797.py index a75b65de6..0a44c98e0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0797.py +++ b/githubkit/versions/v2022_11_28/types/group_0797.py @@ -11,8 +11,14 @@ from typing_extensions import NotRequired, TypedDict -from .group_0798 import WebhookRepositoryRulesetEditedPropChangesPropConditionsType -from .group_0800 import WebhookRepositoryRulesetEditedPropChangesPropRulesType +from .group_0798 import ( + WebhookRepositoryRulesetEditedPropChangesPropConditionsType, + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse, +) +from .group_0800 import ( + WebhookRepositoryRulesetEditedPropChangesPropRulesType, + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse, +) class WebhookRepositoryRulesetEditedPropChangesType(TypedDict): @@ -26,20 +32,52 @@ class WebhookRepositoryRulesetEditedPropChangesType(TypedDict): rules: NotRequired[WebhookRepositoryRulesetEditedPropChangesPropRulesType] +class WebhookRepositoryRulesetEditedPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChanges""" + + name: NotRequired[WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse] + enforcement: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse + ] + conditions: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse + ] + rules: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropNameType(TypedDict): """WebhookRepositoryRulesetEditedPropChangesPropName""" from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropName""" + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropEnforcementType(TypedDict): """WebhookRepositoryRulesetEditedPropChangesPropEnforcement""" from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropEnforcement""" + + from_: NotRequired[str] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropEnforcementType", + "WebhookRepositoryRulesetEditedPropChangesPropEnforcementTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropNameType", + "WebhookRepositoryRulesetEditedPropChangesPropNameTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0798.py b/githubkit/versions/v2022_11_28/types/group_0798.py index 790f8b0d1..84ccecf35 100644 --- a/githubkit/versions/v2022_11_28/types/group_0798.py +++ b/githubkit/versions/v2022_11_28/types/group_0798.py @@ -11,9 +11,13 @@ from typing_extensions import NotRequired, TypedDict -from .group_0146 import RepositoryRulesetConditionsType +from .group_0146 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0799 import ( WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType, + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse, ) @@ -29,4 +33,19 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsType(TypedDict): ] -__all__ = ("WebhookRepositoryRulesetEditedPropChangesPropConditionsType",) +class WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropConditions""" + + added: NotRequired[list[RepositoryRulesetConditionsTypeForResponse]] + deleted: NotRequired[list[RepositoryRulesetConditionsTypeForResponse]] + updated: NotRequired[ + list[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse + ] + ] + + +__all__ = ( + "WebhookRepositoryRulesetEditedPropChangesPropConditionsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0799.py b/githubkit/versions/v2022_11_28/types/group_0799.py index ea837b8e1..5fa612204 100644 --- a/githubkit/versions/v2022_11_28/types/group_0799.py +++ b/githubkit/versions/v2022_11_28/types/group_0799.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0146 import RepositoryRulesetConditionsType +from .group_0146 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType( @@ -25,6 +28,17 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTyp ] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItems""" + + condition: NotRequired[RepositoryRulesetConditionsTypeForResponse] + changes: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType( TypedDict ): @@ -46,6 +60,27 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro ] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + es + """ + + condition_type: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse + ] + target: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse + ] + include: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse + ] + exclude: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType( TypedDict ): @@ -56,6 +91,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropConditionType + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType( TypedDict ): @@ -66,6 +111,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropTarget + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType( TypedDict ): @@ -76,6 +131,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[list[str]] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropInclude + """ + + from_: NotRequired[list[str]] + + class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType( TypedDict ): @@ -86,11 +151,27 @@ class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPro from_: NotRequired[list[str]] +class WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChang + esPropExclude + """ + + from_: NotRequired[list[str]] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropConditionTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropExcludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropIncludeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesPropTargetTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropConditionsPropUpdatedItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0800.py b/githubkit/versions/v2022_11_28/types/group_0800.py index e3d7a1cc7..1d34d94ea 100644 --- a/githubkit/versions/v2022_11_28/types/group_0800.py +++ b/githubkit/versions/v2022_11_28/types/group_0800.py @@ -14,30 +14,86 @@ from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0161 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0193 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0161 import RepositoryRuleMergeQueueType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType -from .group_0193 import RepositoryRuleCopilotCodeReviewType from .group_0801 import ( WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType, + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse, ) @@ -105,4 +161,73 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesType(TypedDict): ] -__all__ = ("WebhookRepositoryRulesetEditedPropChangesPropRulesType",) +class WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse(TypedDict): + """WebhookRepositoryRulesetEditedPropChangesPropRules""" + + added: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + deleted: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + updated: NotRequired[ + list[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse + ] + ] + + +__all__ = ( + "WebhookRepositoryRulesetEditedPropChangesPropRulesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0801.py b/githubkit/versions/v2022_11_28/types/group_0801.py index 6b969741a..be54d37cb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0801.py +++ b/githubkit/versions/v2022_11_28/types/group_0801.py @@ -14,28 +14,83 @@ from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0161 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0193 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0161 import RepositoryRuleMergeQueueType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType -from .group_0193 import RepositoryRuleCopilotCodeReviewType class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType(TypedDict): @@ -72,6 +127,42 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType(Typ ] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItems""" + + rule: NotRequired[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + changes: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType( TypedDict ): @@ -88,6 +179,22 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan ] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChanges""" + + configuration: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse + ] + rule_type: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse + ] + pattern: NotRequired[ + WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse + ] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType( TypedDict ): @@ -98,6 +205,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pConfiguration + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType( TypedDict ): @@ -108,6 +225,16 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pRuleType + """ + + from_: NotRequired[str] + + class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType( TypedDict ): @@ -118,10 +245,25 @@ class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChan from_: NotRequired[str] +class WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse( + TypedDict +): + """WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPro + pPattern + """ + + from_: NotRequired[str] + + __all__ = ( "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropConfigurationTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropPatternTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesPropRuleTypeTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsPropChangesTypeForResponse", "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsType", + "WebhookRepositoryRulesetEditedPropChangesPropRulesPropUpdatedItemsTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0802.py b/githubkit/versions/v2022_11_28/types/group_0802.py index c1935690f..d42cd932a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0802.py +++ b/githubkit/versions/v2022_11_28/types/group_0802.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryTransferredType(TypedDict): @@ -31,18 +34,42 @@ class WebhookRepositoryTransferredType(TypedDict): sender: SimpleUserType +class WebhookRepositoryTransferredTypeForResponse(TypedDict): + """repository transferred event""" + + action: Literal["transferred"] + changes: WebhookRepositoryTransferredPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryTransferredPropChangesType(TypedDict): """WebhookRepositoryTransferredPropChanges""" owner: WebhookRepositoryTransferredPropChangesPropOwnerType +class WebhookRepositoryTransferredPropChangesTypeForResponse(TypedDict): + """WebhookRepositoryTransferredPropChanges""" + + owner: WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse + + class WebhookRepositoryTransferredPropChangesPropOwnerType(TypedDict): """WebhookRepositoryTransferredPropChangesPropOwner""" from_: WebhookRepositoryTransferredPropChangesPropOwnerPropFromType +class WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse(TypedDict): + """WebhookRepositoryTransferredPropChangesPropOwner""" + + from_: WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromType(TypedDict): """WebhookRepositoryTransferredPropChangesPropOwnerPropFrom""" @@ -56,6 +83,22 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromType(TypedDict): ] +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse( + TypedDict +): + """WebhookRepositoryTransferredPropChangesPropOwnerPropFrom""" + + organization: NotRequired[ + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse + ] + user: NotRequired[ + Union[ + WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse, + None, + ] + ] + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType( TypedDict ): @@ -76,6 +119,26 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTy url: str +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse( + TypedDict +): + """Organization""" + + avatar_url: str + description: Union[str, None] + events_url: str + hooks_url: str + html_url: NotRequired[str] + id: int + issues_url: str + login: str + members_url: str + node_id: str + public_members_url: str + repos_url: str + url: str + + class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType(TypedDict): """User""" @@ -103,11 +166,46 @@ class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType(Typed user_view_type: NotRequired[str] +class WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropOrganizationTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromPropUserTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerPropFromType", + "WebhookRepositoryTransferredPropChangesPropOwnerPropFromTypeForResponse", "WebhookRepositoryTransferredPropChangesPropOwnerType", + "WebhookRepositoryTransferredPropChangesPropOwnerTypeForResponse", "WebhookRepositoryTransferredPropChangesType", + "WebhookRepositoryTransferredPropChangesTypeForResponse", "WebhookRepositoryTransferredType", + "WebhookRepositoryTransferredTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0803.py b/githubkit/versions/v2022_11_28/types/group_0803.py index a1aa0595f..5548fd6de 100644 --- a/githubkit/versions/v2022_11_28/types/group_0803.py +++ b/githubkit/versions/v2022_11_28/types/group_0803.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryUnarchivedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookRepositoryUnarchivedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryUnarchivedType",) +class WebhookRepositoryUnarchivedTypeForResponse(TypedDict): + """repository unarchived event""" + + action: Literal["unarchived"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryUnarchivedType", + "WebhookRepositoryUnarchivedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0804.py b/githubkit/versions/v2022_11_28/types/group_0804.py index afc37f754..009b4e936 100644 --- a/githubkit/versions/v2022_11_28/types/group_0804.py +++ b/githubkit/versions/v2022_11_28/types/group_0804.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0493 import WebhooksAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0493 import WebhooksAlertType, WebhooksAlertTypeForResponse class WebhookRepositoryVulnerabilityAlertCreateType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryVulnerabilityAlertCreateType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryVulnerabilityAlertCreateType",) +class WebhookRepositoryVulnerabilityAlertCreateTypeForResponse(TypedDict): + """repository_vulnerability_alert create event""" + + action: Literal["create"] + alert: WebhooksAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryVulnerabilityAlertCreateType", + "WebhookRepositoryVulnerabilityAlertCreateTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0805.py b/githubkit/versions/v2022_11_28/types/group_0805.py index a5d31fe68..4fb2f8133 100644 --- a/githubkit/versions/v2022_11_28/types/group_0805.py +++ b/githubkit/versions/v2022_11_28/types/group_0805.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryVulnerabilityAlertDismissType(TypedDict): @@ -32,6 +35,18 @@ class WebhookRepositoryVulnerabilityAlertDismissType(TypedDict): sender: SimpleUserType +class WebhookRepositoryVulnerabilityAlertDismissTypeForResponse(TypedDict): + """repository_vulnerability_alert dismiss event""" + + action: Literal["dismiss"] + alert: WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryVulnerabilityAlertDismissPropAlertType(TypedDict): """Repository Vulnerability Alert Alert @@ -60,6 +75,35 @@ class WebhookRepositoryVulnerabilityAlertDismissPropAlertType(TypedDict): state: Literal["dismissed"] +class WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_comment: NotRequired[Union[str, None]] + dismiss_reason: str + dismissed_at: str + dismisser: Union[ + WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse, + None, + ] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["dismissed"] + + class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType(TypedDict): """User""" @@ -87,8 +131,40 @@ class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType(Typed user_view_type: NotRequired[str] +class WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + __all__ = ( "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertPropDismisserTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissPropAlertType", + "WebhookRepositoryVulnerabilityAlertDismissPropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertDismissType", + "WebhookRepositoryVulnerabilityAlertDismissTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0806.py b/githubkit/versions/v2022_11_28/types/group_0806.py index b454204ad..d7112cd82 100644 --- a/githubkit/versions/v2022_11_28/types/group_0806.py +++ b/githubkit/versions/v2022_11_28/types/group_0806.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0493 import WebhooksAlertType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0493 import WebhooksAlertType, WebhooksAlertTypeForResponse class WebhookRepositoryVulnerabilityAlertReopenType(TypedDict): @@ -32,4 +35,19 @@ class WebhookRepositoryVulnerabilityAlertReopenType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookRepositoryVulnerabilityAlertReopenType",) +class WebhookRepositoryVulnerabilityAlertReopenTypeForResponse(TypedDict): + """repository_vulnerability_alert reopen event""" + + action: Literal["reopen"] + alert: WebhooksAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookRepositoryVulnerabilityAlertReopenType", + "WebhookRepositoryVulnerabilityAlertReopenTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0807.py b/githubkit/versions/v2022_11_28/types/group_0807.py index 20c13b3ef..d44520ddf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0807.py +++ b/githubkit/versions/v2022_11_28/types/group_0807.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookRepositoryVulnerabilityAlertResolveType(TypedDict): @@ -32,6 +35,18 @@ class WebhookRepositoryVulnerabilityAlertResolveType(TypedDict): sender: SimpleUserType +class WebhookRepositoryVulnerabilityAlertResolveTypeForResponse(TypedDict): + """repository_vulnerability_alert resolve event""" + + action: Literal["resolve"] + alert: WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + class WebhookRepositoryVulnerabilityAlertResolvePropAlertType(TypedDict): """Repository Vulnerability Alert Alert @@ -61,6 +76,36 @@ class WebhookRepositoryVulnerabilityAlertResolvePropAlertType(TypedDict): state: Literal["fixed", "open"] +class WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse(TypedDict): + """Repository Vulnerability Alert Alert + + The security alert of the vulnerable dependency. + """ + + affected_package_name: str + affected_range: str + created_at: str + dismiss_reason: NotRequired[str] + dismissed_at: NotRequired[str] + dismisser: NotRequired[ + Union[ + WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse, + None, + ] + ] + external_identifier: str + external_reference: Union[str, None] + fix_reason: NotRequired[str] + fixed_at: NotRequired[str] + fixed_in: NotRequired[str] + ghsa_id: str + id: int + node_id: str + number: int + severity: str + state: Literal["fixed", "open"] + + class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType(TypedDict): """User""" @@ -87,8 +132,39 @@ class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType(Typed url: NotRequired[str] +class WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + __all__ = ( "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertPropDismisserTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolvePropAlertType", + "WebhookRepositoryVulnerabilityAlertResolvePropAlertTypeForResponse", "WebhookRepositoryVulnerabilityAlertResolveType", + "WebhookRepositoryVulnerabilityAlertResolveTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0808.py b/githubkit/versions/v2022_11_28/types/group_0808.py index 10f8c47c1..e4b2efc15 100644 --- a/githubkit/versions/v2022_11_28/types/group_0808.py +++ b/githubkit/versions/v2022_11_28/types/group_0808.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertCreatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertCreatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertCreatedType",) +class WebhookSecretScanningAlertCreatedTypeForResponse(TypedDict): + """secret_scanning_alert created event""" + + action: Literal["created"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertCreatedType", + "WebhookSecretScanningAlertCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0809.py b/githubkit/versions/v2022_11_28/types/group_0809.py index 01c6119f1..b82beafe0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0809.py +++ b/githubkit/versions/v2022_11_28/types/group_0809.py @@ -12,12 +12,21 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0405 import SecretScanningLocationType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0405 import ( + SecretScanningLocationType, + SecretScanningLocationTypeForResponse, +) +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertLocationCreatedType(TypedDict): @@ -32,4 +41,19 @@ class WebhookSecretScanningAlertLocationCreatedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookSecretScanningAlertLocationCreatedType",) +class WebhookSecretScanningAlertLocationCreatedTypeForResponse(TypedDict): + """Secret Scanning Alert Location Created Event""" + + action: Literal["created"] + alert: SecretScanningAlertWebhookTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + location: SecretScanningLocationTypeForResponse + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookSecretScanningAlertLocationCreatedType", + "WebhookSecretScanningAlertLocationCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0810.py b/githubkit/versions/v2022_11_28/types/group_0810.py index 4c3c84e39..8f7fc45fa 100644 --- a/githubkit/versions/v2022_11_28/types/group_0810.py +++ b/githubkit/versions/v2022_11_28/types/group_0810.py @@ -18,4 +18,13 @@ class WebhookSecretScanningAlertLocationCreatedFormEncodedType(TypedDict): payload: str -__all__ = ("WebhookSecretScanningAlertLocationCreatedFormEncodedType",) +class WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse(TypedDict): + """Secret Scanning Alert Location Created Event""" + + payload: str + + +__all__ = ( + "WebhookSecretScanningAlertLocationCreatedFormEncodedType", + "WebhookSecretScanningAlertLocationCreatedFormEncodedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0811.py b/githubkit/versions/v2022_11_28/types/group_0811.py index 18b2d4e60..79a878ab5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0811.py +++ b/githubkit/versions/v2022_11_28/types/group_0811.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertPubliclyLeakedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertPubliclyLeakedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertPubliclyLeakedType",) +class WebhookSecretScanningAlertPubliclyLeakedTypeForResponse(TypedDict): + """secret_scanning_alert publicly leaked event""" + + action: Literal["publicly_leaked"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertPubliclyLeakedType", + "WebhookSecretScanningAlertPubliclyLeakedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0812.py b/githubkit/versions/v2022_11_28/types/group_0812.py index 58fb8d7ae..1a99c1142 100644 --- a/githubkit/versions/v2022_11_28/types/group_0812.py +++ b/githubkit/versions/v2022_11_28/types/group_0812.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertReopenedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertReopenedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertReopenedType",) +class WebhookSecretScanningAlertReopenedTypeForResponse(TypedDict): + """secret_scanning_alert reopened event""" + + action: Literal["reopened"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertReopenedType", + "WebhookSecretScanningAlertReopenedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0813.py b/githubkit/versions/v2022_11_28/types/group_0813.py index 64c4bb3b5..9899633d9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0813.py +++ b/githubkit/versions/v2022_11_28/types/group_0813.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertResolvedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertResolvedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertResolvedType",) +class WebhookSecretScanningAlertResolvedTypeForResponse(TypedDict): + """secret_scanning_alert resolved event""" + + action: Literal["resolved"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertResolvedType", + "WebhookSecretScanningAlertResolvedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0814.py b/githubkit/versions/v2022_11_28/types/group_0814.py index f00ced14e..4ae7c3946 100644 --- a/githubkit/versions/v2022_11_28/types/group_0814.py +++ b/githubkit/versions/v2022_11_28/types/group_0814.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0494 import SecretScanningAlertWebhookType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0494 import ( + SecretScanningAlertWebhookType, + SecretScanningAlertWebhookTypeForResponse, +) class WebhookSecretScanningAlertValidatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecretScanningAlertValidatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningAlertValidatedType",) +class WebhookSecretScanningAlertValidatedTypeForResponse(TypedDict): + """secret_scanning_alert validated event""" + + action: Literal["validated"] + alert: SecretScanningAlertWebhookTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningAlertValidatedType", + "WebhookSecretScanningAlertValidatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0815.py b/githubkit/versions/v2022_11_28/types/group_0815.py index 00e1e721a..8485dae12 100644 --- a/githubkit/versions/v2022_11_28/types/group_0815.py +++ b/githubkit/versions/v2022_11_28/types/group_0815.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSecretScanningScanCompletedType(TypedDict): @@ -40,4 +43,27 @@ class WebhookSecretScanningScanCompletedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecretScanningScanCompletedType",) +class WebhookSecretScanningScanCompletedTypeForResponse(TypedDict): + """secret_scanning_scan completed event""" + + action: Literal["completed"] + type: Literal["backfill", "custom-pattern-backfill", "pattern-version-backfill"] + source: Literal["git", "issues", "pull-requests", "discussions", "wiki"] + started_at: str + completed_at: str + secret_types: NotRequired[Union[list[str], None]] + custom_pattern_name: NotRequired[Union[str, None]] + custom_pattern_scope: NotRequired[ + Union[None, Literal["repository", "organization", "enterprise"]] + ] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecretScanningScanCompletedType", + "WebhookSecretScanningScanCompletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0816.py b/githubkit/versions/v2022_11_28/types/group_0816.py index d1f425820..6e79fb7ca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0816.py +++ b/githubkit/versions/v2022_11_28/types/group_0816.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0495 import WebhooksSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0495 import ( + WebhooksSecurityAdvisoryType, + WebhooksSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryPublishedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecurityAdvisoryPublishedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryPublishedType",) +class WebhookSecurityAdvisoryPublishedTypeForResponse(TypedDict): + """security_advisory published event""" + + action: Literal["published"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: WebhooksSecurityAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryPublishedType", + "WebhookSecurityAdvisoryPublishedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0817.py b/githubkit/versions/v2022_11_28/types/group_0817.py index 4c51b0e23..02fc69b3c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0817.py +++ b/githubkit/versions/v2022_11_28/types/group_0817.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0495 import WebhooksSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0495 import ( + WebhooksSecurityAdvisoryType, + WebhooksSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryUpdatedType(TypedDict): @@ -32,4 +38,19 @@ class WebhookSecurityAdvisoryUpdatedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryUpdatedType",) +class WebhookSecurityAdvisoryUpdatedTypeForResponse(TypedDict): + """security_advisory updated event""" + + action: Literal["updated"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: WebhooksSecurityAdvisoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryUpdatedType", + "WebhookSecurityAdvisoryUpdatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0818.py b/githubkit/versions/v2022_11_28/types/group_0818.py index f0fb52f94..a15a08b55 100644 --- a/githubkit/versions/v2022_11_28/types/group_0818.py +++ b/githubkit/versions/v2022_11_28/types/group_0818.py @@ -12,12 +12,18 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0819 import WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0819 import ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType, + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse, +) class WebhookSecurityAdvisoryWithdrawnType(TypedDict): @@ -32,4 +38,21 @@ class WebhookSecurityAdvisoryWithdrawnType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAdvisoryWithdrawnType",) +class WebhookSecurityAdvisoryWithdrawnTypeForResponse(TypedDict): + """security_advisory withdrawn event""" + + action: Literal["withdrawn"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + security_advisory: ( + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse + ) + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAdvisoryWithdrawnType", + "WebhookSecurityAdvisoryWithdrawnTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0819.py b/githubkit/versions/v2022_11_28/types/group_0819.py index f38acab63..add19f9f0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0819.py +++ b/githubkit/versions/v2022_11_28/types/group_0819.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0001 import CvssSeveritiesType +from .group_0001 import CvssSeveritiesType, CvssSeveritiesTypeForResponse class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType(TypedDict): @@ -43,6 +43,36 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType(TypedDict): withdrawn_at: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse(TypedDict): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisory + + The details of the security advisory, including summary, description, and + severity. + """ + + cvss: WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse + cvss_severities: NotRequired[Union[CvssSeveritiesTypeForResponse, None]] + cwes: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse + ] + description: str + ghsa_id: str + identifiers: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse + ] + published_at: str + references: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse + ] + severity: str + summary: str + updated_at: str + vulnerabilities: list[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse + ] + withdrawn_at: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType(TypedDict): """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvss""" @@ -50,6 +80,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType(TypedDict vector_string: Union[str, None] +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvss""" + + score: float + vector_string: Union[str, None] + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType(TypedDict): """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItems""" @@ -57,6 +96,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType(Type name: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItems""" + + cwe_id: str + name: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType( TypedDict ): @@ -66,6 +114,15 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTy value: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItems""" + + type: str + value: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType( TypedDict ): @@ -74,6 +131,14 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTyp url: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItems""" + + url: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType( TypedDict ): @@ -88,6 +153,20 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte vulnerable_version_range: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItems""" + + first_patched_version: Union[ + WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse, + None, + ] + package: WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse + severity: str + vulnerable_version_range: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType( TypedDict ): @@ -98,6 +177,16 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte identifier: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsProp + FirstPatchedVersion + """ + + identifier: str + + class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType( TypedDict ): @@ -109,13 +198,32 @@ class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesIte name: str +class WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse( + TypedDict +): + """WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsProp + Package + """ + + ecosystem: str + name: str + + __all__ = ( "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCvssTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropCwesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropIdentifiersItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropReferencesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropFirstPatchedVersionTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsPropPackageTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryPropVulnerabilitiesItemsTypeForResponse", "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryType", + "WebhookSecurityAdvisoryWithdrawnPropSecurityAdvisoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0820.py b/githubkit/versions/v2022_11_28/types/group_0820.py index ef92e9315..5af671bfb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0820.py +++ b/githubkit/versions/v2022_11_28/types/group_0820.py @@ -11,12 +11,18 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0144 import FullRepositoryType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0821 import WebhookSecurityAndAnalysisPropChangesType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0144 import FullRepositoryType, FullRepositoryTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0821 import ( + WebhookSecurityAndAnalysisPropChangesType, + WebhookSecurityAndAnalysisPropChangesTypeForResponse, +) class WebhookSecurityAndAnalysisType(TypedDict): @@ -30,4 +36,18 @@ class WebhookSecurityAndAnalysisType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSecurityAndAnalysisType",) +class WebhookSecurityAndAnalysisTypeForResponse(TypedDict): + """security_and_analysis event""" + + changes: WebhookSecurityAndAnalysisPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: FullRepositoryTypeForResponse + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSecurityAndAnalysisType", + "WebhookSecurityAndAnalysisTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0821.py b/githubkit/versions/v2022_11_28/types/group_0821.py index 24080095f..2e3c826cf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0821.py +++ b/githubkit/versions/v2022_11_28/types/group_0821.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0822 import WebhookSecurityAndAnalysisPropChangesPropFromType +from .group_0822 import ( + WebhookSecurityAndAnalysisPropChangesPropFromType, + WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse, +) class WebhookSecurityAndAnalysisPropChangesType(TypedDict): @@ -20,4 +23,13 @@ class WebhookSecurityAndAnalysisPropChangesType(TypedDict): from_: NotRequired[WebhookSecurityAndAnalysisPropChangesPropFromType] -__all__ = ("WebhookSecurityAndAnalysisPropChangesType",) +class WebhookSecurityAndAnalysisPropChangesTypeForResponse(TypedDict): + """WebhookSecurityAndAnalysisPropChanges""" + + from_: NotRequired[WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse] + + +__all__ = ( + "WebhookSecurityAndAnalysisPropChangesType", + "WebhookSecurityAndAnalysisPropChangesTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0822.py b/githubkit/versions/v2022_11_28/types/group_0822.py index c0b5b7308..f15dcbed8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0822.py +++ b/githubkit/versions/v2022_11_28/types/group_0822.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0060 import SecurityAndAnalysisType +from .group_0060 import SecurityAndAnalysisType, SecurityAndAnalysisTypeForResponse class WebhookSecurityAndAnalysisPropChangesPropFromType(TypedDict): @@ -21,4 +21,13 @@ class WebhookSecurityAndAnalysisPropChangesPropFromType(TypedDict): security_and_analysis: NotRequired[Union[SecurityAndAnalysisType, None]] -__all__ = ("WebhookSecurityAndAnalysisPropChangesPropFromType",) +class WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse(TypedDict): + """WebhookSecurityAndAnalysisPropChangesPropFrom""" + + security_and_analysis: NotRequired[Union[SecurityAndAnalysisTypeForResponse, None]] + + +__all__ = ( + "WebhookSecurityAndAnalysisPropChangesPropFromType", + "WebhookSecurityAndAnalysisPropChangesPropFromTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0823.py b/githubkit/versions/v2022_11_28/types/group_0823.py index d66d11e57..5cf9d9f5f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0823.py +++ b/githubkit/versions/v2022_11_28/types/group_0823.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipCancelledType(TypedDict): @@ -32,4 +35,19 @@ class WebhookSponsorshipCancelledType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipCancelledType",) +class WebhookSponsorshipCancelledTypeForResponse(TypedDict): + """sponsorship cancelled event""" + + action: Literal["cancelled"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipCancelledType", + "WebhookSponsorshipCancelledTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0824.py b/githubkit/versions/v2022_11_28/types/group_0824.py index 84496a28c..f9e2115b6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0824.py +++ b/githubkit/versions/v2022_11_28/types/group_0824.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipCreatedType(TypedDict): @@ -32,4 +35,19 @@ class WebhookSponsorshipCreatedType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipCreatedType",) +class WebhookSponsorshipCreatedTypeForResponse(TypedDict): + """sponsorship created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipCreatedType", + "WebhookSponsorshipCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0825.py b/githubkit/versions/v2022_11_28/types/group_0825.py index 58d272838..6280ca20b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0825.py +++ b/githubkit/versions/v2022_11_28/types/group_0825.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipEditedType(TypedDict): @@ -33,20 +36,50 @@ class WebhookSponsorshipEditedType(TypedDict): sponsorship: WebhooksSponsorshipType +class WebhookSponsorshipEditedTypeForResponse(TypedDict): + """sponsorship edited event""" + + action: Literal["edited"] + changes: WebhookSponsorshipEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + class WebhookSponsorshipEditedPropChangesType(TypedDict): """WebhookSponsorshipEditedPropChanges""" privacy_level: NotRequired[WebhookSponsorshipEditedPropChangesPropPrivacyLevelType] +class WebhookSponsorshipEditedPropChangesTypeForResponse(TypedDict): + """WebhookSponsorshipEditedPropChanges""" + + privacy_level: NotRequired[ + WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse + ] + + class WebhookSponsorshipEditedPropChangesPropPrivacyLevelType(TypedDict): """WebhookSponsorshipEditedPropChangesPropPrivacyLevel""" from_: str +class WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse(TypedDict): + """WebhookSponsorshipEditedPropChangesPropPrivacyLevel""" + + from_: str + + __all__ = ( "WebhookSponsorshipEditedPropChangesPropPrivacyLevelType", + "WebhookSponsorshipEditedPropChangesPropPrivacyLevelTypeForResponse", "WebhookSponsorshipEditedPropChangesType", + "WebhookSponsorshipEditedPropChangesTypeForResponse", "WebhookSponsorshipEditedType", + "WebhookSponsorshipEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0826.py b/githubkit/versions/v2022_11_28/types/group_0826.py index 0866497ac..08d00c561 100644 --- a/githubkit/versions/v2022_11_28/types/group_0826.py +++ b/githubkit/versions/v2022_11_28/types/group_0826.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse class WebhookSponsorshipPendingCancellationType(TypedDict): @@ -33,4 +36,20 @@ class WebhookSponsorshipPendingCancellationType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipPendingCancellationType",) +class WebhookSponsorshipPendingCancellationTypeForResponse(TypedDict): + """sponsorship pending_cancellation event""" + + action: Literal["pending_cancellation"] + effective_date: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipPendingCancellationType", + "WebhookSponsorshipPendingCancellationTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0827.py b/githubkit/versions/v2022_11_28/types/group_0827.py index 571988ffa..0b33d3943 100644 --- a/githubkit/versions/v2022_11_28/types/group_0827.py +++ b/githubkit/versions/v2022_11_28/types/group_0827.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType -from .group_0497 import WebhooksChanges8Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse +from .group_0497 import WebhooksChanges8Type, WebhooksChanges8TypeForResponse class WebhookSponsorshipPendingTierChangeType(TypedDict): @@ -35,4 +38,21 @@ class WebhookSponsorshipPendingTierChangeType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipPendingTierChangeType",) +class WebhookSponsorshipPendingTierChangeTypeForResponse(TypedDict): + """sponsorship pending_tier_change event""" + + action: Literal["pending_tier_change"] + changes: WebhooksChanges8TypeForResponse + effective_date: NotRequired[str] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipPendingTierChangeType", + "WebhookSponsorshipPendingTierChangeTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0828.py b/githubkit/versions/v2022_11_28/types/group_0828.py index 430011b30..bafe4d9f9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0828.py +++ b/githubkit/versions/v2022_11_28/types/group_0828.py @@ -12,13 +12,16 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0496 import WebhooksSponsorshipType -from .group_0497 import WebhooksChanges8Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0496 import WebhooksSponsorshipType, WebhooksSponsorshipTypeForResponse +from .group_0497 import WebhooksChanges8Type, WebhooksChanges8TypeForResponse class WebhookSponsorshipTierChangedType(TypedDict): @@ -34,4 +37,20 @@ class WebhookSponsorshipTierChangedType(TypedDict): sponsorship: WebhooksSponsorshipType -__all__ = ("WebhookSponsorshipTierChangedType",) +class WebhookSponsorshipTierChangedTypeForResponse(TypedDict): + """sponsorship tier_changed event""" + + action: Literal["tier_changed"] + changes: WebhooksChanges8TypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: SimpleUserTypeForResponse + sponsorship: WebhooksSponsorshipTypeForResponse + + +__all__ = ( + "WebhookSponsorshipTierChangedType", + "WebhookSponsorshipTierChangedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0829.py b/githubkit/versions/v2022_11_28/types/group_0829.py index 067417e33..426c7c58e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0829.py +++ b/githubkit/versions/v2022_11_28/types/group_0829.py @@ -12,11 +12,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStarCreatedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookStarCreatedType(TypedDict): starred_at: Union[str, None] -__all__ = ("WebhookStarCreatedType",) +class WebhookStarCreatedTypeForResponse(TypedDict): + """star created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + starred_at: Union[str, None] + + +__all__ = ( + "WebhookStarCreatedType", + "WebhookStarCreatedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0830.py b/githubkit/versions/v2022_11_28/types/group_0830.py index 742f6ad9b..221794cec 100644 --- a/githubkit/versions/v2022_11_28/types/group_0830.py +++ b/githubkit/versions/v2022_11_28/types/group_0830.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStarDeletedType(TypedDict): @@ -31,4 +34,19 @@ class WebhookStarDeletedType(TypedDict): starred_at: None -__all__ = ("WebhookStarDeletedType",) +class WebhookStarDeletedTypeForResponse(TypedDict): + """star deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + starred_at: None + + +__all__ = ( + "WebhookStarDeletedType", + "WebhookStarDeletedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0831.py b/githubkit/versions/v2022_11_28/types/group_0831.py index 0ce5790fa..7bd755a49 100644 --- a/githubkit/versions/v2022_11_28/types/group_0831.py +++ b/githubkit/versions/v2022_11_28/types/group_0831.py @@ -13,11 +13,14 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookStatusType(TypedDict): @@ -42,6 +45,28 @@ class WebhookStatusType(TypedDict): updated_at: str +class WebhookStatusTypeForResponse(TypedDict): + """status event""" + + avatar_url: NotRequired[Union[str, None]] + branches: list[WebhookStatusPropBranchesItemsTypeForResponse] + commit: WebhookStatusPropCommitTypeForResponse + context: str + created_at: str + description: Union[str, None] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + id: int + installation: NotRequired[SimpleInstallationTypeForResponse] + name: str + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + sha: str + state: Literal["pending", "success", "failure", "error"] + target_url: Union[str, None] + updated_at: str + + class WebhookStatusPropBranchesItemsType(TypedDict): """WebhookStatusPropBranchesItems""" @@ -50,6 +75,14 @@ class WebhookStatusPropBranchesItemsType(TypedDict): protected: bool +class WebhookStatusPropBranchesItemsTypeForResponse(TypedDict): + """WebhookStatusPropBranchesItems""" + + commit: WebhookStatusPropBranchesItemsPropCommitTypeForResponse + name: str + protected: bool + + class WebhookStatusPropBranchesItemsPropCommitType(TypedDict): """WebhookStatusPropBranchesItemsPropCommit""" @@ -57,6 +90,13 @@ class WebhookStatusPropBranchesItemsPropCommitType(TypedDict): url: Union[str, None] +class WebhookStatusPropBranchesItemsPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropBranchesItemsPropCommit""" + + sha: Union[str, None] + url: Union[str, None] + + class WebhookStatusPropCommitType(TypedDict): """WebhookStatusPropCommit""" @@ -71,6 +111,20 @@ class WebhookStatusPropCommitType(TypedDict): url: str +class WebhookStatusPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropCommit""" + + author: Union[WebhookStatusPropCommitPropAuthorTypeForResponse, None] + comments_url: str + commit: WebhookStatusPropCommitPropCommitTypeForResponse + committer: Union[WebhookStatusPropCommitPropCommitterTypeForResponse, None] + html_url: str + node_id: str + parents: list[WebhookStatusPropCommitPropParentsItemsTypeForResponse] + sha: str + url: str + + class WebhookStatusPropCommitPropAuthorType(TypedDict): """User""" @@ -97,6 +151,32 @@ class WebhookStatusPropCommitPropAuthorType(TypedDict): url: NotRequired[str] +class WebhookStatusPropCommitPropAuthorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookStatusPropCommitPropCommitterType(TypedDict): """User""" @@ -123,6 +203,32 @@ class WebhookStatusPropCommitPropCommitterType(TypedDict): url: NotRequired[str] +class WebhookStatusPropCommitPropCommitterTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + login: NotRequired[str] + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookStatusPropCommitPropParentsItemsType(TypedDict): """WebhookStatusPropCommitPropParentsItems""" @@ -131,6 +237,14 @@ class WebhookStatusPropCommitPropParentsItemsType(TypedDict): url: str +class WebhookStatusPropCommitPropParentsItemsTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropParentsItems""" + + html_url: str + sha: str + url: str + + class WebhookStatusPropCommitPropCommitType(TypedDict): """WebhookStatusPropCommitPropCommit""" @@ -143,6 +257,18 @@ class WebhookStatusPropCommitPropCommitType(TypedDict): verification: WebhookStatusPropCommitPropCommitPropVerificationType +class WebhookStatusPropCommitPropCommitTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommit""" + + author: WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse + comment_count: int + committer: WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse + message: str + tree: WebhookStatusPropCommitPropCommitPropTreeTypeForResponse + url: str + verification: WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse + + class WebhookStatusPropCommitPropCommitPropAuthorType(TypedDict): """WebhookStatusPropCommitPropCommitPropAuthor""" @@ -152,6 +278,15 @@ class WebhookStatusPropCommitPropCommitPropAuthorType(TypedDict): username: NotRequired[str] +class WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropAuthor""" + + date: str + email: str + name: str + username: NotRequired[str] + + class WebhookStatusPropCommitPropCommitPropCommitterType(TypedDict): """WebhookStatusPropCommitPropCommitPropCommitter""" @@ -161,6 +296,15 @@ class WebhookStatusPropCommitPropCommitPropCommitterType(TypedDict): username: NotRequired[str] +class WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropCommitter""" + + date: str + email: str + name: str + username: NotRequired[str] + + class WebhookStatusPropCommitPropCommitPropTreeType(TypedDict): """WebhookStatusPropCommitPropCommitPropTree""" @@ -168,6 +312,13 @@ class WebhookStatusPropCommitPropCommitPropTreeType(TypedDict): url: str +class WebhookStatusPropCommitPropCommitPropTreeTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropTree""" + + sha: str + url: str + + class WebhookStatusPropCommitPropCommitPropVerificationType(TypedDict): """WebhookStatusPropCommitPropCommitPropVerification""" @@ -194,17 +345,55 @@ class WebhookStatusPropCommitPropCommitPropVerificationType(TypedDict): verified_at: Union[str, None] +class WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropVerification""" + + payload: Union[str, None] + reason: Literal[ + "expired_key", + "not_signing_key", + "gpgverify_error", + "gpgverify_unavailable", + "unsigned", + "unknown_signature_type", + "no_user", + "unverified_email", + "bad_email", + "unknown_key", + "malformed_signature", + "invalid", + "valid", + "bad_cert", + "ocsp_pending", + ] + signature: Union[str, None] + verified: bool + verified_at: Union[str, None] + + __all__ = ( "WebhookStatusPropBranchesItemsPropCommitType", + "WebhookStatusPropBranchesItemsPropCommitTypeForResponse", "WebhookStatusPropBranchesItemsType", + "WebhookStatusPropBranchesItemsTypeForResponse", "WebhookStatusPropCommitPropAuthorType", + "WebhookStatusPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropAuthorType", + "WebhookStatusPropCommitPropCommitPropAuthorTypeForResponse", "WebhookStatusPropCommitPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropCommitPropTreeType", + "WebhookStatusPropCommitPropCommitPropTreeTypeForResponse", "WebhookStatusPropCommitPropCommitPropVerificationType", + "WebhookStatusPropCommitPropCommitPropVerificationTypeForResponse", "WebhookStatusPropCommitPropCommitType", + "WebhookStatusPropCommitPropCommitTypeForResponse", "WebhookStatusPropCommitPropCommitterType", + "WebhookStatusPropCommitPropCommitterTypeForResponse", "WebhookStatusPropCommitPropParentsItemsType", + "WebhookStatusPropCommitPropParentsItemsTypeForResponse", "WebhookStatusPropCommitType", + "WebhookStatusPropCommitTypeForResponse", "WebhookStatusType", + "WebhookStatusTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0832.py b/githubkit/versions/v2022_11_28/types/group_0832.py index 31b2ed900..84fb6908b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0832.py +++ b/githubkit/versions/v2022_11_28/types/group_0832.py @@ -26,4 +26,19 @@ class WebhookStatusPropCommitPropCommitPropAuthorAllof0Type(TypedDict): username: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropAuthorAllof0Type",) +class WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof0Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0833.py b/githubkit/versions/v2022_11_28/types/group_0833.py index eafde2845..3552bf824 100644 --- a/githubkit/versions/v2022_11_28/types/group_0833.py +++ b/githubkit/versions/v2022_11_28/types/group_0833.py @@ -20,4 +20,15 @@ class WebhookStatusPropCommitPropCommitPropAuthorAllof1Type(TypedDict): name: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropAuthorAllof1Type",) +class WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropAuthorAllof1""" + + date: str + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropAuthorAllof1Type", + "WebhookStatusPropCommitPropCommitPropAuthorAllof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0834.py b/githubkit/versions/v2022_11_28/types/group_0834.py index e44b95c39..663a89eae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0834.py +++ b/githubkit/versions/v2022_11_28/types/group_0834.py @@ -26,4 +26,19 @@ class WebhookStatusPropCommitPropCommitPropCommitterAllof0Type(TypedDict): username: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropCommitterAllof0Type",) +class WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse(TypedDict): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof0Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0835.py b/githubkit/versions/v2022_11_28/types/group_0835.py index a808e25ce..934a3d06b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0835.py +++ b/githubkit/versions/v2022_11_28/types/group_0835.py @@ -20,4 +20,15 @@ class WebhookStatusPropCommitPropCommitPropCommitterAllof1Type(TypedDict): name: NotRequired[str] -__all__ = ("WebhookStatusPropCommitPropCommitPropCommitterAllof1Type",) +class WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse(TypedDict): + """WebhookStatusPropCommitPropCommitPropCommitterAllof1""" + + date: str + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "WebhookStatusPropCommitPropCommitPropCommitterAllof1Type", + "WebhookStatusPropCommitPropCommitPropCommitterAllof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0836.py b/githubkit/versions/v2022_11_28/types/group_0836.py index 11e177949..9d45238f6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0836.py +++ b/githubkit/versions/v2022_11_28/types/group_0836.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesParentIssueAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesParentIssueAddedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesParentIssueAddedType",) +class WebhookSubIssuesParentIssueAddedTypeForResponse(TypedDict): + """parent issue added event""" + + action: Literal["parent_issue_added"] + parent_issue_id: float + parent_issue: IssueTypeForResponse + parent_issue_repo: RepositoryTypeForResponse + sub_issue_id: float + sub_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesParentIssueAddedType", + "WebhookSubIssuesParentIssueAddedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0837.py b/githubkit/versions/v2022_11_28/types/group_0837.py index 6a8774ab6..f9b7db894 100644 --- a/githubkit/versions/v2022_11_28/types/group_0837.py +++ b/githubkit/versions/v2022_11_28/types/group_0837.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesParentIssueRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesParentIssueRemovedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesParentIssueRemovedType",) +class WebhookSubIssuesParentIssueRemovedTypeForResponse(TypedDict): + """parent issue removed event""" + + action: Literal["parent_issue_removed"] + parent_issue_id: float + parent_issue: IssueTypeForResponse + parent_issue_repo: RepositoryTypeForResponse + sub_issue_id: float + sub_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesParentIssueRemovedType", + "WebhookSubIssuesParentIssueRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0838.py b/githubkit/versions/v2022_11_28/types/group_0838.py index da0db9d6c..0716cba73 100644 --- a/githubkit/versions/v2022_11_28/types/group_0838.py +++ b/githubkit/versions/v2022_11_28/types/group_0838.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesSubIssueAddedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesSubIssueAddedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesSubIssueAddedType",) +class WebhookSubIssuesSubIssueAddedTypeForResponse(TypedDict): + """sub-issue added event""" + + action: Literal["sub_issue_added"] + sub_issue_id: float + sub_issue: IssueTypeForResponse + sub_issue_repo: RepositoryTypeForResponse + parent_issue_id: float + parent_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesSubIssueAddedType", + "WebhookSubIssuesSubIssueAddedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0839.py b/githubkit/versions/v2022_11_28/types/group_0839.py index 415a46ae3..3bd77df86 100644 --- a/githubkit/versions/v2022_11_28/types/group_0839.py +++ b/githubkit/versions/v2022_11_28/types/group_0839.py @@ -12,12 +12,15 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0020 import RepositoryType -from .group_0045 import IssueType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0020 import RepositoryType, RepositoryTypeForResponse +from .group_0045 import IssueType, IssueTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookSubIssuesSubIssueRemovedType(TypedDict): @@ -35,4 +38,22 @@ class WebhookSubIssuesSubIssueRemovedType(TypedDict): sender: NotRequired[SimpleUserType] -__all__ = ("WebhookSubIssuesSubIssueRemovedType",) +class WebhookSubIssuesSubIssueRemovedTypeForResponse(TypedDict): + """sub-issue removed event""" + + action: Literal["sub_issue_removed"] + sub_issue_id: float + sub_issue: IssueTypeForResponse + sub_issue_repo: RepositoryTypeForResponse + parent_issue_id: float + parent_issue: IssueTypeForResponse + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: NotRequired[RepositoryWebhooksTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + + +__all__ = ( + "WebhookSubIssuesSubIssueRemovedType", + "WebhookSubIssuesSubIssueRemovedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0840.py b/githubkit/versions/v2022_11_28/types/group_0840.py index bc487d593..32c7a8003 100644 --- a/githubkit/versions/v2022_11_28/types/group_0840.py +++ b/githubkit/versions/v2022_11_28/types/group_0840.py @@ -11,12 +11,15 @@ from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamAddType(TypedDict): @@ -30,4 +33,18 @@ class WebhookTeamAddType(TypedDict): team: WebhooksTeam1Type -__all__ = ("WebhookTeamAddType",) +class WebhookTeamAddTypeForResponse(TypedDict): + """team_add event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + +__all__ = ( + "WebhookTeamAddType", + "WebhookTeamAddTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0841.py b/githubkit/versions/v2022_11_28/types/group_0841.py index 10d024cd4..e4907da29 100644 --- a/githubkit/versions/v2022_11_28/types/group_0841.py +++ b/githubkit/versions/v2022_11_28/types/group_0841.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamAddedToRepositoryType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamAddedToRepositoryType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamAddedToRepositoryTypeForResponse(TypedDict): + """team added_to_repository event""" + + action: Literal["added_to_repository"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + team: WebhooksTeam1TypeForResponse + + class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): """Repository @@ -134,6 +149,112 @@ class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType: TypeAlias = dict[ str, Any ] @@ -145,6 +266,17 @@ class WebhookTeamAddedToRepositoryPropRepositoryType(TypedDict): """ +WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamAddedToRepositoryPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType(TypedDict): """License""" @@ -155,6 +287,16 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType(TypedDict): """User""" @@ -182,6 +324,33 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamAddedToRepositoryPropRepositoryPropPermissions""" @@ -192,11 +361,29 @@ class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamAddedToRepositoryPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamAddedToRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseType", + "WebhookTeamAddedToRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerType", + "WebhookTeamAddedToRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamAddedToRepositoryPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamAddedToRepositoryPropRepositoryType", + "WebhookTeamAddedToRepositoryPropRepositoryTypeForResponse", "WebhookTeamAddedToRepositoryType", + "WebhookTeamAddedToRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0842.py b/githubkit/versions/v2022_11_28/types/group_0842.py index 3d87e88d5..65195d0a9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0842.py +++ b/githubkit/versions/v2022_11_28/types/group_0842.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamCreatedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamCreatedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamCreatedTypeForResponse(TypedDict): + """team created event""" + + action: Literal["created"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamCreatedPropRepositoryTypeForResponse] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamCreatedPropRepositoryType(TypedDict): """Repository @@ -132,6 +147,108 @@ class WebhookTeamCreatedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamCreatedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamCreatedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamCreatedPropRepositoryPropCustomProperties @@ -141,6 +258,17 @@ class WebhookTeamCreatedPropRepositoryType(TypedDict): """ +WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamCreatedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamCreatedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -151,6 +279,16 @@ class WebhookTeamCreatedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamCreatedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -178,6 +316,33 @@ class WebhookTeamCreatedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamCreatedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamCreatedPropRepositoryPropPermissions""" @@ -188,11 +353,27 @@ class WebhookTeamCreatedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamCreatedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamCreatedPropRepositoryPropCustomPropertiesType", + "WebhookTeamCreatedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamCreatedPropRepositoryPropLicenseType", + "WebhookTeamCreatedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamCreatedPropRepositoryPropOwnerType", + "WebhookTeamCreatedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamCreatedPropRepositoryPropPermissionsType", + "WebhookTeamCreatedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamCreatedPropRepositoryType", + "WebhookTeamCreatedPropRepositoryTypeForResponse", "WebhookTeamCreatedType", + "WebhookTeamCreatedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0843.py b/githubkit/versions/v2022_11_28/types/group_0843.py index c3e89a7f1..b4e1e44ca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0843.py +++ b/githubkit/versions/v2022_11_28/types/group_0843.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamDeletedType(TypedDict): @@ -32,6 +35,18 @@ class WebhookTeamDeletedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamDeletedTypeForResponse(TypedDict): + """team deleted event""" + + action: Literal["deleted"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamDeletedPropRepositoryTypeForResponse] + sender: NotRequired[SimpleUserTypeForResponse] + team: WebhooksTeam1TypeForResponse + + class WebhookTeamDeletedPropRepositoryType(TypedDict): """Repository @@ -132,6 +147,108 @@ class WebhookTeamDeletedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamDeletedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamDeletedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamDeletedPropRepositoryPropCustomProperties @@ -141,6 +258,17 @@ class WebhookTeamDeletedPropRepositoryType(TypedDict): """ +WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamDeletedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamDeletedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -151,6 +279,16 @@ class WebhookTeamDeletedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamDeletedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -178,6 +316,33 @@ class WebhookTeamDeletedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamDeletedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamDeletedPropRepositoryPropPermissions""" @@ -188,11 +353,27 @@ class WebhookTeamDeletedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamDeletedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamDeletedPropRepositoryPropCustomPropertiesType", + "WebhookTeamDeletedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamDeletedPropRepositoryPropLicenseType", + "WebhookTeamDeletedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamDeletedPropRepositoryPropOwnerType", + "WebhookTeamDeletedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamDeletedPropRepositoryPropPermissionsType", + "WebhookTeamDeletedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamDeletedPropRepositoryType", + "WebhookTeamDeletedPropRepositoryTypeForResponse", "WebhookTeamDeletedType", + "WebhookTeamDeletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0844.py b/githubkit/versions/v2022_11_28/types/group_0844.py index 4ccd2e5fd..2ef114726 100644 --- a/githubkit/versions/v2022_11_28/types/group_0844.py +++ b/githubkit/versions/v2022_11_28/types/group_0844.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamEditedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookTeamEditedType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamEditedTypeForResponse(TypedDict): + """team edited event""" + + action: Literal["edited"] + changes: WebhookTeamEditedPropChangesTypeForResponse + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[WebhookTeamEditedPropRepositoryTypeForResponse] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamEditedPropRepositoryType(TypedDict): """Repository @@ -133,6 +149,108 @@ class WebhookTeamEditedPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamEditedPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse, None] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse, None] + permissions: NotRequired[ + WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamEditedPropRepositoryPropCustomPropertiesType: TypeAlias = dict[str, Any] """WebhookTeamEditedPropRepositoryPropCustomProperties @@ -142,6 +260,17 @@ class WebhookTeamEditedPropRepositoryType(TypedDict): """ +WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamEditedPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamEditedPropRepositoryPropLicenseType(TypedDict): """License""" @@ -152,6 +281,16 @@ class WebhookTeamEditedPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse(TypedDict): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamEditedPropRepositoryPropOwnerType(TypedDict): """User""" @@ -179,6 +318,33 @@ class WebhookTeamEditedPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamEditedPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamEditedPropRepositoryPropPermissions""" @@ -189,6 +355,16 @@ class WebhookTeamEditedPropRepositoryPropPermissionsType(TypedDict): triage: NotRequired[bool] +class WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse(TypedDict): + """WebhookTeamEditedPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + class WebhookTeamEditedPropChangesType(TypedDict): """WebhookTeamEditedPropChanges @@ -204,42 +380,99 @@ class WebhookTeamEditedPropChangesType(TypedDict): repository: NotRequired[WebhookTeamEditedPropChangesPropRepositoryType] +class WebhookTeamEditedPropChangesTypeForResponse(TypedDict): + """WebhookTeamEditedPropChanges + + The changes to the team if the action was `edited`. + """ + + description: NotRequired[WebhookTeamEditedPropChangesPropDescriptionTypeForResponse] + name: NotRequired[WebhookTeamEditedPropChangesPropNameTypeForResponse] + privacy: NotRequired[WebhookTeamEditedPropChangesPropPrivacyTypeForResponse] + notification_setting: NotRequired[ + WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse + ] + repository: NotRequired[WebhookTeamEditedPropChangesPropRepositoryTypeForResponse] + + class WebhookTeamEditedPropChangesPropDescriptionType(TypedDict): """WebhookTeamEditedPropChangesPropDescription""" from_: str +class WebhookTeamEditedPropChangesPropDescriptionTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropDescription""" + + from_: str + + class WebhookTeamEditedPropChangesPropNameType(TypedDict): """WebhookTeamEditedPropChangesPropName""" from_: str +class WebhookTeamEditedPropChangesPropNameTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropName""" + + from_: str + + class WebhookTeamEditedPropChangesPropPrivacyType(TypedDict): """WebhookTeamEditedPropChangesPropPrivacy""" from_: str +class WebhookTeamEditedPropChangesPropPrivacyTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropPrivacy""" + + from_: str + + class WebhookTeamEditedPropChangesPropNotificationSettingType(TypedDict): """WebhookTeamEditedPropChangesPropNotificationSetting""" from_: str +class WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropNotificationSetting""" + + from_: str + + class WebhookTeamEditedPropChangesPropRepositoryType(TypedDict): """WebhookTeamEditedPropChangesPropRepository""" permissions: WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType +class WebhookTeamEditedPropChangesPropRepositoryTypeForResponse(TypedDict): + """WebhookTeamEditedPropChangesPropRepository""" + + permissions: ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse + ) + + class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamEditedPropChangesPropRepositoryPropPermissions""" from_: WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType +class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamEditedPropChangesPropRepositoryPropPermissions""" + + from_: ( + WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse + ) + + class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType(TypedDict): """WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFrom""" @@ -248,19 +481,43 @@ class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType(Type push: NotRequired[bool] +class WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse( + TypedDict +): + """WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFrom""" + + admin: NotRequired[bool] + pull: NotRequired[bool] + push: NotRequired[bool] + + __all__ = ( "WebhookTeamEditedPropChangesPropDescriptionType", + "WebhookTeamEditedPropChangesPropDescriptionTypeForResponse", "WebhookTeamEditedPropChangesPropNameType", + "WebhookTeamEditedPropChangesPropNameTypeForResponse", "WebhookTeamEditedPropChangesPropNotificationSettingType", + "WebhookTeamEditedPropChangesPropNotificationSettingTypeForResponse", "WebhookTeamEditedPropChangesPropPrivacyType", + "WebhookTeamEditedPropChangesPropPrivacyTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsPropFromTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropChangesPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropChangesPropRepositoryType", + "WebhookTeamEditedPropChangesPropRepositoryTypeForResponse", "WebhookTeamEditedPropChangesType", + "WebhookTeamEditedPropChangesTypeForResponse", "WebhookTeamEditedPropRepositoryPropCustomPropertiesType", + "WebhookTeamEditedPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamEditedPropRepositoryPropLicenseType", + "WebhookTeamEditedPropRepositoryPropLicenseTypeForResponse", "WebhookTeamEditedPropRepositoryPropOwnerType", + "WebhookTeamEditedPropRepositoryPropOwnerTypeForResponse", "WebhookTeamEditedPropRepositoryPropPermissionsType", + "WebhookTeamEditedPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamEditedPropRepositoryType", + "WebhookTeamEditedPropRepositoryTypeForResponse", "WebhookTeamEditedType", + "WebhookTeamEditedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0845.py b/githubkit/versions/v2022_11_28/types/group_0845.py index fa570583b..1fe661035 100644 --- a/githubkit/versions/v2022_11_28/types/group_0845.py +++ b/githubkit/versions/v2022_11_28/types/group_0845.py @@ -13,11 +13,14 @@ from typing import Any, Literal, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0498 import WebhooksTeam1Type +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0498 import WebhooksTeam1Type, WebhooksTeam1TypeForResponse class WebhookTeamRemovedFromRepositoryType(TypedDict): @@ -32,6 +35,20 @@ class WebhookTeamRemovedFromRepositoryType(TypedDict): team: WebhooksTeam1Type +class WebhookTeamRemovedFromRepositoryTypeForResponse(TypedDict): + """team removed_from_repository event""" + + action: Literal["removed_from_repository"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: OrganizationSimpleWebhooksTypeForResponse + repository: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse + ] + sender: SimpleUserTypeForResponse + team: WebhooksTeam1TypeForResponse + + class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): """Repository @@ -134,6 +151,112 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): watchers_count: int +class WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse(TypedDict): + """Repository + + A git repository + """ + + allow_auto_merge: NotRequired[bool] + allow_forking: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_squash_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + archive_url: str + archived: bool + assignees_url: str + blobs_url: str + branches_url: str + clone_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + created_at: Union[int, str] + custom_properties: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse + ] + default_branch: str + delete_branch_on_merge: NotRequired[bool] + deployments_url: str + description: Union[str, None] + disabled: NotRequired[bool] + downloads_url: str + events_url: str + fork: bool + forks: int + forks_count: int + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + git_url: str + has_downloads: bool + has_issues: bool + has_pages: bool + has_projects: bool + has_wiki: bool + homepage: Union[str, None] + hooks_url: str + html_url: str + id: int + is_template: NotRequired[bool] + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + language: Union[str, None] + languages_url: str + license_: Union[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse, None + ] + master_branch: NotRequired[str] + merges_url: str + milestones_url: str + mirror_url: Union[str, None] + name: str + node_id: str + notifications_url: str + open_issues: int + open_issues_count: int + organization: NotRequired[str] + owner: Union[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse, None + ] + permissions: NotRequired[ + WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse + ] + private: bool + public: NotRequired[bool] + pulls_url: str + pushed_at: Union[int, str, None] + releases_url: str + role_name: NotRequired[Union[str, None]] + size: int + ssh_url: str + stargazers: NotRequired[int] + stargazers_count: int + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + svn_url: str + tags_url: str + teams_url: str + topics: list[str] + trees_url: str + updated_at: str + url: str + visibility: Literal["public", "private", "internal"] + watchers: int + watchers_count: int + + WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType: TypeAlias = ( dict[str, Any] ) @@ -145,6 +268,17 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryType(TypedDict): """ +WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse: TypeAlias = dict[ + str, Any +] +"""WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomProperties + +The custom properties that were defined for the repository. The keys are the +custom property names, and the values are the corresponding custom property +values. +""" + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType(TypedDict): """License""" @@ -155,6 +289,18 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType(TypedDict): url: Union[str, None] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse( + TypedDict +): + """License""" + + key: str + name: str + node_id: str + spdx_id: str + url: Union[str, None] + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType(TypedDict): """User""" @@ -182,6 +328,33 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType(TypedDict): user_view_type: NotRequired[str] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType(TypedDict): """WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissions""" @@ -192,11 +365,29 @@ class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType(TypedDic triage: NotRequired[bool] +class WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse( + TypedDict +): + """WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissions""" + + admin: bool + maintain: NotRequired[bool] + pull: bool + push: bool + triage: NotRequired[bool] + + __all__ = ( "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropCustomPropertiesTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropLicenseTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropOwnerTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsType", + "WebhookTeamRemovedFromRepositoryPropRepositoryPropPermissionsTypeForResponse", "WebhookTeamRemovedFromRepositoryPropRepositoryType", + "WebhookTeamRemovedFromRepositoryPropRepositoryTypeForResponse", "WebhookTeamRemovedFromRepositoryType", + "WebhookTeamRemovedFromRepositoryTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0846.py b/githubkit/versions/v2022_11_28/types/group_0846.py index 6fadde200..07cc6f4f7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0846.py +++ b/githubkit/versions/v2022_11_28/types/group_0846.py @@ -12,11 +12,14 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWatchStartedType(TypedDict): @@ -30,4 +33,18 @@ class WebhookWatchStartedType(TypedDict): sender: SimpleUserType -__all__ = ("WebhookWatchStartedType",) +class WebhookWatchStartedTypeForResponse(TypedDict): + """watch started event""" + + action: Literal["started"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + + +__all__ = ( + "WebhookWatchStartedType", + "WebhookWatchStartedTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0847.py b/githubkit/versions/v2022_11_28/types/group_0847.py index c28a97d1b..69939d0b7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0847.py +++ b/githubkit/versions/v2022_11_28/types/group_0847.py @@ -12,11 +12,14 @@ from typing import Any, Union from typing_extensions import NotRequired, TypeAlias, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowDispatchType(TypedDict): @@ -32,12 +35,32 @@ class WebhookWorkflowDispatchType(TypedDict): workflow: str +class WebhookWorkflowDispatchTypeForResponse(TypedDict): + """workflow_dispatch event""" + + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + inputs: Union[WebhookWorkflowDispatchPropInputsTypeForResponse, None] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + ref: str + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: str + + WebhookWorkflowDispatchPropInputsType: TypeAlias = dict[str, Any] """WebhookWorkflowDispatchPropInputs """ +WebhookWorkflowDispatchPropInputsTypeForResponse: TypeAlias = dict[str, Any] +"""WebhookWorkflowDispatchPropInputs +""" + + __all__ = ( "WebhookWorkflowDispatchPropInputsType", + "WebhookWorkflowDispatchPropInputsTypeForResponse", "WebhookWorkflowDispatchType", + "WebhookWorkflowDispatchTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0848.py b/githubkit/versions/v2022_11_28/types/group_0848.py index bccbcfe8f..7560e5efe 100644 --- a/githubkit/versions/v2022_11_28/types/group_0848.py +++ b/githubkit/versions/v2022_11_28/types/group_0848.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0242 import DeploymentType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0242 import DeploymentType, DeploymentTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobCompletedType(TypedDict): @@ -33,6 +36,19 @@ class WebhookWorkflowJobCompletedType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobCompletedTypeForResponse(TypedDict): + """workflow_job completed event""" + + action: Literal["completed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobCompletedPropWorkflowJobType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJob""" @@ -69,6 +85,42 @@ class WebhookWorkflowJobCompletedPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJob""" + + check_run_url: str + completed_at: str + conclusion: Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[Union[int, None], None] + runner_group_name: Union[Union[str, None], None] + runner_id: Union[Union[int, None], None] + runner_name: Union[Union[str, None], None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[Union[str, None], None] + workflow_name: Union[Union[str, None], None] + steps: list[WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse] + url: str + + class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJobMergedSteps""" @@ -80,8 +132,22 @@ class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType(TypedDict): status: Literal["in_progress", "completed", "queued"] +class WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJobMergedSteps""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued"] + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobCompletedPropWorkflowJobMergedStepsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobType", + "WebhookWorkflowJobCompletedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobCompletedType", + "WebhookWorkflowJobCompletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0849.py b/githubkit/versions/v2022_11_28/types/group_0849.py index d129fc90a..5c11966a6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0849.py +++ b/githubkit/versions/v2022_11_28/types/group_0849.py @@ -56,6 +56,51 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type(TypedDict): url: str +class WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse(TypedDict): + """Workflow Job + + The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, + and `started_at` are the same as those in a [`check_run`](#check_run) object. + """ + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ], + ] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[ + WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse + ] + url: str + + class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType(TypedDict): """Workflow Step""" @@ -67,7 +112,22 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType(TypedDi status: Literal["in_progress", "completed", "queued"] +class WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued"] + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0PropStepsItemsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof0Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0850.py b/githubkit/versions/v2022_11_28/types/group_0850.py index 92b2bfd6b..4f197136e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0850.py +++ b/githubkit/versions/v2022_11_28/types/group_0850.py @@ -55,11 +55,62 @@ class WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type(TypedDict): url: NotRequired[str] +class WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse(TypedDict): + """WebhookWorkflowJobCompletedPropWorkflowJobAllof1""" + + check_run_url: NotRequired[str] + completed_at: NotRequired[str] + conclusion: Literal[ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out", + ] + created_at: NotRequired[str] + head_sha: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[list[Union[str, None]]] + name: NotRequired[str] + node_id: NotRequired[str] + run_attempt: NotRequired[int] + run_id: NotRequired[int] + run_url: NotRequired[str] + runner_group_id: NotRequired[Union[int, None]] + runner_group_name: NotRequired[Union[str, None]] + runner_id: NotRequired[Union[int, None]] + runner_name: NotRequired[Union[str, None]] + started_at: NotRequired[str] + status: NotRequired[str] + head_branch: NotRequired[Union[str, None]] + workflow_name: NotRequired[Union[str, None]] + steps: NotRequired[ + list[ + Union[ + WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse, + None, + ] + ] + ] + url: NotRequired[str] + + class WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType(TypedDict): """WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItems""" +class WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItems""" + + __all__ = ( "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1PropStepsItemsTypeForResponse", "WebhookWorkflowJobCompletedPropWorkflowJobAllof1Type", + "WebhookWorkflowJobCompletedPropWorkflowJobAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0851.py b/githubkit/versions/v2022_11_28/types/group_0851.py index 7066ec042..cfd2f1260 100644 --- a/githubkit/versions/v2022_11_28/types/group_0851.py +++ b/githubkit/versions/v2022_11_28/types/group_0851.py @@ -12,12 +12,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0242 import DeploymentType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0242 import DeploymentType, DeploymentTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobInProgressType(TypedDict): @@ -33,6 +36,19 @@ class WebhookWorkflowJobInProgressType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobInProgressTypeForResponse(TypedDict): + """workflow_job in_progress event""" + + action: Literal["in_progress"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobInProgressPropWorkflowJobType(TypedDict): """WebhookWorkflowJobInProgressPropWorkflowJob""" @@ -61,6 +77,34 @@ class WebhookWorkflowJobInProgressPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJob""" + + check_run_url: str + completed_at: Union[Union[str, None], None] + conclusion: Union[Literal["success", "failure", "cancelled", "neutral"], None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[Union[int, None], None] + runner_group_name: Union[Union[str, None], None] + runner_id: Union[Union[int, None], None] + runner_name: Union[Union[str, None], None] + started_at: str + status: Literal["queued", "in_progress", "completed"] + head_branch: Union[Union[str, None], None] + workflow_name: Union[Union[str, None], None] + steps: list[WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse] + url: str + + class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType(TypedDict): """WebhookWorkflowJobInProgressPropWorkflowJobMergedSteps""" @@ -72,8 +116,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType(TypedDict): status: Literal["in_progress", "completed", "queued", "pending"] +class WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJobMergedSteps""" + + completed_at: Union[Union[str, None], None] + conclusion: Union[Literal["failure", "skipped", "success", "cancelled"], None] + name: str + number: int + started_at: Union[Union[str, None], None] + status: Literal["in_progress", "completed", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsType", + "WebhookWorkflowJobInProgressPropWorkflowJobMergedStepsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobType", + "WebhookWorkflowJobInProgressPropWorkflowJobTypeForResponse", "WebhookWorkflowJobInProgressType", + "WebhookWorkflowJobInProgressTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0852.py b/githubkit/versions/v2022_11_28/types/group_0852.py index 217bd7ee4..9b2fa7855 100644 --- a/githubkit/versions/v2022_11_28/types/group_0852.py +++ b/githubkit/versions/v2022_11_28/types/group_0852.py @@ -45,6 +45,40 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type(TypedDict): url: str +class WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse(TypedDict): + """Workflow Job + + The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, + and `started_at` are the same as those in a [`check_run`](#check_run) object. + """ + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[None, Literal["success", "failure", "cancelled", "neutral"]] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[ + WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse + ] + url: str + + class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType(TypedDict): """Workflow Step""" @@ -56,7 +90,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType(TypedD status: Literal["in_progress", "completed", "queued", "pending"] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0PropStepsItemsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof0Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0853.py b/githubkit/versions/v2022_11_28/types/group_0853.py index 7a741384f..3c498678d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0853.py +++ b/githubkit/versions/v2022_11_28/types/group_0853.py @@ -41,6 +41,36 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type(TypedDict): url: NotRequired[str] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse(TypedDict): + """WebhookWorkflowJobInProgressPropWorkflowJobAllof1""" + + check_run_url: NotRequired[str] + completed_at: NotRequired[Union[str, None]] + conclusion: NotRequired[Union[str, None]] + created_at: NotRequired[str] + head_sha: NotRequired[str] + html_url: NotRequired[str] + id: NotRequired[int] + labels: NotRequired[list[str]] + name: NotRequired[str] + node_id: NotRequired[str] + run_attempt: NotRequired[int] + run_id: NotRequired[int] + run_url: NotRequired[str] + runner_group_id: NotRequired[Union[int, None]] + runner_group_name: NotRequired[Union[str, None]] + runner_id: NotRequired[Union[int, None]] + runner_name: NotRequired[Union[str, None]] + started_at: NotRequired[str] + status: Literal["in_progress", "completed", "queued"] + head_branch: NotRequired[Union[str, None]] + workflow_name: NotRequired[Union[str, None]] + steps: list[ + WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse + ] + url: NotRequired[str] + + class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType(TypedDict): """Workflow Step""" @@ -52,7 +82,22 @@ class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType(TypedD status: Literal["in_progress", "completed", "pending", "queued"] +class WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse( + TypedDict +): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[str, None] + name: str + number: int + started_at: Union[str, None] + status: Literal["in_progress", "completed", "pending", "queued"] + + __all__ = ( "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsType", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1PropStepsItemsTypeForResponse", "WebhookWorkflowJobInProgressPropWorkflowJobAllof1Type", + "WebhookWorkflowJobInProgressPropWorkflowJobAllof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0854.py b/githubkit/versions/v2022_11_28/types/group_0854.py index 537416ff5..a48213a03 100644 --- a/githubkit/versions/v2022_11_28/types/group_0854.py +++ b/githubkit/versions/v2022_11_28/types/group_0854.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0242 import DeploymentType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0242 import DeploymentType, DeploymentTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobQueuedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowJobQueuedType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobQueuedTypeForResponse(TypedDict): + """workflow_job queued event""" + + action: Literal["queued"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobQueuedPropWorkflowJobType(TypedDict): """WebhookWorkflowJobQueuedPropWorkflowJob""" @@ -62,6 +78,34 @@ class WebhookWorkflowJobQueuedPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobQueuedPropWorkflowJob""" + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[str, None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + status: Literal["queued", "in_progress", "completed", "waiting"] + head_branch: Union[str, None] + workflow_name: Union[str, None] + steps: list[WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse] + url: str + + class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType(TypedDict): """Workflow Step""" @@ -73,8 +117,22 @@ class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType(TypedDict): status: Literal["completed", "in_progress", "queued", "pending"] +class WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse(TypedDict): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["completed", "in_progress", "queued", "pending"] + + __all__ = ( "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobQueuedPropWorkflowJobPropStepsItemsTypeForResponse", "WebhookWorkflowJobQueuedPropWorkflowJobType", + "WebhookWorkflowJobQueuedPropWorkflowJobTypeForResponse", "WebhookWorkflowJobQueuedType", + "WebhookWorkflowJobQueuedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0855.py b/githubkit/versions/v2022_11_28/types/group_0855.py index 493931a2e..90b630d62 100644 --- a/githubkit/versions/v2022_11_28/types/group_0855.py +++ b/githubkit/versions/v2022_11_28/types/group_0855.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0242 import DeploymentType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0242 import DeploymentType, DeploymentTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse class WebhookWorkflowJobWaitingType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowJobWaitingType(TypedDict): deployment: NotRequired[DeploymentType] +class WebhookWorkflowJobWaitingTypeForResponse(TypedDict): + """workflow_job waiting event""" + + action: Literal["waiting"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow_job: WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse + deployment: NotRequired[DeploymentTypeForResponse] + + class WebhookWorkflowJobWaitingPropWorkflowJobType(TypedDict): """WebhookWorkflowJobWaitingPropWorkflowJob""" @@ -62,6 +78,34 @@ class WebhookWorkflowJobWaitingPropWorkflowJobType(TypedDict): url: str +class WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse(TypedDict): + """WebhookWorkflowJobWaitingPropWorkflowJob""" + + check_run_url: str + completed_at: Union[str, None] + conclusion: Union[str, None] + created_at: str + head_sha: str + html_url: str + id: int + labels: list[str] + name: str + node_id: str + run_attempt: int + run_id: int + run_url: str + runner_group_id: Union[int, None] + runner_group_name: Union[str, None] + runner_id: Union[int, None] + runner_name: Union[str, None] + started_at: str + head_branch: Union[str, None] + workflow_name: Union[str, None] + status: Literal["queued", "in_progress", "completed", "waiting"] + steps: list[WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse] + url: str + + class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType(TypedDict): """Workflow Step""" @@ -73,8 +117,22 @@ class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType(TypedDict): status: Literal["completed", "in_progress", "queued", "pending", "waiting"] +class WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse(TypedDict): + """Workflow Step""" + + completed_at: Union[str, None] + conclusion: Union[None, Literal["failure", "skipped", "success", "cancelled"]] + name: str + number: int + started_at: Union[str, None] + status: Literal["completed", "in_progress", "queued", "pending", "waiting"] + + __all__ = ( "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsType", + "WebhookWorkflowJobWaitingPropWorkflowJobPropStepsItemsTypeForResponse", "WebhookWorkflowJobWaitingPropWorkflowJobType", + "WebhookWorkflowJobWaitingPropWorkflowJobTypeForResponse", "WebhookWorkflowJobWaitingType", + "WebhookWorkflowJobWaitingTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0856.py b/githubkit/versions/v2022_11_28/types/group_0856.py index 200b56649..e7aa26a29 100644 --- a/githubkit/versions/v2022_11_28/types/group_0856.py +++ b/githubkit/versions/v2022_11_28/types/group_0856.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0458 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0458 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunCompletedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunCompletedType(TypedDict): workflow_run: WebhookWorkflowRunCompletedPropWorkflowRunType +class WebhookWorkflowRunCompletedTypeForResponse(TypedDict): + """workflow_run completed event""" + + action: Literal["completed"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunCompletedPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -100,6 +116,80 @@ class WebhookWorkflowRunCompletedPropWorkflowRunType(TypedDict): display_title: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "skipped", + "stale", + "success", + "timed_out", + "startup_failure", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse + head_repository: ( + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse, + None, + ] + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "pending", "waiting" + ] + triggering_actor: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + display_title: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -127,6 +217,33 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -137,6 +254,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -164,6 +291,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType(TypedDic user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -175,6 +331,19 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -187,6 +356,20 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +384,20 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +451,62 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType(TypedDict url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -283,6 +536,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -336,6 +618,62 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -363,6 +701,35 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItems""" @@ -373,6 +740,18 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType(TypedD url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -383,6 +762,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTyp sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -393,6 +782,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePro url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -403,6 +802,16 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTyp sha: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -413,22 +822,49 @@ class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPro url: str +class WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunCompletedPropWorkflowRunPropActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunCompletedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunCompletedPropWorkflowRunType", + "WebhookWorkflowRunCompletedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunCompletedType", + "WebhookWorkflowRunCompletedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0857.py b/githubkit/versions/v2022_11_28/types/group_0857.py index e6cf855ee..5f9fd8219 100644 --- a/githubkit/versions/v2022_11_28/types/group_0857.py +++ b/githubkit/versions/v2022_11_28/types/group_0857.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0458 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0458 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunInProgressType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunInProgressType(TypedDict): workflow_run: WebhookWorkflowRunInProgressPropWorkflowRunType +class WebhookWorkflowRunInProgressTypeForResponse(TypedDict): + """workflow_run in_progress event""" + + action: Literal["in_progress"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunInProgressPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -98,6 +114,78 @@ class WebhookWorkflowRunInProgressPropWorkflowRunType(TypedDict): workflow_url: str +class WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "skipped", + "stale", + "success", + "timed_out", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse + ) + head_repository: ( + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse, + None, + ] + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal["requested", "in_progress", "completed", "queued", "pending"] + triggering_actor: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropActorType(TypedDict): """User""" @@ -124,6 +212,32 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropActorType(TypedDict): url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -134,6 +248,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTyp sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -160,6 +284,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType(TypedDi url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -173,6 +325,19 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType( TypedDict ): @@ -187,6 +352,20 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType( username: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +380,20 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType username: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +447,62 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType(TypedDic url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: Union[str, None] + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -282,6 +531,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -335,6 +612,62 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -361,6 +694,34 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType(Typ url: NotRequired[str] +class WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItems""" @@ -371,6 +732,18 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType(Typed url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -381,6 +754,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTy sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -391,6 +774,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePr url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -401,6 +794,16 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTy sha: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -411,22 +814,49 @@ class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPr url: str +class WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunInProgressPropWorkflowRunPropActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunInProgressPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunInProgressPropWorkflowRunType", + "WebhookWorkflowRunInProgressPropWorkflowRunTypeForResponse", "WebhookWorkflowRunInProgressType", + "WebhookWorkflowRunInProgressTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0858.py b/githubkit/versions/v2022_11_28/types/group_0858.py index 4f8767c1b..72a8701f7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0858.py +++ b/githubkit/versions/v2022_11_28/types/group_0858.py @@ -13,12 +13,15 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0450 import EnterpriseWebhooksType -from .group_0451 import SimpleInstallationType -from .group_0452 import OrganizationSimpleWebhooksType -from .group_0453 import RepositoryWebhooksType -from .group_0458 import WebhooksWorkflowType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0450 import EnterpriseWebhooksType, EnterpriseWebhooksTypeForResponse +from .group_0451 import SimpleInstallationType, SimpleInstallationTypeForResponse +from .group_0452 import ( + OrganizationSimpleWebhooksType, + OrganizationSimpleWebhooksTypeForResponse, +) +from .group_0453 import RepositoryWebhooksType, RepositoryWebhooksTypeForResponse +from .group_0458 import WebhooksWorkflowType, WebhooksWorkflowTypeForResponse class WebhookWorkflowRunRequestedType(TypedDict): @@ -34,6 +37,19 @@ class WebhookWorkflowRunRequestedType(TypedDict): workflow_run: WebhookWorkflowRunRequestedPropWorkflowRunType +class WebhookWorkflowRunRequestedTypeForResponse(TypedDict): + """workflow_run requested event""" + + action: Literal["requested"] + enterprise: NotRequired[EnterpriseWebhooksTypeForResponse] + installation: NotRequired[SimpleInstallationTypeForResponse] + organization: NotRequired[OrganizationSimpleWebhooksTypeForResponse] + repository: RepositoryWebhooksTypeForResponse + sender: SimpleUserTypeForResponse + workflow: Union[WebhooksWorkflowTypeForResponse, None] + workflow_run: WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse + + class WebhookWorkflowRunRequestedPropWorkflowRunType(TypedDict): """Workflow Run""" @@ -100,6 +116,77 @@ class WebhookWorkflowRunRequestedPropWorkflowRunType(TypedDict): display_title: str +class WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse(TypedDict): + """Workflow Run""" + + actor: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse, None + ] + artifacts_url: str + cancel_url: str + check_suite_id: int + check_suite_node_id: str + check_suite_url: str + conclusion: Union[ + None, + Literal[ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + "startup_failure", + ], + ] + created_at: str + event: str + head_branch: Union[str, None] + head_commit: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse + head_repository: ( + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse + ) + head_sha: str + html_url: str + id: int + jobs_url: str + logs_url: str + name: Union[str, None] + node_id: str + path: str + previous_attempt_url: Union[str, None] + pull_requests: list[ + WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse + ] + referenced_workflows: NotRequired[ + Union[ + list[ + WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse + ], + None, + ] + ] + repository: WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse + rerun_url: str + run_attempt: int + run_number: int + run_started_at: str + status: Literal[ + "requested", "in_progress", "completed", "queued", "pending", "waiting" + ] + triggering_actor: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse, + None, + ] + updated_at: str + url: str + workflow_id: int + workflow_url: str + display_title: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropActorType(TypedDict): """User""" @@ -127,6 +214,33 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropActorType(TypedDict): user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse(TypedDict): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType( TypedDict ): @@ -137,6 +251,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItems""" + + path: str + ref: NotRequired[str] + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType(TypedDict): """User""" @@ -164,6 +288,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType(TypedDic user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType(TypedDict): """SimpleCommit""" @@ -175,6 +328,19 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType(TypedDict): tree_id: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse( + TypedDict +): + """SimpleCommit""" + + author: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse + committer: WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse + id: str + message: str + timestamp: str + tree_id: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType(TypedDict): """Committer @@ -187,6 +353,20 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType(Typ username: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType( TypedDict ): @@ -201,6 +381,20 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType( username: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse( + TypedDict +): + """Committer + + Metaproperties for Git author/committer information. + """ + + date: NotRequired[str] + email: Union[str, None] + name: str + username: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict): """Repository Lite""" @@ -254,6 +448,62 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType(TypedDict url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( TypedDict ): @@ -283,6 +533,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType( user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType(TypedDict): """Repository Lite""" @@ -336,6 +615,62 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType(TypedDict): url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse( + TypedDict +): + """Repository Lite""" + + archive_url: str + assignees_url: str + blobs_url: str + branches_url: str + collaborators_url: str + comments_url: str + commits_url: str + compare_url: str + contents_url: str + contributors_url: str + deployments_url: str + description: Union[str, None] + downloads_url: str + events_url: str + fork: bool + forks_url: str + full_name: str + git_commits_url: str + git_refs_url: str + git_tags_url: str + hooks_url: str + html_url: str + id: int + issue_comment_url: str + issue_events_url: str + issues_url: str + keys_url: str + labels_url: str + languages_url: str + merges_url: str + milestones_url: str + name: str + node_id: str + notifications_url: str + owner: Union[ + WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse, + None, + ] + private: bool + pulls_url: str + releases_url: str + stargazers_url: str + statuses_url: str + subscribers_url: str + subscription_url: str + tags_url: str + teams_url: str + trees_url: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType(TypedDict): """User""" @@ -363,6 +698,35 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType(Type user_view_type: NotRequired[str] +class WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse( + TypedDict +): + """User""" + + avatar_url: NotRequired[str] + deleted: NotRequired[bool] + email: NotRequired[Union[str, None]] + events_url: NotRequired[str] + followers_url: NotRequired[str] + following_url: NotRequired[str] + gists_url: NotRequired[str] + gravatar_id: NotRequired[str] + html_url: NotRequired[str] + id: int + login: str + name: NotRequired[str] + node_id: NotRequired[str] + organizations_url: NotRequired[str] + received_events_url: NotRequired[str] + repos_url: NotRequired[str] + site_admin: NotRequired[bool] + starred_url: NotRequired[str] + subscriptions_url: NotRequired[str] + type: NotRequired[Literal["Bot", "User", "Organization"]] + url: NotRequired[str] + user_view_type: NotRequired[str] + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType(TypedDict): """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItems""" @@ -373,6 +737,18 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType(TypedD url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItems""" + + base: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse + head: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse + id: int + number: int + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType( TypedDict ): @@ -383,6 +759,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTyp sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBase""" + + ref: str + repo: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType( TypedDict ): @@ -393,6 +779,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePro url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType( TypedDict ): @@ -403,6 +799,16 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTyp sha: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse( + TypedDict +): + """WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHead""" + + ref: str + repo: WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse + sha: str + + class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType( TypedDict ): @@ -413,22 +819,49 @@ class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPro url: str +class WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse( + TypedDict +): + """Repo Ref""" + + id: int + name: str + url: str + + __all__ = ( "WebhookWorkflowRunRequestedPropWorkflowRunPropActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropAuthorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitPropCommitterTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadCommitTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropHeadRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBasePropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropBaseTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadPropRepoTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsPropHeadTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropPullRequestsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropReferencedWorkflowsItemsTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryPropOwnerTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropRepositoryTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorType", + "WebhookWorkflowRunRequestedPropWorkflowRunPropTriggeringActorTypeForResponse", "WebhookWorkflowRunRequestedPropWorkflowRunType", + "WebhookWorkflowRunRequestedPropWorkflowRunTypeForResponse", "WebhookWorkflowRunRequestedType", + "WebhookWorkflowRunRequestedTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0859.py b/githubkit/versions/v2022_11_28/types/group_0859.py index 2d4d40484..62fe9f612 100644 --- a/githubkit/versions/v2022_11_28/types/group_0859.py +++ b/githubkit/versions/v2022_11_28/types/group_0859.py @@ -13,9 +13,12 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType -from .group_0008 import EnterpriseType -from .group_0009 import IntegrationPropPermissionsType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse +from .group_0008 import EnterpriseType, EnterpriseTypeForResponse +from .group_0009 import ( + IntegrationPropPermissionsType, + IntegrationPropPermissionsTypeForResponse, +) class AppManifestsCodeConversionsPostResponse201Type(TypedDict): @@ -40,4 +43,29 @@ class AppManifestsCodeConversionsPostResponse201Type(TypedDict): pem: str -__all__ = ("AppManifestsCodeConversionsPostResponse201Type",) +class AppManifestsCodeConversionsPostResponse201TypeForResponse(TypedDict): + """AppManifestsCodeConversionsPostResponse201""" + + id: int + slug: NotRequired[str] + node_id: str + client_id: str + owner: Union[SimpleUserTypeForResponse, EnterpriseTypeForResponse] + name: str + description: Union[str, None] + external_url: str + html_url: str + created_at: str + updated_at: str + permissions: IntegrationPropPermissionsTypeForResponse + events: list[str] + installations_count: NotRequired[int] + client_secret: str + webhook_secret: Union[str, None] + pem: str + + +__all__ = ( + "AppManifestsCodeConversionsPostResponse201Type", + "AppManifestsCodeConversionsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0860.py b/githubkit/versions/v2022_11_28/types/group_0860.py index 528a915b7..4d5d050d1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0860.py +++ b/githubkit/versions/v2022_11_28/types/group_0860.py @@ -22,4 +22,16 @@ class AppManifestsCodeConversionsPostResponse201Allof1Type(TypedDict): pem: str -__all__ = ("AppManifestsCodeConversionsPostResponse201Allof1Type",) +class AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse(TypedDict): + """AppManifestsCodeConversionsPostResponse201Allof1""" + + client_id: str + client_secret: str + webhook_secret: Union[str, None] + pem: str + + +__all__ = ( + "AppManifestsCodeConversionsPostResponse201Allof1Type", + "AppManifestsCodeConversionsPostResponse201Allof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0861.py b/githubkit/versions/v2022_11_28/types/group_0861.py index 8f59ec945..22638cfbb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0861.py +++ b/githubkit/versions/v2022_11_28/types/group_0861.py @@ -22,4 +22,16 @@ class AppHookConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("AppHookConfigPatchBodyType",) +class AppHookConfigPatchBodyTypeForResponse(TypedDict): + """AppHookConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "AppHookConfigPatchBodyType", + "AppHookConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0862.py b/githubkit/versions/v2022_11_28/types/group_0862.py index 24eb9bac1..9f7c5254b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0862.py +++ b/githubkit/versions/v2022_11_28/types/group_0862.py @@ -16,4 +16,11 @@ class AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type(TypedDict): """AppHookDeliveriesDeliveryIdAttemptsPostResponse202""" -__all__ = ("AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type",) +class AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse(TypedDict): + """AppHookDeliveriesDeliveryIdAttemptsPostResponse202""" + + +__all__ = ( + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202Type", + "AppHookDeliveriesDeliveryIdAttemptsPostResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0863.py b/githubkit/versions/v2022_11_28/types/group_0863.py index e93cba9f3..4df57840a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0863.py +++ b/githubkit/versions/v2022_11_28/types/group_0863.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class AppInstallationsInstallationIdAccessTokensPostBodyType(TypedDict): @@ -22,4 +22,15 @@ class AppInstallationsInstallationIdAccessTokensPostBodyType(TypedDict): permissions: NotRequired[AppPermissionsType] -__all__ = ("AppInstallationsInstallationIdAccessTokensPostBodyType",) +class AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse(TypedDict): + """AppInstallationsInstallationIdAccessTokensPostBody""" + + repositories: NotRequired[list[str]] + repository_ids: NotRequired[list[int]] + permissions: NotRequired[AppPermissionsTypeForResponse] + + +__all__ = ( + "AppInstallationsInstallationIdAccessTokensPostBodyType", + "AppInstallationsInstallationIdAccessTokensPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0864.py b/githubkit/versions/v2022_11_28/types/group_0864.py index fad60868e..e573bdcd3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0864.py +++ b/githubkit/versions/v2022_11_28/types/group_0864.py @@ -18,4 +18,13 @@ class ApplicationsClientIdGrantDeleteBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdGrantDeleteBodyType",) +class ApplicationsClientIdGrantDeleteBodyTypeForResponse(TypedDict): + """ApplicationsClientIdGrantDeleteBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdGrantDeleteBodyType", + "ApplicationsClientIdGrantDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0865.py b/githubkit/versions/v2022_11_28/types/group_0865.py index c0bad1ae1..4d34114c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_0865.py +++ b/githubkit/versions/v2022_11_28/types/group_0865.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenPostBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenPostBodyType",) +class ApplicationsClientIdTokenPostBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenPostBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenPostBodyType", + "ApplicationsClientIdTokenPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0866.py b/githubkit/versions/v2022_11_28/types/group_0866.py index 8a68cb8df..cf5319032 100644 --- a/githubkit/versions/v2022_11_28/types/group_0866.py +++ b/githubkit/versions/v2022_11_28/types/group_0866.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenDeleteBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenDeleteBodyType",) +class ApplicationsClientIdTokenDeleteBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenDeleteBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenDeleteBodyType", + "ApplicationsClientIdTokenDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0867.py b/githubkit/versions/v2022_11_28/types/group_0867.py index 8e0b6ce68..412a66d2b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0867.py +++ b/githubkit/versions/v2022_11_28/types/group_0867.py @@ -18,4 +18,13 @@ class ApplicationsClientIdTokenPatchBodyType(TypedDict): access_token: str -__all__ = ("ApplicationsClientIdTokenPatchBodyType",) +class ApplicationsClientIdTokenPatchBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenPatchBody""" + + access_token: str + + +__all__ = ( + "ApplicationsClientIdTokenPatchBodyType", + "ApplicationsClientIdTokenPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0868.py b/githubkit/versions/v2022_11_28/types/group_0868.py index 8351134ad..7c3732d36 100644 --- a/githubkit/versions/v2022_11_28/types/group_0868.py +++ b/githubkit/versions/v2022_11_28/types/group_0868.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0017 import AppPermissionsType +from .group_0017 import AppPermissionsType, AppPermissionsTypeForResponse class ApplicationsClientIdTokenScopedPostBodyType(TypedDict): @@ -25,4 +25,18 @@ class ApplicationsClientIdTokenScopedPostBodyType(TypedDict): permissions: NotRequired[AppPermissionsType] -__all__ = ("ApplicationsClientIdTokenScopedPostBodyType",) +class ApplicationsClientIdTokenScopedPostBodyTypeForResponse(TypedDict): + """ApplicationsClientIdTokenScopedPostBody""" + + access_token: str + target: NotRequired[str] + target_id: NotRequired[int] + repositories: NotRequired[list[str]] + repository_ids: NotRequired[list[int]] + permissions: NotRequired[AppPermissionsTypeForResponse] + + +__all__ = ( + "ApplicationsClientIdTokenScopedPostBodyType", + "ApplicationsClientIdTokenScopedPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0869.py b/githubkit/versions/v2022_11_28/types/group_0869.py index 4dce740a0..d15a7f910 100644 --- a/githubkit/versions/v2022_11_28/types/group_0869.py +++ b/githubkit/versions/v2022_11_28/types/group_0869.py @@ -18,4 +18,13 @@ class CredentialsRevokePostBodyType(TypedDict): credentials: list[str] -__all__ = ("CredentialsRevokePostBodyType",) +class CredentialsRevokePostBodyTypeForResponse(TypedDict): + """CredentialsRevokePostBody""" + + credentials: list[str] + + +__all__ = ( + "CredentialsRevokePostBodyType", + "CredentialsRevokePostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0870.py b/githubkit/versions/v2022_11_28/types/group_0870.py index e3fd6e8a8..6e4fb484a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0870.py +++ b/githubkit/versions/v2022_11_28/types/group_0870.py @@ -17,4 +17,12 @@ """ -__all__ = ("EmojisGetResponse200Type",) +EmojisGetResponse200TypeForResponse: TypeAlias = dict[str, Any] +"""EmojisGetResponse200 +""" + + +__all__ = ( + "EmojisGetResponse200Type", + "EmojisGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0871.py b/githubkit/versions/v2022_11_28/types/group_0871.py index 9d11b182f..e7f84633a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0871.py +++ b/githubkit/versions/v2022_11_28/types/group_0871.py @@ -12,8 +12,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0029 import CodeScanningOptionsType -from .group_0030 import CodeScanningDefaultSetupOptionsType +from .group_0029 import CodeScanningOptionsType, CodeScanningOptionsTypeForResponse +from .group_0030 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType(TypedDict): @@ -65,6 +68,55 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseCodeSecurityConfigurationsPostBody""" + + name: str + description: str + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[Union[CodeScanningOptionsTypeForResponse, None]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -77,7 +129,21 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraph labeled_runners: NotRequired[bool] +class EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosu + bmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0872.py b/githubkit/versions/v2022_11_28/types/group_0872.py index 9d30347e4..4d7907ac3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0872.py +++ b/githubkit/versions/v2022_11_28/types/group_0872.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0030 import CodeScanningDefaultSetupOptionsType +from .group_0030 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType( @@ -65,6 +68,56 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTyp enforcement: NotRequired[Literal["enforced", "unenforced"]] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -77,7 +130,21 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPro labeled_runners: NotRequired[bool] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDepen + dencyGraphAutosubmitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0873.py b/githubkit/versions/v2022_11_28/types/group_0873.py index ec6e0b6b9..05d278d8e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0873.py +++ b/githubkit/versions/v2022_11_28/types/group_0873.py @@ -21,6 +21,15 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBo scope: Literal["all", "all_without_configurations"] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBody""" + + scope: Literal["all", "all_without_configurations"] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0874.py b/githubkit/versions/v2022_11_28/types/group_0874.py index 47259f1fc..a970ab939 100644 --- a/githubkit/versions/v2022_11_28/types/group_0874.py +++ b/githubkit/versions/v2022_11_28/types/group_0874.py @@ -23,6 +23,17 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutB ] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBody""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0875.py b/githubkit/versions/v2022_11_28/types/group_0875.py index ec2e0b140..9d832f7a8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0875.py +++ b/githubkit/versions/v2022_11_28/types/group_0875.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0028 import CodeSecurityConfigurationType +from .group_0028 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type( @@ -28,6 +31,20 @@ class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutR configuration: NotRequired[CodeSecurityConfigurationType] +class EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse( + TypedDict +): + """EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutRespons + e200 + """ + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + __all__ = ( "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "EnterprisesEnterpriseCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0876.py b/githubkit/versions/v2022_11_28/types/group_0876.py index d92f68c8d..979c72975 100644 --- a/githubkit/versions/v2022_11_28/types/group_0876.py +++ b/githubkit/versions/v2022_11_28/types/group_0876.py @@ -23,4 +23,17 @@ class EnterprisesEnterpriseTeamsPostBodyType(TypedDict): group_id: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseTeamsPostBodyType",) +class EnterprisesEnterpriseTeamsPostBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseTeamsPostBody""" + + name: str + description: NotRequired[Union[str, None]] + sync_to_organizations: NotRequired[Literal["all", "disabled"]] + organization_selection_type: NotRequired[Literal["disabled", "selected", "all"]] + group_id: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseTeamsPostBodyType", + "EnterprisesEnterpriseTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0877.py b/githubkit/versions/v2022_11_28/types/group_0877.py index 7f55cca91..4c4fdbbd3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0877.py +++ b/githubkit/versions/v2022_11_28/types/group_0877.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType(TypedDi usernames: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBody""" + + usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsAddPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0878.py b/githubkit/versions/v2022_11_28/types/group_0878.py index 53749c215..792bd9e59 100644 --- a/githubkit/versions/v2022_11_28/types/group_0878.py +++ b/githubkit/versions/v2022_11_28/types/group_0878.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType(Type usernames: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBody""" + + usernames: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamMembershipsRemovePostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0879.py b/githubkit/versions/v2022_11_28/types/group_0879.py index dda5d495a..adf8e6b2c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0879.py +++ b/githubkit/versions/v2022_11_28/types/group_0879.py @@ -18,4 +18,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType(Typed organization_slugs: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBody""" + + organization_slugs: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsAddPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0880.py b/githubkit/versions/v2022_11_28/types/group_0880.py index 9eb3ea5ba..d587e1283 100644 --- a/githubkit/versions/v2022_11_28/types/group_0880.py +++ b/githubkit/versions/v2022_11_28/types/group_0880.py @@ -20,4 +20,15 @@ class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType( organization_slugs: list[str] -__all__ = ("EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType",) +class EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse( + TypedDict +): + """EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBody""" + + organization_slugs: list[str] + + +__all__ = ( + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyType", + "EnterprisesEnterpriseTeamsEnterpriseTeamOrganizationsRemovePostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0881.py b/githubkit/versions/v2022_11_28/types/group_0881.py index 2523b1fe0..7258e9d48 100644 --- a/githubkit/versions/v2022_11_28/types/group_0881.py +++ b/githubkit/versions/v2022_11_28/types/group_0881.py @@ -23,4 +23,17 @@ class EnterprisesEnterpriseTeamsTeamSlugPatchBodyType(TypedDict): group_id: NotRequired[Union[str, None]] -__all__ = ("EnterprisesEnterpriseTeamsTeamSlugPatchBodyType",) +class EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse(TypedDict): + """EnterprisesEnterpriseTeamsTeamSlugPatchBody""" + + name: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + sync_to_organizations: NotRequired[Literal["all", "disabled"]] + organization_selection_type: NotRequired[Literal["disabled", "selected", "all"]] + group_id: NotRequired[Union[str, None]] + + +__all__ = ( + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyType", + "EnterprisesEnterpriseTeamsTeamSlugPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0882.py b/githubkit/versions/v2022_11_28/types/group_0882.py index 9af94053c..72228e56d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0882.py +++ b/githubkit/versions/v2022_11_28/types/group_0882.py @@ -20,4 +20,15 @@ class EventsGetResponse503Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("EventsGetResponse503Type",) +class EventsGetResponse503TypeForResponse(TypedDict): + """EventsGetResponse503""" + + code: NotRequired[str] + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "EventsGetResponse503Type", + "EventsGetResponse503TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0883.py b/githubkit/versions/v2022_11_28/types/group_0883.py index 2a811b378..e5ba8b635 100644 --- a/githubkit/versions/v2022_11_28/types/group_0883.py +++ b/githubkit/versions/v2022_11_28/types/group_0883.py @@ -21,6 +21,14 @@ class GistsPostBodyType(TypedDict): public: NotRequired[Union[bool, Literal["true", "false"]]] +class GistsPostBodyTypeForResponse(TypedDict): + """GistsPostBody""" + + description: NotRequired[str] + files: GistsPostBodyPropFilesTypeForResponse + public: NotRequired[Union[bool, Literal["true", "false"]]] + + GistsPostBodyPropFilesType: TypeAlias = dict[str, Any] """GistsPostBodyPropFiles @@ -31,7 +39,19 @@ class GistsPostBodyType(TypedDict): """ +GistsPostBodyPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistsPostBodyPropFiles + +Names and content for the files that make up the gist + +Examples: + {'hello.rb': {'content': 'puts "Hello, World!"'}} +""" + + __all__ = ( "GistsPostBodyPropFilesType", + "GistsPostBodyPropFilesTypeForResponse", "GistsPostBodyType", + "GistsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0884.py b/githubkit/versions/v2022_11_28/types/group_0884.py index cad5cbf2a..2b5fe1697 100644 --- a/githubkit/versions/v2022_11_28/types/group_0884.py +++ b/githubkit/versions/v2022_11_28/types/group_0884.py @@ -21,6 +21,14 @@ class GistsGistIdGetResponse403Type(TypedDict): documentation_url: NotRequired[str] +class GistsGistIdGetResponse403TypeForResponse(TypedDict): + """GistsGistIdGetResponse403""" + + block: NotRequired[GistsGistIdGetResponse403PropBlockTypeForResponse] + message: NotRequired[str] + documentation_url: NotRequired[str] + + class GistsGistIdGetResponse403PropBlockType(TypedDict): """GistsGistIdGetResponse403PropBlock""" @@ -29,7 +37,17 @@ class GistsGistIdGetResponse403PropBlockType(TypedDict): html_url: NotRequired[Union[str, None]] +class GistsGistIdGetResponse403PropBlockTypeForResponse(TypedDict): + """GistsGistIdGetResponse403PropBlock""" + + reason: NotRequired[str] + created_at: NotRequired[str] + html_url: NotRequired[Union[str, None]] + + __all__ = ( "GistsGistIdGetResponse403PropBlockType", + "GistsGistIdGetResponse403PropBlockTypeForResponse", "GistsGistIdGetResponse403Type", + "GistsGistIdGetResponse403TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0885.py b/githubkit/versions/v2022_11_28/types/group_0885.py index e5f3979ec..4ec626a76 100644 --- a/githubkit/versions/v2022_11_28/types/group_0885.py +++ b/githubkit/versions/v2022_11_28/types/group_0885.py @@ -20,6 +20,13 @@ class GistsGistIdPatchBodyType(TypedDict): files: NotRequired[GistsGistIdPatchBodyPropFilesType] +class GistsGistIdPatchBodyTypeForResponse(TypedDict): + """GistsGistIdPatchBody""" + + description: NotRequired[str] + files: NotRequired[GistsGistIdPatchBodyPropFilesTypeForResponse] + + GistsGistIdPatchBodyPropFilesType: TypeAlias = dict[str, Any] """GistsGistIdPatchBodyPropFiles @@ -37,7 +44,26 @@ class GistsGistIdPatchBodyType(TypedDict): """ +GistsGistIdPatchBodyPropFilesTypeForResponse: TypeAlias = dict[str, Any] +"""GistsGistIdPatchBodyPropFiles + +The gist files to be updated, renamed, or deleted. Each `key` must match the +current filename +(including extension) of the targeted gist file. For example: `hello.py`. + +To delete a file, set the whole file to null. For example: `hello.py : null`. +The file will also be +deleted if the specified object does not contain at least one of `content` or +`filename`. + +Examples: + {'hello.rb': {'content': 'blah', 'filename': 'goodbye.rb'}} +""" + + __all__ = ( "GistsGistIdPatchBodyPropFilesType", + "GistsGistIdPatchBodyPropFilesTypeForResponse", "GistsGistIdPatchBodyType", + "GistsGistIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0886.py b/githubkit/versions/v2022_11_28/types/group_0886.py index 054661ac7..2be7f4e4c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0886.py +++ b/githubkit/versions/v2022_11_28/types/group_0886.py @@ -18,4 +18,13 @@ class GistsGistIdCommentsPostBodyType(TypedDict): body: str -__all__ = ("GistsGistIdCommentsPostBodyType",) +class GistsGistIdCommentsPostBodyTypeForResponse(TypedDict): + """GistsGistIdCommentsPostBody""" + + body: str + + +__all__ = ( + "GistsGistIdCommentsPostBodyType", + "GistsGistIdCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0887.py b/githubkit/versions/v2022_11_28/types/group_0887.py index 39ac46ae2..3f266d71c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0887.py +++ b/githubkit/versions/v2022_11_28/types/group_0887.py @@ -18,4 +18,13 @@ class GistsGistIdCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("GistsGistIdCommentsCommentIdPatchBodyType",) +class GistsGistIdCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """GistsGistIdCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "GistsGistIdCommentsCommentIdPatchBodyType", + "GistsGistIdCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0888.py b/githubkit/versions/v2022_11_28/types/group_0888.py index 10e6b69c7..7e413cd6d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0888.py +++ b/githubkit/versions/v2022_11_28/types/group_0888.py @@ -16,4 +16,11 @@ class GistsGistIdStarGetResponse404Type(TypedDict): """GistsGistIdStarGetResponse404""" -__all__ = ("GistsGistIdStarGetResponse404Type",) +class GistsGistIdStarGetResponse404TypeForResponse(TypedDict): + """GistsGistIdStarGetResponse404""" + + +__all__ = ( + "GistsGistIdStarGetResponse404Type", + "GistsGistIdStarGetResponse404TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0889.py b/githubkit/versions/v2022_11_28/types/group_0889.py index a168e4016..800bc3970 100644 --- a/githubkit/versions/v2022_11_28/types/group_0889.py +++ b/githubkit/versions/v2022_11_28/types/group_0889.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class InstallationRepositoriesGetResponse200Type(TypedDict): @@ -22,4 +22,15 @@ class InstallationRepositoriesGetResponse200Type(TypedDict): repository_selection: NotRequired[str] -__all__ = ("InstallationRepositoriesGetResponse200Type",) +class InstallationRepositoriesGetResponse200TypeForResponse(TypedDict): + """InstallationRepositoriesGetResponse200""" + + total_count: int + repositories: list[RepositoryTypeForResponse] + repository_selection: NotRequired[str] + + +__all__ = ( + "InstallationRepositoriesGetResponse200Type", + "InstallationRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0890.py b/githubkit/versions/v2022_11_28/types/group_0890.py index cb94d812e..5a8485084 100644 --- a/githubkit/versions/v2022_11_28/types/group_0890.py +++ b/githubkit/versions/v2022_11_28/types/group_0890.py @@ -21,4 +21,15 @@ class MarkdownPostBodyType(TypedDict): context: NotRequired[str] -__all__ = ("MarkdownPostBodyType",) +class MarkdownPostBodyTypeForResponse(TypedDict): + """MarkdownPostBody""" + + text: str + mode: NotRequired[Literal["markdown", "gfm"]] + context: NotRequired[str] + + +__all__ = ( + "MarkdownPostBodyType", + "MarkdownPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0891.py b/githubkit/versions/v2022_11_28/types/group_0891.py index f9c51f36b..825fcc3f0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0891.py +++ b/githubkit/versions/v2022_11_28/types/group_0891.py @@ -20,4 +20,14 @@ class NotificationsPutBodyType(TypedDict): read: NotRequired[bool] -__all__ = ("NotificationsPutBodyType",) +class NotificationsPutBodyTypeForResponse(TypedDict): + """NotificationsPutBody""" + + last_read_at: NotRequired[str] + read: NotRequired[bool] + + +__all__ = ( + "NotificationsPutBodyType", + "NotificationsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0892.py b/githubkit/versions/v2022_11_28/types/group_0892.py index 70705f433..0850548d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0892.py +++ b/githubkit/versions/v2022_11_28/types/group_0892.py @@ -18,4 +18,13 @@ class NotificationsPutResponse202Type(TypedDict): message: NotRequired[str] -__all__ = ("NotificationsPutResponse202Type",) +class NotificationsPutResponse202TypeForResponse(TypedDict): + """NotificationsPutResponse202""" + + message: NotRequired[str] + + +__all__ = ( + "NotificationsPutResponse202Type", + "NotificationsPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0893.py b/githubkit/versions/v2022_11_28/types/group_0893.py index 0dbd53ac7..252914946 100644 --- a/githubkit/versions/v2022_11_28/types/group_0893.py +++ b/githubkit/versions/v2022_11_28/types/group_0893.py @@ -18,4 +18,13 @@ class NotificationsThreadsThreadIdSubscriptionPutBodyType(TypedDict): ignored: NotRequired[bool] -__all__ = ("NotificationsThreadsThreadIdSubscriptionPutBodyType",) +class NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse(TypedDict): + """NotificationsThreadsThreadIdSubscriptionPutBody""" + + ignored: NotRequired[bool] + + +__all__ = ( + "NotificationsThreadsThreadIdSubscriptionPutBodyType", + "NotificationsThreadsThreadIdSubscriptionPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0894.py b/githubkit/versions/v2022_11_28/types/group_0894.py index 3d20a3b98..91e3cf83e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0894.py +++ b/githubkit/versions/v2022_11_28/types/group_0894.py @@ -23,4 +23,18 @@ class OrganizationsOrgDependabotRepositoryAccessPatchBodyType(TypedDict): repository_ids_to_remove: NotRequired[list[int]] -__all__ = ("OrganizationsOrgDependabotRepositoryAccessPatchBodyType",) +class OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgDependabotRepositoryAccessPatchBody + + Examples: + {'repository_ids_to_add': [123, 456], 'repository_ids_to_remove': [789]} + """ + + repository_ids_to_add: NotRequired[list[int]] + repository_ids_to_remove: NotRequired[list[int]] + + +__all__ = ( + "OrganizationsOrgDependabotRepositoryAccessPatchBodyType", + "OrganizationsOrgDependabotRepositoryAccessPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0895.py b/githubkit/versions/v2022_11_28/types/group_0895.py index 2e01cf7ec..4d3ae28a3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0895.py +++ b/githubkit/versions/v2022_11_28/types/group_0895.py @@ -19,4 +19,15 @@ class OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType(TypedDic default_level: Literal["public", "internal"] -__all__ = ("OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType",) +class OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse( + TypedDict +): + """OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBody""" + + default_level: Literal["public", "internal"] + + +__all__ = ( + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyType", + "OrganizationsOrgDependabotRepositoryAccessDefaultLevelPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0896.py b/githubkit/versions/v2022_11_28/types/group_0896.py index 6664c18fc..6356b8711 100644 --- a/githubkit/versions/v2022_11_28/types/group_0896.py +++ b/githubkit/versions/v2022_11_28/types/group_0896.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0065 import CustomPropertyValueType +from .group_0065 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrganizationsOrgOrgPropertiesValuesPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class OrganizationsOrgOrgPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrganizationsOrgOrgPropertiesValuesPatchBodyType",) +class OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgOrgPropertiesValuesPatchBody""" + + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrganizationsOrgOrgPropertiesValuesPatchBodyType", + "OrganizationsOrgOrgPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0897.py b/githubkit/versions/v2022_11_28/types/group_0897.py index 535bcc59b..37edd163f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0897.py +++ b/githubkit/versions/v2022_11_28/types/group_0897.py @@ -29,6 +29,22 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType(TypedDict): budget_product_sku: NotRequired[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse(TypedDict): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBody""" + + budget_amount: NotRequired[int] + prevent_further_usage: NotRequired[bool] + budget_alerting: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse + ] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_product_sku: NotRequired[str] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType( TypedDict ): @@ -38,7 +54,18 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingT alert_recipients: NotRequired[list[str]] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlerting""" + + will_alert: NotRequired[bool] + alert_recipients: NotRequired[list[str]] + + __all__ = ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyPropBudgetAlertingTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0898.py b/githubkit/versions/v2022_11_28/types/group_0898.py index 6c03a0891..e111ecdba 100644 --- a/githubkit/versions/v2022_11_28/types/group_0898.py +++ b/githubkit/versions/v2022_11_28/types/group_0898.py @@ -22,6 +22,17 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type(TypedDi ] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200""" + + message: NotRequired[str] + budget: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse + ] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType( TypedDict ): @@ -41,6 +52,25 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTy budget_product_sku: NotRequired[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudget""" + + id: NotRequired[str] + budget_amount: NotRequired[float] + prevent_further_usage: NotRequired[bool] + budget_alerting: NotRequired[ + OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse + ] + budget_scope: NotRequired[ + Literal["enterprise", "organization", "repository", "cost_center"] + ] + budget_entity_name: NotRequired[str] + budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]] + budget_product_sku: NotRequired[str] + + class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType( TypedDict ): @@ -52,8 +82,22 @@ class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPr alert_recipients: list[str] +class OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse( + TypedDict +): + """OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudg + etAlerting + """ + + will_alert: bool + alert_recipients: list[str] + + __all__ = ( "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetPropBudgetAlertingTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetType", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200PropBudgetTypeForResponse", "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200Type", + "OrganizationsOrgSettingsBillingBudgetsBudgetIdPatchResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0899.py b/githubkit/versions/v2022_11_28/types/group_0899.py index f0059925f..89a3ecd4d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0899.py +++ b/githubkit/versions/v2022_11_28/types/group_0899.py @@ -52,4 +52,46 @@ class OrgsOrgPatchBodyType(TypedDict): deploy_keys_enabled_for_repositories: NotRequired[bool] -__all__ = ("OrgsOrgPatchBodyType",) +class OrgsOrgPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPatchBody""" + + billing_email: NotRequired[str] + company: NotRequired[str] + email: NotRequired[str] + twitter_username: NotRequired[str] + location: NotRequired[str] + name: NotRequired[str] + description: NotRequired[str] + has_organization_projects: NotRequired[bool] + has_repository_projects: NotRequired[bool] + default_repository_permission: NotRequired[ + Literal["read", "write", "admin", "none"] + ] + members_can_create_repositories: NotRequired[bool] + members_can_create_internal_repositories: NotRequired[bool] + members_can_create_private_repositories: NotRequired[bool] + members_can_create_public_repositories: NotRequired[bool] + members_allowed_repository_creation_type: NotRequired[ + Literal["all", "private", "none"] + ] + members_can_create_pages: NotRequired[bool] + members_can_create_public_pages: NotRequired[bool] + members_can_create_private_pages: NotRequired[bool] + members_can_fork_private_repositories: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + blog: NotRequired[str] + advanced_security_enabled_for_new_repositories: NotRequired[bool] + dependabot_alerts_enabled_for_new_repositories: NotRequired[bool] + dependabot_security_updates_enabled_for_new_repositories: NotRequired[bool] + dependency_graph_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_enabled_for_new_repositories: NotRequired[bool] + secret_scanning_push_protection_custom_link_enabled: NotRequired[bool] + secret_scanning_push_protection_custom_link: NotRequired[str] + deploy_keys_enabled_for_repositories: NotRequired[bool] + + +__all__ = ( + "OrgsOrgPatchBodyType", + "OrgsOrgPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0900.py b/githubkit/versions/v2022_11_28/types/group_0900.py index c9f8884a9..3d17ec922 100644 --- a/githubkit/versions/v2022_11_28/types/group_0900.py +++ b/githubkit/versions/v2022_11_28/types/group_0900.py @@ -19,6 +19,13 @@ class OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type(TypedDict): repository_cache_usages: list[ActionsCacheUsageByRepositoryType] +class OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsCacheUsageByRepositoryGetResponse200""" + + total_count: int + repository_cache_usages: list[ActionsCacheUsageByRepositoryTypeForResponse] + + class ActionsCacheUsageByRepositoryType(TypedDict): """Actions Cache Usage by repository @@ -30,7 +37,20 @@ class ActionsCacheUsageByRepositoryType(TypedDict): active_caches_count: int +class ActionsCacheUsageByRepositoryTypeForResponse(TypedDict): + """Actions Cache Usage by repository + + GitHub Actions Cache Usage by repository. + """ + + full_name: str + active_caches_size_in_bytes: int + active_caches_count: int + + __all__ = ( "ActionsCacheUsageByRepositoryType", + "ActionsCacheUsageByRepositoryTypeForResponse", "OrgsOrgActionsCacheUsageByRepositoryGetResponse200Type", + "OrgsOrgActionsCacheUsageByRepositoryGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0901.py b/githubkit/versions/v2022_11_28/types/group_0901.py index 71e365816..bf8e6e886 100644 --- a/githubkit/versions/v2022_11_28/types/group_0901.py +++ b/githubkit/versions/v2022_11_28/types/group_0901.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0075 import ActionsHostedRunnerType +from .group_0075 import ActionsHostedRunnerType, ActionsHostedRunnerTypeForResponse class OrgsOrgActionsHostedRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsHostedRunnersGetResponse200Type(TypedDict): runners: list[ActionsHostedRunnerType] -__all__ = ("OrgsOrgActionsHostedRunnersGetResponse200Type",) +class OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersGetResponse200""" + + total_count: int + runners: list[ActionsHostedRunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersGetResponse200Type", + "OrgsOrgActionsHostedRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0902.py b/githubkit/versions/v2022_11_28/types/group_0902.py index 175393d2b..ee8cc1c9d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0902.py +++ b/githubkit/versions/v2022_11_28/types/group_0902.py @@ -25,6 +25,18 @@ class OrgsOrgActionsHostedRunnersPostBodyType(TypedDict): image_gen: NotRequired[bool] +class OrgsOrgActionsHostedRunnersPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPostBody""" + + name: str + image: OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse + size: str + runner_group_id: int + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_gen: NotRequired[bool] + + class OrgsOrgActionsHostedRunnersPostBodyPropImageType(TypedDict): """OrgsOrgActionsHostedRunnersPostBodyPropImage @@ -37,7 +49,21 @@ class OrgsOrgActionsHostedRunnersPostBodyPropImageType(TypedDict): version: NotRequired[Union[str, None]] +class OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPostBodyPropImage + + The image of runner. To list all available images, use `GET /actions/hosted- + runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`. + """ + + id: NotRequired[str] + source: NotRequired[Literal["github", "partner", "custom"]] + version: NotRequired[Union[str, None]] + + __all__ = ( "OrgsOrgActionsHostedRunnersPostBodyPropImageType", + "OrgsOrgActionsHostedRunnersPostBodyPropImageTypeForResponse", "OrgsOrgActionsHostedRunnersPostBodyType", + "OrgsOrgActionsHostedRunnersPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0903.py b/githubkit/versions/v2022_11_28/types/group_0903.py index 5d3026624..4033c1e06 100644 --- a/githubkit/versions/v2022_11_28/types/group_0903.py +++ b/githubkit/versions/v2022_11_28/types/group_0903.py @@ -19,6 +19,13 @@ class OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCustomImageType] +class OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersImagesCustomGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCustomImageTypeForResponse] + + class ActionsHostedRunnerCustomImageType(TypedDict): """GitHub-hosted runner custom image details @@ -35,7 +42,25 @@ class ActionsHostedRunnerCustomImageType(TypedDict): state: str +class ActionsHostedRunnerCustomImageTypeForResponse(TypedDict): + """GitHub-hosted runner custom image details + + Provides details of a custom runner image + """ + + id: int + platform: str + total_versions_size: int + name: str + source: str + versions_count: int + latest_version: str + state: str + + __all__ = ( "ActionsHostedRunnerCustomImageType", + "ActionsHostedRunnerCustomImageTypeForResponse", "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0904.py b/githubkit/versions/v2022_11_28/types/group_0904.py index 183773280..29ac5e337 100644 --- a/githubkit/versions/v2022_11_28/types/group_0904.py +++ b/githubkit/versions/v2022_11_28/types/group_0904.py @@ -21,6 +21,15 @@ class OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetRespons image_versions: list[ActionsHostedRunnerCustomImageVersionType] +class OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200""" + + total_count: int + image_versions: list[ActionsHostedRunnerCustomImageVersionTypeForResponse] + + class ActionsHostedRunnerCustomImageVersionType(TypedDict): """GitHub-hosted runner custom image version details. @@ -34,7 +43,22 @@ class ActionsHostedRunnerCustomImageVersionType(TypedDict): state_details: str +class ActionsHostedRunnerCustomImageVersionTypeForResponse(TypedDict): + """GitHub-hosted runner custom image version details. + + Provides details of a hosted runner custom image version + """ + + version: str + state: str + size_gb: int + created_on: str + state_details: str + + __all__ = ( "ActionsHostedRunnerCustomImageVersionType", + "ActionsHostedRunnerCustomImageVersionTypeForResponse", "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesCustomImageDefinitionIdVersionsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0905.py b/githubkit/versions/v2022_11_28/types/group_0905.py index f86180300..56a194a36 100644 --- a/githubkit/versions/v2022_11_28/types/group_0905.py +++ b/githubkit/versions/v2022_11_28/types/group_0905.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0076 import ActionsHostedRunnerCuratedImageType +from .group_0076 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type(TypedDict): @@ -21,4 +24,16 @@ class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCuratedImageType] -__all__ = ("OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type",) +class OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesGithubOwnedGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0906.py b/githubkit/versions/v2022_11_28/types/group_0906.py index 572b7f88d..02a4fe338 100644 --- a/githubkit/versions/v2022_11_28/types/group_0906.py +++ b/githubkit/versions/v2022_11_28/types/group_0906.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0076 import ActionsHostedRunnerCuratedImageType +from .group_0076 import ( + ActionsHostedRunnerCuratedImageType, + ActionsHostedRunnerCuratedImageTypeForResponse, +) class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type(TypedDict): images: list[ActionsHostedRunnerCuratedImageType] -__all__ = ("OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type",) +class OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200""" + + total_count: int + images: list[ActionsHostedRunnerCuratedImageTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200Type", + "OrgsOrgActionsHostedRunnersImagesPartnerGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0907.py b/githubkit/versions/v2022_11_28/types/group_0907.py index f8912f688..9e8546c30 100644 --- a/githubkit/versions/v2022_11_28/types/group_0907.py +++ b/githubkit/versions/v2022_11_28/types/group_0907.py @@ -11,7 +11,10 @@ from typing_extensions import TypedDict -from .group_0074 import ActionsHostedRunnerMachineSpecType +from .group_0074 import ( + ActionsHostedRunnerMachineSpecType, + ActionsHostedRunnerMachineSpecTypeForResponse, +) class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type(TypedDict): @@ -21,4 +24,14 @@ class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type(TypedDict): machine_specs: list[ActionsHostedRunnerMachineSpecType] -__all__ = ("OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type",) +class OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersMachineSizesGetResponse200""" + + total_count: int + machine_specs: list[ActionsHostedRunnerMachineSpecTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200Type", + "OrgsOrgActionsHostedRunnersMachineSizesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0908.py b/githubkit/versions/v2022_11_28/types/group_0908.py index f96c7b054..b98626724 100644 --- a/githubkit/versions/v2022_11_28/types/group_0908.py +++ b/githubkit/versions/v2022_11_28/types/group_0908.py @@ -19,4 +19,14 @@ class OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type(TypedDict): platforms: list[str] -__all__ = ("OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type",) +class OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersPlatformsGetResponse200""" + + total_count: int + platforms: list[str] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200Type", + "OrgsOrgActionsHostedRunnersPlatformsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0909.py b/githubkit/versions/v2022_11_28/types/group_0909.py index 363057afe..e215d149e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0909.py +++ b/githubkit/versions/v2022_11_28/types/group_0909.py @@ -23,4 +23,17 @@ class OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType(TypedDict): image_version: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType",) +class OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBody""" + + name: NotRequired[str] + runner_group_id: NotRequired[int] + maximum_runners: NotRequired[int] + enable_static_ip: NotRequired[bool] + image_version: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyType", + "OrgsOrgActionsHostedRunnersHostedRunnerIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0910.py b/githubkit/versions/v2022_11_28/types/group_0910.py index 05aeb7823..f726196ef 100644 --- a/githubkit/versions/v2022_11_28/types/group_0910.py +++ b/githubkit/versions/v2022_11_28/types/group_0910.py @@ -21,4 +21,15 @@ class OrgsOrgActionsPermissionsPutBodyType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("OrgsOrgActionsPermissionsPutBodyType",) +class OrgsOrgActionsPermissionsPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsPutBody""" + + enabled_repositories: Literal["all", "none", "selected"] + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "OrgsOrgActionsPermissionsPutBodyType", + "OrgsOrgActionsPermissionsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0911.py b/githubkit/versions/v2022_11_28/types/group_0911.py index 484b23498..3faeff59e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0911.py +++ b/githubkit/versions/v2022_11_28/types/group_0911.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class OrgsOrgActionsPermissionsRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsPermissionsRepositoriesGetResponse200Type(TypedDict): repositories: list[RepositoryType] -__all__ = ("OrgsOrgActionsPermissionsRepositoriesGetResponse200Type",) +class OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsRepositoriesGetResponse200""" + + total_count: float + repositories: list[RepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsPermissionsRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0912.py b/githubkit/versions/v2022_11_28/types/group_0912.py index a2735688c..cc6d8bd4e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0912.py +++ b/githubkit/versions/v2022_11_28/types/group_0912.py @@ -18,4 +18,13 @@ class OrgsOrgActionsPermissionsRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsPermissionsRepositoriesPutBodyType",) +class OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsPermissionsRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0913.py b/githubkit/versions/v2022_11_28/types/group_0913.py index 68171a037..5693e07ca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0913.py +++ b/githubkit/versions/v2022_11_28/types/group_0913.py @@ -19,4 +19,13 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType(TypedDict): enabled_repositories: Literal["all", "selected", "none"] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType",) +class OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsPermissionsSelfHostedRunnersPutBody""" + + enabled_repositories: Literal["all", "selected", "none"] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0914.py b/githubkit/versions/v2022_11_28/types/group_0914.py index 1a5bedf23..87095c315 100644 --- a/githubkit/versions/v2022_11_28/types/group_0914.py +++ b/githubkit/versions/v2022_11_28/types/group_0914.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type( @@ -23,4 +23,16 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type( repositories: NotRequired[list[RepositoryType]] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type",) +class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200""" + + total_count: NotRequired[int] + repositories: NotRequired[list[RepositoryTypeForResponse]] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200Type", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0915.py b/githubkit/versions/v2022_11_28/types/group_0915.py index 2cade2e54..a3b2c46f4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0915.py +++ b/githubkit/versions/v2022_11_28/types/group_0915.py @@ -18,4 +18,15 @@ class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType(TypedDic selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType",) +class OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyType", + "OrgsOrgActionsPermissionsSelfHostedRunnersRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0916.py b/githubkit/versions/v2022_11_28/types/group_0916.py index 507ed1dee..a9a64c9a3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0916.py +++ b/githubkit/versions/v2022_11_28/types/group_0916.py @@ -19,6 +19,13 @@ class OrgsOrgActionsRunnerGroupsGetResponse200Type(TypedDict): runner_groups: list[RunnerGroupsOrgType] +class OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsGetResponse200""" + + total_count: float + runner_groups: list[RunnerGroupsOrgTypeForResponse] + + class RunnerGroupsOrgType(TypedDict): """RunnerGroupsOrg""" @@ -38,7 +45,28 @@ class RunnerGroupsOrgType(TypedDict): selected_workflows: NotRequired[list[str]] +class RunnerGroupsOrgTypeForResponse(TypedDict): + """RunnerGroupsOrg""" + + id: float + name: str + visibility: str + default: bool + selected_repositories_url: NotRequired[str] + runners_url: str + hosted_runners_url: NotRequired[str] + network_configuration_id: NotRequired[str] + inherited: bool + inherited_allows_public_repositories: NotRequired[bool] + allows_public_repositories: bool + workflow_restrictions_read_only: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + + __all__ = ( "OrgsOrgActionsRunnerGroupsGetResponse200Type", + "OrgsOrgActionsRunnerGroupsGetResponse200TypeForResponse", "RunnerGroupsOrgType", + "RunnerGroupsOrgTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0917.py b/githubkit/versions/v2022_11_28/types/group_0917.py index 28b84e166..8d348e231 100644 --- a/githubkit/versions/v2022_11_28/types/group_0917.py +++ b/githubkit/versions/v2022_11_28/types/group_0917.py @@ -26,4 +26,20 @@ class OrgsOrgActionsRunnerGroupsPostBodyType(TypedDict): network_configuration_id: NotRequired[str] -__all__ = ("OrgsOrgActionsRunnerGroupsPostBodyType",) +class OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsPostBody""" + + name: str + visibility: NotRequired[Literal["selected", "all", "private"]] + selected_repository_ids: NotRequired[list[int]] + runners: NotRequired[list[int]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[str] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsPostBodyType", + "OrgsOrgActionsRunnerGroupsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0918.py b/githubkit/versions/v2022_11_28/types/group_0918.py index d7ec24fe4..9a51ef37c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0918.py +++ b/githubkit/versions/v2022_11_28/types/group_0918.py @@ -24,4 +24,18 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType(TypedDict): network_configuration_id: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBody""" + + name: str + visibility: NotRequired[Literal["selected", "all", "private"]] + allows_public_repositories: NotRequired[bool] + restricted_to_workflows: NotRequired[bool] + selected_workflows: NotRequired[list[str]] + network_configuration_id: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0919.py b/githubkit/versions/v2022_11_28/types/group_0919.py index 01212f6d5..c079f6e8a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0919.py +++ b/githubkit/versions/v2022_11_28/types/group_0919.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0075 import ActionsHostedRunnerType +from .group_0075 import ActionsHostedRunnerType, ActionsHostedRunnerTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type(Typ runners: list[ActionsHostedRunnerType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200""" + + total_count: float + runners: list[ActionsHostedRunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdHostedRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0920.py b/githubkit/versions/v2022_11_28/types/group_0920.py index 91b574088..6ce187da6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0920.py +++ b/githubkit/versions/v2022_11_28/types/group_0920.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type(Type repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200""" + + total_count: float + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0921.py b/githubkit/versions/v2022_11_28/types/group_0921.py index 0ab50bd6d..76a419d6e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0921.py +++ b/githubkit/versions/v2022_11_28/types/group_0921.py @@ -18,4 +18,15 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0922.py b/githubkit/versions/v2022_11_28/types/group_0922.py index e150ee0e3..43066e2d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_0922.py +++ b/githubkit/versions/v2022_11_28/types/group_0922.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0090 import RunnerType +from .group_0090 import RunnerType, RunnerTypeForResponse class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type(TypedDict runners: list[RunnerType] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200""" + + total_count: float + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200Type", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0923.py b/githubkit/versions/v2022_11_28/types/group_0923.py index bb10bbf9a..e95279523 100644 --- a/githubkit/versions/v2022_11_28/types/group_0923.py +++ b/githubkit/versions/v2022_11_28/types/group_0923.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType(TypedDict): runners: list[int] -__all__ = ("OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType",) +class OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBody""" + + runners: list[int] + + +__all__ = ( + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyType", + "OrgsOrgActionsRunnerGroupsRunnerGroupIdRunnersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0924.py b/githubkit/versions/v2022_11_28/types/group_0924.py index 239acd5be..196e4e562 100644 --- a/githubkit/versions/v2022_11_28/types/group_0924.py +++ b/githubkit/versions/v2022_11_28/types/group_0924.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0090 import RunnerType +from .group_0090 import RunnerType, RunnerTypeForResponse class OrgsOrgActionsRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsRunnersGetResponse200Type(TypedDict): runners: list[RunnerType] -__all__ = ("OrgsOrgActionsRunnersGetResponse200Type",) +class OrgsOrgActionsRunnersGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnersGetResponse200""" + + total_count: int + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnersGetResponse200Type", + "OrgsOrgActionsRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0925.py b/githubkit/versions/v2022_11_28/types/group_0925.py index 5e08d0dd4..379d1a54d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0925.py +++ b/githubkit/versions/v2022_11_28/types/group_0925.py @@ -21,4 +21,16 @@ class OrgsOrgActionsRunnersGenerateJitconfigPostBodyType(TypedDict): work_folder: NotRequired[str] -__all__ = ("OrgsOrgActionsRunnersGenerateJitconfigPostBodyType",) +class OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersGenerateJitconfigPostBody""" + + name: str + runner_group_id: int + labels: list[str] + work_folder: NotRequired[str] + + +__all__ = ( + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyType", + "OrgsOrgActionsRunnersGenerateJitconfigPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0926.py b/githubkit/versions/v2022_11_28/types/group_0926.py index b728cacf9..53eb40fd8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0926.py +++ b/githubkit/versions/v2022_11_28/types/group_0926.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0090 import RunnerType +from .group_0090 import RunnerType, RunnerTypeForResponse class OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type(TypedDict): encoded_jit_config: str -__all__ = ("OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type",) +class OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse(TypedDict): + """OrgsOrgActionsRunnersGenerateJitconfigPostResponse201""" + + runner: RunnerTypeForResponse + encoded_jit_config: str + + +__all__ = ( + "OrgsOrgActionsRunnersGenerateJitconfigPostResponse201Type", + "OrgsOrgActionsRunnersGenerateJitconfigPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0927.py b/githubkit/versions/v2022_11_28/types/group_0927.py index 83b3725e8..3be1e4e63 100644 --- a/githubkit/versions/v2022_11_28/types/group_0927.py +++ b/githubkit/versions/v2022_11_28/types/group_0927.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0089 import RunnerLabelType +from .group_0089 import RunnerLabelType, RunnerLabelTypeForResponse class OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type(TypedDict): labels: list[RunnerLabelType] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type",) +class OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200""" + + total_count: int + labels: list[RunnerLabelTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200Type", + "OrgsOrgActionsRunnersRunnerIdLabelsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0928.py b/githubkit/versions/v2022_11_28/types/group_0928.py index 86d454795..45fca906a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0928.py +++ b/githubkit/versions/v2022_11_28/types/group_0928.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType(TypedDict): labels: list[str] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType",) +class OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsPutBody""" + + labels: list[str] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0929.py b/githubkit/versions/v2022_11_28/types/group_0929.py index 1e050b2e1..2ec53e21f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0929.py +++ b/githubkit/versions/v2022_11_28/types/group_0929.py @@ -18,4 +18,13 @@ class OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType(TypedDict): labels: list[str] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType",) +class OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsPostBody""" + + labels: list[str] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyType", + "OrgsOrgActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0930.py b/githubkit/versions/v2022_11_28/types/group_0930.py index 9858a88d5..900258ea3 100644 --- a/githubkit/versions/v2022_11_28/types/group_0930.py +++ b/githubkit/versions/v2022_11_28/types/group_0930.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0089 import RunnerLabelType +from .group_0089 import RunnerLabelType, RunnerLabelTypeForResponse class OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type(TypedDict): labels: list[RunnerLabelType] -__all__ = ("OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type",) +class OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200""" + + total_count: int + labels: list[RunnerLabelTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200Type", + "OrgsOrgActionsRunnersRunnerIdLabelsDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0931.py b/githubkit/versions/v2022_11_28/types/group_0931.py index f17121488..824efba6b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0931.py +++ b/githubkit/versions/v2022_11_28/types/group_0931.py @@ -21,6 +21,13 @@ class OrgsOrgActionsSecretsGetResponse200Type(TypedDict): secrets: list[OrganizationActionsSecretType] +class OrgsOrgActionsSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsSecretsGetResponse200""" + + total_count: int + secrets: list[OrganizationActionsSecretTypeForResponse] + + class OrganizationActionsSecretType(TypedDict): """Actions Secret for an Organization @@ -34,7 +41,22 @@ class OrganizationActionsSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationActionsSecretTypeForResponse(TypedDict): + """Actions Secret for an Organization + + Secrets for GitHub Actions for an organization. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationActionsSecretType", + "OrganizationActionsSecretTypeForResponse", "OrgsOrgActionsSecretsGetResponse200Type", + "OrgsOrgActionsSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0932.py b/githubkit/versions/v2022_11_28/types/group_0932.py index 6f2b7d0ff..2fcd37a5a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0932.py +++ b/githubkit/versions/v2022_11_28/types/group_0932.py @@ -22,4 +22,16 @@ class OrgsOrgActionsSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsSecretsSecretNamePutBodyType",) +class OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNamePutBodyType", + "OrgsOrgActionsSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0933.py b/githubkit/versions/v2022_11_28/types/group_0933.py index 5019b6c54..cdddf37af 100644 --- a/githubkit/versions/v2022_11_28/types/group_0933.py +++ b/githubkit/versions/v2022_11_28/types/group_0933.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgActionsSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0934.py b/githubkit/versions/v2022_11_28/types/group_0934.py index 91774da55..fbab2a2ef 100644 --- a/githubkit/versions/v2022_11_28/types/group_0934.py +++ b/githubkit/versions/v2022_11_28/types/group_0934.py @@ -18,4 +18,13 @@ class OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgActionsSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0935.py b/githubkit/versions/v2022_11_28/types/group_0935.py index feb95bc8c..ac695b263 100644 --- a/githubkit/versions/v2022_11_28/types/group_0935.py +++ b/githubkit/versions/v2022_11_28/types/group_0935.py @@ -21,6 +21,13 @@ class OrgsOrgActionsVariablesGetResponse200Type(TypedDict): variables: list[OrganizationActionsVariableType] +class OrgsOrgActionsVariablesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsVariablesGetResponse200""" + + total_count: int + variables: list[OrganizationActionsVariableTypeForResponse] + + class OrganizationActionsVariableType(TypedDict): """Actions Variable for an Organization @@ -35,7 +42,23 @@ class OrganizationActionsVariableType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationActionsVariableTypeForResponse(TypedDict): + """Actions Variable for an Organization + + Organization variable for GitHub Actions. + """ + + name: str + value: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationActionsVariableType", + "OrganizationActionsVariableTypeForResponse", "OrgsOrgActionsVariablesGetResponse200Type", + "OrgsOrgActionsVariablesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0936.py b/githubkit/versions/v2022_11_28/types/group_0936.py index 35d9aa84a..357d471bb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0936.py +++ b/githubkit/versions/v2022_11_28/types/group_0936.py @@ -22,4 +22,16 @@ class OrgsOrgActionsVariablesPostBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsVariablesPostBodyType",) +class OrgsOrgActionsVariablesPostBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesPostBody""" + + name: str + value: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsVariablesPostBodyType", + "OrgsOrgActionsVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0937.py b/githubkit/versions/v2022_11_28/types/group_0937.py index 32397b063..11c5bdaca 100644 --- a/githubkit/versions/v2022_11_28/types/group_0937.py +++ b/githubkit/versions/v2022_11_28/types/group_0937.py @@ -22,4 +22,16 @@ class OrgsOrgActionsVariablesNamePatchBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgActionsVariablesNamePatchBodyType",) +class OrgsOrgActionsVariablesNamePatchBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + visibility: NotRequired[Literal["all", "private", "selected"]] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgActionsVariablesNamePatchBodyType", + "OrgsOrgActionsVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0938.py b/githubkit/versions/v2022_11_28/types/group_0938.py index 2c8d1a62a..083bc2ede 100644 --- a/githubkit/versions/v2022_11_28/types/group_0938.py +++ b/githubkit/versions/v2022_11_28/types/group_0938.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type",) +class OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200Type", + "OrgsOrgActionsVariablesNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0939.py b/githubkit/versions/v2022_11_28/types/group_0939.py index 7b7f6fc84..632918487 100644 --- a/githubkit/versions/v2022_11_28/types/group_0939.py +++ b/githubkit/versions/v2022_11_28/types/group_0939.py @@ -18,4 +18,13 @@ class OrgsOrgActionsVariablesNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgActionsVariablesNameRepositoriesPutBodyType",) +class OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgActionsVariablesNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgActionsVariablesNameRepositoriesPutBodyType", + "OrgsOrgActionsVariablesNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0940.py b/githubkit/versions/v2022_11_28/types/group_0940.py index 246777cc5..0fcddc651 100644 --- a/githubkit/versions/v2022_11_28/types/group_0940.py +++ b/githubkit/versions/v2022_11_28/types/group_0940.py @@ -27,4 +27,21 @@ class OrgsOrgArtifactsMetadataStorageRecordPostBodyType(TypedDict): github_repository: NotRequired[str] -__all__ = ("OrgsOrgArtifactsMetadataStorageRecordPostBodyType",) +class OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse(TypedDict): + """OrgsOrgArtifactsMetadataStorageRecordPostBody""" + + name: str + digest: str + version: NotRequired[str] + artifact_url: NotRequired[str] + path: NotRequired[str] + registry_url: str + repository: NotRequired[str] + status: NotRequired[Literal["active", "eol", "deleted"]] + github_repository: NotRequired[str] + + +__all__ = ( + "OrgsOrgArtifactsMetadataStorageRecordPostBodyType", + "OrgsOrgArtifactsMetadataStorageRecordPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0941.py b/githubkit/versions/v2022_11_28/types/group_0941.py index 9b0fe7714..02219d953 100644 --- a/githubkit/versions/v2022_11_28/types/group_0941.py +++ b/githubkit/versions/v2022_11_28/types/group_0941.py @@ -24,6 +24,17 @@ class OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type(TypedDict): ] +class OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse(TypedDict): + """OrgsOrgArtifactsMetadataStorageRecordPostResponse200""" + + total_count: NotRequired[int] + storage_records: NotRequired[ + list[ + OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse + ] + ] + + class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType( TypedDict ): @@ -40,7 +51,25 @@ class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItem updated_at: NotRequired[str] +class OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse( + TypedDict +): + """OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItems""" + + id: NotRequired[int] + name: NotRequired[str] + digest: NotRequired[str] + artifact_url: NotRequired[Union[str, None]] + registry_url: NotRequired[str] + repository: NotRequired[Union[str, None]] + status: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200PropStorageRecordsItemsTypeForResponse", "OrgsOrgArtifactsMetadataStorageRecordPostResponse200Type", + "OrgsOrgArtifactsMetadataStorageRecordPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0942.py b/githubkit/versions/v2022_11_28/types/group_0942.py index 4399cdbbe..429cdcfeb 100644 --- a/githubkit/versions/v2022_11_28/types/group_0942.py +++ b/githubkit/versions/v2022_11_28/types/group_0942.py @@ -23,6 +23,19 @@ class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type(Type ] +class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200""" + + total_count: NotRequired[int] + storage_records: NotRequired[ + list[ + OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse + ] + ] + + class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType( TypedDict ): @@ -41,7 +54,27 @@ class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStora updated_at: NotRequired[str] +class OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse( + TypedDict +): + """OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageReco + rdsItems + """ + + id: NotRequired[int] + name: NotRequired[str] + digest: NotRequired[str] + artifact_url: NotRequired[str] + registry_url: NotRequired[str] + repository: NotRequired[str] + status: NotRequired[str] + created_at: NotRequired[str] + updated_at: NotRequired[str] + + __all__ = ( "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsType", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200PropStorageRecordsItemsTypeForResponse", "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200Type", + "OrgsOrgArtifactsSubjectDigestMetadataStorageRecordsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0943.py b/githubkit/versions/v2022_11_28/types/group_0943.py index 2a4ab0267..23cd0ae96 100644 --- a/githubkit/versions/v2022_11_28/types/group_0943.py +++ b/githubkit/versions/v2022_11_28/types/group_0943.py @@ -19,4 +19,14 @@ class OrgsOrgAttestationsBulkListPostBodyType(TypedDict): predicate_type: NotRequired[str] -__all__ = ("OrgsOrgAttestationsBulkListPostBodyType",) +class OrgsOrgAttestationsBulkListPostBodyTypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostBody""" + + subject_digests: list[str] + predicate_type: NotRequired[str] + + +__all__ = ( + "OrgsOrgAttestationsBulkListPostBodyType", + "OrgsOrgAttestationsBulkListPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0944.py b/githubkit/versions/v2022_11_28/types/group_0944.py index 0dd3d4f18..8f62448c9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0944.py +++ b/githubkit/versions/v2022_11_28/types/group_0944.py @@ -22,6 +22,17 @@ class OrgsOrgAttestationsBulkListPostResponse200Type(TypedDict): page_info: NotRequired[OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType] +class OrgsOrgAttestationsBulkListPostResponse200TypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostResponse200""" + + attestations_subject_digests: NotRequired[ + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse + ] + page_info: NotRequired[ + OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse + ] + + OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType: TypeAlias = dict[ str, Any ] @@ -31,6 +42,15 @@ class OrgsOrgAttestationsBulkListPostResponse200Type(TypedDict): """ +OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigests + +Mapping of subject digest to bundles. +""" + + class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): """OrgsOrgAttestationsBulkListPostResponse200PropPageInfo @@ -43,8 +63,23 @@ class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): previous: NotRequired[str] +class OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse(TypedDict): + """OrgsOrgAttestationsBulkListPostResponse200PropPageInfo + + Information about the current page. + """ + + has_next: NotRequired[bool] + has_previous: NotRequired[bool] + next_: NotRequired[str] + previous: NotRequired[str] + + __all__ = ( "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "OrgsOrgAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoType", + "OrgsOrgAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", "OrgsOrgAttestationsBulkListPostResponse200Type", + "OrgsOrgAttestationsBulkListPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0945.py b/githubkit/versions/v2022_11_28/types/group_0945.py index 2721f9331..7c67942fe 100644 --- a/githubkit/versions/v2022_11_28/types/group_0945.py +++ b/githubkit/versions/v2022_11_28/types/group_0945.py @@ -18,4 +18,13 @@ class OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type(TypedDict): subject_digests: list[str] -__all__ = ("OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type",) +class OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse(TypedDict): + """OrgsOrgAttestationsDeleteRequestPostBodyOneof0""" + + subject_digests: list[str] + + +__all__ = ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0946.py b/githubkit/versions/v2022_11_28/types/group_0946.py index 0e26279dc..6c74c44f1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0946.py +++ b/githubkit/versions/v2022_11_28/types/group_0946.py @@ -18,4 +18,13 @@ class OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type(TypedDict): attestation_ids: list[int] -__all__ = ("OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type",) +class OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse(TypedDict): + """OrgsOrgAttestationsDeleteRequestPostBodyOneof1""" + + attestation_ids: list[int] + + +__all__ = ( + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1Type", + "OrgsOrgAttestationsDeleteRequestPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0947.py b/githubkit/versions/v2022_11_28/types/group_0947.py index 1b060957e..7a5392199 100644 --- a/githubkit/versions/v2022_11_28/types/group_0947.py +++ b/githubkit/versions/v2022_11_28/types/group_0947.py @@ -19,4 +19,14 @@ class OrgsOrgAttestationsRepositoriesGetResponse200ItemsType(TypedDict): name: NotRequired[str] -__all__ = ("OrgsOrgAttestationsRepositoriesGetResponse200ItemsType",) +class OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse(TypedDict): + """OrgsOrgAttestationsRepositoriesGetResponse200Items""" + + id: NotRequired[int] + name: NotRequired[str] + + +__all__ = ( + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsType", + "OrgsOrgAttestationsRepositoriesGetResponse200ItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0948.py b/githubkit/versions/v2022_11_28/types/group_0948.py index 90cdaed85..fe8f5ec1f 100644 --- a/githubkit/versions/v2022_11_28/types/group_0948.py +++ b/githubkit/versions/v2022_11_28/types/group_0948.py @@ -21,6 +21,16 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """OrgsOrgAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -34,6 +44,19 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( initiator: NotRequired[str] +class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -54,6 +77,26 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun ] +class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -62,6 +105,14 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun """ +OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePro +pVerificationMaterial +""" + + OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -70,10 +121,23 @@ class OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun """ +OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePro +pDsseEnvelope +""" + + __all__ = ( "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "OrgsOrgAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "OrgsOrgAttestationsSubjectDigestGetResponse200Type", + "OrgsOrgAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0949.py b/githubkit/versions/v2022_11_28/types/group_0949.py index 8546fbc4b..6f756f788 100644 --- a/githubkit/versions/v2022_11_28/types/group_0949.py +++ b/githubkit/versions/v2022_11_28/types/group_0949.py @@ -19,4 +19,14 @@ class OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType(TypedDict): alert_numbers: list[int] -__all__ = ("OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType",) +class OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItems""" + + repository_id: int + alert_numbers: list[int] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType", + "OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0950.py b/githubkit/versions/v2022_11_28/types/group_0950.py index 4eab4d05a..c1230a3b7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0950.py +++ b/githubkit/versions/v2022_11_28/types/group_0950.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0949 import OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType +from .group_0949 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, +) class OrgsOrgCampaignsPostBodyOneof0Type(TypedDict): @@ -31,4 +34,22 @@ class OrgsOrgCampaignsPostBodyOneof0Type(TypedDict): generate_issues: NotRequired[bool] -__all__ = ("OrgsOrgCampaignsPostBodyOneof0Type",) +class OrgsOrgCampaignsPostBodyOneof0TypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyOneof0""" + + name: str + description: str + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: str + contact_link: NotRequired[Union[str, None]] + code_scanning_alerts: Union[ + list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse], None + ] + generate_issues: NotRequired[bool] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyOneof0Type", + "OrgsOrgCampaignsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0951.py b/githubkit/versions/v2022_11_28/types/group_0951.py index 3af1718bb..e2f275aae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0951.py +++ b/githubkit/versions/v2022_11_28/types/group_0951.py @@ -13,7 +13,10 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0949 import OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType +from .group_0949 import ( + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsType, + OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse, +) class OrgsOrgCampaignsPostBodyOneof1Type(TypedDict): @@ -31,4 +34,25 @@ class OrgsOrgCampaignsPostBodyOneof1Type(TypedDict): generate_issues: NotRequired[bool] -__all__ = ("OrgsOrgCampaignsPostBodyOneof1Type",) +class OrgsOrgCampaignsPostBodyOneof1TypeForResponse(TypedDict): + """OrgsOrgCampaignsPostBodyOneof1""" + + name: str + description: str + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: str + contact_link: NotRequired[Union[str, None]] + code_scanning_alerts: NotRequired[ + Union[ + list[OrgsOrgCampaignsPostBodyPropCodeScanningAlertsItemsTypeForResponse], + None, + ] + ] + generate_issues: NotRequired[bool] + + +__all__ = ( + "OrgsOrgCampaignsPostBodyOneof1Type", + "OrgsOrgCampaignsPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0952.py b/githubkit/versions/v2022_11_28/types/group_0952.py index 25289c59a..f1d3e1cb8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0952.py +++ b/githubkit/versions/v2022_11_28/types/group_0952.py @@ -26,4 +26,19 @@ class OrgsOrgCampaignsCampaignNumberPatchBodyType(TypedDict): state: NotRequired[Literal["open", "closed"]] -__all__ = ("OrgsOrgCampaignsCampaignNumberPatchBodyType",) +class OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse(TypedDict): + """OrgsOrgCampaignsCampaignNumberPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + managers: NotRequired[list[str]] + team_managers: NotRequired[list[str]] + ends_at: NotRequired[str] + contact_link: NotRequired[Union[str, None]] + state: NotRequired[Literal["open", "closed"]] + + +__all__ = ( + "OrgsOrgCampaignsCampaignNumberPatchBodyType", + "OrgsOrgCampaignsCampaignNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0953.py b/githubkit/versions/v2022_11_28/types/group_0953.py index 3dd311056..e56b2a87b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0953.py +++ b/githubkit/versions/v2022_11_28/types/group_0953.py @@ -12,8 +12,11 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0029 import CodeScanningOptionsType -from .group_0030 import CodeScanningDefaultSetupOptionsType +from .group_0029 import CodeScanningOptionsType, CodeScanningOptionsTypeForResponse +from .group_0030 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsPostBodyType(TypedDict): @@ -71,6 +74,61 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgCodeSecurityConfigurationsPostBody""" + + name: str + description: str + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_options: NotRequired[Union[CodeScanningOptionsTypeForResponse, None]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -83,6 +141,18 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActi labeled_runners: NotRequired[bool] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOpti + ons + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType( TypedDict ): @@ -99,6 +169,22 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypass ] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOption + s + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -110,9 +196,24 @@ class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypass reviewer_type: Literal["TEAM", "ROLE"] +class OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOption + sPropReviewersItems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsPostBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsPostBodyType", + "OrgsOrgCodeSecurityConfigurationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0954.py b/githubkit/versions/v2022_11_28/types/group_0954.py index a177d65ec..26f6912d7 100644 --- a/githubkit/versions/v2022_11_28/types/group_0954.py +++ b/githubkit/versions/v2022_11_28/types/group_0954.py @@ -18,4 +18,13 @@ class OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType",) +class OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCodeSecurityConfigurationsDetachDeleteBody""" + + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyType", + "OrgsOrgCodeSecurityConfigurationsDetachDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0955.py b/githubkit/versions/v2022_11_28/types/group_0955.py index 76de776b4..90b4d6e83 100644 --- a/githubkit/versions/v2022_11_28/types/group_0955.py +++ b/githubkit/versions/v2022_11_28/types/group_0955.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0030 import CodeScanningDefaultSetupOptionsType +from .group_0030 import ( + CodeScanningDefaultSetupOptionsType, + CodeScanningDefaultSetupOptionsTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType(TypedDict): @@ -69,6 +72,62 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType(TypedDict): enforcement: NotRequired[Literal["enforced", "unenforced"]] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + advanced_security: NotRequired[ + Literal["enabled", "disabled", "code_security", "secret_protection"] + ] + code_security: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependency_graph_autosubmit_action: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + dependency_graph_autosubmit_action_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse + ] + dependabot_alerts: NotRequired[Literal["enabled", "disabled", "not_set"]] + dependabot_security_updates: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup: NotRequired[Literal["enabled", "disabled", "not_set"]] + code_scanning_default_setup_options: NotRequired[ + Union[CodeScanningDefaultSetupOptionsTypeForResponse, None] + ] + code_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_protection: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning: NotRequired[Literal["enabled", "disabled", "not_set"]] + secret_scanning_push_protection: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_bypass_options: NotRequired[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse + ] + secret_scanning_validity_checks: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_non_provider_patterns: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_generic_secrets: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + secret_scanning_delegated_alert_dismissal: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + private_vulnerability_reporting: NotRequired[ + Literal["enabled", "disabled", "not_set"] + ] + enforcement: NotRequired[Literal["enforced", "unenforced"]] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType( TypedDict ): @@ -81,6 +140,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGra labeled_runners: NotRequired[bool] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAuto + submitActionOptions + + Feature options for Automatic dependency submission + """ + + labeled_runners: NotRequired[bool] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType( TypedDict ): @@ -97,6 +168,22 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScannin ] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDeleg + atedBypassOptions + + Feature options for secret scanning delegated bypass + """ + + reviewers: NotRequired[ + list[ + OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse + ] + ] + + class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType( TypedDict ): @@ -108,9 +195,24 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScannin reviewer_type: Literal["TEAM", "ROLE"] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDeleg + atedBypassOptionsPropReviewersItems + """ + + reviewer_id: int + reviewer_type: Literal["TEAM", "ROLE"] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropDependencyGraphAutosubmitActionOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsPropReviewersItemsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyPropSecretScanningDelegatedBypassOptionsTypeForResponse", "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0956.py b/githubkit/versions/v2022_11_28/types/group_0956.py index 2ad011ac8..5ca88da1d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0956.py +++ b/githubkit/versions/v2022_11_28/types/group_0956.py @@ -22,4 +22,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType(TypedDi selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType",) +class OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBody""" + + scope: Literal[ + "all", "all_without_configurations", "public", "private_or_internal", "selected" + ] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdAttachPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0957.py b/githubkit/versions/v2022_11_28/types/group_0957.py index ed69b7f35..edf84cd85 100644 --- a/githubkit/versions/v2022_11_28/types/group_0957.py +++ b/githubkit/versions/v2022_11_28/types/group_0957.py @@ -21,4 +21,17 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType(TypedD ] -__all__ = ("OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType",) +class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBody""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + + +__all__ = ( + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyType", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0958.py b/githubkit/versions/v2022_11_28/types/group_0958.py index 3a65dd886..15f1bf4da 100644 --- a/githubkit/versions/v2022_11_28/types/group_0958.py +++ b/githubkit/versions/v2022_11_28/types/group_0958.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_0028 import CodeSecurityConfigurationType +from .group_0028 import ( + CodeSecurityConfigurationType, + CodeSecurityConfigurationTypeForResponse, +) class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type( @@ -26,6 +29,18 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type configuration: NotRequired[CodeSecurityConfigurationType] +class OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse( + TypedDict +): + """OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200""" + + default_for_new_repos: NotRequired[ + Literal["all", "none", "private_and_internal", "public"] + ] + configuration: NotRequired[CodeSecurityConfigurationTypeForResponse] + + __all__ = ( "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200Type", + "OrgsOrgCodeSecurityConfigurationsConfigurationIdDefaultsPutResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0959.py b/githubkit/versions/v2022_11_28/types/group_0959.py index d5a0d3078..d2c708e70 100644 --- a/githubkit/versions/v2022_11_28/types/group_0959.py +++ b/githubkit/versions/v2022_11_28/types/group_0959.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0102 import CodespaceType +from .group_0102 import CodespaceType, CodespaceTypeForResponse class OrgsOrgCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("OrgsOrgCodespacesGetResponse200Type",) +class OrgsOrgCodespacesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "OrgsOrgCodespacesGetResponse200Type", + "OrgsOrgCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0960.py b/githubkit/versions/v2022_11_28/types/group_0960.py index 1234cdbd0..feb23d832 100644 --- a/githubkit/versions/v2022_11_28/types/group_0960.py +++ b/githubkit/versions/v2022_11_28/types/group_0960.py @@ -25,4 +25,19 @@ class OrgsOrgCodespacesAccessPutBodyType(TypedDict): selected_usernames: NotRequired[list[str]] -__all__ = ("OrgsOrgCodespacesAccessPutBodyType",) +class OrgsOrgCodespacesAccessPutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessPutBody""" + + visibility: Literal[ + "disabled", + "selected_members", + "all_members", + "all_members_and_outside_collaborators", + ] + selected_usernames: NotRequired[list[str]] + + +__all__ = ( + "OrgsOrgCodespacesAccessPutBodyType", + "OrgsOrgCodespacesAccessPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0961.py b/githubkit/versions/v2022_11_28/types/group_0961.py index 214a3ca92..1b8c003f2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0961.py +++ b/githubkit/versions/v2022_11_28/types/group_0961.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesAccessSelectedUsersPostBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCodespacesAccessSelectedUsersPostBodyType",) +class OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessSelectedUsersPostBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCodespacesAccessSelectedUsersPostBodyType", + "OrgsOrgCodespacesAccessSelectedUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0962.py b/githubkit/versions/v2022_11_28/types/group_0962.py index 1aec188b7..5b3e25ab4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0962.py +++ b/githubkit/versions/v2022_11_28/types/group_0962.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType",) +class OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesAccessSelectedUsersDeleteBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyType", + "OrgsOrgCodespacesAccessSelectedUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0963.py b/githubkit/versions/v2022_11_28/types/group_0963.py index b5051f775..443a4002d 100644 --- a/githubkit/versions/v2022_11_28/types/group_0963.py +++ b/githubkit/versions/v2022_11_28/types/group_0963.py @@ -21,6 +21,13 @@ class OrgsOrgCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[CodespacesOrgSecretType] +class OrgsOrgCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[CodespacesOrgSecretTypeForResponse] + + class CodespacesOrgSecretType(TypedDict): """Codespaces Secret @@ -34,7 +41,22 @@ class CodespacesOrgSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class CodespacesOrgSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Secrets for a GitHub Codespace. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "CodespacesOrgSecretType", + "CodespacesOrgSecretTypeForResponse", "OrgsOrgCodespacesSecretsGetResponse200Type", + "OrgsOrgCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0964.py b/githubkit/versions/v2022_11_28/types/group_0964.py index 8eb7cb359..c1b15f2ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_0964.py +++ b/githubkit/versions/v2022_11_28/types/group_0964.py @@ -22,4 +22,16 @@ class OrgsOrgCodespacesSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgCodespacesSecretsSecretNamePutBodyType",) +class OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNamePutBodyType", + "OrgsOrgCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0965.py b/githubkit/versions/v2022_11_28/types/group_0965.py index 9955b2d3a..0f489b544 100644 --- a/githubkit/versions/v2022_11_28/types/group_0965.py +++ b/githubkit/versions/v2022_11_28/types/group_0965.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0966.py b/githubkit/versions/v2022_11_28/types/group_0966.py index 9d6f25331..975c8f5be 100644 --- a/githubkit/versions/v2022_11_28/types/group_0966.py +++ b/githubkit/versions/v2022_11_28/types/group_0966.py @@ -18,4 +18,13 @@ class OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0967.py b/githubkit/versions/v2022_11_28/types/group_0967.py index a2e3b4a72..0083ce170 100644 --- a/githubkit/versions/v2022_11_28/types/group_0967.py +++ b/githubkit/versions/v2022_11_28/types/group_0967.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedTeamsPostBodyType(TypedDict): selected_teams: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsPostBodyType",) +class OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsPostBody""" + + selected_teams: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsPostBodyType", + "OrgsOrgCopilotBillingSelectedTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0968.py b/githubkit/versions/v2022_11_28/types/group_0968.py index 76837fcdc..08b1bfb7b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0968.py +++ b/githubkit/versions/v2022_11_28/types/group_0968.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type(TypedDict): seats_created: int -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type",) +class OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsPostResponse201 + + The total number of seats created for members of the specified team(s). + """ + + seats_created: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201Type", + "OrgsOrgCopilotBillingSelectedTeamsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0969.py b/githubkit/versions/v2022_11_28/types/group_0969.py index dba449159..5dbce311a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0969.py +++ b/githubkit/versions/v2022_11_28/types/group_0969.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType(TypedDict): selected_teams: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType",) +class OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsDeleteBody""" + + selected_teams: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyType", + "OrgsOrgCopilotBillingSelectedTeamsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0970.py b/githubkit/versions/v2022_11_28/types/group_0970.py index 1b12f6a95..1ab46d1b8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0970.py +++ b/githubkit/versions/v2022_11_28/types/group_0970.py @@ -22,4 +22,17 @@ class OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type(TypedDict): seats_cancelled: int -__all__ = ("OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type",) +class OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200 + + The total number of seats set to "pending cancellation" for members of the + specified team(s). + """ + + seats_cancelled: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedTeamsDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0971.py b/githubkit/versions/v2022_11_28/types/group_0971.py index 9a511ba2a..5b19df427 100644 --- a/githubkit/versions/v2022_11_28/types/group_0971.py +++ b/githubkit/versions/v2022_11_28/types/group_0971.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedUsersPostBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedUsersPostBodyType",) +class OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersPostBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersPostBodyType", + "OrgsOrgCopilotBillingSelectedUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0972.py b/githubkit/versions/v2022_11_28/types/group_0972.py index 651754049..b1ca6161a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0972.py +++ b/githubkit/versions/v2022_11_28/types/group_0972.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedUsersPostResponse201Type(TypedDict): seats_created: int -__all__ = ("OrgsOrgCopilotBillingSelectedUsersPostResponse201Type",) +class OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersPostResponse201 + + The total number of seats created for the specified user(s). + """ + + seats_created: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersPostResponse201Type", + "OrgsOrgCopilotBillingSelectedUsersPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0973.py b/githubkit/versions/v2022_11_28/types/group_0973.py index dddfa0789..2f6e1cfcf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0973.py +++ b/githubkit/versions/v2022_11_28/types/group_0973.py @@ -18,4 +18,13 @@ class OrgsOrgCopilotBillingSelectedUsersDeleteBodyType(TypedDict): selected_usernames: list[str] -__all__ = ("OrgsOrgCopilotBillingSelectedUsersDeleteBodyType",) +class OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersDeleteBody""" + + selected_usernames: list[str] + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyType", + "OrgsOrgCopilotBillingSelectedUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0974.py b/githubkit/versions/v2022_11_28/types/group_0974.py index b1510f36c..851eba2f4 100644 --- a/githubkit/versions/v2022_11_28/types/group_0974.py +++ b/githubkit/versions/v2022_11_28/types/group_0974.py @@ -21,4 +21,16 @@ class OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type(TypedDict): seats_cancelled: int -__all__ = ("OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type",) +class OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse(TypedDict): + """OrgsOrgCopilotBillingSelectedUsersDeleteResponse200 + + The total number of seats set to "pending cancellation" for the specified users. + """ + + seats_cancelled: int + + +__all__ = ( + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200Type", + "OrgsOrgCopilotBillingSelectedUsersDeleteResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0975.py b/githubkit/versions/v2022_11_28/types/group_0975.py index fef93ba69..b71d00484 100644 --- a/githubkit/versions/v2022_11_28/types/group_0975.py +++ b/githubkit/versions/v2022_11_28/types/group_0975.py @@ -21,6 +21,13 @@ class OrgsOrgDependabotSecretsGetResponse200Type(TypedDict): secrets: list[OrganizationDependabotSecretType] +class OrgsOrgDependabotSecretsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsGetResponse200""" + + total_count: int + secrets: list[OrganizationDependabotSecretTypeForResponse] + + class OrganizationDependabotSecretType(TypedDict): """Dependabot Secret for an Organization @@ -34,7 +41,22 @@ class OrganizationDependabotSecretType(TypedDict): selected_repositories_url: NotRequired[str] +class OrganizationDependabotSecretTypeForResponse(TypedDict): + """Dependabot Secret for an Organization + + Secrets for GitHub Dependabot for an organization. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: NotRequired[str] + + __all__ = ( "OrganizationDependabotSecretType", + "OrganizationDependabotSecretTypeForResponse", "OrgsOrgDependabotSecretsGetResponse200Type", + "OrgsOrgDependabotSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0976.py b/githubkit/versions/v2022_11_28/types/group_0976.py index 69de6879c..a93d1c156 100644 --- a/githubkit/versions/v2022_11_28/types/group_0976.py +++ b/githubkit/versions/v2022_11_28/types/group_0976.py @@ -22,4 +22,16 @@ class OrgsOrgDependabotSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[Union[int, str]]] -__all__ = ("OrgsOrgDependabotSecretsSecretNamePutBodyType",) +class OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[Union[int, str]]] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNamePutBodyType", + "OrgsOrgDependabotSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0977.py b/githubkit/versions/v2022_11_28/types/group_0977.py index e9de6d3f7..06ab50ee9 100644 --- a/githubkit/versions/v2022_11_28/types/group_0977.py +++ b/githubkit/versions/v2022_11_28/types/group_0977.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type(TypedDict repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type",) +class OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200Type", + "OrgsOrgDependabotSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0978.py b/githubkit/versions/v2022_11_28/types/group_0978.py index 258f8e119..744d19e9a 100644 --- a/githubkit/versions/v2022_11_28/types/group_0978.py +++ b/githubkit/versions/v2022_11_28/types/group_0978.py @@ -18,4 +18,13 @@ class OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType",) +class OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgDependabotSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyType", + "OrgsOrgDependabotSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0979.py b/githubkit/versions/v2022_11_28/types/group_0979.py index e99853b27..ed2d00911 100644 --- a/githubkit/versions/v2022_11_28/types/group_0979.py +++ b/githubkit/versions/v2022_11_28/types/group_0979.py @@ -22,6 +22,15 @@ class OrgsOrgHooksPostBodyType(TypedDict): active: NotRequired[bool] +class OrgsOrgHooksPostBodyTypeForResponse(TypedDict): + """OrgsOrgHooksPostBody""" + + name: str + config: OrgsOrgHooksPostBodyPropConfigTypeForResponse + events: NotRequired[list[str]] + active: NotRequired[bool] + + class OrgsOrgHooksPostBodyPropConfigType(TypedDict): """OrgsOrgHooksPostBodyPropConfig @@ -36,7 +45,23 @@ class OrgsOrgHooksPostBodyPropConfigType(TypedDict): password: NotRequired[str] +class OrgsOrgHooksPostBodyPropConfigTypeForResponse(TypedDict): + """OrgsOrgHooksPostBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: str + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + username: NotRequired[str] + password: NotRequired[str] + + __all__ = ( "OrgsOrgHooksPostBodyPropConfigType", + "OrgsOrgHooksPostBodyPropConfigTypeForResponse", "OrgsOrgHooksPostBodyType", + "OrgsOrgHooksPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0980.py b/githubkit/versions/v2022_11_28/types/group_0980.py index 19cc5034f..3b187a858 100644 --- a/githubkit/versions/v2022_11_28/types/group_0980.py +++ b/githubkit/versions/v2022_11_28/types/group_0980.py @@ -22,6 +22,15 @@ class OrgsOrgHooksHookIdPatchBodyType(TypedDict): name: NotRequired[str] +class OrgsOrgHooksHookIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdPatchBody""" + + config: NotRequired[OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse] + events: NotRequired[list[str]] + active: NotRequired[bool] + name: NotRequired[str] + + class OrgsOrgHooksHookIdPatchBodyPropConfigType(TypedDict): """OrgsOrgHooksHookIdPatchBodyPropConfig @@ -34,7 +43,21 @@ class OrgsOrgHooksHookIdPatchBodyPropConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] +class OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdPatchBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: str + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + __all__ = ( "OrgsOrgHooksHookIdPatchBodyPropConfigType", + "OrgsOrgHooksHookIdPatchBodyPropConfigTypeForResponse", "OrgsOrgHooksHookIdPatchBodyType", + "OrgsOrgHooksHookIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0981.py b/githubkit/versions/v2022_11_28/types/group_0981.py index 6399b7a4c..9b9b267ed 100644 --- a/githubkit/versions/v2022_11_28/types/group_0981.py +++ b/githubkit/versions/v2022_11_28/types/group_0981.py @@ -22,4 +22,16 @@ class OrgsOrgHooksHookIdConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("OrgsOrgHooksHookIdConfigPatchBodyType",) +class OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse(TypedDict): + """OrgsOrgHooksHookIdConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "OrgsOrgHooksHookIdConfigPatchBodyType", + "OrgsOrgHooksHookIdConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0982.py b/githubkit/versions/v2022_11_28/types/group_0982.py index 54372b1e4..3703dfc47 100644 --- a/githubkit/versions/v2022_11_28/types/group_0982.py +++ b/githubkit/versions/v2022_11_28/types/group_0982.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0018 import InstallationType +from .group_0018 import InstallationType, InstallationTypeForResponse class OrgsOrgInstallationsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgInstallationsGetResponse200Type(TypedDict): installations: list[InstallationType] -__all__ = ("OrgsOrgInstallationsGetResponse200Type",) +class OrgsOrgInstallationsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgInstallationsGetResponse200""" + + total_count: int + installations: list[InstallationTypeForResponse] + + +__all__ = ( + "OrgsOrgInstallationsGetResponse200Type", + "OrgsOrgInstallationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0983.py b/githubkit/versions/v2022_11_28/types/group_0983.py index 5916d7d10..6aae5eec8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0983.py +++ b/githubkit/versions/v2022_11_28/types/group_0983.py @@ -16,4 +16,11 @@ class OrgsOrgInteractionLimitsGetResponse200Anyof1Type(TypedDict): """OrgsOrgInteractionLimitsGetResponse200Anyof1""" -__all__ = ("OrgsOrgInteractionLimitsGetResponse200Anyof1Type",) +class OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """OrgsOrgInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "OrgsOrgInteractionLimitsGetResponse200Anyof1Type", + "OrgsOrgInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0984.py b/githubkit/versions/v2022_11_28/types/group_0984.py index 2184fe8a4..2ae78f285 100644 --- a/githubkit/versions/v2022_11_28/types/group_0984.py +++ b/githubkit/versions/v2022_11_28/types/group_0984.py @@ -22,4 +22,16 @@ class OrgsOrgInvitationsPostBodyType(TypedDict): team_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgInvitationsPostBodyType",) +class OrgsOrgInvitationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgInvitationsPostBody""" + + invitee_id: NotRequired[int] + email: NotRequired[str] + role: NotRequired[Literal["admin", "direct_member", "billing_manager", "reinstate"]] + team_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgInvitationsPostBodyType", + "OrgsOrgInvitationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0985.py b/githubkit/versions/v2022_11_28/types/group_0985.py index 06221902a..895d45a54 100644 --- a/githubkit/versions/v2022_11_28/types/group_0985.py +++ b/githubkit/versions/v2022_11_28/types/group_0985.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0102 import CodespaceType +from .group_0102 import CodespaceType, CodespaceTypeForResponse class OrgsOrgMembersUsernameCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgMembersUsernameCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("OrgsOrgMembersUsernameCodespacesGetResponse200Type",) +class OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgMembersUsernameCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "OrgsOrgMembersUsernameCodespacesGetResponse200Type", + "OrgsOrgMembersUsernameCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0986.py b/githubkit/versions/v2022_11_28/types/group_0986.py index 78a34c5ed..112bc7e07 100644 --- a/githubkit/versions/v2022_11_28/types/group_0986.py +++ b/githubkit/versions/v2022_11_28/types/group_0986.py @@ -19,4 +19,13 @@ class OrgsOrgMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["admin", "member"]] -__all__ = ("OrgsOrgMembershipsUsernamePutBodyType",) +class OrgsOrgMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgMembershipsUsernamePutBody""" + + role: NotRequired[Literal["admin", "member"]] + + +__all__ = ( + "OrgsOrgMembershipsUsernamePutBodyType", + "OrgsOrgMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0987.py b/githubkit/versions/v2022_11_28/types/group_0987.py index 242ce3795..51f56fc1c 100644 --- a/githubkit/versions/v2022_11_28/types/group_0987.py +++ b/githubkit/versions/v2022_11_28/types/group_0987.py @@ -27,4 +27,21 @@ class OrgsOrgMigrationsPostBodyType(TypedDict): exclude: NotRequired[list[Literal["repositories"]]] -__all__ = ("OrgsOrgMigrationsPostBodyType",) +class OrgsOrgMigrationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgMigrationsPostBody""" + + repositories: list[str] + lock_repositories: NotRequired[bool] + exclude_metadata: NotRequired[bool] + exclude_git_data: NotRequired[bool] + exclude_attachments: NotRequired[bool] + exclude_releases: NotRequired[bool] + exclude_owner_projects: NotRequired[bool] + org_metadata_only: NotRequired[bool] + exclude: NotRequired[list[Literal["repositories"]]] + + +__all__ = ( + "OrgsOrgMigrationsPostBodyType", + "OrgsOrgMigrationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0988.py b/githubkit/versions/v2022_11_28/types/group_0988.py index b7593464f..27e8a452e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0988.py +++ b/githubkit/versions/v2022_11_28/types/group_0988.py @@ -18,4 +18,13 @@ class OrgsOrgOutsideCollaboratorsUsernamePutBodyType(TypedDict): async_: NotRequired[bool] -__all__ = ("OrgsOrgOutsideCollaboratorsUsernamePutBodyType",) +class OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernamePutBody""" + + async_: NotRequired[bool] + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernamePutBodyType", + "OrgsOrgOutsideCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0989.py b/githubkit/versions/v2022_11_28/types/group_0989.py index 5de4170f2..b1ddca89b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0989.py +++ b/githubkit/versions/v2022_11_28/types/group_0989.py @@ -16,4 +16,11 @@ class OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type(TypedDict): """OrgsOrgOutsideCollaboratorsUsernamePutResponse202""" -__all__ = ("OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type",) +class OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernamePutResponse202""" + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202Type", + "OrgsOrgOutsideCollaboratorsUsernamePutResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0990.py b/githubkit/versions/v2022_11_28/types/group_0990.py index f43c7d76b..2ab6c4a5b 100644 --- a/githubkit/versions/v2022_11_28/types/group_0990.py +++ b/githubkit/versions/v2022_11_28/types/group_0990.py @@ -19,4 +19,14 @@ class OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type",) +class OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse(TypedDict): + """OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422Type", + "OrgsOrgOutsideCollaboratorsUsernameDeleteResponse422TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0991.py b/githubkit/versions/v2022_11_28/types/group_0991.py index a99cad652..dee8c80a8 100644 --- a/githubkit/versions/v2022_11_28/types/group_0991.py +++ b/githubkit/versions/v2022_11_28/types/group_0991.py @@ -21,4 +21,15 @@ class OrgsOrgPersonalAccessTokenRequestsPostBodyType(TypedDict): reason: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgPersonalAccessTokenRequestsPostBodyType",) +class OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokenRequestsPostBody""" + + pat_request_ids: NotRequired[list[int]] + action: Literal["approve", "deny"] + reason: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgPersonalAccessTokenRequestsPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0992.py b/githubkit/versions/v2022_11_28/types/group_0992.py index f08e02365..48933f048 100644 --- a/githubkit/versions/v2022_11_28/types/group_0992.py +++ b/githubkit/versions/v2022_11_28/types/group_0992.py @@ -20,4 +20,14 @@ class OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType(TypedDict): reason: NotRequired[Union[str, None]] -__all__ = ("OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType",) +class OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBody""" + + action: Literal["approve", "deny"] + reason: NotRequired[Union[str, None]] + + +__all__ = ( + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyType", + "OrgsOrgPersonalAccessTokenRequestsPatRequestIdPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0993.py b/githubkit/versions/v2022_11_28/types/group_0993.py index b2f0b1907..d8b05de82 100644 --- a/githubkit/versions/v2022_11_28/types/group_0993.py +++ b/githubkit/versions/v2022_11_28/types/group_0993.py @@ -20,4 +20,14 @@ class OrgsOrgPersonalAccessTokensPostBodyType(TypedDict): pat_ids: list[int] -__all__ = ("OrgsOrgPersonalAccessTokensPostBodyType",) +class OrgsOrgPersonalAccessTokensPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokensPostBody""" + + action: Literal["revoke"] + pat_ids: list[int] + + +__all__ = ( + "OrgsOrgPersonalAccessTokensPostBodyType", + "OrgsOrgPersonalAccessTokensPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0994.py b/githubkit/versions/v2022_11_28/types/group_0994.py index 32c37cd97..59a9dddbf 100644 --- a/githubkit/versions/v2022_11_28/types/group_0994.py +++ b/githubkit/versions/v2022_11_28/types/group_0994.py @@ -19,4 +19,13 @@ class OrgsOrgPersonalAccessTokensPatIdPostBodyType(TypedDict): action: Literal["revoke"] -__all__ = ("OrgsOrgPersonalAccessTokensPatIdPostBodyType",) +class OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse(TypedDict): + """OrgsOrgPersonalAccessTokensPatIdPostBody""" + + action: Literal["revoke"] + + +__all__ = ( + "OrgsOrgPersonalAccessTokensPatIdPostBodyType", + "OrgsOrgPersonalAccessTokensPatIdPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0995.py b/githubkit/versions/v2022_11_28/types/group_0995.py index 6ca9d5b46..e41c56dc1 100644 --- a/githubkit/versions/v2022_11_28/types/group_0995.py +++ b/githubkit/versions/v2022_11_28/types/group_0995.py @@ -21,6 +21,13 @@ class OrgsOrgPrivateRegistriesGetResponse200Type(TypedDict): configurations: list[OrgPrivateRegistryConfigurationType] +class OrgsOrgPrivateRegistriesGetResponse200TypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesGetResponse200""" + + total_count: int + configurations: list[OrgPrivateRegistryConfigurationTypeForResponse] + + class OrgPrivateRegistryConfigurationType(TypedDict): """Organization private registry @@ -53,7 +60,41 @@ class OrgPrivateRegistryConfigurationType(TypedDict): updated_at: datetime +class OrgPrivateRegistryConfigurationTypeForResponse(TypedDict): + """Organization private registry + + Private registry configuration for an organization + """ + + name: str + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: NotRequired[str] + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + visibility: Literal["all", "private", "selected"] + created_at: str + updated_at: str + + __all__ = ( "OrgPrivateRegistryConfigurationType", + "OrgPrivateRegistryConfigurationTypeForResponse", "OrgsOrgPrivateRegistriesGetResponse200Type", + "OrgsOrgPrivateRegistriesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_0996.py b/githubkit/versions/v2022_11_28/types/group_0996.py index b400b227d..3903ef0c2 100644 --- a/githubkit/versions/v2022_11_28/types/group_0996.py +++ b/githubkit/versions/v2022_11_28/types/group_0996.py @@ -42,4 +42,36 @@ class OrgsOrgPrivateRegistriesPostBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgPrivateRegistriesPostBodyType",) +class OrgsOrgPrivateRegistriesPostBodyTypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesPostBody""" + + registry_type: Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + url: str + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + encrypted_value: str + key_id: str + visibility: Literal["all", "private", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgPrivateRegistriesPostBodyType", + "OrgsOrgPrivateRegistriesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0997.py b/githubkit/versions/v2022_11_28/types/group_0997.py index 95dc5e190..044c83e7e 100644 --- a/githubkit/versions/v2022_11_28/types/group_0997.py +++ b/githubkit/versions/v2022_11_28/types/group_0997.py @@ -19,4 +19,14 @@ class OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type(TypedDict): key: str -__all__ = ("OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type",) +class OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesPublicKeyGetResponse200""" + + key_id: str + key: str + + +__all__ = ( + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200Type", + "OrgsOrgPrivateRegistriesPublicKeyGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0998.py b/githubkit/versions/v2022_11_28/types/group_0998.py index e073ea2fe..3c38dc098 100644 --- a/githubkit/versions/v2022_11_28/types/group_0998.py +++ b/githubkit/versions/v2022_11_28/types/group_0998.py @@ -44,4 +44,38 @@ class OrgsOrgPrivateRegistriesSecretNamePatchBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgPrivateRegistriesSecretNamePatchBodyType",) +class OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse(TypedDict): + """OrgsOrgPrivateRegistriesSecretNamePatchBody""" + + registry_type: NotRequired[ + Literal[ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry", + ] + ] + url: NotRequired[str] + username: NotRequired[Union[str, None]] + replaces_base: NotRequired[bool] + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + visibility: NotRequired[Literal["all", "private", "selected"]] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgPrivateRegistriesSecretNamePatchBodyType", + "OrgsOrgPrivateRegistriesSecretNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_0999.py b/githubkit/versions/v2022_11_28/types/group_0999.py index 5c7a22a26..c95e092d0 100644 --- a/githubkit/versions/v2022_11_28/types/group_0999.py +++ b/githubkit/versions/v2022_11_28/types/group_0999.py @@ -19,4 +19,14 @@ class OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType(TypedDict): body: NotRequired[str] -__all__ = ("OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType",) +class OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberDraftsPostBody""" + + title: str + body: NotRequired[str] + + +__all__ = ( + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberDraftsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1000.py b/githubkit/versions/v2022_11_28/types/group_1000.py index ae40f77c8..6aca13337 100644 --- a/githubkit/versions/v2022_11_28/types/group_1000.py +++ b/githubkit/versions/v2022_11_28/types/group_1000.py @@ -20,4 +20,14 @@ class OrgsOrgProjectsV2ProjectNumberItemsPostBodyType(TypedDict): id: int -__all__ = ("OrgsOrgProjectsV2ProjectNumberItemsPostBodyType",) +class OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberItemsPostBody""" + + type: Literal["Issue", "PullRequest"] + id: int + + +__all__ = ( + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1001.py b/githubkit/versions/v2022_11_28/types/group_1001.py index a4a6a9724..41096c2f8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1001.py +++ b/githubkit/versions/v2022_11_28/types/group_1001.py @@ -19,6 +19,14 @@ class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType(TypedDict): fields: list[OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType] +class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse(TypedDict): + """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBody""" + + fields: list[ + OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse + ] + + class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType(TypedDict): """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" @@ -26,7 +34,18 @@ class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType(Type value: Union[str, float, None] +class OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse( + TypedDict +): + """OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" + + id: int + value: Union[str, float, None] + + __all__ = ( "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "OrgsOrgProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1002.py b/githubkit/versions/v2022_11_28/types/group_1002.py index 716bad32a..337c23491 100644 --- a/githubkit/versions/v2022_11_28/types/group_1002.py +++ b/githubkit/versions/v2022_11_28/types/group_1002.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0140 import CustomPropertyType +from .group_0140 import CustomPropertyType, CustomPropertyTypeForResponse class OrgsOrgPropertiesSchemaPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class OrgsOrgPropertiesSchemaPatchBodyType(TypedDict): properties: list[CustomPropertyType] -__all__ = ("OrgsOrgPropertiesSchemaPatchBodyType",) +class OrgsOrgPropertiesSchemaPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPropertiesSchemaPatchBody""" + + properties: list[CustomPropertyTypeForResponse] + + +__all__ = ( + "OrgsOrgPropertiesSchemaPatchBodyType", + "OrgsOrgPropertiesSchemaPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1003.py b/githubkit/versions/v2022_11_28/types/group_1003.py index 0ea349ba3..99237db89 100644 --- a/githubkit/versions/v2022_11_28/types/group_1003.py +++ b/githubkit/versions/v2022_11_28/types/group_1003.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0065 import CustomPropertyValueType +from .group_0065 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class OrgsOrgPropertiesValuesPatchBodyType(TypedDict): @@ -21,4 +21,14 @@ class OrgsOrgPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("OrgsOrgPropertiesValuesPatchBodyType",) +class OrgsOrgPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """OrgsOrgPropertiesValuesPatchBody""" + + repository_names: list[str] + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "OrgsOrgPropertiesValuesPatchBodyType", + "OrgsOrgPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1004.py b/githubkit/versions/v2022_11_28/types/group_1004.py index 5e584bb70..106e58c0e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1004.py +++ b/githubkit/versions/v2022_11_28/types/group_1004.py @@ -45,6 +45,40 @@ class OrgsOrgReposPostBodyType(TypedDict): custom_properties: NotRequired[OrgsOrgReposPostBodyPropCustomPropertiesType] +class OrgsOrgReposPostBodyTypeForResponse(TypedDict): + """OrgsOrgReposPostBody""" + + name: str + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + visibility: NotRequired[Literal["public", "private"]] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_downloads: NotRequired[bool] + is_template: NotRequired[bool] + team_id: NotRequired[int] + auto_init: NotRequired[bool] + gitignore_template: NotRequired[str] + license_template: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + custom_properties: NotRequired[ + OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse + ] + + OrgsOrgReposPostBodyPropCustomPropertiesType: TypeAlias = dict[str, Any] """OrgsOrgReposPostBodyPropCustomProperties @@ -53,7 +87,17 @@ class OrgsOrgReposPostBodyType(TypedDict): """ +OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse: TypeAlias = dict[str, Any] +"""OrgsOrgReposPostBodyPropCustomProperties + +The custom properties for the new repository. The keys are the custom property +names, and the values are the corresponding custom property values. +""" + + __all__ = ( "OrgsOrgReposPostBodyPropCustomPropertiesType", + "OrgsOrgReposPostBodyPropCustomPropertiesTypeForResponse", "OrgsOrgReposPostBodyType", + "OrgsOrgReposPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1005.py b/githubkit/versions/v2022_11_28/types/group_1005.py index 089fce9c1..1dbb95f10 100644 --- a/githubkit/versions/v2022_11_28/types/group_1005.py +++ b/githubkit/versions/v2022_11_28/types/group_1005.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0145 import RepositoryRulesetBypassActorType -from .group_0154 import OrgRulesetConditionsOneof0Type -from .group_0155 import OrgRulesetConditionsOneof1Type -from .group_0156 import OrgRulesetConditionsOneof2Type +from .group_0145 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0154 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0155 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0156 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, +) from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType class OrgsOrgRulesetsPostBodyType(TypedDict): @@ -82,4 +143,49 @@ class OrgsOrgRulesetsPostBodyType(TypedDict): ] -__all__ = ("OrgsOrgRulesetsPostBodyType",) +class OrgsOrgRulesetsPostBodyTypeForResponse(TypedDict): + """OrgsOrgRulesetsPostBody""" + + name: str + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "OrgsOrgRulesetsPostBodyType", + "OrgsOrgRulesetsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1006.py b/githubkit/versions/v2022_11_28/types/group_1006.py index a722d0ee2..34126f62c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1006.py +++ b/githubkit/versions/v2022_11_28/types/group_1006.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0145 import RepositoryRulesetBypassActorType -from .group_0154 import OrgRulesetConditionsOneof0Type -from .group_0155 import OrgRulesetConditionsOneof1Type -from .group_0156 import OrgRulesetConditionsOneof2Type +from .group_0145 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0154 import ( + OrgRulesetConditionsOneof0Type, + OrgRulesetConditionsOneof0TypeForResponse, +) +from .group_0155 import ( + OrgRulesetConditionsOneof1Type, + OrgRulesetConditionsOneof1TypeForResponse, +) +from .group_0156 import ( + OrgRulesetConditionsOneof2Type, + OrgRulesetConditionsOneof2TypeForResponse, +) from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType class OrgsOrgRulesetsRulesetIdPutBodyType(TypedDict): @@ -82,4 +143,49 @@ class OrgsOrgRulesetsRulesetIdPutBodyType(TypedDict): ] -__all__ = ("OrgsOrgRulesetsRulesetIdPutBodyType",) +class OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse(TypedDict): + """OrgsOrgRulesetsRulesetIdPutBody""" + + name: NotRequired[str] + target: NotRequired[Literal["branch", "tag", "push", "repository"]] + enforcement: NotRequired[Literal["disabled", "active", "evaluate"]] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[ + Union[ + OrgRulesetConditionsOneof0TypeForResponse, + OrgRulesetConditionsOneof1TypeForResponse, + OrgRulesetConditionsOneof2TypeForResponse, + ] + ] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + ] + ] + ] + + +__all__ = ( + "OrgsOrgRulesetsRulesetIdPutBodyType", + "OrgsOrgRulesetsRulesetIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1007.py b/githubkit/versions/v2022_11_28/types/group_1007.py index 63569cff1..69dc69e33 100644 --- a/githubkit/versions/v2022_11_28/types/group_1007.py +++ b/githubkit/versions/v2022_11_28/types/group_1007.py @@ -29,6 +29,22 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyType(TypedDict): ] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse(TypedDict): + """OrgsOrgSecretScanningPatternConfigurationsPatchBody""" + + pattern_config_version: NotRequired[Union[str, None]] + provider_pattern_settings: NotRequired[ + list[ + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse + ] + ] + custom_pattern_settings: NotRequired[ + list[ + OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse + ] + ] + + class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType( TypedDict ): @@ -40,6 +56,17 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSett push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsIt + ems + """ + + token_type: NotRequired[str] + push_protection_setting: NotRequired[Literal["not-set", "disabled", "enabled"]] + + class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType( TypedDict ): @@ -52,8 +79,23 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettin push_protection_setting: NotRequired[Literal["disabled", "enabled"]] +class OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItem + s + """ + + token_type: NotRequired[str] + custom_pattern_version: NotRequired[Union[str, None]] + push_protection_setting: NotRequired[Literal["disabled", "enabled"]] + + __all__ = ( "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropCustomPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyPropProviderPatternSettingsItemsTypeForResponse", "OrgsOrgSecretScanningPatternConfigurationsPatchBodyType", + "OrgsOrgSecretScanningPatternConfigurationsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1008.py b/githubkit/versions/v2022_11_28/types/group_1008.py index 25cb0717f..3274cb873 100644 --- a/githubkit/versions/v2022_11_28/types/group_1008.py +++ b/githubkit/versions/v2022_11_28/types/group_1008.py @@ -18,4 +18,15 @@ class OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type(TypedDict): pattern_config_version: NotRequired[str] -__all__ = ("OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type",) +class OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse( + TypedDict +): + """OrgsOrgSecretScanningPatternConfigurationsPatchResponse200""" + + pattern_config_version: NotRequired[str] + + +__all__ = ( + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200Type", + "OrgsOrgSecretScanningPatternConfigurationsPatchResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1009.py b/githubkit/versions/v2022_11_28/types/group_1009.py index 8134abf09..173046427 100644 --- a/githubkit/versions/v2022_11_28/types/group_1009.py +++ b/githubkit/versions/v2022_11_28/types/group_1009.py @@ -20,4 +20,14 @@ class OrgsOrgSettingsImmutableReleasesPutBodyType(TypedDict): selected_repository_ids: NotRequired[list[int]] -__all__ = ("OrgsOrgSettingsImmutableReleasesPutBodyType",) +class OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsImmutableReleasesPutBody""" + + enforced_repositories: Literal["all", "none", "selected"] + selected_repository_ids: NotRequired[list[int]] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesPutBodyType", + "OrgsOrgSettingsImmutableReleasesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1010.py b/githubkit/versions/v2022_11_28/types/group_1010.py index de21d8033..6f1fa38ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_1010.py +++ b/githubkit/versions/v2022_11_28/types/group_1010.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type",) +class OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200Type", + "OrgsOrgSettingsImmutableReleasesRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1011.py b/githubkit/versions/v2022_11_28/types/group_1011.py index e5ce5d214..4504d2098 100644 --- a/githubkit/versions/v2022_11_28/types/group_1011.py +++ b/githubkit/versions/v2022_11_28/types/group_1011.py @@ -18,4 +18,13 @@ class OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType",) +class OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsImmutableReleasesRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyType", + "OrgsOrgSettingsImmutableReleasesRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1012.py b/githubkit/versions/v2022_11_28/types/group_1012.py index 56c40e834..aa3383281 100644 --- a/githubkit/versions/v2022_11_28/types/group_1012.py +++ b/githubkit/versions/v2022_11_28/types/group_1012.py @@ -21,6 +21,13 @@ class OrgsOrgSettingsNetworkConfigurationsGetResponse200Type(TypedDict): network_configurations: list[NetworkConfigurationType] +class OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse(TypedDict): + """OrgsOrgSettingsNetworkConfigurationsGetResponse200""" + + total_count: int + network_configurations: list[NetworkConfigurationTypeForResponse] + + class NetworkConfigurationType(TypedDict): """Hosted compute network configuration @@ -34,7 +41,22 @@ class NetworkConfigurationType(TypedDict): created_on: Union[datetime, None] +class NetworkConfigurationTypeForResponse(TypedDict): + """Hosted compute network configuration + + A hosted compute network configuration. + """ + + id: str + name: str + compute_service: NotRequired[Literal["none", "actions", "codespaces"]] + network_settings_ids: NotRequired[list[str]] + created_on: Union[str, None] + + __all__ = ( "NetworkConfigurationType", + "NetworkConfigurationTypeForResponse", "OrgsOrgSettingsNetworkConfigurationsGetResponse200Type", + "OrgsOrgSettingsNetworkConfigurationsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1013.py b/githubkit/versions/v2022_11_28/types/group_1013.py index c29f59c8e..2ff3e6648 100644 --- a/githubkit/versions/v2022_11_28/types/group_1013.py +++ b/githubkit/versions/v2022_11_28/types/group_1013.py @@ -21,4 +21,15 @@ class OrgsOrgSettingsNetworkConfigurationsPostBodyType(TypedDict): network_settings_ids: list[str] -__all__ = ("OrgsOrgSettingsNetworkConfigurationsPostBodyType",) +class OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse(TypedDict): + """OrgsOrgSettingsNetworkConfigurationsPostBody""" + + name: str + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: list[str] + + +__all__ = ( + "OrgsOrgSettingsNetworkConfigurationsPostBodyType", + "OrgsOrgSettingsNetworkConfigurationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1014.py b/githubkit/versions/v2022_11_28/types/group_1014.py index cf5c73d09..f45c86707 100644 --- a/githubkit/versions/v2022_11_28/types/group_1014.py +++ b/githubkit/versions/v2022_11_28/types/group_1014.py @@ -23,4 +23,17 @@ class OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType( network_settings_ids: NotRequired[list[str]] -__all__ = ("OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType",) +class OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBody""" + + name: NotRequired[str] + compute_service: NotRequired[Literal["none", "actions"]] + network_settings_ids: NotRequired[list[str]] + + +__all__ = ( + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyType", + "OrgsOrgSettingsNetworkConfigurationsNetworkConfigurationIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1015.py b/githubkit/versions/v2022_11_28/types/group_1015.py index ccfb358e6..584d40d47 100644 --- a/githubkit/versions/v2022_11_28/types/group_1015.py +++ b/githubkit/versions/v2022_11_28/types/group_1015.py @@ -28,4 +28,22 @@ class OrgsOrgTeamsPostBodyType(TypedDict): parent_team_id: NotRequired[int] -__all__ = ("OrgsOrgTeamsPostBodyType",) +class OrgsOrgTeamsPostBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsPostBody""" + + name: str + description: NotRequired[str] + maintainers: NotRequired[list[str]] + repo_names: NotRequired[list[str]] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push"]] + parent_team_id: NotRequired[int] + + +__all__ = ( + "OrgsOrgTeamsPostBodyType", + "OrgsOrgTeamsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1016.py b/githubkit/versions/v2022_11_28/types/group_1016.py index c08c152bc..878878733 100644 --- a/githubkit/versions/v2022_11_28/types/group_1016.py +++ b/githubkit/versions/v2022_11_28/types/group_1016.py @@ -26,4 +26,20 @@ class OrgsOrgTeamsTeamSlugPatchBodyType(TypedDict): parent_team_id: NotRequired[Union[int, None]] -__all__ = ("OrgsOrgTeamsTeamSlugPatchBodyType",) +class OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push", "admin"]] + parent_team_id: NotRequired[Union[int, None]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugPatchBodyType", + "OrgsOrgTeamsTeamSlugPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1017.py b/githubkit/versions/v2022_11_28/types/group_1017.py index cb961efbb..463e55778 100644 --- a/githubkit/versions/v2022_11_28/types/group_1017.py +++ b/githubkit/versions/v2022_11_28/types/group_1017.py @@ -20,4 +20,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugDiscussionsPostBody""" + + title: str + body: str + private: NotRequired[bool] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1018.py b/githubkit/versions/v2022_11_28/types/group_1018.py index db3011d85..f38c82d2d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1018.py +++ b/githubkit/versions/v2022_11_28/types/group_1018.py @@ -19,4 +19,16 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType(TypedDict): body: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1019.py b/githubkit/versions/v2022_11_28/types/group_1019.py index a05290583..4e30fb0b8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1019.py +++ b/githubkit/versions/v2022_11_28/types/group_1019.py @@ -18,4 +18,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType(TypedD body: str -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1020.py b/githubkit/versions/v2022_11_28/types/group_1020.py index a6b974137..4778adf1e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1020.py +++ b/githubkit/versions/v2022_11_28/types/group_1020.py @@ -20,6 +20,15 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchB body: str +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBody""" + + body: str + + __all__ = ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1021.py b/githubkit/versions/v2022_11_28/types/group_1021.py index 937b98f91..0197bb878 100644 --- a/githubkit/versions/v2022_11_28/types/group_1021.py +++ b/githubkit/versions/v2022_11_28/types/group_1021.py @@ -25,6 +25,19 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReacti ] +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPos + tBody + """ + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + __all__ = ( "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1022.py b/githubkit/versions/v2022_11_28/types/group_1022.py index c71526f64..961ebbba5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1022.py +++ b/githubkit/versions/v2022_11_28/types/group_1022.py @@ -21,4 +21,17 @@ class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType(Typed ] -__all__ = ("OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType",) +class OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyType", + "OrgsOrgTeamsTeamSlugDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1023.py b/githubkit/versions/v2022_11_28/types/group_1023.py index b4d610e84..5a75c2f8c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1023.py +++ b/githubkit/versions/v2022_11_28/types/group_1023.py @@ -19,4 +19,13 @@ class OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["member", "maintainer"]] -__all__ = ("OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType",) +class OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugMembershipsUsernamePutBody""" + + role: NotRequired[Literal["member", "maintainer"]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyType", + "OrgsOrgTeamsTeamSlugMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1024.py b/githubkit/versions/v2022_11_28/types/group_1024.py index 8466dce90..66fa7dd06 100644 --- a/githubkit/versions/v2022_11_28/types/group_1024.py +++ b/githubkit/versions/v2022_11_28/types/group_1024.py @@ -19,4 +19,13 @@ class OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType",) +class OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugProjectsProjectIdPutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyType", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1025.py b/githubkit/versions/v2022_11_28/types/group_1025.py index a637157e4..309223fc2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1025.py +++ b/githubkit/versions/v2022_11_28/types/group_1025.py @@ -19,4 +19,14 @@ class OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type",) +class OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403Type", + "OrgsOrgTeamsTeamSlugProjectsProjectIdPutResponse403TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1026.py b/githubkit/versions/v2022_11_28/types/group_1026.py index b42f638ac..c9986095d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1026.py +++ b/githubkit/versions/v2022_11_28/types/group_1026.py @@ -18,4 +18,13 @@ class OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType(TypedDict): permission: NotRequired[str] -__all__ = ("OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType",) +class OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse(TypedDict): + """OrgsOrgTeamsTeamSlugReposOwnerRepoPutBody""" + + permission: NotRequired[str] + + +__all__ = ( + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyType", + "OrgsOrgTeamsTeamSlugReposOwnerRepoPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1027.py b/githubkit/versions/v2022_11_28/types/group_1027.py index edc438335..b88d52912 100644 --- a/githubkit/versions/v2022_11_28/types/group_1027.py +++ b/githubkit/versions/v2022_11_28/types/group_1027.py @@ -19,4 +19,13 @@ class OrgsOrgSecurityProductEnablementPostBodyType(TypedDict): query_suite: NotRequired[Literal["default", "extended"]] -__all__ = ("OrgsOrgSecurityProductEnablementPostBodyType",) +class OrgsOrgSecurityProductEnablementPostBodyTypeForResponse(TypedDict): + """OrgsOrgSecurityProductEnablementPostBody""" + + query_suite: NotRequired[Literal["default", "extended"]] + + +__all__ = ( + "OrgsOrgSecurityProductEnablementPostBodyType", + "OrgsOrgSecurityProductEnablementPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1028.py b/githubkit/versions/v2022_11_28/types/group_1028.py index 62ebaaaef..fc46d6493 100644 --- a/githubkit/versions/v2022_11_28/types/group_1028.py +++ b/githubkit/versions/v2022_11_28/types/group_1028.py @@ -18,4 +18,13 @@ class ProjectsColumnsColumnIdPatchBodyType(TypedDict): name: str -__all__ = ("ProjectsColumnsColumnIdPatchBodyType",) +class ProjectsColumnsColumnIdPatchBodyTypeForResponse(TypedDict): + """ProjectsColumnsColumnIdPatchBody""" + + name: str + + +__all__ = ( + "ProjectsColumnsColumnIdPatchBodyType", + "ProjectsColumnsColumnIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1029.py b/githubkit/versions/v2022_11_28/types/group_1029.py index 1eee63273..2f65ad993 100644 --- a/githubkit/versions/v2022_11_28/types/group_1029.py +++ b/githubkit/versions/v2022_11_28/types/group_1029.py @@ -18,4 +18,13 @@ class ProjectsColumnsColumnIdMovesPostBodyType(TypedDict): position: str -__all__ = ("ProjectsColumnsColumnIdMovesPostBodyType",) +class ProjectsColumnsColumnIdMovesPostBodyTypeForResponse(TypedDict): + """ProjectsColumnsColumnIdMovesPostBody""" + + position: str + + +__all__ = ( + "ProjectsColumnsColumnIdMovesPostBodyType", + "ProjectsColumnsColumnIdMovesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1030.py b/githubkit/versions/v2022_11_28/types/group_1030.py index 7df563c61..02dc09ec5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1030.py +++ b/githubkit/versions/v2022_11_28/types/group_1030.py @@ -16,4 +16,11 @@ class ProjectsColumnsColumnIdMovesPostResponse201Type(TypedDict): """ProjectsColumnsColumnIdMovesPostResponse201""" -__all__ = ("ProjectsColumnsColumnIdMovesPostResponse201Type",) +class ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse(TypedDict): + """ProjectsColumnsColumnIdMovesPostResponse201""" + + +__all__ = ( + "ProjectsColumnsColumnIdMovesPostResponse201Type", + "ProjectsColumnsColumnIdMovesPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1031.py b/githubkit/versions/v2022_11_28/types/group_1031.py index e3cd89b33..497ce1dea 100644 --- a/githubkit/versions/v2022_11_28/types/group_1031.py +++ b/githubkit/versions/v2022_11_28/types/group_1031.py @@ -19,4 +19,13 @@ class ProjectsProjectIdCollaboratorsUsernamePutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("ProjectsProjectIdCollaboratorsUsernamePutBodyType",) +class ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """ProjectsProjectIdCollaboratorsUsernamePutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "ProjectsProjectIdCollaboratorsUsernamePutBodyType", + "ProjectsProjectIdCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1032.py b/githubkit/versions/v2022_11_28/types/group_1032.py index a7224c5e8..f6951386d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1032.py +++ b/githubkit/versions/v2022_11_28/types/group_1032.py @@ -19,4 +19,14 @@ class ReposOwnerRepoDeleteResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoDeleteResponse403Type",) +class ReposOwnerRepoDeleteResponse403TypeForResponse(TypedDict): + """ReposOwnerRepoDeleteResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDeleteResponse403Type", + "ReposOwnerRepoDeleteResponse403TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1033.py b/githubkit/versions/v2022_11_28/types/group_1033.py index abf762e76..db288efc7 100644 --- a/githubkit/versions/v2022_11_28/types/group_1033.py +++ b/githubkit/versions/v2022_11_28/types/group_1033.py @@ -47,6 +47,40 @@ class ReposOwnerRepoPatchBodyType(TypedDict): web_commit_signoff_required: NotRequired[bool] +class ReposOwnerRepoPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPatchBody""" + + name: NotRequired[str] + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + visibility: NotRequired[Literal["public", "private"]] + security_and_analysis: NotRequired[ + Union[ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse, None] + ] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + is_template: NotRequired[bool] + default_branch: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + allow_update_branch: NotRequired[bool] + use_squash_pr_title_as_default: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + archived: NotRequired[bool] + allow_forking: NotRequired[bool] + web_commit_signoff_required: NotRequired[bool] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysis @@ -87,6 +121,46 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType(TypedDict): ] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse(TypedDict): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysis + + Specify which security and analysis features to enable or disable for the + repository. + + To use this parameter, you must have admin permissions for the repository or be + an owner or security manager for the organization that owns the repository. For + more information, see "[Managing security managers in your + organization](https://docs.github.com/organizations/managing-peoples-access-to- + your-organization-with-roles/managing-security-managers-in-your-organization)." + + For example, to enable GitHub Advanced Security, use this data in the body of + the `PATCH` request: + `{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`. + + You can check which security and analysis features are currently enabled by + using a `GET /repos/{owner}/{repo}` request. + """ + + advanced_security: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse + ] + code_security: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse + ] + secret_scanning: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse + ] + secret_scanning_push_protection: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse + ] + secret_scanning_ai_detection: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse + ] + secret_scanning_non_provider_patterns: NotRequired[ + ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse + ] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurity @@ -103,6 +177,24 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType(Typ status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurity + + Use the `status` property to enable or disable GitHub Advanced Security for this + repository. + For more information, see "[About GitHub Advanced + Security](/github/getting-started-with-github/learning-about-github/about- + github-advanced-security)." + + For standalone Code Scanning or Secret Protection products, this parameter + cannot be used. + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurity @@ -113,6 +205,18 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType(TypedDi status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurity + + Use the `status` property to enable or disable GitHub Code Security for this + repository. + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType(TypedDict): """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanning @@ -124,6 +228,19 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType(Typed status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanning + + Use the `status` property to enable or disable secret scanning for this + repository. For more information, see "[About secret scanning](/code- + security/secret-security/about-secret-scanning)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType( TypedDict ): @@ -138,6 +255,20 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtec status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtection + + Use the `status` property to enable or disable secret scanning push protection + for this repository. For more information, see "[Protecting pushes with secret + scanning](/code-security/secret-scanning/protecting-pushes-with-secret- + scanning)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType( TypedDict ): @@ -153,6 +284,21 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectio status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetection + + Use the `status` property to enable or disable secret scanning AI detection for + this repository. For more information, see "[Responsible detection of generic + secrets with AI](https://docs.github.com/code-security/secret-scanning/using- + advanced-secret-scanning-and-push-protection-features/generic-secret- + detection/responsible-ai-generic-secrets)." + """ + + status: NotRequired[str] + + class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType( TypedDict ): @@ -168,13 +314,36 @@ class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProvide status: NotRequired[str] +class ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse( + TypedDict +): + """ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatte + rns + + Use the `status` property to enable or disable secret scanning non-provider + patterns for this repository. For more information, see "[Supported secret + scanning patterns](/code-security/secret-scanning/introduction/supported-secret- + scanning-patterns#supported-secrets)." + """ + + status: NotRequired[str] + + __all__ = ( "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropAdvancedSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropCodeSecurityTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningAiDetectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningNonProviderPatternsTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningPushProtectionTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisPropSecretScanningTypeForResponse", "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisType", + "ReposOwnerRepoPatchBodyPropSecurityAndAnalysisTypeForResponse", "ReposOwnerRepoPatchBodyType", + "ReposOwnerRepoPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1034.py b/githubkit/versions/v2022_11_28/types/group_1034.py index aeedd4c4c..0ec9893e1 100644 --- a/githubkit/versions/v2022_11_28/types/group_1034.py +++ b/githubkit/versions/v2022_11_28/types/group_1034.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0227 import ArtifactType +from .group_0227 import ArtifactType, ArtifactTypeForResponse class ReposOwnerRepoActionsArtifactsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsArtifactsGetResponse200Type(TypedDict): artifacts: list[ArtifactType] -__all__ = ("ReposOwnerRepoActionsArtifactsGetResponse200Type",) +class ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsArtifactsGetResponse200""" + + total_count: int + artifacts: list[ArtifactTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsArtifactsGetResponse200Type", + "ReposOwnerRepoActionsArtifactsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1035.py b/githubkit/versions/v2022_11_28/types/group_1035.py index 8552ab8cf..da697e481 100644 --- a/githubkit/versions/v2022_11_28/types/group_1035.py +++ b/githubkit/versions/v2022_11_28/types/group_1035.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsJobsJobIdRerunPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsJobsJobIdRerunPostBodyType",) +class ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsJobsJobIdRerunPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyType", + "ReposOwnerRepoActionsJobsJobIdRerunPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1036.py b/githubkit/versions/v2022_11_28/types/group_1036.py index 19c3d652d..a062cae73 100644 --- a/githubkit/versions/v2022_11_28/types/group_1036.py +++ b/githubkit/versions/v2022_11_28/types/group_1036.py @@ -22,4 +22,17 @@ class ReposOwnerRepoActionsOidcCustomizationSubPutBodyType(TypedDict): include_claim_keys: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoActionsOidcCustomizationSubPutBodyType",) +class ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse(TypedDict): + """Actions OIDC subject customization for a repository + + Actions OIDC subject customization for a repository + """ + + use_default: bool + include_claim_keys: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyType", + "ReposOwnerRepoActionsOidcCustomizationSubPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1037.py b/githubkit/versions/v2022_11_28/types/group_1037.py index 9a8eafe93..2aac3021a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1037.py +++ b/githubkit/versions/v2022_11_28/types/group_1037.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0231 import ActionsSecretType +from .group_0231 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type(TypedDict): secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type",) +class ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsOrganizationSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200Type", + "ReposOwnerRepoActionsOrganizationSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1038.py b/githubkit/versions/v2022_11_28/types/group_1038.py index 61bef9ce3..b1e5a8565 100644 --- a/githubkit/versions/v2022_11_28/types/group_1038.py +++ b/githubkit/versions/v2022_11_28/types/group_1038.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0232 import ActionsVariableType +from .group_0232 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type(TypedDict): variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type",) +class ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsOrganizationVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200Type", + "ReposOwnerRepoActionsOrganizationVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1039.py b/githubkit/versions/v2022_11_28/types/group_1039.py index 89af583d2..769a56ce9 100644 --- a/githubkit/versions/v2022_11_28/types/group_1039.py +++ b/githubkit/versions/v2022_11_28/types/group_1039.py @@ -21,4 +21,15 @@ class ReposOwnerRepoActionsPermissionsPutBodyType(TypedDict): sha_pinning_required: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsPermissionsPutBodyType",) +class ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsPermissionsPutBody""" + + enabled: bool + allowed_actions: NotRequired[Literal["all", "local_only", "selected"]] + sha_pinning_required: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsPermissionsPutBodyType", + "ReposOwnerRepoActionsPermissionsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1040.py b/githubkit/versions/v2022_11_28/types/group_1040.py index 673a40400..bc0899a75 100644 --- a/githubkit/versions/v2022_11_28/types/group_1040.py +++ b/githubkit/versions/v2022_11_28/types/group_1040.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0090 import RunnerType +from .group_0090 import RunnerType, RunnerTypeForResponse class ReposOwnerRepoActionsRunnersGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunnersGetResponse200Type(TypedDict): runners: list[RunnerType] -__all__ = ("ReposOwnerRepoActionsRunnersGetResponse200Type",) +class ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersGetResponse200""" + + total_count: int + runners: list[RunnerTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersGetResponse200Type", + "ReposOwnerRepoActionsRunnersGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1041.py b/githubkit/versions/v2022_11_28/types/group_1041.py index 5036c414c..ebd33b013 100644 --- a/githubkit/versions/v2022_11_28/types/group_1041.py +++ b/githubkit/versions/v2022_11_28/types/group_1041.py @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType(TypedDict): work_folder: NotRequired[str] -__all__ = ("ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType",) +class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersGenerateJitconfigPostBody""" + + name: str + runner_group_id: int + labels: list[str] + work_folder: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyType", + "ReposOwnerRepoActionsRunnersGenerateJitconfigPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1042.py b/githubkit/versions/v2022_11_28/types/group_1042.py index 9ca36f6ff..042056b83 100644 --- a/githubkit/versions/v2022_11_28/types/group_1042.py +++ b/githubkit/versions/v2022_11_28/types/group_1042.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType(TypedDict): labels: list[str] -__all__ = ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType",) +class ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBody""" + + labels: list[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1043.py b/githubkit/versions/v2022_11_28/types/group_1043.py index 17c2e6d71..8b1d016e0 100644 --- a/githubkit/versions/v2022_11_28/types/group_1043.py +++ b/githubkit/versions/v2022_11_28/types/group_1043.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType(TypedDict): labels: list[str] -__all__ = ("ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType",) +class ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBody""" + + labels: list[str] + + +__all__ = ( + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyType", + "ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1044.py b/githubkit/versions/v2022_11_28/types/group_1044.py index f8fcf29dd..4edef2b96 100644 --- a/githubkit/versions/v2022_11_28/types/group_1044.py +++ b/githubkit/versions/v2022_11_28/types/group_1044.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0237 import WorkflowRunType +from .group_0237 import WorkflowRunType, WorkflowRunTypeForResponse class ReposOwnerRepoActionsRunsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsGetResponse200Type(TypedDict): workflow_runs: list[WorkflowRunType] -__all__ = ("ReposOwnerRepoActionsRunsGetResponse200Type",) +class ReposOwnerRepoActionsRunsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsGetResponse200""" + + total_count: int + workflow_runs: list[WorkflowRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsGetResponse200Type", + "ReposOwnerRepoActionsRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1045.py b/githubkit/versions/v2022_11_28/types/group_1045.py index 5633d95e5..644a3a858 100644 --- a/githubkit/versions/v2022_11_28/types/group_1045.py +++ b/githubkit/versions/v2022_11_28/types/group_1045.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0227 import ArtifactType +from .group_0227 import ArtifactType, ArtifactTypeForResponse class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type(TypedDict): artifacts: list[ArtifactType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200""" + + total_count: int + artifacts: list[ArtifactTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdArtifactsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1046.py b/githubkit/versions/v2022_11_28/types/group_1046.py index 20b4244ab..f0a77e299 100644 --- a/githubkit/versions/v2022_11_28/types/group_1046.py +++ b/githubkit/versions/v2022_11_28/types/group_1046.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0229 import JobType +from .group_0229 import JobType, JobTypeForResponse class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type( @@ -23,4 +23,16 @@ class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type( jobs: list[JobType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200""" + + total_count: int + jobs: list[JobTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdAttemptsAttemptNumberJobsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1047.py b/githubkit/versions/v2022_11_28/types/group_1047.py index 26f9903ee..cd2303c80 100644 --- a/githubkit/versions/v2022_11_28/types/group_1047.py +++ b/githubkit/versions/v2022_11_28/types/group_1047.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0229 import JobType +from .group_0229 import JobType, JobTypeForResponse class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type(TypedDict): jobs: list[JobType] -__all__ = ("ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type",) +class ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdJobsGetResponse200""" + + total_count: int + jobs: list[JobTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200Type", + "ReposOwnerRepoActionsRunsRunIdJobsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1048.py b/githubkit/versions/v2022_11_28/types/group_1048.py index 76bdf5b5d..63af44382 100644 --- a/githubkit/versions/v2022_11_28/types/group_1048.py +++ b/githubkit/versions/v2022_11_28/types/group_1048.py @@ -21,4 +21,17 @@ class ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType(TypedDict): comment: str -__all__ = ("ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBody""" + + environment_ids: list[int] + state: Literal["approved", "rejected"] + comment: str + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdPendingDeploymentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1049.py b/githubkit/versions/v2022_11_28/types/group_1049.py index 41d795f26..18cbff6c8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1049.py +++ b/githubkit/versions/v2022_11_28/types/group_1049.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunsRunIdRerunPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsRunsRunIdRerunPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdRerunPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1050.py b/githubkit/versions/v2022_11_28/types/group_1050.py index d27f156d2..f01ad12c3 100644 --- a/githubkit/versions/v2022_11_28/types/group_1050.py +++ b/githubkit/versions/v2022_11_28/types/group_1050.py @@ -18,4 +18,13 @@ class ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType(TypedDict): enable_debug_logging: NotRequired[bool] -__all__ = ("ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType",) +class ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBody""" + + enable_debug_logging: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyType", + "ReposOwnerRepoActionsRunsRunIdRerunFailedJobsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1051.py b/githubkit/versions/v2022_11_28/types/group_1051.py index 32abe5f2b..bae2179c1 100644 --- a/githubkit/versions/v2022_11_28/types/group_1051.py +++ b/githubkit/versions/v2022_11_28/types/group_1051.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0231 import ActionsSecretType +from .group_0231 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoActionsSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsSecretsGetResponse200Type(TypedDict): secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoActionsSecretsGetResponse200Type",) +class ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsSecretsGetResponse200Type", + "ReposOwnerRepoActionsSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1052.py b/githubkit/versions/v2022_11_28/types/group_1052.py index 335280e49..51c8e1ace 100644 --- a/githubkit/versions/v2022_11_28/types/group_1052.py +++ b/githubkit/versions/v2022_11_28/types/group_1052.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsSecretsSecretNamePutBodyType(TypedDict): key_id: str -__all__ = ("ReposOwnerRepoActionsSecretsSecretNamePutBodyType",) +class ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + + +__all__ = ( + "ReposOwnerRepoActionsSecretsSecretNamePutBodyType", + "ReposOwnerRepoActionsSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1053.py b/githubkit/versions/v2022_11_28/types/group_1053.py index cbfe7344b..ad9b01983 100644 --- a/githubkit/versions/v2022_11_28/types/group_1053.py +++ b/githubkit/versions/v2022_11_28/types/group_1053.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0232 import ActionsVariableType +from .group_0232 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoActionsVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoActionsVariablesGetResponse200Type(TypedDict): variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoActionsVariablesGetResponse200Type",) +class ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsVariablesGetResponse200Type", + "ReposOwnerRepoActionsVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1054.py b/githubkit/versions/v2022_11_28/types/group_1054.py index a5b1bcda1..3886687ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_1054.py +++ b/githubkit/versions/v2022_11_28/types/group_1054.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsVariablesPostBodyType(TypedDict): value: str -__all__ = ("ReposOwnerRepoActionsVariablesPostBodyType",) +class ReposOwnerRepoActionsVariablesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesPostBody""" + + name: str + value: str + + +__all__ = ( + "ReposOwnerRepoActionsVariablesPostBodyType", + "ReposOwnerRepoActionsVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1055.py b/githubkit/versions/v2022_11_28/types/group_1055.py index 9dc60de46..75e5544aa 100644 --- a/githubkit/versions/v2022_11_28/types/group_1055.py +++ b/githubkit/versions/v2022_11_28/types/group_1055.py @@ -19,4 +19,14 @@ class ReposOwnerRepoActionsVariablesNamePatchBodyType(TypedDict): value: NotRequired[str] -__all__ = ("ReposOwnerRepoActionsVariablesNamePatchBodyType",) +class ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoActionsVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoActionsVariablesNamePatchBodyType", + "ReposOwnerRepoActionsVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1056.py b/githubkit/versions/v2022_11_28/types/group_1056.py index 567412f15..11733f4d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1056.py +++ b/githubkit/versions/v2022_11_28/types/group_1056.py @@ -21,6 +21,13 @@ class ReposOwnerRepoActionsWorkflowsGetResponse200Type(TypedDict): workflows: list[WorkflowType] +class ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoActionsWorkflowsGetResponse200""" + + total_count: int + workflows: list[WorkflowTypeForResponse] + + class WorkflowType(TypedDict): """Workflow @@ -42,7 +49,30 @@ class WorkflowType(TypedDict): deleted_at: NotRequired[datetime] +class WorkflowTypeForResponse(TypedDict): + """Workflow + + A GitHub Actions workflow + """ + + id: int + node_id: str + name: str + path: str + state: Literal[ + "active", "deleted", "disabled_fork", "disabled_inactivity", "disabled_manually" + ] + created_at: str + updated_at: str + url: str + html_url: str + badge_url: str + deleted_at: NotRequired[str] + + __all__ = ( "ReposOwnerRepoActionsWorkflowsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsGetResponse200TypeForResponse", "WorkflowType", + "WorkflowTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1057.py b/githubkit/versions/v2022_11_28/types/group_1057.py index 3e172dbfe..af7e99e38 100644 --- a/githubkit/versions/v2022_11_28/types/group_1057.py +++ b/githubkit/versions/v2022_11_28/types/group_1057.py @@ -22,6 +22,17 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType(TypedDict): ] +class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBody""" + + ref: str + inputs: NotRequired[ + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse + ] + + ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType: TypeAlias = ( dict[str, Any] ) @@ -33,7 +44,20 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType(TypedDict): """ +ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputs + +Input keys and values configured in the workflow file. The maximum number of +properties is 10. Any default properties configured in the workflow file will be +used when `inputs` are omitted. +""" + + __all__ = ( "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyPropInputsTypeForResponse", "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyType", + "ReposOwnerRepoActionsWorkflowsWorkflowIdDispatchesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1058.py b/githubkit/versions/v2022_11_28/types/group_1058.py index c2b2926cb..cd68dd412 100644 --- a/githubkit/versions/v2022_11_28/types/group_1058.py +++ b/githubkit/versions/v2022_11_28/types/group_1058.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0237 import WorkflowRunType +from .group_0237 import WorkflowRunType, WorkflowRunTypeForResponse class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type(TypedDict): workflow_runs: list[WorkflowRunType] -__all__ = ("ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type",) +class ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200""" + + total_count: int + workflow_runs: list[WorkflowRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200Type", + "ReposOwnerRepoActionsWorkflowsWorkflowIdRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1059.py b/githubkit/versions/v2022_11_28/types/group_1059.py index e197b3b3a..6ffb1d782 100644 --- a/githubkit/versions/v2022_11_28/types/group_1059.py +++ b/githubkit/versions/v2022_11_28/types/group_1059.py @@ -19,6 +19,12 @@ class ReposOwnerRepoAttestationsPostBodyType(TypedDict): bundle: ReposOwnerRepoAttestationsPostBodyPropBundleType +class ReposOwnerRepoAttestationsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostBody""" + + bundle: ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse + + class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ReposOwnerRepoAttestationsPostBodyPropBundle @@ -37,6 +43,24 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): ] +class ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostBodyPropBundle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse + ] + + ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType: TypeAlias = ( dict[str, Any] ) @@ -44,6 +68,13 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ +ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterial +""" + + ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -51,9 +82,20 @@ class ReposOwnerRepoAttestationsPostBodyPropBundleType(TypedDict): """ +ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelope +""" + + __all__ = ( "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropDsseEnvelopeTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsPostBodyPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsPostBodyPropBundleType", + "ReposOwnerRepoAttestationsPostBodyPropBundleTypeForResponse", "ReposOwnerRepoAttestationsPostBodyType", + "ReposOwnerRepoAttestationsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1060.py b/githubkit/versions/v2022_11_28/types/group_1060.py index 79c9aa002..1af133e33 100644 --- a/githubkit/versions/v2022_11_28/types/group_1060.py +++ b/githubkit/versions/v2022_11_28/types/group_1060.py @@ -18,4 +18,13 @@ class ReposOwnerRepoAttestationsPostResponse201Type(TypedDict): id: NotRequired[int] -__all__ = ("ReposOwnerRepoAttestationsPostResponse201Type",) +class ReposOwnerRepoAttestationsPostResponse201TypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsPostResponse201""" + + id: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoAttestationsPostResponse201Type", + "ReposOwnerRepoAttestationsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1061.py b/githubkit/versions/v2022_11_28/types/group_1061.py index e4ba7e618..22c98d0a6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1061.py +++ b/githubkit/versions/v2022_11_28/types/group_1061.py @@ -23,6 +23,16 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -36,6 +46,19 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems initiator: NotRequired[str] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -57,6 +80,27 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems ] +class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu + ndle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -65,6 +109,14 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems """ +ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu +ndlePropVerificationMaterial +""" + + ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -73,10 +125,23 @@ class ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItems """ +ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBu +ndlePropDsseEnvelope +""" + + __all__ = ( "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "ReposOwnerRepoAttestationsSubjectDigestGetResponse200Type", + "ReposOwnerRepoAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1062.py b/githubkit/versions/v2022_11_28/types/group_1062.py index d3cf0850b..cfa2369f6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1062.py +++ b/githubkit/versions/v2022_11_28/types/group_1062.py @@ -20,4 +20,15 @@ class ReposOwnerRepoAutolinksPostBodyType(TypedDict): is_alphanumeric: NotRequired[bool] -__all__ = ("ReposOwnerRepoAutolinksPostBodyType",) +class ReposOwnerRepoAutolinksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoAutolinksPostBody""" + + key_prefix: str + url_template: str + is_alphanumeric: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoAutolinksPostBodyType", + "ReposOwnerRepoAutolinksPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1063.py b/githubkit/versions/v2022_11_28/types/group_1063.py index bca1d637c..6dc7c91b6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1063.py +++ b/githubkit/versions/v2022_11_28/types/group_1063.py @@ -36,6 +36,31 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyType(TypedDict): allow_fork_syncing: NotRequired[bool] +class ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoBranchesBranchProtectionPutBody""" + + required_status_checks: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse, + None, + ] + enforce_admins: Union[bool, None] + required_pull_request_reviews: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse, + None, + ] + restrictions: Union[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse, + None, + ] + required_linear_history: NotRequired[bool] + allow_force_pushes: NotRequired[Union[bool, None]] + allow_deletions: NotRequired[bool] + block_creations: NotRequired[bool] + required_conversation_resolution: NotRequired[bool] + lock_branch: NotRequired[bool] + allow_fork_syncing: NotRequired[bool] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType( TypedDict ): @@ -53,6 +78,23 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType( ] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecks + + Require status checks to pass before merging. Set to `null` to disable. + """ + + strict: bool + contexts: list[str] + checks: NotRequired[ + list[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType( TypedDict ): @@ -64,6 +106,17 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropC app_id: NotRequired[int] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksI + tems + """ + + context: str + app_id: NotRequired[int] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType( TypedDict ): @@ -85,6 +138,27 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview ] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviews + + Require at least one approving review on a pull request, before merging. Set to + `null` to disable. + """ + + dismissal_restrictions: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse + ] + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + bypass_pull_request_allowances: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse + ] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType( TypedDict ): @@ -102,6 +176,23 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropD + ismissalRestrictions + + Specify which users, teams, and apps can dismiss pull request reviews. Pass an + empty `dismissal_restrictions` object to disable. User and team + `dismissal_restrictions` are only available for organization-owned repositories. + Omit this parameter for personal repositories. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType( TypedDict ): @@ -116,6 +207,20 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReview apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropB + ypassPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType(TypedDict): """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictions @@ -129,12 +234,34 @@ class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType(TypedDic apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictions + + Restrict who can push to the protected branch. User, app, and team + `restrictions` are only available for organization-owned repositories. Set to + `null` to disable. + """ + + users: list[str] + teams: list[str] + apps: NotRequired[list[str]] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredPullRequestReviewsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRequiredStatusChecksTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyPropRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionPutBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1064.py b/githubkit/versions/v2022_11_28/types/group_1064.py index 663ec3e19..133a29772 100644 --- a/githubkit/versions/v2022_11_28/types/group_1064.py +++ b/githubkit/versions/v2022_11_28/types/group_1064.py @@ -29,6 +29,23 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyT ] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBody""" + + dismissal_restrictions: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse + ] + dismiss_stale_reviews: NotRequired[bool] + require_code_owner_reviews: NotRequired[bool] + required_approving_review_count: NotRequired[int] + require_last_push_approval: NotRequired[bool] + bypass_pull_request_allowances: NotRequired[ + ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse + ] + + class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType( TypedDict ): @@ -46,6 +63,23 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyP apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDis + missalRestrictions + + Specify which users, teams, and apps can dismiss pull request reviews. Pass an + empty `dismissal_restrictions` object to disable. User and team + `dismissal_restrictions` are only available for organization-owned repositories. + Omit this parameter for personal repositories. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType( TypedDict ): @@ -60,8 +94,25 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyP apps: NotRequired[list[str]] +class ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropByp + assPullRequestAllowances + + Allow specific users, teams, or apps to bypass pull request requirements. + """ + + users: NotRequired[list[str]] + teams: NotRequired[list[str]] + apps: NotRequired[list[str]] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropBypassPullRequestAllowancesTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyPropDismissalRestrictionsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredPullRequestReviewsPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1065.py b/githubkit/versions/v2022_11_28/types/group_1065.py index 0e57487fc..571186b09 100644 --- a/githubkit/versions/v2022_11_28/types/group_1065.py +++ b/githubkit/versions/v2022_11_28/types/group_1065.py @@ -26,6 +26,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType( ] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBody""" + + strict: NotRequired[bool] + contexts: NotRequired[list[str]] + checks: NotRequired[ + list[ + ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType( TypedDict ): @@ -37,7 +51,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChe app_id: NotRequired[int] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksIte + ms + """ + + context: str + app_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyPropChecksItemsTypeForResponse", "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyType", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1066.py b/githubkit/versions/v2022_11_28/types/group_1066.py index e1f78ac45..4cef53d63 100644 --- a/githubkit/versions/v2022_11_28/types/group_1066.py +++ b/githubkit/versions/v2022_11_28/types/group_1066.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyO contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPutBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1067.py b/githubkit/versions/v2022_11_28/types/group_1067.py index 7953af035..30311a99a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1067.py +++ b/githubkit/versions/v2022_11_28/types/group_1067.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBody contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsPostBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1068.py b/githubkit/versions/v2022_11_28/types/group_1068.py index b4a0d30f6..46926f23d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1068.py +++ b/githubkit/versions/v2022_11_28/types/group_1068.py @@ -25,6 +25,20 @@ class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBo contexts: list[str] +class ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneo + f0 + + Examples: + {'contexts': ['contexts']} + """ + + contexts: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRequiredStatusChecksContextsDeleteBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1069.py b/githubkit/versions/v2022_11_28/types/group_1069.py index 1f154c587..7c95c3c41 100644 --- a/githubkit/versions/v2022_11_28/types/group_1069.py +++ b/githubkit/versions/v2022_11_28/types/group_1069.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType(TypedDic apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1070.py b/githubkit/versions/v2022_11_28/types/group_1070.py index e8ab2de74..46140c654 100644 --- a/githubkit/versions/v2022_11_28/types/group_1070.py +++ b/githubkit/versions/v2022_11_28/types/group_1070.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType(TypedDi apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1071.py b/githubkit/versions/v2022_11_28/types/group_1071.py index 26bc12cd2..77ece4168 100644 --- a/githubkit/versions/v2022_11_28/types/group_1071.py +++ b/githubkit/versions/v2022_11_28/types/group_1071.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType(Typed apps: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBody + + Examples: + {'apps': ['my-app']} + """ + + apps: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsAppsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1072.py b/githubkit/versions/v2022_11_28/types/group_1072.py index db6c7e46c..fc66f8db5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1072.py +++ b/githubkit/versions/v2022_11_28/types/group_1072.py @@ -24,4 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type( teams: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0 + + Examples: + {'teams': ['justice-league']} + """ + + teams: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPutBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1073.py b/githubkit/versions/v2022_11_28/types/group_1073.py index d74b8d070..195f46c5e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1073.py +++ b/githubkit/versions/v2022_11_28/types/group_1073.py @@ -24,4 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type( teams: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0 + + Examples: + {'teams': ['my-team']} + """ + + teams: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1074.py b/githubkit/versions/v2022_11_28/types/group_1074.py index 85e315c26..6103ab1ce 100644 --- a/githubkit/versions/v2022_11_28/types/group_1074.py +++ b/githubkit/versions/v2022_11_28/types/group_1074.py @@ -24,6 +24,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Typ teams: list[str] +class ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0 + + Examples: + {'teams': ['my-team']} + """ + + teams: list[str] + + __all__ = ( "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0Type", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsTeamsDeleteBodyOneof0TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1075.py b/githubkit/versions/v2022_11_28/types/group_1075.py index 14d747f27..d941c1ea2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1075.py +++ b/githubkit/versions/v2022_11_28/types/group_1075.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType(TypedDi users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1076.py b/githubkit/versions/v2022_11_28/types/group_1076.py index a879b8e99..f913bc63f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1076.py +++ b/githubkit/versions/v2022_11_28/types/group_1076.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType(TypedD users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1077.py b/githubkit/versions/v2022_11_28/types/group_1077.py index 88f98adfd..df5305b28 100644 --- a/githubkit/versions/v2022_11_28/types/group_1077.py +++ b/githubkit/versions/v2022_11_28/types/group_1077.py @@ -22,4 +22,19 @@ class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType(Type users: list[str] -__all__ = ("ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType",) +class ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBody + + Examples: + {'users': ['mona']} + """ + + users: list[str] + + +__all__ = ( + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyType", + "ReposOwnerRepoBranchesBranchProtectionRestrictionsUsersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1078.py b/githubkit/versions/v2022_11_28/types/group_1078.py index b46802659..2db57c3ba 100644 --- a/githubkit/versions/v2022_11_28/types/group_1078.py +++ b/githubkit/versions/v2022_11_28/types/group_1078.py @@ -18,4 +18,13 @@ class ReposOwnerRepoBranchesBranchRenamePostBodyType(TypedDict): new_name: str -__all__ = ("ReposOwnerRepoBranchesBranchRenamePostBodyType",) +class ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoBranchesBranchRenamePostBody""" + + new_name: str + + +__all__ = ( + "ReposOwnerRepoBranchesBranchRenamePostBodyType", + "ReposOwnerRepoBranchesBranchRenamePostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1079.py b/githubkit/versions/v2022_11_28/types/group_1079.py index 0e96d896e..dc028b9a6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1079.py +++ b/githubkit/versions/v2022_11_28/types/group_1079.py @@ -32,6 +32,27 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputType(TypedDict): ] +class ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyPropOutput + + Check runs can accept a variety of data in the `output` object, including a + `title` and `summary` and can optionally provide descriptive details about the + run. + """ + + title: str + summary: str + text: NotRequired[str] + annotations: NotRequired[ + list[ + ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse + ] + ] + images: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse] + ] + + class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItems""" @@ -46,6 +67,22 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType(TypedDic raw_details: NotRequired[str] +class ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItems""" + + path: str + start_line: int + end_line: int + start_column: NotRequired[int] + end_column: NotRequired[int] + annotation_level: Literal["notice", "warning", "failure"] + message: str + title: NotRequired[str] + raw_details: NotRequired[str] + + class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItems""" @@ -54,6 +91,16 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType(TypedDict): caption: NotRequired[str] +class ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItems""" + + alt: str + image_url: str + caption: NotRequired[str] + + class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType(TypedDict): """ReposOwnerRepoCheckRunsPostBodyPropActionsItems""" @@ -62,9 +109,21 @@ class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType(TypedDict): identifier: str +class ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyPropActionsItems""" + + label: str + description: str + identifier: str + + __all__ = ( "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsPostBodyPropOutputType", + "ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1080.py b/githubkit/versions/v2022_11_28/types/group_1080.py index 62433e70b..6d43735a0 100644 --- a/githubkit/versions/v2022_11_28/types/group_1080.py +++ b/githubkit/versions/v2022_11_28/types/group_1080.py @@ -15,7 +15,9 @@ from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsPostBodyPropOutputType, + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, ) @@ -43,4 +45,33 @@ class ReposOwnerRepoCheckRunsPostBodyOneof0Type(TypedDict): actions: NotRequired[list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType]] -__all__ = ("ReposOwnerRepoCheckRunsPostBodyOneof0Type",) +class ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyOneof0""" + + name: str + head_sha: str + details_url: NotRequired[str] + external_id: NotRequired[str] + status: Literal["completed"] + started_at: NotRequired[str] + conclusion: Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + completed_at: NotRequired[str] + output: NotRequired[ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsPostBodyOneof0Type", + "ReposOwnerRepoCheckRunsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1081.py b/githubkit/versions/v2022_11_28/types/group_1081.py index 238763006..9a9a6d882 100644 --- a/githubkit/versions/v2022_11_28/types/group_1081.py +++ b/githubkit/versions/v2022_11_28/types/group_1081.py @@ -15,7 +15,9 @@ from .group_1079 import ( ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsPostBodyPropOutputType, + ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse, ) @@ -47,4 +49,37 @@ class ReposOwnerRepoCheckRunsPostBodyOneof1Type(TypedDict): actions: NotRequired[list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsType]] -__all__ = ("ReposOwnerRepoCheckRunsPostBodyOneof1Type",) +class ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsPostBodyOneof1""" + + name: str + head_sha: str + details_url: NotRequired[str] + external_id: NotRequired[str] + status: NotRequired[ + Literal["queued", "in_progress", "waiting", "requested", "pending"] + ] + started_at: NotRequired[str] + conclusion: NotRequired[ + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + ] + completed_at: NotRequired[str] + output: NotRequired[ReposOwnerRepoCheckRunsPostBodyPropOutputTypeForResponse] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsPostBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsPostBodyOneof1Type", + "ReposOwnerRepoCheckRunsPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1082.py b/githubkit/versions/v2022_11_28/types/group_1082.py index cdd81f62e..89a18a18a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1082.py +++ b/githubkit/versions/v2022_11_28/types/group_1082.py @@ -34,6 +34,29 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType(TypedDict): ] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput + + Check runs can accept a variety of data in the `output` object, including a + `title` and `summary` and can optionally provide descriptive details about the + run. + """ + + title: NotRequired[str] + summary: str + text: NotRequired[str] + annotations: NotRequired[ + list[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse + ] + ] + images: NotRequired[ + list[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse + ] + ] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType( TypedDict ): @@ -50,6 +73,22 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTy raw_details: NotRequired[str] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItems""" + + path: str + start_line: int + end_line: int + start_column: NotRequired[int] + end_column: NotRequired[int] + annotation_level: Literal["notice", "warning", "failure"] + message: str + title: NotRequired[str] + raw_details: NotRequired[str] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType( TypedDict ): @@ -60,6 +99,16 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType( caption: NotRequired[str] +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItems""" + + alt: str + image_url: str + caption: NotRequired[str] + + class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType(TypedDict): """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems""" @@ -68,9 +117,23 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType(TypedDict): identifier: str +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems""" + + label: str + description: str + identifier: str + + __all__ = ( "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropImagesItemsTypeForResponse", "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1083.py b/githubkit/versions/v2022_11_28/types/group_1083.py index 0ef476b12..ecdbfcefb 100644 --- a/githubkit/versions/v2022_11_28/types/group_1083.py +++ b/githubkit/versions/v2022_11_28/types/group_1083.py @@ -15,7 +15,9 @@ from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, ) @@ -44,4 +46,34 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type(TypedDict): ] -__all__ = ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type",) +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0""" + + name: NotRequired[str] + details_url: NotRequired[str] + external_id: NotRequired[str] + started_at: NotRequired[str] + status: NotRequired[Literal["completed"]] + conclusion: Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + completed_at: NotRequired[str] + output: NotRequired[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse + ] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1084.py b/githubkit/versions/v2022_11_28/types/group_1084.py index bcdc6a9f2..b6fe3be35 100644 --- a/githubkit/versions/v2022_11_28/types/group_1084.py +++ b/githubkit/versions/v2022_11_28/types/group_1084.py @@ -15,7 +15,9 @@ from .group_1082 import ( ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse, ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputType, + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse, ) @@ -46,4 +48,36 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type(TypedDict): ] -__all__ = ("ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type",) +class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1""" + + name: NotRequired[str] + details_url: NotRequired[str] + external_id: NotRequired[str] + started_at: NotRequired[str] + status: NotRequired[Literal["queued", "in_progress"]] + conclusion: NotRequired[ + Literal[ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out", + ] + ] + completed_at: NotRequired[str] + output: NotRequired[ + ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputTypeForResponse + ] + actions: NotRequired[ + list[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItemsTypeForResponse] + ] + + +__all__ = ( + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1Type", + "ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1085.py b/githubkit/versions/v2022_11_28/types/group_1085.py index 5d8ac49c1..18c336b55 100644 --- a/githubkit/versions/v2022_11_28/types/group_1085.py +++ b/githubkit/versions/v2022_11_28/types/group_1085.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCheckSuitesPostBodyType(TypedDict): head_sha: str -__all__ = ("ReposOwnerRepoCheckSuitesPostBodyType",) +class ReposOwnerRepoCheckSuitesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCheckSuitesPostBody""" + + head_sha: str + + +__all__ = ( + "ReposOwnerRepoCheckSuitesPostBodyType", + "ReposOwnerRepoCheckSuitesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1086.py b/githubkit/versions/v2022_11_28/types/group_1086.py index 5f72161c7..251d22b99 100644 --- a/githubkit/versions/v2022_11_28/types/group_1086.py +++ b/githubkit/versions/v2022_11_28/types/group_1086.py @@ -22,6 +22,16 @@ class ReposOwnerRepoCheckSuitesPreferencesPatchBodyType(TypedDict): ] +class ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCheckSuitesPreferencesPatchBody""" + + auto_trigger_checks: NotRequired[ + list[ + ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse + ] + ] + + class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType( TypedDict ): @@ -31,7 +41,18 @@ class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTyp setting: bool +class ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItems""" + + app_id: int + setting: bool + + __all__ = ( "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyPropAutoTriggerChecksItemsTypeForResponse", "ReposOwnerRepoCheckSuitesPreferencesPatchBodyType", + "ReposOwnerRepoCheckSuitesPreferencesPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1087.py b/githubkit/versions/v2022_11_28/types/group_1087.py index 5224471e0..b852b369f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1087.py +++ b/githubkit/versions/v2022_11_28/types/group_1087.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0263 import CheckRunType +from .group_0263 import CheckRunType, CheckRunTypeForResponse class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type(TypedDict check_runs: list[CheckRunType] -__all__ = ("ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type",) +class ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200""" + + total_count: int + check_runs: list[CheckRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200Type", + "ReposOwnerRepoCheckSuitesCheckSuiteIdCheckRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1088.py b/githubkit/versions/v2022_11_28/types/group_1088.py index d8d166808..0dcdaf9d2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1088.py +++ b/githubkit/versions/v2022_11_28/types/group_1088.py @@ -24,4 +24,18 @@ class ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType(TypedDict): create_request: NotRequired[bool] -__all__ = ("ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType",) +class ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBody""" + + state: Literal["open", "dismissed"] + dismissed_reason: NotRequired[ + Union[None, Literal["false positive", "won't fix", "used in tests"]] + ] + dismissed_comment: NotRequired[Union[str, None]] + create_request: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoCodeScanningAlertsAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1089.py b/githubkit/versions/v2022_11_28/types/group_1089.py index 31cc88a9b..2bff49517 100644 --- a/githubkit/versions/v2022_11_28/types/group_1089.py +++ b/githubkit/versions/v2022_11_28/types/group_1089.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type(TypedDic repository_owners: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: list[str] + repository_lists: NotRequired[list[str]] + repository_owners: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1090.py b/githubkit/versions/v2022_11_28/types/group_1090.py index 15b2259e7..d166a81ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_1090.py +++ b/githubkit/versions/v2022_11_28/types/group_1090.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type(TypedDic repository_owners: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: NotRequired[list[str]] + repository_lists: list[str] + repository_owners: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1091.py b/githubkit/versions/v2022_11_28/types/group_1091.py index 3b669027d..6c5401a33 100644 --- a/githubkit/versions/v2022_11_28/types/group_1091.py +++ b/githubkit/versions/v2022_11_28/types/group_1091.py @@ -25,4 +25,21 @@ class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type(TypedDic repository_owners: list[str] -__all__ = ("ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type",) +class ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse( + TypedDict +): + """ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2""" + + language: Literal[ + "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" + ] + query_pack: str + repositories: NotRequired[list[str]] + repository_lists: NotRequired[list[str]] + repository_owners: list[str] + + +__all__ = ( + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2Type", + "ReposOwnerRepoCodeScanningCodeqlVariantAnalysesPostBodyOneof2TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1092.py b/githubkit/versions/v2022_11_28/types/group_1092.py index e9eb27946..ceb207e4f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1092.py +++ b/githubkit/versions/v2022_11_28/types/group_1092.py @@ -25,4 +25,19 @@ class ReposOwnerRepoCodeScanningSarifsPostBodyType(TypedDict): validate_: NotRequired[bool] -__all__ = ("ReposOwnerRepoCodeScanningSarifsPostBodyType",) +class ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodeScanningSarifsPostBody""" + + commit_sha: str + ref: str + sarif: str + checkout_uri: NotRequired[str] + started_at: NotRequired[str] + tool_name: NotRequired[str] + validate_: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoCodeScanningSarifsPostBodyType", + "ReposOwnerRepoCodeScanningSarifsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1093.py b/githubkit/versions/v2022_11_28/types/group_1093.py index 6eb8ffb3b..f8086201e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1093.py +++ b/githubkit/versions/v2022_11_28/types/group_1093.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0102 import CodespaceType +from .group_0102 import CodespaceType, CodespaceTypeForResponse class ReposOwnerRepoCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("ReposOwnerRepoCodespacesGetResponse200Type",) +class ReposOwnerRepoCodespacesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCodespacesGetResponse200Type", + "ReposOwnerRepoCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1094.py b/githubkit/versions/v2022_11_28/types/group_1094.py index 88f53eda8..9abba50c8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1094.py +++ b/githubkit/versions/v2022_11_28/types/group_1094.py @@ -29,4 +29,23 @@ class ReposOwnerRepoCodespacesPostBodyType(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("ReposOwnerRepoCodespacesPostBodyType",) +class ReposOwnerRepoCodespacesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesPostBody""" + + ref: NotRequired[str] + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoCodespacesPostBodyType", + "ReposOwnerRepoCodespacesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1095.py b/githubkit/versions/v2022_11_28/types/group_1095.py index 2b6a98e8b..edf72f734 100644 --- a/githubkit/versions/v2022_11_28/types/group_1095.py +++ b/githubkit/versions/v2022_11_28/types/group_1095.py @@ -21,6 +21,15 @@ class ReposOwnerRepoCodespacesDevcontainersGetResponse200Type(TypedDict): ] +class ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesDevcontainersGetResponse200""" + + total_count: int + devcontainers: list[ + ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse + ] + + class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType( TypedDict ): @@ -31,7 +40,19 @@ class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsT display_name: NotRequired[str] +class ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItems""" + + path: str + name: NotRequired[str] + display_name: NotRequired[str] + + __all__ = ( "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsType", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200PropDevcontainersItemsTypeForResponse", "ReposOwnerRepoCodespacesDevcontainersGetResponse200Type", + "ReposOwnerRepoCodespacesDevcontainersGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1096.py b/githubkit/versions/v2022_11_28/types/group_1096.py index 4bb788d6e..f9268c912 100644 --- a/githubkit/versions/v2022_11_28/types/group_1096.py +++ b/githubkit/versions/v2022_11_28/types/group_1096.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CodespaceMachineType +from .group_0101 import CodespaceMachineType, CodespaceMachineTypeForResponse class ReposOwnerRepoCodespacesMachinesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCodespacesMachinesGetResponse200Type(TypedDict): machines: list[CodespaceMachineType] -__all__ = ("ReposOwnerRepoCodespacesMachinesGetResponse200Type",) +class ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesMachinesGetResponse200""" + + total_count: int + machines: list[CodespaceMachineTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCodespacesMachinesGetResponse200Type", + "ReposOwnerRepoCodespacesMachinesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1097.py b/githubkit/versions/v2022_11_28/types/group_1097.py index 1da0f80f8..bdbe97107 100644 --- a/githubkit/versions/v2022_11_28/types/group_1097.py +++ b/githubkit/versions/v2022_11_28/types/group_1097.py @@ -12,7 +12,7 @@ from typing import Union from typing_extensions import NotRequired, TypedDict -from .group_0003 import SimpleUserType +from .group_0003 import SimpleUserType, SimpleUserTypeForResponse class ReposOwnerRepoCodespacesNewGetResponse200Type(TypedDict): @@ -22,6 +22,15 @@ class ReposOwnerRepoCodespacesNewGetResponse200Type(TypedDict): defaults: NotRequired[ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType] +class ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesNewGetResponse200""" + + billable_owner: NotRequired[SimpleUserTypeForResponse] + defaults: NotRequired[ + ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse + ] + + class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType(TypedDict): """ReposOwnerRepoCodespacesNewGetResponse200PropDefaults""" @@ -29,7 +38,16 @@ class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType(TypedDict): devcontainer_path: Union[str, None] +class ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesNewGetResponse200PropDefaults""" + + location: str + devcontainer_path: Union[str, None] + + __all__ = ( "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsType", + "ReposOwnerRepoCodespacesNewGetResponse200PropDefaultsTypeForResponse", "ReposOwnerRepoCodespacesNewGetResponse200Type", + "ReposOwnerRepoCodespacesNewGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1098.py b/githubkit/versions/v2022_11_28/types/group_1098.py index fe71c65ab..e31f33060 100644 --- a/githubkit/versions/v2022_11_28/types/group_1098.py +++ b/githubkit/versions/v2022_11_28/types/group_1098.py @@ -20,6 +20,13 @@ class ReposOwnerRepoCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[RepoCodespacesSecretType] +class ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[RepoCodespacesSecretTypeForResponse] + + class RepoCodespacesSecretType(TypedDict): """Codespaces Secret @@ -31,7 +38,20 @@ class RepoCodespacesSecretType(TypedDict): updated_at: datetime +class RepoCodespacesSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Set repository secrets for GitHub Codespaces. + """ + + name: str + created_at: str + updated_at: str + + __all__ = ( "RepoCodespacesSecretType", + "RepoCodespacesSecretTypeForResponse", "ReposOwnerRepoCodespacesSecretsGetResponse200Type", + "ReposOwnerRepoCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1099.py b/githubkit/versions/v2022_11_28/types/group_1099.py index 4e9617e8c..a5d7ce37c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1099.py +++ b/githubkit/versions/v2022_11_28/types/group_1099.py @@ -19,4 +19,14 @@ class ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType(TypedDict): key_id: NotRequired[str] -__all__ = ("ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType",) +class ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType", + "ReposOwnerRepoCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1100.py b/githubkit/versions/v2022_11_28/types/group_1100.py index 4cccc4ae5..638a33734 100644 --- a/githubkit/versions/v2022_11_28/types/group_1100.py +++ b/githubkit/versions/v2022_11_28/types/group_1100.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCollaboratorsUsernamePutBodyType(TypedDict): permission: NotRequired[str] -__all__ = ("ReposOwnerRepoCollaboratorsUsernamePutBodyType",) +class ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCollaboratorsUsernamePutBody""" + + permission: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoCollaboratorsUsernamePutBodyType", + "ReposOwnerRepoCollaboratorsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1101.py b/githubkit/versions/v2022_11_28/types/group_1101.py index 25f26d78b..b5db7ecb2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1101.py +++ b/githubkit/versions/v2022_11_28/types/group_1101.py @@ -18,4 +18,13 @@ class ReposOwnerRepoCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoCommentsCommentIdPatchBodyType", + "ReposOwnerRepoCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1102.py b/githubkit/versions/v2022_11_28/types/group_1102.py index ce91eec32..88b06dc01 100644 --- a/githubkit/versions/v2022_11_28/types/group_1102.py +++ b/githubkit/versions/v2022_11_28/types/group_1102.py @@ -21,4 +21,15 @@ class ReposOwnerRepoCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1103.py b/githubkit/versions/v2022_11_28/types/group_1103.py index 36d63c915..ec73c0956 100644 --- a/githubkit/versions/v2022_11_28/types/group_1103.py +++ b/githubkit/versions/v2022_11_28/types/group_1103.py @@ -21,4 +21,16 @@ class ReposOwnerRepoCommitsCommitShaCommentsPostBodyType(TypedDict): line: NotRequired[int] -__all__ = ("ReposOwnerRepoCommitsCommitShaCommentsPostBodyType",) +class ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoCommitsCommitShaCommentsPostBody""" + + body: str + path: NotRequired[str] + position: NotRequired[int] + line: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyType", + "ReposOwnerRepoCommitsCommitShaCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1104.py b/githubkit/versions/v2022_11_28/types/group_1104.py index 919fa0fe2..b5162e2d4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1104.py +++ b/githubkit/versions/v2022_11_28/types/group_1104.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0263 import CheckRunType +from .group_0263 import CheckRunType, CheckRunTypeForResponse class ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type(TypedDict): check_runs: list[CheckRunType] -__all__ = ("ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type",) +class ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoCommitsRefCheckRunsGetResponse200""" + + total_count: int + check_runs: list[CheckRunTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200Type", + "ReposOwnerRepoCommitsRefCheckRunsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1105.py b/githubkit/versions/v2022_11_28/types/group_1105.py index a33d63ac7..479a4f4d5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1105.py +++ b/githubkit/versions/v2022_11_28/types/group_1105.py @@ -23,6 +23,19 @@ class ReposOwnerRepoContentsPathPutBodyType(TypedDict): author: NotRequired[ReposOwnerRepoContentsPathPutBodyPropAuthorType] +class ReposOwnerRepoContentsPathPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBody""" + + message: str + content: str + sha: NotRequired[str] + branch: NotRequired[str] + committer: NotRequired[ + ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse + ] + author: NotRequired[ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse] + + class ReposOwnerRepoContentsPathPutBodyPropCommitterType(TypedDict): """ReposOwnerRepoContentsPathPutBodyPropCommitter @@ -34,6 +47,17 @@ class ReposOwnerRepoContentsPathPutBodyPropCommitterType(TypedDict): date: NotRequired[str] +class ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBodyPropCommitter + + The person that committed the file. Default: the authenticated user. + """ + + name: str + email: str + date: NotRequired[str] + + class ReposOwnerRepoContentsPathPutBodyPropAuthorType(TypedDict): """ReposOwnerRepoContentsPathPutBodyPropAuthor @@ -46,8 +70,23 @@ class ReposOwnerRepoContentsPathPutBodyPropAuthorType(TypedDict): date: NotRequired[str] +class ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathPutBodyPropAuthor + + The author of the file. Default: The `committer` or the authenticated user if + you omit `committer`. + """ + + name: str + email: str + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoContentsPathPutBodyPropAuthorType", + "ReposOwnerRepoContentsPathPutBodyPropAuthorTypeForResponse", "ReposOwnerRepoContentsPathPutBodyPropCommitterType", + "ReposOwnerRepoContentsPathPutBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathPutBodyType", + "ReposOwnerRepoContentsPathPutBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1106.py b/githubkit/versions/v2022_11_28/types/group_1106.py index 1a6415115..c07749c22 100644 --- a/githubkit/versions/v2022_11_28/types/group_1106.py +++ b/githubkit/versions/v2022_11_28/types/group_1106.py @@ -22,6 +22,18 @@ class ReposOwnerRepoContentsPathDeleteBodyType(TypedDict): author: NotRequired[ReposOwnerRepoContentsPathDeleteBodyPropAuthorType] +class ReposOwnerRepoContentsPathDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBody""" + + message: str + sha: str + branch: NotRequired[str] + committer: NotRequired[ + ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse + ] + author: NotRequired[ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse] + + class ReposOwnerRepoContentsPathDeleteBodyPropCommitterType(TypedDict): """ReposOwnerRepoContentsPathDeleteBodyPropCommitter @@ -32,6 +44,16 @@ class ReposOwnerRepoContentsPathDeleteBodyPropCommitterType(TypedDict): email: NotRequired[str] +class ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBodyPropCommitter + + object containing information about the committer. + """ + + name: NotRequired[str] + email: NotRequired[str] + + class ReposOwnerRepoContentsPathDeleteBodyPropAuthorType(TypedDict): """ReposOwnerRepoContentsPathDeleteBodyPropAuthor @@ -42,8 +64,21 @@ class ReposOwnerRepoContentsPathDeleteBodyPropAuthorType(TypedDict): email: NotRequired[str] +class ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoContentsPathDeleteBodyPropAuthor + + object containing information about the author. + """ + + name: NotRequired[str] + email: NotRequired[str] + + __all__ = ( "ReposOwnerRepoContentsPathDeleteBodyPropAuthorType", + "ReposOwnerRepoContentsPathDeleteBodyPropAuthorTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyPropCommitterType", + "ReposOwnerRepoContentsPathDeleteBodyPropCommitterTypeForResponse", "ReposOwnerRepoContentsPathDeleteBodyType", + "ReposOwnerRepoContentsPathDeleteBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1107.py b/githubkit/versions/v2022_11_28/types/group_1107.py index b6eb59e50..5755a08cf 100644 --- a/githubkit/versions/v2022_11_28/types/group_1107.py +++ b/githubkit/versions/v2022_11_28/types/group_1107.py @@ -25,4 +25,19 @@ class ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType(TypedDict): dismissed_comment: NotRequired[str] -__all__ = ("ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType",) +class ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDependabotAlertsAlertNumberPatchBody""" + + state: Literal["dismissed", "open"] + dismissed_reason: NotRequired[ + Literal[ + "fix_started", "inaccurate", "no_bandwidth", "not_used", "tolerable_risk" + ] + ] + dismissed_comment: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyType", + "ReposOwnerRepoDependabotAlertsAlertNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1108.py b/githubkit/versions/v2022_11_28/types/group_1108.py index 61528dc95..f11e3c86d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1108.py +++ b/githubkit/versions/v2022_11_28/types/group_1108.py @@ -20,6 +20,13 @@ class ReposOwnerRepoDependabotSecretsGetResponse200Type(TypedDict): secrets: list[DependabotSecretType] +class ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse(TypedDict): + """ReposOwnerRepoDependabotSecretsGetResponse200""" + + total_count: int + secrets: list[DependabotSecretTypeForResponse] + + class DependabotSecretType(TypedDict): """Dependabot Secret @@ -31,7 +38,20 @@ class DependabotSecretType(TypedDict): updated_at: datetime +class DependabotSecretTypeForResponse(TypedDict): + """Dependabot Secret + + Set secrets for Dependabot. + """ + + name: str + created_at: str + updated_at: str + + __all__ = ( "DependabotSecretType", + "DependabotSecretTypeForResponse", "ReposOwnerRepoDependabotSecretsGetResponse200Type", + "ReposOwnerRepoDependabotSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1109.py b/githubkit/versions/v2022_11_28/types/group_1109.py index 95231af1a..8b175fc17 100644 --- a/githubkit/versions/v2022_11_28/types/group_1109.py +++ b/githubkit/versions/v2022_11_28/types/group_1109.py @@ -19,4 +19,14 @@ class ReposOwnerRepoDependabotSecretsSecretNamePutBodyType(TypedDict): key_id: NotRequired[str] -__all__ = ("ReposOwnerRepoDependabotSecretsSecretNamePutBodyType",) +class ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDependabotSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyType", + "ReposOwnerRepoDependabotSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1110.py b/githubkit/versions/v2022_11_28/types/group_1110.py index 6e9243ec2..e54e835a3 100644 --- a/githubkit/versions/v2022_11_28/types/group_1110.py +++ b/githubkit/versions/v2022_11_28/types/group_1110.py @@ -21,4 +21,16 @@ class ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type(TypedDict): message: str -__all__ = ("ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type",) +class ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse(TypedDict): + """ReposOwnerRepoDependencyGraphSnapshotsPostResponse201""" + + id: int + created_at: str + result: str + message: str + + +__all__ = ( + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201Type", + "ReposOwnerRepoDependencyGraphSnapshotsPostResponse201TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1111.py b/githubkit/versions/v2022_11_28/types/group_1111.py index 149bc226e..01f9fb21a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1111.py +++ b/githubkit/versions/v2022_11_28/types/group_1111.py @@ -29,12 +29,37 @@ class ReposOwnerRepoDeploymentsPostBodyType(TypedDict): production_environment: NotRequired[bool] +class ReposOwnerRepoDeploymentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsPostBody""" + + ref: str + task: NotRequired[str] + auto_merge: NotRequired[bool] + required_contexts: NotRequired[list[str]] + payload: NotRequired[ + Union[ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse, str] + ] + environment: NotRequired[str] + description: NotRequired[Union[str, None]] + transient_environment: NotRequired[bool] + production_environment: NotRequired[bool] + + ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type: TypeAlias = dict[str, Any] """ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0 """ +ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0 +""" + + __all__ = ( "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0Type", + "ReposOwnerRepoDeploymentsPostBodyPropPayloadOneof0TypeForResponse", "ReposOwnerRepoDeploymentsPostBodyType", + "ReposOwnerRepoDeploymentsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1112.py b/githubkit/versions/v2022_11_28/types/group_1112.py index 8dce1979d..1bb0ecaf7 100644 --- a/githubkit/versions/v2022_11_28/types/group_1112.py +++ b/githubkit/versions/v2022_11_28/types/group_1112.py @@ -18,4 +18,13 @@ class ReposOwnerRepoDeploymentsPostResponse202Type(TypedDict): message: NotRequired[str] -__all__ = ("ReposOwnerRepoDeploymentsPostResponse202Type",) +class ReposOwnerRepoDeploymentsPostResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsPostResponse202""" + + message: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoDeploymentsPostResponse202Type", + "ReposOwnerRepoDeploymentsPostResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1113.py b/githubkit/versions/v2022_11_28/types/group_1113.py index cc93f9515..58745a48f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1113.py +++ b/githubkit/versions/v2022_11_28/types/group_1113.py @@ -27,4 +27,21 @@ class ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType(TypedDict): auto_inactive: NotRequired[bool] -__all__ = ("ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType",) +class ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBody""" + + state: Literal[ + "error", "failure", "inactive", "in_progress", "queued", "pending", "success" + ] + target_url: NotRequired[str] + log_url: NotRequired[str] + description: NotRequired[str] + environment: NotRequired[str] + environment_url: NotRequired[str] + auto_inactive: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyType", + "ReposOwnerRepoDeploymentsDeploymentIdStatusesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1114.py b/githubkit/versions/v2022_11_28/types/group_1114.py index d1e750ab3..253867e6d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1114.py +++ b/githubkit/versions/v2022_11_28/types/group_1114.py @@ -20,6 +20,15 @@ class ReposOwnerRepoDispatchesPostBodyType(TypedDict): client_payload: NotRequired[ReposOwnerRepoDispatchesPostBodyPropClientPayloadType] +class ReposOwnerRepoDispatchesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoDispatchesPostBody""" + + event_type: str + client_payload: NotRequired[ + ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse + ] + + ReposOwnerRepoDispatchesPostBodyPropClientPayloadType: TypeAlias = dict[str, Any] """ReposOwnerRepoDispatchesPostBodyPropClientPayload @@ -29,7 +38,20 @@ class ReposOwnerRepoDispatchesPostBodyType(TypedDict): """ +ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse: TypeAlias = dict[ + str, Any +] +"""ReposOwnerRepoDispatchesPostBodyPropClientPayload + +JSON payload with extra information about the webhook event that your action or +workflow may use. The maximum number of top-level properties is 10. The total +size of the JSON payload must be less than 64KB. +""" + + __all__ = ( "ReposOwnerRepoDispatchesPostBodyPropClientPayloadType", + "ReposOwnerRepoDispatchesPostBodyPropClientPayloadTypeForResponse", "ReposOwnerRepoDispatchesPostBodyType", + "ReposOwnerRepoDispatchesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1115.py b/githubkit/versions/v2022_11_28/types/group_1115.py index 49e949a45..511462b48 100644 --- a/githubkit/versions/v2022_11_28/types/group_1115.py +++ b/githubkit/versions/v2022_11_28/types/group_1115.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0314 import DeploymentBranchPolicySettingsType +from .group_0314 import ( + DeploymentBranchPolicySettingsType, + DeploymentBranchPolicySettingsTypeForResponse, +) class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType(TypedDict): @@ -33,6 +36,24 @@ class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType(TypedDict): ] +class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoEnvironmentsEnvironmentNamePutBody""" + + wait_timer: NotRequired[int] + prevent_self_review: NotRequired[bool] + reviewers: NotRequired[ + Union[ + list[ + ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse + ], + None, + ] + ] + deployment_branch_policy: NotRequired[ + Union[DeploymentBranchPolicySettingsTypeForResponse, None] + ] + + class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType(TypedDict): """ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItems""" @@ -40,7 +61,18 @@ class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType(Typ id: NotRequired[int] +class ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItems""" + + type: NotRequired[Literal["User", "Team"]] + id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyPropReviewersItemsTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNamePutBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1116.py b/githubkit/versions/v2022_11_28/types/group_1116.py index ab59e0b4e..e3ebc6bc4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1116.py +++ b/githubkit/versions/v2022_11_28/types/group_1116.py @@ -22,6 +22,15 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetRespon branch_policies: list[DeploymentBranchPolicyType] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200""" + + total_count: int + branch_policies: list[DeploymentBranchPolicyTypeForResponse] + + class DeploymentBranchPolicyType(TypedDict): """Deployment branch policy @@ -34,7 +43,21 @@ class DeploymentBranchPolicyType(TypedDict): type: NotRequired[Literal["branch", "tag"]] +class DeploymentBranchPolicyTypeForResponse(TypedDict): + """Deployment branch policy + + Details of a deployment branch or tag policy. + """ + + id: NotRequired[int] + node_id: NotRequired[str] + name: NotRequired[str] + type: NotRequired[Literal["branch", "tag"]] + + __all__ = ( "DeploymentBranchPolicyType", + "DeploymentBranchPolicyTypeForResponse", "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentBranchPoliciesGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1117.py b/githubkit/versions/v2022_11_28/types/group_1117.py index bb2b4e614..701f0b27f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1117.py +++ b/githubkit/versions/v2022_11_28/types/group_1117.py @@ -20,6 +20,15 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBody integration_id: NotRequired[int] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBody""" + + integration_id: NotRequired[int] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1118.py b/githubkit/versions/v2022_11_28/types/group_1118.py index 30ce90fb5..6ccb35fbd 100644 --- a/githubkit/versions/v2022_11_28/types/group_1118.py +++ b/githubkit/versions/v2022_11_28/types/group_1118.py @@ -11,7 +11,10 @@ from typing_extensions import NotRequired, TypedDict -from .group_0320 import CustomDeploymentRuleAppType +from .group_0320 import ( + CustomDeploymentRuleAppType, + CustomDeploymentRuleAppTypeForResponse, +) class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type( @@ -27,6 +30,20 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetR ] +class ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetRespons + e200 + """ + + total_count: NotRequired[int] + available_custom_deployment_protection_rule_integrations: NotRequired[ + list[CustomDeploymentRuleAppTypeForResponse] + ] + + __all__ = ( "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameDeploymentProtectionRulesAppsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1119.py b/githubkit/versions/v2022_11_28/types/group_1119.py index c1b06bee3..74d5b93e0 100644 --- a/githubkit/versions/v2022_11_28/types/group_1119.py +++ b/githubkit/versions/v2022_11_28/types/group_1119.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0231 import ActionsSecretType +from .group_0231 import ActionsSecretType, ActionsSecretTypeForResponse class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type(TypedDi secrets: list[ActionsSecretType] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type",) +class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200""" + + total_count: int + secrets: list[ActionsSecretTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1120.py b/githubkit/versions/v2022_11_28/types/group_1120.py index 3ec440fb1..7cde60b5b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1120.py +++ b/githubkit/versions/v2022_11_28/types/group_1120.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType(Type key_id: str -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBody""" + + encrypted_value: str + key_id: str + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1121.py b/githubkit/versions/v2022_11_28/types/group_1121.py index 63acd29b7..8e58194c8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1121.py +++ b/githubkit/versions/v2022_11_28/types/group_1121.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0232 import ActionsVariableType +from .group_0232 import ActionsVariableType, ActionsVariableTypeForResponse class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type(Typed variables: list[ActionsVariableType] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200""" + + total_count: int + variables: list[ActionsVariableTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200Type", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1122.py b/githubkit/versions/v2022_11_28/types/group_1122.py index f3a29926f..07331907c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1122.py +++ b/githubkit/versions/v2022_11_28/types/group_1122.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType(TypedDict): value: str -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBody""" + + name: str + value: str + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1123.py b/githubkit/versions/v2022_11_28/types/group_1123.py index adee73102..970632a76 100644 --- a/githubkit/versions/v2022_11_28/types/group_1123.py +++ b/githubkit/versions/v2022_11_28/types/group_1123.py @@ -19,4 +19,16 @@ class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType(TypedD value: NotRequired[str] -__all__ = ("ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType",) +class ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBody""" + + name: NotRequired[str] + value: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyType", + "ReposOwnerRepoEnvironmentsEnvironmentNameVariablesNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1124.py b/githubkit/versions/v2022_11_28/types/group_1124.py index eb686a699..f3018ca74 100644 --- a/githubkit/versions/v2022_11_28/types/group_1124.py +++ b/githubkit/versions/v2022_11_28/types/group_1124.py @@ -20,4 +20,15 @@ class ReposOwnerRepoForksPostBodyType(TypedDict): default_branch_only: NotRequired[bool] -__all__ = ("ReposOwnerRepoForksPostBodyType",) +class ReposOwnerRepoForksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoForksPostBody""" + + organization: NotRequired[str] + name: NotRequired[str] + default_branch_only: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoForksPostBodyType", + "ReposOwnerRepoForksPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1125.py b/githubkit/versions/v2022_11_28/types/group_1125.py index 4c2ef3730..34eb5e712 100644 --- a/githubkit/versions/v2022_11_28/types/group_1125.py +++ b/githubkit/versions/v2022_11_28/types/group_1125.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitBlobsPostBodyType(TypedDict): encoding: NotRequired[str] -__all__ = ("ReposOwnerRepoGitBlobsPostBodyType",) +class ReposOwnerRepoGitBlobsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitBlobsPostBody""" + + content: str + encoding: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoGitBlobsPostBodyType", + "ReposOwnerRepoGitBlobsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1126.py b/githubkit/versions/v2022_11_28/types/group_1126.py index 73106315f..67b434a6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1126.py +++ b/githubkit/versions/v2022_11_28/types/group_1126.py @@ -24,6 +24,17 @@ class ReposOwnerRepoGitCommitsPostBodyType(TypedDict): signature: NotRequired[str] +class ReposOwnerRepoGitCommitsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBody""" + + message: str + tree: str + parents: NotRequired[list[str]] + author: NotRequired[ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse] + committer: NotRequired[ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse] + signature: NotRequired[str] + + class ReposOwnerRepoGitCommitsPostBodyPropAuthorType(TypedDict): """ReposOwnerRepoGitCommitsPostBodyPropAuthor @@ -37,6 +48,19 @@ class ReposOwnerRepoGitCommitsPostBodyPropAuthorType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBodyPropAuthor + + Information about the author of the commit. By default, the `author` will be the + authenticated user and the current date. See the `author` and `committer` object + below for details. + """ + + name: str + email: str + date: NotRequired[str] + + class ReposOwnerRepoGitCommitsPostBodyPropCommitterType(TypedDict): """ReposOwnerRepoGitCommitsPostBodyPropCommitter @@ -50,8 +74,24 @@ class ReposOwnerRepoGitCommitsPostBodyPropCommitterType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse(TypedDict): + """ReposOwnerRepoGitCommitsPostBodyPropCommitter + + Information about the person who is making the commit. By default, `committer` + will use the information set in `author`. See the `author` and `committer` + object below for details. + """ + + name: NotRequired[str] + email: NotRequired[str] + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitCommitsPostBodyPropAuthorType", + "ReposOwnerRepoGitCommitsPostBodyPropAuthorTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyPropCommitterType", + "ReposOwnerRepoGitCommitsPostBodyPropCommitterTypeForResponse", "ReposOwnerRepoGitCommitsPostBodyType", + "ReposOwnerRepoGitCommitsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1127.py b/githubkit/versions/v2022_11_28/types/group_1127.py index aa4d83aff..b7cfdea48 100644 --- a/githubkit/versions/v2022_11_28/types/group_1127.py +++ b/githubkit/versions/v2022_11_28/types/group_1127.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitRefsPostBodyType(TypedDict): sha: str -__all__ = ("ReposOwnerRepoGitRefsPostBodyType",) +class ReposOwnerRepoGitRefsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitRefsPostBody""" + + ref: str + sha: str + + +__all__ = ( + "ReposOwnerRepoGitRefsPostBodyType", + "ReposOwnerRepoGitRefsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1128.py b/githubkit/versions/v2022_11_28/types/group_1128.py index 95219ce12..a69edeb0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1128.py +++ b/githubkit/versions/v2022_11_28/types/group_1128.py @@ -19,4 +19,14 @@ class ReposOwnerRepoGitRefsRefPatchBodyType(TypedDict): force: NotRequired[bool] -__all__ = ("ReposOwnerRepoGitRefsRefPatchBodyType",) +class ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitRefsRefPatchBody""" + + sha: str + force: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoGitRefsRefPatchBodyType", + "ReposOwnerRepoGitRefsRefPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1129.py b/githubkit/versions/v2022_11_28/types/group_1129.py index bf927c780..5d6b9b1a5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1129.py +++ b/githubkit/versions/v2022_11_28/types/group_1129.py @@ -24,6 +24,16 @@ class ReposOwnerRepoGitTagsPostBodyType(TypedDict): tagger: NotRequired[ReposOwnerRepoGitTagsPostBodyPropTaggerType] +class ReposOwnerRepoGitTagsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitTagsPostBody""" + + tag: str + message: str + object_: str + type: Literal["commit", "tree", "blob"] + tagger: NotRequired[ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse] + + class ReposOwnerRepoGitTagsPostBodyPropTaggerType(TypedDict): """ReposOwnerRepoGitTagsPostBodyPropTagger @@ -35,7 +45,20 @@ class ReposOwnerRepoGitTagsPostBodyPropTaggerType(TypedDict): date: NotRequired[datetime] +class ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse(TypedDict): + """ReposOwnerRepoGitTagsPostBodyPropTagger + + An object with information about the individual creating the tag. + """ + + name: str + email: str + date: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitTagsPostBodyPropTaggerType", + "ReposOwnerRepoGitTagsPostBodyPropTaggerTypeForResponse", "ReposOwnerRepoGitTagsPostBodyType", + "ReposOwnerRepoGitTagsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1130.py b/githubkit/versions/v2022_11_28/types/group_1130.py index 62d4e64ac..e97357ea9 100644 --- a/githubkit/versions/v2022_11_28/types/group_1130.py +++ b/githubkit/versions/v2022_11_28/types/group_1130.py @@ -20,6 +20,13 @@ class ReposOwnerRepoGitTreesPostBodyType(TypedDict): base_tree: NotRequired[str] +class ReposOwnerRepoGitTreesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoGitTreesPostBody""" + + tree: list[ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse] + base_tree: NotRequired[str] + + class ReposOwnerRepoGitTreesPostBodyPropTreeItemsType(TypedDict): """ReposOwnerRepoGitTreesPostBodyPropTreeItems""" @@ -30,7 +37,19 @@ class ReposOwnerRepoGitTreesPostBodyPropTreeItemsType(TypedDict): content: NotRequired[str] +class ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse(TypedDict): + """ReposOwnerRepoGitTreesPostBodyPropTreeItems""" + + path: NotRequired[str] + mode: NotRequired[Literal["100644", "100755", "040000", "160000", "120000"]] + type: NotRequired[Literal["blob", "tree", "commit"]] + sha: NotRequired[Union[str, None]] + content: NotRequired[str] + + __all__ = ( "ReposOwnerRepoGitTreesPostBodyPropTreeItemsType", + "ReposOwnerRepoGitTreesPostBodyPropTreeItemsTypeForResponse", "ReposOwnerRepoGitTreesPostBodyType", + "ReposOwnerRepoGitTreesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1131.py b/githubkit/versions/v2022_11_28/types/group_1131.py index 44bb98073..1eb67a094 100644 --- a/githubkit/versions/v2022_11_28/types/group_1131.py +++ b/githubkit/versions/v2022_11_28/types/group_1131.py @@ -22,6 +22,15 @@ class ReposOwnerRepoHooksPostBodyType(TypedDict): active: NotRequired[bool] +class ReposOwnerRepoHooksPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksPostBody""" + + name: NotRequired[str] + config: NotRequired[ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse] + events: NotRequired[list[str]] + active: NotRequired[bool] + + class ReposOwnerRepoHooksPostBodyPropConfigType(TypedDict): """ReposOwnerRepoHooksPostBodyPropConfig @@ -34,7 +43,21 @@ class ReposOwnerRepoHooksPostBodyPropConfigType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] +class ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse(TypedDict): + """ReposOwnerRepoHooksPostBodyPropConfig + + Key/value pairs to provide settings for this webhook. + """ + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + __all__ = ( "ReposOwnerRepoHooksPostBodyPropConfigType", + "ReposOwnerRepoHooksPostBodyPropConfigTypeForResponse", "ReposOwnerRepoHooksPostBodyType", + "ReposOwnerRepoHooksPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1132.py b/githubkit/versions/v2022_11_28/types/group_1132.py index 616829ef4..4e9c19e4d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1132.py +++ b/githubkit/versions/v2022_11_28/types/group_1132.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0011 import WebhookConfigType +from .group_0011 import WebhookConfigType, WebhookConfigTypeForResponse class ReposOwnerRepoHooksHookIdPatchBodyType(TypedDict): @@ -24,4 +24,17 @@ class ReposOwnerRepoHooksHookIdPatchBodyType(TypedDict): active: NotRequired[bool] -__all__ = ("ReposOwnerRepoHooksHookIdPatchBodyType",) +class ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksHookIdPatchBody""" + + config: NotRequired[WebhookConfigTypeForResponse] + events: NotRequired[list[str]] + add_events: NotRequired[list[str]] + remove_events: NotRequired[list[str]] + active: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoHooksHookIdPatchBodyType", + "ReposOwnerRepoHooksHookIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1133.py b/githubkit/versions/v2022_11_28/types/group_1133.py index 2de12ce93..6509f2dd6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1133.py +++ b/githubkit/versions/v2022_11_28/types/group_1133.py @@ -22,4 +22,16 @@ class ReposOwnerRepoHooksHookIdConfigPatchBodyType(TypedDict): insecure_ssl: NotRequired[Union[str, float]] -__all__ = ("ReposOwnerRepoHooksHookIdConfigPatchBodyType",) +class ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoHooksHookIdConfigPatchBody""" + + url: NotRequired[str] + content_type: NotRequired[str] + secret: NotRequired[str] + insecure_ssl: NotRequired[Union[str, float]] + + +__all__ = ( + "ReposOwnerRepoHooksHookIdConfigPatchBodyType", + "ReposOwnerRepoHooksHookIdConfigPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1134.py b/githubkit/versions/v2022_11_28/types/group_1134.py index 02673d9bf..39298df0f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1134.py +++ b/githubkit/versions/v2022_11_28/types/group_1134.py @@ -23,4 +23,17 @@ class ReposOwnerRepoImportPutBodyType(TypedDict): tfvc_project: NotRequired[str] -__all__ = ("ReposOwnerRepoImportPutBodyType",) +class ReposOwnerRepoImportPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportPutBody""" + + vcs_url: str + vcs: NotRequired[Literal["subversion", "git", "mercurial", "tfvc"]] + vcs_username: NotRequired[str] + vcs_password: NotRequired[str] + tfvc_project: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportPutBodyType", + "ReposOwnerRepoImportPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1135.py b/githubkit/versions/v2022_11_28/types/group_1135.py index 5f68422b7..db7c13f24 100644 --- a/githubkit/versions/v2022_11_28/types/group_1135.py +++ b/githubkit/versions/v2022_11_28/types/group_1135.py @@ -22,4 +22,16 @@ class ReposOwnerRepoImportPatchBodyType(TypedDict): tfvc_project: NotRequired[str] -__all__ = ("ReposOwnerRepoImportPatchBodyType",) +class ReposOwnerRepoImportPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportPatchBody""" + + vcs_username: NotRequired[str] + vcs_password: NotRequired[str] + vcs: NotRequired[Literal["subversion", "tfvc", "git", "mercurial"]] + tfvc_project: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportPatchBodyType", + "ReposOwnerRepoImportPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1136.py b/githubkit/versions/v2022_11_28/types/group_1136.py index f2dee5034..edd86a6b3 100644 --- a/githubkit/versions/v2022_11_28/types/group_1136.py +++ b/githubkit/versions/v2022_11_28/types/group_1136.py @@ -19,4 +19,14 @@ class ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType(TypedDict): name: NotRequired[str] -__all__ = ("ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType",) +class ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportAuthorsAuthorIdPatchBody""" + + email: NotRequired[str] + name: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyType", + "ReposOwnerRepoImportAuthorsAuthorIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1137.py b/githubkit/versions/v2022_11_28/types/group_1137.py index f8207f6ea..64c646ee8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1137.py +++ b/githubkit/versions/v2022_11_28/types/group_1137.py @@ -19,4 +19,13 @@ class ReposOwnerRepoImportLfsPatchBodyType(TypedDict): use_lfs: Literal["opt_in", "opt_out"] -__all__ = ("ReposOwnerRepoImportLfsPatchBodyType",) +class ReposOwnerRepoImportLfsPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoImportLfsPatchBody""" + + use_lfs: Literal["opt_in", "opt_out"] + + +__all__ = ( + "ReposOwnerRepoImportLfsPatchBodyType", + "ReposOwnerRepoImportLfsPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1138.py b/githubkit/versions/v2022_11_28/types/group_1138.py index ca60a7364..cdf049ad5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1138.py +++ b/githubkit/versions/v2022_11_28/types/group_1138.py @@ -16,4 +16,11 @@ class ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type(TypedDict): """ReposOwnerRepoInteractionLimitsGetResponse200Anyof1""" -__all__ = ("ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type",) +class ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """ReposOwnerRepoInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1Type", + "ReposOwnerRepoInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1139.py b/githubkit/versions/v2022_11_28/types/group_1139.py index 9285f63d1..b39f23d54 100644 --- a/githubkit/versions/v2022_11_28/types/group_1139.py +++ b/githubkit/versions/v2022_11_28/types/group_1139.py @@ -19,4 +19,13 @@ class ReposOwnerRepoInvitationsInvitationIdPatchBodyType(TypedDict): permissions: NotRequired[Literal["read", "write", "maintain", "triage", "admin"]] -__all__ = ("ReposOwnerRepoInvitationsInvitationIdPatchBodyType",) +class ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoInvitationsInvitationIdPatchBody""" + + permissions: NotRequired[Literal["read", "write", "maintain", "triage", "admin"]] + + +__all__ = ( + "ReposOwnerRepoInvitationsInvitationIdPatchBodyType", + "ReposOwnerRepoInvitationsInvitationIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1140.py b/githubkit/versions/v2022_11_28/types/group_1140.py index 9bb94a509..ac0e75a50 100644 --- a/githubkit/versions/v2022_11_28/types/group_1140.py +++ b/githubkit/versions/v2022_11_28/types/group_1140.py @@ -27,6 +27,22 @@ class ReposOwnerRepoIssuesPostBodyType(TypedDict): type: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesPostBody""" + + title: Union[str, int] + body: NotRequired[str] + assignee: NotRequired[Union[str, None]] + milestone: NotRequired[Union[str, int, None]] + labels: NotRequired[ + list[ + Union[str, ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse] + ] + ] + assignees: NotRequired[list[str]] + type: NotRequired[Union[str, None]] + + class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type(TypedDict): """ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1""" @@ -36,7 +52,18 @@ class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type(TypedDict): color: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1""" + + id: NotRequired[int] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + + __all__ = ( "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesPostBodyPropLabelsItemsOneof1TypeForResponse", "ReposOwnerRepoIssuesPostBodyType", + "ReposOwnerRepoIssuesPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1141.py b/githubkit/versions/v2022_11_28/types/group_1141.py index 4b0c546c3..65b54721a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1141.py +++ b/githubkit/versions/v2022_11_28/types/group_1141.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1142.py b/githubkit/versions/v2022_11_28/types/group_1142.py index 77f77960c..ce295e480 100644 --- a/githubkit/versions/v2022_11_28/types/group_1142.py +++ b/githubkit/versions/v2022_11_28/types/group_1142.py @@ -21,4 +21,15 @@ class ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoIssuesCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1143.py b/githubkit/versions/v2022_11_28/types/group_1143.py index 0edea8a41..8c1912b28 100644 --- a/githubkit/versions/v2022_11_28/types/group_1143.py +++ b/githubkit/versions/v2022_11_28/types/group_1143.py @@ -35,6 +35,29 @@ class ReposOwnerRepoIssuesIssueNumberPatchBodyType(TypedDict): type: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberPatchBody""" + + title: NotRequired[Union[str, int, None]] + body: NotRequired[Union[str, None]] + assignee: NotRequired[Union[str, None]] + state: NotRequired[Literal["open", "closed"]] + state_reason: NotRequired[ + Union[None, Literal["completed", "not_planned", "duplicate", "reopened"]] + ] + milestone: NotRequired[Union[str, int, None]] + labels: NotRequired[ + list[ + Union[ + str, + ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse, + ] + ] + ] + assignees: NotRequired[list[str]] + type: NotRequired[Union[str, None]] + + class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type(TypedDict): """ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1""" @@ -44,7 +67,20 @@ class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type(TypedDic color: NotRequired[Union[str, None]] +class ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1""" + + id: NotRequired[int] + name: NotRequired[str] + description: NotRequired[Union[str, None]] + color: NotRequired[Union[str, None]] + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1Type", + "ReposOwnerRepoIssuesIssueNumberPatchBodyPropLabelsItemsOneof1TypeForResponse", "ReposOwnerRepoIssuesIssueNumberPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberPatchBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1144.py b/githubkit/versions/v2022_11_28/types/group_1144.py index 0f0f4ae84..fc2cfa6ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_1144.py +++ b/githubkit/versions/v2022_11_28/types/group_1144.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType(TypedDict): assignees: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberAssigneesPostBody""" + + assignees: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1145.py b/githubkit/versions/v2022_11_28/types/group_1145.py index 2795b587e..8f1ce9c87 100644 --- a/githubkit/versions/v2022_11_28/types/group_1145.py +++ b/githubkit/versions/v2022_11_28/types/group_1145.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType(TypedDict): assignees: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType",) +class ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBody""" + + assignees: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberAssigneesDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1146.py b/githubkit/versions/v2022_11_28/types/group_1146.py index 2585a1e0c..042edef28 100644 --- a/githubkit/versions/v2022_11_28/types/group_1146.py +++ b/githubkit/versions/v2022_11_28/types/group_1146.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1147.py b/githubkit/versions/v2022_11_28/types/group_1147.py index b013b28ee..e064589ec 100644 --- a/githubkit/versions/v2022_11_28/types/group_1147.py +++ b/githubkit/versions/v2022_11_28/types/group_1147.py @@ -18,4 +18,15 @@ class ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType(TypedDict issue_id: int -__all__ = ("ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBody""" + + issue_id: int + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyType", + "ReposOwnerRepoIssuesIssueNumberDependenciesBlockedByPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1148.py b/githubkit/versions/v2022_11_28/types/group_1148.py index 8653eeddb..506cedab4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1148.py +++ b/githubkit/versions/v2022_11_28/types/group_1148.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type(TypedDict): labels: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type",) +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0""" + + labels: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1149.py b/githubkit/versions/v2022_11_28/types/group_1149.py index 28a5135d1..15c8e2a5b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1149.py +++ b/githubkit/versions/v2022_11_28/types/group_1149.py @@ -20,13 +20,33 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type(TypedDict): ] +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2""" + + labels: NotRequired[ + list[ + ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType(TypedDict): """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItems""" name: str +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItems""" + + name: str + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2PropLabelsItemsTypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof2TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1150.py b/githubkit/versions/v2022_11_28/types/group_1150.py index 4b61c7722..b5284c340 100644 --- a/githubkit/versions/v2022_11_28/types/group_1150.py +++ b/githubkit/versions/v2022_11_28/types/group_1150.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType(TypedDict): name: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType",) +class ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3Items""" + + name: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPutBodyOneof3ItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1151.py b/githubkit/versions/v2022_11_28/types/group_1151.py index a0fe1957d..8179f42b2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1151.py +++ b/githubkit/versions/v2022_11_28/types/group_1151.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type(TypedDict): labels: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type",) +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0""" + + labels: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1152.py b/githubkit/versions/v2022_11_28/types/group_1152.py index 672fc26ff..dd9fb92e8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1152.py +++ b/githubkit/versions/v2022_11_28/types/group_1152.py @@ -20,13 +20,33 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type(TypedDict): ] +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2""" + + labels: NotRequired[ + list[ + ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType(TypedDict): """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItems""" name: str +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItems""" + + name: str + + __all__ = ( "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2PropLabelsItemsTypeForResponse", "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2Type", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof2TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1153.py b/githubkit/versions/v2022_11_28/types/group_1153.py index 6872247a2..d3cf5f467 100644 --- a/githubkit/versions/v2022_11_28/types/group_1153.py +++ b/githubkit/versions/v2022_11_28/types/group_1153.py @@ -18,4 +18,15 @@ class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType(TypedDict): name: str -__all__ = ("ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType",) +class ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3Items""" + + name: str + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsType", + "ReposOwnerRepoIssuesIssueNumberLabelsPostBodyOneof3ItemsTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1154.py b/githubkit/versions/v2022_11_28/types/group_1154.py index 392d8c14f..4f6a94577 100644 --- a/githubkit/versions/v2022_11_28/types/group_1154.py +++ b/githubkit/versions/v2022_11_28/types/group_1154.py @@ -19,4 +19,13 @@ class ReposOwnerRepoIssuesIssueNumberLockPutBodyType(TypedDict): lock_reason: NotRequired[Literal["off-topic", "too heated", "resolved", "spam"]] -__all__ = ("ReposOwnerRepoIssuesIssueNumberLockPutBodyType",) +class ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberLockPutBody""" + + lock_reason: NotRequired[Literal["off-topic", "too heated", "resolved", "spam"]] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberLockPutBodyType", + "ReposOwnerRepoIssuesIssueNumberLockPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1155.py b/githubkit/versions/v2022_11_28/types/group_1155.py index 5d8ff2645..a260da014 100644 --- a/githubkit/versions/v2022_11_28/types/group_1155.py +++ b/githubkit/versions/v2022_11_28/types/group_1155.py @@ -21,4 +21,15 @@ class ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyType", + "ReposOwnerRepoIssuesIssueNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1156.py b/githubkit/versions/v2022_11_28/types/group_1156.py index 6e796683c..0198500a5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1156.py +++ b/githubkit/versions/v2022_11_28/types/group_1156.py @@ -18,4 +18,13 @@ class ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType(TypedDict): sub_issue_id: int -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBody""" + + sub_issue_id: int + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssueDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1157.py b/githubkit/versions/v2022_11_28/types/group_1157.py index 294d951b6..c634c900a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1157.py +++ b/githubkit/versions/v2022_11_28/types/group_1157.py @@ -19,4 +19,14 @@ class ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType(TypedDict): replace_parent: NotRequired[bool] -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoIssuesIssueNumberSubIssuesPostBody""" + + sub_issue_id: int + replace_parent: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1158.py b/githubkit/versions/v2022_11_28/types/group_1158.py index 6ffa90a5b..3a731fc08 100644 --- a/githubkit/versions/v2022_11_28/types/group_1158.py +++ b/githubkit/versions/v2022_11_28/types/group_1158.py @@ -20,4 +20,17 @@ class ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType(TypedDict): before_id: NotRequired[int] -__all__ = ("ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType",) +class ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBody""" + + sub_issue_id: int + after_id: NotRequired[int] + before_id: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyType", + "ReposOwnerRepoIssuesIssueNumberSubIssuesPriorityPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1159.py b/githubkit/versions/v2022_11_28/types/group_1159.py index acb0bbfba..d6bbdb8a4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1159.py +++ b/githubkit/versions/v2022_11_28/types/group_1159.py @@ -20,4 +20,15 @@ class ReposOwnerRepoKeysPostBodyType(TypedDict): read_only: NotRequired[bool] -__all__ = ("ReposOwnerRepoKeysPostBodyType",) +class ReposOwnerRepoKeysPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoKeysPostBody""" + + title: NotRequired[str] + key: str + read_only: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoKeysPostBodyType", + "ReposOwnerRepoKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1160.py b/githubkit/versions/v2022_11_28/types/group_1160.py index 7cc0b1b26..d9e2290ff 100644 --- a/githubkit/versions/v2022_11_28/types/group_1160.py +++ b/githubkit/versions/v2022_11_28/types/group_1160.py @@ -20,4 +20,15 @@ class ReposOwnerRepoLabelsPostBodyType(TypedDict): description: NotRequired[str] -__all__ = ("ReposOwnerRepoLabelsPostBodyType",) +class ReposOwnerRepoLabelsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoLabelsPostBody""" + + name: str + color: NotRequired[str] + description: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoLabelsPostBodyType", + "ReposOwnerRepoLabelsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1161.py b/githubkit/versions/v2022_11_28/types/group_1161.py index 607085961..73428098f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1161.py +++ b/githubkit/versions/v2022_11_28/types/group_1161.py @@ -20,4 +20,15 @@ class ReposOwnerRepoLabelsNamePatchBodyType(TypedDict): description: NotRequired[str] -__all__ = ("ReposOwnerRepoLabelsNamePatchBodyType",) +class ReposOwnerRepoLabelsNamePatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoLabelsNamePatchBody""" + + new_name: NotRequired[str] + color: NotRequired[str] + description: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoLabelsNamePatchBodyType", + "ReposOwnerRepoLabelsNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1162.py b/githubkit/versions/v2022_11_28/types/group_1162.py index ac724c353..8daadd7f0 100644 --- a/githubkit/versions/v2022_11_28/types/group_1162.py +++ b/githubkit/versions/v2022_11_28/types/group_1162.py @@ -18,4 +18,13 @@ class ReposOwnerRepoMergeUpstreamPostBodyType(TypedDict): branch: str -__all__ = ("ReposOwnerRepoMergeUpstreamPostBodyType",) +class ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMergeUpstreamPostBody""" + + branch: str + + +__all__ = ( + "ReposOwnerRepoMergeUpstreamPostBodyType", + "ReposOwnerRepoMergeUpstreamPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1163.py b/githubkit/versions/v2022_11_28/types/group_1163.py index f33bb6f09..1b70808b9 100644 --- a/githubkit/versions/v2022_11_28/types/group_1163.py +++ b/githubkit/versions/v2022_11_28/types/group_1163.py @@ -20,4 +20,15 @@ class ReposOwnerRepoMergesPostBodyType(TypedDict): commit_message: NotRequired[str] -__all__ = ("ReposOwnerRepoMergesPostBodyType",) +class ReposOwnerRepoMergesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMergesPostBody""" + + base: str + head: str + commit_message: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMergesPostBodyType", + "ReposOwnerRepoMergesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1164.py b/githubkit/versions/v2022_11_28/types/group_1164.py index 17d426f88..f62df19e8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1164.py +++ b/githubkit/versions/v2022_11_28/types/group_1164.py @@ -23,4 +23,16 @@ class ReposOwnerRepoMilestonesPostBodyType(TypedDict): due_on: NotRequired[datetime] -__all__ = ("ReposOwnerRepoMilestonesPostBodyType",) +class ReposOwnerRepoMilestonesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMilestonesPostBody""" + + title: str + state: NotRequired[Literal["open", "closed"]] + description: NotRequired[str] + due_on: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMilestonesPostBodyType", + "ReposOwnerRepoMilestonesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1165.py b/githubkit/versions/v2022_11_28/types/group_1165.py index 1eaa2807a..6638929bb 100644 --- a/githubkit/versions/v2022_11_28/types/group_1165.py +++ b/githubkit/versions/v2022_11_28/types/group_1165.py @@ -23,4 +23,16 @@ class ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType(TypedDict): due_on: NotRequired[datetime] -__all__ = ("ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType",) +class ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoMilestonesMilestoneNumberPatchBody""" + + title: NotRequired[str] + state: NotRequired[Literal["open", "closed"]] + description: NotRequired[str] + due_on: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyType", + "ReposOwnerRepoMilestonesMilestoneNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1166.py b/githubkit/versions/v2022_11_28/types/group_1166.py index c350dcdf7..f66d44cf6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1166.py +++ b/githubkit/versions/v2022_11_28/types/group_1166.py @@ -19,4 +19,13 @@ class ReposOwnerRepoNotificationsPutBodyType(TypedDict): last_read_at: NotRequired[datetime] -__all__ = ("ReposOwnerRepoNotificationsPutBodyType",) +class ReposOwnerRepoNotificationsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoNotificationsPutBody""" + + last_read_at: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoNotificationsPutBodyType", + "ReposOwnerRepoNotificationsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1167.py b/githubkit/versions/v2022_11_28/types/group_1167.py index 7ab2c0401..0917b2b06 100644 --- a/githubkit/versions/v2022_11_28/types/group_1167.py +++ b/githubkit/versions/v2022_11_28/types/group_1167.py @@ -19,4 +19,14 @@ class ReposOwnerRepoNotificationsPutResponse202Type(TypedDict): url: NotRequired[str] -__all__ = ("ReposOwnerRepoNotificationsPutResponse202Type",) +class ReposOwnerRepoNotificationsPutResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoNotificationsPutResponse202""" + + message: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoNotificationsPutResponse202Type", + "ReposOwnerRepoNotificationsPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1168.py b/githubkit/versions/v2022_11_28/types/group_1168.py index cd3deab02..d6aa7c916 100644 --- a/githubkit/versions/v2022_11_28/types/group_1168.py +++ b/githubkit/versions/v2022_11_28/types/group_1168.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type(TypedDict): path: Literal["/", "/docs"] -__all__ = ("ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type",) +class ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyPropSourceAnyof1 + + Update the source for the repository. Must include the branch name and path. + """ + + branch: str + path: Literal["/", "/docs"] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type", + "ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1169.py b/githubkit/versions/v2022_11_28/types/group_1169.py index ab3e6e60c..cecc749d9 100644 --- a/githubkit/versions/v2022_11_28/types/group_1169.py +++ b/githubkit/versions/v2022_11_28/types/group_1169.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1168 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof0Type(TypedDict): @@ -29,4 +32,21 @@ class ReposOwnerRepoPagesPutBodyAnyof0Type(TypedDict): ] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof0Type",) +class ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof0""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: Literal["legacy", "workflow"] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof0Type", + "ReposOwnerRepoPagesPutBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1170.py b/githubkit/versions/v2022_11_28/types/group_1170.py index bb8005c12..2a0cd6abe 100644 --- a/githubkit/versions/v2022_11_28/types/group_1170.py +++ b/githubkit/versions/v2022_11_28/types/group_1170.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1168 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof1Type(TypedDict): @@ -27,4 +30,19 @@ class ReposOwnerRepoPagesPutBodyAnyof1Type(TypedDict): ] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof1Type",) +class ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof1""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof1Type", + "ReposOwnerRepoPagesPutBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1171.py b/githubkit/versions/v2022_11_28/types/group_1171.py index 3dab6ed60..00049966f 100644 --- a/githubkit/versions/v2022_11_28/types/group_1171.py +++ b/githubkit/versions/v2022_11_28/types/group_1171.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1168 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof2Type(TypedDict): @@ -29,4 +32,21 @@ class ReposOwnerRepoPagesPutBodyAnyof2Type(TypedDict): ] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof2Type",) +class ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof2""" + + cname: Union[str, None] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof2Type", + "ReposOwnerRepoPagesPutBodyAnyof2TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1172.py b/githubkit/versions/v2022_11_28/types/group_1172.py index 310380ada..b6f009510 100644 --- a/githubkit/versions/v2022_11_28/types/group_1172.py +++ b/githubkit/versions/v2022_11_28/types/group_1172.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1168 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof3Type(TypedDict): @@ -29,4 +32,21 @@ class ReposOwnerRepoPagesPutBodyAnyof3Type(TypedDict): ] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof3Type",) +class ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof3""" + + cname: NotRequired[Union[str, None]] + https_enforced: NotRequired[bool] + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof3Type", + "ReposOwnerRepoPagesPutBodyAnyof3TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1173.py b/githubkit/versions/v2022_11_28/types/group_1173.py index 26c804274..0a4678644 100644 --- a/githubkit/versions/v2022_11_28/types/group_1173.py +++ b/githubkit/versions/v2022_11_28/types/group_1173.py @@ -12,7 +12,10 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_1168 import ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type +from .group_1168 import ( + ReposOwnerRepoPagesPutBodyPropSourceAnyof1Type, + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, +) class ReposOwnerRepoPagesPutBodyAnyof4Type(TypedDict): @@ -29,4 +32,21 @@ class ReposOwnerRepoPagesPutBodyAnyof4Type(TypedDict): ] -__all__ = ("ReposOwnerRepoPagesPutBodyAnyof4Type",) +class ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPutBodyAnyof4""" + + cname: NotRequired[Union[str, None]] + https_enforced: bool + build_type: NotRequired[Literal["legacy", "workflow"]] + source: NotRequired[ + Union[ + Literal["gh-pages", "master", "master /docs"], + ReposOwnerRepoPagesPutBodyPropSourceAnyof1TypeForResponse, + ] + ] + + +__all__ = ( + "ReposOwnerRepoPagesPutBodyAnyof4Type", + "ReposOwnerRepoPagesPutBodyAnyof4TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1174.py b/githubkit/versions/v2022_11_28/types/group_1174.py index 1f79f8c8a..312c7d150 100644 --- a/githubkit/versions/v2022_11_28/types/group_1174.py +++ b/githubkit/versions/v2022_11_28/types/group_1174.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPagesPostBodyPropSourceType(TypedDict): path: NotRequired[Literal["/", "/docs"]] -__all__ = ("ReposOwnerRepoPagesPostBodyPropSourceType",) +class ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyPropSource + + The source branch and directory used to publish your Pages site. + """ + + branch: str + path: NotRequired[Literal["/", "/docs"]] + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyPropSourceType", + "ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1175.py b/githubkit/versions/v2022_11_28/types/group_1175.py index 3dbace31f..96a807d67 100644 --- a/githubkit/versions/v2022_11_28/types/group_1175.py +++ b/githubkit/versions/v2022_11_28/types/group_1175.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_1174 import ReposOwnerRepoPagesPostBodyPropSourceType +from .group_1174 import ( + ReposOwnerRepoPagesPostBodyPropSourceType, + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, +) class ReposOwnerRepoPagesPostBodyAnyof0Type(TypedDict): @@ -22,4 +25,14 @@ class ReposOwnerRepoPagesPostBodyAnyof0Type(TypedDict): source: ReposOwnerRepoPagesPostBodyPropSourceType -__all__ = ("ReposOwnerRepoPagesPostBodyAnyof0Type",) +class ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyAnyof0""" + + build_type: NotRequired[Literal["legacy", "workflow"]] + source: ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyAnyof0Type", + "ReposOwnerRepoPagesPostBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1176.py b/githubkit/versions/v2022_11_28/types/group_1176.py index 34c64b867..238568807 100644 --- a/githubkit/versions/v2022_11_28/types/group_1176.py +++ b/githubkit/versions/v2022_11_28/types/group_1176.py @@ -12,7 +12,10 @@ from typing import Literal from typing_extensions import NotRequired, TypedDict -from .group_1174 import ReposOwnerRepoPagesPostBodyPropSourceType +from .group_1174 import ( + ReposOwnerRepoPagesPostBodyPropSourceType, + ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse, +) class ReposOwnerRepoPagesPostBodyAnyof1Type(TypedDict): @@ -22,4 +25,14 @@ class ReposOwnerRepoPagesPostBodyAnyof1Type(TypedDict): source: NotRequired[ReposOwnerRepoPagesPostBodyPropSourceType] -__all__ = ("ReposOwnerRepoPagesPostBodyAnyof1Type",) +class ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse(TypedDict): + """ReposOwnerRepoPagesPostBodyAnyof1""" + + build_type: Literal["legacy", "workflow"] + source: NotRequired[ReposOwnerRepoPagesPostBodyPropSourceTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoPagesPostBodyAnyof1Type", + "ReposOwnerRepoPagesPostBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1177.py b/githubkit/versions/v2022_11_28/types/group_1177.py index 4bdb60454..24214b46b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1177.py +++ b/githubkit/versions/v2022_11_28/types/group_1177.py @@ -25,4 +25,20 @@ class ReposOwnerRepoPagesDeploymentsPostBodyType(TypedDict): oidc_token: str -__all__ = ("ReposOwnerRepoPagesDeploymentsPostBodyType",) +class ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPagesDeploymentsPostBody + + The object used to create GitHub Pages deployment + """ + + artifact_id: NotRequired[float] + artifact_url: NotRequired[str] + environment: NotRequired[str] + pages_build_version: str + oidc_token: str + + +__all__ = ( + "ReposOwnerRepoPagesDeploymentsPostBodyType", + "ReposOwnerRepoPagesDeploymentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1178.py b/githubkit/versions/v2022_11_28/types/group_1178.py index c22c267f3..d061f8f39 100644 --- a/githubkit/versions/v2022_11_28/types/group_1178.py +++ b/githubkit/versions/v2022_11_28/types/group_1178.py @@ -18,4 +18,15 @@ class ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type(TypedDict): enabled: bool -__all__ = ("ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type",) +class ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse( + TypedDict +): + """ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200""" + + enabled: bool + + +__all__ = ( + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200Type", + "ReposOwnerRepoPrivateVulnerabilityReportingGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1179.py b/githubkit/versions/v2022_11_28/types/group_1179.py index c9a5d1898..e896a98be 100644 --- a/githubkit/versions/v2022_11_28/types/group_1179.py +++ b/githubkit/versions/v2022_11_28/types/group_1179.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0065 import CustomPropertyValueType +from .group_0065 import CustomPropertyValueType, CustomPropertyValueTypeForResponse class ReposOwnerRepoPropertiesValuesPatchBodyType(TypedDict): @@ -20,4 +20,13 @@ class ReposOwnerRepoPropertiesValuesPatchBodyType(TypedDict): properties: list[CustomPropertyValueType] -__all__ = ("ReposOwnerRepoPropertiesValuesPatchBodyType",) +class ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPropertiesValuesPatchBody""" + + properties: list[CustomPropertyValueTypeForResponse] + + +__all__ = ( + "ReposOwnerRepoPropertiesValuesPatchBodyType", + "ReposOwnerRepoPropertiesValuesPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1180.py b/githubkit/versions/v2022_11_28/types/group_1180.py index 8e9e41f56..c4ea280aa 100644 --- a/githubkit/versions/v2022_11_28/types/group_1180.py +++ b/githubkit/versions/v2022_11_28/types/group_1180.py @@ -25,4 +25,20 @@ class ReposOwnerRepoPullsPostBodyType(TypedDict): issue: NotRequired[int] -__all__ = ("ReposOwnerRepoPullsPostBodyType",) +class ReposOwnerRepoPullsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPostBody""" + + title: NotRequired[str] + head: str + head_repo: NotRequired[str] + base: str + body: NotRequired[str] + maintainer_can_modify: NotRequired[bool] + draft: NotRequired[bool] + issue: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoPullsPostBodyType", + "ReposOwnerRepoPullsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1181.py b/githubkit/versions/v2022_11_28/types/group_1181.py index 160987b13..91a03668d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1181.py +++ b/githubkit/versions/v2022_11_28/types/group_1181.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsCommentsCommentIdPatchBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoPullsCommentsCommentIdPatchBodyType",) +class ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsCommentsCommentIdPatchBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyType", + "ReposOwnerRepoPullsCommentsCommentIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1182.py b/githubkit/versions/v2022_11_28/types/group_1182.py index 4dc9e5008..6ba8e50ae 100644 --- a/githubkit/versions/v2022_11_28/types/group_1182.py +++ b/githubkit/versions/v2022_11_28/types/group_1182.py @@ -21,4 +21,15 @@ class ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType",) +class ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsCommentsCommentIdReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyType", + "ReposOwnerRepoPullsCommentsCommentIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1183.py b/githubkit/versions/v2022_11_28/types/group_1183.py index 1bb472545..a0aa5c68a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1183.py +++ b/githubkit/versions/v2022_11_28/types/group_1183.py @@ -23,4 +23,17 @@ class ReposOwnerRepoPullsPullNumberPatchBodyType(TypedDict): maintainer_can_modify: NotRequired[bool] -__all__ = ("ReposOwnerRepoPullsPullNumberPatchBodyType",) +class ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + state: NotRequired[Literal["open", "closed"]] + base: NotRequired[str] + maintainer_can_modify: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberPatchBodyType", + "ReposOwnerRepoPullsPullNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1184.py b/githubkit/versions/v2022_11_28/types/group_1184.py index b0eda78e6..d1317a4a2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1184.py +++ b/githubkit/versions/v2022_11_28/types/group_1184.py @@ -28,4 +28,22 @@ class ReposOwnerRepoPullsPullNumberCodespacesPostBodyType(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("ReposOwnerRepoPullsPullNumberCodespacesPostBodyType",) +class ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberCodespacesPostBody""" + + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyType", + "ReposOwnerRepoPullsPullNumberCodespacesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1185.py b/githubkit/versions/v2022_11_28/types/group_1185.py index f15be5df1..287c5d8d9 100644 --- a/githubkit/versions/v2022_11_28/types/group_1185.py +++ b/githubkit/versions/v2022_11_28/types/group_1185.py @@ -28,4 +28,22 @@ class ReposOwnerRepoPullsPullNumberCommentsPostBodyType(TypedDict): subject_type: NotRequired[Literal["line", "file"]] -__all__ = ("ReposOwnerRepoPullsPullNumberCommentsPostBodyType",) +class ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberCommentsPostBody""" + + body: str + commit_id: str + path: str + position: NotRequired[int] + side: NotRequired[Literal["LEFT", "RIGHT"]] + line: NotRequired[int] + start_line: NotRequired[int] + start_side: NotRequired[Literal["LEFT", "RIGHT", "side"]] + in_reply_to: NotRequired[int] + subject_type: NotRequired[Literal["line", "file"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCommentsPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1186.py b/githubkit/versions/v2022_11_28/types/group_1186.py index fdc9c5a0e..55a18c186 100644 --- a/githubkit/versions/v2022_11_28/types/group_1186.py +++ b/githubkit/versions/v2022_11_28/types/group_1186.py @@ -18,4 +18,15 @@ class ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType(TypedDic body: str -__all__ = ("ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType",) +class ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyType", + "ReposOwnerRepoPullsPullNumberCommentsCommentIdRepliesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1187.py b/githubkit/versions/v2022_11_28/types/group_1187.py index 743310547..6d48c3bd0 100644 --- a/githubkit/versions/v2022_11_28/types/group_1187.py +++ b/githubkit/versions/v2022_11_28/types/group_1187.py @@ -22,4 +22,16 @@ class ReposOwnerRepoPullsPullNumberMergePutBodyType(TypedDict): merge_method: NotRequired[Literal["merge", "squash", "rebase"]] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutBodyType",) +class ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutBody""" + + commit_title: NotRequired[str] + commit_message: NotRequired[str] + sha: NotRequired[str] + merge_method: NotRequired[Literal["merge", "squash", "rebase"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutBodyType", + "ReposOwnerRepoPullsPullNumberMergePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1188.py b/githubkit/versions/v2022_11_28/types/group_1188.py index 797f629f0..4a2bc61ab 100644 --- a/githubkit/versions/v2022_11_28/types/group_1188.py +++ b/githubkit/versions/v2022_11_28/types/group_1188.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberMergePutResponse405Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutResponse405Type",) +class ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutResponse405""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutResponse405Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse405TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1189.py b/githubkit/versions/v2022_11_28/types/group_1189.py index 8525d9950..fd3064e74 100644 --- a/githubkit/versions/v2022_11_28/types/group_1189.py +++ b/githubkit/versions/v2022_11_28/types/group_1189.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberMergePutResponse409Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberMergePutResponse409Type",) +class ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberMergePutResponse409""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberMergePutResponse409Type", + "ReposOwnerRepoPullsPullNumberMergePutResponse409TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1190.py b/githubkit/versions/v2022_11_28/types/group_1190.py index c92fe8585..76976548b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1190.py +++ b/githubkit/versions/v2022_11_28/types/group_1190.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type(TypedDic team_reviewers: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0""" + + reviewers: list[str] + team_reviewers: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1191.py b/githubkit/versions/v2022_11_28/types/group_1191.py index e461ce1cf..661533362 100644 --- a/githubkit/versions/v2022_11_28/types/group_1191.py +++ b/githubkit/versions/v2022_11_28/types/group_1191.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type(TypedDic team_reviewers: list[str] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1""" + + reviewers: NotRequired[list[str]] + team_reviewers: list[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1Type", + "ReposOwnerRepoPullsPullNumberRequestedReviewersPostBodyAnyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1192.py b/githubkit/versions/v2022_11_28/types/group_1192.py index 43201ae1f..5b3daf5df 100644 --- a/githubkit/versions/v2022_11_28/types/group_1192.py +++ b/githubkit/versions/v2022_11_28/types/group_1192.py @@ -19,4 +19,16 @@ class ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType(TypedDict): team_reviewers: NotRequired[list[str]] -__all__ = ("ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType",) +class ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBody""" + + reviewers: list[str] + team_reviewers: NotRequired[list[str]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyType", + "ReposOwnerRepoPullsPullNumberRequestedReviewersDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1193.py b/githubkit/versions/v2022_11_28/types/group_1193.py index bf17592a6..3eeb0e4fe 100644 --- a/githubkit/versions/v2022_11_28/types/group_1193.py +++ b/githubkit/versions/v2022_11_28/types/group_1193.py @@ -24,6 +24,19 @@ class ReposOwnerRepoPullsPullNumberReviewsPostBodyType(TypedDict): ] +class ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberReviewsPostBody""" + + commit_id: NotRequired[str] + body: NotRequired[str] + event: NotRequired[Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"]] + comments: NotRequired[ + list[ + ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse + ] + ] + + class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType(TypedDict): """ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItems""" @@ -36,7 +49,23 @@ class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType(TypedDic start_side: NotRequired[str] +class ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItems""" + + path: str + position: NotRequired[int] + body: str + line: NotRequired[int] + side: NotRequired[str] + start_line: NotRequired[int] + start_side: NotRequired[str] + + __all__ = ( "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyPropCommentsItemsTypeForResponse", "ReposOwnerRepoPullsPullNumberReviewsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1194.py b/githubkit/versions/v2022_11_28/types/group_1194.py index 05cccf0c0..d18f49600 100644 --- a/githubkit/versions/v2022_11_28/types/group_1194.py +++ b/githubkit/versions/v2022_11_28/types/group_1194.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType(TypedDict): body: str -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBody""" + + body: str + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1195.py b/githubkit/versions/v2022_11_28/types/group_1195.py index 412543923..c879fcfcd 100644 --- a/githubkit/versions/v2022_11_28/types/group_1195.py +++ b/githubkit/versions/v2022_11_28/types/group_1195.py @@ -20,4 +20,16 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType(TypedDic event: NotRequired[Literal["DISMISS"]] -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBody""" + + message: str + event: NotRequired[Literal["DISMISS"]] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdDismissalsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1196.py b/githubkit/versions/v2022_11_28/types/group_1196.py index d03c573ae..d1e6c9525 100644 --- a/githubkit/versions/v2022_11_28/types/group_1196.py +++ b/githubkit/versions/v2022_11_28/types/group_1196.py @@ -20,4 +20,16 @@ class ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType(TypedDict): event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"] -__all__ = ("ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType",) +class ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBody""" + + body: NotRequired[str] + event: Literal["APPROVE", "REQUEST_CHANGES", "COMMENT"] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyType", + "ReposOwnerRepoPullsPullNumberReviewsReviewIdEventsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1197.py b/githubkit/versions/v2022_11_28/types/group_1197.py index c102fe4d6..3295b6ecd 100644 --- a/githubkit/versions/v2022_11_28/types/group_1197.py +++ b/githubkit/versions/v2022_11_28/types/group_1197.py @@ -18,4 +18,13 @@ class ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType(TypedDict): expected_head_sha: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType",) +class ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberUpdateBranchPutBody""" + + expected_head_sha: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyType", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1198.py b/githubkit/versions/v2022_11_28/types/group_1198.py index e633d70f9..8a760e24c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1198.py +++ b/githubkit/versions/v2022_11_28/types/group_1198.py @@ -19,4 +19,14 @@ class ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type(TypedDict): url: NotRequired[str] -__all__ = ("ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type",) +class ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse(TypedDict): + """ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202""" + + message: NotRequired[str] + url: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202Type", + "ReposOwnerRepoPullsPullNumberUpdateBranchPutResponse202TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1199.py b/githubkit/versions/v2022_11_28/types/group_1199.py index 4065bba0c..4eb50cdd1 100644 --- a/githubkit/versions/v2022_11_28/types/group_1199.py +++ b/githubkit/versions/v2022_11_28/types/group_1199.py @@ -27,4 +27,21 @@ class ReposOwnerRepoReleasesPostBodyType(TypedDict): make_latest: NotRequired[Literal["true", "false", "legacy"]] -__all__ = ("ReposOwnerRepoReleasesPostBodyType",) +class ReposOwnerRepoReleasesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesPostBody""" + + tag_name: str + target_commitish: NotRequired[str] + name: NotRequired[str] + body: NotRequired[str] + draft: NotRequired[bool] + prerelease: NotRequired[bool] + discussion_category_name: NotRequired[str] + generate_release_notes: NotRequired[bool] + make_latest: NotRequired[Literal["true", "false", "legacy"]] + + +__all__ = ( + "ReposOwnerRepoReleasesPostBodyType", + "ReposOwnerRepoReleasesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1200.py b/githubkit/versions/v2022_11_28/types/group_1200.py index 0ddd0a8bf..f77eb63b6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1200.py +++ b/githubkit/versions/v2022_11_28/types/group_1200.py @@ -20,4 +20,15 @@ class ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType(TypedDict): state: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType",) +class ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesAssetsAssetIdPatchBody""" + + name: NotRequired[str] + label: NotRequired[str] + state: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyType", + "ReposOwnerRepoReleasesAssetsAssetIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1201.py b/githubkit/versions/v2022_11_28/types/group_1201.py index 2f21e468e..ef7af7773 100644 --- a/githubkit/versions/v2022_11_28/types/group_1201.py +++ b/githubkit/versions/v2022_11_28/types/group_1201.py @@ -21,4 +21,16 @@ class ReposOwnerRepoReleasesGenerateNotesPostBodyType(TypedDict): configuration_file_path: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesGenerateNotesPostBodyType",) +class ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesGenerateNotesPostBody""" + + tag_name: str + target_commitish: NotRequired[str] + previous_tag_name: NotRequired[str] + configuration_file_path: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesGenerateNotesPostBodyType", + "ReposOwnerRepoReleasesGenerateNotesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1202.py b/githubkit/versions/v2022_11_28/types/group_1202.py index 2300351d5..70b3fa12c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1202.py +++ b/githubkit/versions/v2022_11_28/types/group_1202.py @@ -26,4 +26,20 @@ class ReposOwnerRepoReleasesReleaseIdPatchBodyType(TypedDict): discussion_category_name: NotRequired[str] -__all__ = ("ReposOwnerRepoReleasesReleaseIdPatchBodyType",) +class ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesReleaseIdPatchBody""" + + tag_name: NotRequired[str] + target_commitish: NotRequired[str] + name: NotRequired[str] + body: NotRequired[str] + draft: NotRequired[bool] + prerelease: NotRequired[bool] + make_latest: NotRequired[Literal["true", "false", "legacy"]] + discussion_category_name: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoReleasesReleaseIdPatchBodyType", + "ReposOwnerRepoReleasesReleaseIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1203.py b/githubkit/versions/v2022_11_28/types/group_1203.py index d85bf8d37..3fdcf2cd4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1203.py +++ b/githubkit/versions/v2022_11_28/types/group_1203.py @@ -19,4 +19,13 @@ class ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType(TypedDict): content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"] -__all__ = ("ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType",) +class ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoReleasesReleaseIdReactionsPostBody""" + + content: Literal["+1", "laugh", "heart", "hooray", "rocket", "eyes"] + + +__all__ = ( + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyType", + "ReposOwnerRepoReleasesReleaseIdReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1204.py b/githubkit/versions/v2022_11_28/types/group_1204.py index 92e037012..a670bbc21 100644 --- a/githubkit/versions/v2022_11_28/types/group_1204.py +++ b/githubkit/versions/v2022_11_28/types/group_1204.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0145 import RepositoryRulesetBypassActorType -from .group_0146 import RepositoryRulesetConditionsType +from .group_0145 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0146 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0161 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0193 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0161 import RepositoryRuleMergeQueueType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType -from .group_0193 import RepositoryRuleCopilotCodeReviewType class ReposOwnerRepoRulesetsPostBodyType(TypedDict): @@ -78,4 +139,45 @@ class ReposOwnerRepoRulesetsPostBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoRulesetsPostBodyType",) +class ReposOwnerRepoRulesetsPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoRulesetsPostBody""" + + name: str + target: NotRequired[Literal["branch", "tag", "push"]] + enforcement: Literal["disabled", "active", "evaluate"] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[RepositoryRulesetConditionsTypeForResponse] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + + +__all__ = ( + "ReposOwnerRepoRulesetsPostBodyType", + "ReposOwnerRepoRulesetsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1205.py b/githubkit/versions/v2022_11_28/types/group_1205.py index 9169369b4..4ab6e2683 100644 --- a/githubkit/versions/v2022_11_28/types/group_1205.py +++ b/githubkit/versions/v2022_11_28/types/group_1205.py @@ -12,32 +12,93 @@ from typing import Literal, Union from typing_extensions import NotRequired, TypedDict -from .group_0145 import RepositoryRulesetBypassActorType -from .group_0146 import RepositoryRulesetConditionsType +from .group_0145 import ( + RepositoryRulesetBypassActorType, + RepositoryRulesetBypassActorTypeForResponse, +) +from .group_0146 import ( + RepositoryRulesetConditionsType, + RepositoryRulesetConditionsTypeForResponse, +) from .group_0157 import ( RepositoryRuleCreationType, + RepositoryRuleCreationTypeForResponse, RepositoryRuleDeletionType, + RepositoryRuleDeletionTypeForResponse, RepositoryRuleNonFastForwardType, + RepositoryRuleNonFastForwardTypeForResponse, RepositoryRuleRequiredSignaturesType, + RepositoryRuleRequiredSignaturesTypeForResponse, +) +from .group_0158 import RepositoryRuleUpdateType, RepositoryRuleUpdateTypeForResponse +from .group_0160 import ( + RepositoryRuleRequiredLinearHistoryType, + RepositoryRuleRequiredLinearHistoryTypeForResponse, +) +from .group_0161 import ( + RepositoryRuleMergeQueueType, + RepositoryRuleMergeQueueTypeForResponse, +) +from .group_0163 import ( + RepositoryRuleRequiredDeploymentsType, + RepositoryRuleRequiredDeploymentsTypeForResponse, +) +from .group_0166 import ( + RepositoryRulePullRequestType, + RepositoryRulePullRequestTypeForResponse, +) +from .group_0168 import ( + RepositoryRuleRequiredStatusChecksType, + RepositoryRuleRequiredStatusChecksTypeForResponse, +) +from .group_0170 import ( + RepositoryRuleCommitMessagePatternType, + RepositoryRuleCommitMessagePatternTypeForResponse, +) +from .group_0172 import ( + RepositoryRuleCommitAuthorEmailPatternType, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, +) +from .group_0174 import ( + RepositoryRuleCommitterEmailPatternType, + RepositoryRuleCommitterEmailPatternTypeForResponse, +) +from .group_0176 import ( + RepositoryRuleBranchNamePatternType, + RepositoryRuleBranchNamePatternTypeForResponse, +) +from .group_0178 import ( + RepositoryRuleTagNamePatternType, + RepositoryRuleTagNamePatternTypeForResponse, +) +from .group_0180 import ( + RepositoryRuleFilePathRestrictionType, + RepositoryRuleFilePathRestrictionTypeForResponse, +) +from .group_0182 import ( + RepositoryRuleMaxFilePathLengthType, + RepositoryRuleMaxFilePathLengthTypeForResponse, +) +from .group_0184 import ( + RepositoryRuleFileExtensionRestrictionType, + RepositoryRuleFileExtensionRestrictionTypeForResponse, +) +from .group_0186 import ( + RepositoryRuleMaxFileSizeType, + RepositoryRuleMaxFileSizeTypeForResponse, +) +from .group_0189 import ( + RepositoryRuleWorkflowsType, + RepositoryRuleWorkflowsTypeForResponse, +) +from .group_0191 import ( + RepositoryRuleCodeScanningType, + RepositoryRuleCodeScanningTypeForResponse, +) +from .group_0193 import ( + RepositoryRuleCopilotCodeReviewType, + RepositoryRuleCopilotCodeReviewTypeForResponse, ) -from .group_0158 import RepositoryRuleUpdateType -from .group_0160 import RepositoryRuleRequiredLinearHistoryType -from .group_0161 import RepositoryRuleMergeQueueType -from .group_0163 import RepositoryRuleRequiredDeploymentsType -from .group_0166 import RepositoryRulePullRequestType -from .group_0168 import RepositoryRuleRequiredStatusChecksType -from .group_0170 import RepositoryRuleCommitMessagePatternType -from .group_0172 import RepositoryRuleCommitAuthorEmailPatternType -from .group_0174 import RepositoryRuleCommitterEmailPatternType -from .group_0176 import RepositoryRuleBranchNamePatternType -from .group_0178 import RepositoryRuleTagNamePatternType -from .group_0180 import RepositoryRuleFilePathRestrictionType -from .group_0182 import RepositoryRuleMaxFilePathLengthType -from .group_0184 import RepositoryRuleFileExtensionRestrictionType -from .group_0186 import RepositoryRuleMaxFileSizeType -from .group_0189 import RepositoryRuleWorkflowsType -from .group_0191 import RepositoryRuleCodeScanningType -from .group_0193 import RepositoryRuleCopilotCodeReviewType class ReposOwnerRepoRulesetsRulesetIdPutBodyType(TypedDict): @@ -78,4 +139,45 @@ class ReposOwnerRepoRulesetsRulesetIdPutBodyType(TypedDict): ] -__all__ = ("ReposOwnerRepoRulesetsRulesetIdPutBodyType",) +class ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoRulesetsRulesetIdPutBody""" + + name: NotRequired[str] + target: NotRequired[Literal["branch", "tag", "push"]] + enforcement: NotRequired[Literal["disabled", "active", "evaluate"]] + bypass_actors: NotRequired[list[RepositoryRulesetBypassActorTypeForResponse]] + conditions: NotRequired[RepositoryRulesetConditionsTypeForResponse] + rules: NotRequired[ + list[ + Union[ + RepositoryRuleCreationTypeForResponse, + RepositoryRuleUpdateTypeForResponse, + RepositoryRuleDeletionTypeForResponse, + RepositoryRuleRequiredLinearHistoryTypeForResponse, + RepositoryRuleMergeQueueTypeForResponse, + RepositoryRuleRequiredDeploymentsTypeForResponse, + RepositoryRuleRequiredSignaturesTypeForResponse, + RepositoryRulePullRequestTypeForResponse, + RepositoryRuleRequiredStatusChecksTypeForResponse, + RepositoryRuleNonFastForwardTypeForResponse, + RepositoryRuleCommitMessagePatternTypeForResponse, + RepositoryRuleCommitAuthorEmailPatternTypeForResponse, + RepositoryRuleCommitterEmailPatternTypeForResponse, + RepositoryRuleBranchNamePatternTypeForResponse, + RepositoryRuleTagNamePatternTypeForResponse, + RepositoryRuleFilePathRestrictionTypeForResponse, + RepositoryRuleMaxFilePathLengthTypeForResponse, + RepositoryRuleFileExtensionRestrictionTypeForResponse, + RepositoryRuleMaxFileSizeTypeForResponse, + RepositoryRuleWorkflowsTypeForResponse, + RepositoryRuleCodeScanningTypeForResponse, + RepositoryRuleCopilotCodeReviewTypeForResponse, + ] + ] + ] + + +__all__ = ( + "ReposOwnerRepoRulesetsRulesetIdPutBodyType", + "ReposOwnerRepoRulesetsRulesetIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1206.py b/githubkit/versions/v2022_11_28/types/group_1206.py index a675763dc..ce4eb926e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1206.py +++ b/githubkit/versions/v2022_11_28/types/group_1206.py @@ -23,4 +23,19 @@ class ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type(TypedDict resolution_comment: NotRequired[Union[str, None]] -__all__ = ("ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type",) +class ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse( + TypedDict +): + """ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0""" + + state: Literal["open", "resolved"] + resolution: NotRequired[ + Union[None, Literal["false_positive", "wont_fix", "revoked", "used_in_tests"]] + ] + resolution_comment: NotRequired[Union[str, None]] + + +__all__ = ( + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0Type", + "ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1207.py b/githubkit/versions/v2022_11_28/types/group_1207.py index ca4fd9976..e6fe726b2 100644 --- a/githubkit/versions/v2022_11_28/types/group_1207.py +++ b/githubkit/versions/v2022_11_28/types/group_1207.py @@ -20,4 +20,16 @@ class ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType(TypedDict): placeholder_id: str -__all__ = ("ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType",) +class ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse( + TypedDict +): + """ReposOwnerRepoSecretScanningPushProtectionBypassesPostBody""" + + reason: Literal["false_positive", "used_in_tests", "will_fix_later"] + placeholder_id: str + + +__all__ = ( + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyType", + "ReposOwnerRepoSecretScanningPushProtectionBypassesPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1208.py b/githubkit/versions/v2022_11_28/types/group_1208.py index f5eb2b08d..f2ea2ea65 100644 --- a/githubkit/versions/v2022_11_28/types/group_1208.py +++ b/githubkit/versions/v2022_11_28/types/group_1208.py @@ -22,4 +22,16 @@ class ReposOwnerRepoStatusesShaPostBodyType(TypedDict): context: NotRequired[str] -__all__ = ("ReposOwnerRepoStatusesShaPostBodyType",) +class ReposOwnerRepoStatusesShaPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoStatusesShaPostBody""" + + state: Literal["error", "failure", "pending", "success"] + target_url: NotRequired[Union[str, None]] + description: NotRequired[Union[str, None]] + context: NotRequired[str] + + +__all__ = ( + "ReposOwnerRepoStatusesShaPostBodyType", + "ReposOwnerRepoStatusesShaPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1209.py b/githubkit/versions/v2022_11_28/types/group_1209.py index bf3b98dcb..7eea9c0c8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1209.py +++ b/githubkit/versions/v2022_11_28/types/group_1209.py @@ -19,4 +19,14 @@ class ReposOwnerRepoSubscriptionPutBodyType(TypedDict): ignored: NotRequired[bool] -__all__ = ("ReposOwnerRepoSubscriptionPutBodyType",) +class ReposOwnerRepoSubscriptionPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoSubscriptionPutBody""" + + subscribed: NotRequired[bool] + ignored: NotRequired[bool] + + +__all__ = ( + "ReposOwnerRepoSubscriptionPutBodyType", + "ReposOwnerRepoSubscriptionPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1210.py b/githubkit/versions/v2022_11_28/types/group_1210.py index 492fdc91e..2d210a4e8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1210.py +++ b/githubkit/versions/v2022_11_28/types/group_1210.py @@ -18,4 +18,13 @@ class ReposOwnerRepoTagsProtectionPostBodyType(TypedDict): pattern: str -__all__ = ("ReposOwnerRepoTagsProtectionPostBodyType",) +class ReposOwnerRepoTagsProtectionPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTagsProtectionPostBody""" + + pattern: str + + +__all__ = ( + "ReposOwnerRepoTagsProtectionPostBodyType", + "ReposOwnerRepoTagsProtectionPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1211.py b/githubkit/versions/v2022_11_28/types/group_1211.py index f6f94cfa4..deb459aca 100644 --- a/githubkit/versions/v2022_11_28/types/group_1211.py +++ b/githubkit/versions/v2022_11_28/types/group_1211.py @@ -18,4 +18,13 @@ class ReposOwnerRepoTopicsPutBodyType(TypedDict): names: list[str] -__all__ = ("ReposOwnerRepoTopicsPutBodyType",) +class ReposOwnerRepoTopicsPutBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTopicsPutBody""" + + names: list[str] + + +__all__ = ( + "ReposOwnerRepoTopicsPutBodyType", + "ReposOwnerRepoTopicsPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1212.py b/githubkit/versions/v2022_11_28/types/group_1212.py index 4f00c0f54..563c33438 100644 --- a/githubkit/versions/v2022_11_28/types/group_1212.py +++ b/githubkit/versions/v2022_11_28/types/group_1212.py @@ -20,4 +20,15 @@ class ReposOwnerRepoTransferPostBodyType(TypedDict): team_ids: NotRequired[list[int]] -__all__ = ("ReposOwnerRepoTransferPostBodyType",) +class ReposOwnerRepoTransferPostBodyTypeForResponse(TypedDict): + """ReposOwnerRepoTransferPostBody""" + + new_owner: str + new_name: NotRequired[str] + team_ids: NotRequired[list[int]] + + +__all__ = ( + "ReposOwnerRepoTransferPostBodyType", + "ReposOwnerRepoTransferPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1213.py b/githubkit/versions/v2022_11_28/types/group_1213.py index f8f62bc0c..2fd11f5ef 100644 --- a/githubkit/versions/v2022_11_28/types/group_1213.py +++ b/githubkit/versions/v2022_11_28/types/group_1213.py @@ -22,4 +22,17 @@ class ReposTemplateOwnerTemplateRepoGeneratePostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("ReposTemplateOwnerTemplateRepoGeneratePostBodyType",) +class ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse(TypedDict): + """ReposTemplateOwnerTemplateRepoGeneratePostBody""" + + owner: NotRequired[str] + name: str + description: NotRequired[str] + include_all_branches: NotRequired[bool] + private: NotRequired[bool] + + +__all__ = ( + "ReposTemplateOwnerTemplateRepoGeneratePostBodyType", + "ReposTemplateOwnerTemplateRepoGeneratePostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1214.py b/githubkit/versions/v2022_11_28/types/group_1214.py index 6accad501..8e2b86917 100644 --- a/githubkit/versions/v2022_11_28/types/group_1214.py +++ b/githubkit/versions/v2022_11_28/types/group_1214.py @@ -26,4 +26,20 @@ class TeamsTeamIdPatchBodyType(TypedDict): parent_team_id: NotRequired[Union[int, None]] -__all__ = ("TeamsTeamIdPatchBodyType",) +class TeamsTeamIdPatchBodyTypeForResponse(TypedDict): + """TeamsTeamIdPatchBody""" + + name: str + description: NotRequired[str] + privacy: NotRequired[Literal["secret", "closed"]] + notification_setting: NotRequired[ + Literal["notifications_enabled", "notifications_disabled"] + ] + permission: NotRequired[Literal["pull", "push", "admin"]] + parent_team_id: NotRequired[Union[int, None]] + + +__all__ = ( + "TeamsTeamIdPatchBodyType", + "TeamsTeamIdPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1215.py b/githubkit/versions/v2022_11_28/types/group_1215.py index 5fc734f17..a5ee69ed7 100644 --- a/githubkit/versions/v2022_11_28/types/group_1215.py +++ b/githubkit/versions/v2022_11_28/types/group_1215.py @@ -20,4 +20,15 @@ class TeamsTeamIdDiscussionsPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("TeamsTeamIdDiscussionsPostBodyType",) +class TeamsTeamIdDiscussionsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsPostBody""" + + title: str + body: str + private: NotRequired[bool] + + +__all__ = ( + "TeamsTeamIdDiscussionsPostBodyType", + "TeamsTeamIdDiscussionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1216.py b/githubkit/versions/v2022_11_28/types/group_1216.py index 97be26f9a..5ea08fb68 100644 --- a/githubkit/versions/v2022_11_28/types/group_1216.py +++ b/githubkit/versions/v2022_11_28/types/group_1216.py @@ -19,4 +19,14 @@ class TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType(TypedDict): body: NotRequired[str] -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberPatchBody""" + + title: NotRequired[str] + body: NotRequired[str] + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1217.py b/githubkit/versions/v2022_11_28/types/group_1217.py index 49b6126e3..86a6f4a1a 100644 --- a/githubkit/versions/v2022_11_28/types/group_1217.py +++ b/githubkit/versions/v2022_11_28/types/group_1217.py @@ -18,4 +18,13 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType(TypedDict): body: str -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBody""" + + body: str + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1218.py b/githubkit/versions/v2022_11_28/types/group_1218.py index aba26488a..3f3548203 100644 --- a/githubkit/versions/v2022_11_28/types/group_1218.py +++ b/githubkit/versions/v2022_11_28/types/group_1218.py @@ -20,4 +20,15 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType( body: str -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse( + TypedDict +): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBody""" + + body: str + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1219.py b/githubkit/versions/v2022_11_28/types/group_1219.py index ea06c9bbf..e100e8dc8 100644 --- a/githubkit/versions/v2022_11_28/types/group_1219.py +++ b/githubkit/versions/v2022_11_28/types/group_1219.py @@ -23,6 +23,17 @@ class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBo ] +class TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse( + TypedDict +): + """TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + __all__ = ( "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberCommentsCommentNumberReactionsPostBodyTypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1220.py b/githubkit/versions/v2022_11_28/types/group_1220.py index 02edb1cc8..bea48b27e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1220.py +++ b/githubkit/versions/v2022_11_28/types/group_1220.py @@ -21,4 +21,15 @@ class TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType(TypedDict): ] -__all__ = ("TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType",) +class TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse(TypedDict): + """TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBody""" + + content: Literal[ + "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes" + ] + + +__all__ = ( + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyType", + "TeamsTeamIdDiscussionsDiscussionNumberReactionsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1221.py b/githubkit/versions/v2022_11_28/types/group_1221.py index 4c1b9ea73..7ce0f661e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1221.py +++ b/githubkit/versions/v2022_11_28/types/group_1221.py @@ -19,4 +19,13 @@ class TeamsTeamIdMembershipsUsernamePutBodyType(TypedDict): role: NotRequired[Literal["member", "maintainer"]] -__all__ = ("TeamsTeamIdMembershipsUsernamePutBodyType",) +class TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse(TypedDict): + """TeamsTeamIdMembershipsUsernamePutBody""" + + role: NotRequired[Literal["member", "maintainer"]] + + +__all__ = ( + "TeamsTeamIdMembershipsUsernamePutBodyType", + "TeamsTeamIdMembershipsUsernamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1222.py b/githubkit/versions/v2022_11_28/types/group_1222.py index 0fc6bc372..6d9b66d03 100644 --- a/githubkit/versions/v2022_11_28/types/group_1222.py +++ b/githubkit/versions/v2022_11_28/types/group_1222.py @@ -19,4 +19,13 @@ class TeamsTeamIdProjectsProjectIdPutBodyType(TypedDict): permission: NotRequired[Literal["read", "write", "admin"]] -__all__ = ("TeamsTeamIdProjectsProjectIdPutBodyType",) +class TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse(TypedDict): + """TeamsTeamIdProjectsProjectIdPutBody""" + + permission: NotRequired[Literal["read", "write", "admin"]] + + +__all__ = ( + "TeamsTeamIdProjectsProjectIdPutBodyType", + "TeamsTeamIdProjectsProjectIdPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1223.py b/githubkit/versions/v2022_11_28/types/group_1223.py index 27e574fd9..3f9708921 100644 --- a/githubkit/versions/v2022_11_28/types/group_1223.py +++ b/githubkit/versions/v2022_11_28/types/group_1223.py @@ -19,4 +19,14 @@ class TeamsTeamIdProjectsProjectIdPutResponse403Type(TypedDict): documentation_url: NotRequired[str] -__all__ = ("TeamsTeamIdProjectsProjectIdPutResponse403Type",) +class TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse(TypedDict): + """TeamsTeamIdProjectsProjectIdPutResponse403""" + + message: NotRequired[str] + documentation_url: NotRequired[str] + + +__all__ = ( + "TeamsTeamIdProjectsProjectIdPutResponse403Type", + "TeamsTeamIdProjectsProjectIdPutResponse403TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1224.py b/githubkit/versions/v2022_11_28/types/group_1224.py index 218231963..25201b28c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1224.py +++ b/githubkit/versions/v2022_11_28/types/group_1224.py @@ -19,4 +19,13 @@ class TeamsTeamIdReposOwnerRepoPutBodyType(TypedDict): permission: NotRequired[Literal["pull", "push", "admin"]] -__all__ = ("TeamsTeamIdReposOwnerRepoPutBodyType",) +class TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse(TypedDict): + """TeamsTeamIdReposOwnerRepoPutBody""" + + permission: NotRequired[Literal["pull", "push", "admin"]] + + +__all__ = ( + "TeamsTeamIdReposOwnerRepoPutBodyType", + "TeamsTeamIdReposOwnerRepoPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1225.py b/githubkit/versions/v2022_11_28/types/group_1225.py index 0cc0c51fd..3d022be99 100644 --- a/githubkit/versions/v2022_11_28/types/group_1225.py +++ b/githubkit/versions/v2022_11_28/types/group_1225.py @@ -26,4 +26,20 @@ class UserPatchBodyType(TypedDict): bio: NotRequired[str] -__all__ = ("UserPatchBodyType",) +class UserPatchBodyTypeForResponse(TypedDict): + """UserPatchBody""" + + name: NotRequired[str] + email: NotRequired[str] + blog: NotRequired[str] + twitter_username: NotRequired[Union[str, None]] + company: NotRequired[str] + location: NotRequired[str] + hireable: NotRequired[bool] + bio: NotRequired[str] + + +__all__ = ( + "UserPatchBodyType", + "UserPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1226.py b/githubkit/versions/v2022_11_28/types/group_1226.py index 5a9f3d545..973605bb6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1226.py +++ b/githubkit/versions/v2022_11_28/types/group_1226.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0102 import CodespaceType +from .group_0102 import CodespaceType, CodespaceTypeForResponse class UserCodespacesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserCodespacesGetResponse200Type(TypedDict): codespaces: list[CodespaceType] -__all__ = ("UserCodespacesGetResponse200Type",) +class UserCodespacesGetResponse200TypeForResponse(TypedDict): + """UserCodespacesGetResponse200""" + + total_count: int + codespaces: list[CodespaceTypeForResponse] + + +__all__ = ( + "UserCodespacesGetResponse200Type", + "UserCodespacesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1227.py b/githubkit/versions/v2022_11_28/types/group_1227.py index ca44ecf9e..56232bf6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1227.py +++ b/githubkit/versions/v2022_11_28/types/group_1227.py @@ -30,4 +30,24 @@ class UserCodespacesPostBodyOneof0Type(TypedDict): retention_period_minutes: NotRequired[int] -__all__ = ("UserCodespacesPostBodyOneof0Type",) +class UserCodespacesPostBodyOneof0TypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof0""" + + repository_id: int + ref: NotRequired[str] + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + client_ip: NotRequired[str] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + multi_repo_permissions_opt_out: NotRequired[bool] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + display_name: NotRequired[str] + retention_period_minutes: NotRequired[int] + + +__all__ = ( + "UserCodespacesPostBodyOneof0Type", + "UserCodespacesPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1228.py b/githubkit/versions/v2022_11_28/types/group_1228.py index ad32a685a..402f5ad2b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1228.py +++ b/githubkit/versions/v2022_11_28/types/group_1228.py @@ -25,6 +25,18 @@ class UserCodespacesPostBodyOneof1Type(TypedDict): idle_timeout_minutes: NotRequired[int] +class UserCodespacesPostBodyOneof1TypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof1""" + + pull_request: UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse + location: NotRequired[str] + geo: NotRequired[Literal["EuropeWest", "SoutheastAsia", "UsEast", "UsWest"]] + machine: NotRequired[str] + devcontainer_path: NotRequired[str] + working_directory: NotRequired[str] + idle_timeout_minutes: NotRequired[int] + + class UserCodespacesPostBodyOneof1PropPullRequestType(TypedDict): """UserCodespacesPostBodyOneof1PropPullRequest @@ -35,7 +47,19 @@ class UserCodespacesPostBodyOneof1PropPullRequestType(TypedDict): repository_id: int +class UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse(TypedDict): + """UserCodespacesPostBodyOneof1PropPullRequest + + Pull request number for this codespace + """ + + pull_request_number: int + repository_id: int + + __all__ = ( "UserCodespacesPostBodyOneof1PropPullRequestType", + "UserCodespacesPostBodyOneof1PropPullRequestTypeForResponse", "UserCodespacesPostBodyOneof1Type", + "UserCodespacesPostBodyOneof1TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1229.py b/githubkit/versions/v2022_11_28/types/group_1229.py index 1e27e71b8..e209d7002 100644 --- a/githubkit/versions/v2022_11_28/types/group_1229.py +++ b/githubkit/versions/v2022_11_28/types/group_1229.py @@ -21,6 +21,13 @@ class UserCodespacesSecretsGetResponse200Type(TypedDict): secrets: list[CodespacesSecretType] +class UserCodespacesSecretsGetResponse200TypeForResponse(TypedDict): + """UserCodespacesSecretsGetResponse200""" + + total_count: int + secrets: list[CodespacesSecretTypeForResponse] + + class CodespacesSecretType(TypedDict): """Codespaces Secret @@ -34,7 +41,22 @@ class CodespacesSecretType(TypedDict): selected_repositories_url: str +class CodespacesSecretTypeForResponse(TypedDict): + """Codespaces Secret + + Secrets for a GitHub Codespace. + """ + + name: str + created_at: str + updated_at: str + visibility: Literal["all", "private", "selected"] + selected_repositories_url: str + + __all__ = ( "CodespacesSecretType", + "CodespacesSecretTypeForResponse", "UserCodespacesSecretsGetResponse200Type", + "UserCodespacesSecretsGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1230.py b/githubkit/versions/v2022_11_28/types/group_1230.py index 6ec0707c1..a42e7b33d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1230.py +++ b/githubkit/versions/v2022_11_28/types/group_1230.py @@ -21,4 +21,15 @@ class UserCodespacesSecretsSecretNamePutBodyType(TypedDict): selected_repository_ids: NotRequired[list[Union[int, str]]] -__all__ = ("UserCodespacesSecretsSecretNamePutBodyType",) +class UserCodespacesSecretsSecretNamePutBodyTypeForResponse(TypedDict): + """UserCodespacesSecretsSecretNamePutBody""" + + encrypted_value: NotRequired[str] + key_id: str + selected_repository_ids: NotRequired[list[Union[int, str]]] + + +__all__ = ( + "UserCodespacesSecretsSecretNamePutBodyType", + "UserCodespacesSecretsSecretNamePutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1231.py b/githubkit/versions/v2022_11_28/types/group_1231.py index d62740f9b..e9c1dbc85 100644 --- a/githubkit/versions/v2022_11_28/types/group_1231.py +++ b/githubkit/versions/v2022_11_28/types/group_1231.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0061 import MinimalRepositoryType +from .group_0061 import MinimalRepositoryType, MinimalRepositoryTypeForResponse class UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): @@ -21,4 +21,16 @@ class UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type(TypedDict): repositories: list[MinimalRepositoryType] -__all__ = ("UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type",) +class UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """UserCodespacesSecretsSecretNameRepositoriesGetResponse200""" + + total_count: int + repositories: list[MinimalRepositoryTypeForResponse] + + +__all__ = ( + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200Type", + "UserCodespacesSecretsSecretNameRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1232.py b/githubkit/versions/v2022_11_28/types/group_1232.py index 69b6c64de..34eecfd39 100644 --- a/githubkit/versions/v2022_11_28/types/group_1232.py +++ b/githubkit/versions/v2022_11_28/types/group_1232.py @@ -18,4 +18,13 @@ class UserCodespacesSecretsSecretNameRepositoriesPutBodyType(TypedDict): selected_repository_ids: list[int] -__all__ = ("UserCodespacesSecretsSecretNameRepositoriesPutBodyType",) +class UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse(TypedDict): + """UserCodespacesSecretsSecretNameRepositoriesPutBody""" + + selected_repository_ids: list[int] + + +__all__ = ( + "UserCodespacesSecretsSecretNameRepositoriesPutBodyType", + "UserCodespacesSecretsSecretNameRepositoriesPutBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1233.py b/githubkit/versions/v2022_11_28/types/group_1233.py index 73deadc8f..3c879a35d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1233.py +++ b/githubkit/versions/v2022_11_28/types/group_1233.py @@ -20,4 +20,15 @@ class UserCodespacesCodespaceNamePatchBodyType(TypedDict): recent_folders: NotRequired[list[str]] -__all__ = ("UserCodespacesCodespaceNamePatchBodyType",) +class UserCodespacesCodespaceNamePatchBodyTypeForResponse(TypedDict): + """UserCodespacesCodespaceNamePatchBody""" + + machine: NotRequired[str] + display_name: NotRequired[str] + recent_folders: NotRequired[list[str]] + + +__all__ = ( + "UserCodespacesCodespaceNamePatchBodyType", + "UserCodespacesCodespaceNamePatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1234.py b/githubkit/versions/v2022_11_28/types/group_1234.py index 14af369ea..3234d677b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1234.py +++ b/githubkit/versions/v2022_11_28/types/group_1234.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0101 import CodespaceMachineType +from .group_0101 import CodespaceMachineType, CodespaceMachineTypeForResponse class UserCodespacesCodespaceNameMachinesGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserCodespacesCodespaceNameMachinesGetResponse200Type(TypedDict): machines: list[CodespaceMachineType] -__all__ = ("UserCodespacesCodespaceNameMachinesGetResponse200Type",) +class UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse(TypedDict): + """UserCodespacesCodespaceNameMachinesGetResponse200""" + + total_count: int + machines: list[CodespaceMachineTypeForResponse] + + +__all__ = ( + "UserCodespacesCodespaceNameMachinesGetResponse200Type", + "UserCodespacesCodespaceNameMachinesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1235.py b/githubkit/versions/v2022_11_28/types/group_1235.py index 90f680aa4..10ea65ede 100644 --- a/githubkit/versions/v2022_11_28/types/group_1235.py +++ b/githubkit/versions/v2022_11_28/types/group_1235.py @@ -19,4 +19,14 @@ class UserCodespacesCodespaceNamePublishPostBodyType(TypedDict): private: NotRequired[bool] -__all__ = ("UserCodespacesCodespaceNamePublishPostBodyType",) +class UserCodespacesCodespaceNamePublishPostBodyTypeForResponse(TypedDict): + """UserCodespacesCodespaceNamePublishPostBody""" + + name: NotRequired[str] + private: NotRequired[bool] + + +__all__ = ( + "UserCodespacesCodespaceNamePublishPostBodyType", + "UserCodespacesCodespaceNamePublishPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1236.py b/githubkit/versions/v2022_11_28/types/group_1236.py index 741f85377..402599197 100644 --- a/githubkit/versions/v2022_11_28/types/group_1236.py +++ b/githubkit/versions/v2022_11_28/types/group_1236.py @@ -19,4 +19,13 @@ class UserEmailVisibilityPatchBodyType(TypedDict): visibility: Literal["public", "private"] -__all__ = ("UserEmailVisibilityPatchBodyType",) +class UserEmailVisibilityPatchBodyTypeForResponse(TypedDict): + """UserEmailVisibilityPatchBody""" + + visibility: Literal["public", "private"] + + +__all__ = ( + "UserEmailVisibilityPatchBodyType", + "UserEmailVisibilityPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1237.py b/githubkit/versions/v2022_11_28/types/group_1237.py index fa445ed2c..ee1362b4e 100644 --- a/githubkit/versions/v2022_11_28/types/group_1237.py +++ b/githubkit/versions/v2022_11_28/types/group_1237.py @@ -22,4 +22,17 @@ class UserEmailsPostBodyOneof0Type(TypedDict): emails: list[str] -__all__ = ("UserEmailsPostBodyOneof0Type",) +class UserEmailsPostBodyOneof0TypeForResponse(TypedDict): + """UserEmailsPostBodyOneof0 + + Examples: + {'emails': ['octocat@github.com', 'mona@github.com']} + """ + + emails: list[str] + + +__all__ = ( + "UserEmailsPostBodyOneof0Type", + "UserEmailsPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1238.py b/githubkit/versions/v2022_11_28/types/group_1238.py index 85a754f60..d59327882 100644 --- a/githubkit/versions/v2022_11_28/types/group_1238.py +++ b/githubkit/versions/v2022_11_28/types/group_1238.py @@ -27,4 +27,22 @@ class UserEmailsDeleteBodyOneof0Type(TypedDict): emails: list[str] -__all__ = ("UserEmailsDeleteBodyOneof0Type",) +class UserEmailsDeleteBodyOneof0TypeForResponse(TypedDict): + """UserEmailsDeleteBodyOneof0 + + Deletes one or more email addresses from your GitHub account. Must contain at + least one email address. **Note:** Alternatively, you can pass a single email + address or an `array` of emails addresses directly, but we recommend that you + pass an object using the `emails` key. + + Examples: + {'emails': ['octocat@github.com', 'mona@github.com']} + """ + + emails: list[str] + + +__all__ = ( + "UserEmailsDeleteBodyOneof0Type", + "UserEmailsDeleteBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1239.py b/githubkit/versions/v2022_11_28/types/group_1239.py index bef46dc62..b6df9f8c6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1239.py +++ b/githubkit/versions/v2022_11_28/types/group_1239.py @@ -19,4 +19,14 @@ class UserGpgKeysPostBodyType(TypedDict): armored_public_key: str -__all__ = ("UserGpgKeysPostBodyType",) +class UserGpgKeysPostBodyTypeForResponse(TypedDict): + """UserGpgKeysPostBody""" + + name: NotRequired[str] + armored_public_key: str + + +__all__ = ( + "UserGpgKeysPostBodyType", + "UserGpgKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1240.py b/githubkit/versions/v2022_11_28/types/group_1240.py index 069eb3383..a32cca120 100644 --- a/githubkit/versions/v2022_11_28/types/group_1240.py +++ b/githubkit/versions/v2022_11_28/types/group_1240.py @@ -11,7 +11,7 @@ from typing_extensions import TypedDict -from .group_0018 import InstallationType +from .group_0018 import InstallationType, InstallationTypeForResponse class UserInstallationsGetResponse200Type(TypedDict): @@ -21,4 +21,14 @@ class UserInstallationsGetResponse200Type(TypedDict): installations: list[InstallationType] -__all__ = ("UserInstallationsGetResponse200Type",) +class UserInstallationsGetResponse200TypeForResponse(TypedDict): + """UserInstallationsGetResponse200""" + + total_count: int + installations: list[InstallationTypeForResponse] + + +__all__ = ( + "UserInstallationsGetResponse200Type", + "UserInstallationsGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1241.py b/githubkit/versions/v2022_11_28/types/group_1241.py index 8e85a1d81..a7d5c53d6 100644 --- a/githubkit/versions/v2022_11_28/types/group_1241.py +++ b/githubkit/versions/v2022_11_28/types/group_1241.py @@ -11,7 +11,7 @@ from typing_extensions import NotRequired, TypedDict -from .group_0020 import RepositoryType +from .group_0020 import RepositoryType, RepositoryTypeForResponse class UserInstallationsInstallationIdRepositoriesGetResponse200Type(TypedDict): @@ -22,4 +22,17 @@ class UserInstallationsInstallationIdRepositoriesGetResponse200Type(TypedDict): repositories: list[RepositoryType] -__all__ = ("UserInstallationsInstallationIdRepositoriesGetResponse200Type",) +class UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse( + TypedDict +): + """UserInstallationsInstallationIdRepositoriesGetResponse200""" + + total_count: int + repository_selection: NotRequired[str] + repositories: list[RepositoryTypeForResponse] + + +__all__ = ( + "UserInstallationsInstallationIdRepositoriesGetResponse200Type", + "UserInstallationsInstallationIdRepositoriesGetResponse200TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1242.py b/githubkit/versions/v2022_11_28/types/group_1242.py index 9f9dd053b..e7f40ba7d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1242.py +++ b/githubkit/versions/v2022_11_28/types/group_1242.py @@ -16,4 +16,11 @@ class UserInteractionLimitsGetResponse200Anyof1Type(TypedDict): """UserInteractionLimitsGetResponse200Anyof1""" -__all__ = ("UserInteractionLimitsGetResponse200Anyof1Type",) +class UserInteractionLimitsGetResponse200Anyof1TypeForResponse(TypedDict): + """UserInteractionLimitsGetResponse200Anyof1""" + + +__all__ = ( + "UserInteractionLimitsGetResponse200Anyof1Type", + "UserInteractionLimitsGetResponse200Anyof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1243.py b/githubkit/versions/v2022_11_28/types/group_1243.py index 5ec08a5e0..86fc4f614 100644 --- a/githubkit/versions/v2022_11_28/types/group_1243.py +++ b/githubkit/versions/v2022_11_28/types/group_1243.py @@ -19,4 +19,14 @@ class UserKeysPostBodyType(TypedDict): key: str -__all__ = ("UserKeysPostBodyType",) +class UserKeysPostBodyTypeForResponse(TypedDict): + """UserKeysPostBody""" + + title: NotRequired[str] + key: str + + +__all__ = ( + "UserKeysPostBodyType", + "UserKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1244.py b/githubkit/versions/v2022_11_28/types/group_1244.py index 718052573..ba76fe3ff 100644 --- a/githubkit/versions/v2022_11_28/types/group_1244.py +++ b/githubkit/versions/v2022_11_28/types/group_1244.py @@ -19,4 +19,13 @@ class UserMembershipsOrgsOrgPatchBodyType(TypedDict): state: Literal["active"] -__all__ = ("UserMembershipsOrgsOrgPatchBodyType",) +class UserMembershipsOrgsOrgPatchBodyTypeForResponse(TypedDict): + """UserMembershipsOrgsOrgPatchBody""" + + state: Literal["active"] + + +__all__ = ( + "UserMembershipsOrgsOrgPatchBodyType", + "UserMembershipsOrgsOrgPatchBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1245.py b/githubkit/versions/v2022_11_28/types/group_1245.py index 586d41155..30ccbc906 100644 --- a/githubkit/versions/v2022_11_28/types/group_1245.py +++ b/githubkit/versions/v2022_11_28/types/group_1245.py @@ -27,4 +27,21 @@ class UserMigrationsPostBodyType(TypedDict): repositories: list[str] -__all__ = ("UserMigrationsPostBodyType",) +class UserMigrationsPostBodyTypeForResponse(TypedDict): + """UserMigrationsPostBody""" + + lock_repositories: NotRequired[bool] + exclude_metadata: NotRequired[bool] + exclude_git_data: NotRequired[bool] + exclude_attachments: NotRequired[bool] + exclude_releases: NotRequired[bool] + exclude_owner_projects: NotRequired[bool] + org_metadata_only: NotRequired[bool] + exclude: NotRequired[list[Literal["repositories"]]] + repositories: list[str] + + +__all__ = ( + "UserMigrationsPostBodyType", + "UserMigrationsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1246.py b/githubkit/versions/v2022_11_28/types/group_1246.py index 354d7b410..92f5e19fb 100644 --- a/githubkit/versions/v2022_11_28/types/group_1246.py +++ b/githubkit/versions/v2022_11_28/types/group_1246.py @@ -43,4 +43,37 @@ class UserReposPostBodyType(TypedDict): is_template: NotRequired[bool] -__all__ = ("UserReposPostBodyType",) +class UserReposPostBodyTypeForResponse(TypedDict): + """UserReposPostBody""" + + name: str + description: NotRequired[str] + homepage: NotRequired[str] + private: NotRequired[bool] + has_issues: NotRequired[bool] + has_projects: NotRequired[bool] + has_wiki: NotRequired[bool] + has_discussions: NotRequired[bool] + team_id: NotRequired[int] + auto_init: NotRequired[bool] + gitignore_template: NotRequired[str] + license_template: NotRequired[str] + allow_squash_merge: NotRequired[bool] + allow_merge_commit: NotRequired[bool] + allow_rebase_merge: NotRequired[bool] + allow_auto_merge: NotRequired[bool] + delete_branch_on_merge: NotRequired[bool] + squash_merge_commit_title: NotRequired[Literal["PR_TITLE", "COMMIT_OR_PR_TITLE"]] + squash_merge_commit_message: NotRequired[ + Literal["PR_BODY", "COMMIT_MESSAGES", "BLANK"] + ] + merge_commit_title: NotRequired[Literal["PR_TITLE", "MERGE_MESSAGE"]] + merge_commit_message: NotRequired[Literal["PR_BODY", "PR_TITLE", "BLANK"]] + has_downloads: NotRequired[bool] + is_template: NotRequired[bool] + + +__all__ = ( + "UserReposPostBodyType", + "UserReposPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1247.py b/githubkit/versions/v2022_11_28/types/group_1247.py index 7c5bf8edc..4fb42cc70 100644 --- a/githubkit/versions/v2022_11_28/types/group_1247.py +++ b/githubkit/versions/v2022_11_28/types/group_1247.py @@ -23,4 +23,18 @@ class UserSocialAccountsPostBodyType(TypedDict): account_urls: list[str] -__all__ = ("UserSocialAccountsPostBodyType",) +class UserSocialAccountsPostBodyTypeForResponse(TypedDict): + """UserSocialAccountsPostBody + + Examples: + {'account_urls': ['https://www.linkedin.com/company/github/', + 'https://twitter.com/github']} + """ + + account_urls: list[str] + + +__all__ = ( + "UserSocialAccountsPostBodyType", + "UserSocialAccountsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1248.py b/githubkit/versions/v2022_11_28/types/group_1248.py index 5e8ecaf24..071db2ed4 100644 --- a/githubkit/versions/v2022_11_28/types/group_1248.py +++ b/githubkit/versions/v2022_11_28/types/group_1248.py @@ -23,4 +23,18 @@ class UserSocialAccountsDeleteBodyType(TypedDict): account_urls: list[str] -__all__ = ("UserSocialAccountsDeleteBodyType",) +class UserSocialAccountsDeleteBodyTypeForResponse(TypedDict): + """UserSocialAccountsDeleteBody + + Examples: + {'account_urls': ['https://www.linkedin.com/company/github/', + 'https://twitter.com/github']} + """ + + account_urls: list[str] + + +__all__ = ( + "UserSocialAccountsDeleteBodyType", + "UserSocialAccountsDeleteBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1249.py b/githubkit/versions/v2022_11_28/types/group_1249.py index 712df953e..8e33bd482 100644 --- a/githubkit/versions/v2022_11_28/types/group_1249.py +++ b/githubkit/versions/v2022_11_28/types/group_1249.py @@ -19,4 +19,14 @@ class UserSshSigningKeysPostBodyType(TypedDict): key: str -__all__ = ("UserSshSigningKeysPostBodyType",) +class UserSshSigningKeysPostBodyTypeForResponse(TypedDict): + """UserSshSigningKeysPostBody""" + + title: NotRequired[str] + key: str + + +__all__ = ( + "UserSshSigningKeysPostBodyType", + "UserSshSigningKeysPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1250.py b/githubkit/versions/v2022_11_28/types/group_1250.py index 2ab7931f2..af53afd24 100644 --- a/githubkit/versions/v2022_11_28/types/group_1250.py +++ b/githubkit/versions/v2022_11_28/types/group_1250.py @@ -19,4 +19,14 @@ class UsersUsernameAttestationsBulkListPostBodyType(TypedDict): predicate_type: NotRequired[str] -__all__ = ("UsersUsernameAttestationsBulkListPostBodyType",) +class UsersUsernameAttestationsBulkListPostBodyTypeForResponse(TypedDict): + """UsersUsernameAttestationsBulkListPostBody""" + + subject_digests: list[str] + predicate_type: NotRequired[str] + + +__all__ = ( + "UsersUsernameAttestationsBulkListPostBodyType", + "UsersUsernameAttestationsBulkListPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1251.py b/githubkit/versions/v2022_11_28/types/group_1251.py index 322969d86..67dde9c6c 100644 --- a/githubkit/versions/v2022_11_28/types/group_1251.py +++ b/githubkit/versions/v2022_11_28/types/group_1251.py @@ -24,6 +24,17 @@ class UsersUsernameAttestationsBulkListPostResponse200Type(TypedDict): ] +class UsersUsernameAttestationsBulkListPostResponse200TypeForResponse(TypedDict): + """UsersUsernameAttestationsBulkListPostResponse200""" + + attestations_subject_digests: NotRequired[ + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse + ] + page_info: NotRequired[ + UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse + ] + + UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType: TypeAlias = dict[ str, Any ] @@ -33,6 +44,15 @@ class UsersUsernameAttestationsBulkListPostResponse200Type(TypedDict): """ +UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigests + +Mapping of subject digest to bundles. +""" + + class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType(TypedDict): """UsersUsernameAttestationsBulkListPostResponse200PropPageInfo @@ -45,8 +65,25 @@ class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType(TypedDict previous: NotRequired[str] +class UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsBulkListPostResponse200PropPageInfo + + Information about the current page. + """ + + has_next: NotRequired[bool] + has_previous: NotRequired[bool] + next_: NotRequired[str] + previous: NotRequired[str] + + __all__ = ( "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsType", + "UsersUsernameAttestationsBulkListPostResponse200PropAttestationsSubjectDigestsTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoType", + "UsersUsernameAttestationsBulkListPostResponse200PropPageInfoTypeForResponse", "UsersUsernameAttestationsBulkListPostResponse200Type", + "UsersUsernameAttestationsBulkListPostResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1252.py b/githubkit/versions/v2022_11_28/types/group_1252.py index 5145f707c..1d097f1c5 100644 --- a/githubkit/versions/v2022_11_28/types/group_1252.py +++ b/githubkit/versions/v2022_11_28/types/group_1252.py @@ -18,4 +18,13 @@ class UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type(TypedDict): subject_digests: list[str] -__all__ = ("UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type",) +class UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse(TypedDict): + """UsersUsernameAttestationsDeleteRequestPostBodyOneof0""" + + subject_digests: list[str] + + +__all__ = ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof0TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1253.py b/githubkit/versions/v2022_11_28/types/group_1253.py index 913848fca..d8d926369 100644 --- a/githubkit/versions/v2022_11_28/types/group_1253.py +++ b/githubkit/versions/v2022_11_28/types/group_1253.py @@ -18,4 +18,13 @@ class UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type(TypedDict): attestation_ids: list[int] -__all__ = ("UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type",) +class UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse(TypedDict): + """UsersUsernameAttestationsDeleteRequestPostBodyOneof1""" + + attestation_ids: list[int] + + +__all__ = ( + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1Type", + "UsersUsernameAttestationsDeleteRequestPostBodyOneof1TypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1254.py b/githubkit/versions/v2022_11_28/types/group_1254.py index 392437161..74a63773d 100644 --- a/githubkit/versions/v2022_11_28/types/group_1254.py +++ b/githubkit/versions/v2022_11_28/types/group_1254.py @@ -23,6 +23,16 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200Type(TypedDict): ] +class UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse(TypedDict): + """UsersUsernameAttestationsSubjectDigestGetResponse200""" + + attestations: NotRequired[ + list[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse + ] + ] + + class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType( TypedDict ): @@ -36,6 +46,19 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsT initiator: NotRequired[str] +class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItems""" + + bundle: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse + ] + repository_id: NotRequired[int] + bundle_url: NotRequired[str] + initiator: NotRequired[str] + + class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType( TypedDict ): @@ -57,6 +80,27 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP ] +class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse( + TypedDict +): + """UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun + dle + + The attestation's Sigstore Bundle. + Refer to the [Sigstore Bundle + Specification](https://github.com/sigstore/protobuf- + specs/blob/main/protos/sigstore_bundle.proto) for more information. + """ + + media_type: NotRequired[str] + verification_material: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse + ] + dsse_envelope: NotRequired[ + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse + ] + + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType: TypeAlias = dict[ str, Any ] @@ -65,6 +109,14 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP """ +UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun +dlePropVerificationMaterial +""" + + UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType: TypeAlias = dict[ str, Any ] @@ -73,10 +125,23 @@ class UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsP """ +UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse: TypeAlias = dict[ + str, Any +] +"""UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBun +dlePropDsseEnvelope +""" + + __all__ = ( "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropDsseEnvelopeTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundlePropVerificationMaterialTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsPropBundleTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsType", + "UsersUsernameAttestationsSubjectDigestGetResponse200PropAttestationsItemsTypeForResponse", "UsersUsernameAttestationsSubjectDigestGetResponse200Type", + "UsersUsernameAttestationsSubjectDigestGetResponse200TypeForResponse", ) diff --git a/githubkit/versions/v2022_11_28/types/group_1255.py b/githubkit/versions/v2022_11_28/types/group_1255.py index 25686efdf..e12a2545b 100644 --- a/githubkit/versions/v2022_11_28/types/group_1255.py +++ b/githubkit/versions/v2022_11_28/types/group_1255.py @@ -20,4 +20,14 @@ class UsersUsernameProjectsV2ProjectNumberItemsPostBodyType(TypedDict): id: int -__all__ = ("UsersUsernameProjectsV2ProjectNumberItemsPostBodyType",) +class UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse(TypedDict): + """UsersUsernameProjectsV2ProjectNumberItemsPostBody""" + + type: Literal["Issue", "PullRequest"] + id: int + + +__all__ = ( + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsPostBodyTypeForResponse", +) diff --git a/githubkit/versions/v2022_11_28/types/group_1256.py b/githubkit/versions/v2022_11_28/types/group_1256.py index 63e95c565..de1c9f537 100644 --- a/githubkit/versions/v2022_11_28/types/group_1256.py +++ b/githubkit/versions/v2022_11_28/types/group_1256.py @@ -21,6 +21,16 @@ class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType(TypedDict): ] +class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse( + TypedDict +): + """UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBody""" + + fields: list[ + UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse + ] + + class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType( TypedDict ): @@ -30,7 +40,18 @@ class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTyp value: Union[str, float, None] +class UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse( + TypedDict +): + """UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItems""" + + id: int + value: Union[str, float, None] + + __all__ = ( "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyPropFieldsItemsTypeForResponse", "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyType", + "UsersUsernameProjectsV2ProjectNumberItemsItemIdPatchBodyTypeForResponse", )